Package org.yamcs.yarch.protobuf
Class Db.ParameterValue
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.yamcs.yarch.protobuf.Db.ParameterValue
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,Db.ParameterValueOrBuilder
- Enclosing class:
- Db
public static final class Db.ParameterValue extends com.google.protobuf.GeneratedMessageV3 implements Db.ParameterValueOrBuilder
this message has been copied in Yamcs 5 from pvalue.proto and is used when storing parameter values in tables (ParameterValueColumnSerializer.java). if the name of the parameter is the same with the column name, it is not stored. For compatiblity with Yamcs 4, the protobuf field numbers are kept unchanged
Protobuf typeParameterValue
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Db.ParameterValue.Builder
this message has been copied in Yamcs 5 from pvalue.proto and is used when storing parameter values in tables (ParameterValueColumnSerializer.java).-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACQUISITIONSTATUS_FIELD_NUMBER
static int
ACQUISITIONTIME_FIELD_NUMBER
static int
ALARMRANGE_FIELD_NUMBER
static int
ENGVALUE_FIELD_NUMBER
static int
EXPIREMILLIS_FIELD_NUMBER
static int
GENERATIONTIME_FIELD_NUMBER
static int
MONITORINGRESULT_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static com.google.protobuf.Parser<Db.ParameterValue>
PARSER
Deprecated.static int
PROCESSINGSTATUS_FIELD_NUMBER
static int
RANGECONDITION_FIELD_NUMBER
static int
RAWVALUE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
org.yamcs.protobuf.Pvalue.AcquisitionStatus
getAcquisitionStatus()
optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;
long
getAcquisitionTime()
optional int64 acquisitionTime = 4;
org.yamcs.protobuf.Mdb.AlarmRange
getAlarmRange(int index)
Context-dependent rangesint
getAlarmRangeCount()
Context-dependent rangesList<org.yamcs.protobuf.Mdb.AlarmRange>
getAlarmRangeList()
Context-dependent rangesorg.yamcs.protobuf.Mdb.AlarmRangeOrBuilder
getAlarmRangeOrBuilder(int index)
Context-dependent rangesList<? extends org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder>
getAlarmRangeOrBuilderList()
Context-dependent rangesstatic Db.ParameterValue
getDefaultInstance()
Db.ParameterValue
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
org.yamcs.protobuf.Yamcs.Value
getEngValue()
optional .yamcs.protobuf.Value engValue = 3;
org.yamcs.protobuf.Yamcs.ValueOrBuilder
getEngValueOrBuilder()
optional .yamcs.protobuf.Value engValue = 3;
long
getExpireMillis()
How long (in milliseconds) this parameter value is valid Note that there is an option when subscribing to parameters to get updated when the parameter values expire.long
getGenerationTime()
optional int64 generationTime = 5;
org.yamcs.protobuf.Pvalue.MonitoringResult
getMonitoringResult()
optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;
String
getName()
optional string name = 1;
com.google.protobuf.ByteString
getNameBytes()
optional string name = 1;
com.google.protobuf.Parser<Db.ParameterValue>
getParserForType()
boolean
getProcessingStatus()
optional bool processingStatus = 7;
org.yamcs.protobuf.Pvalue.RangeCondition
getRangeCondition()
optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;
org.yamcs.protobuf.Yamcs.Value
getRawValue()
optional .yamcs.protobuf.Value rawValue = 2;
org.yamcs.protobuf.Yamcs.ValueOrBuilder
getRawValueOrBuilder()
optional .yamcs.protobuf.Value rawValue = 2;
int
getSerializedSize()
com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasAcquisitionStatus()
optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;
boolean
hasAcquisitionTime()
optional int64 acquisitionTime = 4;
boolean
hasEngValue()
optional .yamcs.protobuf.Value engValue = 3;
boolean
hasExpireMillis()
How long (in milliseconds) this parameter value is valid Note that there is an option when subscribing to parameters to get updated when the parameter values expire.boolean
hasGenerationTime()
optional int64 generationTime = 5;
int
hashCode()
boolean
hasMonitoringResult()
optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;
boolean
hasName()
optional string name = 1;
boolean
hasProcessingStatus()
optional bool processingStatus = 7;
boolean
hasRangeCondition()
optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;
boolean
hasRawValue()
optional .yamcs.protobuf.Value rawValue = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Db.ParameterValue.Builder
newBuilder()
static Db.ParameterValue.Builder
newBuilder(Db.ParameterValue prototype)
Db.ParameterValue.Builder
newBuilderForType()
protected Db.ParameterValue.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static Db.ParameterValue
parseDelimitedFrom(InputStream input)
static Db.ParameterValue
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Db.ParameterValue
parseFrom(byte[] data)
static Db.ParameterValue
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Db.ParameterValue
parseFrom(com.google.protobuf.ByteString data)
static Db.ParameterValue
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Db.ParameterValue
parseFrom(com.google.protobuf.CodedInputStream input)
static Db.ParameterValue
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Db.ParameterValue
parseFrom(InputStream input)
static Db.ParameterValue
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Db.ParameterValue
parseFrom(ByteBuffer data)
static Db.ParameterValue
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Db.ParameterValue>
parser()
Db.ParameterValue.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RAWVALUE_FIELD_NUMBER
public static final int RAWVALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENGVALUE_FIELD_NUMBER
public static final int ENGVALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACQUISITIONTIME_FIELD_NUMBER
public static final int ACQUISITIONTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GENERATIONTIME_FIELD_NUMBER
public static final int GENERATIONTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACQUISITIONSTATUS_FIELD_NUMBER
public static final int ACQUISITIONSTATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROCESSINGSTATUS_FIELD_NUMBER
public static final int PROCESSINGSTATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MONITORINGRESULT_FIELD_NUMBER
public static final int MONITORINGRESULT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RANGECONDITION_FIELD_NUMBER
public static final int RANGECONDITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALARMRANGE_FIELD_NUMBER
public static final int ALARMRANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPIREMILLIS_FIELD_NUMBER
public static final int EXPIREMILLIS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Db.ParameterValue> PARSER
Deprecated.
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasName
public boolean hasName()
optional string name = 1;
- Specified by:
hasName
in interfaceDb.ParameterValueOrBuilder
-
getName
public String getName()
optional string name = 1;
- Specified by:
getName
in interfaceDb.ParameterValueOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
optional string name = 1;
- Specified by:
getNameBytes
in interfaceDb.ParameterValueOrBuilder
-
hasRawValue
public boolean hasRawValue()
optional .yamcs.protobuf.Value rawValue = 2;
- Specified by:
hasRawValue
in interfaceDb.ParameterValueOrBuilder
-
getRawValue
public org.yamcs.protobuf.Yamcs.Value getRawValue()
optional .yamcs.protobuf.Value rawValue = 2;
- Specified by:
getRawValue
in interfaceDb.ParameterValueOrBuilder
-
getRawValueOrBuilder
public org.yamcs.protobuf.Yamcs.ValueOrBuilder getRawValueOrBuilder()
optional .yamcs.protobuf.Value rawValue = 2;
- Specified by:
getRawValueOrBuilder
in interfaceDb.ParameterValueOrBuilder
-
hasEngValue
public boolean hasEngValue()
optional .yamcs.protobuf.Value engValue = 3;
- Specified by:
hasEngValue
in interfaceDb.ParameterValueOrBuilder
-
getEngValue
public org.yamcs.protobuf.Yamcs.Value getEngValue()
optional .yamcs.protobuf.Value engValue = 3;
- Specified by:
getEngValue
in interfaceDb.ParameterValueOrBuilder
-
getEngValueOrBuilder
public org.yamcs.protobuf.Yamcs.ValueOrBuilder getEngValueOrBuilder()
optional .yamcs.protobuf.Value engValue = 3;
- Specified by:
getEngValueOrBuilder
in interfaceDb.ParameterValueOrBuilder
-
hasAcquisitionTime
public boolean hasAcquisitionTime()
optional int64 acquisitionTime = 4;
- Specified by:
hasAcquisitionTime
in interfaceDb.ParameterValueOrBuilder
-
getAcquisitionTime
public long getAcquisitionTime()
optional int64 acquisitionTime = 4;
- Specified by:
getAcquisitionTime
in interfaceDb.ParameterValueOrBuilder
-
hasGenerationTime
public boolean hasGenerationTime()
optional int64 generationTime = 5;
- Specified by:
hasGenerationTime
in interfaceDb.ParameterValueOrBuilder
-
getGenerationTime
public long getGenerationTime()
optional int64 generationTime = 5;
- Specified by:
getGenerationTime
in interfaceDb.ParameterValueOrBuilder
-
hasAcquisitionStatus
public boolean hasAcquisitionStatus()
optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;
- Specified by:
hasAcquisitionStatus
in interfaceDb.ParameterValueOrBuilder
-
getAcquisitionStatus
public org.yamcs.protobuf.Pvalue.AcquisitionStatus getAcquisitionStatus()
optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;
- Specified by:
getAcquisitionStatus
in interfaceDb.ParameterValueOrBuilder
-
hasProcessingStatus
public boolean hasProcessingStatus()
optional bool processingStatus = 7;
- Specified by:
hasProcessingStatus
in interfaceDb.ParameterValueOrBuilder
-
getProcessingStatus
public boolean getProcessingStatus()
optional bool processingStatus = 7;
- Specified by:
getProcessingStatus
in interfaceDb.ParameterValueOrBuilder
-
hasMonitoringResult
public boolean hasMonitoringResult()
optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;
- Specified by:
hasMonitoringResult
in interfaceDb.ParameterValueOrBuilder
-
getMonitoringResult
public org.yamcs.protobuf.Pvalue.MonitoringResult getMonitoringResult()
optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;
- Specified by:
getMonitoringResult
in interfaceDb.ParameterValueOrBuilder
-
hasRangeCondition
public boolean hasRangeCondition()
optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;
- Specified by:
hasRangeCondition
in interfaceDb.ParameterValueOrBuilder
-
getRangeCondition
public org.yamcs.protobuf.Pvalue.RangeCondition getRangeCondition()
optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;
- Specified by:
getRangeCondition
in interfaceDb.ParameterValueOrBuilder
-
getAlarmRangeList
public List<org.yamcs.protobuf.Mdb.AlarmRange> getAlarmRangeList()
Context-dependent ranges
repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
- Specified by:
getAlarmRangeList
in interfaceDb.ParameterValueOrBuilder
-
getAlarmRangeOrBuilderList
public List<? extends org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder> getAlarmRangeOrBuilderList()
Context-dependent ranges
repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
- Specified by:
getAlarmRangeOrBuilderList
in interfaceDb.ParameterValueOrBuilder
-
getAlarmRangeCount
public int getAlarmRangeCount()
Context-dependent ranges
repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
- Specified by:
getAlarmRangeCount
in interfaceDb.ParameterValueOrBuilder
-
getAlarmRange
public org.yamcs.protobuf.Mdb.AlarmRange getAlarmRange(int index)
Context-dependent ranges
repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
- Specified by:
getAlarmRange
in interfaceDb.ParameterValueOrBuilder
-
getAlarmRangeOrBuilder
public org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getAlarmRangeOrBuilder(int index)
Context-dependent ranges
repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
- Specified by:
getAlarmRangeOrBuilder
in interfaceDb.ParameterValueOrBuilder
-
hasExpireMillis
public boolean hasExpireMillis()
How long (in milliseconds) this parameter value is valid Note that there is an option when subscribing to parameters to get updated when the parameter values expire.
optional int64 expireMillis = 26;
- Specified by:
hasExpireMillis
in interfaceDb.ParameterValueOrBuilder
-
getExpireMillis
public long getExpireMillis()
How long (in milliseconds) this parameter value is valid Note that there is an option when subscribing to parameters to get updated when the parameter values expire.
optional int64 expireMillis = 26;
- Specified by:
getExpireMillis
in interfaceDb.ParameterValueOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Db.ParameterValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.ParameterValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.ParameterValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.ParameterValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.ParameterValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.ParameterValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.ParameterValue parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Db.ParameterValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Db.ParameterValue parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Db.ParameterValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Db.ParameterValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Db.ParameterValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Db.ParameterValue.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Db.ParameterValue.Builder newBuilder()
-
newBuilder
public static Db.ParameterValue.Builder newBuilder(Db.ParameterValue prototype)
-
toBuilder
public Db.ParameterValue.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Db.ParameterValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Db.ParameterValue getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Db.ParameterValue> parser()
-
getParserForType
public com.google.protobuf.Parser<Db.ParameterValue> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Db.ParameterValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-