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:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.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 class com.google.protobuf.GeneratedMessageV3
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name.
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface GetParameterRangesRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name.
       
      optional string instance = 1;
      Specified by:
      getInstance in interface GetParameterRangesRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name.
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface GetParameterRangesRequestOrBuilder
      Returns:
      The bytes for instance.
    • hasName

      public boolean hasName()
       Parameter name.
       
      optional string name = 2;
      Specified by:
      hasName in interface GetParameterRangesRequestOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Parameter name.
       
      optional string name = 2;
      Specified by:
      getName in interface GetParameterRangesRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Parameter name.
       
      optional string name = 2;
      Specified by:
      getNameBytes in interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
    • 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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
    • 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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      Returns:
      Whether the processor field is set.
    • getProcessor

      public String getProcessor()
       The name of the processor from which to use the parameter cache. Default: ``realtime``.
       
      optional string processor = 8;
      Specified by:
      getProcessor in interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String 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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      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 interface GetParameterRangesRequestOrBuilder
      Returns:
      The maxValues.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static GetParameterRangesRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetParameterRangesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetParameterRangesRequest parseDelimitedFrom(InputStream input) throws IOException
      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

      public GetParameterRangesRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GetParameterRangesRequest.Builder newBuilder()
    • newBuilder

      public static GetParameterRangesRequest.Builder newBuilder(GetParameterRangesRequest prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GetParameterRangesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static GetParameterRangesRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GetParameterRangesRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<GetParameterRangesRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public GetParameterRangesRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder