Class DirectSubjectSet.Builder

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

public static final class DirectSubjectSet.Builder extends com.google.protobuf.GeneratedMessage.Builder<DirectSubjectSet.Builder> implements DirectSubjectSetOrBuilder
 DirectSubjectSet is a subject set which is simply a collection of subjects.
 
Protobuf type authzed.api.v1.DirectSubjectSet
  • 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<DirectSubjectSet.Builder>
    • clear

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

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

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

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

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

      public DirectSubjectSet.Builder mergeFrom(DirectSubjectSet other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DirectSubjectSet.Builder>
    • mergeFrom

      public DirectSubjectSet.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<DirectSubjectSet.Builder>
      Throws:
      IOException
    • getSubjectsList

      public List<SubjectReference> getSubjectsList()
      repeated .authzed.api.v1.SubjectReference subjects = 1;
      Specified by:
      getSubjectsList in interface DirectSubjectSetOrBuilder
    • getSubjectsCount

      public int getSubjectsCount()
      repeated .authzed.api.v1.SubjectReference subjects = 1;
      Specified by:
      getSubjectsCount in interface DirectSubjectSetOrBuilder
    • getSubjects

      public SubjectReference getSubjects(int index)
      repeated .authzed.api.v1.SubjectReference subjects = 1;
      Specified by:
      getSubjects in interface DirectSubjectSetOrBuilder
    • setSubjects

      public DirectSubjectSet.Builder setSubjects(int index, SubjectReference value)
      repeated .authzed.api.v1.SubjectReference subjects = 1;
    • setSubjects

      public DirectSubjectSet.Builder setSubjects(int index, SubjectReference.Builder builderForValue)
      repeated .authzed.api.v1.SubjectReference subjects = 1;
    • addSubjects

      public DirectSubjectSet.Builder addSubjects(SubjectReference value)
      repeated .authzed.api.v1.SubjectReference subjects = 1;
    • addSubjects

      public DirectSubjectSet.Builder addSubjects(int index, SubjectReference value)
      repeated .authzed.api.v1.SubjectReference subjects = 1;
    • addSubjects

      public DirectSubjectSet.Builder addSubjects(SubjectReference.Builder builderForValue)
      repeated .authzed.api.v1.SubjectReference subjects = 1;
    • addSubjects

      public DirectSubjectSet.Builder addSubjects(int index, SubjectReference.Builder builderForValue)
      repeated .authzed.api.v1.SubjectReference subjects = 1;
    • addAllSubjects

      public DirectSubjectSet.Builder addAllSubjects(Iterable<? extends SubjectReference> values)
      repeated .authzed.api.v1.SubjectReference subjects = 1;
    • clearSubjects

      public DirectSubjectSet.Builder clearSubjects()
      repeated .authzed.api.v1.SubjectReference subjects = 1;
    • removeSubjects

      public DirectSubjectSet.Builder removeSubjects(int index)
      repeated .authzed.api.v1.SubjectReference subjects = 1;
    • getSubjectsBuilder

      public SubjectReference.Builder getSubjectsBuilder(int index)
      repeated .authzed.api.v1.SubjectReference subjects = 1;
    • getSubjectsOrBuilder

      public SubjectReferenceOrBuilder getSubjectsOrBuilder(int index)
      repeated .authzed.api.v1.SubjectReference subjects = 1;
      Specified by:
      getSubjectsOrBuilder in interface DirectSubjectSetOrBuilder
    • getSubjectsOrBuilderList

      public List<? extends SubjectReferenceOrBuilder> getSubjectsOrBuilderList()
      repeated .authzed.api.v1.SubjectReference subjects = 1;
      Specified by:
      getSubjectsOrBuilderList in interface DirectSubjectSetOrBuilder
    • addSubjectsBuilder

      public SubjectReference.Builder addSubjectsBuilder()
      repeated .authzed.api.v1.SubjectReference subjects = 1;
    • addSubjectsBuilder

      public SubjectReference.Builder addSubjectsBuilder(int index)
      repeated .authzed.api.v1.SubjectReference subjects = 1;
    • getSubjectsBuilderList

      public List<SubjectReference.Builder> getSubjectsBuilderList()
      repeated .authzed.api.v1.SubjectReference subjects = 1;