Package com.authzed.api.materialize.v0
Class SetReference.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SetReference.Builder>
com.authzed.api.materialize.v0.SetReference.Builder
- All Implemented Interfaces:
SetReferenceOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- SetReference
public static final class SetReference.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SetReference.Builder>
implements SetReferenceOrBuilder
Protobuf type
authzed.api.materialize.v0.SetReference
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
object_id is the ID of a permission setobject_type is the type of object in a permission setpermission_or_relation is the permission or relation referenced by this permission setstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
object_id is the ID of a permission setcom.google.protobuf.ByteString
object_id is the ID of a permission setobject_type is the type of object in a permission setcom.google.protobuf.ByteString
object_type is the type of object in a permission setpermission_or_relation is the permission or relation referenced by this permission setcom.google.protobuf.ByteString
permission_or_relation is the permission or relation referenced by this permission setprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(SetReference other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) setObjectId
(String value) object_id is the ID of a permission setsetObjectIdBytes
(com.google.protobuf.ByteString value) object_id is the ID of a permission setsetObjectType
(String value) object_type is the type of object in a permission setsetObjectTypeBytes
(com.google.protobuf.ByteString value) object_type is the type of object in a permission setsetPermissionOrRelation
(String value) permission_or_relation is the permission or relation referenced by this permission setsetPermissionOrRelationBytes
(com.google.protobuf.ByteString value) permission_or_relation is the permission or relation referenced by this permission setMethods 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<SetReference.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<SetReference.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<SetReference.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<SetReference.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<SetReference.Builder>
-
mergeFrom
public SetReference.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<SetReference.Builder>
- Throws:
IOException
-
getObjectType
object_type is the type of object in a permission set
string object_type = 1;
- Specified by:
getObjectType
in interfaceSetReferenceOrBuilder
- Returns:
- The objectType.
-
getObjectTypeBytes
public com.google.protobuf.ByteString getObjectTypeBytes()object_type is the type of object in a permission set
string object_type = 1;
- Specified by:
getObjectTypeBytes
in interfaceSetReferenceOrBuilder
- Returns:
- The bytes for objectType.
-
setObjectType
object_type is the type of object in a permission set
string object_type = 1;
- Parameters:
value
- The objectType to set.- Returns:
- This builder for chaining.
-
clearObjectType
object_type is the type of object in a permission set
string object_type = 1;
- Returns:
- This builder for chaining.
-
setObjectTypeBytes
object_type is the type of object in a permission set
string object_type = 1;
- Parameters:
value
- The bytes for objectType to set.- Returns:
- This builder for chaining.
-
getObjectId
object_id is the ID of a permission set
string object_id = 2;
- Specified by:
getObjectId
in interfaceSetReferenceOrBuilder
- Returns:
- The objectId.
-
getObjectIdBytes
public com.google.protobuf.ByteString getObjectIdBytes()object_id is the ID of a permission set
string object_id = 2;
- Specified by:
getObjectIdBytes
in interfaceSetReferenceOrBuilder
- Returns:
- The bytes for objectId.
-
setObjectId
object_id is the ID of a permission set
string object_id = 2;
- Parameters:
value
- The objectId to set.- Returns:
- This builder for chaining.
-
clearObjectId
object_id is the ID of a permission set
string object_id = 2;
- Returns:
- This builder for chaining.
-
setObjectIdBytes
object_id is the ID of a permission set
string object_id = 2;
- Parameters:
value
- The bytes for objectId to set.- Returns:
- This builder for chaining.
-
getPermissionOrRelation
permission_or_relation is the permission or relation referenced by this permission set
string permission_or_relation = 3;
- Specified by:
getPermissionOrRelation
in interfaceSetReferenceOrBuilder
- Returns:
- The permissionOrRelation.
-
getPermissionOrRelationBytes
public com.google.protobuf.ByteString getPermissionOrRelationBytes()permission_or_relation is the permission or relation referenced by this permission set
string permission_or_relation = 3;
- Specified by:
getPermissionOrRelationBytes
in interfaceSetReferenceOrBuilder
- Returns:
- The bytes for permissionOrRelation.
-
setPermissionOrRelation
permission_or_relation is the permission or relation referenced by this permission set
string permission_or_relation = 3;
- Parameters:
value
- The permissionOrRelation to set.- Returns:
- This builder for chaining.
-
clearPermissionOrRelation
permission_or_relation is the permission or relation referenced by this permission set
string permission_or_relation = 3;
- Returns:
- This builder for chaining.
-
setPermissionOrRelationBytes
permission_or_relation is the permission or relation referenced by this permission set
string permission_or_relation = 3;
- Parameters:
value
- The bytes for permissionOrRelation to set.- Returns:
- This builder for chaining.
-