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 unchangedProtobuf type
ParameterValue
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<Db.ParameterValue>
Deprecated.static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;
long
optional int64 acquisitionTime = 4;
getAlarmRange
(int index) Context-dependent rangesint
Context-dependent rangesContext-dependent rangesgetAlarmRangeOrBuilder
(int index) Context-dependent rangesList<? extends Mdb.AlarmRangeOrBuilder>
Context-dependent rangesstatic Db.ParameterValue
static final com.google.protobuf.Descriptors.Descriptor
optional .yamcs.protobuf.Value engValue = 3;
optional .yamcs.protobuf.Value engValue = 3;
long
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
optional int64 generationTime = 5;
optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;
getName()
optional string name = 1;
com.google.protobuf.ByteString
optional string name = 1;
com.google.protobuf.Parser<Db.ParameterValue>
boolean
optional bool processingStatus = 7;
optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;
optional .yamcs.protobuf.Value rawValue = 2;
optional .yamcs.protobuf.Value rawValue = 2;
int
final com.google.protobuf.UnknownFieldSet
boolean
optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;
boolean
optional int64 acquisitionTime = 4;
boolean
optional .yamcs.protobuf.Value engValue = 3;
boolean
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
optional int64 generationTime = 5;
int
hashCode()
boolean
optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;
boolean
hasName()
optional string name = 1;
boolean
optional bool processingStatus = 7;
boolean
optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;
boolean
optional .yamcs.protobuf.Value rawValue = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static Db.ParameterValue.Builder
static Db.ParameterValue.Builder
newBuilder
(Db.ParameterValue prototype) protected Db.ParameterValue.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) 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()
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, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, 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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
RAWVALUE_FIELD_NUMBER
public static final int RAWVALUE_FIELD_NUMBER- See Also:
-
ENGVALUE_FIELD_NUMBER
public static final int ENGVALUE_FIELD_NUMBER- See Also:
-
ACQUISITIONTIME_FIELD_NUMBER
public static final int ACQUISITIONTIME_FIELD_NUMBER- See Also:
-
GENERATIONTIME_FIELD_NUMBER
public static final int GENERATIONTIME_FIELD_NUMBER- See Also:
-
ACQUISITIONSTATUS_FIELD_NUMBER
public static final int ACQUISITIONSTATUS_FIELD_NUMBER- See Also:
-
PROCESSINGSTATUS_FIELD_NUMBER
public static final int PROCESSINGSTATUS_FIELD_NUMBER- See Also:
-
MONITORINGRESULT_FIELD_NUMBER
public static final int MONITORINGRESULT_FIELD_NUMBER- See Also:
-
RANGECONDITION_FIELD_NUMBER
public static final int RANGECONDITION_FIELD_NUMBER- See Also:
-
ALARMRANGE_FIELD_NUMBER
public static final int ALARMRANGE_FIELD_NUMBER- See Also:
-
EXPIREMILLIS_FIELD_NUMBER
public static final int EXPIREMILLIS_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
- Returns:
- Whether the name field is set.
-
getName
optional string name = 1;
- Specified by:
getName
in interfaceDb.ParameterValueOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 1;
- Specified by:
getNameBytes
in interfaceDb.ParameterValueOrBuilder
- Returns:
- The bytes for name.
-
hasRawValue
public boolean hasRawValue()optional .yamcs.protobuf.Value rawValue = 2;
- Specified by:
hasRawValue
in interfaceDb.ParameterValueOrBuilder
- Returns:
- Whether the rawValue field is set.
-
getRawValue
optional .yamcs.protobuf.Value rawValue = 2;
- Specified by:
getRawValue
in interfaceDb.ParameterValueOrBuilder
- Returns:
- The rawValue.
-
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
- Returns:
- Whether the engValue field is set.
-
getEngValue
optional .yamcs.protobuf.Value engValue = 3;
- Specified by:
getEngValue
in interfaceDb.ParameterValueOrBuilder
- Returns:
- The engValue.
-
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
- Returns:
- Whether the acquisitionTime field is set.
-
getAcquisitionTime
public long getAcquisitionTime()optional int64 acquisitionTime = 4;
- Specified by:
getAcquisitionTime
in interfaceDb.ParameterValueOrBuilder
- Returns:
- The acquisitionTime.
-
hasGenerationTime
public boolean hasGenerationTime()optional int64 generationTime = 5;
- Specified by:
hasGenerationTime
in interfaceDb.ParameterValueOrBuilder
- Returns:
- Whether the generationTime field is set.
-
getGenerationTime
public long getGenerationTime()optional int64 generationTime = 5;
- Specified by:
getGenerationTime
in interfaceDb.ParameterValueOrBuilder
- Returns:
- The generationTime.
-
hasAcquisitionStatus
public boolean hasAcquisitionStatus()optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;
- Specified by:
hasAcquisitionStatus
in interfaceDb.ParameterValueOrBuilder
- Returns:
- Whether the acquisitionStatus field is set.
-
getAcquisitionStatus
optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6;
- Specified by:
getAcquisitionStatus
in interfaceDb.ParameterValueOrBuilder
- Returns:
- The acquisitionStatus.
-
hasProcessingStatus
public boolean hasProcessingStatus()optional bool processingStatus = 7;
- Specified by:
hasProcessingStatus
in interfaceDb.ParameterValueOrBuilder
- Returns:
- Whether the processingStatus field is set.
-
getProcessingStatus
public boolean getProcessingStatus()optional bool processingStatus = 7;
- Specified by:
getProcessingStatus
in interfaceDb.ParameterValueOrBuilder
- Returns:
- The processingStatus.
-
hasMonitoringResult
public boolean hasMonitoringResult()optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;
- Specified by:
hasMonitoringResult
in interfaceDb.ParameterValueOrBuilder
- Returns:
- Whether the monitoringResult field is set.
-
getMonitoringResult
optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8;
- Specified by:
getMonitoringResult
in interfaceDb.ParameterValueOrBuilder
- Returns:
- The monitoringResult.
-
hasRangeCondition
public boolean hasRangeCondition()optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;
- Specified by:
hasRangeCondition
in interfaceDb.ParameterValueOrBuilder
- Returns:
- Whether the rangeCondition field is set.
-
getRangeCondition
optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9;
- Specified by:
getRangeCondition
in interfaceDb.ParameterValueOrBuilder
- Returns:
- The rangeCondition.
-
getAlarmRangeList
Context-dependent ranges
repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
- Specified by:
getAlarmRangeList
in interfaceDb.ParameterValueOrBuilder
-
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
Context-dependent ranges
repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25;
- Specified by:
getAlarmRange
in interfaceDb.ParameterValueOrBuilder
-
getAlarmRangeOrBuilder
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
- Returns:
- Whether the expireMillis field is set.
-
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
- Returns:
- The expireMillis.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- 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
- 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
- Throws:
IOException
-
parseFrom
public static Db.ParameterValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
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
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-