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

org.yamcs.protobuf.SubscribeParametersData 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/processing/processing.proto

package org.yamcs.protobuf;

/**
 * Protobuf type {@code yamcs.protobuf.processing.SubscribeParametersData}
 */
public final class SubscribeParametersData extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:yamcs.protobuf.processing.SubscribeParametersData)
    SubscribeParametersDataOrBuilder {
private static final long serialVersionUID = 0L;
  // Use SubscribeParametersData.newBuilder() to construct.
  private SubscribeParametersData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private SubscribeParametersData() {
    invalid_ = java.util.Collections.emptyList();
    values_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private SubscribeParametersData(
      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)) {
              mapping_ = com.google.protobuf.MapField.newMapField(
                  MappingDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000001;
            }
            com.google.protobuf.MapEntry
            mapping__ = input.readMessage(
                MappingDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            mapping_.getMutableMap().put(
                mapping__.getKey(), mapping__.getValue());
            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
              invalid_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000004;
            }
            invalid_.add(
                input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry));
            break;
          }
          case 26: {
            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
              values_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000008;
            }
            values_.add(
                input.readMessage(org.yamcs.protobuf.Pvalue.ParameterValue.PARSER, extensionRegistry));
            break;
          }
          case 34: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              info_ = com.google.protobuf.MapField.newMapField(
                  InfoDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000002;
            }
            com.google.protobuf.MapEntry
            info__ = input.readMessage(
                InfoDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            info_.getMutableMap().put(
                info__.getKey(), info__.getValue());
            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_ & 0x00000004) != 0)) {
        invalid_ = java.util.Collections.unmodifiableList(invalid_);
      }
      if (((mutable_bitField0_ & 0x00000008) != 0)) {
        values_ = java.util.Collections.unmodifiableList(values_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.yamcs.protobuf.ProcessingProto.internal_static_yamcs_protobuf_processing_SubscribeParametersData_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.google.protobuf.MapField internalGetMapField(
      int number) {
    switch (number) {
      case 1:
        return internalGetMapping();
      case 4:
        return internalGetInfo();
      default:
        throw new RuntimeException(
            "Invalid map field number: " + number);
    }
  }
  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return org.yamcs.protobuf.ProcessingProto.internal_static_yamcs_protobuf_processing_SubscribeParametersData_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            org.yamcs.protobuf.SubscribeParametersData.class, org.yamcs.protobuf.SubscribeParametersData.Builder.class);
  }

  public static final int MAPPING_FIELD_NUMBER = 1;
  private static final class MappingDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.Integer, org.yamcs.protobuf.Yamcs.NamedObjectId> defaultEntry =
            com.google.protobuf.MapEntry
            .newDefaultInstance(
                org.yamcs.protobuf.ProcessingProto.internal_static_yamcs_protobuf_processing_SubscribeParametersData_MappingEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.UINT32,
                0,
                com.google.protobuf.WireFormat.FieldType.MESSAGE,
                org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance());
  }
  private com.google.protobuf.MapField<
      java.lang.Integer, org.yamcs.protobuf.Yamcs.NamedObjectId> mapping_;
  private com.google.protobuf.MapField
  internalGetMapping() {
    if (mapping_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          MappingDefaultEntryHolder.defaultEntry);
    }
    return mapping_;
  }

  public int getMappingCount() {
    return internalGetMapping().getMap().size();
  }
  /**
   * 
   * Mapping between numeric and subscribed identifier.
   * This information is provided only once, following a subscription.
   * 
* * map<uint32, .yamcs.protobuf.NamedObjectId> mapping = 1; */ @java.lang.Override public boolean containsMapping( int key) { return internalGetMapping().getMap().containsKey(key); } /** * Use {@link #getMappingMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMapping() { return getMappingMap(); } /** *
   * Mapping between numeric and subscribed identifier.
   * This information is provided only once, following a subscription.
   * 
* * map<uint32, .yamcs.protobuf.NamedObjectId> mapping = 1; */ @java.lang.Override public java.util.Map getMappingMap() { return internalGetMapping().getMap(); } /** *
   * Mapping between numeric and subscribed identifier.
   * This information is provided only once, following a subscription.
   * 
* * map<uint32, .yamcs.protobuf.NamedObjectId> mapping = 1; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getMappingOrDefault( int key, org.yamcs.protobuf.Yamcs.NamedObjectId defaultValue) { java.util.Map map = internalGetMapping().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * Mapping between numeric and subscribed identifier.
   * This information is provided only once, following a subscription.
   * 
* * map<uint32, .yamcs.protobuf.NamedObjectId> mapping = 1; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getMappingOrThrow( int key) { java.util.Map map = internalGetMapping().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int INFO_FIELD_NUMBER = 4; private static final class InfoDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.Integer, org.yamcs.protobuf.SubscribedParameterInfo> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( org.yamcs.protobuf.ProcessingProto.internal_static_yamcs_protobuf_processing_SubscribeParametersData_InfoEntry_descriptor, com.google.protobuf.WireFormat.FieldType.UINT32, 0, com.google.protobuf.WireFormat.FieldType.MESSAGE, org.yamcs.protobuf.SubscribedParameterInfo.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.Integer, org.yamcs.protobuf.SubscribedParameterInfo> info_; private com.google.protobuf.MapField internalGetInfo() { if (info_ == null) { return com.google.protobuf.MapField.emptyMapField( InfoDefaultEntryHolder.defaultEntry); } return info_; } public int getInfoCount() { return internalGetInfo().getMap().size(); } /** *
   * Mapping between numeric identifier, and matching parameter.
   * This information is provided only once, following a subscription.
   * 
* * map<uint32, .yamcs.protobuf.processing.SubscribedParameterInfo> info = 4; */ @java.lang.Override public boolean containsInfo( int key) { return internalGetInfo().getMap().containsKey(key); } /** * Use {@link #getInfoMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getInfo() { return getInfoMap(); } /** *
   * Mapping between numeric identifier, and matching parameter.
   * This information is provided only once, following a subscription.
   * 
* * map<uint32, .yamcs.protobuf.processing.SubscribedParameterInfo> info = 4; */ @java.lang.Override public java.util.Map getInfoMap() { return internalGetInfo().getMap(); } /** *
   * Mapping between numeric identifier, and matching parameter.
   * This information is provided only once, following a subscription.
   * 
* * map<uint32, .yamcs.protobuf.processing.SubscribedParameterInfo> info = 4; */ @java.lang.Override public org.yamcs.protobuf.SubscribedParameterInfo getInfoOrDefault( int key, org.yamcs.protobuf.SubscribedParameterInfo defaultValue) { java.util.Map map = internalGetInfo().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * Mapping between numeric identifier, and matching parameter.
   * This information is provided only once, following a subscription.
   * 
* * map<uint32, .yamcs.protobuf.processing.SubscribedParameterInfo> info = 4; */ @java.lang.Override public org.yamcs.protobuf.SubscribedParameterInfo getInfoOrThrow( int key) { java.util.Map map = internalGetInfo().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int INVALID_FIELD_NUMBER = 2; private java.util.List invalid_; /** *
   * Parameter identifiers that were subscribed to, but that
   * cannot be matched against the Mission Database.
   * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ @java.lang.Override public java.util.List getInvalidList() { return invalid_; } /** *
   * Parameter identifiers that were subscribed to, but that
   * cannot be matched against the Mission Database.
   * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ @java.lang.Override public java.util.List getInvalidOrBuilderList() { return invalid_; } /** *
   * Parameter identifiers that were subscribed to, but that
   * cannot be matched against the Mission Database.
   * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ @java.lang.Override public int getInvalidCount() { return invalid_.size(); } /** *
   * Parameter identifiers that were subscribed to, but that
   * cannot be matched against the Mission Database.
   * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getInvalid(int index) { return invalid_.get(index); } /** *
   * Parameter identifiers that were subscribed to, but that
   * cannot be matched against the Mission Database.
   * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getInvalidOrBuilder( int index) { return invalid_.get(index); } public static final int VALUES_FIELD_NUMBER = 3; private java.util.List values_; /** *
   * Values of updated parameters.
   * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ @java.lang.Override public java.util.List getValuesList() { return values_; } /** *
   * Values of updated parameters.
   * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ @java.lang.Override public java.util.List getValuesOrBuilderList() { return values_; } /** *
   * Values of updated parameters.
   * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ @java.lang.Override public int getValuesCount() { return values_.size(); } /** *
   * Values of updated parameters.
   * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ @java.lang.Override public org.yamcs.protobuf.Pvalue.ParameterValue getValues(int index) { return values_.get(index); } /** *
   * Values of updated parameters.
   * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ @java.lang.Override public org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder getValuesOrBuilder( int index) { return values_.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 (org.yamcs.protobuf.Yamcs.NamedObjectId item : getMappingMap().values()) { if (!item.isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getInvalidCount(); i++) { if (!getInvalid(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getValuesCount(); i++) { if (!getValues(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 { com.google.protobuf.GeneratedMessageV3 .serializeIntegerMapTo( output, internalGetMapping(), MappingDefaultEntryHolder.defaultEntry, 1); for (int i = 0; i < invalid_.size(); i++) { output.writeMessage(2, invalid_.get(i)); } for (int i = 0; i < values_.size(); i++) { output.writeMessage(3, values_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeIntegerMapTo( output, internalGetInfo(), InfoDefaultEntryHolder.defaultEntry, 4); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapping().getMap().entrySet()) { com.google.protobuf.MapEntry mapping__ = MappingDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, mapping__); } for (int i = 0; i < invalid_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, invalid_.get(i)); } for (int i = 0; i < values_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, values_.get(i)); } for (java.util.Map.Entry entry : internalGetInfo().getMap().entrySet()) { com.google.protobuf.MapEntry info__ = InfoDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, info__); } 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.SubscribeParametersData)) { return super.equals(obj); } org.yamcs.protobuf.SubscribeParametersData other = (org.yamcs.protobuf.SubscribeParametersData) obj; if (!internalGetMapping().equals( other.internalGetMapping())) return false; if (!internalGetInfo().equals( other.internalGetInfo())) return false; if (!getInvalidList() .equals(other.getInvalidList())) return false; if (!getValuesList() .equals(other.getValuesList())) 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 (!internalGetMapping().getMap().isEmpty()) { hash = (37 * hash) + MAPPING_FIELD_NUMBER; hash = (53 * hash) + internalGetMapping().hashCode(); } if (!internalGetInfo().getMap().isEmpty()) { hash = (37 * hash) + INFO_FIELD_NUMBER; hash = (53 * hash) + internalGetInfo().hashCode(); } if (getInvalidCount() > 0) { hash = (37 * hash) + INVALID_FIELD_NUMBER; hash = (53 * hash) + getInvalidList().hashCode(); } if (getValuesCount() > 0) { hash = (37 * hash) + VALUES_FIELD_NUMBER; hash = (53 * hash) + getValuesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.SubscribeParametersData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.SubscribeParametersData 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.SubscribeParametersData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.SubscribeParametersData 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.SubscribeParametersData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.SubscribeParametersData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.SubscribeParametersData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.SubscribeParametersData 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.SubscribeParametersData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.SubscribeParametersData 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.SubscribeParametersData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.SubscribeParametersData 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.SubscribeParametersData 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.processing.SubscribeParametersData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.processing.SubscribeParametersData) org.yamcs.protobuf.SubscribeParametersDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.ProcessingProto.internal_static_yamcs_protobuf_processing_SubscribeParametersData_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapping(); case 4: return internalGetInfo(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapping(); case 4: return internalGetMutableInfo(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.ProcessingProto.internal_static_yamcs_protobuf_processing_SubscribeParametersData_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.SubscribeParametersData.class, org.yamcs.protobuf.SubscribeParametersData.Builder.class); } // Construct using org.yamcs.protobuf.SubscribeParametersData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getInvalidFieldBuilder(); getValuesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapping().clear(); internalGetMutableInfo().clear(); if (invalidBuilder_ == null) { invalid_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { invalidBuilder_.clear(); } if (valuesBuilder_ == null) { values_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { valuesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.ProcessingProto.internal_static_yamcs_protobuf_processing_SubscribeParametersData_descriptor; } @java.lang.Override public org.yamcs.protobuf.SubscribeParametersData getDefaultInstanceForType() { return org.yamcs.protobuf.SubscribeParametersData.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.SubscribeParametersData build() { org.yamcs.protobuf.SubscribeParametersData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.SubscribeParametersData buildPartial() { org.yamcs.protobuf.SubscribeParametersData result = new org.yamcs.protobuf.SubscribeParametersData(this); int from_bitField0_ = bitField0_; result.mapping_ = internalGetMapping(); result.mapping_.makeImmutable(); result.info_ = internalGetInfo(); result.info_.makeImmutable(); if (invalidBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { invalid_ = java.util.Collections.unmodifiableList(invalid_); bitField0_ = (bitField0_ & ~0x00000004); } result.invalid_ = invalid_; } else { result.invalid_ = invalidBuilder_.build(); } if (valuesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { values_ = java.util.Collections.unmodifiableList(values_); bitField0_ = (bitField0_ & ~0x00000008); } result.values_ = values_; } else { result.values_ = valuesBuilder_.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.SubscribeParametersData) { return mergeFrom((org.yamcs.protobuf.SubscribeParametersData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.SubscribeParametersData other) { if (other == org.yamcs.protobuf.SubscribeParametersData.getDefaultInstance()) return this; internalGetMutableMapping().mergeFrom( other.internalGetMapping()); internalGetMutableInfo().mergeFrom( other.internalGetInfo()); if (invalidBuilder_ == null) { if (!other.invalid_.isEmpty()) { if (invalid_.isEmpty()) { invalid_ = other.invalid_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureInvalidIsMutable(); invalid_.addAll(other.invalid_); } onChanged(); } } else { if (!other.invalid_.isEmpty()) { if (invalidBuilder_.isEmpty()) { invalidBuilder_.dispose(); invalidBuilder_ = null; invalid_ = other.invalid_; bitField0_ = (bitField0_ & ~0x00000004); invalidBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getInvalidFieldBuilder() : null; } else { invalidBuilder_.addAllMessages(other.invalid_); } } } if (valuesBuilder_ == null) { if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureValuesIsMutable(); values_.addAll(other.values_); } onChanged(); } } else { if (!other.values_.isEmpty()) { if (valuesBuilder_.isEmpty()) { valuesBuilder_.dispose(); valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000008); valuesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getValuesFieldBuilder() : null; } else { valuesBuilder_.addAllMessages(other.values_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (org.yamcs.protobuf.Yamcs.NamedObjectId item : getMappingMap().values()) { if (!item.isInitialized()) { return false; } } for (int i = 0; i < getInvalidCount(); i++) { if (!getInvalid(i).isInitialized()) { return false; } } for (int i = 0; i < getValuesCount(); i++) { if (!getValues(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.SubscribeParametersData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.SubscribeParametersData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.Integer, org.yamcs.protobuf.Yamcs.NamedObjectId> mapping_; private com.google.protobuf.MapField internalGetMapping() { if (mapping_ == null) { return com.google.protobuf.MapField.emptyMapField( MappingDefaultEntryHolder.defaultEntry); } return mapping_; } private com.google.protobuf.MapField internalGetMutableMapping() { onChanged();; if (mapping_ == null) { mapping_ = com.google.protobuf.MapField.newMapField( MappingDefaultEntryHolder.defaultEntry); } if (!mapping_.isMutable()) { mapping_ = mapping_.copy(); } return mapping_; } public int getMappingCount() { return internalGetMapping().getMap().size(); } /** *
     * Mapping between numeric and subscribed identifier.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.NamedObjectId> mapping = 1; */ @java.lang.Override public boolean containsMapping( int key) { return internalGetMapping().getMap().containsKey(key); } /** * Use {@link #getMappingMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMapping() { return getMappingMap(); } /** *
     * Mapping between numeric and subscribed identifier.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.NamedObjectId> mapping = 1; */ @java.lang.Override public java.util.Map getMappingMap() { return internalGetMapping().getMap(); } /** *
     * Mapping between numeric and subscribed identifier.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.NamedObjectId> mapping = 1; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getMappingOrDefault( int key, org.yamcs.protobuf.Yamcs.NamedObjectId defaultValue) { java.util.Map map = internalGetMapping().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Mapping between numeric and subscribed identifier.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.NamedObjectId> mapping = 1; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getMappingOrThrow( int key) { java.util.Map map = internalGetMapping().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapping() { internalGetMutableMapping().getMutableMap() .clear(); return this; } /** *
     * Mapping between numeric and subscribed identifier.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.NamedObjectId> mapping = 1; */ public Builder removeMapping( int key) { internalGetMutableMapping().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapping() { return internalGetMutableMapping().getMutableMap(); } /** *
     * Mapping between numeric and subscribed identifier.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.NamedObjectId> mapping = 1; */ public Builder putMapping( int key, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMapping().getMutableMap() .put(key, value); return this; } /** *
     * Mapping between numeric and subscribed identifier.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.NamedObjectId> mapping = 1; */ public Builder putAllMapping( java.util.Map values) { internalGetMutableMapping().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.Integer, org.yamcs.protobuf.SubscribedParameterInfo> info_; private com.google.protobuf.MapField internalGetInfo() { if (info_ == null) { return com.google.protobuf.MapField.emptyMapField( InfoDefaultEntryHolder.defaultEntry); } return info_; } private com.google.protobuf.MapField internalGetMutableInfo() { onChanged();; if (info_ == null) { info_ = com.google.protobuf.MapField.newMapField( InfoDefaultEntryHolder.defaultEntry); } if (!info_.isMutable()) { info_ = info_.copy(); } return info_; } public int getInfoCount() { return internalGetInfo().getMap().size(); } /** *
     * Mapping between numeric identifier, and matching parameter.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.processing.SubscribedParameterInfo> info = 4; */ @java.lang.Override public boolean containsInfo( int key) { return internalGetInfo().getMap().containsKey(key); } /** * Use {@link #getInfoMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getInfo() { return getInfoMap(); } /** *
     * Mapping between numeric identifier, and matching parameter.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.processing.SubscribedParameterInfo> info = 4; */ @java.lang.Override public java.util.Map getInfoMap() { return internalGetInfo().getMap(); } /** *
     * Mapping between numeric identifier, and matching parameter.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.processing.SubscribedParameterInfo> info = 4; */ @java.lang.Override public org.yamcs.protobuf.SubscribedParameterInfo getInfoOrDefault( int key, org.yamcs.protobuf.SubscribedParameterInfo defaultValue) { java.util.Map map = internalGetInfo().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Mapping between numeric identifier, and matching parameter.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.processing.SubscribedParameterInfo> info = 4; */ @java.lang.Override public org.yamcs.protobuf.SubscribedParameterInfo getInfoOrThrow( int key) { java.util.Map map = internalGetInfo().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearInfo() { internalGetMutableInfo().getMutableMap() .clear(); return this; } /** *
     * Mapping between numeric identifier, and matching parameter.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.processing.SubscribedParameterInfo> info = 4; */ public Builder removeInfo( int key) { internalGetMutableInfo().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableInfo() { return internalGetMutableInfo().getMutableMap(); } /** *
     * Mapping between numeric identifier, and matching parameter.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.processing.SubscribedParameterInfo> info = 4; */ public Builder putInfo( int key, org.yamcs.protobuf.SubscribedParameterInfo value) { if (value == null) { throw new NullPointerException("map value"); } internalGetMutableInfo().getMutableMap() .put(key, value); return this; } /** *
     * Mapping between numeric identifier, and matching parameter.
     * This information is provided only once, following a subscription.
     * 
* * map<uint32, .yamcs.protobuf.processing.SubscribedParameterInfo> info = 4; */ public Builder putAllInfo( java.util.Map values) { internalGetMutableInfo().getMutableMap() .putAll(values); return this; } private java.util.List invalid_ = java.util.Collections.emptyList(); private void ensureInvalidIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { invalid_ = new java.util.ArrayList(invalid_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> invalidBuilder_; /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public java.util.List getInvalidList() { if (invalidBuilder_ == null) { return java.util.Collections.unmodifiableList(invalid_); } else { return invalidBuilder_.getMessageList(); } } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public int getInvalidCount() { if (invalidBuilder_ == null) { return invalid_.size(); } else { return invalidBuilder_.getCount(); } } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getInvalid(int index) { if (invalidBuilder_ == null) { return invalid_.get(index); } else { return invalidBuilder_.getMessage(index); } } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public Builder setInvalid( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (invalidBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInvalidIsMutable(); invalid_.set(index, value); onChanged(); } else { invalidBuilder_.setMessage(index, value); } return this; } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public Builder setInvalid( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (invalidBuilder_ == null) { ensureInvalidIsMutable(); invalid_.set(index, builderForValue.build()); onChanged(); } else { invalidBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public Builder addInvalid(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (invalidBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInvalidIsMutable(); invalid_.add(value); onChanged(); } else { invalidBuilder_.addMessage(value); } return this; } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public Builder addInvalid( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (invalidBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInvalidIsMutable(); invalid_.add(index, value); onChanged(); } else { invalidBuilder_.addMessage(index, value); } return this; } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public Builder addInvalid( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (invalidBuilder_ == null) { ensureInvalidIsMutable(); invalid_.add(builderForValue.build()); onChanged(); } else { invalidBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public Builder addInvalid( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (invalidBuilder_ == null) { ensureInvalidIsMutable(); invalid_.add(index, builderForValue.build()); onChanged(); } else { invalidBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public Builder addAllInvalid( java.lang.Iterable values) { if (invalidBuilder_ == null) { ensureInvalidIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, invalid_); onChanged(); } else { invalidBuilder_.addAllMessages(values); } return this; } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public Builder clearInvalid() { if (invalidBuilder_ == null) { invalid_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { invalidBuilder_.clear(); } return this; } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public Builder removeInvalid(int index) { if (invalidBuilder_ == null) { ensureInvalidIsMutable(); invalid_.remove(index); onChanged(); } else { invalidBuilder_.remove(index); } return this; } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getInvalidBuilder( int index) { return getInvalidFieldBuilder().getBuilder(index); } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getInvalidOrBuilder( int index) { if (invalidBuilder_ == null) { return invalid_.get(index); } else { return invalidBuilder_.getMessageOrBuilder(index); } } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public java.util.List getInvalidOrBuilderList() { if (invalidBuilder_ != null) { return invalidBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(invalid_); } } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addInvalidBuilder() { return getInvalidFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addInvalidBuilder( int index) { return getInvalidFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** *
     * Parameter identifiers that were subscribed to, but that
     * cannot be matched against the Mission Database.
     * 
* * repeated .yamcs.protobuf.NamedObjectId invalid = 2; */ public java.util.List getInvalidBuilderList() { return getInvalidFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getInvalidFieldBuilder() { if (invalidBuilder_ == null) { invalidBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( invalid_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); invalid_ = null; } return invalidBuilder_; } private java.util.List values_ = java.util.Collections.emptyList(); private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Pvalue.ParameterValue, org.yamcs.protobuf.Pvalue.ParameterValue.Builder, org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder> valuesBuilder_; /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public java.util.List getValuesList() { if (valuesBuilder_ == null) { return java.util.Collections.unmodifiableList(values_); } else { return valuesBuilder_.getMessageList(); } } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public int getValuesCount() { if (valuesBuilder_ == null) { return values_.size(); } else { return valuesBuilder_.getCount(); } } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public org.yamcs.protobuf.Pvalue.ParameterValue getValues(int index) { if (valuesBuilder_ == null) { return values_.get(index); } else { return valuesBuilder_.getMessage(index); } } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public Builder setValues( int index, org.yamcs.protobuf.Pvalue.ParameterValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.set(index, value); onChanged(); } else { valuesBuilder_.setMessage(index, value); } return this; } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public Builder setValues( int index, org.yamcs.protobuf.Pvalue.ParameterValue.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.set(index, builderForValue.build()); onChanged(); } else { valuesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public Builder addValues(org.yamcs.protobuf.Pvalue.ParameterValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.add(value); onChanged(); } else { valuesBuilder_.addMessage(value); } return this; } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public Builder addValues( int index, org.yamcs.protobuf.Pvalue.ParameterValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.add(index, value); onChanged(); } else { valuesBuilder_.addMessage(index, value); } return this; } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public Builder addValues( org.yamcs.protobuf.Pvalue.ParameterValue.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); onChanged(); } else { valuesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public Builder addValues( int index, org.yamcs.protobuf.Pvalue.ParameterValue.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(index, builderForValue.build()); onChanged(); } else { valuesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); } return this; } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public Builder clearValues() { if (valuesBuilder_ == null) { values_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { valuesBuilder_.clear(); } return this; } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public Builder removeValues(int index) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.remove(index); onChanged(); } else { valuesBuilder_.remove(index); } return this; } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public org.yamcs.protobuf.Pvalue.ParameterValue.Builder getValuesBuilder( int index) { return getValuesFieldBuilder().getBuilder(index); } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder getValuesOrBuilder( int index) { if (valuesBuilder_ == null) { return values_.get(index); } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public java.util.List getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(values_); } } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public org.yamcs.protobuf.Pvalue.ParameterValue.Builder addValuesBuilder() { return getValuesFieldBuilder().addBuilder( org.yamcs.protobuf.Pvalue.ParameterValue.getDefaultInstance()); } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public org.yamcs.protobuf.Pvalue.ParameterValue.Builder addValuesBuilder( int index) { return getValuesFieldBuilder().addBuilder( index, org.yamcs.protobuf.Pvalue.ParameterValue.getDefaultInstance()); } /** *
     * Values of updated parameters.
     * 
* * repeated .yamcs.protobuf.pvalue.ParameterValue values = 3; */ public java.util.List getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Pvalue.ParameterValue, org.yamcs.protobuf.Pvalue.ParameterValue.Builder, org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Pvalue.ParameterValue, org.yamcs.protobuf.Pvalue.ParameterValue.Builder, org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder>( values_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); values_ = null; } return valuesBuilder_; } @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.processing.SubscribeParametersData) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.processing.SubscribeParametersData) private static final org.yamcs.protobuf.SubscribeParametersData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.SubscribeParametersData(); } public static org.yamcs.protobuf.SubscribeParametersData getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeParametersData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeParametersData(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.SubscribeParametersData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy