Class GroupRecord.Builder

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

public static final class GroupRecord.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GroupRecord.Builder> implements GroupRecordOrBuilder
Protobuf type GroupRecord
  • 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<GroupRecord.Builder>
    • clear

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

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

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

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

      public GroupRecord.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<GroupRecord.Builder>
    • setField

      public GroupRecord.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<GroupRecord.Builder>
    • clearField

      public GroupRecord.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<GroupRecord.Builder>
    • clearOneof

      public GroupRecord.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<GroupRecord.Builder>
    • setRepeatedField

      public GroupRecord.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<GroupRecord.Builder>
    • addRepeatedField

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

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

      public GroupRecord.Builder mergeFrom(GroupRecord other)
    • isInitialized

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

      public GroupRecord.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<GroupRecord.Builder>
      Throws:
      IOException
    • hasId

      public boolean hasId()
      optional int32 id = 1;
      Specified by:
      hasId in interface GroupRecordOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public int getId()
      optional int32 id = 1;
      Specified by:
      getId in interface GroupRecordOrBuilder
      Returns:
      The id.
    • setId

      public GroupRecord.Builder setId(int value)
      optional int32 id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public GroupRecord.Builder clearId()
      optional int32 id = 1;
      Returns:
      This builder for chaining.
    • hasName

      public boolean hasName()
      optional string name = 2;
      Specified by:
      hasName in interface GroupRecordOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
      optional string name = 2;
      Specified by:
      getName in interface GroupRecordOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      optional string name = 2;
      Specified by:
      getNameBytes in interface GroupRecordOrBuilder
      Returns:
      The bytes for name.
    • setName

      public GroupRecord.Builder setName(String value)
      optional string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public GroupRecord.Builder clearName()
      optional string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public GroupRecord.Builder setNameBytes(com.google.protobuf.ByteString value)
      optional string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasDescription

      public boolean hasDescription()
      optional string description = 3;
      Specified by:
      hasDescription in interface GroupRecordOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
      optional string description = 3;
      Specified by:
      getDescription in interface GroupRecordOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      optional string description = 3;
      Specified by:
      getDescriptionBytes in interface GroupRecordOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public GroupRecord.Builder setDescription(String value)
      optional string description = 3;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public GroupRecord.Builder clearDescription()
      optional string description = 3;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public GroupRecord.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
      optional string description = 3;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getMembersList

      public List<Integer> getMembersList()
      repeated int32 members = 4;
      Specified by:
      getMembersList in interface GroupRecordOrBuilder
      Returns:
      A list containing the members.
    • getMembersCount

      public int getMembersCount()
      repeated int32 members = 4;
      Specified by:
      getMembersCount in interface GroupRecordOrBuilder
      Returns:
      The count of members.
    • getMembers

      public int getMembers(int index)
      repeated int32 members = 4;
      Specified by:
      getMembers in interface GroupRecordOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The members at the given index.
    • setMembers

      public GroupRecord.Builder setMembers(int index, int value)
      repeated int32 members = 4;
      Parameters:
      index - The index to set the value at.
      value - The members to set.
      Returns:
      This builder for chaining.
    • addMembers

      public GroupRecord.Builder addMembers(int value)
      repeated int32 members = 4;
      Parameters:
      value - The members to add.
      Returns:
      This builder for chaining.
    • addAllMembers

      public GroupRecord.Builder addAllMembers(Iterable<? extends Integer> values)
      repeated int32 members = 4;
      Parameters:
      values - The members to add.
      Returns:
      This builder for chaining.
    • clearMembers

      public GroupRecord.Builder clearMembers()
      repeated int32 members = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final GroupRecord.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<GroupRecord.Builder>
    • mergeUnknownFields

      public final GroupRecord.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<GroupRecord.Builder>