Package org.yamcs.protobuf
Class Pvalue.Ranges.Range
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.Pvalue.Ranges.Range
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,Pvalue.Ranges.RangeOrBuilder
- Enclosing class:
- Pvalue.Ranges
public static final class Pvalue.Ranges.Range
extends com.google.protobuf.GeneratedMessageV3
implements Pvalue.Ranges.RangeOrBuilder
Protobuf type
yamcs.protobuf.pvalue.Ranges.Range
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeyamcs.protobuf.pvalue.Ranges.Range
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 com.google.protobuf.Parser<Pvalue.Ranges.Range>
Deprecated.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
int
getCount()
Number of parameter values received in the interval.int
getCounts
(int index) The counts correspond one to one to the engValuesint
The counts correspond one to one to the engValuesThe counts correspond one to one to the engValuesstatic Pvalue.Ranges.Range
static final com.google.protobuf.Descriptors.Descriptor
getEngValues
(int index) Since Yamcs 5.4.1 there is a new parameter minRange in the GetParameterRangesRequest which allows specifying the minimum length of the range returned.int
Since Yamcs 5.4.1 there is a new parameter minRange in the GetParameterRangesRequest which allows specifying the minimum length of the range returned.Since Yamcs 5.4.1 there is a new parameter minRange in the GetParameterRangesRequest which allows specifying the minimum length of the range returned.getEngValuesOrBuilder
(int index) Since Yamcs 5.4.1 there is a new parameter minRange in the GetParameterRangesRequest which allows specifying the minimum length of the range returned.List<? extends Yamcs.ValueOrBuilder>
Since Yamcs 5.4.1 there is a new parameter minRange in the GetParameterRangesRequest which allows specifying the minimum length of the range returned.com.google.protobuf.Parser<Pvalue.Ranges.Range>
int
com.google.protobuf.Timestamp
getStart()
Generation time of a parameter value.com.google.protobuf.TimestampOrBuilder
Generation time of a parameter value.com.google.protobuf.Timestamp
getStop()
If the value changes, ``stop`` is the generation time of the new value.com.google.protobuf.TimestampOrBuilder
If the value changes, ``stop`` is the generation time of the new value.final com.google.protobuf.UnknownFieldSet
boolean
hasCount()
Number of parameter values received in the interval.int
hashCode()
boolean
hasStart()
Generation time of a parameter value.boolean
hasStop()
If the value changes, ``stop`` is the generation time of the new value.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static Pvalue.Ranges.Range.Builder
static Pvalue.Ranges.Range.Builder
newBuilder
(Pvalue.Ranges.Range prototype) protected Pvalue.Ranges.Range.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Pvalue.Ranges.Range
parseDelimitedFrom
(InputStream input) static Pvalue.Ranges.Range
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Pvalue.Ranges.Range
parseFrom
(byte[] data) static Pvalue.Ranges.Range
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Pvalue.Ranges.Range
parseFrom
(com.google.protobuf.ByteString data) static Pvalue.Ranges.Range
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Pvalue.Ranges.Range
parseFrom
(com.google.protobuf.CodedInputStream input) static Pvalue.Ranges.Range
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Pvalue.Ranges.Range
parseFrom
(InputStream input) static Pvalue.Ranges.Range
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Pvalue.Ranges.Range
parseFrom
(ByteBuffer data) static Pvalue.Ranges.Range
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Pvalue.Ranges.Range>
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
-
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER- See Also:
-
STOP_FIELD_NUMBER
public static final int STOP_FIELD_NUMBER- See Also:
-
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER- See Also:
-
ENGVALUES_FIELD_NUMBER
public static final int ENGVALUES_FIELD_NUMBER- See Also:
-
COUNTS_FIELD_NUMBER
public static final int COUNTS_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
-
hasStart
public boolean hasStart()Generation time of a parameter value.
optional .google.protobuf.Timestamp start = 7;
- Specified by:
hasStart
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- Whether the start field is set.
-
getStart
public com.google.protobuf.Timestamp getStart()Generation time of a parameter value.
optional .google.protobuf.Timestamp start = 7;
- Specified by:
getStart
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- The start.
-
getStartOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()Generation time of a parameter value.
optional .google.protobuf.Timestamp start = 7;
- Specified by:
getStartOrBuilder
in interfacePvalue.Ranges.RangeOrBuilder
-
hasStop
public boolean hasStop()If the value changes, ``stop`` is the generation time of the new value. If the parameter expires or the ``maxGap`` has been set, ``stop`` is the generation time of the last value plus the expiration time or the ``maxGap``.
optional .google.protobuf.Timestamp stop = 8;
- Specified by:
hasStop
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- Whether the stop field is set.
-
getStop
public com.google.protobuf.Timestamp getStop()If the value changes, ``stop`` is the generation time of the new value. If the parameter expires or the ``maxGap`` has been set, ``stop`` is the generation time of the last value plus the expiration time or the ``maxGap``.
optional .google.protobuf.Timestamp stop = 8;
- Specified by:
getStop
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- The stop.
-
getStopOrBuilder
public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()If the value changes, ``stop`` is the generation time of the new value. If the parameter expires or the ``maxGap`` has been set, ``stop`` is the generation time of the last value plus the expiration time or the ``maxGap``.
optional .google.protobuf.Timestamp stop = 8;
- Specified by:
getStopOrBuilder
in interfacePvalue.Ranges.RangeOrBuilder
-
hasCount
public boolean hasCount()Number of parameter values received in the interval. This is the total count of parameters in the interval. If the count does not match the sum(counts), it means that not all the values have been sent
optional int32 count = 4;
- Specified by:
hasCount
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- Whether the count field is set.
-
getCount
public int getCount()Number of parameter values received in the interval. This is the total count of parameters in the interval. If the count does not match the sum(counts), it means that not all the values have been sent
optional int32 count = 4;
- Specified by:
getCount
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- The count.
-
getEngValuesList
Since Yamcs 5.4.1 there is a new parameter minRange in the GetParameterRangesRequest which allows specifying the minimum length of the range returned. Practically we guarantee that stop-start >= minRange (mind the leap seconds!). If the minRange parameter is set, the returning ranges may include multiple values. These are given by the engValues and counts below. Since Yamcs 5.4.2 there is a new parameter maxValues which allows to limit the number of distinct values returned across all the ranges. In order to not return ranges containing no value, each range will have at least one value even if that will cause the total number of range values returned to exceed the maxValues parameter The counts correspond one to one to the engValues, the two arrays will always have the same length.
repeated .yamcs.protobuf.Value engValues = 5;
- Specified by:
getEngValuesList
in interfacePvalue.Ranges.RangeOrBuilder
-
getEngValuesOrBuilderList
Since Yamcs 5.4.1 there is a new parameter minRange in the GetParameterRangesRequest which allows specifying the minimum length of the range returned. Practically we guarantee that stop-start >= minRange (mind the leap seconds!). If the minRange parameter is set, the returning ranges may include multiple values. These are given by the engValues and counts below. Since Yamcs 5.4.2 there is a new parameter maxValues which allows to limit the number of distinct values returned across all the ranges. In order to not return ranges containing no value, each range will have at least one value even if that will cause the total number of range values returned to exceed the maxValues parameter The counts correspond one to one to the engValues, the two arrays will always have the same length.
repeated .yamcs.protobuf.Value engValues = 5;
- Specified by:
getEngValuesOrBuilderList
in interfacePvalue.Ranges.RangeOrBuilder
-
getEngValuesCount
public int getEngValuesCount()Since Yamcs 5.4.1 there is a new parameter minRange in the GetParameterRangesRequest which allows specifying the minimum length of the range returned. Practically we guarantee that stop-start >= minRange (mind the leap seconds!). If the minRange parameter is set, the returning ranges may include multiple values. These are given by the engValues and counts below. Since Yamcs 5.4.2 there is a new parameter maxValues which allows to limit the number of distinct values returned across all the ranges. In order to not return ranges containing no value, each range will have at least one value even if that will cause the total number of range values returned to exceed the maxValues parameter The counts correspond one to one to the engValues, the two arrays will always have the same length.
repeated .yamcs.protobuf.Value engValues = 5;
- Specified by:
getEngValuesCount
in interfacePvalue.Ranges.RangeOrBuilder
-
getEngValues
Since Yamcs 5.4.1 there is a new parameter minRange in the GetParameterRangesRequest which allows specifying the minimum length of the range returned. Practically we guarantee that stop-start >= minRange (mind the leap seconds!). If the minRange parameter is set, the returning ranges may include multiple values. These are given by the engValues and counts below. Since Yamcs 5.4.2 there is a new parameter maxValues which allows to limit the number of distinct values returned across all the ranges. In order to not return ranges containing no value, each range will have at least one value even if that will cause the total number of range values returned to exceed the maxValues parameter The counts correspond one to one to the engValues, the two arrays will always have the same length.
repeated .yamcs.protobuf.Value engValues = 5;
- Specified by:
getEngValues
in interfacePvalue.Ranges.RangeOrBuilder
-
getEngValuesOrBuilder
Since Yamcs 5.4.1 there is a new parameter minRange in the GetParameterRangesRequest which allows specifying the minimum length of the range returned. Practically we guarantee that stop-start >= minRange (mind the leap seconds!). If the minRange parameter is set, the returning ranges may include multiple values. These are given by the engValues and counts below. Since Yamcs 5.4.2 there is a new parameter maxValues which allows to limit the number of distinct values returned across all the ranges. In order to not return ranges containing no value, each range will have at least one value even if that will cause the total number of range values returned to exceed the maxValues parameter The counts correspond one to one to the engValues, the two arrays will always have the same length.
repeated .yamcs.protobuf.Value engValues = 5;
- Specified by:
getEngValuesOrBuilder
in interfacePvalue.Ranges.RangeOrBuilder
-
getCountsList
The counts correspond one to one to the engValues
repeated int32 counts = 6;
- Specified by:
getCountsList
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- A list containing the counts.
-
getCountsCount
public int getCountsCount()The counts correspond one to one to the engValues
repeated int32 counts = 6;
- Specified by:
getCountsCount
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- The count of counts.
-
getCounts
public int getCounts(int index) The counts correspond one to one to the engValues
repeated int32 counts = 6;
- Specified by:
getCounts
in interfacePvalue.Ranges.RangeOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The counts at the given index.
-
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 Pvalue.Ranges.Range parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pvalue.Ranges.Range parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pvalue.Ranges.Range parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pvalue.Ranges.Range parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pvalue.Ranges.Range parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pvalue.Ranges.Range parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Pvalue.Ranges.Range parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Pvalue.Ranges.Range parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Pvalue.Ranges.Range parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Pvalue.Ranges.Range 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 Pvalue.Ranges.Range.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
-