Package org.yamcs.protobuf
Class GetParameterRangesRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.GetParameterRangesRequest
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,GetParameterRangesRequestOrBuilder
public final class GetParameterRangesRequest
extends com.google.protobuf.GeneratedMessageV3
implements GetParameterRangesRequestOrBuilder
Protobuf type
yamcs.protobuf.archive.GetParameterRangesRequest
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeyamcs.protobuf.archive.GetParameterRangesRequest
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 com.google.protobuf.Parser<GetParameterRangesRequest>
Deprecated.static final int
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
static GetParameterRangesRequest
static final com.google.protobuf.Descriptors.Descriptor
Yamcs instance name.com.google.protobuf.ByteString
Yamcs instance name.long
Time in milliseconds.int
Maximum number of distinct values to be returned.long
Time in milliseconds.long
Time in milliseconds of the minimum range to be returned.getName()
Parameter name.com.google.protobuf.ByteString
Parameter name.boolean
Disable loading of parameters from the parameter cache.com.google.protobuf.Parser<GetParameterRangesRequest>
The name of the processor from which to use the parameter cache.com.google.protobuf.ByteString
The name of the processor from which to use the parameter cache.int
Specifies how to retrieve the parameters.com.google.protobuf.ByteString
Specifies how to retrieve the parameters.com.google.protobuf.Timestamp
getStart()
Filter the lower bound of the parameter's generation time.com.google.protobuf.TimestampOrBuilder
Filter the lower bound of the parameter's generation time.com.google.protobuf.Timestamp
getStop()
Filter the upper bound of the parameter's generation time.com.google.protobuf.TimestampOrBuilder
Filter the upper bound of the parameter's generation time.final com.google.protobuf.UnknownFieldSet
int
hashCode()
boolean
Yamcs instance name.boolean
Time in milliseconds.boolean
Maximum number of distinct values to be returned.boolean
Time in milliseconds.boolean
Time in milliseconds of the minimum range to be returned.boolean
hasName()
Parameter name.boolean
Disable loading of parameters from the parameter cache.boolean
The name of the processor from which to use the parameter cache.boolean
Specifies how to retrieve the parameters.boolean
hasStart()
Filter the lower bound of the parameter's generation time.boolean
hasStop()
Filter the upper bound of the parameter's generation time.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(GetParameterRangesRequest prototype) protected GetParameterRangesRequest.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GetParameterRangesRequest
parseDelimitedFrom
(InputStream input) static GetParameterRangesRequest
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetParameterRangesRequest
parseFrom
(byte[] data) static GetParameterRangesRequest
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetParameterRangesRequest
parseFrom
(com.google.protobuf.ByteString data) static GetParameterRangesRequest
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetParameterRangesRequest
parseFrom
(com.google.protobuf.CodedInputStream input) static GetParameterRangesRequest
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetParameterRangesRequest
parseFrom
(InputStream input) static GetParameterRangesRequest
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetParameterRangesRequest
parseFrom
(ByteBuffer data) static GetParameterRangesRequest
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GetParameterRangesRequest>
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
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER- See Also:
-
STOP_FIELD_NUMBER
public static final int STOP_FIELD_NUMBER- See Also:
-
MINGAP_FIELD_NUMBER
public static final int MINGAP_FIELD_NUMBER- See Also:
-
MAXGAP_FIELD_NUMBER
public static final int MAXGAP_FIELD_NUMBER- See Also:
-
NOREALTIME_FIELD_NUMBER
public static final int NOREALTIME_FIELD_NUMBER- See Also:
-
PROCESSOR_FIELD_NUMBER
public static final int PROCESSOR_FIELD_NUMBER- See Also:
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER- See Also:
-
MINRANGE_FIELD_NUMBER
public static final int MINRANGE_FIELD_NUMBER- See Also:
-
MAXVALUES_FIELD_NUMBER
public static final int MAXVALUES_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
-
hasInstance
public boolean hasInstance()Yamcs instance name.
optional string instance = 1;
- Specified by:
hasInstance
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name.
optional string instance = 1;
- Specified by:
getInstance
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name.
optional string instance = 1;
- Specified by:
getInstanceBytes
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The bytes for instance.
-
hasName
public boolean hasName()Parameter name.
optional string name = 2;
- Specified by:
hasName
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Parameter name.
optional string name = 2;
- Specified by:
getName
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Parameter name.
optional string name = 2;
- Specified by:
getNameBytes
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The bytes for name.
-
hasStart
public boolean hasStart()Filter the lower bound of the parameter's generation time. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp start = 3;
- Specified by:
hasStart
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- Whether the start field is set.
-
getStart
public com.google.protobuf.Timestamp getStart()Filter the lower bound of the parameter's generation time. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp start = 3;
- Specified by:
getStart
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The start.
-
getStartOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()Filter the lower bound of the parameter's generation time. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp start = 3;
- Specified by:
getStartOrBuilder
in interfaceGetParameterRangesRequestOrBuilder
-
hasStop
public boolean hasStop()Filter the upper bound of the parameter's generation time. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp stop = 4;
- Specified by:
hasStop
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- Whether the stop field is set.
-
getStop
public com.google.protobuf.Timestamp getStop()Filter the upper bound of the parameter's generation time. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp stop = 4;
- Specified by:
getStop
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The stop.
-
getStopOrBuilder
public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()Filter the upper bound of the parameter's generation time. Specify a date string in ISO 8601 format.
optional .google.protobuf.Timestamp stop = 4;
- Specified by:
getStopOrBuilder
in interfaceGetParameterRangesRequestOrBuilder
-
hasMinGap
public boolean hasMinGap()Time in milliseconds. Any gap (detected based on parameter expiration) smaller than this will be ignored. However if the parameter changes value, the ranges will still be split.
optional int64 minGap = 5;
- Specified by:
hasMinGap
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- Whether the minGap field is set.
-
getMinGap
public long getMinGap()Time in milliseconds. Any gap (detected based on parameter expiration) smaller than this will be ignored. However if the parameter changes value, the ranges will still be split.
optional int64 minGap = 5;
- Specified by:
getMinGap
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The minGap.
-
hasMaxGap
public boolean hasMaxGap()Time in milliseconds. If the distance between two subsequent values of the parameter is bigger than this value (but smaller than the parameter expiration), then an artificial gap will be constructed. This also applies if there is no parameter expiration defined for the parameter.
optional int64 maxGap = 6;
- Specified by:
hasMaxGap
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- Whether the maxGap field is set.
-
getMaxGap
public long getMaxGap()Time in milliseconds. If the distance between two subsequent values of the parameter is bigger than this value (but smaller than the parameter expiration), then an artificial gap will be constructed. This also applies if there is no parameter expiration defined for the parameter.
optional int64 maxGap = 6;
- Specified by:
getMaxGap
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The maxGap.
-
hasNorealtime
public boolean hasNorealtime()Disable loading of parameters from the parameter cache. Default: ``false``.
optional bool norealtime = 7;
- Specified by:
hasNorealtime
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- Whether the norealtime field is set.
-
getNorealtime
public boolean getNorealtime()Disable loading of parameters from the parameter cache. Default: ``false``.
optional bool norealtime = 7;
- Specified by:
getNorealtime
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The norealtime.
-
hasProcessor
public boolean hasProcessor()The name of the processor from which to use the parameter cache. Default: ``realtime``.
optional string processor = 8;
- Specified by:
hasProcessor
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- Whether the processor field is set.
-
getProcessor
The name of the processor from which to use the parameter cache. Default: ``realtime``.
optional string processor = 8;
- Specified by:
getProcessor
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The processor.
-
getProcessorBytes
public com.google.protobuf.ByteString getProcessorBytes()The name of the processor from which to use the parameter cache. Default: ``realtime``.
optional string processor = 8;
- Specified by:
getProcessorBytes
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The bytes for processor.
-
hasSource
public boolean hasSource()Specifies how to retrieve the parameters. Either ``ParameterArchive`` or ``replay``. If ``replay`` is specified, a replay processor will be created and data will be processed with the active Mission Database. Note that this is much slower than receiving data from the ParameterArchive. Default: ``ParameterArchive``.
optional string source = 9;
- Specified by:
hasSource
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
Specifies how to retrieve the parameters. Either ``ParameterArchive`` or ``replay``. If ``replay`` is specified, a replay processor will be created and data will be processed with the active Mission Database. Note that this is much slower than receiving data from the ParameterArchive. Default: ``ParameterArchive``.
optional string source = 9;
- Specified by:
getSource
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()Specifies how to retrieve the parameters. Either ``ParameterArchive`` or ``replay``. If ``replay`` is specified, a replay processor will be created and data will be processed with the active Mission Database. Note that this is much slower than receiving data from the ParameterArchive. Default: ``ParameterArchive``.
optional string source = 9;
- Specified by:
getSourceBytes
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The bytes for source.
-
hasMinRange
public boolean hasMinRange()Time in milliseconds of the minimum range to be returned. If the data changes more often, a new range will not be created but the data will be added to the old range.
optional int64 minRange = 10;
- Specified by:
hasMinRange
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- Whether the minRange field is set.
-
getMinRange
public long getMinRange()Time in milliseconds of the minimum range to be returned. If the data changes more often, a new range will not be created but the data will be added to the old range.
optional int64 minRange = 10;
- Specified by:
getMinRange
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The minRange.
-
hasMaxValues
public boolean hasMaxValues()Maximum number of distinct values to be returned. The maximum number applies across all ranges and is meant to limit the amount of data that is being retrieved. The retrieved data has a count for each value as well as a total count. The difference between the total count and the sum of the individual counts can be used to compute the number of unsent values.
optional int32 maxValues = 11;
- Specified by:
hasMaxValues
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- Whether the maxValues field is set.
-
getMaxValues
public int getMaxValues()Maximum number of distinct values to be returned. The maximum number applies across all ranges and is meant to limit the amount of data that is being retrieved. The retrieved data has a count for each value as well as a total count. The difference between the total count and the sum of the individual counts can be used to compute the number of unsent values.
optional int32 maxValues = 11;
- Specified by:
getMaxValues
in interfaceGetParameterRangesRequestOrBuilder
- Returns:
- The maxValues.
-
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 GetParameterRangesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetParameterRangesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetParameterRangesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetParameterRangesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetParameterRangesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetParameterRangesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GetParameterRangesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GetParameterRangesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GetParameterRangesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GetParameterRangesRequest 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 GetParameterRangesRequest.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
-