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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MemberReference.Builder>
    • clear

      public MemberReference.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MemberReference.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MemberReference.Builder>
    • getDefaultInstanceForType

      public MemberReference getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public MemberReference build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MemberReference buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MemberReference.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MemberReference.Builder>
    • mergeFrom

      public MemberReference.Builder mergeFrom(MemberReference other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MemberReference.Builder>
      Throws:
      IOException
    • getObjectType

      public String getObjectType()
       object_type is the type of object of a permission set member
       
      string object_type = 1;
      Specified by:
      getObjectType in interface MemberReferenceOrBuilder
      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 interface MemberReferenceOrBuilder
      Returns:
      The bytes for objectType.
    • setObjectType

      public MemberReference.Builder setObjectType(String value)
       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

      public MemberReference.Builder clearObjectType()
       object_type is the type of object of a permission set member
       
      string object_type = 1;
      Returns:
      This builder for chaining.
    • setObjectTypeBytes

      public MemberReference.Builder setObjectTypeBytes(com.google.protobuf.ByteString value)
       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

      public String getObjectId()
       object_id is the ID of a permission set member
       
      string object_id = 2;
      Specified by:
      getObjectId in interface MemberReferenceOrBuilder
      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 interface MemberReferenceOrBuilder
      Returns:
      The bytes for objectId.
    • setObjectId

      public MemberReference.Builder setObjectId(String value)
       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

      public MemberReference.Builder clearObjectId()
       object_id is the ID of a permission set member
       
      string object_id = 2;
      Returns:
      This builder for chaining.
    • setObjectIdBytes

      public MemberReference.Builder setObjectIdBytes(com.google.protobuf.ByteString value)
       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

      public String 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 interface MemberReferenceOrBuilder
      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 interface MemberReferenceOrBuilder
      Returns:
      The bytes for optionalPermissionOrRelation.
    • setOptionalPermissionOrRelation

      public MemberReference.Builder setOptionalPermissionOrRelation(String 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 optionalPermissionOrRelation to set.
      Returns:
      This builder for chaining.
    • clearOptionalPermissionOrRelation

      public MemberReference.Builder 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.