Package com.authzed.api.v1
Class ExpRelationReference.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExpRelationReference.Builder>
com.authzed.api.v1.ExpRelationReference.Builder
- All Implemented Interfaces:
ExpRelationReferenceOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ExpRelationReference
public static final class ExpRelationReference.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExpRelationReference.Builder>
implements ExpRelationReferenceOrBuilder
ExpRelationReference is a reference to a relation or permission in the schema.Protobuf type
authzed.api.v1.ExpRelationReference
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
string definition_name = 1;
bool is_permission = 3;
string relation_name = 2;
string definition_name = 1;
com.google.protobuf.ByteString
string definition_name = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
bool is_permission = 3;
string relation_name = 2;
com.google.protobuf.ByteString
string relation_name = 2;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(ExpRelationReference other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) setDefinitionName
(String value) string definition_name = 1;
setDefinitionNameBytes
(com.google.protobuf.ByteString value) string definition_name = 1;
setIsPermission
(boolean value) bool is_permission = 3;
setRelationName
(String value) string relation_name = 2;
setRelationNameBytes
(com.google.protobuf.ByteString value) string relation_name = 2;
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, 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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ExpRelationReference.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<ExpRelationReference.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<ExpRelationReference.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExpRelationReference.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ExpRelationReference.Builder>
-
mergeFrom
public ExpRelationReference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExpRelationReference.Builder>
- Throws:
IOException
-
getDefinitionName
string definition_name = 1;
- Specified by:
getDefinitionName
in interfaceExpRelationReferenceOrBuilder
- Returns:
- The definitionName.
-
getDefinitionNameBytes
public com.google.protobuf.ByteString getDefinitionNameBytes()string definition_name = 1;
- Specified by:
getDefinitionNameBytes
in interfaceExpRelationReferenceOrBuilder
- Returns:
- The bytes for definitionName.
-
setDefinitionName
string definition_name = 1;
- Parameters:
value
- The definitionName to set.- Returns:
- This builder for chaining.
-
clearDefinitionName
string definition_name = 1;
- Returns:
- This builder for chaining.
-
setDefinitionNameBytes
string definition_name = 1;
- Parameters:
value
- The bytes for definitionName to set.- Returns:
- This builder for chaining.
-
getRelationName
string relation_name = 2;
- Specified by:
getRelationName
in interfaceExpRelationReferenceOrBuilder
- Returns:
- The relationName.
-
getRelationNameBytes
public com.google.protobuf.ByteString getRelationNameBytes()string relation_name = 2;
- Specified by:
getRelationNameBytes
in interfaceExpRelationReferenceOrBuilder
- Returns:
- The bytes for relationName.
-
setRelationName
string relation_name = 2;
- Parameters:
value
- The relationName to set.- Returns:
- This builder for chaining.
-
clearRelationName
string relation_name = 2;
- Returns:
- This builder for chaining.
-
setRelationNameBytes
string relation_name = 2;
- Parameters:
value
- The bytes for relationName to set.- Returns:
- This builder for chaining.
-
getIsPermission
public boolean getIsPermission()bool is_permission = 3;
- Specified by:
getIsPermission
in interfaceExpRelationReferenceOrBuilder
- Returns:
- The isPermission.
-
setIsPermission
bool is_permission = 3;
- Parameters:
value
- The isPermission to set.- Returns:
- This builder for chaining.
-
clearIsPermission
bool is_permission = 3;
- Returns:
- This builder for chaining.
-