All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yamcs.protobuf.GetParameterRangesRequest Maven / Gradle / Ivy

There is a newer version: 5.10.9
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: yamcs/protobuf/archive/parameter_archive_service.proto

package org.yamcs.protobuf;

/**
 * Protobuf type {@code yamcs.protobuf.archive.GetParameterRangesRequest}
 */
public final class GetParameterRangesRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:yamcs.protobuf.archive.GetParameterRangesRequest)
    GetParameterRangesRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GetParameterRangesRequest.newBuilder() to construct.
  private GetParameterRangesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private GetParameterRangesRequest() {
    instance_ = "";
    name_ = "";
    processor_ = "";
    source_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new GetParameterRangesRequest();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private GetParameterRangesRequest(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000001;
            instance_ = bs;
            break;
          }
          case 18: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000002;
            name_ = bs;
            break;
          }
          case 26: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (((bitField0_ & 0x00000004) != 0)) {
              subBuilder = start_.toBuilder();
            }
            start_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(start_);
              start_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000004;
            break;
          }
          case 34: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (((bitField0_ & 0x00000008) != 0)) {
              subBuilder = stop_.toBuilder();
            }
            stop_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(stop_);
              stop_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000008;
            break;
          }
          case 40: {
            bitField0_ |= 0x00000010;
            minGap_ = input.readInt64();
            break;
          }
          case 48: {
            bitField0_ |= 0x00000020;
            maxGap_ = input.readInt64();
            break;
          }
          case 56: {
            bitField0_ |= 0x00000040;
            norealtime_ = input.readBool();
            break;
          }
          case 66: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000080;
            processor_ = bs;
            break;
          }
          case 74: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000100;
            source_ = bs;
            break;
          }
          case 80: {
            bitField0_ |= 0x00000200;
            minRange_ = input.readInt64();
            break;
          }
          case 88: {
            bitField0_ |= 0x00000400;
            maxValues_ = input.readInt32();
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_GetParameterRangesRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_GetParameterRangesRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            org.yamcs.protobuf.GetParameterRangesRequest.class, org.yamcs.protobuf.GetParameterRangesRequest.Builder.class);
  }

  private int bitField0_;
  public static final int INSTANCE_FIELD_NUMBER = 1;
  private volatile java.lang.Object instance_;
  /**
   * 
   * Yamcs instance name.
   * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Yamcs instance name.
   * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
   * Yamcs instance name.
   * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
   * Parameter name.
   * 
* * optional string name = 2; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Parameter name.
   * 
* * optional string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
   * Parameter name.
   * 
* * optional string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int START_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp start_; /** *
   * Filter the lower bound of the parameter's generation time. Specify a date
   * string in ISO 8601 format.
   * 
* * optional .google.protobuf.Timestamp start = 3; * @return Whether the start field is set. */ @java.lang.Override public boolean hasStart() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * Filter the lower bound of the parameter's generation time. Specify a date
   * string in ISO 8601 format.
   * 
* * optional .google.protobuf.Timestamp start = 3; * @return The start. */ @java.lang.Override public com.google.protobuf.Timestamp getStart() { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } /** *
   * Filter the lower bound of the parameter's generation time. Specify a date
   * string in ISO 8601 format.
   * 
* * optional .google.protobuf.Timestamp start = 3; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } public static final int STOP_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp stop_; /** *
   * Filter the upper bound of the parameter's generation time. Specify a date
   * string in ISO 8601 format.
   * 
* * optional .google.protobuf.Timestamp stop = 4; * @return Whether the stop field is set. */ @java.lang.Override public boolean hasStop() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * Filter the upper bound of the parameter's generation time. Specify a date
   * string in ISO 8601 format.
   * 
