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
Nested ClassesModifier 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<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, 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
FieldsModifier and TypeFieldDescriptionstatic final int
static 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()
Total number of parameter values in this range.int
getCounts
(int index) Array of same length as ``engValues``, with respective value counts within this range.int
Array of same length as ``engValues``, with respective value counts within this range.Array of same length as ``engValues``, with respective value counts within this range.static Pvalue.Ranges.Range
static final com.google.protobuf.Descriptors.Descriptor
getEngValues
(int index) The ``minRange`` option on the request allows to specify the minimum length of returned ranges.int
The ``minRange`` option on the request allows to specify the minimum length of returned ranges.The ``minRange`` option on the request allows to specify the minimum length of returned ranges.getEngValuesOrBuilder
(int index) The ``minRange`` option on the request allows to specify the minimum length of returned ranges.List<? extends Yamcs.ValueOrBuilder>
The ``minRange`` option on the request allows to specify the minimum length of returned ranges.int
Values in this range that do not match one of the returned ``engValues``.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()
Total number of parameter values in this range.int
hashCode()
boolean
Values in this range that do not match one of the returned ``engValues``.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, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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:
-
OTHERCOUNT_FIELD_NUMBER
public static final int OTHERCOUNT_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.
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.
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.
optional .google.protobuf.Timestamp stop = 8;
- Specified by:
getStopOrBuilder
in interfacePvalue.Ranges.RangeOrBuilder
-
hasCount
public boolean hasCount()Total number of parameter values in this range. This is the sum of the ``counts`` array, and ``otherCount``.
optional int32 count = 4;
- Specified by:
hasCount
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- Whether the count field is set.
-
getCount
public int getCount()Total number of parameter values in this range. This is the sum of the ``counts`` array, and ``otherCount``.
optional int32 count = 4;
- Specified by:
getCount
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- The count.
-
getEngValuesList
The ``minRange`` option on the request allows to specify the minimum length of returned ranges. Practically we guarantee that stop-start >= minRange (mind the leap seconds!). If ``minRange`` was set, the returned ranges may include multiple values. These are given by ``engValues`` and ``counts``. The ``maxValues`` option on the request allows to limit the number of distinct values returned across all the ranges. The counts correspond one to one to the engValues, the two arrays have the same length.
repeated .yamcs.protobuf.Value engValues = 5;
- Specified by:
getEngValuesList
in interfacePvalue.Ranges.RangeOrBuilder
-
getEngValuesOrBuilderList
The ``minRange`` option on the request allows to specify the minimum length of returned ranges. Practically we guarantee that stop-start >= minRange (mind the leap seconds!). If ``minRange`` was set, the returned ranges may include multiple values. These are given by ``engValues`` and ``counts``. The ``maxValues`` option on the request allows to limit the number of distinct values returned across all the ranges. The counts correspond one to one to the engValues, the two arrays have the same length.
repeated .yamcs.protobuf.Value engValues = 5;
- Specified by:
getEngValuesOrBuilderList
in interfacePvalue.Ranges.RangeOrBuilder
-
getEngValuesCount
public int getEngValuesCount()The ``minRange`` option on the request allows to specify the minimum length of returned ranges. Practically we guarantee that stop-start >= minRange (mind the leap seconds!). If ``minRange`` was set, the returned ranges may include multiple values. These are given by ``engValues`` and ``counts``. The ``maxValues`` option on the request allows to limit the number of distinct values returned across all the ranges. The counts correspond one to one to the engValues, the two arrays have the same length.
repeated .yamcs.protobuf.Value engValues = 5;
- Specified by:
getEngValuesCount
in interfacePvalue.Ranges.RangeOrBuilder
-
getEngValues
The ``minRange`` option on the request allows to specify the minimum length of returned ranges. Practically we guarantee that stop-start >= minRange (mind the leap seconds!). If ``minRange`` was set, the returned ranges may include multiple values. These are given by ``engValues`` and ``counts``. The ``maxValues`` option on the request allows to limit the number of distinct values returned across all the ranges. The counts correspond one to one to the engValues, the two arrays have the same length.
repeated .yamcs.protobuf.Value engValues = 5;
- Specified by:
getEngValues
in interfacePvalue.Ranges.RangeOrBuilder
-
getEngValuesOrBuilder
The ``minRange`` option on the request allows to specify the minimum length of returned ranges. Practically we guarantee that stop-start >= minRange (mind the leap seconds!). If ``minRange`` was set, the returned ranges may include multiple values. These are given by ``engValues`` and ``counts``. The ``maxValues`` option on the request allows to limit the number of distinct values returned across all the ranges. The counts correspond one to one to the engValues, the two arrays have the same length.
repeated .yamcs.protobuf.Value engValues = 5;
- Specified by:
getEngValuesOrBuilder
in interfacePvalue.Ranges.RangeOrBuilder
-
getCountsList
Array of same length as ``engValues``, with respective value counts within this range.
repeated int32 counts = 6;
- Specified by:
getCountsList
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- A list containing the counts.
-
getCountsCount
public int getCountsCount()Array of same length as ``engValues``, with respective value counts within this range.
repeated int32 counts = 6;
- Specified by:
getCountsCount
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- The count of counts.
-
getCounts
public int getCounts(int index) Array of same length as ``engValues``, with respective value counts within this range.
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.
-
hasOtherCount
public boolean hasOtherCount()Values in this range that do not match one of the returned ``engValues``.
optional int32 otherCount = 9;
- Specified by:
hasOtherCount
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- Whether the otherCount field is set.
-
getOtherCount
public int getOtherCount()Values in this range that do not match one of the returned ``engValues``.
optional int32 otherCount = 9;
- Specified by:
getOtherCount
in interfacePvalue.Ranges.RangeOrBuilder
- Returns:
- The otherCount.
-
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
-