Class Yamcs.AggregateValue.Builder

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

public static final class Yamcs.AggregateValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.AggregateValue.Builder> implements Yamcs.AggregateValueOrBuilder
 An aggregate value is an ordered list of (member name, member value).
 Two arrays are used in order to be able to send just the values (since
 the names will not change)
 
Protobuf type yamcs.protobuf.AggregateValue
  • 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<Yamcs.AggregateValue.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<Yamcs.AggregateValue.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<Yamcs.AggregateValue.Builder>
    • getDefaultInstanceForType

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

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

      public Yamcs.AggregateValue buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<Yamcs.AggregateValue.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public Yamcs.AggregateValue.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<Yamcs.AggregateValue.Builder>
      Throws:
      IOException
    • getNameList

      public com.google.protobuf.ProtocolStringList getNameList()
      repeated string name = 1;
      Specified by:
      getNameList in interface Yamcs.AggregateValueOrBuilder
      Returns:
      A list containing the name.
    • getNameCount

      public int getNameCount()
      repeated string name = 1;
      Specified by:
      getNameCount in interface Yamcs.AggregateValueOrBuilder
      Returns:
      The count of name.
    • getName

      public String getName(int index)
      repeated string name = 1;
      Specified by:
      getName in interface Yamcs.AggregateValueOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The name at the given index.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes(int index)
      repeated string name = 1;
      Specified by:
      getNameBytes in interface Yamcs.AggregateValueOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the name at the given index.
    • setName

      public Yamcs.AggregateValue.Builder setName(int index, String value)
      repeated string name = 1;
      Parameters:
      index - The index to set the value at.
      value - The name to set.
      Returns:
      This builder for chaining.
    • addName

      public Yamcs.AggregateValue.Builder addName(String value)
      repeated string name = 1;
      Parameters:
      value - The name to add.
      Returns:
      This builder for chaining.
    • addAllName

      public Yamcs.AggregateValue.Builder addAllName(Iterable<String> values)
      repeated string name = 1;
      Parameters:
      values - The name to add.
      Returns:
      This builder for chaining.
    • clearName

      public Yamcs.AggregateValue.Builder clearName()
      repeated string name = 1;
      Returns:
      This builder for chaining.
    • addNameBytes

      public Yamcs.AggregateValue.Builder addNameBytes(com.google.protobuf.ByteString value)
      repeated string name = 1;
      Parameters:
      value - The bytes of the name to add.
      Returns:
      This builder for chaining.
    • getValueList

      public List<Yamcs.Value> getValueList()
      repeated .yamcs.protobuf.Value value = 2;
      Specified by:
      getValueList in interface Yamcs.AggregateValueOrBuilder
    • getValueCount

      public int getValueCount()
      repeated .yamcs.protobuf.Value value = 2;
      Specified by:
      getValueCount in interface Yamcs.AggregateValueOrBuilder
    • getValue

      public Yamcs.Value getValue(int index)
      repeated .yamcs.protobuf.Value value = 2;
      Specified by:
      getValue in interface Yamcs.AggregateValueOrBuilder
    • setValue

      public Yamcs.AggregateValue.Builder setValue(int index, Yamcs.Value value)
      repeated .yamcs.protobuf.Value value = 2;
    • setValue

      public Yamcs.AggregateValue.Builder setValue(int index, Yamcs.Value.Builder builderForValue)
      repeated .yamcs.protobuf.Value value = 2;
    • addValue

      public Yamcs.AggregateValue.Builder addValue(Yamcs.Value value)
      repeated .yamcs.protobuf.Value value = 2;
    • addValue

      public Yamcs.AggregateValue.Builder addValue(int index, Yamcs.Value value)
      repeated .yamcs.protobuf.Value value = 2;
    • addValue

      public Yamcs.AggregateValue.Builder addValue(Yamcs.Value.Builder builderForValue)
      repeated .yamcs.protobuf.Value value = 2;
    • addValue

      public Yamcs.AggregateValue.Builder addValue(int index, Yamcs.Value.Builder builderForValue)
      repeated .yamcs.protobuf.Value value = 2;
    • addAllValue

      public Yamcs.AggregateValue.Builder addAllValue(Iterable<? extends Yamcs.Value> values)
      repeated .yamcs.protobuf.Value value = 2;
    • clearValue

      public Yamcs.AggregateValue.Builder clearValue()
      repeated .yamcs.protobuf.Value value = 2;
    • removeValue

      public Yamcs.AggregateValue.Builder removeValue(int index)
      repeated .yamcs.protobuf.Value value = 2;
    • getValueBuilder

      public Yamcs.Value.Builder getValueBuilder(int index)
      repeated .yamcs.protobuf.Value value = 2;
    • getValueOrBuilder

      public Yamcs.ValueOrBuilder getValueOrBuilder(int index)
      repeated .yamcs.protobuf.Value value = 2;
      Specified by:
      getValueOrBuilder in interface Yamcs.AggregateValueOrBuilder
    • getValueOrBuilderList

      public List<? extends Yamcs.ValueOrBuilder> getValueOrBuilderList()
      repeated .yamcs.protobuf.Value value = 2;
      Specified by:
      getValueOrBuilderList in interface Yamcs.AggregateValueOrBuilder
    • addValueBuilder

      public Yamcs.Value.Builder addValueBuilder()
      repeated .yamcs.protobuf.Value value = 2;
    • addValueBuilder

      public Yamcs.Value.Builder addValueBuilder(int index)
      repeated .yamcs.protobuf.Value value = 2;
    • getValueBuilderList

      public List<Yamcs.Value.Builder> getValueBuilderList()
      repeated .yamcs.protobuf.Value value = 2;
    • setUnknownFields

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

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