* * optional .google.protobuf.Timestamp stop = 4; * @return The stop. */ @java.lang.Override public com.google.protobuf.Timestamp getStop() { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } /** *
   * Filter the upper bound of the parameter's generation time. Specify a date
   * string in ISO 8601 format.
   * 
* * optional .google.protobuf.Timestamp stop = 4; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } public static final int MINGAP_FIELD_NUMBER = 5; private long minGap_; /** *
   * 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; * @return Whether the minGap field is set. */ @java.lang.Override public boolean hasMinGap() { return ((bitField0_ & 0x00000010) != 0); } /** *
   * 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; * @return The minGap. */ @java.lang.Override public long getMinGap() { return minGap_; } public static final int MAXGAP_FIELD_NUMBER = 6; private long maxGap_; /** *
   * 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; * @return Whether the maxGap field is set. */ @java.lang.Override public boolean hasMaxGap() { return ((bitField0_ & 0x00000020) != 0); } /** *
   * 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; * @return The maxGap. */ @java.lang.Override public long getMaxGap() { return maxGap_; } public static final int NOREALTIME_FIELD_NUMBER = 7; private boolean norealtime_; /** *
   * Disable loading of parameters from the parameter cache. Default: ``false``.
   * 
* * optional bool norealtime = 7; * @return Whether the norealtime field is set. */ @java.lang.Override public boolean hasNorealtime() { return ((bitField0_ & 0x00000040) != 0); } /** *
   * Disable loading of parameters from the parameter cache. Default: ``false``.
   * 
* * optional bool norealtime = 7; * @return The norealtime. */ @java.lang.Override public boolean getNorealtime() { return norealtime_; } public static final int PROCESSOR_FIELD_NUMBER = 8; private volatile java.lang.Object processor_; /** *
   * The name of the processor from which to use the parameter cache. Default: ``realtime``.
   * 
* * optional string processor = 8; * @return Whether the processor field is set. */ @java.lang.Override public boolean hasProcessor() { return ((bitField0_ & 0x00000080) != 0); } /** *
   * The name of the processor from which to use the parameter cache. Default: ``realtime``.
   * 
* * optional string processor = 8; * @return The processor. */ @java.lang.Override public java.lang.String getProcessor() { java.lang.Object ref = processor_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { processor_ = s; } return s; } } /** *
   * The name of the processor from which to use the parameter cache. Default: ``realtime``.
   * 
* * optional string processor = 8; * @return The bytes for processor. */ @java.lang.Override public com.google.protobuf.ByteString getProcessorBytes() { java.lang.Object ref = processor_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); processor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCE_FIELD_NUMBER = 9; private volatile java.lang.Object source_; /** *
   * 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; * @return Whether the source field is set. */ @java.lang.Override public boolean hasSource() { return ((bitField0_ & 0x00000100) != 0); } /** *
   * 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; * @return The source. */ @java.lang.Override public java.lang.String getSource() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { source_ = s; } return s; } } /** *
   * 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; * @return The bytes for source. */ @java.lang.Override public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); source_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MINRANGE_FIELD_NUMBER = 10; private long minRange_; /** *
   * 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; * @return Whether the minRange field is set. */ @java.lang.Override public boolean hasMinRange() { return ((bitField0_ & 0x00000200) != 0); } /** *
   * 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; * @return The minRange. */ @java.lang.Override public long getMinRange() { return minRange_; } public static final int MAXVALUES_FIELD_NUMBER = 11; private int maxValues_; /** *
   * 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; * @return Whether the maxValues field is set. */ @java.lang.Override public boolean hasMaxValues() { return ((bitField0_ & 0x00000400) != 0); } /** *
   * 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; * @return The maxValues. */ @java.lang.Override public int getMaxValues() { return maxValues_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getStart()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getStop()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt64(5, minGap_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt64(6, maxGap_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(7, norealtime_); } if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, processor_); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, source_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeInt64(10, minRange_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeInt32(11, maxValues_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getStart()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getStop()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, minGap_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, maxGap_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, norealtime_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, processor_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, source_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(10, minRange_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(11, maxValues_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.yamcs.protobuf.GetParameterRangesRequest)) { return super.equals(obj); } org.yamcs.protobuf.GetParameterRangesRequest other = (org.yamcs.protobuf.GetParameterRangesRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasStart() != other.hasStart()) return false; if (hasStart()) { if (!getStart() .equals(other.getStart())) return false; } if (hasStop() != other.hasStop()) return false; if (hasStop()) { if (!getStop() .equals(other.getStop())) return false; } if (hasMinGap() != other.hasMinGap()) return false; if (hasMinGap()) { if (getMinGap() != other.getMinGap()) return false; } if (hasMaxGap() != other.hasMaxGap()) return false; if (hasMaxGap()) { if (getMaxGap() != other.getMaxGap()) return false; } if (hasNorealtime() != other.hasNorealtime()) return false; if (hasNorealtime()) { if (getNorealtime() != other.getNorealtime()) return false; } if (hasProcessor() != other.hasProcessor()) return false; if (hasProcessor()) { if (!getProcessor() .equals(other.getProcessor())) return false; } if (hasSource() != other.hasSource()) return false; if (hasSource()) { if (!getSource() .equals(other.getSource())) return false; } if (hasMinRange() != other.hasMinRange()) return false; if (hasMinRange()) { if (getMinRange() != other.getMinRange()) return false; } if (hasMaxValues() != other.hasMaxValues()) return false; if (hasMaxValues()) { if (getMaxValues() != other.getMaxValues()) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasStart()) { hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + getStart().hashCode(); } if (hasStop()) { hash = (37 * hash) + STOP_FIELD_NUMBER; hash = (53 * hash) + getStop().hashCode(); } if (hasMinGap()) { hash = (37 * hash) + MINGAP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinGap()); } if (hasMaxGap()) { hash = (37 * hash) + MAXGAP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxGap()); } if (hasNorealtime()) { hash = (37 * hash) + NOREALTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNorealtime()); } if (hasProcessor()) { hash = (37 * hash) + PROCESSOR_FIELD_NUMBER; hash = (53 * hash) + getProcessor().hashCode(); } if (hasSource()) { hash = (37 * hash) + SOURCE_FIELD_NUMBER; hash = (53 * hash) + getSource().hashCode(); } if (hasMinRange()) { hash = (37 * hash) + MINRANGE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinRange()); } if (hasMaxValues()) { hash = (37 * hash) + MAXVALUES_FIELD_NUMBER; hash = (53 * hash) + getMaxValues(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.GetParameterRangesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.GetParameterRangesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.GetParameterRangesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.GetParameterRangesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.GetParameterRangesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.GetParameterRangesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.GetParameterRangesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.GetParameterRangesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.yamcs.protobuf.GetParameterRangesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.GetParameterRangesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.yamcs.protobuf.GetParameterRangesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.GetParameterRangesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.GetParameterRangesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yamcs.protobuf.archive.GetParameterRangesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.archive.GetParameterRangesRequest) org.yamcs.protobuf.GetParameterRangesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_GetParameterRangesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_GetParameterRangesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.GetParameterRangesRequest.class, org.yamcs.protobuf.GetParameterRangesRequest.Builder.class); } // Construct using org.yamcs.protobuf.GetParameterRangesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStartFieldBuilder(); getStopFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); if (startBuilder_ == null) { start_ = null; } else { startBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (stopBuilder_ == null) { stop_ = null; } else { stopBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); minGap_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); maxGap_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); norealtime_ = false; bitField0_ = (bitField0_ & ~0x00000040); processor_ = ""; bitField0_ = (bitField0_ & ~0x00000080); source_ = ""; bitField0_ = (bitField0_ & ~0x00000100); minRange_ = 0L; bitField0_ = (bitField0_ & ~0x00000200); maxValues_ = 0; bitField0_ = (bitField0_ & ~0x00000400); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.ParameterArchiveServiceProto.internal_static_yamcs_protobuf_archive_GetParameterRangesRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.GetParameterRangesRequest getDefaultInstanceForType() { return org.yamcs.protobuf.GetParameterRangesRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.GetParameterRangesRequest build() { org.yamcs.protobuf.GetParameterRangesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.GetParameterRangesRequest buildPartial() { org.yamcs.protobuf.GetParameterRangesRequest result = new org.yamcs.protobuf.GetParameterRangesRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; if (((from_bitField0_ & 0x00000004) != 0)) { if (startBuilder_ == null) { result.start_ = start_; } else { result.start_ = startBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (stopBuilder_ == null) { result.stop_ = stop_; } else { result.stop_ = stopBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.minGap_ = minGap_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.maxGap_ = maxGap_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.norealtime_ = norealtime_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.processor_ = processor_; if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000100; } result.source_ = source_; if (((from_bitField0_ & 0x00000200) != 0)) { result.minRange_ = minRange_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { result.maxValues_ = maxValues_; to_bitField0_ |= 0x00000400; } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.GetParameterRangesRequest) { return mergeFrom((org.yamcs.protobuf.GetParameterRangesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.GetParameterRangesRequest other) { if (other == org.yamcs.protobuf.GetParameterRangesRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } if (other.hasStart()) { mergeStart(other.getStart()); } if (other.hasStop()) { mergeStop(other.getStop()); } if (other.hasMinGap()) { setMinGap(other.getMinGap()); } if (other.hasMaxGap()) { setMaxGap(other.getMaxGap()); } if (other.hasNorealtime()) { setNorealtime(other.getNorealtime()); } if (other.hasProcessor()) { bitField0_ |= 0x00000080; processor_ = other.processor_; onChanged(); } if (other.hasSource()) { bitField0_ |= 0x00000100; source_ = other.source_; onChanged(); } if (other.hasMinRange()) { setMinRange(other.getMinRange()); } if (other.hasMaxValues()) { setMaxValues(other.getMaxValues()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.GetParameterRangesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.GetParameterRangesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
     * Parameter name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Parameter name.
     * 
