Package org.yamcs.protobuf
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 valueProtobuf type
yamcs.protobuf.Value
-
Method Summary
Modifier and TypeMethodDescriptionaddAllArrayValue
(Iterable<? extends Yamcs.Value> values) repeated .yamcs.protobuf.Value arrayValue = 13;
addArrayValue
(int index, Yamcs.Value value) repeated .yamcs.protobuf.Value arrayValue = 13;
addArrayValue
(int index, Yamcs.Value.Builder builderForValue) repeated .yamcs.protobuf.Value arrayValue = 13;
addArrayValue
(Yamcs.Value value) repeated .yamcs.protobuf.Value arrayValue = 13;
addArrayValue
(Yamcs.Value.Builder builderForValue) repeated .yamcs.protobuf.Value arrayValue = 13;
repeated .yamcs.protobuf.Value arrayValue = 13;
addArrayValueBuilder
(int index) repeated .yamcs.protobuf.Value arrayValue = 13;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
repeated .yamcs.protobuf.Value arrayValue = 13;
optional bytes binaryValue = 6;
optional bool booleanValue = 11;
optional double doubleValue = 3;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional float floatValue = 2;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional sint32 sint32Value = 4;
optional sint64 sint64Value = 10;
optional string stringValue = 7;
optional int64 timestampValue = 8;
required .yamcs.protobuf.Value.Type type = 1;
optional uint32 uint32Value = 5;
optional uint64 uint64Value = 9;
clone()
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
getArrayValue
(int index) repeated .yamcs.protobuf.Value arrayValue = 13;
getArrayValueBuilder
(int index) repeated .yamcs.protobuf.Value arrayValue = 13;
repeated .yamcs.protobuf.Value arrayValue = 13;
int
repeated .yamcs.protobuf.Value arrayValue = 13;
repeated .yamcs.protobuf.Value arrayValue = 13;
getArrayValueOrBuilder
(int index) repeated .yamcs.protobuf.Value arrayValue = 13;
List<? extends Yamcs.ValueOrBuilder>
repeated .yamcs.protobuf.Value arrayValue = 13;
com.google.protobuf.ByteString
optional bytes binaryValue = 6;
boolean
optional bool booleanValue = 11;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
double
optional double doubleValue = 3;
float
optional float floatValue = 2;
int
optional sint32 sint32Value = 4;
long
optional sint64 sint64Value = 10;
optional string stringValue = 7;
com.google.protobuf.ByteString
optional string stringValue = 7;
long
optional int64 timestampValue = 8;
getType()
required .yamcs.protobuf.Value.Type type = 1;
int
optional uint32 uint32Value = 5;
long
optional uint64 uint64Value = 9;
boolean
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
boolean
optional bytes binaryValue = 6;
boolean
optional bool booleanValue = 11;
boolean
optional double doubleValue = 3;
boolean
optional float floatValue = 2;
boolean
optional sint32 sint32Value = 4;
boolean
optional sint64 sint64Value = 10;
boolean
optional string stringValue = 7;
boolean
optional int64 timestampValue = 8;
boolean
hasType()
required .yamcs.protobuf.Value.Type type = 1;
boolean
optional uint32 uint32Value = 5;
boolean
optional uint64 uint64Value = 9;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Yamcs.Value other) final Yamcs.Value.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeArrayValue
(int index) repeated .yamcs.protobuf.Value arrayValue = 13;
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
setAggregateValue
(Yamcs.AggregateValue.Builder builderForValue) optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
setArrayValue
(int index, Yamcs.Value value) repeated .yamcs.protobuf.Value arrayValue = 13;
setArrayValue
(int index, Yamcs.Value.Builder builderForValue) repeated .yamcs.protobuf.Value arrayValue = 13;
setBinaryValue
(com.google.protobuf.ByteString value) optional bytes binaryValue = 6;
setBooleanValue
(boolean value) optional bool booleanValue = 11;
setDoubleValue
(double value) optional double doubleValue = 3;
setFloatValue
(float value) optional float floatValue = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSint32Value
(int value) optional sint32 sint32Value = 4;
setSint64Value
(long value) optional sint64 sint64Value = 10;
setStringValue
(String value) optional string stringValue = 7;
setStringValueBytes
(com.google.protobuf.ByteString value) optional string stringValue = 7;
setTimestampValue
(long value) optional int64 timestampValue = 8;
setType
(Yamcs.Value.Type value) required .yamcs.protobuf.Value.Type type = 1;
setUint32Value
(int value) optional uint32 uint32Value = 5;
setUint64Value
(long value) optional uint64 uint64Value = 9;
final Yamcs.Value.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Yamcs.Value.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Yamcs.Value.Builder>
- Throws:
IOException
-
hasType
public boolean hasType()required .yamcs.protobuf.Value.Type type = 1;
- Specified by:
hasType
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the type field is set.
-
getType
required .yamcs.protobuf.Value.Type type = 1;
- Specified by:
getType
in interfaceYamcs.ValueOrBuilder
- Returns:
- The type.
-
setType
required .yamcs.protobuf.Value.Type type = 1;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
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 interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public float getFloatValue()optional float floatValue = 2;
- Specified by:
getFloatValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The floatValue.
-
setFloatValue
optional float floatValue = 2;
- Parameters:
value
- The floatValue to set.- Returns:
- This builder for chaining.
-
clearFloatValue
optional float floatValue = 2;
- Returns:
- This builder for chaining.
-
hasDoubleValue
public boolean hasDoubleValue()optional double doubleValue = 3;
- Specified by:
hasDoubleValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()optional double doubleValue = 3;
- Specified by:
getDoubleValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The doubleValue.
-
setDoubleValue
optional double doubleValue = 3;
- Parameters:
value
- The doubleValue to set.- Returns:
- This builder for chaining.
-
clearDoubleValue
optional double doubleValue = 3;
- Returns:
- This builder for chaining.
-
hasSint32Value
public boolean hasSint32Value()optional sint32 sint32Value = 4;
- Specified by:
hasSint32Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the sint32Value field is set.
-
getSint32Value
public int getSint32Value()optional sint32 sint32Value = 4;
- Specified by:
getSint32Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- The sint32Value.
-
setSint32Value
optional sint32 sint32Value = 4;
- Parameters:
value
- The sint32Value to set.- Returns:
- This builder for chaining.
-
clearSint32Value
optional sint32 sint32Value = 4;
- Returns:
- This builder for chaining.
-
hasUint32Value
public boolean hasUint32Value()optional uint32 uint32Value = 5;
- Specified by:
hasUint32Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the uint32Value field is set.
-
getUint32Value
public int getUint32Value()optional uint32 uint32Value = 5;
- Specified by:
getUint32Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- The uint32Value.
-
setUint32Value
optional uint32 uint32Value = 5;
- Parameters:
value
- The uint32Value to set.- Returns:
- This builder for chaining.
-
clearUint32Value
optional uint32 uint32Value = 5;
- Returns:
- This builder for chaining.
-
hasBinaryValue
public boolean hasBinaryValue()optional bytes binaryValue = 6;
- Specified by:
hasBinaryValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the binaryValue field is set.
-
getBinaryValue
public com.google.protobuf.ByteString getBinaryValue()optional bytes binaryValue = 6;
- Specified by:
getBinaryValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The binaryValue.
-
setBinaryValue
optional bytes binaryValue = 6;
- Parameters:
value
- The binaryValue to set.- Returns:
- This builder for chaining.
-
clearBinaryValue
optional bytes binaryValue = 6;
- Returns:
- This builder for chaining.
-
hasStringValue
public boolean hasStringValue()optional string stringValue = 7;
- Specified by:
hasStringValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the stringValue field is set.
-
getStringValue
optional string stringValue = 7;
- Specified by:
getStringValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()optional string stringValue = 7;
- Specified by:
getStringValueBytes
in interfaceYamcs.ValueOrBuilder
- Returns:
- The bytes for stringValue.
-
setStringValue
optional string stringValue = 7;
- Parameters:
value
- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
optional string stringValue = 7;
- Returns:
- This builder for chaining.
-
setStringValueBytes
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 interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
public long getTimestampValue()optional int64 timestampValue = 8;
- Specified by:
getTimestampValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The timestampValue.
-
setTimestampValue
optional int64 timestampValue = 8;
- Parameters:
value
- The timestampValue to set.- Returns:
- This builder for chaining.
-
clearTimestampValue
optional int64 timestampValue = 8;
- Returns:
- This builder for chaining.
-
hasUint64Value
public boolean hasUint64Value()optional uint64 uint64Value = 9;
- Specified by:
hasUint64Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the uint64Value field is set.
-
getUint64Value
public long getUint64Value()optional uint64 uint64Value = 9;
- Specified by:
getUint64Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- The uint64Value.
-
setUint64Value
optional uint64 uint64Value = 9;
- Parameters:
value
- The uint64Value to set.- Returns:
- This builder for chaining.
-
clearUint64Value
optional uint64 uint64Value = 9;
- Returns:
- This builder for chaining.
-
hasSint64Value
public boolean hasSint64Value()optional sint64 sint64Value = 10;
- Specified by:
hasSint64Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the sint64Value field is set.
-
getSint64Value
public long getSint64Value()optional sint64 sint64Value = 10;
- Specified by:
getSint64Value
in interfaceYamcs.ValueOrBuilder
- Returns:
- The sint64Value.
-
setSint64Value
optional sint64 sint64Value = 10;
- Parameters:
value
- The sint64Value to set.- Returns:
- This builder for chaining.
-
clearSint64Value
optional sint64 sint64Value = 10;
- Returns:
- This builder for chaining.
-
hasBooleanValue
public boolean hasBooleanValue()optional bool booleanValue = 11;
- Specified by:
hasBooleanValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
public boolean getBooleanValue()optional bool booleanValue = 11;
- Specified by:
getBooleanValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The booleanValue.
-
setBooleanValue
optional bool booleanValue = 11;
- Parameters:
value
- The booleanValue to set.- Returns:
- This builder for chaining.
-
clearBooleanValue
optional bool booleanValue = 11;
- Returns:
- This builder for chaining.
-
hasAggregateValue
public boolean hasAggregateValue()optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
- Specified by:
hasAggregateValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- Whether the aggregateValue field is set.
-
getAggregateValue
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
- Specified by:
getAggregateValue
in interfaceYamcs.ValueOrBuilder
- Returns:
- The aggregateValue.
-
setAggregateValue
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
-
setAggregateValue
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
-
mergeAggregateValue
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
-
clearAggregateValue
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
-
getAggregateValueBuilder
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
-
getAggregateValueOrBuilder
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;
- Specified by:
getAggregateValueOrBuilder
in interfaceYamcs.ValueOrBuilder
-
getArrayValueList
repeated .yamcs.protobuf.Value arrayValue = 13;
- Specified by:
getArrayValueList
in interfaceYamcs.ValueOrBuilder
-
getArrayValueCount
public int getArrayValueCount()repeated .yamcs.protobuf.Value arrayValue = 13;
- Specified by:
getArrayValueCount
in interfaceYamcs.ValueOrBuilder
-
getArrayValue
repeated .yamcs.protobuf.Value arrayValue = 13;
- Specified by:
getArrayValue
in interfaceYamcs.ValueOrBuilder
-
setArrayValue
repeated .yamcs.protobuf.Value arrayValue = 13;
-
setArrayValue
repeated .yamcs.protobuf.Value arrayValue = 13;
-
addArrayValue
repeated .yamcs.protobuf.Value arrayValue = 13;
-
addArrayValue
repeated .yamcs.protobuf.Value arrayValue = 13;
-
addArrayValue
repeated .yamcs.protobuf.Value arrayValue = 13;
-
addArrayValue
repeated .yamcs.protobuf.Value arrayValue = 13;
-
addAllArrayValue
repeated .yamcs.protobuf.Value arrayValue = 13;
-
clearArrayValue
repeated .yamcs.protobuf.Value arrayValue = 13;
-
removeArrayValue
repeated .yamcs.protobuf.Value arrayValue = 13;
-
getArrayValueBuilder
repeated .yamcs.protobuf.Value arrayValue = 13;
-
getArrayValueOrBuilder
repeated .yamcs.protobuf.Value arrayValue = 13;
- Specified by:
getArrayValueOrBuilder
in interfaceYamcs.ValueOrBuilder
-
getArrayValueOrBuilderList
repeated .yamcs.protobuf.Value arrayValue = 13;
- Specified by:
getArrayValueOrBuilderList
in interfaceYamcs.ValueOrBuilder
-
addArrayValueBuilder
repeated .yamcs.protobuf.Value arrayValue = 13;
-
addArrayValueBuilder
repeated .yamcs.protobuf.Value arrayValue = 13;
-
getArrayValueBuilderList
repeated .yamcs.protobuf.Value arrayValue = 13;
-
setUnknownFields
public final Yamcs.Value.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
mergeUnknownFields
public final Yamcs.Value.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-