Class Pvalue.ParameterData.Builder

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

public static final class Pvalue.ParameterData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterData.Builder> implements Pvalue.ParameterDataOrBuilder
Protobuf type yamcs.protobuf.pvalue.ParameterData
  • 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<Pvalue.ParameterData.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<Pvalue.ParameterData.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<Pvalue.ParameterData.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public Pvalue.ParameterData.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<Pvalue.ParameterData.Builder>
      Throws:
      IOException
    • getParameterList

      public List<Pvalue.ParameterValue> getParameterList()
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
      Specified by:
      getParameterList in interface Pvalue.ParameterDataOrBuilder
    • getParameterCount

      public int getParameterCount()
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
      Specified by:
      getParameterCount in interface Pvalue.ParameterDataOrBuilder
    • getParameter

      public Pvalue.ParameterValue getParameter(int index)
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
      Specified by:
      getParameter in interface Pvalue.ParameterDataOrBuilder
    • setParameter

      public Pvalue.ParameterData.Builder setParameter(int index, Pvalue.ParameterValue value)
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
    • setParameter

      public Pvalue.ParameterData.Builder setParameter(int index, Pvalue.ParameterValue.Builder builderForValue)
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
    • addParameter

      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
    • addParameter

      public Pvalue.ParameterData.Builder addParameter(int index, Pvalue.ParameterValue value)
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
    • addParameter

      public Pvalue.ParameterData.Builder addParameter(Pvalue.ParameterValue.Builder builderForValue)
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
    • addParameter

      public Pvalue.ParameterData.Builder addParameter(int index, Pvalue.ParameterValue.Builder builderForValue)
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
    • addAllParameter

      public Pvalue.ParameterData.Builder addAllParameter(Iterable<? extends Pvalue.ParameterValue> values)
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
    • clearParameter

      public Pvalue.ParameterData.Builder clearParameter()
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
    • removeParameter

      public Pvalue.ParameterData.Builder removeParameter(int index)
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
    • getParameterBuilder

      public Pvalue.ParameterValue.Builder getParameterBuilder(int index)
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
    • getParameterOrBuilder

      public Pvalue.ParameterValueOrBuilder getParameterOrBuilder(int index)
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
      Specified by:
      getParameterOrBuilder in interface Pvalue.ParameterDataOrBuilder
    • getParameterOrBuilderList

      public List<? extends Pvalue.ParameterValueOrBuilder> getParameterOrBuilderList()
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
      Specified by:
      getParameterOrBuilderList in interface Pvalue.ParameterDataOrBuilder
    • addParameterBuilder

      public Pvalue.ParameterValue.Builder addParameterBuilder()
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
    • addParameterBuilder

      public Pvalue.ParameterValue.Builder addParameterBuilder(int index)
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
    • getParameterBuilderList

      public List<Pvalue.ParameterValue.Builder> getParameterBuilderList()
      repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
    • hasGroup

      public boolean hasGroup()
       The next three fields are used by the recorder as unique key to store
       parameters in "rows" and also by components that provide parameters
       from external sources. The time should roughly correspond to the parameter 
       time but can be rounded for better efficiency.
       
      optional string group = 2;
      Specified by:
      hasGroup in interface Pvalue.ParameterDataOrBuilder
      Returns:
      Whether the group field is set.
    • getGroup

      public String getGroup()
       The next three fields are used by the recorder as unique key to store
       parameters in "rows" and also by components that provide parameters
       from external sources. The time should roughly correspond to the parameter 
       time but can be rounded for better efficiency.
       
      optional string group = 2;
      Specified by:
      getGroup in interface Pvalue.ParameterDataOrBuilder
      Returns:
      The group.
    • getGroupBytes

      public com.google.protobuf.ByteString getGroupBytes()
       The next three fields are used by the recorder as unique key to store
       parameters in "rows" and also by components that provide parameters
       from external sources. The time should roughly correspond to the parameter 
       time but can be rounded for better efficiency.
       
      optional string group = 2;
      Specified by:
      getGroupBytes in interface Pvalue.ParameterDataOrBuilder
      Returns:
      The bytes for group.
    • setGroup

      public Pvalue.ParameterData.Builder setGroup(String value)
       The next three fields are used by the recorder as unique key to store
       parameters in "rows" and also by components that provide parameters
       from external sources. The time should roughly correspond to the parameter 
       time but can be rounded for better efficiency.
       
      optional string group = 2;
      Parameters:
      value - The group to set.
      Returns:
      This builder for chaining.
    • clearGroup

      public Pvalue.ParameterData.Builder clearGroup()
       The next three fields are used by the recorder as unique key to store
       parameters in "rows" and also by components that provide parameters
       from external sources. The time should roughly correspond to the parameter 
       time but can be rounded for better efficiency.
       
      optional string group = 2;
      Returns:
      This builder for chaining.
    • setGroupBytes

      public Pvalue.ParameterData.Builder setGroupBytes(com.google.protobuf.ByteString value)
       The next three fields are used by the recorder as unique key to store
       parameters in "rows" and also by components that provide parameters
       from external sources. The time should roughly correspond to the parameter 
       time but can be rounded for better efficiency.
       
      optional string group = 2;
      Parameters:
      value - The bytes for group to set.
      Returns:
      This builder for chaining.
    • hasGenerationTime

      public boolean hasGenerationTime()
      optional int64 generationTime = 3;
      Specified by:
      hasGenerationTime in interface Pvalue.ParameterDataOrBuilder
      Returns:
      Whether the generationTime field is set.
    • getGenerationTime

      public long getGenerationTime()
      optional int64 generationTime = 3;
      Specified by:
      getGenerationTime in interface Pvalue.ParameterDataOrBuilder
      Returns:
      The generationTime.
    • setGenerationTime

      public Pvalue.ParameterData.Builder setGenerationTime(long value)
      optional int64 generationTime = 3;
      Parameters:
      value - The generationTime to set.
      Returns:
      This builder for chaining.
    • clearGenerationTime

      public Pvalue.ParameterData.Builder clearGenerationTime()
      optional int64 generationTime = 3;
      Returns:
      This builder for chaining.
    • hasSeqNum

      public boolean hasSeqNum()
      optional int32 seqNum = 4;
      Specified by:
      hasSeqNum in interface Pvalue.ParameterDataOrBuilder
      Returns:
      Whether the seqNum field is set.
    • getSeqNum

      public int getSeqNum()
      optional int32 seqNum = 4;
      Specified by:
      getSeqNum in interface Pvalue.ParameterDataOrBuilder
      Returns:
      The seqNum.
    • setSeqNum

      public Pvalue.ParameterData.Builder setSeqNum(int value)
      optional int32 seqNum = 4;
      Parameters:
      value - The seqNum to set.
      Returns:
      This builder for chaining.
    • clearSeqNum

      public Pvalue.ParameterData.Builder clearSeqNum()
      optional int32 seqNum = 4;
      Returns:
      This builder for chaining.
    • hasSubscriptionId

      public boolean hasSubscriptionId()
       Used when parameter data is delivered as result of subscriptions
       
      optional int32 subscriptionId = 5;
      Specified by:
      hasSubscriptionId in interface Pvalue.ParameterDataOrBuilder
      Returns:
      Whether the subscriptionId field is set.
    • getSubscriptionId

      public int getSubscriptionId()
       Used when parameter data is delivered as result of subscriptions
       
      optional int32 subscriptionId = 5;
      Specified by:
      getSubscriptionId in interface Pvalue.ParameterDataOrBuilder
      Returns:
      The subscriptionId.
    • setSubscriptionId

      public Pvalue.ParameterData.Builder setSubscriptionId(int value)
       Used when parameter data is delivered as result of subscriptions
       
      optional int32 subscriptionId = 5;
      Parameters:
      value - The subscriptionId to set.
      Returns:
      This builder for chaining.
    • clearSubscriptionId

      public Pvalue.ParameterData.Builder clearSubscriptionId()
       Used when parameter data is delivered as result of subscriptions
       
      optional int32 subscriptionId = 5;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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