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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type yamcs.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

    Fields
    Modifier and Type
    Field
    Description
    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
     
    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 Type
    Method
    Description
    boolean
     
    int
    Number of parameter values received in the interval.
    int
    getCounts(int index)
    The counts correspond one to one to the engValues
    int
    The counts correspond one to one to the engValues
    The counts correspond one to one to the engValues
     
     
    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.
    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.
    com.google.protobuf.Parser<Pvalue.Ranges.Range>
     
    int
     
    com.google.protobuf.Timestamp
    Generation time of a parameter value.
    com.google.protobuf.TimestampOrBuilder
    Generation time of a parameter value.
    com.google.protobuf.Timestamp
    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.
    Deprecated. 
    com.google.protobuf.ByteString
    Deprecated. 
    Deprecated. 
    com.google.protobuf.ByteString
    Deprecated. 
    final com.google.protobuf.UnknownFieldSet
     
    boolean
    Number of parameter values received in the interval.
    int
     
    boolean
    Generation time of a parameter value.
    boolean
    If the value changes, ``stop`` is the generation time of the new value.
    boolean
    Deprecated. 
    boolean
    Deprecated. 
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Pvalue.Ranges.Range>
     
     
    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

  • 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
    • hasStart

      public boolean hasStart()
       Generation time of a parameter value.
       
      optional .google.protobuf.Timestamp start = 7;
      Specified by:
      hasStart in interface Pvalue.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 interface Pvalue.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 interface Pvalue.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 interface Pvalue.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 interface Pvalue.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 interface Pvalue.Ranges.RangeOrBuilder
    • hasTimeStart

      @Deprecated public boolean hasTimeStart()
      Deprecated.
       Deprecated. Use ``start`` instead.
       
      optional string timeStart = 1 [deprecated = true];
      Specified by:
      hasTimeStart in interface Pvalue.Ranges.RangeOrBuilder
      Returns:
      Whether the timeStart field is set.
    • getTimeStart

      @Deprecated public String getTimeStart()
      Deprecated.
       Deprecated. Use ``start`` instead.
       
      optional string timeStart = 1 [deprecated = true];
      Specified by:
      getTimeStart in interface Pvalue.Ranges.RangeOrBuilder
      Returns:
      The timeStart.
    • getTimeStartBytes

      @Deprecated public com.google.protobuf.ByteString getTimeStartBytes()
      Deprecated.
       Deprecated. Use ``start`` instead.
       
      optional string timeStart = 1 [deprecated = true];
      Specified by:
      getTimeStartBytes in interface Pvalue.Ranges.RangeOrBuilder
      Returns:
      The bytes for timeStart.
    • hasTimeStop

      @Deprecated public boolean hasTimeStop()
      Deprecated.
       Deprecated. Use ``stop`` instead.
       
      optional string timeStop = 2 [deprecated = true];
      Specified by:
      hasTimeStop in interface Pvalue.Ranges.RangeOrBuilder
      Returns:
      Whether the timeStop field is set.
    • getTimeStop

      @Deprecated public String getTimeStop()
      Deprecated.
       Deprecated. Use ``stop`` instead.
       
      optional string timeStop = 2 [deprecated = true];
      Specified by:
      getTimeStop in interface Pvalue.Ranges.RangeOrBuilder
      Returns:
      The timeStop.
    • getTimeStopBytes

      @Deprecated public com.google.protobuf.ByteString getTimeStopBytes()
      Deprecated.
       Deprecated. Use ``stop`` instead.
       
      optional string timeStop = 2 [deprecated = true];
      Specified by:
      getTimeStopBytes in interface Pvalue.Ranges.RangeOrBuilder
      Returns:
      The bytes for timeStop.
    • 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 interface Pvalue.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 interface Pvalue.Ranges.RangeOrBuilder
      Returns:
      The count.
    • getEngValuesList

      public List<Yamcs.Value> 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 interface Pvalue.Ranges.RangeOrBuilder
    • getEngValuesOrBuilderList

      public List<? extends Yamcs.ValueOrBuilder> 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 interface Pvalue.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 interface Pvalue.Ranges.RangeOrBuilder
    • getEngValues

      public Yamcs.Value 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.
       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 interface Pvalue.Ranges.RangeOrBuilder
    • getEngValuesOrBuilder

      public Yamcs.ValueOrBuilder 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.
       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 interface Pvalue.Ranges.RangeOrBuilder
    • getCountsList

      public List<Integer> getCountsList()
       The counts correspond one to one to the engValues
       
      repeated int32 counts = 6;
      Specified by:
      getCountsList in interface Pvalue.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 interface Pvalue.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 interface Pvalue.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 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 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

      public static Pvalue.Ranges.Range parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Pvalue.Ranges.Range parseDelimitedFrom(InputStream input) throws IOException
      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

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

      public static Pvalue.Ranges.Range.Builder newBuilder()
    • newBuilder

      public static Pvalue.Ranges.Range.Builder newBuilder(Pvalue.Ranges.Range prototype)
    • toBuilder

      public Pvalue.Ranges.Range.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static Pvalue.Ranges.Range getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Pvalue.Ranges.Range> parser()
    • getParserForType

      public com.google.protobuf.Parser<Pvalue.Ranges.Range> 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 Pvalue.Ranges.Range getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder