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

org.yamcs.protobuf.Pvalue 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/pvalue/pvalue.proto

package org.yamcs.protobuf;

public final class Pvalue {
  private Pvalue() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * 
   *this can also be called validity status
   * 
* * Protobuf enum {@code yamcs.protobuf.pvalue.AcquisitionStatus} */ public enum AcquisitionStatus implements com.google.protobuf.ProtocolMessageEnum { /** *
     * OK!
     * 
* * ACQUIRED = 0; */ ACQUIRED(0), /** *
     * No value received so far
     * 
* * NOT_RECEIVED = 1; */ NOT_RECEIVED(1), /** *
     * Some value has been received but is invalid
     * 
* * INVALID = 2; */ INVALID(2), /** *
     * The parameter is coming from a packet which has not since updated although it should have been
     * 
* * EXPIRED = 3; */ EXPIRED(3), ; /** *
     * OK!
     * 
* * ACQUIRED = 0; */ public static final int ACQUIRED_VALUE = 0; /** *
     * No value received so far
     * 
* * NOT_RECEIVED = 1; */ public static final int NOT_RECEIVED_VALUE = 1; /** *
     * Some value has been received but is invalid
     * 
* * INVALID = 2; */ public static final int INVALID_VALUE = 2; /** *
     * The parameter is coming from a packet which has not since updated although it should have been
     * 
* * EXPIRED = 3; */ public static final int EXPIRED_VALUE = 3; public final int getNumber() { return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static AcquisitionStatus valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static AcquisitionStatus forNumber(int value) { switch (value) { case 0: return ACQUIRED; case 1: return NOT_RECEIVED; case 2: return INVALID; case 3: return EXPIRED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< AcquisitionStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public AcquisitionStatus findValueByNumber(int number) { return AcquisitionStatus.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.getDescriptor().getEnumTypes().get(0); } private static final AcquisitionStatus[] VALUES = values(); public static AcquisitionStatus valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private AcquisitionStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.pvalue.AcquisitionStatus) } /** * Protobuf enum {@code yamcs.protobuf.pvalue.MonitoringResult} */ public enum MonitoringResult implements com.google.protobuf.ProtocolMessageEnum { /** * DISABLED = 0; */ DISABLED(0), /** * IN_LIMITS = 1; */ IN_LIMITS(1), /** * WATCH = 7; */ WATCH(7), /** * WARNING = 10; */ WARNING(10), /** * DISTRESS = 13; */ DISTRESS(13), /** * CRITICAL = 16; */ CRITICAL(16), /** * SEVERE = 19; */ SEVERE(19), ; /** * DISABLED = 0; */ public static final int DISABLED_VALUE = 0; /** * IN_LIMITS = 1; */ public static final int IN_LIMITS_VALUE = 1; /** * WATCH = 7; */ public static final int WATCH_VALUE = 7; /** * WARNING = 10; */ public static final int WARNING_VALUE = 10; /** * DISTRESS = 13; */ public static final int DISTRESS_VALUE = 13; /** * CRITICAL = 16; */ public static final int CRITICAL_VALUE = 16; /** * SEVERE = 19; */ public static final int SEVERE_VALUE = 19; public final int getNumber() { return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static MonitoringResult valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static MonitoringResult forNumber(int value) { switch (value) { case 0: return DISABLED; case 1: return IN_LIMITS; case 7: return WATCH; case 10: return WARNING; case 13: return DISTRESS; case 16: return CRITICAL; case 19: return SEVERE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< MonitoringResult> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public MonitoringResult findValueByNumber(int number) { return MonitoringResult.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.getDescriptor().getEnumTypes().get(1); } private static final MonitoringResult[] VALUES = values(); public static MonitoringResult valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private MonitoringResult(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.pvalue.MonitoringResult) } /** * Protobuf enum {@code yamcs.protobuf.pvalue.RangeCondition} */ public enum RangeCondition implements com.google.protobuf.ProtocolMessageEnum { /** * LOW = 0; */ LOW(0), /** * HIGH = 1; */ HIGH(1), ; /** * LOW = 0; */ public static final int LOW_VALUE = 0; /** * HIGH = 1; */ public static final int HIGH_VALUE = 1; public final int getNumber() { return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static RangeCondition valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static RangeCondition forNumber(int value) { switch (value) { case 0: return LOW; case 1: return HIGH; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< RangeCondition> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RangeCondition findValueByNumber(int number) { return RangeCondition.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.getDescriptor().getEnumTypes().get(2); } private static final RangeCondition[] VALUES = values(); public static RangeCondition valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private RangeCondition(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.pvalue.RangeCondition) } public interface ParameterValueOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.pvalue.ParameterValue) com.google.protobuf.MessageOrBuilder { /** *
     * Parameter identifier
     * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; * @return Whether the id field is set. */ boolean hasId(); /** *
     * Parameter identifier
     * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; * @return The id. */ org.yamcs.protobuf.Yamcs.NamedObjectId getId(); /** *
     * Parameter identifier
     * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder(); /** *
     * Raw value (uncalibrated)
     * 
* * optional .yamcs.protobuf.Value rawValue = 2; * @return Whether the rawValue field is set. */ boolean hasRawValue(); /** *
     * Raw value (uncalibrated)
     * 
* * optional .yamcs.protobuf.Value rawValue = 2; * @return The rawValue. */ org.yamcs.protobuf.Yamcs.Value getRawValue(); /** *
     * Raw value (uncalibrated)
     * 
* * optional .yamcs.protobuf.Value rawValue = 2; */ org.yamcs.protobuf.Yamcs.ValueOrBuilder getRawValueOrBuilder(); /** *
     * Engineering value (calibrated)
     * 
* * optional .yamcs.protobuf.Value engValue = 3; * @return Whether the engValue field is set. */ boolean hasEngValue(); /** *
     * Engineering value (calibrated)
     * 
* * optional .yamcs.protobuf.Value engValue = 3; * @return The engValue. */ org.yamcs.protobuf.Yamcs.Value getEngValue(); /** *
     * Engineering value (calibrated)
     * 
* * optional .yamcs.protobuf.Value engValue = 3; */ org.yamcs.protobuf.Yamcs.ValueOrBuilder getEngValueOrBuilder(); /** *
     * Time of Yamcs reception
     * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; * @return Whether the acquisitionTime field is set. */ boolean hasAcquisitionTime(); /** *
     * Time of Yamcs reception
     * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; * @return The acquisitionTime. */ com.google.protobuf.Timestamp getAcquisitionTime(); /** *
     * Time of Yamcs reception
     * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; */ com.google.protobuf.TimestampOrBuilder getAcquisitionTimeOrBuilder(); /** *
     * Time of generation (~ packet time)
     * 
* * optional .google.protobuf.Timestamp generationTime = 5; * @return Whether the generationTime field is set. */ boolean hasGenerationTime(); /** *
     * Time of generation (~ packet time)
     * 
* * optional .google.protobuf.Timestamp generationTime = 5; * @return The generationTime. */ com.google.protobuf.Timestamp getGenerationTime(); /** *
     * Time of generation (~ packet time)
     * 
* * optional .google.protobuf.Timestamp generationTime = 5; */ com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder(); /** * optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6; * @return Whether the acquisitionStatus field is set. */ boolean hasAcquisitionStatus(); /** * optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6; * @return The acquisitionStatus. */ org.yamcs.protobuf.Pvalue.AcquisitionStatus getAcquisitionStatus(); /** *
     * Deprecated: this field was originally introduced for compatibility
     * with Airbus CGS/CD-MCS system. It was redundant, because when false,
     * the acquisitionStatus is also set to INVALID.
     * 
* * optional bool processingStatus = 7 [deprecated = true]; * @deprecated * @return Whether the processingStatus field is set. */ @java.lang.Deprecated boolean hasProcessingStatus(); /** *
     * Deprecated: this field was originally introduced for compatibility
     * with Airbus CGS/CD-MCS system. It was redundant, because when false,
     * the acquisitionStatus is also set to INVALID.
     * 
* * optional bool processingStatus = 7 [deprecated = true]; * @deprecated * @return The processingStatus. */ @java.lang.Deprecated boolean getProcessingStatus(); /** * optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8; * @return Whether the monitoringResult field is set. */ boolean hasMonitoringResult(); /** * optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8; * @return The monitoringResult. */ org.yamcs.protobuf.Pvalue.MonitoringResult getMonitoringResult(); /** * optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9; * @return Whether the rangeCondition field is set. */ boolean hasRangeCondition(); /** * optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9; * @return The rangeCondition. */ org.yamcs.protobuf.Pvalue.RangeCondition getRangeCondition(); /** *
     * Context-dependent ranges
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ java.util.List getAlarmRangeList(); /** *
     * Context-dependent ranges
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ org.yamcs.protobuf.Mdb.AlarmRange getAlarmRange(int index); /** *
     * Context-dependent ranges
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ int getAlarmRangeCount(); /** *
     * Context-dependent ranges
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ java.util.List getAlarmRangeOrBuilderList(); /** *
     * Context-dependent ranges
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getAlarmRangeOrBuilder( int index); /** *
     * How long (in milliseconds) this parameter value is valid
     * Note that there is an option when subscribing to parameters to get
     * updated when the parameter values expire. 
     * 
* * optional int64 expireMillis = 26; * @return Whether the expireMillis field is set. */ boolean hasExpireMillis(); /** *
     * How long (in milliseconds) this parameter value is valid
     * Note that there is an option when subscribing to parameters to get
     * updated when the parameter values expire. 
     * 
* * optional int64 expireMillis = 26; * @return The expireMillis. */ long getExpireMillis(); /** *
     * When transferring parameters over WebSocket, this value might be used
     * instead of the id above in order to reduce the bandwidth.
     * Note that the id <-> numericId assignment is only valid in the context
     * of a single WebSocket call.
     * 
* * optional uint32 numericId = 27; * @return Whether the numericId field is set. */ boolean hasNumericId(); /** *
     * When transferring parameters over WebSocket, this value might be used
     * instead of the id above in order to reduce the bandwidth.
     * Note that the id <-> numericId assignment is only valid in the context
     * of a single WebSocket call.
     * 
* * optional uint32 numericId = 27; * @return The numericId. */ int getNumericId(); } /** * Protobuf type {@code yamcs.protobuf.pvalue.ParameterValue} */ public static final class ParameterValue extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.pvalue.ParameterValue) ParameterValueOrBuilder { private static final long serialVersionUID = 0L; // Use ParameterValue.newBuilder() to construct. private ParameterValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ParameterValue() { acquisitionStatus_ = 0; monitoringResult_ = 0; rangeCondition_ = 0; alarmRange_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ParameterValue(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ParameterValue( 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: { org.yamcs.protobuf.Yamcs.NamedObjectId.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = id_.toBuilder(); } id_ = input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(id_); id_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { org.yamcs.protobuf.Yamcs.Value.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = rawValue_.toBuilder(); } rawValue_ = input.readMessage(org.yamcs.protobuf.Yamcs.Value.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rawValue_); rawValue_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { org.yamcs.protobuf.Yamcs.Value.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = engValue_.toBuilder(); } engValue_ = input.readMessage(org.yamcs.protobuf.Yamcs.Value.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(engValue_); engValue_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = acquisitionTime_.toBuilder(); } acquisitionTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(acquisitionTime_); acquisitionTime_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = generationTime_.toBuilder(); } generationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(generationTime_); generationTime_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 48: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Pvalue.AcquisitionStatus value = org.yamcs.protobuf.Pvalue.AcquisitionStatus.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(6, rawValue); } else { bitField0_ |= 0x00000020; acquisitionStatus_ = rawValue; } break; } case 56: { bitField0_ |= 0x00000040; processingStatus_ = input.readBool(); break; } case 64: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Pvalue.MonitoringResult value = org.yamcs.protobuf.Pvalue.MonitoringResult.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(8, rawValue); } else { bitField0_ |= 0x00000080; monitoringResult_ = rawValue; } break; } case 72: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Pvalue.RangeCondition value = org.yamcs.protobuf.Pvalue.RangeCondition.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(9, rawValue); } else { bitField0_ |= 0x00000100; rangeCondition_ = rawValue; } break; } case 202: { if (!((mutable_bitField0_ & 0x00000200) != 0)) { alarmRange_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } alarmRange_.add( input.readMessage(org.yamcs.protobuf.Mdb.AlarmRange.PARSER, extensionRegistry)); break; } case 208: { bitField0_ |= 0x00000200; expireMillis_ = input.readInt64(); break; } case 216: { bitField0_ |= 0x00000400; numericId_ = input.readUInt32(); 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 { if (((mutable_bitField0_ & 0x00000200) != 0)) { alarmRange_ = java.util.Collections.unmodifiableList(alarmRange_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_ParameterValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_ParameterValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Pvalue.ParameterValue.class, org.yamcs.protobuf.Pvalue.ParameterValue.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private org.yamcs.protobuf.Yamcs.NamedObjectId id_; /** *
     * Parameter identifier
     * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Parameter identifier
     * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; * @return The id. */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getId() { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } /** *
     * Parameter identifier
     * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder() { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } public static final int RAWVALUE_FIELD_NUMBER = 2; private org.yamcs.protobuf.Yamcs.Value rawValue_; /** *
     * Raw value (uncalibrated)
     * 
* * optional .yamcs.protobuf.Value rawValue = 2; * @return Whether the rawValue field is set. */ @java.lang.Override public boolean hasRawValue() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Raw value (uncalibrated)
     * 
* * optional .yamcs.protobuf.Value rawValue = 2; * @return The rawValue. */ @java.lang.Override public org.yamcs.protobuf.Yamcs.Value getRawValue() { return rawValue_ == null ? org.yamcs.protobuf.Yamcs.Value.getDefaultInstance() : rawValue_; } /** *
     * Raw value (uncalibrated)
     * 
* * optional .yamcs.protobuf.Value rawValue = 2; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.ValueOrBuilder getRawValueOrBuilder() { return rawValue_ == null ? org.yamcs.protobuf.Yamcs.Value.getDefaultInstance() : rawValue_; } public static final int ENGVALUE_FIELD_NUMBER = 3; private org.yamcs.protobuf.Yamcs.Value engValue_; /** *
     * Engineering value (calibrated)
     * 
* * optional .yamcs.protobuf.Value engValue = 3; * @return Whether the engValue field is set. */ @java.lang.Override public boolean hasEngValue() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Engineering value (calibrated)
     * 
* * optional .yamcs.protobuf.Value engValue = 3; * @return The engValue. */ @java.lang.Override public org.yamcs.protobuf.Yamcs.Value getEngValue() { return engValue_ == null ? org.yamcs.protobuf.Yamcs.Value.getDefaultInstance() : engValue_; } /** *
     * Engineering value (calibrated)
     * 
* * optional .yamcs.protobuf.Value engValue = 3; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.ValueOrBuilder getEngValueOrBuilder() { return engValue_ == null ? org.yamcs.protobuf.Yamcs.Value.getDefaultInstance() : engValue_; } public static final int ACQUISITIONTIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp acquisitionTime_; /** *
     * Time of Yamcs reception
     * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; * @return Whether the acquisitionTime field is set. */ @java.lang.Override public boolean hasAcquisitionTime() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Time of Yamcs reception
     * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; * @return The acquisitionTime. */ @java.lang.Override public com.google.protobuf.Timestamp getAcquisitionTime() { return acquisitionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : acquisitionTime_; } /** *
     * Time of Yamcs reception
     * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getAcquisitionTimeOrBuilder() { return acquisitionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : acquisitionTime_; } public static final int GENERATIONTIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp generationTime_; /** *
     * Time of generation (~ packet time)
     * 
* * optional .google.protobuf.Timestamp generationTime = 5; * @return Whether the generationTime field is set. */ @java.lang.Override public boolean hasGenerationTime() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Time of generation (~ packet time)
     * 
* * optional .google.protobuf.Timestamp generationTime = 5; * @return The generationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getGenerationTime() { return generationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : generationTime_; } /** *
     * Time of generation (~ packet time)
     * 
* * optional .google.protobuf.Timestamp generationTime = 5; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder() { return generationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : generationTime_; } public static final int ACQUISITIONSTATUS_FIELD_NUMBER = 6; private int acquisitionStatus_; /** * optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6; * @return Whether the acquisitionStatus field is set. */ @java.lang.Override public boolean hasAcquisitionStatus() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6; * @return The acquisitionStatus. */ @java.lang.Override public org.yamcs.protobuf.Pvalue.AcquisitionStatus getAcquisitionStatus() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Pvalue.AcquisitionStatus result = org.yamcs.protobuf.Pvalue.AcquisitionStatus.valueOf(acquisitionStatus_); return result == null ? org.yamcs.protobuf.Pvalue.AcquisitionStatus.ACQUIRED : result; } public static final int PROCESSINGSTATUS_FIELD_NUMBER = 7; private boolean processingStatus_; /** *
     * Deprecated: this field was originally introduced for compatibility
     * with Airbus CGS/CD-MCS system. It was redundant, because when false,
     * the acquisitionStatus is also set to INVALID.
     * 
* * optional bool processingStatus = 7 [deprecated = true]; * @deprecated * @return Whether the processingStatus field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasProcessingStatus() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Deprecated: this field was originally introduced for compatibility
     * with Airbus CGS/CD-MCS system. It was redundant, because when false,
     * the acquisitionStatus is also set to INVALID.
     * 
* * optional bool processingStatus = 7 [deprecated = true]; * @deprecated * @return The processingStatus. */ @java.lang.Override @java.lang.Deprecated public boolean getProcessingStatus() { return processingStatus_; } public static final int MONITORINGRESULT_FIELD_NUMBER = 8; private int monitoringResult_; /** * optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8; * @return Whether the monitoringResult field is set. */ @java.lang.Override public boolean hasMonitoringResult() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8; * @return The monitoringResult. */ @java.lang.Override public org.yamcs.protobuf.Pvalue.MonitoringResult getMonitoringResult() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Pvalue.MonitoringResult result = org.yamcs.protobuf.Pvalue.MonitoringResult.valueOf(monitoringResult_); return result == null ? org.yamcs.protobuf.Pvalue.MonitoringResult.DISABLED : result; } public static final int RANGECONDITION_FIELD_NUMBER = 9; private int rangeCondition_; /** * optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9; * @return Whether the rangeCondition field is set. */ @java.lang.Override public boolean hasRangeCondition() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9; * @return The rangeCondition. */ @java.lang.Override public org.yamcs.protobuf.Pvalue.RangeCondition getRangeCondition() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Pvalue.RangeCondition result = org.yamcs.protobuf.Pvalue.RangeCondition.valueOf(rangeCondition_); return result == null ? org.yamcs.protobuf.Pvalue.RangeCondition.LOW : result; } public static final int ALARMRANGE_FIELD_NUMBER = 25; private java.util.List alarmRange_; /** *
     * Context-dependent ranges
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ @java.lang.Override public java.util.List getAlarmRangeList() { return alarmRange_; } /** *
     * Context-dependent ranges
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ @java.lang.Override public java.util.List getAlarmRangeOrBuilderList() { return alarmRange_; } /** *
     * Context-dependent ranges
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ @java.lang.Override public int getAlarmRangeCount() { return alarmRange_.size(); } /** *
     * Context-dependent ranges
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmRange getAlarmRange(int index) { return alarmRange_.get(index); } /** *
     * Context-dependent ranges
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getAlarmRangeOrBuilder( int index) { return alarmRange_.get(index); } public static final int EXPIREMILLIS_FIELD_NUMBER = 26; private long expireMillis_; /** *
     * How long (in milliseconds) this parameter value is valid
     * Note that there is an option when subscribing to parameters to get
     * updated when the parameter values expire. 
     * 
* * optional int64 expireMillis = 26; * @return Whether the expireMillis field is set. */ @java.lang.Override public boolean hasExpireMillis() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * How long (in milliseconds) this parameter value is valid
     * Note that there is an option when subscribing to parameters to get
     * updated when the parameter values expire. 
     * 
* * optional int64 expireMillis = 26; * @return The expireMillis. */ @java.lang.Override public long getExpireMillis() { return expireMillis_; } public static final int NUMERICID_FIELD_NUMBER = 27; private int numericId_; /** *
     * When transferring parameters over WebSocket, this value might be used
     * instead of the id above in order to reduce the bandwidth.
     * Note that the id <-> numericId assignment is only valid in the context
     * of a single WebSocket call.
     * 
* * optional uint32 numericId = 27; * @return Whether the numericId field is set. */ @java.lang.Override public boolean hasNumericId() { return ((bitField0_ & 0x00000400) != 0); } /** *
     * When transferring parameters over WebSocket, this value might be used
     * instead of the id above in order to reduce the bandwidth.
     * Note that the id <-> numericId assignment is only valid in the context
     * of a single WebSocket call.
     * 
* * optional uint32 numericId = 27; * @return The numericId. */ @java.lang.Override public int getNumericId() { return numericId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasId()) { if (!getId().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasRawValue()) { if (!getRawValue().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasEngValue()) { if (!getEngValue().isInitialized()) { memoizedIsInitialized = 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)) { output.writeMessage(1, getId()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getRawValue()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getEngValue()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getAcquisitionTime()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getGenerationTime()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeEnum(6, acquisitionStatus_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(7, processingStatus_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeEnum(8, monitoringResult_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeEnum(9, rangeCondition_); } for (int i = 0; i < alarmRange_.size(); i++) { output.writeMessage(25, alarmRange_.get(i)); } if (((bitField0_ & 0x00000200) != 0)) { output.writeInt64(26, expireMillis_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeUInt32(27, numericId_); } 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.CodedOutputStream .computeMessageSize(1, getId()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRawValue()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getEngValue()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getAcquisitionTime()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getGenerationTime()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, acquisitionStatus_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, processingStatus_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, monitoringResult_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(9, rangeCondition_); } for (int i = 0; i < alarmRange_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, alarmRange_.get(i)); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(26, expireMillis_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(27, numericId_); } 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.Pvalue.ParameterValue)) { return super.equals(obj); } org.yamcs.protobuf.Pvalue.ParameterValue other = (org.yamcs.protobuf.Pvalue.ParameterValue) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (!getId() .equals(other.getId())) return false; } if (hasRawValue() != other.hasRawValue()) return false; if (hasRawValue()) { if (!getRawValue() .equals(other.getRawValue())) return false; } if (hasEngValue() != other.hasEngValue()) return false; if (hasEngValue()) { if (!getEngValue() .equals(other.getEngValue())) return false; } if (hasAcquisitionTime() != other.hasAcquisitionTime()) return false; if (hasAcquisitionTime()) { if (!getAcquisitionTime() .equals(other.getAcquisitionTime())) return false; } if (hasGenerationTime() != other.hasGenerationTime()) return false; if (hasGenerationTime()) { if (!getGenerationTime() .equals(other.getGenerationTime())) return false; } if (hasAcquisitionStatus() != other.hasAcquisitionStatus()) return false; if (hasAcquisitionStatus()) { if (acquisitionStatus_ != other.acquisitionStatus_) return false; } if (hasProcessingStatus() != other.hasProcessingStatus()) return false; if (hasProcessingStatus()) { if (getProcessingStatus() != other.getProcessingStatus()) return false; } if (hasMonitoringResult() != other.hasMonitoringResult()) return false; if (hasMonitoringResult()) { if (monitoringResult_ != other.monitoringResult_) return false; } if (hasRangeCondition() != other.hasRangeCondition()) return false; if (hasRangeCondition()) { if (rangeCondition_ != other.rangeCondition_) return false; } if (!getAlarmRangeList() .equals(other.getAlarmRangeList())) return false; if (hasExpireMillis() != other.hasExpireMillis()) return false; if (hasExpireMillis()) { if (getExpireMillis() != other.getExpireMillis()) return false; } if (hasNumericId() != other.hasNumericId()) return false; if (hasNumericId()) { if (getNumericId() != other.getNumericId()) 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 (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); } if (hasRawValue()) { hash = (37 * hash) + RAWVALUE_FIELD_NUMBER; hash = (53 * hash) + getRawValue().hashCode(); } if (hasEngValue()) { hash = (37 * hash) + ENGVALUE_FIELD_NUMBER; hash = (53 * hash) + getEngValue().hashCode(); } if (hasAcquisitionTime()) { hash = (37 * hash) + ACQUISITIONTIME_FIELD_NUMBER; hash = (53 * hash) + getAcquisitionTime().hashCode(); } if (hasGenerationTime()) { hash = (37 * hash) + GENERATIONTIME_FIELD_NUMBER; hash = (53 * hash) + getGenerationTime().hashCode(); } if (hasAcquisitionStatus()) { hash = (37 * hash) + ACQUISITIONSTATUS_FIELD_NUMBER; hash = (53 * hash) + acquisitionStatus_; } if (hasProcessingStatus()) { hash = (37 * hash) + PROCESSINGSTATUS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getProcessingStatus()); } if (hasMonitoringResult()) { hash = (37 * hash) + MONITORINGRESULT_FIELD_NUMBER; hash = (53 * hash) + monitoringResult_; } if (hasRangeCondition()) { hash = (37 * hash) + RANGECONDITION_FIELD_NUMBER; hash = (53 * hash) + rangeCondition_; } if (getAlarmRangeCount() > 0) { hash = (37 * hash) + ALARMRANGE_FIELD_NUMBER; hash = (53 * hash) + getAlarmRangeList().hashCode(); } if (hasExpireMillis()) { hash = (37 * hash) + EXPIREMILLIS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getExpireMillis()); } if (hasNumericId()) { hash = (37 * hash) + NUMERICID_FIELD_NUMBER; hash = (53 * hash) + getNumericId(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Pvalue.ParameterValue parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.ParameterValue 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.Pvalue.ParameterValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.ParameterValue 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.Pvalue.ParameterValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.ParameterValue parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Pvalue.ParameterValue parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.ParameterValue 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.Pvalue.ParameterValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.ParameterValue 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.Pvalue.ParameterValue parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.ParameterValue 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.Pvalue.ParameterValue 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.pvalue.ParameterValue} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.pvalue.ParameterValue) org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_ParameterValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_ParameterValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Pvalue.ParameterValue.class, org.yamcs.protobuf.Pvalue.ParameterValue.Builder.class); } // Construct using org.yamcs.protobuf.Pvalue.ParameterValue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getIdFieldBuilder(); getRawValueFieldBuilder(); getEngValueFieldBuilder(); getAcquisitionTimeFieldBuilder(); getGenerationTimeFieldBuilder(); getAlarmRangeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (idBuilder_ == null) { id_ = null; } else { idBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (rawValueBuilder_ == null) { rawValue_ = null; } else { rawValueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (engValueBuilder_ == null) { engValue_ = null; } else { engValueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (acquisitionTimeBuilder_ == null) { acquisitionTime_ = null; } else { acquisitionTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (generationTimeBuilder_ == null) { generationTime_ = null; } else { generationTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); acquisitionStatus_ = 0; bitField0_ = (bitField0_ & ~0x00000020); processingStatus_ = false; bitField0_ = (bitField0_ & ~0x00000040); monitoringResult_ = 0; bitField0_ = (bitField0_ & ~0x00000080); rangeCondition_ = 0; bitField0_ = (bitField0_ & ~0x00000100); if (alarmRangeBuilder_ == null) { alarmRange_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); } else { alarmRangeBuilder_.clear(); } expireMillis_ = 0L; bitField0_ = (bitField0_ & ~0x00000400); numericId_ = 0; bitField0_ = (bitField0_ & ~0x00000800); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_ParameterValue_descriptor; } @java.lang.Override public org.yamcs.protobuf.Pvalue.ParameterValue getDefaultInstanceForType() { return org.yamcs.protobuf.Pvalue.ParameterValue.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Pvalue.ParameterValue build() { org.yamcs.protobuf.Pvalue.ParameterValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Pvalue.ParameterValue buildPartial() { org.yamcs.protobuf.Pvalue.ParameterValue result = new org.yamcs.protobuf.Pvalue.ParameterValue(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (idBuilder_ == null) { result.id_ = id_; } else { result.id_ = idBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (rawValueBuilder_ == null) { result.rawValue_ = rawValue_; } else { result.rawValue_ = rawValueBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (engValueBuilder_ == null) { result.engValue_ = engValue_; } else { result.engValue_ = engValueBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (acquisitionTimeBuilder_ == null) { result.acquisitionTime_ = acquisitionTime_; } else { result.acquisitionTime_ = acquisitionTimeBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { if (generationTimeBuilder_ == null) { result.generationTime_ = generationTime_; } else { result.generationTime_ = generationTimeBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.acquisitionStatus_ = acquisitionStatus_; if (((from_bitField0_ & 0x00000040) != 0)) { result.processingStatus_ = processingStatus_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.monitoringResult_ = monitoringResult_; if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000100; } result.rangeCondition_ = rangeCondition_; if (alarmRangeBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { alarmRange_ = java.util.Collections.unmodifiableList(alarmRange_); bitField0_ = (bitField0_ & ~0x00000200); } result.alarmRange_ = alarmRange_; } else { result.alarmRange_ = alarmRangeBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { result.expireMillis_ = expireMillis_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000800) != 0)) { result.numericId_ = numericId_; 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.Pvalue.ParameterValue) { return mergeFrom((org.yamcs.protobuf.Pvalue.ParameterValue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Pvalue.ParameterValue other) { if (other == org.yamcs.protobuf.Pvalue.ParameterValue.getDefaultInstance()) return this; if (other.hasId()) { mergeId(other.getId()); } if (other.hasRawValue()) { mergeRawValue(other.getRawValue()); } if (other.hasEngValue()) { mergeEngValue(other.getEngValue()); } if (other.hasAcquisitionTime()) { mergeAcquisitionTime(other.getAcquisitionTime()); } if (other.hasGenerationTime()) { mergeGenerationTime(other.getGenerationTime()); } if (other.hasAcquisitionStatus()) { setAcquisitionStatus(other.getAcquisitionStatus()); } if (other.hasProcessingStatus()) { setProcessingStatus(other.getProcessingStatus()); } if (other.hasMonitoringResult()) { setMonitoringResult(other.getMonitoringResult()); } if (other.hasRangeCondition()) { setRangeCondition(other.getRangeCondition()); } if (alarmRangeBuilder_ == null) { if (!other.alarmRange_.isEmpty()) { if (alarmRange_.isEmpty()) { alarmRange_ = other.alarmRange_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureAlarmRangeIsMutable(); alarmRange_.addAll(other.alarmRange_); } onChanged(); } } else { if (!other.alarmRange_.isEmpty()) { if (alarmRangeBuilder_.isEmpty()) { alarmRangeBuilder_.dispose(); alarmRangeBuilder_ = null; alarmRange_ = other.alarmRange_; bitField0_ = (bitField0_ & ~0x00000200); alarmRangeBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAlarmRangeFieldBuilder() : null; } else { alarmRangeBuilder_.addAllMessages(other.alarmRange_); } } } if (other.hasExpireMillis()) { setExpireMillis(other.getExpireMillis()); } if (other.hasNumericId()) { setNumericId(other.getNumericId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasId()) { if (!getId().isInitialized()) { return false; } } if (hasRawValue()) { if (!getRawValue().isInitialized()) { return false; } } if (hasEngValue()) { if (!getEngValue().isInitialized()) { return false; } } 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.Pvalue.ParameterValue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Pvalue.ParameterValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.yamcs.protobuf.Yamcs.NamedObjectId id_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> idBuilder_; /** *
       * Parameter identifier
       * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; * @return Whether the id field is set. */ public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Parameter identifier
       * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; * @return The id. */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId() { if (idBuilder_ == null) { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } else { return idBuilder_.getMessage(); } } /** *
       * Parameter identifier
       * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; */ public Builder setId(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); } else { idBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** *
       * Parameter identifier
       * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; */ public Builder setId( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (idBuilder_ == null) { id_ = builderForValue.build(); onChanged(); } else { idBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** *
       * Parameter identifier
       * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; */ public Builder mergeId(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && id_ != null && id_ != org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()) { id_ = org.yamcs.protobuf.Yamcs.NamedObjectId.newBuilder(id_).mergeFrom(value).buildPartial(); } else { id_ = value; } onChanged(); } else { idBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** *
       * Parameter identifier
       * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; */ public Builder clearId() { if (idBuilder_ == null) { id_ = null; onChanged(); } else { idBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** *
       * Parameter identifier
       * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getIdBuilder() { bitField0_ |= 0x00000001; onChanged(); return getIdFieldBuilder().getBuilder(); } /** *
       * Parameter identifier
       * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder() { if (idBuilder_ != null) { return idBuilder_.getMessageOrBuilder(); } else { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } } /** *
       * Parameter identifier
       * 
* * optional .yamcs.protobuf.NamedObjectId id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getIdFieldBuilder() { if (idBuilder_ == null) { idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( getId(), getParentForChildren(), isClean()); id_ = null; } return idBuilder_; } private org.yamcs.protobuf.Yamcs.Value rawValue_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder> rawValueBuilder_; /** *
       * Raw value (uncalibrated)
       * 
* * optional .yamcs.protobuf.Value rawValue = 2; * @return Whether the rawValue field is set. */ public boolean hasRawValue() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Raw value (uncalibrated)
       * 
* * optional .yamcs.protobuf.Value rawValue = 2; * @return The rawValue. */ public org.yamcs.protobuf.Yamcs.Value getRawValue() { if (rawValueBuilder_ == null) { return rawValue_ == null ? org.yamcs.protobuf.Yamcs.Value.getDefaultInstance() : rawValue_; } else { return rawValueBuilder_.getMessage(); } } /** *
       * Raw value (uncalibrated)
       * 
* * optional .yamcs.protobuf.Value rawValue = 2; */ public Builder setRawValue(org.yamcs.protobuf.Yamcs.Value value) { if (rawValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rawValue_ = value; onChanged(); } else { rawValueBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       * Raw value (uncalibrated)
       * 
* * optional .yamcs.protobuf.Value rawValue = 2; */ public Builder setRawValue( org.yamcs.protobuf.Yamcs.Value.Builder builderForValue) { if (rawValueBuilder_ == null) { rawValue_ = builderForValue.build(); onChanged(); } else { rawValueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       * Raw value (uncalibrated)
       * 
* * optional .yamcs.protobuf.Value rawValue = 2; */ public Builder mergeRawValue(org.yamcs.protobuf.Yamcs.Value value) { if (rawValueBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && rawValue_ != null && rawValue_ != org.yamcs.protobuf.Yamcs.Value.getDefaultInstance()) { rawValue_ = org.yamcs.protobuf.Yamcs.Value.newBuilder(rawValue_).mergeFrom(value).buildPartial(); } else { rawValue_ = value; } onChanged(); } else { rawValueBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       * Raw value (uncalibrated)
       * 
* * optional .yamcs.protobuf.Value rawValue = 2; */ public Builder clearRawValue() { if (rawValueBuilder_ == null) { rawValue_ = null; onChanged(); } else { rawValueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       * Raw value (uncalibrated)
       * 
* * optional .yamcs.protobuf.Value rawValue = 2; */ public org.yamcs.protobuf.Yamcs.Value.Builder getRawValueBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRawValueFieldBuilder().getBuilder(); } /** *
       * Raw value (uncalibrated)
       * 
* * optional .yamcs.protobuf.Value rawValue = 2; */ public org.yamcs.protobuf.Yamcs.ValueOrBuilder getRawValueOrBuilder() { if (rawValueBuilder_ != null) { return rawValueBuilder_.getMessageOrBuilder(); } else { return rawValue_ == null ? org.yamcs.protobuf.Yamcs.Value.getDefaultInstance() : rawValue_; } } /** *
       * Raw value (uncalibrated)
       * 
* * optional .yamcs.protobuf.Value rawValue = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder> getRawValueFieldBuilder() { if (rawValueBuilder_ == null) { rawValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder>( getRawValue(), getParentForChildren(), isClean()); rawValue_ = null; } return rawValueBuilder_; } private org.yamcs.protobuf.Yamcs.Value engValue_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder> engValueBuilder_; /** *
       * Engineering value (calibrated)
       * 
* * optional .yamcs.protobuf.Value engValue = 3; * @return Whether the engValue field is set. */ public boolean hasEngValue() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Engineering value (calibrated)
       * 
* * optional .yamcs.protobuf.Value engValue = 3; * @return The engValue. */ public org.yamcs.protobuf.Yamcs.Value getEngValue() { if (engValueBuilder_ == null) { return engValue_ == null ? org.yamcs.protobuf.Yamcs.Value.getDefaultInstance() : engValue_; } else { return engValueBuilder_.getMessage(); } } /** *
       * Engineering value (calibrated)
       * 
* * optional .yamcs.protobuf.Value engValue = 3; */ public Builder setEngValue(org.yamcs.protobuf.Yamcs.Value value) { if (engValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } engValue_ = value; onChanged(); } else { engValueBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** *
       * Engineering value (calibrated)
       * 
* * optional .yamcs.protobuf.Value engValue = 3; */ public Builder setEngValue( org.yamcs.protobuf.Yamcs.Value.Builder builderForValue) { if (engValueBuilder_ == null) { engValue_ = builderForValue.build(); onChanged(); } else { engValueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** *
       * Engineering value (calibrated)
       * 
* * optional .yamcs.protobuf.Value engValue = 3; */ public Builder mergeEngValue(org.yamcs.protobuf.Yamcs.Value value) { if (engValueBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && engValue_ != null && engValue_ != org.yamcs.protobuf.Yamcs.Value.getDefaultInstance()) { engValue_ = org.yamcs.protobuf.Yamcs.Value.newBuilder(engValue_).mergeFrom(value).buildPartial(); } else { engValue_ = value; } onChanged(); } else { engValueBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** *
       * Engineering value (calibrated)
       * 
* * optional .yamcs.protobuf.Value engValue = 3; */ public Builder clearEngValue() { if (engValueBuilder_ == null) { engValue_ = null; onChanged(); } else { engValueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** *
       * Engineering value (calibrated)
       * 
* * optional .yamcs.protobuf.Value engValue = 3; */ public org.yamcs.protobuf.Yamcs.Value.Builder getEngValueBuilder() { bitField0_ |= 0x00000004; onChanged(); return getEngValueFieldBuilder().getBuilder(); } /** *
       * Engineering value (calibrated)
       * 
* * optional .yamcs.protobuf.Value engValue = 3; */ public org.yamcs.protobuf.Yamcs.ValueOrBuilder getEngValueOrBuilder() { if (engValueBuilder_ != null) { return engValueBuilder_.getMessageOrBuilder(); } else { return engValue_ == null ? org.yamcs.protobuf.Yamcs.Value.getDefaultInstance() : engValue_; } } /** *
       * Engineering value (calibrated)
       * 
* * optional .yamcs.protobuf.Value engValue = 3; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder> getEngValueFieldBuilder() { if (engValueBuilder_ == null) { engValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder>( getEngValue(), getParentForChildren(), isClean()); engValue_ = null; } return engValueBuilder_; } private com.google.protobuf.Timestamp acquisitionTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> acquisitionTimeBuilder_; /** *
       * Time of Yamcs reception
       * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; * @return Whether the acquisitionTime field is set. */ public boolean hasAcquisitionTime() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Time of Yamcs reception
       * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; * @return The acquisitionTime. */ public com.google.protobuf.Timestamp getAcquisitionTime() { if (acquisitionTimeBuilder_ == null) { return acquisitionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : acquisitionTime_; } else { return acquisitionTimeBuilder_.getMessage(); } } /** *
       * Time of Yamcs reception
       * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; */ public Builder setAcquisitionTime(com.google.protobuf.Timestamp value) { if (acquisitionTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } acquisitionTime_ = value; onChanged(); } else { acquisitionTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** *
       * Time of Yamcs reception
       * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; */ public Builder setAcquisitionTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (acquisitionTimeBuilder_ == null) { acquisitionTime_ = builderForValue.build(); onChanged(); } else { acquisitionTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** *
       * Time of Yamcs reception
       * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; */ public Builder mergeAcquisitionTime(com.google.protobuf.Timestamp value) { if (acquisitionTimeBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && acquisitionTime_ != null && acquisitionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { acquisitionTime_ = com.google.protobuf.Timestamp.newBuilder(acquisitionTime_).mergeFrom(value).buildPartial(); } else { acquisitionTime_ = value; } onChanged(); } else { acquisitionTimeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** *
       * Time of Yamcs reception
       * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; */ public Builder clearAcquisitionTime() { if (acquisitionTimeBuilder_ == null) { acquisitionTime_ = null; onChanged(); } else { acquisitionTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** *
       * Time of Yamcs reception
       * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; */ public com.google.protobuf.Timestamp.Builder getAcquisitionTimeBuilder() { bitField0_ |= 0x00000008; onChanged(); return getAcquisitionTimeFieldBuilder().getBuilder(); } /** *
       * Time of Yamcs reception
       * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; */ public com.google.protobuf.TimestampOrBuilder getAcquisitionTimeOrBuilder() { if (acquisitionTimeBuilder_ != null) { return acquisitionTimeBuilder_.getMessageOrBuilder(); } else { return acquisitionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : acquisitionTime_; } } /** *
       * Time of Yamcs reception
       * 
* * optional .google.protobuf.Timestamp acquisitionTime = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getAcquisitionTimeFieldBuilder() { if (acquisitionTimeBuilder_ == null) { acquisitionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getAcquisitionTime(), getParentForChildren(), isClean()); acquisitionTime_ = null; } return acquisitionTimeBuilder_; } private com.google.protobuf.Timestamp generationTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> generationTimeBuilder_; /** *
       * Time of generation (~ packet time)
       * 
* * optional .google.protobuf.Timestamp generationTime = 5; * @return Whether the generationTime field is set. */ public boolean hasGenerationTime() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Time of generation (~ packet time)
       * 
* * optional .google.protobuf.Timestamp generationTime = 5; * @return The generationTime. */ public com.google.protobuf.Timestamp getGenerationTime() { if (generationTimeBuilder_ == null) { return generationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : generationTime_; } else { return generationTimeBuilder_.getMessage(); } } /** *
       * Time of generation (~ packet time)
       * 
* * optional .google.protobuf.Timestamp generationTime = 5; */ public Builder setGenerationTime(com.google.protobuf.Timestamp value) { if (generationTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } generationTime_ = value; onChanged(); } else { generationTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** *
       * Time of generation (~ packet time)
       * 
* * optional .google.protobuf.Timestamp generationTime = 5; */ public Builder setGenerationTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (generationTimeBuilder_ == null) { generationTime_ = builderForValue.build(); onChanged(); } else { generationTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** *
       * Time of generation (~ packet time)
       * 
* * optional .google.protobuf.Timestamp generationTime = 5; */ public Builder mergeGenerationTime(com.google.protobuf.Timestamp value) { if (generationTimeBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && generationTime_ != null && generationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { generationTime_ = com.google.protobuf.Timestamp.newBuilder(generationTime_).mergeFrom(value).buildPartial(); } else { generationTime_ = value; } onChanged(); } else { generationTimeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** *
       * Time of generation (~ packet time)
       * 
* * optional .google.protobuf.Timestamp generationTime = 5; */ public Builder clearGenerationTime() { if (generationTimeBuilder_ == null) { generationTime_ = null; onChanged(); } else { generationTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** *
       * Time of generation (~ packet time)
       * 
* * optional .google.protobuf.Timestamp generationTime = 5; */ public com.google.protobuf.Timestamp.Builder getGenerationTimeBuilder() { bitField0_ |= 0x00000010; onChanged(); return getGenerationTimeFieldBuilder().getBuilder(); } /** *
       * Time of generation (~ packet time)
       * 
* * optional .google.protobuf.Timestamp generationTime = 5; */ public com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder() { if (generationTimeBuilder_ != null) { return generationTimeBuilder_.getMessageOrBuilder(); } else { return generationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : generationTime_; } } /** *
       * Time of generation (~ packet time)
       * 
* * optional .google.protobuf.Timestamp generationTime = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getGenerationTimeFieldBuilder() { if (generationTimeBuilder_ == null) { generationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getGenerationTime(), getParentForChildren(), isClean()); generationTime_ = null; } return generationTimeBuilder_; } private int acquisitionStatus_ = 0; /** * optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6; * @return Whether the acquisitionStatus field is set. */ @java.lang.Override public boolean hasAcquisitionStatus() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6; * @return The acquisitionStatus. */ @java.lang.Override public org.yamcs.protobuf.Pvalue.AcquisitionStatus getAcquisitionStatus() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Pvalue.AcquisitionStatus result = org.yamcs.protobuf.Pvalue.AcquisitionStatus.valueOf(acquisitionStatus_); return result == null ? org.yamcs.protobuf.Pvalue.AcquisitionStatus.ACQUIRED : result; } /** * optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6; * @param value The acquisitionStatus to set. * @return This builder for chaining. */ public Builder setAcquisitionStatus(org.yamcs.protobuf.Pvalue.AcquisitionStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; acquisitionStatus_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.pvalue.AcquisitionStatus acquisitionStatus = 6; * @return This builder for chaining. */ public Builder clearAcquisitionStatus() { bitField0_ = (bitField0_ & ~0x00000020); acquisitionStatus_ = 0; onChanged(); return this; } private boolean processingStatus_ ; /** *
       * Deprecated: this field was originally introduced for compatibility
       * with Airbus CGS/CD-MCS system. It was redundant, because when false,
       * the acquisitionStatus is also set to INVALID.
       * 
* * optional bool processingStatus = 7 [deprecated = true]; * @deprecated * @return Whether the processingStatus field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasProcessingStatus() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * Deprecated: this field was originally introduced for compatibility
       * with Airbus CGS/CD-MCS system. It was redundant, because when false,
       * the acquisitionStatus is also set to INVALID.
       * 
* * optional bool processingStatus = 7 [deprecated = true]; * @deprecated * @return The processingStatus. */ @java.lang.Override @java.lang.Deprecated public boolean getProcessingStatus() { return processingStatus_; } /** *
       * Deprecated: this field was originally introduced for compatibility
       * with Airbus CGS/CD-MCS system. It was redundant, because when false,
       * the acquisitionStatus is also set to INVALID.
       * 
* * optional bool processingStatus = 7 [deprecated = true]; * @deprecated * @param value The processingStatus to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setProcessingStatus(boolean value) { bitField0_ |= 0x00000040; processingStatus_ = value; onChanged(); return this; } /** *
       * Deprecated: this field was originally introduced for compatibility
       * with Airbus CGS/CD-MCS system. It was redundant, because when false,
       * the acquisitionStatus is also set to INVALID.
       * 
* * optional bool processingStatus = 7 [deprecated = true]; * @deprecated * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearProcessingStatus() { bitField0_ = (bitField0_ & ~0x00000040); processingStatus_ = false; onChanged(); return this; } private int monitoringResult_ = 0; /** * optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8; * @return Whether the monitoringResult field is set. */ @java.lang.Override public boolean hasMonitoringResult() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8; * @return The monitoringResult. */ @java.lang.Override public org.yamcs.protobuf.Pvalue.MonitoringResult getMonitoringResult() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Pvalue.MonitoringResult result = org.yamcs.protobuf.Pvalue.MonitoringResult.valueOf(monitoringResult_); return result == null ? org.yamcs.protobuf.Pvalue.MonitoringResult.DISABLED : result; } /** * optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8; * @param value The monitoringResult to set. * @return This builder for chaining. */ public Builder setMonitoringResult(org.yamcs.protobuf.Pvalue.MonitoringResult value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; monitoringResult_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.pvalue.MonitoringResult monitoringResult = 8; * @return This builder for chaining. */ public Builder clearMonitoringResult() { bitField0_ = (bitField0_ & ~0x00000080); monitoringResult_ = 0; onChanged(); return this; } private int rangeCondition_ = 0; /** * optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9; * @return Whether the rangeCondition field is set. */ @java.lang.Override public boolean hasRangeCondition() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9; * @return The rangeCondition. */ @java.lang.Override public org.yamcs.protobuf.Pvalue.RangeCondition getRangeCondition() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Pvalue.RangeCondition result = org.yamcs.protobuf.Pvalue.RangeCondition.valueOf(rangeCondition_); return result == null ? org.yamcs.protobuf.Pvalue.RangeCondition.LOW : result; } /** * optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9; * @param value The rangeCondition to set. * @return This builder for chaining. */ public Builder setRangeCondition(org.yamcs.protobuf.Pvalue.RangeCondition value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; rangeCondition_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.pvalue.RangeCondition rangeCondition = 9; * @return This builder for chaining. */ public Builder clearRangeCondition() { bitField0_ = (bitField0_ & ~0x00000100); rangeCondition_ = 0; onChanged(); return this; } private java.util.List alarmRange_ = java.util.Collections.emptyList(); private void ensureAlarmRangeIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { alarmRange_ = new java.util.ArrayList(alarmRange_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmRange, org.yamcs.protobuf.Mdb.AlarmRange.Builder, org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder> alarmRangeBuilder_; /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public java.util.List getAlarmRangeList() { if (alarmRangeBuilder_ == null) { return java.util.Collections.unmodifiableList(alarmRange_); } else { return alarmRangeBuilder_.getMessageList(); } } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public int getAlarmRangeCount() { if (alarmRangeBuilder_ == null) { return alarmRange_.size(); } else { return alarmRangeBuilder_.getCount(); } } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public org.yamcs.protobuf.Mdb.AlarmRange getAlarmRange(int index) { if (alarmRangeBuilder_ == null) { return alarmRange_.get(index); } else { return alarmRangeBuilder_.getMessage(index); } } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public Builder setAlarmRange( int index, org.yamcs.protobuf.Mdb.AlarmRange value) { if (alarmRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlarmRangeIsMutable(); alarmRange_.set(index, value); onChanged(); } else { alarmRangeBuilder_.setMessage(index, value); } return this; } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public Builder setAlarmRange( int index, org.yamcs.protobuf.Mdb.AlarmRange.Builder builderForValue) { if (alarmRangeBuilder_ == null) { ensureAlarmRangeIsMutable(); alarmRange_.set(index, builderForValue.build()); onChanged(); } else { alarmRangeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public Builder addAlarmRange(org.yamcs.protobuf.Mdb.AlarmRange value) { if (alarmRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlarmRangeIsMutable(); alarmRange_.add(value); onChanged(); } else { alarmRangeBuilder_.addMessage(value); } return this; } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public Builder addAlarmRange( int index, org.yamcs.protobuf.Mdb.AlarmRange value) { if (alarmRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlarmRangeIsMutable(); alarmRange_.add(index, value); onChanged(); } else { alarmRangeBuilder_.addMessage(index, value); } return this; } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public Builder addAlarmRange( org.yamcs.protobuf.Mdb.AlarmRange.Builder builderForValue) { if (alarmRangeBuilder_ == null) { ensureAlarmRangeIsMutable(); alarmRange_.add(builderForValue.build()); onChanged(); } else { alarmRangeBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public Builder addAlarmRange( int index, org.yamcs.protobuf.Mdb.AlarmRange.Builder builderForValue) { if (alarmRangeBuilder_ == null) { ensureAlarmRangeIsMutable(); alarmRange_.add(index, builderForValue.build()); onChanged(); } else { alarmRangeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public Builder addAllAlarmRange( java.lang.Iterable values) { if (alarmRangeBuilder_ == null) { ensureAlarmRangeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, alarmRange_); onChanged(); } else { alarmRangeBuilder_.addAllMessages(values); } return this; } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public Builder clearAlarmRange() { if (alarmRangeBuilder_ == null) { alarmRange_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { alarmRangeBuilder_.clear(); } return this; } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public Builder removeAlarmRange(int index) { if (alarmRangeBuilder_ == null) { ensureAlarmRangeIsMutable(); alarmRange_.remove(index); onChanged(); } else { alarmRangeBuilder_.remove(index); } return this; } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public org.yamcs.protobuf.Mdb.AlarmRange.Builder getAlarmRangeBuilder( int index) { return getAlarmRangeFieldBuilder().getBuilder(index); } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getAlarmRangeOrBuilder( int index) { if (alarmRangeBuilder_ == null) { return alarmRange_.get(index); } else { return alarmRangeBuilder_.getMessageOrBuilder(index); } } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public java.util.List getAlarmRangeOrBuilderList() { if (alarmRangeBuilder_ != null) { return alarmRangeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(alarmRange_); } } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public org.yamcs.protobuf.Mdb.AlarmRange.Builder addAlarmRangeBuilder() { return getAlarmRangeFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.AlarmRange.getDefaultInstance()); } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public org.yamcs.protobuf.Mdb.AlarmRange.Builder addAlarmRangeBuilder( int index) { return getAlarmRangeFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.AlarmRange.getDefaultInstance()); } /** *
       * Context-dependent ranges
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange alarmRange = 25; */ public java.util.List getAlarmRangeBuilderList() { return getAlarmRangeFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmRange, org.yamcs.protobuf.Mdb.AlarmRange.Builder, org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder> getAlarmRangeFieldBuilder() { if (alarmRangeBuilder_ == null) { alarmRangeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmRange, org.yamcs.protobuf.Mdb.AlarmRange.Builder, org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder>( alarmRange_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); alarmRange_ = null; } return alarmRangeBuilder_; } private long expireMillis_ ; /** *
       * How long (in milliseconds) this parameter value is valid
       * Note that there is an option when subscribing to parameters to get
       * updated when the parameter values expire. 
       * 
* * optional int64 expireMillis = 26; * @return Whether the expireMillis field is set. */ @java.lang.Override public boolean hasExpireMillis() { return ((bitField0_ & 0x00000400) != 0); } /** *
       * How long (in milliseconds) this parameter value is valid
       * Note that there is an option when subscribing to parameters to get
       * updated when the parameter values expire. 
       * 
* * optional int64 expireMillis = 26; * @return The expireMillis. */ @java.lang.Override public long getExpireMillis() { return expireMillis_; } /** *
       * How long (in milliseconds) this parameter value is valid
       * Note that there is an option when subscribing to parameters to get
       * updated when the parameter values expire. 
       * 
* * optional int64 expireMillis = 26; * @param value The expireMillis to set. * @return This builder for chaining. */ public Builder setExpireMillis(long value) { bitField0_ |= 0x00000400; expireMillis_ = value; onChanged(); return this; } /** *
       * How long (in milliseconds) this parameter value is valid
       * Note that there is an option when subscribing to parameters to get
       * updated when the parameter values expire. 
       * 
* * optional int64 expireMillis = 26; * @return This builder for chaining. */ public Builder clearExpireMillis() { bitField0_ = (bitField0_ & ~0x00000400); expireMillis_ = 0L; onChanged(); return this; } private int numericId_ ; /** *
       * When transferring parameters over WebSocket, this value might be used
       * instead of the id above in order to reduce the bandwidth.
       * Note that the id <-> numericId assignment is only valid in the context
       * of a single WebSocket call.
       * 
* * optional uint32 numericId = 27; * @return Whether the numericId field is set. */ @java.lang.Override public boolean hasNumericId() { return ((bitField0_ & 0x00000800) != 0); } /** *
       * When transferring parameters over WebSocket, this value might be used
       * instead of the id above in order to reduce the bandwidth.
       * Note that the id <-> numericId assignment is only valid in the context
       * of a single WebSocket call.
       * 
* * optional uint32 numericId = 27; * @return The numericId. */ @java.lang.Override public int getNumericId() { return numericId_; } /** *
       * When transferring parameters over WebSocket, this value might be used
       * instead of the id above in order to reduce the bandwidth.
       * Note that the id <-> numericId assignment is only valid in the context
       * of a single WebSocket call.
       * 
* * optional uint32 numericId = 27; * @param value The numericId to set. * @return This builder for chaining. */ public Builder setNumericId(int value) { bitField0_ |= 0x00000800; numericId_ = value; onChanged(); return this; } /** *
       * When transferring parameters over WebSocket, this value might be used
       * instead of the id above in order to reduce the bandwidth.
       * Note that the id <-> numericId assignment is only valid in the context
       * of a single WebSocket call.
       * 
* * optional uint32 numericId = 27; * @return This builder for chaining. */ public Builder clearNumericId() { bitField0_ = (bitField0_ & ~0x00000800); numericId_ = 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.pvalue.ParameterValue) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.pvalue.ParameterValue) private static final org.yamcs.protobuf.Pvalue.ParameterValue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Pvalue.ParameterValue(); } public static org.yamcs.protobuf.Pvalue.ParameterValue getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ParameterValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ParameterValue(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.Pvalue.ParameterValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ParameterDataOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.pvalue.ParameterData) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ java.util.List getParameterList(); /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ org.yamcs.protobuf.Pvalue.ParameterValue getParameter(int index); /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ int getParameterCount(); /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ java.util.List getParameterOrBuilderList(); /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder getParameterOrBuilder( int index); /** *
     * The next three fields are used by the recorder as unique key to store
     * parameters in "rows" and also by components that provide parameters
     * from external sources. The time should roughly correspond to the parameter 
     * time but can be rounded for better efficiency.
     * 
* * optional string group = 2; * @return Whether the group field is set. */ boolean hasGroup(); /** *
     * The next three fields are used by the recorder as unique key to store
     * parameters in "rows" and also by components that provide parameters
     * from external sources. The time should roughly correspond to the parameter 
     * time but can be rounded for better efficiency.
     * 
* * optional string group = 2; * @return The group. */ java.lang.String getGroup(); /** *
     * The next three fields are used by the recorder as unique key to store
     * parameters in "rows" and also by components that provide parameters
     * from external sources. The time should roughly correspond to the parameter 
     * time but can be rounded for better efficiency.
     * 
* * optional string group = 2; * @return The bytes for group. */ com.google.protobuf.ByteString getGroupBytes(); /** * optional int64 generationTime = 3; * @return Whether the generationTime field is set. */ boolean hasGenerationTime(); /** * optional int64 generationTime = 3; * @return The generationTime. */ long getGenerationTime(); /** * optional int32 seqNum = 4; * @return Whether the seqNum field is set. */ boolean hasSeqNum(); /** * optional int32 seqNum = 4; * @return The seqNum. */ int getSeqNum(); /** *
     * Used when parameter data is delivered as result of subscriptions
     * 
* * optional int32 subscriptionId = 5; * @return Whether the subscriptionId field is set. */ boolean hasSubscriptionId(); /** *
     * Used when parameter data is delivered as result of subscriptions
     * 
* * optional int32 subscriptionId = 5; * @return The subscriptionId. */ int getSubscriptionId(); } /** * Protobuf type {@code yamcs.protobuf.pvalue.ParameterData} */ public static final class ParameterData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.pvalue.ParameterData) ParameterDataOrBuilder { private static final long serialVersionUID = 0L; // Use ParameterData.newBuilder() to construct. private ParameterData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ParameterData() { parameter_ = java.util.Collections.emptyList(); group_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ParameterData(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ParameterData( 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: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { parameter_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } parameter_.add( input.readMessage(org.yamcs.protobuf.Pvalue.ParameterValue.PARSER, extensionRegistry)); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; group_ = bs; break; } case 24: { bitField0_ |= 0x00000002; generationTime_ = input.readInt64(); break; } case 32: { bitField0_ |= 0x00000004; seqNum_ = input.readInt32(); break; } case 40: { bitField0_ |= 0x00000008; subscriptionId_ = 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { parameter_ = java.util.Collections.unmodifiableList(parameter_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_ParameterData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_ParameterData_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Pvalue.ParameterData.class, org.yamcs.protobuf.Pvalue.ParameterData.Builder.class); } private int bitField0_; public static final int PARAMETER_FIELD_NUMBER = 1; private java.util.List parameter_; /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ @java.lang.Override public java.util.List getParameterList() { return parameter_; } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ @java.lang.Override public java.util.List getParameterOrBuilderList() { return parameter_; } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ @java.lang.Override public int getParameterCount() { return parameter_.size(); } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ @java.lang.Override public org.yamcs.protobuf.Pvalue.ParameterValue getParameter(int index) { return parameter_.get(index); } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ @java.lang.Override public org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder getParameterOrBuilder( int index) { return parameter_.get(index); } public static final int GROUP_FIELD_NUMBER = 2; private volatile java.lang.Object group_; /** *
     * The next three fields are used by the recorder as unique key to store
     * parameters in "rows" and also by components that provide parameters
     * from external sources. The time should roughly correspond to the parameter 
     * time but can be rounded for better efficiency.
     * 
* * optional string group = 2; * @return Whether the group field is set. */ @java.lang.Override public boolean hasGroup() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The next three fields are used by the recorder as unique key to store
     * parameters in "rows" and also by components that provide parameters
     * from external sources. The time should roughly correspond to the parameter 
     * time but can be rounded for better efficiency.
     * 
* * optional string group = 2; * @return The group. */ @java.lang.Override public java.lang.String getGroup() { java.lang.Object ref = group_; 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()) { group_ = s; } return s; } } /** *
     * The next three fields are used by the recorder as unique key to store
     * parameters in "rows" and also by components that provide parameters
     * from external sources. The time should roughly correspond to the parameter 
     * time but can be rounded for better efficiency.
     * 
* * optional string group = 2; * @return The bytes for group. */ @java.lang.Override public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GENERATIONTIME_FIELD_NUMBER = 3; private long generationTime_; /** * optional int64 generationTime = 3; * @return Whether the generationTime field is set. */ @java.lang.Override public boolean hasGenerationTime() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 generationTime = 3; * @return The generationTime. */ @java.lang.Override public long getGenerationTime() { return generationTime_; } public static final int SEQNUM_FIELD_NUMBER = 4; private int seqNum_; /** * optional int32 seqNum = 4; * @return Whether the seqNum field is set. */ @java.lang.Override public boolean hasSeqNum() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 seqNum = 4; * @return The seqNum. */ @java.lang.Override public int getSeqNum() { return seqNum_; } public static final int SUBSCRIPTIONID_FIELD_NUMBER = 5; private int subscriptionId_; /** *
     * Used when parameter data is delivered as result of subscriptions
     * 
* * optional int32 subscriptionId = 5; * @return Whether the subscriptionId field is set. */ @java.lang.Override public boolean hasSubscriptionId() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Used when parameter data is delivered as result of subscriptions
     * 
* * optional int32 subscriptionId = 5; * @return The subscriptionId. */ @java.lang.Override public int getSubscriptionId() { return subscriptionId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getParameterCount(); i++) { if (!getParameter(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < parameter_.size(); i++) { output.writeMessage(1, parameter_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, group_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(3, generationTime_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(4, seqNum_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(5, subscriptionId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < parameter_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, parameter_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, group_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, generationTime_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, seqNum_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, subscriptionId_); } 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.Pvalue.ParameterData)) { return super.equals(obj); } org.yamcs.protobuf.Pvalue.ParameterData other = (org.yamcs.protobuf.Pvalue.ParameterData) obj; if (!getParameterList() .equals(other.getParameterList())) return false; if (hasGroup() != other.hasGroup()) return false; if (hasGroup()) { if (!getGroup() .equals(other.getGroup())) return false; } if (hasGenerationTime() != other.hasGenerationTime()) return false; if (hasGenerationTime()) { if (getGenerationTime() != other.getGenerationTime()) return false; } if (hasSeqNum() != other.hasSeqNum()) return false; if (hasSeqNum()) { if (getSeqNum() != other.getSeqNum()) return false; } if (hasSubscriptionId() != other.hasSubscriptionId()) return false; if (hasSubscriptionId()) { if (getSubscriptionId() != other.getSubscriptionId()) 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 (getParameterCount() > 0) { hash = (37 * hash) + PARAMETER_FIELD_NUMBER; hash = (53 * hash) + getParameterList().hashCode(); } if (hasGroup()) { hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroup().hashCode(); } if (hasGenerationTime()) { hash = (37 * hash) + GENERATIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGenerationTime()); } if (hasSeqNum()) { hash = (37 * hash) + SEQNUM_FIELD_NUMBER; hash = (53 * hash) + getSeqNum(); } if (hasSubscriptionId()) { hash = (37 * hash) + SUBSCRIPTIONID_FIELD_NUMBER; hash = (53 * hash) + getSubscriptionId(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Pvalue.ParameterData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.ParameterData 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.Pvalue.ParameterData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.ParameterData 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.Pvalue.ParameterData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.ParameterData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Pvalue.ParameterData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.ParameterData 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.Pvalue.ParameterData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.ParameterData 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.Pvalue.ParameterData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.ParameterData 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.Pvalue.ParameterData 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.pvalue.ParameterData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.pvalue.ParameterData) org.yamcs.protobuf.Pvalue.ParameterDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_ParameterData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_ParameterData_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Pvalue.ParameterData.class, org.yamcs.protobuf.Pvalue.ParameterData.Builder.class); } // Construct using org.yamcs.protobuf.Pvalue.ParameterData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getParameterFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (parameterBuilder_ == null) { parameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { parameterBuilder_.clear(); } group_ = ""; bitField0_ = (bitField0_ & ~0x00000002); generationTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); seqNum_ = 0; bitField0_ = (bitField0_ & ~0x00000008); subscriptionId_ = 0; bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_ParameterData_descriptor; } @java.lang.Override public org.yamcs.protobuf.Pvalue.ParameterData getDefaultInstanceForType() { return org.yamcs.protobuf.Pvalue.ParameterData.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Pvalue.ParameterData build() { org.yamcs.protobuf.Pvalue.ParameterData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Pvalue.ParameterData buildPartial() { org.yamcs.protobuf.Pvalue.ParameterData result = new org.yamcs.protobuf.Pvalue.ParameterData(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (parameterBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { parameter_ = java.util.Collections.unmodifiableList(parameter_); bitField0_ = (bitField0_ & ~0x00000001); } result.parameter_ = parameter_; } else { result.parameter_ = parameterBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000001; } result.group_ = group_; if (((from_bitField0_ & 0x00000004) != 0)) { result.generationTime_ = generationTime_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.seqNum_ = seqNum_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { result.subscriptionId_ = subscriptionId_; to_bitField0_ |= 0x00000008; } 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.Pvalue.ParameterData) { return mergeFrom((org.yamcs.protobuf.Pvalue.ParameterData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Pvalue.ParameterData other) { if (other == org.yamcs.protobuf.Pvalue.ParameterData.getDefaultInstance()) return this; if (parameterBuilder_ == null) { if (!other.parameter_.isEmpty()) { if (parameter_.isEmpty()) { parameter_ = other.parameter_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureParameterIsMutable(); parameter_.addAll(other.parameter_); } onChanged(); } } else { if (!other.parameter_.isEmpty()) { if (parameterBuilder_.isEmpty()) { parameterBuilder_.dispose(); parameterBuilder_ = null; parameter_ = other.parameter_; bitField0_ = (bitField0_ & ~0x00000001); parameterBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getParameterFieldBuilder() : null; } else { parameterBuilder_.addAllMessages(other.parameter_); } } } if (other.hasGroup()) { bitField0_ |= 0x00000002; group_ = other.group_; onChanged(); } if (other.hasGenerationTime()) { setGenerationTime(other.getGenerationTime()); } if (other.hasSeqNum()) { setSeqNum(other.getSeqNum()); } if (other.hasSubscriptionId()) { setSubscriptionId(other.getSubscriptionId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getParameterCount(); i++) { if (!getParameter(i).isInitialized()) { return false; } } 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.Pvalue.ParameterData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Pvalue.ParameterData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List parameter_ = java.util.Collections.emptyList(); private void ensureParameterIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { parameter_ = new java.util.ArrayList(parameter_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Pvalue.ParameterValue, org.yamcs.protobuf.Pvalue.ParameterValue.Builder, org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder> parameterBuilder_; /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public java.util.List getParameterList() { if (parameterBuilder_ == null) { return java.util.Collections.unmodifiableList(parameter_); } else { return parameterBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public int getParameterCount() { if (parameterBuilder_ == null) { return parameter_.size(); } else { return parameterBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public org.yamcs.protobuf.Pvalue.ParameterValue getParameter(int index) { if (parameterBuilder_ == null) { return parameter_.get(index); } else { return parameterBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public Builder setParameter( int index, org.yamcs.protobuf.Pvalue.ParameterValue value) { if (parameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParameterIsMutable(); parameter_.set(index, value); onChanged(); } else { parameterBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public Builder setParameter( int index, org.yamcs.protobuf.Pvalue.ParameterValue.Builder builderForValue) { if (parameterBuilder_ == null) { ensureParameterIsMutable(); parameter_.set(index, builderForValue.build()); onChanged(); } else { parameterBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public Builder addParameter(org.yamcs.protobuf.Pvalue.ParameterValue value) { if (parameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParameterIsMutable(); parameter_.add(value); onChanged(); } else { parameterBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public Builder addParameter( int index, org.yamcs.protobuf.Pvalue.ParameterValue value) { if (parameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParameterIsMutable(); parameter_.add(index, value); onChanged(); } else { parameterBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public Builder addParameter( org.yamcs.protobuf.Pvalue.ParameterValue.Builder builderForValue) { if (parameterBuilder_ == null) { ensureParameterIsMutable(); parameter_.add(builderForValue.build()); onChanged(); } else { parameterBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public Builder addParameter( int index, org.yamcs.protobuf.Pvalue.ParameterValue.Builder builderForValue) { if (parameterBuilder_ == null) { ensureParameterIsMutable(); parameter_.add(index, builderForValue.build()); onChanged(); } else { parameterBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public Builder addAllParameter( java.lang.Iterable values) { if (parameterBuilder_ == null) { ensureParameterIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, parameter_); onChanged(); } else { parameterBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public Builder clearParameter() { if (parameterBuilder_ == null) { parameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { parameterBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public Builder removeParameter(int index) { if (parameterBuilder_ == null) { ensureParameterIsMutable(); parameter_.remove(index); onChanged(); } else { parameterBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public org.yamcs.protobuf.Pvalue.ParameterValue.Builder getParameterBuilder( int index) { return getParameterFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder getParameterOrBuilder( int index) { if (parameterBuilder_ == null) { return parameter_.get(index); } else { return parameterBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public java.util.List getParameterOrBuilderList() { if (parameterBuilder_ != null) { return parameterBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(parameter_); } } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public org.yamcs.protobuf.Pvalue.ParameterValue.Builder addParameterBuilder() { return getParameterFieldBuilder().addBuilder( org.yamcs.protobuf.Pvalue.ParameterValue.getDefaultInstance()); } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public org.yamcs.protobuf.Pvalue.ParameterValue.Builder addParameterBuilder( int index) { return getParameterFieldBuilder().addBuilder( index, org.yamcs.protobuf.Pvalue.ParameterValue.getDefaultInstance()); } /** * repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1; */ public java.util.List getParameterBuilderList() { return getParameterFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Pvalue.ParameterValue, org.yamcs.protobuf.Pvalue.ParameterValue.Builder, org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder> getParameterFieldBuilder() { if (parameterBuilder_ == null) { parameterBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Pvalue.ParameterValue, org.yamcs.protobuf.Pvalue.ParameterValue.Builder, org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder>( parameter_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); parameter_ = null; } return parameterBuilder_; } private java.lang.Object group_ = ""; /** *
       * The next three fields are used by the recorder as unique key to store
       * parameters in "rows" and also by components that provide parameters
       * from external sources. The time should roughly correspond to the parameter 
       * time but can be rounded for better efficiency.
       * 
* * optional string group = 2; * @return Whether the group field is set. */ public boolean hasGroup() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The next three fields are used by the recorder as unique key to store
       * parameters in "rows" and also by components that provide parameters
       * from external sources. The time should roughly correspond to the parameter 
       * time but can be rounded for better efficiency.
       * 
* * optional string group = 2; * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; 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()) { group_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * The next three fields are used by the recorder as unique key to store
       * parameters in "rows" and also by components that provide parameters
       * from external sources. The time should roughly correspond to the parameter 
       * time but can be rounded for better efficiency.
       * 
* * optional string group = 2; * @return The bytes for group. */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The next three fields are used by the recorder as unique key to store
       * parameters in "rows" and also by components that provide parameters
       * from external sources. The time should roughly correspond to the parameter 
       * time but can be rounded for better efficiency.
       * 
* * optional string group = 2; * @param value The group to set. * @return This builder for chaining. */ public Builder setGroup( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; group_ = value; onChanged(); return this; } /** *
       * The next three fields are used by the recorder as unique key to store
       * parameters in "rows" and also by components that provide parameters
       * from external sources. The time should roughly correspond to the parameter 
       * time but can be rounded for better efficiency.
       * 
* * optional string group = 2; * @return This builder for chaining. */ public Builder clearGroup() { bitField0_ = (bitField0_ & ~0x00000002); group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** *
       * The next three fields are used by the recorder as unique key to store
       * parameters in "rows" and also by components that provide parameters
       * from external sources. The time should roughly correspond to the parameter 
       * time but can be rounded for better efficiency.
       * 
* * optional string group = 2; * @param value The bytes for group to set. * @return This builder for chaining. */ public Builder setGroupBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; group_ = value; onChanged(); return this; } private long generationTime_ ; /** * optional int64 generationTime = 3; * @return Whether the generationTime field is set. */ @java.lang.Override public boolean hasGenerationTime() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 generationTime = 3; * @return The generationTime. */ @java.lang.Override public long getGenerationTime() { return generationTime_; } /** * optional int64 generationTime = 3; * @param value The generationTime to set. * @return This builder for chaining. */ public Builder setGenerationTime(long value) { bitField0_ |= 0x00000004; generationTime_ = value; onChanged(); return this; } /** * optional int64 generationTime = 3; * @return This builder for chaining. */ public Builder clearGenerationTime() { bitField0_ = (bitField0_ & ~0x00000004); generationTime_ = 0L; onChanged(); return this; } private int seqNum_ ; /** * optional int32 seqNum = 4; * @return Whether the seqNum field is set. */ @java.lang.Override public boolean hasSeqNum() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 seqNum = 4; * @return The seqNum. */ @java.lang.Override public int getSeqNum() { return seqNum_; } /** * optional int32 seqNum = 4; * @param value The seqNum to set. * @return This builder for chaining. */ public Builder setSeqNum(int value) { bitField0_ |= 0x00000008; seqNum_ = value; onChanged(); return this; } /** * optional int32 seqNum = 4; * @return This builder for chaining. */ public Builder clearSeqNum() { bitField0_ = (bitField0_ & ~0x00000008); seqNum_ = 0; onChanged(); return this; } private int subscriptionId_ ; /** *
       * Used when parameter data is delivered as result of subscriptions
       * 
* * optional int32 subscriptionId = 5; * @return Whether the subscriptionId field is set. */ @java.lang.Override public boolean hasSubscriptionId() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Used when parameter data is delivered as result of subscriptions
       * 
* * optional int32 subscriptionId = 5; * @return The subscriptionId. */ @java.lang.Override public int getSubscriptionId() { return subscriptionId_; } /** *
       * Used when parameter data is delivered as result of subscriptions
       * 
* * optional int32 subscriptionId = 5; * @param value The subscriptionId to set. * @return This builder for chaining. */ public Builder setSubscriptionId(int value) { bitField0_ |= 0x00000010; subscriptionId_ = value; onChanged(); return this; } /** *
       * Used when parameter data is delivered as result of subscriptions
       * 
* * optional int32 subscriptionId = 5; * @return This builder for chaining. */ public Builder clearSubscriptionId() { bitField0_ = (bitField0_ & ~0x00000010); subscriptionId_ = 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.pvalue.ParameterData) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.pvalue.ParameterData) private static final org.yamcs.protobuf.Pvalue.ParameterData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Pvalue.ParameterData(); } public static org.yamcs.protobuf.Pvalue.ParameterData getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ParameterData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ParameterData(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.Pvalue.ParameterData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TimeSeriesOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.pvalue.TimeSeries) com.google.protobuf.MessageOrBuilder { /** *
     * List of samples.
     * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ java.util.List getSampleList(); /** *
     * List of samples.
     * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ org.yamcs.protobuf.Pvalue.TimeSeries.Sample getSample(int index); /** *
     * List of samples.
     * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ int getSampleCount(); /** *
     * List of samples.
     * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ java.util.List getSampleOrBuilderList(); /** *
     * List of samples.
     * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ org.yamcs.protobuf.Pvalue.TimeSeries.SampleOrBuilder getSampleOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.pvalue.TimeSeries} */ public static final class TimeSeries extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.pvalue.TimeSeries) TimeSeriesOrBuilder { private static final long serialVersionUID = 0L; // Use TimeSeries.newBuilder() to construct. private TimeSeries(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TimeSeries() { sample_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TimeSeries(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TimeSeries( 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: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { sample_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } sample_.add( input.readMessage(org.yamcs.protobuf.Pvalue.TimeSeries.Sample.PARSER, extensionRegistry)); 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { sample_ = java.util.Collections.unmodifiableList(sample_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Pvalue.TimeSeries.class, org.yamcs.protobuf.Pvalue.TimeSeries.Builder.class); } public interface SampleOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.pvalue.TimeSeries.Sample) com.google.protobuf.MessageOrBuilder { /** *
       * Start time of the sample interval.
       * 
* * optional .google.protobuf.Timestamp time = 6; * @return Whether the time field is set. */ boolean hasTime(); /** *
       * Start time of the sample interval.
       * 
* * optional .google.protobuf.Timestamp time = 6; * @return The time. */ com.google.protobuf.Timestamp getTime(); /** *
       * Start time of the sample interval.
       * 
* * optional .google.protobuf.Timestamp time = 6; */ com.google.protobuf.TimestampOrBuilder getTimeOrBuilder(); /** *
       * Average numeric value during the sample interval.
       * 
* * optional double avg = 2; * @return Whether the avg field is set. */ boolean hasAvg(); /** *
       * Average numeric value during the sample interval.
       * 
* * optional double avg = 2; * @return The avg. */ double getAvg(); /** *
       * Minimum numeric value during the sample interval.
       * 
* * optional double min = 3; * @return Whether the min field is set. */ boolean hasMin(); /** *
       * Minimum numeric value during the sample interval.
       * 
* * optional double min = 3; * @return The min. */ double getMin(); /** *
       * Maximum numeric value during the sample interval.
       * 
* * optional double max = 4; * @return Whether the max field is set. */ boolean hasMax(); /** *
       * Maximum numeric value during the sample interval.
       * 
* * optional double max = 4; * @return The max. */ double getMax(); /** *
       * Number of samples during the sample interval.
       * If this value is zero, it indicates a gap.
       * 
* * optional int32 n = 5; * @return Whether the n field is set. */ boolean hasN(); /** *
       * Number of samples during the sample interval.
       * If this value is zero, it indicates a gap.
       * 
* * optional int32 n = 5; * @return The n. */ int getN(); /** *
       * Generation time of the ``min`` value.
       * 
* * optional .google.protobuf.Timestamp minTime = 7; * @return Whether the minTime field is set. */ boolean hasMinTime(); /** *
       * Generation time of the ``min`` value.
       * 
* * optional .google.protobuf.Timestamp minTime = 7; * @return The minTime. */ com.google.protobuf.Timestamp getMinTime(); /** *
       * Generation time of the ``min`` value.
       * 
* * optional .google.protobuf.Timestamp minTime = 7; */ com.google.protobuf.TimestampOrBuilder getMinTimeOrBuilder(); /** *
       * Generation time of the ``max`` value.
       * 
* * optional .google.protobuf.Timestamp maxTime = 8; * @return Whether the maxTime field is set. */ boolean hasMaxTime(); /** *
       * Generation time of the ``max`` value.
       * 
* * optional .google.protobuf.Timestamp maxTime = 8; * @return The maxTime. */ com.google.protobuf.Timestamp getMaxTime(); /** *
       * Generation time of the ``max`` value.
       * 
* * optional .google.protobuf.Timestamp maxTime = 8; */ com.google.protobuf.TimestampOrBuilder getMaxTimeOrBuilder(); } /** * Protobuf type {@code yamcs.protobuf.pvalue.TimeSeries.Sample} */ public static final class Sample extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.pvalue.TimeSeries.Sample) SampleOrBuilder { private static final long serialVersionUID = 0L; // Use Sample.newBuilder() to construct. private Sample(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Sample() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Sample(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Sample( 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 17: { bitField0_ |= 0x00000002; avg_ = input.readDouble(); break; } case 25: { bitField0_ |= 0x00000004; min_ = input.readDouble(); break; } case 33: { bitField0_ |= 0x00000008; max_ = input.readDouble(); break; } case 40: { bitField0_ |= 0x00000010; n_ = input.readInt32(); break; } case 50: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = time_.toBuilder(); } time_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(time_); time_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 58: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000020) != 0)) { subBuilder = minTime_.toBuilder(); } minTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(minTime_); minTime_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 66: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000040) != 0)) { subBuilder = maxTime_.toBuilder(); } maxTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxTime_); maxTime_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; 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.Pvalue.internal_static_yamcs_protobuf_pvalue_TimeSeries_Sample_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_TimeSeries_Sample_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Pvalue.TimeSeries.Sample.class, org.yamcs.protobuf.Pvalue.TimeSeries.Sample.Builder.class); } private int bitField0_; public static final int TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp time_; /** *
       * Start time of the sample interval.
       * 
* * optional .google.protobuf.Timestamp time = 6; * @return Whether the time field is set. */ @java.lang.Override public boolean hasTime() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Start time of the sample interval.
       * 
* * optional .google.protobuf.Timestamp time = 6; * @return The time. */ @java.lang.Override public com.google.protobuf.Timestamp getTime() { return time_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : time_; } /** *
       * Start time of the sample interval.
       * 
* * optional .google.protobuf.Timestamp time = 6; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { return time_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : time_; } public static final int AVG_FIELD_NUMBER = 2; private double avg_; /** *
       * Average numeric value during the sample interval.
       * 
* * optional double avg = 2; * @return Whether the avg field is set. */ @java.lang.Override public boolean hasAvg() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Average numeric value during the sample interval.
       * 
* * optional double avg = 2; * @return The avg. */ @java.lang.Override public double getAvg() { return avg_; } public static final int MIN_FIELD_NUMBER = 3; private double min_; /** *
       * Minimum numeric value during the sample interval.
       * 
* * optional double min = 3; * @return Whether the min field is set. */ @java.lang.Override public boolean hasMin() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Minimum numeric value during the sample interval.
       * 
* * optional double min = 3; * @return The min. */ @java.lang.Override public double getMin() { return min_; } public static final int MAX_FIELD_NUMBER = 4; private double max_; /** *
       * Maximum numeric value during the sample interval.
       * 
* * optional double max = 4; * @return Whether the max field is set. */ @java.lang.Override public boolean hasMax() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Maximum numeric value during the sample interval.
       * 
* * optional double max = 4; * @return The max. */ @java.lang.Override public double getMax() { return max_; } public static final int N_FIELD_NUMBER = 5; private int n_; /** *
       * Number of samples during the sample interval.
       * If this value is zero, it indicates a gap.
       * 
* * optional int32 n = 5; * @return Whether the n field is set. */ @java.lang.Override public boolean hasN() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Number of samples during the sample interval.
       * If this value is zero, it indicates a gap.
       * 
* * optional int32 n = 5; * @return The n. */ @java.lang.Override public int getN() { return n_; } public static final int MINTIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp minTime_; /** *
       * Generation time of the ``min`` value.
       * 
* * optional .google.protobuf.Timestamp minTime = 7; * @return Whether the minTime field is set. */ @java.lang.Override public boolean hasMinTime() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Generation time of the ``min`` value.
       * 
* * optional .google.protobuf.Timestamp minTime = 7; * @return The minTime. */ @java.lang.Override public com.google.protobuf.Timestamp getMinTime() { return minTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : minTime_; } /** *
       * Generation time of the ``min`` value.
       * 
* * optional .google.protobuf.Timestamp minTime = 7; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getMinTimeOrBuilder() { return minTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : minTime_; } public static final int MAXTIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp maxTime_; /** *
       * Generation time of the ``max`` value.
       * 
* * optional .google.protobuf.Timestamp maxTime = 8; * @return Whether the maxTime field is set. */ @java.lang.Override public boolean hasMaxTime() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * Generation time of the ``max`` value.
       * 
* * optional .google.protobuf.Timestamp maxTime = 8; * @return The maxTime. */ @java.lang.Override public com.google.protobuf.Timestamp getMaxTime() { return maxTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maxTime_; } /** *
       * Generation time of the ``max`` value.
       * 
* * optional .google.protobuf.Timestamp maxTime = 8; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getMaxTimeOrBuilder() { return maxTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maxTime_; } 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_ & 0x00000002) != 0)) { output.writeDouble(2, avg_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(3, min_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeDouble(4, max_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(5, n_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(6, getTime()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(7, getMinTime()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(8, getMaxTime()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, avg_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, min_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, max_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, n_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getTime()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getMinTime()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getMaxTime()); } 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.Pvalue.TimeSeries.Sample)) { return super.equals(obj); } org.yamcs.protobuf.Pvalue.TimeSeries.Sample other = (org.yamcs.protobuf.Pvalue.TimeSeries.Sample) obj; if (hasTime() != other.hasTime()) return false; if (hasTime()) { if (!getTime() .equals(other.getTime())) return false; } if (hasAvg() != other.hasAvg()) return false; if (hasAvg()) { if (java.lang.Double.doubleToLongBits(getAvg()) != java.lang.Double.doubleToLongBits( other.getAvg())) return false; } if (hasMin() != other.hasMin()) return false; if (hasMin()) { if (java.lang.Double.doubleToLongBits(getMin()) != java.lang.Double.doubleToLongBits( other.getMin())) return false; } if (hasMax() != other.hasMax()) return false; if (hasMax()) { if (java.lang.Double.doubleToLongBits(getMax()) != java.lang.Double.doubleToLongBits( other.getMax())) return false; } if (hasN() != other.hasN()) return false; if (hasN()) { if (getN() != other.getN()) return false; } if (hasMinTime() != other.hasMinTime()) return false; if (hasMinTime()) { if (!getMinTime() .equals(other.getMinTime())) return false; } if (hasMaxTime() != other.hasMaxTime()) return false; if (hasMaxTime()) { if (!getMaxTime() .equals(other.getMaxTime())) 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 (hasTime()) { hash = (37 * hash) + TIME_FIELD_NUMBER; hash = (53 * hash) + getTime().hashCode(); } if (hasAvg()) { hash = (37 * hash) + AVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getAvg())); } if (hasMin()) { hash = (37 * hash) + MIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMin())); } if (hasMax()) { hash = (37 * hash) + MAX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMax())); } if (hasN()) { hash = (37 * hash) + N_FIELD_NUMBER; hash = (53 * hash) + getN(); } if (hasMinTime()) { hash = (37 * hash) + MINTIME_FIELD_NUMBER; hash = (53 * hash) + getMinTime().hashCode(); } if (hasMaxTime()) { hash = (37 * hash) + MAXTIME_FIELD_NUMBER; hash = (53 * hash) + getMaxTime().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Pvalue.TimeSeries.Sample parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.TimeSeries.Sample 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.Pvalue.TimeSeries.Sample parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.TimeSeries.Sample 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.Pvalue.TimeSeries.Sample parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.TimeSeries.Sample parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Pvalue.TimeSeries.Sample parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.TimeSeries.Sample 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.Pvalue.TimeSeries.Sample parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.TimeSeries.Sample 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.Pvalue.TimeSeries.Sample parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.TimeSeries.Sample 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.Pvalue.TimeSeries.Sample 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.pvalue.TimeSeries.Sample} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.pvalue.TimeSeries.Sample) org.yamcs.protobuf.Pvalue.TimeSeries.SampleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_TimeSeries_Sample_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_TimeSeries_Sample_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Pvalue.TimeSeries.Sample.class, org.yamcs.protobuf.Pvalue.TimeSeries.Sample.Builder.class); } // Construct using org.yamcs.protobuf.Pvalue.TimeSeries.Sample.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTimeFieldBuilder(); getMinTimeFieldBuilder(); getMaxTimeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (timeBuilder_ == null) { time_ = null; } else { timeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); avg_ = 0D; bitField0_ = (bitField0_ & ~0x00000002); min_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); max_ = 0D; bitField0_ = (bitField0_ & ~0x00000008); n_ = 0; bitField0_ = (bitField0_ & ~0x00000010); if (minTimeBuilder_ == null) { minTime_ = null; } else { minTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (maxTimeBuilder_ == null) { maxTime_ = null; } else { maxTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_TimeSeries_Sample_descriptor; } @java.lang.Override public org.yamcs.protobuf.Pvalue.TimeSeries.Sample getDefaultInstanceForType() { return org.yamcs.protobuf.Pvalue.TimeSeries.Sample.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Pvalue.TimeSeries.Sample build() { org.yamcs.protobuf.Pvalue.TimeSeries.Sample result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Pvalue.TimeSeries.Sample buildPartial() { org.yamcs.protobuf.Pvalue.TimeSeries.Sample result = new org.yamcs.protobuf.Pvalue.TimeSeries.Sample(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (timeBuilder_ == null) { result.time_ = time_; } else { result.time_ = timeBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.avg_ = avg_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.min_ = min_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.max_ = max_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.n_ = n_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { if (minTimeBuilder_ == null) { result.minTime_ = minTime_; } else { result.minTime_ = minTimeBuilder_.build(); } to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { if (maxTimeBuilder_ == null) { result.maxTime_ = maxTime_; } else { result.maxTime_ = maxTimeBuilder_.build(); } to_bitField0_ |= 0x00000040; } 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.Pvalue.TimeSeries.Sample) { return mergeFrom((org.yamcs.protobuf.Pvalue.TimeSeries.Sample)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Pvalue.TimeSeries.Sample other) { if (other == org.yamcs.protobuf.Pvalue.TimeSeries.Sample.getDefaultInstance()) return this; if (other.hasTime()) { mergeTime(other.getTime()); } if (other.hasAvg()) { setAvg(other.getAvg()); } if (other.hasMin()) { setMin(other.getMin()); } if (other.hasMax()) { setMax(other.getMax()); } if (other.hasN()) { setN(other.getN()); } if (other.hasMinTime()) { mergeMinTime(other.getMinTime()); } if (other.hasMaxTime()) { mergeMaxTime(other.getMaxTime()); } 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.Pvalue.TimeSeries.Sample parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Pvalue.TimeSeries.Sample) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.Timestamp time_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timeBuilder_; /** *
         * Start time of the sample interval.
         * 
* * optional .google.protobuf.Timestamp time = 6; * @return Whether the time field is set. */ public boolean hasTime() { return ((bitField0_ & 0x00000001) != 0); } /** *
         * Start time of the sample interval.
         * 
* * optional .google.protobuf.Timestamp time = 6; * @return The time. */ public com.google.protobuf.Timestamp getTime() { if (timeBuilder_ == null) { return time_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : time_; } else { return timeBuilder_.getMessage(); } } /** *
         * Start time of the sample interval.
         * 
* * optional .google.protobuf.Timestamp time = 6; */ public Builder setTime(com.google.protobuf.Timestamp value) { if (timeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } time_ = value; onChanged(); } else { timeBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** *
         * Start time of the sample interval.
         * 
* * optional .google.protobuf.Timestamp time = 6; */ public Builder setTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (timeBuilder_ == null) { time_ = builderForValue.build(); onChanged(); } else { timeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** *
         * Start time of the sample interval.
         * 
* * optional .google.protobuf.Timestamp time = 6; */ public Builder mergeTime(com.google.protobuf.Timestamp value) { if (timeBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && time_ != null && time_ != com.google.protobuf.Timestamp.getDefaultInstance()) { time_ = com.google.protobuf.Timestamp.newBuilder(time_).mergeFrom(value).buildPartial(); } else { time_ = value; } onChanged(); } else { timeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** *
         * Start time of the sample interval.
         * 
* * optional .google.protobuf.Timestamp time = 6; */ public Builder clearTime() { if (timeBuilder_ == null) { time_ = null; onChanged(); } else { timeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** *
         * Start time of the sample interval.
         * 
* * optional .google.protobuf.Timestamp time = 6; */ public com.google.protobuf.Timestamp.Builder getTimeBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTimeFieldBuilder().getBuilder(); } /** *
         * Start time of the sample interval.
         * 
* * optional .google.protobuf.Timestamp time = 6; */ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { if (timeBuilder_ != null) { return timeBuilder_.getMessageOrBuilder(); } else { return time_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : time_; } } /** *
         * Start time of the sample interval.
         * 
* * optional .google.protobuf.Timestamp time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getTimeFieldBuilder() { if (timeBuilder_ == null) { timeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getTime(), getParentForChildren(), isClean()); time_ = null; } return timeBuilder_; } private double avg_ ; /** *
         * Average numeric value during the sample interval.
         * 
* * optional double avg = 2; * @return Whether the avg field is set. */ @java.lang.Override public boolean hasAvg() { return ((bitField0_ & 0x00000002) != 0); } /** *
         * Average numeric value during the sample interval.
         * 
* * optional double avg = 2; * @return The avg. */ @java.lang.Override public double getAvg() { return avg_; } /** *
         * Average numeric value during the sample interval.
         * 
* * optional double avg = 2; * @param value The avg to set. * @return This builder for chaining. */ public Builder setAvg(double value) { bitField0_ |= 0x00000002; avg_ = value; onChanged(); return this; } /** *
         * Average numeric value during the sample interval.
         * 
* * optional double avg = 2; * @return This builder for chaining. */ public Builder clearAvg() { bitField0_ = (bitField0_ & ~0x00000002); avg_ = 0D; onChanged(); return this; } private double min_ ; /** *
         * Minimum numeric value during the sample interval.
         * 
* * optional double min = 3; * @return Whether the min field is set. */ @java.lang.Override public boolean hasMin() { return ((bitField0_ & 0x00000004) != 0); } /** *
         * Minimum numeric value during the sample interval.
         * 
* * optional double min = 3; * @return The min. */ @java.lang.Override public double getMin() { return min_; } /** *
         * Minimum numeric value during the sample interval.
         * 
* * optional double min = 3; * @param value The min to set. * @return This builder for chaining. */ public Builder setMin(double value) { bitField0_ |= 0x00000004; min_ = value; onChanged(); return this; } /** *
         * Minimum numeric value during the sample interval.
         * 
* * optional double min = 3; * @return This builder for chaining. */ public Builder clearMin() { bitField0_ = (bitField0_ & ~0x00000004); min_ = 0D; onChanged(); return this; } private double max_ ; /** *
         * Maximum numeric value during the sample interval.
         * 
* * optional double max = 4; * @return Whether the max field is set. */ @java.lang.Override public boolean hasMax() { return ((bitField0_ & 0x00000008) != 0); } /** *
         * Maximum numeric value during the sample interval.
         * 
* * optional double max = 4; * @return The max. */ @java.lang.Override public double getMax() { return max_; } /** *
         * Maximum numeric value during the sample interval.
         * 
* * optional double max = 4; * @param value The max to set. * @return This builder for chaining. */ public Builder setMax(double value) { bitField0_ |= 0x00000008; max_ = value; onChanged(); return this; } /** *
         * Maximum numeric value during the sample interval.
         * 
* * optional double max = 4; * @return This builder for chaining. */ public Builder clearMax() { bitField0_ = (bitField0_ & ~0x00000008); max_ = 0D; onChanged(); return this; } private int n_ ; /** *
         * Number of samples during the sample interval.
         * If this value is zero, it indicates a gap.
         * 
* * optional int32 n = 5; * @return Whether the n field is set. */ @java.lang.Override public boolean hasN() { return ((bitField0_ & 0x00000010) != 0); } /** *
         * Number of samples during the sample interval.
         * If this value is zero, it indicates a gap.
         * 
* * optional int32 n = 5; * @return The n. */ @java.lang.Override public int getN() { return n_; } /** *
         * Number of samples during the sample interval.
         * If this value is zero, it indicates a gap.
         * 
* * optional int32 n = 5; * @param value The n to set. * @return This builder for chaining. */ public Builder setN(int value) { bitField0_ |= 0x00000010; n_ = value; onChanged(); return this; } /** *
         * Number of samples during the sample interval.
         * If this value is zero, it indicates a gap.
         * 
* * optional int32 n = 5; * @return This builder for chaining. */ public Builder clearN() { bitField0_ = (bitField0_ & ~0x00000010); n_ = 0; onChanged(); return this; } private com.google.protobuf.Timestamp minTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> minTimeBuilder_; /** *
         * Generation time of the ``min`` value.
         * 
* * optional .google.protobuf.Timestamp minTime = 7; * @return Whether the minTime field is set. */ public boolean hasMinTime() { return ((bitField0_ & 0x00000020) != 0); } /** *
         * Generation time of the ``min`` value.
         * 
* * optional .google.protobuf.Timestamp minTime = 7; * @return The minTime. */ public com.google.protobuf.Timestamp getMinTime() { if (minTimeBuilder_ == null) { return minTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : minTime_; } else { return minTimeBuilder_.getMessage(); } } /** *
         * Generation time of the ``min`` value.
         * 
* * optional .google.protobuf.Timestamp minTime = 7; */ public Builder setMinTime(com.google.protobuf.Timestamp value) { if (minTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } minTime_ = value; onChanged(); } else { minTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** *
         * Generation time of the ``min`` value.
         * 
* * optional .google.protobuf.Timestamp minTime = 7; */ public Builder setMinTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (minTimeBuilder_ == null) { minTime_ = builderForValue.build(); onChanged(); } else { minTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** *
         * Generation time of the ``min`` value.
         * 
* * optional .google.protobuf.Timestamp minTime = 7; */ public Builder mergeMinTime(com.google.protobuf.Timestamp value) { if (minTimeBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && minTime_ != null && minTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { minTime_ = com.google.protobuf.Timestamp.newBuilder(minTime_).mergeFrom(value).buildPartial(); } else { minTime_ = value; } onChanged(); } else { minTimeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** *
         * Generation time of the ``min`` value.
         * 
* * optional .google.protobuf.Timestamp minTime = 7; */ public Builder clearMinTime() { if (minTimeBuilder_ == null) { minTime_ = null; onChanged(); } else { minTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** *
         * Generation time of the ``min`` value.
         * 
* * optional .google.protobuf.Timestamp minTime = 7; */ public com.google.protobuf.Timestamp.Builder getMinTimeBuilder() { bitField0_ |= 0x00000020; onChanged(); return getMinTimeFieldBuilder().getBuilder(); } /** *
         * Generation time of the ``min`` value.
         * 
* * optional .google.protobuf.Timestamp minTime = 7; */ public com.google.protobuf.TimestampOrBuilder getMinTimeOrBuilder() { if (minTimeBuilder_ != null) { return minTimeBuilder_.getMessageOrBuilder(); } else { return minTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : minTime_; } } /** *
         * Generation time of the ``min`` value.
         * 
* * optional .google.protobuf.Timestamp minTime = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getMinTimeFieldBuilder() { if (minTimeBuilder_ == null) { minTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getMinTime(), getParentForChildren(), isClean()); minTime_ = null; } return minTimeBuilder_; } private com.google.protobuf.Timestamp maxTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> maxTimeBuilder_; /** *
         * Generation time of the ``max`` value.
         * 
* * optional .google.protobuf.Timestamp maxTime = 8; * @return Whether the maxTime field is set. */ public boolean hasMaxTime() { return ((bitField0_ & 0x00000040) != 0); } /** *
         * Generation time of the ``max`` value.
         * 
* * optional .google.protobuf.Timestamp maxTime = 8; * @return The maxTime. */ public com.google.protobuf.Timestamp getMaxTime() { if (maxTimeBuilder_ == null) { return maxTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maxTime_; } else { return maxTimeBuilder_.getMessage(); } } /** *
         * Generation time of the ``max`` value.
         * 
* * optional .google.protobuf.Timestamp maxTime = 8; */ public Builder setMaxTime(com.google.protobuf.Timestamp value) { if (maxTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxTime_ = value; onChanged(); } else { maxTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** *
         * Generation time of the ``max`` value.
         * 
* * optional .google.protobuf.Timestamp maxTime = 8; */ public Builder setMaxTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (maxTimeBuilder_ == null) { maxTime_ = builderForValue.build(); onChanged(); } else { maxTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** *
         * Generation time of the ``max`` value.
         * 
* * optional .google.protobuf.Timestamp maxTime = 8; */ public Builder mergeMaxTime(com.google.protobuf.Timestamp value) { if (maxTimeBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && maxTime_ != null && maxTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { maxTime_ = com.google.protobuf.Timestamp.newBuilder(maxTime_).mergeFrom(value).buildPartial(); } else { maxTime_ = value; } onChanged(); } else { maxTimeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** *
         * Generation time of the ``max`` value.
         * 
* * optional .google.protobuf.Timestamp maxTime = 8; */ public Builder clearMaxTime() { if (maxTimeBuilder_ == null) { maxTime_ = null; onChanged(); } else { maxTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** *
         * Generation time of the ``max`` value.
         * 
* * optional .google.protobuf.Timestamp maxTime = 8; */ public com.google.protobuf.Timestamp.Builder getMaxTimeBuilder() { bitField0_ |= 0x00000040; onChanged(); return getMaxTimeFieldBuilder().getBuilder(); } /** *
         * Generation time of the ``max`` value.
         * 
* * optional .google.protobuf.Timestamp maxTime = 8; */ public com.google.protobuf.TimestampOrBuilder getMaxTimeOrBuilder() { if (maxTimeBuilder_ != null) { return maxTimeBuilder_.getMessageOrBuilder(); } else { return maxTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maxTime_; } } /** *
         * Generation time of the ``max`` value.
         * 
* * optional .google.protobuf.Timestamp maxTime = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getMaxTimeFieldBuilder() { if (maxTimeBuilder_ == null) { maxTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getMaxTime(), getParentForChildren(), isClean()); maxTime_ = null; } return maxTimeBuilder_; } @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.pvalue.TimeSeries.Sample) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.pvalue.TimeSeries.Sample) private static final org.yamcs.protobuf.Pvalue.TimeSeries.Sample DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Pvalue.TimeSeries.Sample(); } public static org.yamcs.protobuf.Pvalue.TimeSeries.Sample getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Sample parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Sample(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.Pvalue.TimeSeries.Sample getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int SAMPLE_FIELD_NUMBER = 1; private java.util.List sample_; /** *
     * List of samples.
     * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ @java.lang.Override public java.util.List getSampleList() { return sample_; } /** *
     * List of samples.
     * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ @java.lang.Override public java.util.List getSampleOrBuilderList() { return sample_; } /** *
     * List of samples.
     * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ @java.lang.Override public int getSampleCount() { return sample_.size(); } /** *
     * List of samples.
     * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ @java.lang.Override public org.yamcs.protobuf.Pvalue.TimeSeries.Sample getSample(int index) { return sample_.get(index); } /** *
     * List of samples.
     * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ @java.lang.Override public org.yamcs.protobuf.Pvalue.TimeSeries.SampleOrBuilder getSampleOrBuilder( int index) { return sample_.get(index); } 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 { for (int i = 0; i < sample_.size(); i++) { output.writeMessage(1, sample_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < sample_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, sample_.get(i)); } 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.Pvalue.TimeSeries)) { return super.equals(obj); } org.yamcs.protobuf.Pvalue.TimeSeries other = (org.yamcs.protobuf.Pvalue.TimeSeries) obj; if (!getSampleList() .equals(other.getSampleList())) 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 (getSampleCount() > 0) { hash = (37 * hash) + SAMPLE_FIELD_NUMBER; hash = (53 * hash) + getSampleList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Pvalue.TimeSeries parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.TimeSeries 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.Pvalue.TimeSeries parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.TimeSeries 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.Pvalue.TimeSeries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.TimeSeries parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Pvalue.TimeSeries parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.TimeSeries 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.Pvalue.TimeSeries parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.TimeSeries 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.Pvalue.TimeSeries parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.TimeSeries 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.Pvalue.TimeSeries 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.pvalue.TimeSeries} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.pvalue.TimeSeries) org.yamcs.protobuf.Pvalue.TimeSeriesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_TimeSeries_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_TimeSeries_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Pvalue.TimeSeries.class, org.yamcs.protobuf.Pvalue.TimeSeries.Builder.class); } // Construct using org.yamcs.protobuf.Pvalue.TimeSeries.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSampleFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (sampleBuilder_ == null) { sample_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { sampleBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_TimeSeries_descriptor; } @java.lang.Override public org.yamcs.protobuf.Pvalue.TimeSeries getDefaultInstanceForType() { return org.yamcs.protobuf.Pvalue.TimeSeries.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Pvalue.TimeSeries build() { org.yamcs.protobuf.Pvalue.TimeSeries result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Pvalue.TimeSeries buildPartial() { org.yamcs.protobuf.Pvalue.TimeSeries result = new org.yamcs.protobuf.Pvalue.TimeSeries(this); int from_bitField0_ = bitField0_; if (sampleBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { sample_ = java.util.Collections.unmodifiableList(sample_); bitField0_ = (bitField0_ & ~0x00000001); } result.sample_ = sample_; } else { result.sample_ = sampleBuilder_.build(); } 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.Pvalue.TimeSeries) { return mergeFrom((org.yamcs.protobuf.Pvalue.TimeSeries)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Pvalue.TimeSeries other) { if (other == org.yamcs.protobuf.Pvalue.TimeSeries.getDefaultInstance()) return this; if (sampleBuilder_ == null) { if (!other.sample_.isEmpty()) { if (sample_.isEmpty()) { sample_ = other.sample_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSampleIsMutable(); sample_.addAll(other.sample_); } onChanged(); } } else { if (!other.sample_.isEmpty()) { if (sampleBuilder_.isEmpty()) { sampleBuilder_.dispose(); sampleBuilder_ = null; sample_ = other.sample_; bitField0_ = (bitField0_ & ~0x00000001); sampleBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSampleFieldBuilder() : null; } else { sampleBuilder_.addAllMessages(other.sample_); } } } 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.Pvalue.TimeSeries parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Pvalue.TimeSeries) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List sample_ = java.util.Collections.emptyList(); private void ensureSampleIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { sample_ = new java.util.ArrayList(sample_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Pvalue.TimeSeries.Sample, org.yamcs.protobuf.Pvalue.TimeSeries.Sample.Builder, org.yamcs.protobuf.Pvalue.TimeSeries.SampleOrBuilder> sampleBuilder_; /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public java.util.List getSampleList() { if (sampleBuilder_ == null) { return java.util.Collections.unmodifiableList(sample_); } else { return sampleBuilder_.getMessageList(); } } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public int getSampleCount() { if (sampleBuilder_ == null) { return sample_.size(); } else { return sampleBuilder_.getCount(); } } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public org.yamcs.protobuf.Pvalue.TimeSeries.Sample getSample(int index) { if (sampleBuilder_ == null) { return sample_.get(index); } else { return sampleBuilder_.getMessage(index); } } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public Builder setSample( int index, org.yamcs.protobuf.Pvalue.TimeSeries.Sample value) { if (sampleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSampleIsMutable(); sample_.set(index, value); onChanged(); } else { sampleBuilder_.setMessage(index, value); } return this; } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public Builder setSample( int index, org.yamcs.protobuf.Pvalue.TimeSeries.Sample.Builder builderForValue) { if (sampleBuilder_ == null) { ensureSampleIsMutable(); sample_.set(index, builderForValue.build()); onChanged(); } else { sampleBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public Builder addSample(org.yamcs.protobuf.Pvalue.TimeSeries.Sample value) { if (sampleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSampleIsMutable(); sample_.add(value); onChanged(); } else { sampleBuilder_.addMessage(value); } return this; } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public Builder addSample( int index, org.yamcs.protobuf.Pvalue.TimeSeries.Sample value) { if (sampleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSampleIsMutable(); sample_.add(index, value); onChanged(); } else { sampleBuilder_.addMessage(index, value); } return this; } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public Builder addSample( org.yamcs.protobuf.Pvalue.TimeSeries.Sample.Builder builderForValue) { if (sampleBuilder_ == null) { ensureSampleIsMutable(); sample_.add(builderForValue.build()); onChanged(); } else { sampleBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public Builder addSample( int index, org.yamcs.protobuf.Pvalue.TimeSeries.Sample.Builder builderForValue) { if (sampleBuilder_ == null) { ensureSampleIsMutable(); sample_.add(index, builderForValue.build()); onChanged(); } else { sampleBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public Builder addAllSample( java.lang.Iterable values) { if (sampleBuilder_ == null) { ensureSampleIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, sample_); onChanged(); } else { sampleBuilder_.addAllMessages(values); } return this; } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public Builder clearSample() { if (sampleBuilder_ == null) { sample_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { sampleBuilder_.clear(); } return this; } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public Builder removeSample(int index) { if (sampleBuilder_ == null) { ensureSampleIsMutable(); sample_.remove(index); onChanged(); } else { sampleBuilder_.remove(index); } return this; } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public org.yamcs.protobuf.Pvalue.TimeSeries.Sample.Builder getSampleBuilder( int index) { return getSampleFieldBuilder().getBuilder(index); } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public org.yamcs.protobuf.Pvalue.TimeSeries.SampleOrBuilder getSampleOrBuilder( int index) { if (sampleBuilder_ == null) { return sample_.get(index); } else { return sampleBuilder_.getMessageOrBuilder(index); } } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public java.util.List getSampleOrBuilderList() { if (sampleBuilder_ != null) { return sampleBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(sample_); } } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public org.yamcs.protobuf.Pvalue.TimeSeries.Sample.Builder addSampleBuilder() { return getSampleFieldBuilder().addBuilder( org.yamcs.protobuf.Pvalue.TimeSeries.Sample.getDefaultInstance()); } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public org.yamcs.protobuf.Pvalue.TimeSeries.Sample.Builder addSampleBuilder( int index) { return getSampleFieldBuilder().addBuilder( index, org.yamcs.protobuf.Pvalue.TimeSeries.Sample.getDefaultInstance()); } /** *
       * List of samples.
       * 
* * repeated .yamcs.protobuf.pvalue.TimeSeries.Sample sample = 1; */ public java.util.List getSampleBuilderList() { return getSampleFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Pvalue.TimeSeries.Sample, org.yamcs.protobuf.Pvalue.TimeSeries.Sample.Builder, org.yamcs.protobuf.Pvalue.TimeSeries.SampleOrBuilder> getSampleFieldBuilder() { if (sampleBuilder_ == null) { sampleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Pvalue.TimeSeries.Sample, org.yamcs.protobuf.Pvalue.TimeSeries.Sample.Builder, org.yamcs.protobuf.Pvalue.TimeSeries.SampleOrBuilder>( sample_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); sample_ = null; } return sampleBuilder_; } @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.pvalue.TimeSeries) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.pvalue.TimeSeries) private static final org.yamcs.protobuf.Pvalue.TimeSeries DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Pvalue.TimeSeries(); } public static org.yamcs.protobuf.Pvalue.TimeSeries getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TimeSeries parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TimeSeries(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.Pvalue.TimeSeries getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RangesOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.pvalue.Ranges) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ java.util.List getRangeList(); /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ org.yamcs.protobuf.Pvalue.Ranges.Range getRange(int index); /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ int getRangeCount(); /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ java.util.List getRangeOrBuilderList(); /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ org.yamcs.protobuf.Pvalue.Ranges.RangeOrBuilder getRangeOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.pvalue.Ranges} */ public static final class Ranges extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.pvalue.Ranges) RangesOrBuilder { private static final long serialVersionUID = 0L; // Use Ranges.newBuilder() to construct. private Ranges(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Ranges() { range_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Ranges(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Ranges( 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: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { range_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } range_.add( input.readMessage(org.yamcs.protobuf.Pvalue.Ranges.Range.PARSER, extensionRegistry)); 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { range_ = java.util.Collections.unmodifiableList(range_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_Ranges_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_Ranges_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Pvalue.Ranges.class, org.yamcs.protobuf.Pvalue.Ranges.Builder.class); } public interface RangeOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.pvalue.Ranges.Range) com.google.protobuf.MessageOrBuilder { /** *
       * Generation time of a parameter value.
       * 
* * optional .google.protobuf.Timestamp start = 7; * @return Whether the start field is set. */ boolean hasStart(); /** *
       * Generation time of a parameter value.
       * 
* * optional .google.protobuf.Timestamp start = 7; * @return The start. */ com.google.protobuf.Timestamp getStart(); /** *
       * Generation time of a parameter value.
       * 
* * optional .google.protobuf.Timestamp start = 7; */ com.google.protobuf.TimestampOrBuilder getStartOrBuilder(); /** *
       * 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; * @return Whether the stop field is set. */ 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; * @return The stop. */ 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; */ com.google.protobuf.TimestampOrBuilder getStopOrBuilder(); /** *
       * 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; * @return Whether the count field is set. */ 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; * @return The count. */ int getCount(); /** *
       * 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; */ java.util.List 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; */ org.yamcs.protobuf.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; */ 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; */ java.util.List 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; */ org.yamcs.protobuf.Yamcs.ValueOrBuilder getEngValuesOrBuilder( int index); /** *
       * The counts correspond one to one to the engValues
       * 
* * repeated int32 counts = 6; * @return A list containing the counts. */ java.util.List getCountsList(); /** *
       * The counts correspond one to one to the engValues
       * 
* * repeated int32 counts = 6; * @return The count of counts. */ int getCountsCount(); /** *
       * The counts correspond one to one to the engValues
       * 
* * repeated int32 counts = 6; * @param index The index of the element to return. * @return The counts at the given index. */ int getCounts(int index); } /** * Protobuf type {@code yamcs.protobuf.pvalue.Ranges.Range} */ public static final class Range extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.pvalue.Ranges.Range) RangeOrBuilder { private static final long serialVersionUID = 0L; // Use Range.newBuilder() to construct. private Range(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Range() { engValues_ = java.util.Collections.emptyList(); counts_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Range(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Range( 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 32: { bitField0_ |= 0x00000004; count_ = input.readInt32(); break; } case 42: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { engValues_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } engValues_.add( input.readMessage(org.yamcs.protobuf.Yamcs.Value.PARSER, extensionRegistry)); break; } case 48: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { counts_ = newIntList(); mutable_bitField0_ |= 0x00000010; } counts_.addInt(input.readInt32()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000010) != 0) && input.getBytesUntilLimit() > 0) { counts_ = newIntList(); mutable_bitField0_ |= 0x00000010; } while (input.getBytesUntilLimit() > 0) { counts_.addInt(input.readInt32()); } input.popLimit(limit); break; } case 58: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = start_.toBuilder(); } start_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(start_); start_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 66: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = stop_.toBuilder(); } stop_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(stop_); stop_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; 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 { if (((mutable_bitField0_ & 0x00000008) != 0)) { engValues_ = java.util.Collections.unmodifiableList(engValues_); } if (((mutable_bitField0_ & 0x00000010) != 0)) { counts_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_Ranges_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_Ranges_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Pvalue.Ranges.Range.class, org.yamcs.protobuf.Pvalue.Ranges.Range.Builder.class); } private int bitField0_; public static final int START_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp start_; /** *
       * Generation time of a parameter value.
       * 
* * optional .google.protobuf.Timestamp start = 7; * @return Whether the start field is set. */ @java.lang.Override public boolean hasStart() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Generation time of a parameter value.
       * 
* * optional .google.protobuf.Timestamp start = 7; * @return The start. */ @java.lang.Override public com.google.protobuf.Timestamp getStart() { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } /** *
       * Generation time of a parameter value.
       * 
* * optional .google.protobuf.Timestamp start = 7; */ @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 = 8; private com.google.protobuf.Timestamp stop_; /** *
       * 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; * @return Whether the stop field is set. */ @java.lang.Override public boolean hasStop() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * 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; * @return The stop. */ @java.lang.Override public com.google.protobuf.Timestamp getStop() { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } /** *
       * 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; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } public static final int COUNT_FIELD_NUMBER = 4; private int count_; /** *
       * 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; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * 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; * @return The count. */ @java.lang.Override public int getCount() { return count_; } public static final int ENGVALUES_FIELD_NUMBER = 5; private java.util.List engValues_; /** *
       * 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; */ @java.lang.Override public java.util.List getEngValuesList() { return engValues_; } /** *
       * 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; */ @java.lang.Override public java.util.List getEngValuesOrBuilderList() { return engValues_; } /** *
       * 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; */ @java.lang.Override public int getEngValuesCount() { return engValues_.size(); } /** *
       * 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; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.Value getEngValues(int index) { return engValues_.get(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; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.ValueOrBuilder getEngValuesOrBuilder( int index) { return engValues_.get(index); } public static final int COUNTS_FIELD_NUMBER = 6; private com.google.protobuf.Internal.IntList counts_; /** *
       * The counts correspond one to one to the engValues
       * 
* * repeated int32 counts = 6; * @return A list containing the counts. */ @java.lang.Override public java.util.List getCountsList() { return counts_; } /** *
       * The counts correspond one to one to the engValues
       * 
* * repeated int32 counts = 6; * @return The count of counts. */ public int getCountsCount() { return counts_.size(); } /** *
       * The counts correspond one to one to the engValues
       * 
* * repeated int32 counts = 6; * @param index The index of the element to return. * @return The counts at the given index. */ public int getCounts(int index) { return counts_.getInt(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getEngValuesCount(); i++) { if (!getEngValues(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(4, count_); } for (int i = 0; i < engValues_.size(); i++) { output.writeMessage(5, engValues_.get(i)); } for (int i = 0; i < counts_.size(); i++) { output.writeInt32(6, counts_.getInt(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(7, getStart()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(8, getStop()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, count_); } for (int i = 0; i < engValues_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, engValues_.get(i)); } { int dataSize = 0; for (int i = 0; i < counts_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(counts_.getInt(i)); } size += dataSize; size += 1 * getCountsList().size(); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getStart()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getStop()); } 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.Pvalue.Ranges.Range)) { return super.equals(obj); } org.yamcs.protobuf.Pvalue.Ranges.Range other = (org.yamcs.protobuf.Pvalue.Ranges.Range) obj; 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 (hasCount() != other.hasCount()) return false; if (hasCount()) { if (getCount() != other.getCount()) return false; } if (!getEngValuesList() .equals(other.getEngValuesList())) return false; if (!getCountsList() .equals(other.getCountsList())) 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 (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 (hasCount()) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + getCount(); } if (getEngValuesCount() > 0) { hash = (37 * hash) + ENGVALUES_FIELD_NUMBER; hash = (53 * hash) + getEngValuesList().hashCode(); } if (getCountsCount() > 0) { hash = (37 * hash) + COUNTS_FIELD_NUMBER; hash = (53 * hash) + getCountsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Pvalue.Ranges.Range parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.Ranges.Range 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.Pvalue.Ranges.Range parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.Ranges.Range 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.Pvalue.Ranges.Range parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.Ranges.Range parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Pvalue.Ranges.Range parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.Ranges.Range 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.Pvalue.Ranges.Range parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.Ranges.Range 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.Pvalue.Ranges.Range parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.Ranges.Range 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.Pvalue.Ranges.Range 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.pvalue.Ranges.Range} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.pvalue.Ranges.Range) org.yamcs.protobuf.Pvalue.Ranges.RangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_Ranges_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_Ranges_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Pvalue.Ranges.Range.class, org.yamcs.protobuf.Pvalue.Ranges.Range.Builder.class); } // Construct using org.yamcs.protobuf.Pvalue.Ranges.Range.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(); getEngValuesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (startBuilder_ == null) { start_ = null; } else { startBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (stopBuilder_ == null) { stop_ = null; } else { stopBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); count_ = 0; bitField0_ = (bitField0_ & ~0x00000004); if (engValuesBuilder_ == null) { engValues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { engValuesBuilder_.clear(); } counts_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_Ranges_Range_descriptor; } @java.lang.Override public org.yamcs.protobuf.Pvalue.Ranges.Range getDefaultInstanceForType() { return org.yamcs.protobuf.Pvalue.Ranges.Range.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Pvalue.Ranges.Range build() { org.yamcs.protobuf.Pvalue.Ranges.Range result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Pvalue.Ranges.Range buildPartial() { org.yamcs.protobuf.Pvalue.Ranges.Range result = new org.yamcs.protobuf.Pvalue.Ranges.Range(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (startBuilder_ == null) { result.start_ = start_; } else { result.start_ = startBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (stopBuilder_ == null) { result.stop_ = stop_; } else { result.stop_ = stopBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.count_ = count_; to_bitField0_ |= 0x00000004; } if (engValuesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { engValues_ = java.util.Collections.unmodifiableList(engValues_); bitField0_ = (bitField0_ & ~0x00000008); } result.engValues_ = engValues_; } else { result.engValues_ = engValuesBuilder_.build(); } if (((bitField0_ & 0x00000010) != 0)) { counts_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000010); } result.counts_ = counts_; 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.Pvalue.Ranges.Range) { return mergeFrom((org.yamcs.protobuf.Pvalue.Ranges.Range)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Pvalue.Ranges.Range other) { if (other == org.yamcs.protobuf.Pvalue.Ranges.Range.getDefaultInstance()) return this; if (other.hasStart()) { mergeStart(other.getStart()); } if (other.hasStop()) { mergeStop(other.getStop()); } if (other.hasCount()) { setCount(other.getCount()); } if (engValuesBuilder_ == null) { if (!other.engValues_.isEmpty()) { if (engValues_.isEmpty()) { engValues_ = other.engValues_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureEngValuesIsMutable(); engValues_.addAll(other.engValues_); } onChanged(); } } else { if (!other.engValues_.isEmpty()) { if (engValuesBuilder_.isEmpty()) { engValuesBuilder_.dispose(); engValuesBuilder_ = null; engValues_ = other.engValues_; bitField0_ = (bitField0_ & ~0x00000008); engValuesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEngValuesFieldBuilder() : null; } else { engValuesBuilder_.addAllMessages(other.engValues_); } } } if (!other.counts_.isEmpty()) { if (counts_.isEmpty()) { counts_ = other.counts_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureCountsIsMutable(); counts_.addAll(other.counts_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getEngValuesCount(); i++) { if (!getEngValues(i).isInitialized()) { return false; } } 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.Pvalue.Ranges.Range parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Pvalue.Ranges.Range) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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_; /** *
         * Generation time of a parameter value.
         * 
* * optional .google.protobuf.Timestamp start = 7; * @return Whether the start field is set. */ public boolean hasStart() { return ((bitField0_ & 0x00000001) != 0); } /** *
         * Generation time of a parameter value.
         * 
* * optional .google.protobuf.Timestamp start = 7; * @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(); } } /** *
         * Generation time of a parameter value.
         * 
* * optional .google.protobuf.Timestamp start = 7; */ 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_ |= 0x00000001; return this; } /** *
         * Generation time of a parameter value.
         * 
* * optional .google.protobuf.Timestamp start = 7; */ public Builder setStart( com.google.protobuf.Timestamp.Builder builderForValue) { if (startBuilder_ == null) { start_ = builderForValue.build(); onChanged(); } else { startBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** *
         * Generation time of a parameter value.
         * 
* * optional .google.protobuf.Timestamp start = 7; */ public Builder mergeStart(com.google.protobuf.Timestamp value) { if (startBuilder_ == null) { if (((bitField0_ & 0x00000001) != 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_ |= 0x00000001; return this; } /** *
         * Generation time of a parameter value.
         * 
* * optional .google.protobuf.Timestamp start = 7; */ public Builder clearStart() { if (startBuilder_ == null) { start_ = null; onChanged(); } else { startBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** *
         * Generation time of a parameter value.
         * 
* * optional .google.protobuf.Timestamp start = 7; */ public com.google.protobuf.Timestamp.Builder getStartBuilder() { bitField0_ |= 0x00000001; onChanged(); return getStartFieldBuilder().getBuilder(); } /** *
         * Generation time of a parameter value.
         * 
* * optional .google.protobuf.Timestamp start = 7; */ public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() { if (startBuilder_ != null) { return startBuilder_.getMessageOrBuilder(); } else { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } } /** *
         * Generation time of a parameter value.
         * 
* * optional .google.protobuf.Timestamp start = 7; */ 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_; /** *
         * 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; * @return Whether the stop field is set. */ public boolean hasStop() { return ((bitField0_ & 0x00000002) != 0); } /** *
         * 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; * @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(); } } /** *
         * 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; */ 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_ |= 0x00000002; return this; } /** *
         * 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; */ public Builder setStop( com.google.protobuf.Timestamp.Builder builderForValue) { if (stopBuilder_ == null) { stop_ = builderForValue.build(); onChanged(); } else { stopBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
         * 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; */ public Builder mergeStop(com.google.protobuf.Timestamp value) { if (stopBuilder_ == null) { if (((bitField0_ & 0x00000002) != 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_ |= 0x00000002; return this; } /** *
         * 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; */ public Builder clearStop() { if (stopBuilder_ == null) { stop_ = null; onChanged(); } else { stopBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
         * 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; */ public com.google.protobuf.Timestamp.Builder getStopBuilder() { bitField0_ |= 0x00000002; onChanged(); return getStopFieldBuilder().getBuilder(); } /** *
         * 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; */ public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() { if (stopBuilder_ != null) { return stopBuilder_.getMessageOrBuilder(); } else { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } } /** *
         * 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; */ 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 int count_ ; /** *
         * 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; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000004) != 0); } /** *
         * 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; * @return The count. */ @java.lang.Override public int getCount() { return count_; } /** *
         * 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; * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { bitField0_ |= 0x00000004; count_ = value; onChanged(); return this; } /** *
         * 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; * @return This builder for chaining. */ public Builder clearCount() { bitField0_ = (bitField0_ & ~0x00000004); count_ = 0; onChanged(); return this; } private java.util.List engValues_ = java.util.Collections.emptyList(); private void ensureEngValuesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { engValues_ = new java.util.ArrayList(engValues_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder> engValuesBuilder_; /** *
         * 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; */ public java.util.List getEngValuesList() { if (engValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(engValues_); } else { return engValuesBuilder_.getMessageList(); } } /** *
         * 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; */ public int getEngValuesCount() { if (engValuesBuilder_ == null) { return engValues_.size(); } else { return engValuesBuilder_.getCount(); } } /** *
         * 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; */ public org.yamcs.protobuf.Yamcs.Value getEngValues(int index) { if (engValuesBuilder_ == null) { return engValues_.get(index); } else { return engValuesBuilder_.getMessage(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; */ public Builder setEngValues( int index, org.yamcs.protobuf.Yamcs.Value value) { if (engValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEngValuesIsMutable(); engValues_.set(index, value); onChanged(); } else { engValuesBuilder_.setMessage(index, value); } return this; } /** *
         * 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; */ public Builder setEngValues( int index, org.yamcs.protobuf.Yamcs.Value.Builder builderForValue) { if (engValuesBuilder_ == null) { ensureEngValuesIsMutable(); engValues_.set(index, builderForValue.build()); onChanged(); } else { engValuesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
         * 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; */ public Builder addEngValues(org.yamcs.protobuf.Yamcs.Value value) { if (engValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEngValuesIsMutable(); engValues_.add(value); onChanged(); } else { engValuesBuilder_.addMessage(value); } return this; } /** *
         * 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; */ public Builder addEngValues( int index, org.yamcs.protobuf.Yamcs.Value value) { if (engValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEngValuesIsMutable(); engValues_.add(index, value); onChanged(); } else { engValuesBuilder_.addMessage(index, value); } return this; } /** *
         * 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; */ public Builder addEngValues( org.yamcs.protobuf.Yamcs.Value.Builder builderForValue) { if (engValuesBuilder_ == null) { ensureEngValuesIsMutable(); engValues_.add(builderForValue.build()); onChanged(); } else { engValuesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
         * 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; */ public Builder addEngValues( int index, org.yamcs.protobuf.Yamcs.Value.Builder builderForValue) { if (engValuesBuilder_ == null) { ensureEngValuesIsMutable(); engValues_.add(index, builderForValue.build()); onChanged(); } else { engValuesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
         * 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; */ public Builder addAllEngValues( java.lang.Iterable values) { if (engValuesBuilder_ == null) { ensureEngValuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, engValues_); onChanged(); } else { engValuesBuilder_.addAllMessages(values); } return this; } /** *
         * 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; */ public Builder clearEngValues() { if (engValuesBuilder_ == null) { engValues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { engValuesBuilder_.clear(); } return this; } /** *
         * 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; */ public Builder removeEngValues(int index) { if (engValuesBuilder_ == null) { ensureEngValuesIsMutable(); engValues_.remove(index); onChanged(); } else { engValuesBuilder_.remove(index); } return this; } /** *
         * 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; */ public org.yamcs.protobuf.Yamcs.Value.Builder getEngValuesBuilder( int index) { return getEngValuesFieldBuilder().getBuilder(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; */ public org.yamcs.protobuf.Yamcs.ValueOrBuilder getEngValuesOrBuilder( int index) { if (engValuesBuilder_ == null) { return engValues_.get(index); } else { return engValuesBuilder_.getMessageOrBuilder(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; */ public java.util.List getEngValuesOrBuilderList() { if (engValuesBuilder_ != null) { return engValuesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(engValues_); } } /** *
         * 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; */ public org.yamcs.protobuf.Yamcs.Value.Builder addEngValuesBuilder() { return getEngValuesFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.Value.getDefaultInstance()); } /** *
         * 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; */ public org.yamcs.protobuf.Yamcs.Value.Builder addEngValuesBuilder( int index) { return getEngValuesFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.Value.getDefaultInstance()); } /** *
         * 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; */ public java.util.List getEngValuesBuilderList() { return getEngValuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder> getEngValuesFieldBuilder() { if (engValuesBuilder_ == null) { engValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder>( engValues_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); engValues_ = null; } return engValuesBuilder_; } private com.google.protobuf.Internal.IntList counts_ = emptyIntList(); private void ensureCountsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { counts_ = mutableCopy(counts_); bitField0_ |= 0x00000010; } } /** *
         * The counts correspond one to one to the engValues
         * 
* * repeated int32 counts = 6; * @return A list containing the counts. */ public java.util.List getCountsList() { return ((bitField0_ & 0x00000010) != 0) ? java.util.Collections.unmodifiableList(counts_) : counts_; } /** *
         * The counts correspond one to one to the engValues
         * 
* * repeated int32 counts = 6; * @return The count of counts. */ public int getCountsCount() { return counts_.size(); } /** *
         * The counts correspond one to one to the engValues
         * 
* * repeated int32 counts = 6; * @param index The index of the element to return. * @return The counts at the given index. */ public int getCounts(int index) { return counts_.getInt(index); } /** *
         * The counts correspond one to one to the engValues
         * 
* * repeated int32 counts = 6; * @param index The index to set the value at. * @param value The counts to set. * @return This builder for chaining. */ public Builder setCounts( int index, int value) { ensureCountsIsMutable(); counts_.setInt(index, value); onChanged(); return this; } /** *
         * The counts correspond one to one to the engValues
         * 
* * repeated int32 counts = 6; * @param value The counts to add. * @return This builder for chaining. */ public Builder addCounts(int value) { ensureCountsIsMutable(); counts_.addInt(value); onChanged(); return this; } /** *
         * The counts correspond one to one to the engValues
         * 
* * repeated int32 counts = 6; * @param values The counts to add. * @return This builder for chaining. */ public Builder addAllCounts( java.lang.Iterable values) { ensureCountsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, counts_); onChanged(); return this; } /** *
         * The counts correspond one to one to the engValues
         * 
* * repeated int32 counts = 6; * @return This builder for chaining. */ public Builder clearCounts() { counts_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000010); 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.pvalue.Ranges.Range) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.pvalue.Ranges.Range) private static final org.yamcs.protobuf.Pvalue.Ranges.Range DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Pvalue.Ranges.Range(); } public static org.yamcs.protobuf.Pvalue.Ranges.Range getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Range parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Range(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.Pvalue.Ranges.Range getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int RANGE_FIELD_NUMBER = 1; private java.util.List range_; /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ @java.lang.Override public java.util.List getRangeList() { return range_; } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ @java.lang.Override public java.util.List getRangeOrBuilderList() { return range_; } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ @java.lang.Override public int getRangeCount() { return range_.size(); } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ @java.lang.Override public org.yamcs.protobuf.Pvalue.Ranges.Range getRange(int index) { return range_.get(index); } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ @java.lang.Override public org.yamcs.protobuf.Pvalue.Ranges.RangeOrBuilder getRangeOrBuilder( int index) { return range_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getRangeCount(); i++) { if (!getRange(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < range_.size(); i++) { output.writeMessage(1, range_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < range_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, range_.get(i)); } 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.Pvalue.Ranges)) { return super.equals(obj); } org.yamcs.protobuf.Pvalue.Ranges other = (org.yamcs.protobuf.Pvalue.Ranges) obj; if (!getRangeList() .equals(other.getRangeList())) 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 (getRangeCount() > 0) { hash = (37 * hash) + RANGE_FIELD_NUMBER; hash = (53 * hash) + getRangeList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Pvalue.Ranges parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.Ranges 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.Pvalue.Ranges parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.Ranges 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.Pvalue.Ranges parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Pvalue.Ranges parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Pvalue.Ranges parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.Ranges 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.Pvalue.Ranges parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.Ranges 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.Pvalue.Ranges parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Pvalue.Ranges 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.Pvalue.Ranges 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.pvalue.Ranges} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.pvalue.Ranges) org.yamcs.protobuf.Pvalue.RangesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_Ranges_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_Ranges_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Pvalue.Ranges.class, org.yamcs.protobuf.Pvalue.Ranges.Builder.class); } // Construct using org.yamcs.protobuf.Pvalue.Ranges.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRangeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (rangeBuilder_ == null) { range_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { rangeBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Pvalue.internal_static_yamcs_protobuf_pvalue_Ranges_descriptor; } @java.lang.Override public org.yamcs.protobuf.Pvalue.Ranges getDefaultInstanceForType() { return org.yamcs.protobuf.Pvalue.Ranges.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Pvalue.Ranges build() { org.yamcs.protobuf.Pvalue.Ranges result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Pvalue.Ranges buildPartial() { org.yamcs.protobuf.Pvalue.Ranges result = new org.yamcs.protobuf.Pvalue.Ranges(this); int from_bitField0_ = bitField0_; if (rangeBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { range_ = java.util.Collections.unmodifiableList(range_); bitField0_ = (bitField0_ & ~0x00000001); } result.range_ = range_; } else { result.range_ = rangeBuilder_.build(); } 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.Pvalue.Ranges) { return mergeFrom((org.yamcs.protobuf.Pvalue.Ranges)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Pvalue.Ranges other) { if (other == org.yamcs.protobuf.Pvalue.Ranges.getDefaultInstance()) return this; if (rangeBuilder_ == null) { if (!other.range_.isEmpty()) { if (range_.isEmpty()) { range_ = other.range_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRangeIsMutable(); range_.addAll(other.range_); } onChanged(); } } else { if (!other.range_.isEmpty()) { if (rangeBuilder_.isEmpty()) { rangeBuilder_.dispose(); rangeBuilder_ = null; range_ = other.range_; bitField0_ = (bitField0_ & ~0x00000001); rangeBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRangeFieldBuilder() : null; } else { rangeBuilder_.addAllMessages(other.range_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getRangeCount(); i++) { if (!getRange(i).isInitialized()) { return false; } } 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.Pvalue.Ranges parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Pvalue.Ranges) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List range_ = java.util.Collections.emptyList(); private void ensureRangeIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { range_ = new java.util.ArrayList(range_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Pvalue.Ranges.Range, org.yamcs.protobuf.Pvalue.Ranges.Range.Builder, org.yamcs.protobuf.Pvalue.Ranges.RangeOrBuilder> rangeBuilder_; /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public java.util.List getRangeList() { if (rangeBuilder_ == null) { return java.util.Collections.unmodifiableList(range_); } else { return rangeBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public int getRangeCount() { if (rangeBuilder_ == null) { return range_.size(); } else { return rangeBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public org.yamcs.protobuf.Pvalue.Ranges.Range getRange(int index) { if (rangeBuilder_ == null) { return range_.get(index); } else { return rangeBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public Builder setRange( int index, org.yamcs.protobuf.Pvalue.Ranges.Range value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRangeIsMutable(); range_.set(index, value); onChanged(); } else { rangeBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public Builder setRange( int index, org.yamcs.protobuf.Pvalue.Ranges.Range.Builder builderForValue) { if (rangeBuilder_ == null) { ensureRangeIsMutable(); range_.set(index, builderForValue.build()); onChanged(); } else { rangeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public Builder addRange(org.yamcs.protobuf.Pvalue.Ranges.Range value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRangeIsMutable(); range_.add(value); onChanged(); } else { rangeBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public Builder addRange( int index, org.yamcs.protobuf.Pvalue.Ranges.Range value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRangeIsMutable(); range_.add(index, value); onChanged(); } else { rangeBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public Builder addRange( org.yamcs.protobuf.Pvalue.Ranges.Range.Builder builderForValue) { if (rangeBuilder_ == null) { ensureRangeIsMutable(); range_.add(builderForValue.build()); onChanged(); } else { rangeBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public Builder addRange( int index, org.yamcs.protobuf.Pvalue.Ranges.Range.Builder builderForValue) { if (rangeBuilder_ == null) { ensureRangeIsMutable(); range_.add(index, builderForValue.build()); onChanged(); } else { rangeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public Builder addAllRange( java.lang.Iterable values) { if (rangeBuilder_ == null) { ensureRangeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, range_); onChanged(); } else { rangeBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public Builder clearRange() { if (rangeBuilder_ == null) { range_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { rangeBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public Builder removeRange(int index) { if (rangeBuilder_ == null) { ensureRangeIsMutable(); range_.remove(index); onChanged(); } else { rangeBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public org.yamcs.protobuf.Pvalue.Ranges.Range.Builder getRangeBuilder( int index) { return getRangeFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public org.yamcs.protobuf.Pvalue.Ranges.RangeOrBuilder getRangeOrBuilder( int index) { if (rangeBuilder_ == null) { return range_.get(index); } else { return rangeBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public java.util.List getRangeOrBuilderList() { if (rangeBuilder_ != null) { return rangeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(range_); } } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public org.yamcs.protobuf.Pvalue.Ranges.Range.Builder addRangeBuilder() { return getRangeFieldBuilder().addBuilder( org.yamcs.protobuf.Pvalue.Ranges.Range.getDefaultInstance()); } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public org.yamcs.protobuf.Pvalue.Ranges.Range.Builder addRangeBuilder( int index) { return getRangeFieldBuilder().addBuilder( index, org.yamcs.protobuf.Pvalue.Ranges.Range.getDefaultInstance()); } /** * repeated .yamcs.protobuf.pvalue.Ranges.Range range = 1; */ public java.util.List getRangeBuilderList() { return getRangeFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Pvalue.Ranges.Range, org.yamcs.protobuf.Pvalue.Ranges.Range.Builder, org.yamcs.protobuf.Pvalue.Ranges.RangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { rangeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Pvalue.Ranges.Range, org.yamcs.protobuf.Pvalue.Ranges.Range.Builder, org.yamcs.protobuf.Pvalue.Ranges.RangeOrBuilder>( range_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); range_ = null; } return rangeBuilder_; } @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.pvalue.Ranges) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.pvalue.Ranges) private static final org.yamcs.protobuf.Pvalue.Ranges DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Pvalue.Ranges(); } public static org.yamcs.protobuf.Pvalue.Ranges getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Ranges parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Ranges(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.Pvalue.Ranges getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_pvalue_ParameterValue_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_pvalue_ParameterValue_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_pvalue_ParameterData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_pvalue_ParameterData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_pvalue_TimeSeries_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_pvalue_TimeSeries_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_pvalue_TimeSeries_Sample_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_pvalue_TimeSeries_Sample_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_pvalue_Ranges_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_pvalue_Ranges_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_pvalue_Ranges_Range_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_pvalue_Ranges_Range_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\"yamcs/protobuf/pvalue/pvalue.proto\022\025ya" + "mcs.protobuf.pvalue\032\032yamcs/protobuf/yamc" + "s.proto\032\034yamcs/protobuf/mdb/mdb.proto\032\037g" + "oogle/protobuf/timestamp.proto\"\270\004\n\016Param" + "eterValue\022)\n\002id\030\001 \001(\0132\035.yamcs.protobuf.N" + "amedObjectId\022\'\n\010rawValue\030\002 \001(\0132\025.yamcs.p" + "rotobuf.Value\022\'\n\010engValue\030\003 \001(\0132\025.yamcs." + "protobuf.Value\0223\n\017acquisitionTime\030\004 \001(\0132" + "\032.google.protobuf.Timestamp\0222\n\016generatio" + "nTime\030\005 \001(\0132\032.google.protobuf.Timestamp\022" + "C\n\021acquisitionStatus\030\006 \001(\0162(.yamcs.proto" + "buf.pvalue.AcquisitionStatus\022\034\n\020processi" + "ngStatus\030\007 \001(\010B\002\030\001\022A\n\020monitoringResult\030\010" + " \001(\0162\'.yamcs.protobuf.pvalue.MonitoringR" + "esult\022=\n\016rangeCondition\030\t \001(\0162%.yamcs.pr" + "otobuf.pvalue.RangeCondition\0222\n\nalarmRan" + "ge\030\031 \003(\0132\036.yamcs.protobuf.mdb.AlarmRange" + "\022\024\n\014expireMillis\030\032 \001(\003\022\021\n\tnumericId\030\033 \001(" + "\r\"\230\001\n\rParameterData\0228\n\tparameter\030\001 \003(\0132%" + ".yamcs.protobuf.pvalue.ParameterValue\022\r\n" + "\005group\030\002 \001(\t\022\026\n\016generationTime\030\003 \001(\003\022\016\n\006" + "seqNum\030\004 \001(\005\022\026\n\016subscriptionId\030\005 \001(\005\"\207\002\n" + "\nTimeSeries\0228\n\006sample\030\001 \003(\0132(.yamcs.prot" + "obuf.pvalue.TimeSeries.Sample\032\276\001\n\006Sample" + "\022(\n\004time\030\006 \001(\0132\032.google.protobuf.Timesta" + "mp\022\013\n\003avg\030\002 \001(\001\022\013\n\003min\030\003 \001(\001\022\013\n\003max\030\004 \001(" + "\001\022\t\n\001n\030\005 \001(\005\022+\n\007minTime\030\007 \001(\0132\032.google.p" + "rotobuf.Timestamp\022+\n\007maxTime\030\010 \001(\0132\032.goo" + "gle.protobuf.Timestamp\"\344\001\n\006Ranges\0222\n\005ran" + "ge\030\001 \003(\0132#.yamcs.protobuf.pvalue.Ranges." + "Range\032\245\001\n\005Range\022)\n\005start\030\007 \001(\0132\032.google." + "protobuf.Timestamp\022(\n\004stop\030\010 \001(\0132\032.googl" + "e.protobuf.Timestamp\022\r\n\005count\030\004 \001(\005\022(\n\te" + "ngValues\030\005 \003(\0132\025.yamcs.protobuf.Value\022\016\n" + "\006counts\030\006 \003(\005*M\n\021AcquisitionStatus\022\014\n\010AC" + "QUIRED\020\000\022\020\n\014NOT_RECEIVED\020\001\022\013\n\007INVALID\020\002\022" + "\013\n\007EXPIRED\020\003*o\n\020MonitoringResult\022\014\n\010DISA" + "BLED\020\000\022\r\n\tIN_LIMITS\020\001\022\t\n\005WATCH\020\007\022\013\n\007WARN" + "ING\020\n\022\014\n\010DISTRESS\020\r\022\014\n\010CRITICAL\020\020\022\n\n\006SEV" + "ERE\020\023*#\n\016RangeCondition\022\007\n\003LOW\020\000\022\010\n\004HIGH" + "\020\001B\024\n\022org.yamcs.protobuf" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.yamcs.protobuf.Yamcs.getDescriptor(), org.yamcs.protobuf.Mdb.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_yamcs_protobuf_pvalue_ParameterValue_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_yamcs_protobuf_pvalue_ParameterValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_pvalue_ParameterValue_descriptor, new java.lang.String[] { "Id", "RawValue", "EngValue", "AcquisitionTime", "GenerationTime", "AcquisitionStatus", "ProcessingStatus", "MonitoringResult", "RangeCondition", "AlarmRange", "ExpireMillis", "NumericId", }); internal_static_yamcs_protobuf_pvalue_ParameterData_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_yamcs_protobuf_pvalue_ParameterData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_pvalue_ParameterData_descriptor, new java.lang.String[] { "Parameter", "Group", "GenerationTime", "SeqNum", "SubscriptionId", }); internal_static_yamcs_protobuf_pvalue_TimeSeries_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_yamcs_protobuf_pvalue_TimeSeries_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_pvalue_TimeSeries_descriptor, new java.lang.String[] { "Sample", }); internal_static_yamcs_protobuf_pvalue_TimeSeries_Sample_descriptor = internal_static_yamcs_protobuf_pvalue_TimeSeries_descriptor.getNestedTypes().get(0); internal_static_yamcs_protobuf_pvalue_TimeSeries_Sample_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_pvalue_TimeSeries_Sample_descriptor, new java.lang.String[] { "Time", "Avg", "Min", "Max", "N", "MinTime", "MaxTime", }); internal_static_yamcs_protobuf_pvalue_Ranges_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_yamcs_protobuf_pvalue_Ranges_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_pvalue_Ranges_descriptor, new java.lang.String[] { "Range", }); internal_static_yamcs_protobuf_pvalue_Ranges_Range_descriptor = internal_static_yamcs_protobuf_pvalue_Ranges_descriptor.getNestedTypes().get(0); internal_static_yamcs_protobuf_pvalue_Ranges_Range_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_pvalue_Ranges_Range_descriptor, new java.lang.String[] { "Start", "Stop", "Count", "EngValues", "Counts", }); org.yamcs.protobuf.Yamcs.getDescriptor(); org.yamcs.protobuf.Mdb.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy