Package com.authzed.api.materialize.v0
Class MemberReference.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MemberReference.Builder>
com.authzed.api.materialize.v0.MemberReference.Builder
- All Implemented Interfaces:
MemberReferenceOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- MemberReference
public static final class MemberReference.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MemberReference.Builder>
implements MemberReferenceOrBuilder
Protobuf type
authzed.api.materialize.v0.MemberReference
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
object_id is the ID of a permission set memberobject_type is the type of object of a permission set memberoptional_permission_or_relation is the permission or relation referenced by this permission set memberstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
object_id is the ID of a permission set membercom.google.protobuf.ByteString
object_id is the ID of a permission set memberobject_type is the type of object of a permission set membercom.google.protobuf.ByteString
object_type is the type of object of a permission set memberoptional_permission_or_relation is the permission or relation referenced by this permission set membercom.google.protobuf.ByteString
optional_permission_or_relation is the permission or relation referenced by this permission set memberprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(MemberReference 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 set membersetObjectIdBytes
(com.google.protobuf.ByteString value) object_id is the ID of a permission set membersetObjectType
(String value) object_type is the type of object of a permission set membersetObjectTypeBytes
(com.google.protobuf.ByteString value) object_type is the type of object of a permission set memberoptional_permission_or_relation is the permission or relation referenced by this permission set membersetOptionalPermissionOrRelationBytes
(com.google.protobuf.ByteString value) optional_permission_or_relation is the permission or relation referenced by this permission set memberMethods 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<MemberReference.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<MemberReference.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<MemberReference.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<MemberReference.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<MemberReference.Builder>
-
mergeFrom
public MemberReference.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<MemberReference.Builder>
- Throws:
IOException
-
getObjectType
object_type is the type of object of a permission set member
string object_type = 1;
- Specified by:
getObjectType
in interfaceMemberReferenceOrBuilder
- Returns:
- The objectType.
-
getObjectTypeBytes
public com.google.protobuf.ByteString getObjectTypeBytes()object_type is the type of object of a permission set member
string object_type = 1;
- Specified by:
getObjectTypeBytes
in interfaceMemberReferenceOrBuilder
- Returns:
- The bytes for objectType.
-
setObjectType
object_type is the type of object of a permission set member
string object_type = 1;
- Parameters:
value
- The objectType to set.- Returns:
- This builder for chaining.
-
clearObjectType
object_type is the type of object of a permission set member
string object_type = 1;
- Returns:
- This builder for chaining.
-
setObjectTypeBytes
object_type is the type of object of a permission set member
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 member
string object_id = 2;
- Specified by:
getObjectId
in interfaceMemberReferenceOrBuilder
- Returns:
- The objectId.
-
getObjectIdBytes
public com.google.protobuf.ByteString getObjectIdBytes()object_id is the ID of a permission set member
string object_id = 2;
- Specified by:
getObjectIdBytes
in interfaceMemberReferenceOrBuilder
- Returns:
- The bytes for objectId.
-
setObjectId
object_id is the ID of a permission set member
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 member
string object_id = 2;
- Returns:
- This builder for chaining.
-
setObjectIdBytes
object_id is the ID of a permission set member
string object_id = 2;
- Parameters:
value
- The bytes for objectId to set.- Returns:
- This builder for chaining.
-
getOptionalPermissionOrRelation
optional_permission_or_relation is the permission or relation referenced by this permission set member
string optional_permission_or_relation = 3;
- Specified by:
getOptionalPermissionOrRelation
in interfaceMemberReferenceOrBuilder
- Returns:
- The optionalPermissionOrRelation.
-
getOptionalPermissionOrRelationBytes
public com.google.protobuf.ByteString getOptionalPermissionOrRelationBytes()optional_permission_or_relation is the permission or relation referenced by this permission set member
string optional_permission_or_relation = 3;
- Specified by:
getOptionalPermissionOrRelationBytes
in interfaceMemberReferenceOrBuilder
- Returns:
- The bytes for optionalPermissionOrRelation.
-
setOptionalPermissionOrRelation
optional_permission_or_relation is the permission or relation referenced by this permission set member
string optional_permission_or_relation = 3;
- Parameters:
value
- The optionalPermissionOrRelation to set.- Returns:
- This builder for chaining.
-
clearOptionalPermissionOrRelation
optional_permission_or_relation is the permission or relation referenced by this permission set member
string optional_permission_or_relation = 3;
- Returns:
- This builder for chaining.
-
setOptionalPermissionOrRelationBytes
public MemberReference.Builder setOptionalPermissionOrRelationBytes(com.google.protobuf.ByteString value) optional_permission_or_relation is the permission or relation referenced by this permission set member
string optional_permission_or_relation = 3;
- Parameters:
value
- The bytes for optionalPermissionOrRelation to set.- Returns:
- This builder for chaining.
-