Class Yamcs.Value.Builder

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

public static final class Yamcs.Value.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder> implements Yamcs.ValueOrBuilder
 Union type for storing a value
 
Protobuf type yamcs.protobuf.Value
  • 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.Value.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public Yamcs.Value.Builder mergeFrom(Yamcs.Value other)
    • isInitialized

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

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

      public boolean hasType()
      required .yamcs.protobuf.Value.Type type = 1;
      Specified by:
      hasType in interface Yamcs.ValueOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public Yamcs.Value.Type getType()
      required .yamcs.protobuf.Value.Type type = 1;
      Specified by:
      getType in interface Yamcs.ValueOrBuilder
      Returns:
      The type.
    • setType

      public Yamcs.Value.Builder setType(Yamcs.Value.Type value)
      required .yamcs.protobuf.Value.Type type = 1;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Yamcs.Value.Builder clearType()
      required .yamcs.protobuf.Value.Type type = 1;
      Returns:
      This builder for chaining.
    • hasFloatValue

      public boolean hasFloatValue()
      optional float floatValue = 2;
      Specified by:
      hasFloatValue in interface Yamcs.ValueOrBuilder
      Returns:
      Whether the floatValue field is set.
    • getFloatValue

      public float getFloatValue()
      optional float floatValue = 2;
      Specified by:
      getFloatValue in interface Yamcs.ValueOrBuilder
      Returns:
      The floatValue.
    • setFloatValue

      public Yamcs.Value.Builder setFloatValue(float value)
      optional float floatValue = 2;
      Parameters:
      value - The floatValue to set.
      Returns:
      This builder for chaining.
    • clearFloatValue

      public Yamcs.Value.Builder clearFloatValue()
      optional float floatValue = 2;
      Returns:
      This builder for chaining.
    • hasDoubleValue

      public boolean hasDoubleValue()
      optional double doubleValue = 3;
      Specified by:
      hasDoubleValue in interface Yamcs.ValueOrBuilder
      Returns:
      Whether the doubleValue field is set.
    • getDoubleValue

      public double getDoubleValue()
      optional double doubleValue = 3;
      Specified by:
      getDoubleValue in interface Yamcs.ValueOrBuilder
      Returns:
      The doubleValue.
    • setDoubleValue

      public Yamcs.Value.Builder setDoubleValue(double value)
      optional double doubleValue = 3;
      Parameters:
      value - The doubleValue to set.
      Returns:
      This builder for chaining.
    • clearDoubleValue

      public Yamcs.Value.Builder clearDoubleValue()
      optional double doubleValue = 3;
      Returns:
      This builder for chaining.
    • hasSint32Value

      public boolean hasSint32Value()
      optional sint32 sint32Value = 4;
      Specified by:
      hasSint32Value in interface Yamcs.ValueOrBuilder
      Returns:
      Whether the sint32Value field is set.
    • getSint32Value

      public int getSint32Value()
      optional sint32 sint32Value = 4;
      Specified by:
      getSint32Value in interface Yamcs.ValueOrBuilder
      Returns:
      The sint32Value.
    • setSint32Value

      public Yamcs.Value.Builder setSint32Value(int value)
      optional sint32 sint32Value = 4;
      Parameters:
      value - The sint32Value to set.
      Returns:
      This builder for chaining.
    • clearSint32Value

      public Yamcs.Value.Builder clearSint32Value()
      optional sint32 sint32Value = 4;
      Returns:
      This builder for chaining.
    • hasUint32Value

      public boolean hasUint32Value()
      optional uint32 uint32Value = 5;
      Specified by:
      hasUint32Value in interface Yamcs.ValueOrBuilder
      Returns:
      Whether the uint32Value field is set.
    • getUint32Value

      public int getUint32Value()
      optional uint32 uint32Value = 5;
      Specified by:
      getUint32Value in interface Yamcs.ValueOrBuilder
      Returns:
      The uint32Value.
    • setUint32Value

      public Yamcs.Value.Builder setUint32Value(int value)
      optional uint32 uint32Value = 5;
      Parameters:
      value - The uint32Value to set.
      Returns:
      This builder for chaining.
    • clearUint32Value

      public Yamcs.Value.Builder clearUint32Value()
      optional uint32 uint32Value = 5;
      Returns:
      This builder for chaining.
    • hasBinaryValue

      public boolean hasBinaryValue()
      optional bytes binaryValue = 6;
      Specified by:
      hasBinaryValue in interface Yamcs.ValueOrBuilder
      Returns:
      Whether the binaryValue field is set.
    • getBinaryValue

      public com.google.protobuf.ByteString getBinaryValue()
      optional bytes binaryValue = 6;
      Specified by:
      getBinaryValue in interface Yamcs.ValueOrBuilder
      Returns:
      The binaryValue.
    • setBinaryValue

      public Yamcs.Value.Builder setBinaryValue(com.google.protobuf.ByteString value)
      optional bytes binaryValue = 6;
      Parameters:
      value - The binaryValue to set.
      Returns:
      This builder for chaining.
    • clearBinaryValue

      public Yamcs.Value.Builder clearBinaryValue()
      optional bytes binaryValue = 6;
      Returns:
      This builder for chaining.
    • hasStringValue

      public boolean hasStringValue()
      optional string stringValue = 7;
      Specified by:
      hasStringValue in interface Yamcs.ValueOrBuilder
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      public String getStringValue()
      optional string stringValue = 7;
      Specified by:
      getStringValue in interface Yamcs.ValueOrBuilder
      Returns:
      The stringValue.
    • getStringValueBytes

      public com.google.protobuf.ByteString getStringValueBytes()
      optional string stringValue = 7;
      Specified by:
      getStringValueBytes in interface Yamcs.ValueOrBuilder
      Returns:
      The bytes for stringValue.
    • setStringValue

      public Yamcs.Value.Builder setStringValue(String value)
      optional string stringValue = 7;
      Parameters:
      value - The stringValue to set.
      Returns:
      This builder for chaining.
    • clearStringValue

      public Yamcs.Value.Builder clearStringValue()
      optional string stringValue = 7;
      Returns:
      This builder for chaining.
    • setStringValueBytes

      public Yamcs.Value.Builder setStringValueBytes(com.google.protobuf.ByteString value)
      optional string stringValue = 7;
      Parameters:
      value - The bytes for stringValue to set.
      Returns:
      This builder for chaining.
    • hasTimestampValue

      public boolean hasTimestampValue()
      optional int64 timestampValue = 8;
      Specified by:
      hasTimestampValue in interface Yamcs.ValueOrBuilder
      Returns:
      Whether the timestampValue field is set.
    • getTimestampValue

      public long getTimestampValue()
      optional int64 timestampValue = 8;
      Specified by:
      getTimestampValue in interface Yamcs.ValueOrBuilder
      Returns:
      The timestampValue.
    • setTimestampValue

      public Yamcs.Value.Builder setTimestampValue(long value)
      optional int64 timestampValue = 8;
      Parameters:
      value - The timestampValue to set.
      Returns:
      This builder for chaining.
    • clearTimestampValue

      public Yamcs.Value.Builder clearTimestampValue()
      optional int64 timestampValue = 8;
      Returns:
      This builder for chaining.
    • hasUint64Value

      public boolean hasUint64Value()
      optional uint64 uint64Value = 9;
      Specified by:
      hasUint64Value in interface Yamcs.ValueOrBuilder
      Returns:
      Whether the uint64Value field is set.
    • getUint64Value

      public long getUint64Value()
      optional uint64 uint64Value = 9;
      Specified by:
      getUint64Value in interface Yamcs.ValueOrBuilder
      Returns:
      The uint64Value.
    • setUint64Value

      public Yamcs.Value.Builder setUint64Value(long value)
      optional uint64 uint64Value = 9;
      Parameters:
      value - The uint64Value to set.
      Returns:
      This builder for chaining.
    • clearUint64Value

      public Yamcs.Value.Builder clearUint64Value()
      optional uint64 uint64Value = 9;
      Returns:
      This builder for chaining.
    • hasSint64Value

      public boolean hasSint64Value()
      optional sint64 sint64Value = 10;
      Specified by:
      hasSint64Value in interface Yamcs.ValueOrBuilder
      Returns:
      Whether the sint64Value field is set.
    • getSint64Value

      public long getSint64Value()
      optional sint64 sint64Value = 10;
      Specified by:
      getSint64Value in interface Yamcs.ValueOrBuilder
      Returns:
      The sint64Value.
    • setSint64Value

      public Yamcs.Value.Builder setSint64Value(long value)
      optional sint64 sint64Value = 10;
      Parameters:
      value - The sint64Value to set.
      Returns:
      This builder for chaining.
    • clearSint64Value

      public Yamcs.Value.Builder clearSint64Value()
      optional sint64 sint64Value = 10;
      Returns:
      This builder for chaining.
    • hasBooleanValue

      public boolean hasBooleanValue()
      optional bool booleanValue = 11;
      Specified by:
      hasBooleanValue in interface Yamcs.ValueOrBuilder
      Returns:
      Whether the booleanValue field is set.
    • getBooleanValue

      public boolean getBooleanValue()
      optional bool booleanValue = 11;
      Specified by:
      getBooleanValue in interface Yamcs.ValueOrBuilder
      Returns:
      The booleanValue.
    • setBooleanValue

      public Yamcs.Value.Builder setBooleanValue(boolean value)
      optional bool booleanValue = 11;
      Parameters:
      value - The booleanValue to set.
      Returns:
      This builder for chaining.
    • clearBooleanValue

      public Yamcs.Value.Builder clearBooleanValue()
      optional bool booleanValue = 11;
      Returns:
      This builder for chaining.
    • hasAggregateValue

      public boolean hasAggregateValue()
      optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
      Specified by:
      hasAggregateValue in interface Yamcs.ValueOrBuilder
      Returns:
      Whether the aggregateValue field is set.
    • getAggregateValue

      public Yamcs.AggregateValue getAggregateValue()
      optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
      Specified by:
      getAggregateValue in interface Yamcs.ValueOrBuilder
      Returns:
      The aggregateValue.
    • setAggregateValue

      public Yamcs.Value.Builder setAggregateValue(Yamcs.AggregateValue value)
      optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
    • setAggregateValue

      public Yamcs.Value.Builder setAggregateValue(Yamcs.AggregateValue.Builder builderForValue)
      optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
    • mergeAggregateValue

      public Yamcs.Value.Builder mergeAggregateValue(Yamcs.AggregateValue value)
      optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
    • clearAggregateValue

      public Yamcs.Value.Builder clearAggregateValue()
      optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
    • getAggregateValueBuilder

      public Yamcs.AggregateValue.Builder getAggregateValueBuilder()
      optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
    • getAggregateValueOrBuilder

      public Yamcs.AggregateValueOrBuilder getAggregateValueOrBuilder()
      optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
      Specified by:
      getAggregateValueOrBuilder in interface Yamcs.ValueOrBuilder
    • getArrayValueList

      public List<Yamcs.Value> getArrayValueList()
      repeated .yamcs.protobuf.Value arrayValue = 13;
      Specified by:
      getArrayValueList in interface Yamcs.ValueOrBuilder
    • getArrayValueCount

      public int getArrayValueCount()
      repeated .yamcs.protobuf.Value arrayValue = 13;
      Specified by:
      getArrayValueCount in interface Yamcs.ValueOrBuilder
    • getArrayValue

      public Yamcs.Value getArrayValue(int index)
      repeated .yamcs.protobuf.Value arrayValue = 13;
      Specified by:
      getArrayValue in interface Yamcs.ValueOrBuilder
    • setArrayValue

      public Yamcs.Value.Builder setArrayValue(int index, Yamcs.Value value)
      repeated .yamcs.protobuf.Value arrayValue = 13;
    • setArrayValue

      public Yamcs.Value.Builder setArrayValue(int index, Yamcs.Value.Builder builderForValue)
      repeated .yamcs.protobuf.Value arrayValue = 13;
    • addArrayValue

      public Yamcs.Value.Builder addArrayValue(Yamcs.Value value)
      repeated .yamcs.protobuf.Value arrayValue = 13;
    • addArrayValue

      public Yamcs.Value.Builder addArrayValue(int index, Yamcs.Value value)
      repeated .yamcs.protobuf.Value arrayValue = 13;
    • addArrayValue

      public Yamcs.Value.Builder addArrayValue(Yamcs.Value.Builder builderForValue)
      repeated .yamcs.protobuf.Value arrayValue = 13;
    • addArrayValue

      public Yamcs.Value.Builder addArrayValue(int index, Yamcs.Value.Builder builderForValue)
      repeated .yamcs.protobuf.Value arrayValue = 13;
    • addAllArrayValue

      public Yamcs.Value.Builder addAllArrayValue(Iterable<? extends Yamcs.Value> values)
      repeated .yamcs.protobuf.Value arrayValue = 13;
    • clearArrayValue

      public Yamcs.Value.Builder clearArrayValue()
      repeated .yamcs.protobuf.Value arrayValue = 13;
    • removeArrayValue

      public Yamcs.Value.Builder removeArrayValue(int index)
      repeated .yamcs.protobuf.Value arrayValue = 13;
    • getArrayValueBuilder

      public Yamcs.Value.Builder getArrayValueBuilder(int index)
      repeated .yamcs.protobuf.Value arrayValue = 13;
    • getArrayValueOrBuilder

      public Yamcs.ValueOrBuilder getArrayValueOrBuilder(int index)
      repeated .yamcs.protobuf.Value arrayValue = 13;
      Specified by:
      getArrayValueOrBuilder in interface Yamcs.ValueOrBuilder
    • getArrayValueOrBuilderList

      public List<? extends Yamcs.ValueOrBuilder> getArrayValueOrBuilderList()
      repeated .yamcs.protobuf.Value arrayValue = 13;
      Specified by:
      getArrayValueOrBuilderList in interface Yamcs.ValueOrBuilder
    • addArrayValueBuilder

      public Yamcs.Value.Builder addArrayValueBuilder()
      repeated .yamcs.protobuf.Value arrayValue = 13;
    • addArrayValueBuilder

      public Yamcs.Value.Builder addArrayValueBuilder(int index)
      repeated .yamcs.protobuf.Value arrayValue = 13;
    • getArrayValueBuilderList

      public List<Yamcs.Value.Builder> getArrayValueBuilderList()
      repeated .yamcs.protobuf.Value arrayValue = 13;
    • setUnknownFields

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

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