Package com.authzed.api.v1
Class ExpTypeReference.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExpTypeReference.Builder>
com.authzed.api.v1.ExpTypeReference.Builder
- All Implemented Interfaces:
- ExpTypeReferenceOrBuilder,- com.google.protobuf.Message.Builder,- com.google.protobuf.MessageLite.Builder,- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder,- Cloneable
- Enclosing class:
- ExpTypeReference
public static final class ExpTypeReference.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExpTypeReference.Builder>
implements ExpTypeReferenceOrBuilder
ExpTypeReference is the representation of a type reference in the schema.Protobuf type
authzed.api.v1.ExpTypeReference- 
Method SummaryModifier and TypeMethodDescriptionbuild()clear()is_public_wildcard is true if the subject is a public wildcard.is_terminal_subject is true if the subject is terminal, meaning it is referenced directly vs a sub-relation.optional_caveat_name is the name of the caveat that is applied to the subject, if any.optional_relation_name is the name of the relation that is applied to the subject, if any.subject_definition_name is the name of the subject's definition.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorbooleanis_public_wildcard is true if the subject is a public wildcard.booleanis_terminal_subject is true if the subject is terminal, meaning it is referenced directly vs a sub-relation.optional_caveat_name is the name of the caveat that is applied to the subject, if any.com.google.protobuf.ByteStringoptional_caveat_name is the name of the caveat that is applied to the subject, if any.optional_relation_name is the name of the relation that is applied to the subject, if any.com.google.protobuf.ByteStringoptional_relation_name is the name of the relation that is applied to the subject, if any.subject_definition_name is the name of the subject's definition.com.google.protobuf.ByteStringsubject_definition_name is the name of the subject's definition.booleanis_public_wildcard is true if the subject is a public wildcard.booleanis_terminal_subject is true if the subject is terminal, meaning it is referenced directly vs a sub-relation.booleanoptional_relation_name is the name of the relation that is applied to the subject, if any.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ExpTypeReference other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setIsPublicWildcard(boolean value) is_public_wildcard is true if the subject is a public wildcard.setIsTerminalSubject(boolean value) is_terminal_subject is true if the subject is terminal, meaning it is referenced directly vs a sub-relation.setOptionalCaveatName(String value) optional_caveat_name is the name of the caveat that is applied to the subject, if any.setOptionalCaveatNameBytes(com.google.protobuf.ByteString value) optional_caveat_name is the name of the caveat that is applied to the subject, if any.setOptionalRelationName(String value) optional_relation_name is the name of the relation that is applied to the subject, if any.setOptionalRelationNameBytes(com.google.protobuf.ByteString value) optional_relation_name is the name of the relation that is applied to the subject, if any.setSubjectDefinitionName(String value) subject_definition_name is the name of the subject's definition.setSubjectDefinitionNameBytes(com.google.protobuf.ByteString value) subject_definition_name is the name of the subject's definition.Methods inherited from class com.google.protobuf.GeneratedMessage.BuilderaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.BuilderfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.BuilderaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.BuildermergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.BuildermergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilderfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
- 
Method Details- 
getDescriptorpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
- 
internalGetFieldAccessorTableprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
- internalGetFieldAccessorTablein class- com.google.protobuf.GeneratedMessage.Builder<ExpTypeReference.Builder>
 
- 
clear- Specified by:
- clearin interface- com.google.protobuf.Message.Builder
- Specified by:
- clearin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- clearin class- com.google.protobuf.GeneratedMessage.Builder<ExpTypeReference.Builder>
 
- 
getDescriptorForTypepublic com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
- getDescriptorForTypein interface- com.google.protobuf.Message.Builder
- Specified by:
- getDescriptorForTypein interface- com.google.protobuf.MessageOrBuilder
- Overrides:
- getDescriptorForTypein class- com.google.protobuf.GeneratedMessage.Builder<ExpTypeReference.Builder>
 
- 
getDefaultInstanceForType- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageOrBuilder
 
- 
build- Specified by:
- buildin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildin interface- com.google.protobuf.MessageLite.Builder
 
- 
buildPartial- Specified by:
- buildPartialin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildPartialin interface- com.google.protobuf.MessageLite.Builder
 
- 
mergeFrom- Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<ExpTypeReference.Builder>
 
- 
mergeFrom
- 
isInitializedpublic final boolean isInitialized()- Specified by:
- isInitializedin interface- com.google.protobuf.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- com.google.protobuf.GeneratedMessage.Builder<ExpTypeReference.Builder>
 
- 
mergeFrompublic ExpTypeReference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Specified by:
- mergeFromin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<ExpTypeReference.Builder>
- Throws:
- IOException
 
- 
getTyperefCase- Specified by:
- getTyperefCasein interface- ExpTypeReferenceOrBuilder
 
- 
clearTyperef
- 
getSubjectDefinitionNamesubject_definition_name is the name of the subject's definition. string subject_definition_name = 1;- Specified by:
- getSubjectDefinitionNamein interface- ExpTypeReferenceOrBuilder
- Returns:
- The subjectDefinitionName.
 
- 
getSubjectDefinitionNameBytespublic com.google.protobuf.ByteString getSubjectDefinitionNameBytes()subject_definition_name is the name of the subject's definition. string subject_definition_name = 1;- Specified by:
- getSubjectDefinitionNameBytesin interface- ExpTypeReferenceOrBuilder
- Returns:
- The bytes for subjectDefinitionName.
 
- 
setSubjectDefinitionNamesubject_definition_name is the name of the subject's definition. string subject_definition_name = 1;- Parameters:
- value- The subjectDefinitionName to set.
- Returns:
- This builder for chaining.
 
