public static final class Yamcs.Value.Builder extends com.google.protobuf.GeneratedMessage.Builder<Yamcs.Value.Builder> implements Yamcs.ValueOrBuilder
yamcs.Value
union type for storing a value
| Modifier and Type | Method and Description |
|---|---|
Yamcs.Value |
build() |
Yamcs.Value |
buildPartial() |
Yamcs.Value.Builder |
clear() |
Yamcs.Value.Builder |
clearBinaryValue()
optional bytes binaryValue = 6; |
Yamcs.Value.Builder |
clearBooleanValue()
optional bool booleanValue = 11; |
Yamcs.Value.Builder |
clearDoubleValue()
optional double doubleValue = 3; |
Yamcs.Value.Builder |
clearFloatValue()
optional float floatValue = 2; |
Yamcs.Value.Builder |
clearSint32Value()
optional sint32 sint32Value = 4; |
Yamcs.Value.Builder |
clearSint64Value()
optional sint64 sint64Value = 10; |
Yamcs.Value.Builder |
clearStringValue()
optional string stringValue = 7; |
Yamcs.Value.Builder |
clearTimestampValue()
optional int64 timestampValue = 8; |
Yamcs.Value.Builder |
clearType()
required .yamcs.Value.Type type = 1; |
Yamcs.Value.Builder |
clearUint32Value()
optional uint32 uint32Value = 5; |
Yamcs.Value.Builder |
clearUint64Value()
optional uint64 uint64Value = 9; |
Yamcs.Value.Builder |
clone() |
com.google.protobuf.ByteString |
getBinaryValue()
optional bytes binaryValue = 6; |
boolean |
getBooleanValue()
optional bool booleanValue = 11; |
Yamcs.Value |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getDoubleValue()
optional double doubleValue = 3; |
float |
getFloatValue()
optional float floatValue = 2; |
int |
getSint32Value()
optional sint32 sint32Value = 4; |
long |
getSint64Value()
optional sint64 sint64Value = 10; |
String |
getStringValue()
optional string stringValue = 7; |
com.google.protobuf.ByteString |
getStringValueBytes()
optional string stringValue = 7; |
long |
getTimestampValue()
optional int64 timestampValue = 8; |
Yamcs.Value.Type |
getType()
required .yamcs.Value.Type type = 1; |
int |
getUint32Value()
optional uint32 uint32Value = 5; |
long |
getUint64Value()
optional uint64 uint64Value = 9; |
boolean |
hasBinaryValue()
optional bytes binaryValue = 6; |
boolean |
hasBooleanValue()
optional bool booleanValue = 11; |
boolean |
hasDoubleValue()
optional double doubleValue = 3; |
boolean |
hasFloatValue()
optional float floatValue = 2; |
boolean |
hasSint32Value()
optional sint32 sint32Value = 4; |
boolean |
hasSint64Value()
optional sint64 sint64Value = 10; |
boolean |
hasStringValue()
optional string stringValue = 7; |
boolean |
hasTimestampValue()
optional int64 timestampValue = 8; |
boolean |
hasType()
required .yamcs.Value.Type type = 1; |
boolean |
hasUint32Value()
optional uint32 uint32Value = 5; |
boolean |
hasUint64Value()
optional uint64 uint64Value = 9; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Yamcs.Value.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Yamcs.Value.Builder |
mergeFrom(com.google.protobuf.Message other) |
Yamcs.Value.Builder |
mergeFrom(Yamcs.Value other) |
Yamcs.Value.Builder |
setBinaryValue(com.google.protobuf.ByteString value)
optional bytes binaryValue = 6; |
Yamcs.Value.Builder |
setBooleanValue(boolean value)
optional bool booleanValue = 11; |
Yamcs.Value.Builder |
setDoubleValue(double value)
optional double doubleValue = 3; |
Yamcs.Value.Builder |
setFloatValue(float value)
optional float floatValue = 2; |
Yamcs.Value.Builder |
setSint32Value(int value)
optional sint32 sint32Value = 4; |
Yamcs.Value.Builder |
setSint64Value(long value)
optional sint64 sint64Value = 10; |
Yamcs.Value.Builder |
setStringValue(String value)
optional string stringValue = 7; |
Yamcs.Value.Builder |
setStringValueBytes(com.google.protobuf.ByteString value)
optional string stringValue = 7; |
Yamcs.Value.Builder |
setTimestampValue(long value)
optional int64 timestampValue = 8; |
Yamcs.Value.Builder |
setType(Yamcs.Value.Type value)
required .yamcs.Value.Type type = 1; |
Yamcs.Value.Builder |
setUint32Value(int value)
optional uint32 uint32Value = 5; |
Yamcs.Value.Builder |
setUint64Value(long value)
optional uint64 uint64Value = 9; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Yamcs.Value.Builder>public Yamcs.Value.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Yamcs.Value.Builder>public Yamcs.Value.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<Yamcs.Value.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Yamcs.Value.Builder>public Yamcs.Value getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Yamcs.Value build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Yamcs.Value buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Yamcs.Value.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Yamcs.Value.Builder>public Yamcs.Value.Builder mergeFrom(Yamcs.Value other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Yamcs.Value.Builder>public Yamcs.Value.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Yamcs.Value.Builder>IOExceptionpublic boolean hasType()
required .yamcs.Value.Type type = 1;hasType in interface Yamcs.ValueOrBuilderpublic Yamcs.Value.Type getType()
required .yamcs.Value.Type type = 1;getType in interface Yamcs.ValueOrBuilderpublic Yamcs.Value.Builder setType(Yamcs.Value.Type value)
required .yamcs.Value.Type type = 1;public Yamcs.Value.Builder clearType()
required .yamcs.Value.Type type = 1;public boolean hasFloatValue()
optional float floatValue = 2;hasFloatValue in interface Yamcs.ValueOrBuilderpublic float getFloatValue()
optional float floatValue = 2;getFloatValue in interface Yamcs.ValueOrBuilderpublic Yamcs.Value.Builder setFloatValue(float value)
optional float floatValue = 2;public Yamcs.Value.Builder clearFloatValue()
optional float floatValue = 2;public boolean hasDoubleValue()
optional double doubleValue = 3;hasDoubleValue in interface Yamcs.ValueOrBuilderpublic double getDoubleValue()
optional double doubleValue = 3;getDoubleValue in interface Yamcs.ValueOrBuilderpublic Yamcs.Value.Builder setDoubleValue(double value)
optional double doubleValue = 3;public Yamcs.Value.Builder clearDoubleValue()
optional double doubleValue = 3;public boolean hasSint32Value()
optional sint32 sint32Value = 4;hasSint32Value in interface Yamcs.ValueOrBuilderpublic int getSint32Value()
optional sint32 sint32Value = 4;getSint32Value in interface Yamcs.ValueOrBuilderpublic Yamcs.Value.Builder setSint32Value(int value)
optional sint32 sint32Value = 4;public Yamcs.Value.Builder clearSint32Value()
optional sint32 sint32Value = 4;public boolean hasUint32Value()
optional uint32 uint32Value = 5;hasUint32Value in interface Yamcs.ValueOrBuilderpublic int getUint32Value()
optional uint32 uint32Value = 5;getUint32Value in interface Yamcs.ValueOrBuilderpublic Yamcs.Value.Builder setUint32Value(int value)
optional uint32 uint32Value = 5;public Yamcs.Value.Builder clearUint32Value()
optional uint32 uint32Value = 5;public boolean hasBinaryValue()
optional bytes binaryValue = 6;hasBinaryValue in interface Yamcs.ValueOrBuilderpublic com.google.protobuf.ByteString getBinaryValue()
optional bytes binaryValue = 6;getBinaryValue in interface Yamcs.ValueOrBuilderpublic Yamcs.Value.Builder setBinaryValue(com.google.protobuf.ByteString value)
optional bytes binaryValue = 6;public Yamcs.Value.Builder clearBinaryValue()
optional bytes binaryValue = 6;public boolean hasStringValue()
optional string stringValue = 7;hasStringValue in interface Yamcs.ValueOrBuilderpublic String getStringValue()
optional string stringValue = 7;getStringValue in interface Yamcs.ValueOrBuilderpublic com.google.protobuf.ByteString getStringValueBytes()
optional string stringValue = 7;getStringValueBytes in interface Yamcs.ValueOrBuilderpublic Yamcs.Value.Builder setStringValue(String value)
optional string stringValue = 7;public Yamcs.Value.Builder clearStringValue()
optional string stringValue = 7;public Yamcs.Value.Builder setStringValueBytes(com.google.protobuf.ByteString value)
optional string stringValue = 7;public boolean hasTimestampValue()
optional int64 timestampValue = 8;hasTimestampValue in interface Yamcs.ValueOrBuilderpublic long getTimestampValue()
optional int64 timestampValue = 8;getTimestampValue in interface Yamcs.ValueOrBuilderpublic Yamcs.Value.Builder setTimestampValue(long value)
optional int64 timestampValue = 8;public Yamcs.Value.Builder clearTimestampValue()
optional int64 timestampValue = 8;public boolean hasUint64Value()
optional uint64 uint64Value = 9;hasUint64Value in interface Yamcs.ValueOrBuilderpublic long getUint64Value()
optional uint64 uint64Value = 9;getUint64Value in interface Yamcs.ValueOrBuilderpublic Yamcs.Value.Builder setUint64Value(long value)
optional uint64 uint64Value = 9;public Yamcs.Value.Builder clearUint64Value()
optional uint64 uint64Value = 9;public boolean hasSint64Value()
optional sint64 sint64Value = 10;hasSint64Value in interface Yamcs.ValueOrBuilderpublic long getSint64Value()
optional sint64 sint64Value = 10;getSint64Value in interface Yamcs.ValueOrBuilderpublic Yamcs.Value.Builder setSint64Value(long value)
optional sint64 sint64Value = 10;public Yamcs.Value.Builder clearSint64Value()
optional sint64 sint64Value = 10;public boolean hasBooleanValue()
optional bool booleanValue = 11;hasBooleanValue in interface Yamcs.ValueOrBuilderpublic boolean getBooleanValue()
optional bool booleanValue = 11;getBooleanValue in interface Yamcs.ValueOrBuilderpublic Yamcs.Value.Builder setBooleanValue(boolean value)
optional bool booleanValue = 11;public Yamcs.Value.Builder clearBooleanValue()
optional bool booleanValue = 11;Copyright © 2019 Space Applications Services. All rights reserved.