* * optional string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Parameter name.
     * 
* * optional string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Parameter name.
     * 
* * optional string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
     * Parameter name.
     * 
* * optional string name = 2; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
     * Parameter name.
     * 
* * optional string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp start_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startBuilder_; /** *
     * Filter the lower bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp start = 3; * @return Whether the start field is set. */ public boolean hasStart() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Filter the lower bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp start = 3; * @return The start. */ public com.google.protobuf.Timestamp getStart() { if (startBuilder_ == null) { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } else { return startBuilder_.getMessage(); } } /** *
     * Filter the lower bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ public Builder setStart(com.google.protobuf.Timestamp value) { if (startBuilder_ == null) { if (value == null) { throw new NullPointerException(); } start_ = value; onChanged(); } else { startBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** *
     * Filter the lower bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ public Builder setStart( com.google.protobuf.Timestamp.Builder builderForValue) { if (startBuilder_ == null) { start_ = builderForValue.build(); onChanged(); } else { startBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** *
     * Filter the lower bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ public Builder mergeStart(com.google.protobuf.Timestamp value) { if (startBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && start_ != null && start_ != com.google.protobuf.Timestamp.getDefaultInstance()) { start_ = com.google.protobuf.Timestamp.newBuilder(start_).mergeFrom(value).buildPartial(); } else { start_ = value; } onChanged(); } else { startBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** *
     * Filter the lower bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ public Builder clearStart() { if (startBuilder_ == null) { start_ = null; onChanged(); } else { startBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** *
     * Filter the lower bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ public com.google.protobuf.Timestamp.Builder getStartBuilder() { bitField0_ |= 0x00000004; onChanged(); return getStartFieldBuilder().getBuilder(); } /** *
     * Filter the lower bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() { if (startBuilder_ != null) { return startBuilder_.getMessageOrBuilder(); } else { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } } /** *
     * Filter the lower bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartFieldBuilder() { if (startBuilder_ == null) { startBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStart(), getParentForChildren(), isClean()); start_ = null; } return startBuilder_; } private com.google.protobuf.Timestamp stop_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stopBuilder_; /** *
     * Filter the upper bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp stop = 4; * @return Whether the stop field is set. */ public boolean hasStop() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Filter the upper bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp stop = 4; * @return The stop. */ public com.google.protobuf.Timestamp getStop() { if (stopBuilder_ == null) { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } else { return stopBuilder_.getMessage(); } } /** *
     * Filter the upper bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ public Builder setStop(com.google.protobuf.Timestamp value) { if (stopBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stop_ = value; onChanged(); } else { stopBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** *
     * Filter the upper bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ public Builder setStop( com.google.protobuf.Timestamp.Builder builderForValue) { if (stopBuilder_ == null) { stop_ = builderForValue.build(); onChanged(); } else { stopBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** *
     * Filter the upper bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ public Builder mergeStop(com.google.protobuf.Timestamp value) { if (stopBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && stop_ != null && stop_ != com.google.protobuf.Timestamp.getDefaultInstance()) { stop_ = com.google.protobuf.Timestamp.newBuilder(stop_).mergeFrom(value).buildPartial(); } else { stop_ = value; } onChanged(); } else { stopBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** *
     * Filter the upper bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ public Builder clearStop() { if (stopBuilder_ == null) { stop_ = null; onChanged(); } else { stopBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** *
     * Filter the upper bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ public com.google.protobuf.Timestamp.Builder getStopBuilder() { bitField0_ |= 0x00000008; onChanged(); return getStopFieldBuilder().getBuilder(); } /** *
     * Filter the upper bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() { if (stopBuilder_ != null) { return stopBuilder_.getMessageOrBuilder(); } else { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } } /** *
     * Filter the upper bound of the parameter's generation time. Specify a date
     * string in ISO 8601 format.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStopFieldBuilder() { if (stopBuilder_ == null) { stopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStop(), getParentForChildren(), isClean()); stop_ = null; } return stopBuilder_; } private long minGap_ ; /** *
     * 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; * @return Whether the minGap field is set. */ @java.lang.Override public boolean hasMinGap() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * 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; * @return The minGap. */ @java.lang.Override public long getMinGap() { return minGap_; } /** *
     * 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; * @param value The minGap to set. * @return This builder for chaining. */ public Builder setMinGap(long value) { bitField0_ |= 0x00000010; minGap_ = value; onChanged(); return this; } /** *
     * 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; * @return This builder for chaining. */ public Builder clearMinGap() { bitField0_ = (bitField0_ & ~0x00000010); minGap_ = 0L; onChanged(); return this; } private long maxGap_ ; /** *
     * 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; * @return Whether the maxGap field is set. */ @java.lang.Override public boolean hasMaxGap() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * 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; * @return The maxGap. */ @java.lang.Override public long getMaxGap() { return maxGap_; } /** *
     * 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; * @param value The maxGap to set. * @return This builder for chaining. */ public Builder setMaxGap(long value) { bitField0_ |= 0x00000020; maxGap_ = value; onChanged(); return this; } /** *
     * 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; * @return This builder for chaining. */ public Builder clearMaxGap() { bitField0_ = (bitField0_ & ~0x00000020); maxGap_ = 0L; onChanged(); return this; } private boolean norealtime_ ; /** *
     * Disable loading of parameters from the parameter cache. Default: ``false``.
     * 
* * optional bool norealtime = 7; * @return Whether the norealtime field is set. */ @java.lang.Override public boolean hasNorealtime() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Disable loading of parameters from the parameter cache. Default: ``false``.
     * 
