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 Type
    Method
    Description
     
     
     
    object_id is the ID of a permission set
    object_type is the type of object in a permission set
    permission_or_relation is the permission or relation referenced by this permission set
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    object_id is the ID of a permission set
    com.google.protobuf.ByteString
    object_id is the ID of a permission set
    object_type is the type of object in a permission set
    com.google.protobuf.ByteString
    object_type is the type of object in a permission set
    permission_or_relation is the permission or relation referenced by this permission set
    com.google.protobuf.ByteString
    permission_or_relation is the permission or relation referenced by this permission set
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    object_id is the ID of a permission set
    setObjectIdBytes(com.google.protobuf.ByteString value)
    object_id is the ID of a permission set
    object_type is the type of object in a permission set
    setObjectTypeBytes(com.google.protobuf.ByteString value)
    object_type is the type of object in a permission set
    permission_or_relation is the permission or relation referenced by this permission set
    setPermissionOrRelationBytes(com.google.protobuf.ByteString value)
    permission_or_relation is the permission or relation referenced by this permission set

    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 class com.google.protobuf.GeneratedMessage.Builder<SetReference.Builder>
    • clear

      public SetReference.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<SetReference.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<SetReference.Builder>
    • getDefaultInstanceForType

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

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

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

      public SetReference.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<SetReference.Builder>
    • mergeFrom

      public SetReference.Builder mergeFrom(SetReference other)
    • isInitialized

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

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

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

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

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

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

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

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

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

      public String getPermissionOrRelation()
       permission_or_relation is the permission or relation referenced by this permission set
       
      string permission_or_relation = 3;
      Specified by:
      getPermissionOrRelation in interface SetReferenceOrBuilder
      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 interface SetReferenceOrBuilder
      Returns:
      The bytes for permissionOrRelation.
    • setPermissionOrRelation

      public SetReference.Builder setPermissionOrRelation(String value)
       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

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

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