java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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;intrepeated .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.ByteStringoptional bytes binaryValue = 6;booleanoptional bool booleanValue = 11;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptordoubleoptional double doubleValue = 3;floatoptional float floatValue = 2;intoptional sint32 sint32Value = 4;longoptional sint64 sint64Value = 10;optional string stringValue = 7;com.google.protobuf.ByteStringoptional string stringValue = 7;longoptional int64 timestampValue = 8;getType()required .yamcs.protobuf.Value.Type type = 1;intoptional uint32 uint32Value = 5;longoptional uint64 uint64Value = 9;booleanoptional .yamcs.protobuf.AggregateValue aggregateValue = 12;booleanoptional bytes binaryValue = 6;booleanoptional bool booleanValue = 11;booleanoptional double doubleValue = 3;booleanoptional float floatValue = 2;booleanoptional sint32 sint32Value = 4;booleanoptional sint64 sint64Value = 10;booleanoptional string stringValue = 7;booleanoptional int64 timestampValue = 8;booleanhasType()required .yamcs.protobuf.Value.Type type = 1;booleanoptional uint32 uint32Value = 5;booleanoptional uint64 uint64Value = 9;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanoptional .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.BuildermergeUnknownFields(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.BuildersetUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
setField
public Yamcs.Value.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
addRepeatedField
public Yamcs.Value.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Yamcs.Value.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Yamcs.Value.Builder>- Throws:
IOException
-
hasType
public boolean hasType()required .yamcs.protobuf.Value.Type type = 1;- Specified by:
hasTypein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the type field is set.
-
getType
required .yamcs.protobuf.Value.Type type = 1;- Specified by:
getTypein 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:
hasFloatValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public float getFloatValue()optional float floatValue = 2;- Specified by:
getFloatValuein 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:
hasDoubleValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()optional double doubleValue = 3;- Specified by:
getDoubleValuein 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:
hasSint32Valuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the sint32Value field is set.
-
getSint32Value
public int getSint32Value()optional sint32 sint32Value = 4;- Specified by:
getSint32Valuein 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:
hasUint32Valuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the uint32Value field is set.
-
getUint32Value
public int getUint32Value()optional uint32 uint32Value = 5;- Specified by:
getUint32Valuein 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:
hasBinaryValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the binaryValue field is set.
-
getBinaryValue
public com.google.protobuf.ByteString getBinaryValue()optional bytes binaryValue = 6;- Specified by:
getBinaryValuein 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:
hasStringValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
optional string stringValue = 7;- Specified by:
getStringValuein interfaceYamcs.ValueOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()optional string stringValue = 7;- Specified by:
getStringValueBytesin 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:
hasTimestampValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
public long getTimestampValue()optional int64 timestampValue = 8;- Specified by:
getTimestampValuein 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:
hasUint64Valuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the uint64Value field is set.
-
getUint64Value
public long getUint64Value()optional uint64 uint64Value = 9;- Specified by:
getUint64Valuein 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:
hasSint64Valuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the sint64Value field is set.
-
getSint64Value
public long getSint64Value()optional sint64 sint64Value = 10;- Specified by:
getSint64Valuein 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:
hasBooleanValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
public boolean getBooleanValue()optional bool booleanValue = 11;- Specified by:
getBooleanValuein 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:
hasAggregateValuein interfaceYamcs.ValueOrBuilder- Returns:
- Whether the aggregateValue field is set.
-
getAggregateValue
optional .yamcs.protobuf.AggregateValue aggregateValue = 12;- Specified by:
getAggregateValuein 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:
getAggregateValueOrBuilderin interfaceYamcs.ValueOrBuilder
-
getArrayValueList
repeated .yamcs.protobuf.Value arrayValue = 13;- Specified by:
getArrayValueListin interfaceYamcs.ValueOrBuilder
-
getArrayValueCount
public int getArrayValueCount()repeated .yamcs.protobuf.Value arrayValue = 13;- Specified by:
getArrayValueCountin interfaceYamcs.ValueOrBuilder
-
getArrayValue
repeated .yamcs.protobuf.Value arrayValue = 13;- Specified by:
getArrayValuein 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:
getArrayValueOrBuilderin interfaceYamcs.ValueOrBuilder
-
getArrayValueOrBuilderList
repeated .yamcs.protobuf.Value arrayValue = 13;- Specified by:
getArrayValueOrBuilderListin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-
mergeUnknownFields
public final Yamcs.Value.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Yamcs.Value.Builder>
-