* * optional bool norealtime = 7; * @return The norealtime. */ @java.lang.Override public boolean getNorealtime() { return norealtime_; } /** *
     * Disable loading of parameters from the parameter cache. Default: ``false``.
     * 
* * optional bool norealtime = 7; * @param value The norealtime to set. * @return This builder for chaining. */ public Builder setNorealtime(boolean value) { bitField0_ |= 0x00000040; norealtime_ = value; onChanged(); return this; } /** *
     * Disable loading of parameters from the parameter cache. Default: ``false``.
     * 
* * optional bool norealtime = 7; * @return This builder for chaining. */ public Builder clearNorealtime() { bitField0_ = (bitField0_ & ~0x00000040); norealtime_ = false; onChanged(); return this; } private java.lang.Object processor_ = ""; /** *
     * The name of the processor from which to use the parameter cache. Default: ``realtime``.
     * 
* * optional string processor = 8; * @return Whether the processor field is set. */ public boolean hasProcessor() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * The name of the processor from which to use the parameter cache. Default: ``realtime``.
     * 
* * optional string processor = 8; * @return The processor. */ public java.lang.String getProcessor() { java.lang.Object ref = processor_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { processor_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * The name of the processor from which to use the parameter cache. Default: ``realtime``.
     * 
* * optional string processor = 8; * @return The bytes for processor. */ public com.google.protobuf.ByteString getProcessorBytes() { java.lang.Object ref = processor_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); processor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The name of the processor from which to use the parameter cache. Default: ``realtime``.
     * 
* * optional string processor = 8; * @param value The processor to set. * @return This builder for chaining. */ public Builder setProcessor( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; processor_ = value; onChanged(); return this; } /** *
     * The name of the processor from which to use the parameter cache. Default: ``realtime``.
     * 
* * optional string processor = 8; * @return This builder for chaining. */ public Builder clearProcessor() { bitField0_ = (bitField0_ & ~0x00000080); processor_ = getDefaultInstance().getProcessor(); onChanged(); return this; } /** *
     * The name of the processor from which to use the parameter cache. Default: ``realtime``.
     * 
* * optional string processor = 8; * @param value The bytes for processor to set. * @return This builder for chaining. */ public Builder setProcessorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; processor_ = value; onChanged(); return this; } private java.lang.Object source_ = ""; /** *
     * 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; * @return Whether the source field is set. */ public boolean hasSource() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * 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; * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { source_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * 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; * @return The bytes for source. */ public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); source_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 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; * @param value The source to set. * @return This builder for chaining. */ public Builder setSource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; source_ = value; onChanged(); return this; } /** *
     * 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; * @return This builder for chaining. */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000100); source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** *
     * 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; * @param value The bytes for source to set. * @return This builder for chaining. */ public Builder setSourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; source_ = value; onChanged(); return this; } private long minRange_ ; /** *
     * 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; * @return Whether the minRange field is set. */ @java.lang.Override public boolean hasMinRange() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * 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; * @return The minRange. */ @java.lang.Override public long getMinRange() { return minRange_; } /** *
     * 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; * @param value The minRange to set. * @return This builder for chaining. */ public Builder setMinRange(long value) { bitField0_ |= 0x00000200; minRange_ = value; onChanged(); return this; } /** *
     * 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; * @return This builder for chaining. */ public Builder clearMinRange() { bitField0_ = (bitField0_ & ~0x00000200); minRange_ = 0L; onChanged(); return this; } private int maxValues_ ; /** *
     * 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; * @return Whether the maxValues field is set. */ @java.lang.Override public boolean hasMaxValues() { return ((bitField0_ & 0x00000400) != 0); } /** *
     * 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; * @return The maxValues. */ @java.lang.Override public int getMaxValues() { return maxValues_; } /** *
     * 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; * @param value The maxValues to set. * @return This builder for chaining. */ public Builder setMaxValues(int value) { bitField0_ |= 0x00000400; maxValues_ = value; onChanged(); return this; } /** *
     * 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; * @return This builder for chaining. */ public Builder clearMaxValues() { bitField0_ = (bitField0_ & ~0x00000400); maxValues_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yamcs.protobuf.archive.GetParameterRangesRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.archive.GetParameterRangesRequest) private static final org.yamcs.protobuf.GetParameterRangesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.GetParameterRangesRequest(); } public static org.yamcs.protobuf.GetParameterRangesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetParameterRangesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetParameterRangesRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.yamcs.protobuf.GetParameterRangesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy