Class SubjectFilter.RelationFilter.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SubjectFilter.RelationFilter.Builder>
com.authzed.api.v1.SubjectFilter.RelationFilter.Builder
All Implemented Interfaces:
SubjectFilter.RelationFilterOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SubjectFilter.RelationFilter

public static final class SubjectFilter.RelationFilter.Builder extends com.google.protobuf.GeneratedMessage.Builder<SubjectFilter.RelationFilter.Builder> implements SubjectFilter.RelationFilterOrBuilder
Protobuf type authzed.api.v1.SubjectFilter.RelationFilter
  • 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<SubjectFilter.RelationFilter.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<SubjectFilter.RelationFilter.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<SubjectFilter.RelationFilter.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public SubjectFilter.RelationFilter.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<SubjectFilter.RelationFilter.Builder>
      Throws:
      IOException
    • getRelation

      public String getRelation()
      string relation = 1 [(.validate.rules) = { ... }
      Specified by:
      getRelation in interface SubjectFilter.RelationFilterOrBuilder
      Returns:
      The relation.
    • getRelationBytes

      public com.google.protobuf.ByteString getRelationBytes()
      string relation = 1 [(.validate.rules) = { ... }
      Specified by:
      getRelationBytes in interface SubjectFilter.RelationFilterOrBuilder
      Returns:
      The bytes for relation.
    • setRelation

      public SubjectFilter.RelationFilter.Builder setRelation(String value)
      string relation = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The relation to set.
      Returns:
      This builder for chaining.
    • clearRelation

      public SubjectFilter.RelationFilter.Builder clearRelation()
      string relation = 1 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setRelationBytes

      public SubjectFilter.RelationFilter.Builder setRelationBytes(com.google.protobuf.ByteString value)
      string relation = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The bytes for relation to set.
      Returns:
      This builder for chaining.