Class GroupCollection.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<GroupCollection.Builder>
org.yamcs.security.protobuf.GroupCollection.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, GroupCollectionOrBuilder
Enclosing class:
GroupCollection

public static final class GroupCollection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GroupCollection.Builder> implements GroupCollectionOrBuilder
Protobuf type GroupCollection
  • Method Details

    • getDescriptor

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

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

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

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

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

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

      public GroupCollection.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GroupCollection.Builder>
    • setField

      public GroupCollection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GroupCollection.Builder>
    • clearField

      public GroupCollection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GroupCollection.Builder>
    • clearOneof

      public GroupCollection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GroupCollection.Builder>
    • setRepeatedField

      public GroupCollection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GroupCollection.Builder>
    • addRepeatedField

      public GroupCollection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GroupCollection.Builder>
    • mergeFrom

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

      public GroupCollection.Builder mergeFrom(GroupCollection other)
    • isInitialized

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

      public GroupCollection.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<GroupCollection.Builder>
      Throws:
      IOException
    • hasSeq

      public boolean hasSeq()
      optional int32 seq = 1;
      Specified by:
      hasSeq in interface GroupCollectionOrBuilder
      Returns:
      Whether the seq field is set.
    • getSeq

      public int getSeq()
      optional int32 seq = 1;
      Specified by:
      getSeq in interface GroupCollectionOrBuilder
      Returns:
      The seq.
    • setSeq

      public GroupCollection.Builder setSeq(int value)
      optional int32 seq = 1;
      Parameters:
      value - The seq to set.
      Returns:
      This builder for chaining.
    • clearSeq

      public GroupCollection.Builder clearSeq()
      optional int32 seq = 1;
      Returns:
      This builder for chaining.
    • getRecordsList

      public List<GroupRecord> getRecordsList()
      repeated .GroupRecord records = 2;
      Specified by:
      getRecordsList in interface GroupCollectionOrBuilder
    • getRecordsCount

      public int getRecordsCount()
      repeated .GroupRecord records = 2;
      Specified by:
      getRecordsCount in interface GroupCollectionOrBuilder
    • getRecords

      public GroupRecord getRecords(int index)
      repeated .GroupRecord records = 2;
      Specified by:
      getRecords in interface GroupCollectionOrBuilder
    • setRecords

      public GroupCollection.Builder setRecords(int index, GroupRecord value)
      repeated .GroupRecord records = 2;
    • setRecords

      public GroupCollection.Builder setRecords(int index, GroupRecord.Builder builderForValue)
      repeated .GroupRecord records = 2;
    • addRecords

      public GroupCollection.Builder addRecords(GroupRecord value)
      repeated .GroupRecord records = 2;
    • addRecords

      public GroupCollection.Builder addRecords(int index, GroupRecord value)
      repeated .GroupRecord records = 2;
    • addRecords

      public GroupCollection.Builder addRecords(GroupRecord.Builder builderForValue)
      repeated .GroupRecord records = 2;
    • addRecords

      public GroupCollection.Builder addRecords(int index, GroupRecord.Builder builderForValue)
      repeated .GroupRecord records = 2;
    • addAllRecords

      public GroupCollection.Builder addAllRecords(Iterable<? extends GroupRecord> values)
      repeated .GroupRecord records = 2;
    • clearRecords

      public GroupCollection.Builder clearRecords()
      repeated .GroupRecord records = 2;
    • removeRecords

      public GroupCollection.Builder removeRecords(int index)
      repeated .GroupRecord records = 2;
    • getRecordsBuilder

      public GroupRecord.Builder getRecordsBuilder(int index)
      repeated .GroupRecord records = 2;
    • getRecordsOrBuilder

      public GroupRecordOrBuilder getRecordsOrBuilder(int index)
      repeated .GroupRecord records = 2;
      Specified by:
      getRecordsOrBuilder in interface GroupCollectionOrBuilder
    • getRecordsOrBuilderList

      public List<? extends GroupRecordOrBuilder> getRecordsOrBuilderList()
      repeated .GroupRecord records = 2;
      Specified by:
      getRecordsOrBuilderList in interface GroupCollectionOrBuilder
    • addRecordsBuilder

      public GroupRecord.Builder addRecordsBuilder()
      repeated .GroupRecord records = 2;
    • addRecordsBuilder

      public GroupRecord.Builder addRecordsBuilder(int index)
      repeated .GroupRecord records = 2;
    • getRecordsBuilderList

      public List<GroupRecord.Builder> getRecordsBuilderList()
      repeated .GroupRecord records = 2;
    • setUnknownFields

      public final GroupCollection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GroupCollection.Builder>
    • mergeUnknownFields

      public final GroupCollection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GroupCollection.Builder>