- 
clearSubjectDefinitionNamesubject_definition_name is the name of the subject's definition. string subject_definition_name = 1;- Returns:
- This builder for chaining.
 
- 
setSubjectDefinitionNameBytessubject_definition_name is the name of the subject's definition. string subject_definition_name = 1;- Parameters:
- value- The bytes for subjectDefinitionName to set.
- Returns:
- This builder for chaining.
 
- 
getOptionalCaveatNameoptional_caveat_name is the name of the caveat that is applied to the subject, if any. string optional_caveat_name = 2;- Specified by:
- getOptionalCaveatNamein interface- ExpTypeReferenceOrBuilder
- Returns:
- The optionalCaveatName.
 
- 
getOptionalCaveatNameBytespublic com.google.protobuf.ByteString getOptionalCaveatNameBytes()optional_caveat_name is the name of the caveat that is applied to the subject, if any. string optional_caveat_name = 2;- Specified by:
- getOptionalCaveatNameBytesin interface- ExpTypeReferenceOrBuilder
- Returns:
- The bytes for optionalCaveatName.
 
- 
setOptionalCaveatNameoptional_caveat_name is the name of the caveat that is applied to the subject, if any. string optional_caveat_name = 2;- Parameters:
- value- The optionalCaveatName to set.
- Returns:
- This builder for chaining.
 
- 
clearOptionalCaveatNameoptional_caveat_name is the name of the caveat that is applied to the subject, if any. string optional_caveat_name = 2;- Returns:
- This builder for chaining.
 
- 
setOptionalCaveatNameBytesoptional_caveat_name is the name of the caveat that is applied to the subject, if any. string optional_caveat_name = 2;- Parameters:
- value- The bytes for optionalCaveatName to set.
- Returns:
- This builder for chaining.
 
- 
hasIsTerminalSubjectpublic boolean hasIsTerminalSubject()is_terminal_subject is true if the subject is terminal, meaning it is referenced directly vs a sub-relation. bool is_terminal_subject = 3;- Specified by:
- hasIsTerminalSubjectin interface- ExpTypeReferenceOrBuilder
- Returns:
- Whether the isTerminalSubject field is set.
 
- 
getIsTerminalSubjectpublic boolean getIsTerminalSubject()is_terminal_subject is true if the subject is terminal, meaning it is referenced directly vs a sub-relation. bool is_terminal_subject = 3;- Specified by:
- getIsTerminalSubjectin interface- ExpTypeReferenceOrBuilder
- Returns:
- The isTerminalSubject.
 
- 
setIsTerminalSubjectis_terminal_subject is true if the subject is terminal, meaning it is referenced directly vs a sub-relation. bool is_terminal_subject = 3;- Parameters:
- value- The isTerminalSubject to set.
- Returns:
- This builder for chaining.
 
- 
clearIsTerminalSubjectis_terminal_subject is true if the subject is terminal, meaning it is referenced directly vs a sub-relation. bool is_terminal_subject = 3;- Returns:
- This builder for chaining.
 
- 
hasOptionalRelationNamepublic boolean hasOptionalRelationName()optional_relation_name is the name of the relation that is applied to the subject, if any. string optional_relation_name = 4;- Specified by:
- hasOptionalRelationNamein interface- ExpTypeReferenceOrBuilder
- Returns:
- Whether the optionalRelationName field is set.
 
- 
getOptionalRelationNameoptional_relation_name is the name of the relation that is applied to the subject, if any. string optional_relation_name = 4;- Specified by:
- getOptionalRelationNamein interface- ExpTypeReferenceOrBuilder
- Returns:
- The optionalRelationName.
 
- 
getOptionalRelationNameBytespublic com.google.protobuf.ByteString getOptionalRelationNameBytes()optional_relation_name is the name of the relation that is applied to the subject, if any. string optional_relation_name = 4;- Specified by:
- getOptionalRelationNameBytesin interface- ExpTypeReferenceOrBuilder
- Returns:
- The bytes for optionalRelationName.
 
- 
setOptionalRelationNameoptional_relation_name is the name of the relation that is applied to the subject, if any. string optional_relation_name = 4;- Parameters:
- value- The optionalRelationName to set.
- Returns:
- This builder for chaining.
 
- 
clearOptionalRelationNameoptional_relation_name is the name of the relation that is applied to the subject, if any. string optional_relation_name = 4;- Returns:
- This builder for chaining.
 
- 
setOptionalRelationNameBytesoptional_relation_name is the name of the relation that is applied to the subject, if any. string optional_relation_name = 4;- Parameters:
- value- The bytes for optionalRelationName to set.
- Returns:
- This builder for chaining.
 
- 
hasIsPublicWildcardpublic boolean hasIsPublicWildcard()is_public_wildcard is true if the subject is a public wildcard. bool is_public_wildcard = 5;- Specified by:
- hasIsPublicWildcardin interface- ExpTypeReferenceOrBuilder
- Returns:
- Whether the isPublicWildcard field is set.
 
- 
getIsPublicWildcardpublic boolean getIsPublicWildcard()is_public_wildcard is true if the subject is a public wildcard. bool is_public_wildcard = 5;- Specified by:
- getIsPublicWildcardin interface- ExpTypeReferenceOrBuilder
- Returns:
- The isPublicWildcard.
 
- 
setIsPublicWildcardis_public_wildcard is true if the subject is a public wildcard. bool is_public_wildcard = 5;- Parameters:
- value- The isPublicWildcard to set.
- Returns:
- This builder for chaining.
 
- 
clearIsPublicWildcardis_public_wildcard is true if the subject is a public wildcard. bool is_public_wildcard = 5;- Returns:
- This builder for chaining.
 
 
-