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

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

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

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

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

    • isInitialized

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

      public String getDefinitionName()
      string definition_name = 1;
      Specified by:
      getDefinitionName in interface ExpRelationReferenceOrBuilder
      Returns:
      The definitionName.
    • getDefinitionNameBytes

      public com.google.protobuf.ByteString getDefinitionNameBytes()
      string definition_name = 1;
      Specified by:
      getDefinitionNameBytes in interface ExpRelationReferenceOrBuilder
      Returns:
      The bytes for definitionName.
    • setDefinitionName

      public ExpRelationReference.Builder setDefinitionName(String value)
      string definition_name = 1;
      Parameters:
      value - The definitionName to set.
      Returns:
      This builder for chaining.
    • clearDefinitionName

      public ExpRelationReference.Builder clearDefinitionName()
      string definition_name = 1;
      Returns:
      This builder for chaining.
    • setDefinitionNameBytes

      public ExpRelationReference.Builder setDefinitionNameBytes(com.google.protobuf.ByteString value)
      string definition_name = 1;
      Parameters:
      value - The bytes for definitionName to set.
      Returns:
      This builder for chaining.
    • getRelationName

      public String getRelationName()
      string relation_name = 2;
      Specified by:
      getRelationName in interface ExpRelationReferenceOrBuilder
      Returns:
      The relationName.
    • getRelationNameBytes

      public com.google.protobuf.ByteString getRelationNameBytes()
      string relation_name = 2;
      Specified by:
      getRelationNameBytes in interface ExpRelationReferenceOrBuilder
      Returns:
      The bytes for relationName.
    • setRelationName

      public ExpRelationReference.Builder setRelationName(String value)
      string relation_name = 2;
      Parameters:
      value - The relationName to set.
      Returns:
      This builder for chaining.
    • clearRelationName

      public ExpRelationReference.Builder clearRelationName()
      string relation_name = 2;
      Returns:
      This builder for chaining.
    • setRelationNameBytes

      public ExpRelationReference.Builder setRelationNameBytes(com.google.protobuf.ByteString value)
      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 interface ExpRelationReferenceOrBuilder
      Returns:
      The isPermission.
    • setIsPermission

      public ExpRelationReference.Builder setIsPermission(boolean value)
      bool is_permission = 3;
      Parameters:
      value - The isPermission to set.
      Returns:
      This builder for chaining.
    • clearIsPermission

      public ExpRelationReference.Builder clearIsPermission()
      bool is_permission = 3;
      Returns:
      This builder for chaining.