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

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

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

package org.yamcs.protobuf;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code yamcs.protobuf.mdb.DataSourceType}
   */
  public enum DataSourceType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * TELEMETERED = 0;
     */
    TELEMETERED(0),
    /**
     * DERIVED = 1;
     */
    DERIVED(1),
    /**
     * CONSTANT = 2;
     */
    CONSTANT(2),
    /**
     * LOCAL = 3;
     */
    LOCAL(3),
    /**
     * SYSTEM = 4;
     */
    SYSTEM(4),
    /**
     * COMMAND = 5;
     */
    COMMAND(5),
    /**
     * COMMAND_HISTORY = 6;
     */
    COMMAND_HISTORY(6),
    /**
     * EXTERNAL1 = 7;
     */
    EXTERNAL1(7),
    /**
     * EXTERNAL2 = 8;
     */
    EXTERNAL2(8),
    /**
     * EXTERNAL3 = 9;
     */
    EXTERNAL3(9),
    ;

    /**
     * TELEMETERED = 0;
     */
    public static final int TELEMETERED_VALUE = 0;
    /**
     * DERIVED = 1;
     */
    public static final int DERIVED_VALUE = 1;
    /**
     * CONSTANT = 2;
     */
    public static final int CONSTANT_VALUE = 2;
    /**
     * LOCAL = 3;
     */
    public static final int LOCAL_VALUE = 3;
    /**
     * SYSTEM = 4;
     */
    public static final int SYSTEM_VALUE = 4;
    /**
     * COMMAND = 5;
     */
    public static final int COMMAND_VALUE = 5;
    /**
     * COMMAND_HISTORY = 6;
     */
    public static final int COMMAND_HISTORY_VALUE = 6;
    /**
     * EXTERNAL1 = 7;
     */
    public static final int EXTERNAL1_VALUE = 7;
    /**
     * EXTERNAL2 = 8;
     */
    public static final int EXTERNAL2_VALUE = 8;
    /**
     * EXTERNAL3 = 9;
     */
    public static final int EXTERNAL3_VALUE = 9;


    public final int getNumber() {
      return value;
    }

    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static DataSourceType valueOf(int value) {
      return forNumber(value);
    }

    public static DataSourceType forNumber(int value) {
      switch (value) {
        case 0: return TELEMETERED;
        case 1: return DERIVED;
        case 2: return CONSTANT;
        case 3: return LOCAL;
        case 4: return SYSTEM;
        case 5: return COMMAND;
        case 6: return COMMAND_HISTORY;
        case 7: return EXTERNAL1;
        case 8: return EXTERNAL2;
        case 9: return EXTERNAL3;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        DataSourceType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public DataSourceType findValueByNumber(int number) {
              return DataSourceType.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.Mdb.getDescriptor().getEnumTypes().get(0);
    }

    private static final DataSourceType[] VALUES = values();

    public static DataSourceType 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 DataSourceType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:yamcs.protobuf.mdb.DataSourceType)
  }

  /**
   * Protobuf enum {@code yamcs.protobuf.mdb.AlarmLevelType}
   */
  public enum AlarmLevelType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * NORMAL = 0;
     */
    NORMAL(0),
    /**
     * WATCH = 1;
     */
    WATCH(1),
    /**
     * WARNING = 2;
     */
    WARNING(2),
    /**
     * DISTRESS = 3;
     */
    DISTRESS(3),
    /**
     * CRITICAL = 4;
     */
    CRITICAL(4),
    /**
     * SEVERE = 5;
     */
    SEVERE(5),
    ;

    /**
     * NORMAL = 0;
     */
    public static final int NORMAL_VALUE = 0;
    /**
     * WATCH = 1;
     */
    public static final int WATCH_VALUE = 1;
    /**
     * WARNING = 2;
     */
    public static final int WARNING_VALUE = 2;
    /**
     * DISTRESS = 3;
     */
    public static final int DISTRESS_VALUE = 3;
    /**
     * CRITICAL = 4;
     */
    public static final int CRITICAL_VALUE = 4;
    /**
     * SEVERE = 5;
     */
    public static final int SEVERE_VALUE = 5;


    public final int getNumber() {
      return value;
    }

    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static AlarmLevelType valueOf(int value) {
      return forNumber(value);
    }

    public static AlarmLevelType forNumber(int value) {
      switch (value) {
        case 0: return NORMAL;
        case 1: return WATCH;
        case 2: return WARNING;
        case 3: return DISTRESS;
        case 4: return CRITICAL;
        case 5: return SEVERE;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        AlarmLevelType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public AlarmLevelType findValueByNumber(int number) {
              return AlarmLevelType.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.Mdb.getDescriptor().getEnumTypes().get(1);
    }

    private static final AlarmLevelType[] VALUES = values();

    public static AlarmLevelType 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 AlarmLevelType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:yamcs.protobuf.mdb.AlarmLevelType)
  }

  public interface MissionDatabaseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.MissionDatabase)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     *this is the config section in mdb.yaml
     * 
* * optional string configName = 1; */ boolean hasConfigName(); /** *
     *this is the config section in mdb.yaml
     * 
* * optional string configName = 1; */ java.lang.String getConfigName(); /** *
     *this is the config section in mdb.yaml
     * 
* * optional string configName = 1; */ com.google.protobuf.ByteString getConfigNameBytes(); /** *
     *XTCE root SpaceSystem name
     * 
* * optional string name = 2; */ boolean hasName(); /** *
     *XTCE root SpaceSystem name
     * 
* * optional string name = 2; */ java.lang.String getName(); /** *
     *XTCE root SpaceSystem name
     * 
* * optional string name = 2; */ com.google.protobuf.ByteString getNameBytes(); /** *
     *XTCE root SpaceSystem header version
     * 
* * optional string version = 3; */ boolean hasVersion(); /** *
     *XTCE root SpaceSystem header version
     * 
* * optional string version = 3; */ java.lang.String getVersion(); /** *
     *XTCE root SpaceSystem header version
     * 
* * optional string version = 3; */ com.google.protobuf.ByteString getVersionBytes(); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ java.util.List getSpaceSystemList(); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystem(int index); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ int getSpaceSystemCount(); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ java.util.List getSpaceSystemOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemOrBuilder( int index); /** * optional int32 parameterCount = 6; */ boolean hasParameterCount(); /** * optional int32 parameterCount = 6; */ int getParameterCount(); /** * optional int32 containerCount = 7; */ boolean hasContainerCount(); /** * optional int32 containerCount = 7; */ int getContainerCount(); /** * optional int32 commandCount = 8; */ boolean hasCommandCount(); /** * optional int32 commandCount = 8; */ int getCommandCount(); /** * optional int32 algorithmCount = 9; */ boolean hasAlgorithmCount(); /** * optional int32 algorithmCount = 9; */ int getAlgorithmCount(); /** * optional int32 parameterTypeCount = 10; */ boolean hasParameterTypeCount(); /** * optional int32 parameterTypeCount = 10; */ int getParameterTypeCount(); } /** * Protobuf type {@code yamcs.protobuf.mdb.MissionDatabase} */ public static final class MissionDatabase extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.MissionDatabase) MissionDatabaseOrBuilder { private static final long serialVersionUID = 0L; // Use MissionDatabase.newBuilder() to construct. private MissionDatabase(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MissionDatabase() { configName_ = ""; name_ = ""; version_ = ""; spaceSystem_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MissionDatabase( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; configName_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; version_ = bs; break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { spaceSystem_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } spaceSystem_.add( input.readMessage(org.yamcs.protobuf.Mdb.SpaceSystemInfo.PARSER, extensionRegistry)); break; } case 48: { bitField0_ |= 0x00000008; parameterCount_ = input.readInt32(); break; } case 56: { bitField0_ |= 0x00000010; containerCount_ = input.readInt32(); break; } case 64: { bitField0_ |= 0x00000020; commandCount_ = input.readInt32(); break; } case 72: { bitField0_ |= 0x00000040; algorithmCount_ = input.readInt32(); break; } case 80: { bitField0_ |= 0x00000080; parameterTypeCount_ = 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_ & 0x00000008) != 0)) { spaceSystem_ = java.util.Collections.unmodifiableList(spaceSystem_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MissionDatabase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MissionDatabase_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.MissionDatabase.class, org.yamcs.protobuf.Mdb.MissionDatabase.Builder.class); } private int bitField0_; public static final int CONFIGNAME_FIELD_NUMBER = 1; private volatile java.lang.Object configName_; /** *
     *this is the config section in mdb.yaml
     * 
* * optional string configName = 1; */ public boolean hasConfigName() { return ((bitField0_ & 0x00000001) != 0); } /** *
     *this is the config section in mdb.yaml
     * 
* * optional string configName = 1; */ public java.lang.String getConfigName() { java.lang.Object ref = configName_; 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()) { configName_ = s; } return s; } } /** *
     *this is the config section in mdb.yaml
     * 
* * optional string configName = 1; */ public com.google.protobuf.ByteString getConfigNameBytes() { java.lang.Object ref = configName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); configName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     *XTCE root SpaceSystem name
     * 
* * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     *XTCE root SpaceSystem name
     * 
* * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     *XTCE root SpaceSystem name
     * 
* * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object version_; /** *
     *XTCE root SpaceSystem header version
     * 
* * optional string version = 3; */ public boolean hasVersion() { return ((bitField0_ & 0x00000004) != 0); } /** *
     *XTCE root SpaceSystem header version
     * 
* * optional string version = 3; */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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()) { version_ = s; } return s; } } /** *
     *XTCE root SpaceSystem header version
     * 
* * optional string version = 3; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SPACESYSTEM_FIELD_NUMBER = 4; private java.util.List spaceSystem_; /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public java.util.List getSpaceSystemList() { return spaceSystem_; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public java.util.List getSpaceSystemOrBuilderList() { return spaceSystem_; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public int getSpaceSystemCount() { return spaceSystem_.size(); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystem(int index) { return spaceSystem_.get(index); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemOrBuilder( int index) { return spaceSystem_.get(index); } public static final int PARAMETERCOUNT_FIELD_NUMBER = 6; private int parameterCount_; /** * optional int32 parameterCount = 6; */ public boolean hasParameterCount() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 parameterCount = 6; */ public int getParameterCount() { return parameterCount_; } public static final int CONTAINERCOUNT_FIELD_NUMBER = 7; private int containerCount_; /** * optional int32 containerCount = 7; */ public boolean hasContainerCount() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 containerCount = 7; */ public int getContainerCount() { return containerCount_; } public static final int COMMANDCOUNT_FIELD_NUMBER = 8; private int commandCount_; /** * optional int32 commandCount = 8; */ public boolean hasCommandCount() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 commandCount = 8; */ public int getCommandCount() { return commandCount_; } public static final int ALGORITHMCOUNT_FIELD_NUMBER = 9; private int algorithmCount_; /** * optional int32 algorithmCount = 9; */ public boolean hasAlgorithmCount() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int32 algorithmCount = 9; */ public int getAlgorithmCount() { return algorithmCount_; } public static final int PARAMETERTYPECOUNT_FIELD_NUMBER = 10; private int parameterTypeCount_; /** * optional int32 parameterTypeCount = 10; */ public boolean hasParameterTypeCount() { return ((bitField0_ & 0x00000080) != 0); } /** * optional int32 parameterTypeCount = 10; */ public int getParameterTypeCount() { return parameterTypeCount_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, configName_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, version_); } for (int i = 0; i < spaceSystem_.size(); i++) { output.writeMessage(4, spaceSystem_.get(i)); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(6, parameterCount_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(7, containerCount_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt32(8, commandCount_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeInt32(9, algorithmCount_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeInt32(10, parameterTypeCount_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, configName_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, version_); } for (int i = 0; i < spaceSystem_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, spaceSystem_.get(i)); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, parameterCount_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, containerCount_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, commandCount_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, algorithmCount_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(10, parameterTypeCount_); } 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.Mdb.MissionDatabase)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.MissionDatabase other = (org.yamcs.protobuf.Mdb.MissionDatabase) obj; if (hasConfigName() != other.hasConfigName()) return false; if (hasConfigName()) { if (!getConfigName() .equals(other.getConfigName())) return false; } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasVersion() != other.hasVersion()) return false; if (hasVersion()) { if (!getVersion() .equals(other.getVersion())) return false; } if (!getSpaceSystemList() .equals(other.getSpaceSystemList())) return false; if (hasParameterCount() != other.hasParameterCount()) return false; if (hasParameterCount()) { if (getParameterCount() != other.getParameterCount()) return false; } if (hasContainerCount() != other.hasContainerCount()) return false; if (hasContainerCount()) { if (getContainerCount() != other.getContainerCount()) return false; } if (hasCommandCount() != other.hasCommandCount()) return false; if (hasCommandCount()) { if (getCommandCount() != other.getCommandCount()) return false; } if (hasAlgorithmCount() != other.hasAlgorithmCount()) return false; if (hasAlgorithmCount()) { if (getAlgorithmCount() != other.getAlgorithmCount()) return false; } if (hasParameterTypeCount() != other.hasParameterTypeCount()) return false; if (hasParameterTypeCount()) { if (getParameterTypeCount() != other.getParameterTypeCount()) 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 (hasConfigName()) { hash = (37 * hash) + CONFIGNAME_FIELD_NUMBER; hash = (53 * hash) + getConfigName().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); } if (getSpaceSystemCount() > 0) { hash = (37 * hash) + SPACESYSTEM_FIELD_NUMBER; hash = (53 * hash) + getSpaceSystemList().hashCode(); } if (hasParameterCount()) { hash = (37 * hash) + PARAMETERCOUNT_FIELD_NUMBER; hash = (53 * hash) + getParameterCount(); } if (hasContainerCount()) { hash = (37 * hash) + CONTAINERCOUNT_FIELD_NUMBER; hash = (53 * hash) + getContainerCount(); } if (hasCommandCount()) { hash = (37 * hash) + COMMANDCOUNT_FIELD_NUMBER; hash = (53 * hash) + getCommandCount(); } if (hasAlgorithmCount()) { hash = (37 * hash) + ALGORITHMCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAlgorithmCount(); } if (hasParameterTypeCount()) { hash = (37 * hash) + PARAMETERTYPECOUNT_FIELD_NUMBER; hash = (53 * hash) + getParameterTypeCount(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.MissionDatabase parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.MissionDatabase 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.Mdb.MissionDatabase parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.MissionDatabase 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.Mdb.MissionDatabase parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.MissionDatabase parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.MissionDatabase parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.MissionDatabase 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.Mdb.MissionDatabase parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.MissionDatabase 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.Mdb.MissionDatabase parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.MissionDatabase 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.Mdb.MissionDatabase 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.mdb.MissionDatabase} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.MissionDatabase) org.yamcs.protobuf.Mdb.MissionDatabaseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MissionDatabase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MissionDatabase_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.MissionDatabase.class, org.yamcs.protobuf.Mdb.MissionDatabase.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.MissionDatabase.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSpaceSystemFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); configName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); version_ = ""; bitField0_ = (bitField0_ & ~0x00000004); if (spaceSystemBuilder_ == null) { spaceSystem_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { spaceSystemBuilder_.clear(); } parameterCount_ = 0; bitField0_ = (bitField0_ & ~0x00000010); containerCount_ = 0; bitField0_ = (bitField0_ & ~0x00000020); commandCount_ = 0; bitField0_ = (bitField0_ & ~0x00000040); algorithmCount_ = 0; bitField0_ = (bitField0_ & ~0x00000080); parameterTypeCount_ = 0; bitField0_ = (bitField0_ & ~0x00000100); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MissionDatabase_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.MissionDatabase getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.MissionDatabase.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.MissionDatabase build() { org.yamcs.protobuf.Mdb.MissionDatabase result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.MissionDatabase buildPartial() { org.yamcs.protobuf.Mdb.MissionDatabase result = new org.yamcs.protobuf.Mdb.MissionDatabase(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.configName_ = configName_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.version_ = version_; if (spaceSystemBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { spaceSystem_ = java.util.Collections.unmodifiableList(spaceSystem_); bitField0_ = (bitField0_ & ~0x00000008); } result.spaceSystem_ = spaceSystem_; } else { result.spaceSystem_ = spaceSystemBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.parameterCount_ = parameterCount_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { result.containerCount_ = containerCount_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { result.commandCount_ = commandCount_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { result.algorithmCount_ = algorithmCount_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000100) != 0)) { result.parameterTypeCount_ = parameterTypeCount_; to_bitField0_ |= 0x00000080; } 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.Mdb.MissionDatabase) { return mergeFrom((org.yamcs.protobuf.Mdb.MissionDatabase)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.MissionDatabase other) { if (other == org.yamcs.protobuf.Mdb.MissionDatabase.getDefaultInstance()) return this; if (other.hasConfigName()) { bitField0_ |= 0x00000001; configName_ = other.configName_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } if (other.hasVersion()) { bitField0_ |= 0x00000004; version_ = other.version_; onChanged(); } if (spaceSystemBuilder_ == null) { if (!other.spaceSystem_.isEmpty()) { if (spaceSystem_.isEmpty()) { spaceSystem_ = other.spaceSystem_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureSpaceSystemIsMutable(); spaceSystem_.addAll(other.spaceSystem_); } onChanged(); } } else { if (!other.spaceSystem_.isEmpty()) { if (spaceSystemBuilder_.isEmpty()) { spaceSystemBuilder_.dispose(); spaceSystemBuilder_ = null; spaceSystem_ = other.spaceSystem_; bitField0_ = (bitField0_ & ~0x00000008); spaceSystemBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSpaceSystemFieldBuilder() : null; } else { spaceSystemBuilder_.addAllMessages(other.spaceSystem_); } } } if (other.hasParameterCount()) { setParameterCount(other.getParameterCount()); } if (other.hasContainerCount()) { setContainerCount(other.getContainerCount()); } if (other.hasCommandCount()) { setCommandCount(other.getCommandCount()); } if (other.hasAlgorithmCount()) { setAlgorithmCount(other.getAlgorithmCount()); } if (other.hasParameterTypeCount()) { setParameterTypeCount(other.getParameterTypeCount()); } 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.Mdb.MissionDatabase parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.MissionDatabase) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object configName_ = ""; /** *
       *this is the config section in mdb.yaml
       * 
* * optional string configName = 1; */ public boolean hasConfigName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       *this is the config section in mdb.yaml
       * 
* * optional string configName = 1; */ public java.lang.String getConfigName() { java.lang.Object ref = configName_; 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()) { configName_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *this is the config section in mdb.yaml
       * 
* * optional string configName = 1; */ public com.google.protobuf.ByteString getConfigNameBytes() { java.lang.Object ref = configName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); configName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *this is the config section in mdb.yaml
       * 
* * optional string configName = 1; */ public Builder setConfigName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; configName_ = value; onChanged(); return this; } /** *
       *this is the config section in mdb.yaml
       * 
* * optional string configName = 1; */ public Builder clearConfigName() { bitField0_ = (bitField0_ & ~0x00000001); configName_ = getDefaultInstance().getConfigName(); onChanged(); return this; } /** *
       *this is the config section in mdb.yaml
       * 
* * optional string configName = 1; */ public Builder setConfigNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; configName_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       *XTCE root SpaceSystem name
       * 
* * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       *XTCE root SpaceSystem name
       * 
* * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *XTCE root SpaceSystem name
       * 
* * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *XTCE root SpaceSystem name
       * 
* * optional string name = 2; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       *XTCE root SpaceSystem name
       * 
* * optional string name = 2; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       *XTCE root SpaceSystem name
       * 
* * optional string name = 2; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } private java.lang.Object version_ = ""; /** *
       *XTCE root SpaceSystem header version
       * 
* * optional string version = 3; */ public boolean hasVersion() { return ((bitField0_ & 0x00000004) != 0); } /** *
       *XTCE root SpaceSystem header version
       * 
* * optional string version = 3; */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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()) { version_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *XTCE root SpaceSystem header version
       * 
* * optional string version = 3; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *XTCE root SpaceSystem header version
       * 
* * optional string version = 3; */ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; version_ = value; onChanged(); return this; } /** *
       *XTCE root SpaceSystem header version
       * 
* * optional string version = 3; */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000004); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** *
       *XTCE root SpaceSystem header version
       * 
* * optional string version = 3; */ public Builder setVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; version_ = value; onChanged(); return this; } private java.util.List spaceSystem_ = java.util.Collections.emptyList(); private void ensureSpaceSystemIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { spaceSystem_ = new java.util.ArrayList(spaceSystem_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> spaceSystemBuilder_; /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public java.util.List getSpaceSystemList() { if (spaceSystemBuilder_ == null) { return java.util.Collections.unmodifiableList(spaceSystem_); } else { return spaceSystemBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public int getSpaceSystemCount() { if (spaceSystemBuilder_ == null) { return spaceSystem_.size(); } else { return spaceSystemBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystem(int index) { if (spaceSystemBuilder_ == null) { return spaceSystem_.get(index); } else { return spaceSystemBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public Builder setSpaceSystem( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (spaceSystemBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemIsMutable(); spaceSystem_.set(index, value); onChanged(); } else { spaceSystemBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public Builder setSpaceSystem( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (spaceSystemBuilder_ == null) { ensureSpaceSystemIsMutable(); spaceSystem_.set(index, builderForValue.build()); onChanged(); } else { spaceSystemBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public Builder addSpaceSystem(org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (spaceSystemBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemIsMutable(); spaceSystem_.add(value); onChanged(); } else { spaceSystemBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public Builder addSpaceSystem( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (spaceSystemBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemIsMutable(); spaceSystem_.add(index, value); onChanged(); } else { spaceSystemBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public Builder addSpaceSystem( org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (spaceSystemBuilder_ == null) { ensureSpaceSystemIsMutable(); spaceSystem_.add(builderForValue.build()); onChanged(); } else { spaceSystemBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public Builder addSpaceSystem( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (spaceSystemBuilder_ == null) { ensureSpaceSystemIsMutable(); spaceSystem_.add(index, builderForValue.build()); onChanged(); } else { spaceSystemBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public Builder addAllSpaceSystem( java.lang.Iterable values) { if (spaceSystemBuilder_ == null) { ensureSpaceSystemIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, spaceSystem_); onChanged(); } else { spaceSystemBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public Builder clearSpaceSystem() { if (spaceSystemBuilder_ == null) { spaceSystem_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { spaceSystemBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public Builder removeSpaceSystem(int index) { if (spaceSystemBuilder_ == null) { ensureSpaceSystemIsMutable(); spaceSystem_.remove(index); onChanged(); } else { spaceSystemBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder getSpaceSystemBuilder( int index) { return getSpaceSystemFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemOrBuilder( int index) { if (spaceSystemBuilder_ == null) { return spaceSystem_.get(index); } else { return spaceSystemBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public java.util.List getSpaceSystemOrBuilderList() { if (spaceSystemBuilder_ != null) { return spaceSystemBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(spaceSystem_); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSpaceSystemBuilder() { return getSpaceSystemFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSpaceSystemBuilder( int index) { return getSpaceSystemFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4; */ public java.util.List getSpaceSystemBuilderList() { return getSpaceSystemFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> getSpaceSystemFieldBuilder() { if (spaceSystemBuilder_ == null) { spaceSystemBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder>( spaceSystem_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); spaceSystem_ = null; } return spaceSystemBuilder_; } private int parameterCount_ ; /** * optional int32 parameterCount = 6; */ public boolean hasParameterCount() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 parameterCount = 6; */ public int getParameterCount() { return parameterCount_; } /** * optional int32 parameterCount = 6; */ public Builder setParameterCount(int value) { bitField0_ |= 0x00000010; parameterCount_ = value; onChanged(); return this; } /** * optional int32 parameterCount = 6; */ public Builder clearParameterCount() { bitField0_ = (bitField0_ & ~0x00000010); parameterCount_ = 0; onChanged(); return this; } private int containerCount_ ; /** * optional int32 containerCount = 7; */ public boolean hasContainerCount() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 containerCount = 7; */ public int getContainerCount() { return containerCount_; } /** * optional int32 containerCount = 7; */ public Builder setContainerCount(int value) { bitField0_ |= 0x00000020; containerCount_ = value; onChanged(); return this; } /** * optional int32 containerCount = 7; */ public Builder clearContainerCount() { bitField0_ = (bitField0_ & ~0x00000020); containerCount_ = 0; onChanged(); return this; } private int commandCount_ ; /** * optional int32 commandCount = 8; */ public boolean hasCommandCount() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int32 commandCount = 8; */ public int getCommandCount() { return commandCount_; } /** * optional int32 commandCount = 8; */ public Builder setCommandCount(int value) { bitField0_ |= 0x00000040; commandCount_ = value; onChanged(); return this; } /** * optional int32 commandCount = 8; */ public Builder clearCommandCount() { bitField0_ = (bitField0_ & ~0x00000040); commandCount_ = 0; onChanged(); return this; } private int algorithmCount_ ; /** * optional int32 algorithmCount = 9; */ public boolean hasAlgorithmCount() { return ((bitField0_ & 0x00000080) != 0); } /** * optional int32 algorithmCount = 9; */ public int getAlgorithmCount() { return algorithmCount_; } /** * optional int32 algorithmCount = 9; */ public Builder setAlgorithmCount(int value) { bitField0_ |= 0x00000080; algorithmCount_ = value; onChanged(); return this; } /** * optional int32 algorithmCount = 9; */ public Builder clearAlgorithmCount() { bitField0_ = (bitField0_ & ~0x00000080); algorithmCount_ = 0; onChanged(); return this; } private int parameterTypeCount_ ; /** * optional int32 parameterTypeCount = 10; */ public boolean hasParameterTypeCount() { return ((bitField0_ & 0x00000100) != 0); } /** * optional int32 parameterTypeCount = 10; */ public int getParameterTypeCount() { return parameterTypeCount_; } /** * optional int32 parameterTypeCount = 10; */ public Builder setParameterTypeCount(int value) { bitField0_ |= 0x00000100; parameterTypeCount_ = value; onChanged(); return this; } /** * optional int32 parameterTypeCount = 10; */ public Builder clearParameterTypeCount() { bitField0_ = (bitField0_ & ~0x00000100); parameterTypeCount_ = 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.mdb.MissionDatabase) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.MissionDatabase) private static final org.yamcs.protobuf.Mdb.MissionDatabase DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.MissionDatabase(); } public static org.yamcs.protobuf.Mdb.MissionDatabase getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MissionDatabase parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MissionDatabase(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.Mdb.MissionDatabase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HistoryInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.HistoryInfo) com.google.protobuf.MessageOrBuilder { /** * optional string version = 1; */ boolean hasVersion(); /** * optional string version = 1; */ java.lang.String getVersion(); /** * optional string version = 1; */ com.google.protobuf.ByteString getVersionBytes(); /** * optional string date = 2; */ boolean hasDate(); /** * optional string date = 2; */ java.lang.String getDate(); /** * optional string date = 2; */ com.google.protobuf.ByteString getDateBytes(); /** * optional string message = 3; */ boolean hasMessage(); /** * optional string message = 3; */ java.lang.String getMessage(); /** * optional string message = 3; */ com.google.protobuf.ByteString getMessageBytes(); /** * optional string author = 4; */ boolean hasAuthor(); /** * optional string author = 4; */ java.lang.String getAuthor(); /** * optional string author = 4; */ com.google.protobuf.ByteString getAuthorBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.HistoryInfo} */ public static final class HistoryInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.HistoryInfo) HistoryInfoOrBuilder { private static final long serialVersionUID = 0L; // Use HistoryInfo.newBuilder() to construct. private HistoryInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HistoryInfo() { version_ = ""; date_ = ""; message_ = ""; author_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HistoryInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; version_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; date_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; message_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; author_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_HistoryInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_HistoryInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.HistoryInfo.class, org.yamcs.protobuf.Mdb.HistoryInfo.Builder.class); } private int bitField0_; public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** * optional string version = 1; */ public boolean hasVersion() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string version = 1; */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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()) { version_ = s; } return s; } } /** * optional string version = 1; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATE_FIELD_NUMBER = 2; private volatile java.lang.Object date_; /** * optional string date = 2; */ public boolean hasDate() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string date = 2; */ public java.lang.String getDate() { java.lang.Object ref = date_; 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()) { date_ = s; } return s; } } /** * optional string date = 2; */ public com.google.protobuf.ByteString getDateBytes() { java.lang.Object ref = date_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); date_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MESSAGE_FIELD_NUMBER = 3; private volatile java.lang.Object message_; /** * optional string message = 3; */ public boolean hasMessage() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string message = 3; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } } /** * optional string message = 3; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int AUTHOR_FIELD_NUMBER = 4; private volatile java.lang.Object author_; /** * optional string author = 4; */ public boolean hasAuthor() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string author = 4; */ public java.lang.String getAuthor() { java.lang.Object ref = author_; 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()) { author_ = s; } return s; } } /** * optional string author = 4; */ public com.google.protobuf.ByteString getAuthorBytes() { java.lang.Object ref = author_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); author_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, date_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, message_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, author_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, date_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, author_); } 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.Mdb.HistoryInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.HistoryInfo other = (org.yamcs.protobuf.Mdb.HistoryInfo) obj; if (hasVersion() != other.hasVersion()) return false; if (hasVersion()) { if (!getVersion() .equals(other.getVersion())) return false; } if (hasDate() != other.hasDate()) return false; if (hasDate()) { if (!getDate() .equals(other.getDate())) return false; } if (hasMessage() != other.hasMessage()) return false; if (hasMessage()) { if (!getMessage() .equals(other.getMessage())) return false; } if (hasAuthor() != other.hasAuthor()) return false; if (hasAuthor()) { if (!getAuthor() .equals(other.getAuthor())) 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 (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); } if (hasDate()) { hash = (37 * hash) + DATE_FIELD_NUMBER; hash = (53 * hash) + getDate().hashCode(); } if (hasMessage()) { hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); } if (hasAuthor()) { hash = (37 * hash) + AUTHOR_FIELD_NUMBER; hash = (53 * hash) + getAuthor().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.HistoryInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.HistoryInfo 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.Mdb.HistoryInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.HistoryInfo 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.Mdb.HistoryInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.HistoryInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.HistoryInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.HistoryInfo 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.Mdb.HistoryInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.HistoryInfo 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.Mdb.HistoryInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.HistoryInfo 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.Mdb.HistoryInfo 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.mdb.HistoryInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.HistoryInfo) org.yamcs.protobuf.Mdb.HistoryInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_HistoryInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_HistoryInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.HistoryInfo.class, org.yamcs.protobuf.Mdb.HistoryInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.HistoryInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); version_ = ""; bitField0_ = (bitField0_ & ~0x00000001); date_ = ""; bitField0_ = (bitField0_ & ~0x00000002); message_ = ""; bitField0_ = (bitField0_ & ~0x00000004); author_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_HistoryInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.HistoryInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.HistoryInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.HistoryInfo build() { org.yamcs.protobuf.Mdb.HistoryInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.HistoryInfo buildPartial() { org.yamcs.protobuf.Mdb.HistoryInfo result = new org.yamcs.protobuf.Mdb.HistoryInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.version_ = version_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.date_ = date_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.message_ = message_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.author_ = author_; 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.Mdb.HistoryInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.HistoryInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.HistoryInfo other) { if (other == org.yamcs.protobuf.Mdb.HistoryInfo.getDefaultInstance()) return this; if (other.hasVersion()) { bitField0_ |= 0x00000001; version_ = other.version_; onChanged(); } if (other.hasDate()) { bitField0_ |= 0x00000002; date_ = other.date_; onChanged(); } if (other.hasMessage()) { bitField0_ |= 0x00000004; message_ = other.message_; onChanged(); } if (other.hasAuthor()) { bitField0_ |= 0x00000008; author_ = other.author_; onChanged(); } 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.Mdb.HistoryInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.HistoryInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object version_ = ""; /** * optional string version = 1; */ public boolean hasVersion() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string version = 1; */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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()) { version_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string version = 1; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string version = 1; */ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; version_ = value; onChanged(); return this; } /** * optional string version = 1; */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000001); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * optional string version = 1; */ public Builder setVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; version_ = value; onChanged(); return this; } private java.lang.Object date_ = ""; /** * optional string date = 2; */ public boolean hasDate() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string date = 2; */ public java.lang.String getDate() { java.lang.Object ref = date_; 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()) { date_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string date = 2; */ public com.google.protobuf.ByteString getDateBytes() { java.lang.Object ref = date_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); date_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string date = 2; */ public Builder setDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; date_ = value; onChanged(); return this; } /** * optional string date = 2; */ public Builder clearDate() { bitField0_ = (bitField0_ & ~0x00000002); date_ = getDefaultInstance().getDate(); onChanged(); return this; } /** * optional string date = 2; */ public Builder setDateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; date_ = value; onChanged(); return this; } private java.lang.Object message_ = ""; /** * optional string message = 3; */ public boolean hasMessage() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string message = 3; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string message = 3; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string message = 3; */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; message_ = value; onChanged(); return this; } /** * optional string message = 3; */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000004); message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * optional string message = 3; */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; message_ = value; onChanged(); return this; } private java.lang.Object author_ = ""; /** * optional string author = 4; */ public boolean hasAuthor() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string author = 4; */ public java.lang.String getAuthor() { java.lang.Object ref = author_; 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()) { author_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string author = 4; */ public com.google.protobuf.ByteString getAuthorBytes() { java.lang.Object ref = author_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); author_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string author = 4; */ public Builder setAuthor( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; author_ = value; onChanged(); return this; } /** * optional string author = 4; */ public Builder clearAuthor() { bitField0_ = (bitField0_ & ~0x00000008); author_ = getDefaultInstance().getAuthor(); onChanged(); return this; } /** * optional string author = 4; */ public Builder setAuthorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; author_ = value; 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.mdb.HistoryInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.HistoryInfo) private static final org.yamcs.protobuf.Mdb.HistoryInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.HistoryInfo(); } public static org.yamcs.protobuf.Mdb.HistoryInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HistoryInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HistoryInfo(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.Mdb.HistoryInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UnitInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.UnitInfo) com.google.protobuf.MessageOrBuilder { /** * optional string unit = 1; */ boolean hasUnit(); /** * optional string unit = 1; */ java.lang.String getUnit(); /** * optional string unit = 1; */ com.google.protobuf.ByteString getUnitBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.UnitInfo} */ public static final class UnitInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.UnitInfo) UnitInfoOrBuilder { private static final long serialVersionUID = 0L; // Use UnitInfo.newBuilder() to construct. private UnitInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UnitInfo() { unit_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UnitInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; unit_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_UnitInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_UnitInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.UnitInfo.class, org.yamcs.protobuf.Mdb.UnitInfo.Builder.class); } private int bitField0_; public static final int UNIT_FIELD_NUMBER = 1; private volatile java.lang.Object unit_; /** * optional string unit = 1; */ public boolean hasUnit() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string unit = 1; */ public java.lang.String getUnit() { java.lang.Object ref = unit_; 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()) { unit_ = s; } return s; } } /** * optional string unit = 1; */ public com.google.protobuf.ByteString getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, unit_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, unit_); } 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.Mdb.UnitInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.UnitInfo other = (org.yamcs.protobuf.Mdb.UnitInfo) obj; if (hasUnit() != other.hasUnit()) return false; if (hasUnit()) { if (!getUnit() .equals(other.getUnit())) 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 (hasUnit()) { hash = (37 * hash) + UNIT_FIELD_NUMBER; hash = (53 * hash) + getUnit().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.UnitInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.UnitInfo 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.Mdb.UnitInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.UnitInfo 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.Mdb.UnitInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.UnitInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.UnitInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.UnitInfo 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.Mdb.UnitInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.UnitInfo 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.Mdb.UnitInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.UnitInfo 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.Mdb.UnitInfo 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.mdb.UnitInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.UnitInfo) org.yamcs.protobuf.Mdb.UnitInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_UnitInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_UnitInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.UnitInfo.class, org.yamcs.protobuf.Mdb.UnitInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.UnitInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); unit_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_UnitInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.UnitInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.UnitInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.UnitInfo build() { org.yamcs.protobuf.Mdb.UnitInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.UnitInfo buildPartial() { org.yamcs.protobuf.Mdb.UnitInfo result = new org.yamcs.protobuf.Mdb.UnitInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.unit_ = unit_; 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.Mdb.UnitInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.UnitInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.UnitInfo other) { if (other == org.yamcs.protobuf.Mdb.UnitInfo.getDefaultInstance()) return this; if (other.hasUnit()) { bitField0_ |= 0x00000001; unit_ = other.unit_; onChanged(); } 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.Mdb.UnitInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.UnitInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object unit_ = ""; /** * optional string unit = 1; */ public boolean hasUnit() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string unit = 1; */ public java.lang.String getUnit() { java.lang.Object ref = unit_; 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()) { unit_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string unit = 1; */ public com.google.protobuf.ByteString getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); unit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string unit = 1; */ public Builder setUnit( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; unit_ = value; onChanged(); return this; } /** * optional string unit = 1; */ public Builder clearUnit() { bitField0_ = (bitField0_ & ~0x00000001); unit_ = getDefaultInstance().getUnit(); onChanged(); return this; } /** * optional string unit = 1; */ public Builder setUnitBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; unit_ = value; 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.mdb.UnitInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.UnitInfo) private static final org.yamcs.protobuf.Mdb.UnitInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.UnitInfo(); } public static org.yamcs.protobuf.Mdb.UnitInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UnitInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UnitInfo(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.Mdb.UnitInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlarmRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.AlarmRange) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ boolean hasLevel(); /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ org.yamcs.protobuf.Mdb.AlarmLevelType getLevel(); /** * optional double minInclusive = 2; */ boolean hasMinInclusive(); /** * optional double minInclusive = 2; */ double getMinInclusive(); /** * optional double maxInclusive = 3; */ boolean hasMaxInclusive(); /** * optional double maxInclusive = 3; */ double getMaxInclusive(); /** * optional double minExclusive = 4; */ boolean hasMinExclusive(); /** * optional double minExclusive = 4; */ double getMinExclusive(); /** * optional double maxExclusive = 5; */ boolean hasMaxExclusive(); /** * optional double maxExclusive = 5; */ double getMaxExclusive(); } /** * Protobuf type {@code yamcs.protobuf.mdb.AlarmRange} */ public static final class AlarmRange extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.AlarmRange) AlarmRangeOrBuilder { private static final long serialVersionUID = 0L; // Use AlarmRange.newBuilder() to construct. private AlarmRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlarmRange() { level_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlarmRange( 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 8: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlarmLevelType value = org.yamcs.protobuf.Mdb.AlarmLevelType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; level_ = rawValue; } break; } case 17: { bitField0_ |= 0x00000002; minInclusive_ = input.readDouble(); break; } case 25: { bitField0_ |= 0x00000004; maxInclusive_ = input.readDouble(); break; } case 33: { bitField0_ |= 0x00000008; minExclusive_ = input.readDouble(); break; } case 41: { bitField0_ |= 0x00000010; maxExclusive_ = input.readDouble(); 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.Mdb.internal_static_yamcs_protobuf_mdb_AlarmRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlarmRange_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.AlarmRange.class, org.yamcs.protobuf.Mdb.AlarmRange.Builder.class); } private int bitField0_; public static final int LEVEL_FIELD_NUMBER = 1; private int level_; /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ public boolean hasLevel() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ public org.yamcs.protobuf.Mdb.AlarmLevelType getLevel() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlarmLevelType result = org.yamcs.protobuf.Mdb.AlarmLevelType.valueOf(level_); return result == null ? org.yamcs.protobuf.Mdb.AlarmLevelType.NORMAL : result; } public static final int MININCLUSIVE_FIELD_NUMBER = 2; private double minInclusive_; /** * optional double minInclusive = 2; */ public boolean hasMinInclusive() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double minInclusive = 2; */ public double getMinInclusive() { return minInclusive_; } public static final int MAXINCLUSIVE_FIELD_NUMBER = 3; private double maxInclusive_; /** * optional double maxInclusive = 3; */ public boolean hasMaxInclusive() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double maxInclusive = 3; */ public double getMaxInclusive() { return maxInclusive_; } public static final int MINEXCLUSIVE_FIELD_NUMBER = 4; private double minExclusive_; /** * optional double minExclusive = 4; */ public boolean hasMinExclusive() { return ((bitField0_ & 0x00000008) != 0); } /** * optional double minExclusive = 4; */ public double getMinExclusive() { return minExclusive_; } public static final int MAXEXCLUSIVE_FIELD_NUMBER = 5; private double maxExclusive_; /** * optional double maxExclusive = 5; */ public boolean hasMaxExclusive() { return ((bitField0_ & 0x00000010) != 0); } /** * optional double maxExclusive = 5; */ public double getMaxExclusive() { return maxExclusive_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, level_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeDouble(2, minInclusive_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(3, maxInclusive_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeDouble(4, minExclusive_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeDouble(5, maxExclusive_); } 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 .computeEnumSize(1, level_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, minInclusive_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, maxInclusive_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, minExclusive_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, maxExclusive_); } 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.Mdb.AlarmRange)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.AlarmRange other = (org.yamcs.protobuf.Mdb.AlarmRange) obj; if (hasLevel() != other.hasLevel()) return false; if (hasLevel()) { if (level_ != other.level_) return false; } if (hasMinInclusive() != other.hasMinInclusive()) return false; if (hasMinInclusive()) { if (java.lang.Double.doubleToLongBits(getMinInclusive()) != java.lang.Double.doubleToLongBits( other.getMinInclusive())) return false; } if (hasMaxInclusive() != other.hasMaxInclusive()) return false; if (hasMaxInclusive()) { if (java.lang.Double.doubleToLongBits(getMaxInclusive()) != java.lang.Double.doubleToLongBits( other.getMaxInclusive())) return false; } if (hasMinExclusive() != other.hasMinExclusive()) return false; if (hasMinExclusive()) { if (java.lang.Double.doubleToLongBits(getMinExclusive()) != java.lang.Double.doubleToLongBits( other.getMinExclusive())) return false; } if (hasMaxExclusive() != other.hasMaxExclusive()) return false; if (hasMaxExclusive()) { if (java.lang.Double.doubleToLongBits(getMaxExclusive()) != java.lang.Double.doubleToLongBits( other.getMaxExclusive())) 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 (hasLevel()) { hash = (37 * hash) + LEVEL_FIELD_NUMBER; hash = (53 * hash) + level_; } if (hasMinInclusive()) { hash = (37 * hash) + MININCLUSIVE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMinInclusive())); } if (hasMaxInclusive()) { hash = (37 * hash) + MAXINCLUSIVE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMaxInclusive())); } if (hasMinExclusive()) { hash = (37 * hash) + MINEXCLUSIVE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMinExclusive())); } if (hasMaxExclusive()) { hash = (37 * hash) + MAXEXCLUSIVE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMaxExclusive())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.AlarmRange parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AlarmRange 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.Mdb.AlarmRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AlarmRange 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.Mdb.AlarmRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AlarmRange parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.AlarmRange parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AlarmRange 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.Mdb.AlarmRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AlarmRange 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.Mdb.AlarmRange parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AlarmRange 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.Mdb.AlarmRange 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.mdb.AlarmRange} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.AlarmRange) org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlarmRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlarmRange_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.AlarmRange.class, org.yamcs.protobuf.Mdb.AlarmRange.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.AlarmRange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); level_ = 0; bitField0_ = (bitField0_ & ~0x00000001); minInclusive_ = 0D; bitField0_ = (bitField0_ & ~0x00000002); maxInclusive_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); minExclusive_ = 0D; bitField0_ = (bitField0_ & ~0x00000008); maxExclusive_ = 0D; bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlarmRange_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmRange getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.AlarmRange.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmRange build() { org.yamcs.protobuf.Mdb.AlarmRange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmRange buildPartial() { org.yamcs.protobuf.Mdb.AlarmRange result = new org.yamcs.protobuf.Mdb.AlarmRange(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.level_ = level_; if (((from_bitField0_ & 0x00000002) != 0)) { result.minInclusive_ = minInclusive_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.maxInclusive_ = maxInclusive_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.minExclusive_ = minExclusive_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.maxExclusive_ = maxExclusive_; to_bitField0_ |= 0x00000010; } 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.Mdb.AlarmRange) { return mergeFrom((org.yamcs.protobuf.Mdb.AlarmRange)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.AlarmRange other) { if (other == org.yamcs.protobuf.Mdb.AlarmRange.getDefaultInstance()) return this; if (other.hasLevel()) { setLevel(other.getLevel()); } if (other.hasMinInclusive()) { setMinInclusive(other.getMinInclusive()); } if (other.hasMaxInclusive()) { setMaxInclusive(other.getMaxInclusive()); } if (other.hasMinExclusive()) { setMinExclusive(other.getMinExclusive()); } if (other.hasMaxExclusive()) { setMaxExclusive(other.getMaxExclusive()); } 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.Mdb.AlarmRange parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.AlarmRange) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int level_ = 0; /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ public boolean hasLevel() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ public org.yamcs.protobuf.Mdb.AlarmLevelType getLevel() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlarmLevelType result = org.yamcs.protobuf.Mdb.AlarmLevelType.valueOf(level_); return result == null ? org.yamcs.protobuf.Mdb.AlarmLevelType.NORMAL : result; } /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ public Builder setLevel(org.yamcs.protobuf.Mdb.AlarmLevelType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; level_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ public Builder clearLevel() { bitField0_ = (bitField0_ & ~0x00000001); level_ = 0; onChanged(); return this; } private double minInclusive_ ; /** * optional double minInclusive = 2; */ public boolean hasMinInclusive() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double minInclusive = 2; */ public double getMinInclusive() { return minInclusive_; } /** * optional double minInclusive = 2; */ public Builder setMinInclusive(double value) { bitField0_ |= 0x00000002; minInclusive_ = value; onChanged(); return this; } /** * optional double minInclusive = 2; */ public Builder clearMinInclusive() { bitField0_ = (bitField0_ & ~0x00000002); minInclusive_ = 0D; onChanged(); return this; } private double maxInclusive_ ; /** * optional double maxInclusive = 3; */ public boolean hasMaxInclusive() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double maxInclusive = 3; */ public double getMaxInclusive() { return maxInclusive_; } /** * optional double maxInclusive = 3; */ public Builder setMaxInclusive(double value) { bitField0_ |= 0x00000004; maxInclusive_ = value; onChanged(); return this; } /** * optional double maxInclusive = 3; */ public Builder clearMaxInclusive() { bitField0_ = (bitField0_ & ~0x00000004); maxInclusive_ = 0D; onChanged(); return this; } private double minExclusive_ ; /** * optional double minExclusive = 4; */ public boolean hasMinExclusive() { return ((bitField0_ & 0x00000008) != 0); } /** * optional double minExclusive = 4; */ public double getMinExclusive() { return minExclusive_; } /** * optional double minExclusive = 4; */ public Builder setMinExclusive(double value) { bitField0_ |= 0x00000008; minExclusive_ = value; onChanged(); return this; } /** * optional double minExclusive = 4; */ public Builder clearMinExclusive() { bitField0_ = (bitField0_ & ~0x00000008); minExclusive_ = 0D; onChanged(); return this; } private double maxExclusive_ ; /** * optional double maxExclusive = 5; */ public boolean hasMaxExclusive() { return ((bitField0_ & 0x00000010) != 0); } /** * optional double maxExclusive = 5; */ public double getMaxExclusive() { return maxExclusive_; } /** * optional double maxExclusive = 5; */ public Builder setMaxExclusive(double value) { bitField0_ |= 0x00000010; maxExclusive_ = value; onChanged(); return this; } /** * optional double maxExclusive = 5; */ public Builder clearMaxExclusive() { bitField0_ = (bitField0_ & ~0x00000010); maxExclusive_ = 0D; 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.mdb.AlarmRange) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.AlarmRange) private static final org.yamcs.protobuf.Mdb.AlarmRange DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.AlarmRange(); } public static org.yamcs.protobuf.Mdb.AlarmRange getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlarmRange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlarmRange(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.Mdb.AlarmRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EnumerationAlarmOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.EnumerationAlarm) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ boolean hasLevel(); /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ org.yamcs.protobuf.Mdb.AlarmLevelType getLevel(); /** *
     *  optional int64 value = 2; //removed because it is not part of XTCE and it doesn't work with ranges
     * 
* * optional string label = 3; */ boolean hasLabel(); /** *
     *  optional int64 value = 2; //removed because it is not part of XTCE and it doesn't work with ranges
     * 
* * optional string label = 3; */ java.lang.String getLabel(); /** *
     *  optional int64 value = 2; //removed because it is not part of XTCE and it doesn't work with ranges
     * 
* * optional string label = 3; */ com.google.protobuf.ByteString getLabelBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.EnumerationAlarm} */ public static final class EnumerationAlarm extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.EnumerationAlarm) EnumerationAlarmOrBuilder { private static final long serialVersionUID = 0L; // Use EnumerationAlarm.newBuilder() to construct. private EnumerationAlarm(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EnumerationAlarm() { level_ = 0; label_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EnumerationAlarm( 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 8: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlarmLevelType value = org.yamcs.protobuf.Mdb.AlarmLevelType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; level_ = rawValue; } break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; label_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_EnumerationAlarm_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_EnumerationAlarm_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.EnumerationAlarm.class, org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder.class); } private int bitField0_; public static final int LEVEL_FIELD_NUMBER = 1; private int level_; /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ public boolean hasLevel() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ public org.yamcs.protobuf.Mdb.AlarmLevelType getLevel() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlarmLevelType result = org.yamcs.protobuf.Mdb.AlarmLevelType.valueOf(level_); return result == null ? org.yamcs.protobuf.Mdb.AlarmLevelType.NORMAL : result; } public static final int LABEL_FIELD_NUMBER = 3; private volatile java.lang.Object label_; /** *
     *  optional int64 value = 2; //removed because it is not part of XTCE and it doesn't work with ranges
     * 
* * optional string label = 3; */ public boolean hasLabel() { return ((bitField0_ & 0x00000002) != 0); } /** *
     *  optional int64 value = 2; //removed because it is not part of XTCE and it doesn't work with ranges
     * 
* * optional string label = 3; */ public java.lang.String getLabel() { java.lang.Object ref = label_; 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()) { label_ = s; } return s; } } /** *
     *  optional int64 value = 2; //removed because it is not part of XTCE and it doesn't work with ranges
     * 
* * optional string label = 3; */ public com.google.protobuf.ByteString getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); label_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, level_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, label_); } 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 .computeEnumSize(1, level_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, label_); } 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.Mdb.EnumerationAlarm)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.EnumerationAlarm other = (org.yamcs.protobuf.Mdb.EnumerationAlarm) obj; if (hasLevel() != other.hasLevel()) return false; if (hasLevel()) { if (level_ != other.level_) return false; } if (hasLabel() != other.hasLabel()) return false; if (hasLabel()) { if (!getLabel() .equals(other.getLabel())) 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 (hasLevel()) { hash = (37 * hash) + LEVEL_FIELD_NUMBER; hash = (53 * hash) + level_; } if (hasLabel()) { hash = (37 * hash) + LABEL_FIELD_NUMBER; hash = (53 * hash) + getLabel().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.EnumerationAlarm parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.EnumerationAlarm 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.Mdb.EnumerationAlarm parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.EnumerationAlarm 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.Mdb.EnumerationAlarm parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.EnumerationAlarm parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.EnumerationAlarm parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.EnumerationAlarm 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.Mdb.EnumerationAlarm parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.EnumerationAlarm 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.Mdb.EnumerationAlarm parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.EnumerationAlarm 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.Mdb.EnumerationAlarm 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.mdb.EnumerationAlarm} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.EnumerationAlarm) org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_EnumerationAlarm_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_EnumerationAlarm_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.EnumerationAlarm.class, org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.EnumerationAlarm.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); level_ = 0; bitField0_ = (bitField0_ & ~0x00000001); label_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_EnumerationAlarm_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.EnumerationAlarm getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.EnumerationAlarm.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.EnumerationAlarm build() { org.yamcs.protobuf.Mdb.EnumerationAlarm result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.EnumerationAlarm buildPartial() { org.yamcs.protobuf.Mdb.EnumerationAlarm result = new org.yamcs.protobuf.Mdb.EnumerationAlarm(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.level_ = level_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.label_ = label_; 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.Mdb.EnumerationAlarm) { return mergeFrom((org.yamcs.protobuf.Mdb.EnumerationAlarm)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.EnumerationAlarm other) { if (other == org.yamcs.protobuf.Mdb.EnumerationAlarm.getDefaultInstance()) return this; if (other.hasLevel()) { setLevel(other.getLevel()); } if (other.hasLabel()) { bitField0_ |= 0x00000002; label_ = other.label_; onChanged(); } 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.Mdb.EnumerationAlarm parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.EnumerationAlarm) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int level_ = 0; /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ public boolean hasLevel() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ public org.yamcs.protobuf.Mdb.AlarmLevelType getLevel() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlarmLevelType result = org.yamcs.protobuf.Mdb.AlarmLevelType.valueOf(level_); return result == null ? org.yamcs.protobuf.Mdb.AlarmLevelType.NORMAL : result; } /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ public Builder setLevel(org.yamcs.protobuf.Mdb.AlarmLevelType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; level_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; */ public Builder clearLevel() { bitField0_ = (bitField0_ & ~0x00000001); level_ = 0; onChanged(); return this; } private java.lang.Object label_ = ""; /** *
       *  optional int64 value = 2; //removed because it is not part of XTCE and it doesn't work with ranges
       * 
* * optional string label = 3; */ public boolean hasLabel() { return ((bitField0_ & 0x00000002) != 0); } /** *
       *  optional int64 value = 2; //removed because it is not part of XTCE and it doesn't work with ranges
       * 
* * optional string label = 3; */ public java.lang.String getLabel() { java.lang.Object ref = label_; 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()) { label_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *  optional int64 value = 2; //removed because it is not part of XTCE and it doesn't work with ranges
       * 
* * optional string label = 3; */ public com.google.protobuf.ByteString getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); label_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *  optional int64 value = 2; //removed because it is not part of XTCE and it doesn't work with ranges
       * 
* * optional string label = 3; */ public Builder setLabel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; label_ = value; onChanged(); return this; } /** *
       *  optional int64 value = 2; //removed because it is not part of XTCE and it doesn't work with ranges
       * 
* * optional string label = 3; */ public Builder clearLabel() { bitField0_ = (bitField0_ & ~0x00000002); label_ = getDefaultInstance().getLabel(); onChanged(); return this; } /** *
       *  optional int64 value = 2; //removed because it is not part of XTCE and it doesn't work with ranges
       * 
* * optional string label = 3; */ public Builder setLabelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; label_ = value; 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.mdb.EnumerationAlarm) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.EnumerationAlarm) private static final org.yamcs.protobuf.Mdb.EnumerationAlarm DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.EnumerationAlarm(); } public static org.yamcs.protobuf.Mdb.EnumerationAlarm getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EnumerationAlarm parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EnumerationAlarm(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.Mdb.EnumerationAlarm getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlarmInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.AlarmInfo) com.google.protobuf.MessageOrBuilder { /** * optional int32 minViolations = 1; */ boolean hasMinViolations(); /** * optional int32 minViolations = 1; */ int getMinViolations(); /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ java.util.List getStaticAlarmRangeList(); /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ org.yamcs.protobuf.Mdb.AlarmRange getStaticAlarmRange(int index); /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ int getStaticAlarmRangeCount(); /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ java.util.List getStaticAlarmRangeOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getStaticAlarmRangeOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ java.util.List getEnumerationAlarmList(); /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ org.yamcs.protobuf.Mdb.EnumerationAlarm getEnumerationAlarm(int index); /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ int getEnumerationAlarmCount(); /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ java.util.List getEnumerationAlarmOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder getEnumerationAlarmOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.mdb.AlarmInfo} */ public static final class AlarmInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.AlarmInfo) AlarmInfoOrBuilder { private static final long serialVersionUID = 0L; // Use AlarmInfo.newBuilder() to construct. private AlarmInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlarmInfo() { staticAlarmRange_ = java.util.Collections.emptyList(); enumerationAlarm_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlarmInfo( 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 8: { bitField0_ |= 0x00000001; minViolations_ = input.readInt32(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { staticAlarmRange_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } staticAlarmRange_.add( input.readMessage(org.yamcs.protobuf.Mdb.AlarmRange.PARSER, extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { enumerationAlarm_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } enumerationAlarm_.add( input.readMessage(org.yamcs.protobuf.Mdb.EnumerationAlarm.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_ & 0x00000002) != 0)) { staticAlarmRange_ = java.util.Collections.unmodifiableList(staticAlarmRange_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { enumerationAlarm_ = java.util.Collections.unmodifiableList(enumerationAlarm_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlarmInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlarmInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.AlarmInfo.class, org.yamcs.protobuf.Mdb.AlarmInfo.Builder.class); } private int bitField0_; public static final int MINVIOLATIONS_FIELD_NUMBER = 1; private int minViolations_; /** * optional int32 minViolations = 1; */ public boolean hasMinViolations() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 minViolations = 1; */ public int getMinViolations() { return minViolations_; } public static final int STATICALARMRANGE_FIELD_NUMBER = 2; private java.util.List staticAlarmRange_; /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public java.util.List getStaticAlarmRangeList() { return staticAlarmRange_; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public java.util.List getStaticAlarmRangeOrBuilderList() { return staticAlarmRange_; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public int getStaticAlarmRangeCount() { return staticAlarmRange_.size(); } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public org.yamcs.protobuf.Mdb.AlarmRange getStaticAlarmRange(int index) { return staticAlarmRange_.get(index); } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getStaticAlarmRangeOrBuilder( int index) { return staticAlarmRange_.get(index); } public static final int ENUMERATIONALARM_FIELD_NUMBER = 3; private java.util.List enumerationAlarm_; /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public java.util.List getEnumerationAlarmList() { return enumerationAlarm_; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public java.util.List getEnumerationAlarmOrBuilderList() { return enumerationAlarm_; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public int getEnumerationAlarmCount() { return enumerationAlarm_.size(); } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public org.yamcs.protobuf.Mdb.EnumerationAlarm getEnumerationAlarm(int index) { return enumerationAlarm_.get(index); } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder getEnumerationAlarmOrBuilder( int index) { return enumerationAlarm_.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 { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, minViolations_); } for (int i = 0; i < staticAlarmRange_.size(); i++) { output.writeMessage(2, staticAlarmRange_.get(i)); } for (int i = 0; i < enumerationAlarm_.size(); i++) { output.writeMessage(3, enumerationAlarm_.get(i)); } 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 .computeInt32Size(1, minViolations_); } for (int i = 0; i < staticAlarmRange_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, staticAlarmRange_.get(i)); } for (int i = 0; i < enumerationAlarm_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, enumerationAlarm_.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.Mdb.AlarmInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.AlarmInfo other = (org.yamcs.protobuf.Mdb.AlarmInfo) obj; if (hasMinViolations() != other.hasMinViolations()) return false; if (hasMinViolations()) { if (getMinViolations() != other.getMinViolations()) return false; } if (!getStaticAlarmRangeList() .equals(other.getStaticAlarmRangeList())) return false; if (!getEnumerationAlarmList() .equals(other.getEnumerationAlarmList())) 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 (hasMinViolations()) { hash = (37 * hash) + MINVIOLATIONS_FIELD_NUMBER; hash = (53 * hash) + getMinViolations(); } if (getStaticAlarmRangeCount() > 0) { hash = (37 * hash) + STATICALARMRANGE_FIELD_NUMBER; hash = (53 * hash) + getStaticAlarmRangeList().hashCode(); } if (getEnumerationAlarmCount() > 0) { hash = (37 * hash) + ENUMERATIONALARM_FIELD_NUMBER; hash = (53 * hash) + getEnumerationAlarmList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.AlarmInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AlarmInfo 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.Mdb.AlarmInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AlarmInfo 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.Mdb.AlarmInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AlarmInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.AlarmInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AlarmInfo 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.Mdb.AlarmInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AlarmInfo 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.Mdb.AlarmInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AlarmInfo 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.Mdb.AlarmInfo 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.mdb.AlarmInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.AlarmInfo) org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlarmInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlarmInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.AlarmInfo.class, org.yamcs.protobuf.Mdb.AlarmInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.AlarmInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStaticAlarmRangeFieldBuilder(); getEnumerationAlarmFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); minViolations_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (staticAlarmRangeBuilder_ == null) { staticAlarmRange_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { staticAlarmRangeBuilder_.clear(); } if (enumerationAlarmBuilder_ == null) { enumerationAlarm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { enumerationAlarmBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlarmInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmInfo build() { org.yamcs.protobuf.Mdb.AlarmInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmInfo buildPartial() { org.yamcs.protobuf.Mdb.AlarmInfo result = new org.yamcs.protobuf.Mdb.AlarmInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.minViolations_ = minViolations_; to_bitField0_ |= 0x00000001; } if (staticAlarmRangeBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { staticAlarmRange_ = java.util.Collections.unmodifiableList(staticAlarmRange_); bitField0_ = (bitField0_ & ~0x00000002); } result.staticAlarmRange_ = staticAlarmRange_; } else { result.staticAlarmRange_ = staticAlarmRangeBuilder_.build(); } if (enumerationAlarmBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { enumerationAlarm_ = java.util.Collections.unmodifiableList(enumerationAlarm_); bitField0_ = (bitField0_ & ~0x00000004); } result.enumerationAlarm_ = enumerationAlarm_; } else { result.enumerationAlarm_ = enumerationAlarmBuilder_.build(); } 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.Mdb.AlarmInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.AlarmInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.AlarmInfo other) { if (other == org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance()) return this; if (other.hasMinViolations()) { setMinViolations(other.getMinViolations()); } if (staticAlarmRangeBuilder_ == null) { if (!other.staticAlarmRange_.isEmpty()) { if (staticAlarmRange_.isEmpty()) { staticAlarmRange_ = other.staticAlarmRange_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureStaticAlarmRangeIsMutable(); staticAlarmRange_.addAll(other.staticAlarmRange_); } onChanged(); } } else { if (!other.staticAlarmRange_.isEmpty()) { if (staticAlarmRangeBuilder_.isEmpty()) { staticAlarmRangeBuilder_.dispose(); staticAlarmRangeBuilder_ = null; staticAlarmRange_ = other.staticAlarmRange_; bitField0_ = (bitField0_ & ~0x00000002); staticAlarmRangeBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStaticAlarmRangeFieldBuilder() : null; } else { staticAlarmRangeBuilder_.addAllMessages(other.staticAlarmRange_); } } } if (enumerationAlarmBuilder_ == null) { if (!other.enumerationAlarm_.isEmpty()) { if (enumerationAlarm_.isEmpty()) { enumerationAlarm_ = other.enumerationAlarm_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureEnumerationAlarmIsMutable(); enumerationAlarm_.addAll(other.enumerationAlarm_); } onChanged(); } } else { if (!other.enumerationAlarm_.isEmpty()) { if (enumerationAlarmBuilder_.isEmpty()) { enumerationAlarmBuilder_.dispose(); enumerationAlarmBuilder_ = null; enumerationAlarm_ = other.enumerationAlarm_; bitField0_ = (bitField0_ & ~0x00000004); enumerationAlarmBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEnumerationAlarmFieldBuilder() : null; } else { enumerationAlarmBuilder_.addAllMessages(other.enumerationAlarm_); } } } 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.Mdb.AlarmInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.AlarmInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int minViolations_ ; /** * optional int32 minViolations = 1; */ public boolean hasMinViolations() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 minViolations = 1; */ public int getMinViolations() { return minViolations_; } /** * optional int32 minViolations = 1; */ public Builder setMinViolations(int value) { bitField0_ |= 0x00000001; minViolations_ = value; onChanged(); return this; } /** * optional int32 minViolations = 1; */ public Builder clearMinViolations() { bitField0_ = (bitField0_ & ~0x00000001); minViolations_ = 0; onChanged(); return this; } private java.util.List staticAlarmRange_ = java.util.Collections.emptyList(); private void ensureStaticAlarmRangeIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { staticAlarmRange_ = new java.util.ArrayList(staticAlarmRange_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmRange, org.yamcs.protobuf.Mdb.AlarmRange.Builder, org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder> staticAlarmRangeBuilder_; /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public java.util.List getStaticAlarmRangeList() { if (staticAlarmRangeBuilder_ == null) { return java.util.Collections.unmodifiableList(staticAlarmRange_); } else { return staticAlarmRangeBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public int getStaticAlarmRangeCount() { if (staticAlarmRangeBuilder_ == null) { return staticAlarmRange_.size(); } else { return staticAlarmRangeBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public org.yamcs.protobuf.Mdb.AlarmRange getStaticAlarmRange(int index) { if (staticAlarmRangeBuilder_ == null) { return staticAlarmRange_.get(index); } else { return staticAlarmRangeBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public Builder setStaticAlarmRange( int index, org.yamcs.protobuf.Mdb.AlarmRange value) { if (staticAlarmRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStaticAlarmRangeIsMutable(); staticAlarmRange_.set(index, value); onChanged(); } else { staticAlarmRangeBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public Builder setStaticAlarmRange( int index, org.yamcs.protobuf.Mdb.AlarmRange.Builder builderForValue) { if (staticAlarmRangeBuilder_ == null) { ensureStaticAlarmRangeIsMutable(); staticAlarmRange_.set(index, builderForValue.build()); onChanged(); } else { staticAlarmRangeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public Builder addStaticAlarmRange(org.yamcs.protobuf.Mdb.AlarmRange value) { if (staticAlarmRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStaticAlarmRangeIsMutable(); staticAlarmRange_.add(value); onChanged(); } else { staticAlarmRangeBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public Builder addStaticAlarmRange( int index, org.yamcs.protobuf.Mdb.AlarmRange value) { if (staticAlarmRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStaticAlarmRangeIsMutable(); staticAlarmRange_.add(index, value); onChanged(); } else { staticAlarmRangeBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public Builder addStaticAlarmRange( org.yamcs.protobuf.Mdb.AlarmRange.Builder builderForValue) { if (staticAlarmRangeBuilder_ == null) { ensureStaticAlarmRangeIsMutable(); staticAlarmRange_.add(builderForValue.build()); onChanged(); } else { staticAlarmRangeBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public Builder addStaticAlarmRange( int index, org.yamcs.protobuf.Mdb.AlarmRange.Builder builderForValue) { if (staticAlarmRangeBuilder_ == null) { ensureStaticAlarmRangeIsMutable(); staticAlarmRange_.add(index, builderForValue.build()); onChanged(); } else { staticAlarmRangeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public Builder addAllStaticAlarmRange( java.lang.Iterable values) { if (staticAlarmRangeBuilder_ == null) { ensureStaticAlarmRangeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, staticAlarmRange_); onChanged(); } else { staticAlarmRangeBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public Builder clearStaticAlarmRange() { if (staticAlarmRangeBuilder_ == null) { staticAlarmRange_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { staticAlarmRangeBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public Builder removeStaticAlarmRange(int index) { if (staticAlarmRangeBuilder_ == null) { ensureStaticAlarmRangeIsMutable(); staticAlarmRange_.remove(index); onChanged(); } else { staticAlarmRangeBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public org.yamcs.protobuf.Mdb.AlarmRange.Builder getStaticAlarmRangeBuilder( int index) { return getStaticAlarmRangeFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getStaticAlarmRangeOrBuilder( int index) { if (staticAlarmRangeBuilder_ == null) { return staticAlarmRange_.get(index); } else { return staticAlarmRangeBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public java.util.List getStaticAlarmRangeOrBuilderList() { if (staticAlarmRangeBuilder_ != null) { return staticAlarmRangeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(staticAlarmRange_); } } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public org.yamcs.protobuf.Mdb.AlarmRange.Builder addStaticAlarmRangeBuilder() { return getStaticAlarmRangeFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.AlarmRange.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public org.yamcs.protobuf.Mdb.AlarmRange.Builder addStaticAlarmRangeBuilder( int index) { return getStaticAlarmRangeFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.AlarmRange.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2; */ public java.util.List getStaticAlarmRangeBuilderList() { return getStaticAlarmRangeFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmRange, org.yamcs.protobuf.Mdb.AlarmRange.Builder, org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder> getStaticAlarmRangeFieldBuilder() { if (staticAlarmRangeBuilder_ == null) { staticAlarmRangeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmRange, org.yamcs.protobuf.Mdb.AlarmRange.Builder, org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder>( staticAlarmRange_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); staticAlarmRange_ = null; } return staticAlarmRangeBuilder_; } private java.util.List enumerationAlarm_ = java.util.Collections.emptyList(); private void ensureEnumerationAlarmIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { enumerationAlarm_ = new java.util.ArrayList(enumerationAlarm_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumerationAlarm, org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder, org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder> enumerationAlarmBuilder_; /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public java.util.List getEnumerationAlarmList() { if (enumerationAlarmBuilder_ == null) { return java.util.Collections.unmodifiableList(enumerationAlarm_); } else { return enumerationAlarmBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public int getEnumerationAlarmCount() { if (enumerationAlarmBuilder_ == null) { return enumerationAlarm_.size(); } else { return enumerationAlarmBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public org.yamcs.protobuf.Mdb.EnumerationAlarm getEnumerationAlarm(int index) { if (enumerationAlarmBuilder_ == null) { return enumerationAlarm_.get(index); } else { return enumerationAlarmBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public Builder setEnumerationAlarm( int index, org.yamcs.protobuf.Mdb.EnumerationAlarm value) { if (enumerationAlarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumerationAlarmIsMutable(); enumerationAlarm_.set(index, value); onChanged(); } else { enumerationAlarmBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public Builder setEnumerationAlarm( int index, org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder builderForValue) { if (enumerationAlarmBuilder_ == null) { ensureEnumerationAlarmIsMutable(); enumerationAlarm_.set(index, builderForValue.build()); onChanged(); } else { enumerationAlarmBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public Builder addEnumerationAlarm(org.yamcs.protobuf.Mdb.EnumerationAlarm value) { if (enumerationAlarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumerationAlarmIsMutable(); enumerationAlarm_.add(value); onChanged(); } else { enumerationAlarmBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public Builder addEnumerationAlarm( int index, org.yamcs.protobuf.Mdb.EnumerationAlarm value) { if (enumerationAlarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumerationAlarmIsMutable(); enumerationAlarm_.add(index, value); onChanged(); } else { enumerationAlarmBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public Builder addEnumerationAlarm( org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder builderForValue) { if (enumerationAlarmBuilder_ == null) { ensureEnumerationAlarmIsMutable(); enumerationAlarm_.add(builderForValue.build()); onChanged(); } else { enumerationAlarmBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public Builder addEnumerationAlarm( int index, org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder builderForValue) { if (enumerationAlarmBuilder_ == null) { ensureEnumerationAlarmIsMutable(); enumerationAlarm_.add(index, builderForValue.build()); onChanged(); } else { enumerationAlarmBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public Builder addAllEnumerationAlarm( java.lang.Iterable values) { if (enumerationAlarmBuilder_ == null) { ensureEnumerationAlarmIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, enumerationAlarm_); onChanged(); } else { enumerationAlarmBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public Builder clearEnumerationAlarm() { if (enumerationAlarmBuilder_ == null) { enumerationAlarm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { enumerationAlarmBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public Builder removeEnumerationAlarm(int index) { if (enumerationAlarmBuilder_ == null) { ensureEnumerationAlarmIsMutable(); enumerationAlarm_.remove(index); onChanged(); } else { enumerationAlarmBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder getEnumerationAlarmBuilder( int index) { return getEnumerationAlarmFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder getEnumerationAlarmOrBuilder( int index) { if (enumerationAlarmBuilder_ == null) { return enumerationAlarm_.get(index); } else { return enumerationAlarmBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public java.util.List getEnumerationAlarmOrBuilderList() { if (enumerationAlarmBuilder_ != null) { return enumerationAlarmBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(enumerationAlarm_); } } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder addEnumerationAlarmBuilder() { return getEnumerationAlarmFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.EnumerationAlarm.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder addEnumerationAlarmBuilder( int index) { return getEnumerationAlarmFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.EnumerationAlarm.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3; */ public java.util.List getEnumerationAlarmBuilderList() { return getEnumerationAlarmFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumerationAlarm, org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder, org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder> getEnumerationAlarmFieldBuilder() { if (enumerationAlarmBuilder_ == null) { enumerationAlarmBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumerationAlarm, org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder, org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder>( enumerationAlarm_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); enumerationAlarm_ = null; } return enumerationAlarmBuilder_; } @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.mdb.AlarmInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.AlarmInfo) private static final org.yamcs.protobuf.Mdb.AlarmInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.AlarmInfo(); } public static org.yamcs.protobuf.Mdb.AlarmInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlarmInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlarmInfo(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.Mdb.AlarmInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ContextAlarmInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ContextAlarmInfo) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ java.util.List getComparisonList(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ org.yamcs.protobuf.Mdb.ComparisonInfo getComparison(int index); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ int getComparisonCount(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ java.util.List getComparisonOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getComparisonOrBuilder( int index); /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ boolean hasAlarm(); /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ org.yamcs.protobuf.Mdb.AlarmInfo getAlarm(); /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder getAlarmOrBuilder(); /** *
     *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
     * either this or the comparison above has to be used (not both at the same time)
     * 
* * optional string context = 3; */ boolean hasContext(); /** *
     *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
     * either this or the comparison above has to be used (not both at the same time)
     * 
* * optional string context = 3; */ java.lang.String getContext(); /** *
     *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
     * either this or the comparison above has to be used (not both at the same time)
     * 
* * optional string context = 3; */ com.google.protobuf.ByteString getContextBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ContextAlarmInfo} */ public static final class ContextAlarmInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ContextAlarmInfo) ContextAlarmInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ContextAlarmInfo.newBuilder() to construct. private ContextAlarmInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ContextAlarmInfo() { comparison_ = java.util.Collections.emptyList(); context_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ContextAlarmInfo( 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)) { comparison_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } comparison_.add( input.readMessage(org.yamcs.protobuf.Mdb.ComparisonInfo.PARSER, extensionRegistry)); break; } case 18: { org.yamcs.protobuf.Mdb.AlarmInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = alarm_.toBuilder(); } alarm_ = input.readMessage(org.yamcs.protobuf.Mdb.AlarmInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(alarm_); alarm_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; context_ = bs; 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)) { comparison_ = java.util.Collections.unmodifiableList(comparison_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContextAlarmInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContextAlarmInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ContextAlarmInfo.class, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder.class); } private int bitField0_; public static final int COMPARISON_FIELD_NUMBER = 1; private java.util.List comparison_; /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonList() { return comparison_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonOrBuilderList() { return comparison_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public int getComparisonCount() { return comparison_.size(); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo getComparison(int index) { return comparison_.get(index); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getComparisonOrBuilder( int index) { return comparison_.get(index); } public static final int ALARM_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.AlarmInfo alarm_; /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ public boolean hasAlarm() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ public org.yamcs.protobuf.Mdb.AlarmInfo getAlarm() { return alarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : alarm_; } /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ public org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder getAlarmOrBuilder() { return alarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : alarm_; } public static final int CONTEXT_FIELD_NUMBER = 3; private volatile java.lang.Object context_; /** *
     *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
     * either this or the comparison above has to be used (not both at the same time)
     * 
* * optional string context = 3; */ public boolean hasContext() { return ((bitField0_ & 0x00000002) != 0); } /** *
     *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
     * either this or the comparison above has to be used (not both at the same time)
     * 
* * optional string context = 3; */ public java.lang.String getContext() { java.lang.Object ref = context_; 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()) { context_ = s; } return s; } } /** *
     *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
     * either this or the comparison above has to be used (not both at the same time)
     * 
* * optional string context = 3; */ public com.google.protobuf.ByteString getContextBytes() { java.lang.Object ref = context_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); context_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 < getComparisonCount(); i++) { if (!getComparison(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 < comparison_.size(); i++) { output.writeMessage(1, comparison_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getAlarm()); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, context_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < comparison_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, comparison_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAlarm()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, context_); } 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.Mdb.ContextAlarmInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ContextAlarmInfo other = (org.yamcs.protobuf.Mdb.ContextAlarmInfo) obj; if (!getComparisonList() .equals(other.getComparisonList())) return false; if (hasAlarm() != other.hasAlarm()) return false; if (hasAlarm()) { if (!getAlarm() .equals(other.getAlarm())) return false; } if (hasContext() != other.hasContext()) return false; if (hasContext()) { if (!getContext() .equals(other.getContext())) 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 (getComparisonCount() > 0) { hash = (37 * hash) + COMPARISON_FIELD_NUMBER; hash = (53 * hash) + getComparisonList().hashCode(); } if (hasAlarm()) { hash = (37 * hash) + ALARM_FIELD_NUMBER; hash = (53 * hash) + getAlarm().hashCode(); } if (hasContext()) { hash = (37 * hash) + CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getContext().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ContextAlarmInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ContextAlarmInfo 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.Mdb.ContextAlarmInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ContextAlarmInfo 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.Mdb.ContextAlarmInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ContextAlarmInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ContextAlarmInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ContextAlarmInfo 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.Mdb.ContextAlarmInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ContextAlarmInfo 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.Mdb.ContextAlarmInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ContextAlarmInfo 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.Mdb.ContextAlarmInfo 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.mdb.ContextAlarmInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ContextAlarmInfo) org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContextAlarmInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContextAlarmInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ContextAlarmInfo.class, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ContextAlarmInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getComparisonFieldBuilder(); getAlarmFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (comparisonBuilder_ == null) { comparison_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { comparisonBuilder_.clear(); } if (alarmBuilder_ == null) { alarm_ = null; } else { alarmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); context_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContextAlarmInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ContextAlarmInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ContextAlarmInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ContextAlarmInfo build() { org.yamcs.protobuf.Mdb.ContextAlarmInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ContextAlarmInfo buildPartial() { org.yamcs.protobuf.Mdb.ContextAlarmInfo result = new org.yamcs.protobuf.Mdb.ContextAlarmInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (comparisonBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { comparison_ = java.util.Collections.unmodifiableList(comparison_); bitField0_ = (bitField0_ & ~0x00000001); } result.comparison_ = comparison_; } else { result.comparison_ = comparisonBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { if (alarmBuilder_ == null) { result.alarm_ = alarm_; } else { result.alarm_ = alarmBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000002; } result.context_ = context_; 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.Mdb.ContextAlarmInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.ContextAlarmInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ContextAlarmInfo other) { if (other == org.yamcs.protobuf.Mdb.ContextAlarmInfo.getDefaultInstance()) return this; if (comparisonBuilder_ == null) { if (!other.comparison_.isEmpty()) { if (comparison_.isEmpty()) { comparison_ = other.comparison_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureComparisonIsMutable(); comparison_.addAll(other.comparison_); } onChanged(); } } else { if (!other.comparison_.isEmpty()) { if (comparisonBuilder_.isEmpty()) { comparisonBuilder_.dispose(); comparisonBuilder_ = null; comparison_ = other.comparison_; bitField0_ = (bitField0_ & ~0x00000001); comparisonBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getComparisonFieldBuilder() : null; } else { comparisonBuilder_.addAllMessages(other.comparison_); } } } if (other.hasAlarm()) { mergeAlarm(other.getAlarm()); } if (other.hasContext()) { bitField0_ |= 0x00000004; context_ = other.context_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getComparisonCount(); i++) { if (!getComparison(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.Mdb.ContextAlarmInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ContextAlarmInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List comparison_ = java.util.Collections.emptyList(); private void ensureComparisonIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { comparison_ = new java.util.ArrayList(comparison_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ComparisonInfo, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder, org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder> comparisonBuilder_; /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonList() { if (comparisonBuilder_ == null) { return java.util.Collections.unmodifiableList(comparison_); } else { return comparisonBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public int getComparisonCount() { if (comparisonBuilder_ == null) { return comparison_.size(); } else { return comparisonBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo getComparison(int index) { if (comparisonBuilder_ == null) { return comparison_.get(index); } else { return comparisonBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder setComparison( int index, org.yamcs.protobuf.Mdb.ComparisonInfo value) { if (comparisonBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComparisonIsMutable(); comparison_.set(index, value); onChanged(); } else { comparisonBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder setComparison( int index, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder builderForValue) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); comparison_.set(index, builderForValue.build()); onChanged(); } else { comparisonBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addComparison(org.yamcs.protobuf.Mdb.ComparisonInfo value) { if (comparisonBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComparisonIsMutable(); comparison_.add(value); onChanged(); } else { comparisonBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addComparison( int index, org.yamcs.protobuf.Mdb.ComparisonInfo value) { if (comparisonBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComparisonIsMutable(); comparison_.add(index, value); onChanged(); } else { comparisonBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addComparison( org.yamcs.protobuf.Mdb.ComparisonInfo.Builder builderForValue) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); comparison_.add(builderForValue.build()); onChanged(); } else { comparisonBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addComparison( int index, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder builderForValue) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); comparison_.add(index, builderForValue.build()); onChanged(); } else { comparisonBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addAllComparison( java.lang.Iterable values) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, comparison_); onChanged(); } else { comparisonBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder clearComparison() { if (comparisonBuilder_ == null) { comparison_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { comparisonBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder removeComparison(int index) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); comparison_.remove(index); onChanged(); } else { comparisonBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder getComparisonBuilder( int index) { return getComparisonFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getComparisonOrBuilder( int index) { if (comparisonBuilder_ == null) { return comparison_.get(index); } else { return comparisonBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonOrBuilderList() { if (comparisonBuilder_ != null) { return comparisonBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(comparison_); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder addComparisonBuilder() { return getComparisonFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ComparisonInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder addComparisonBuilder( int index) { return getComparisonFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ComparisonInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonBuilderList() { return getComparisonFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ComparisonInfo, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder, org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder> getComparisonFieldBuilder() { if (comparisonBuilder_ == null) { comparisonBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ComparisonInfo, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder, org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder>( comparison_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); comparison_ = null; } return comparisonBuilder_; } private org.yamcs.protobuf.Mdb.AlarmInfo alarm_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmInfo, org.yamcs.protobuf.Mdb.AlarmInfo.Builder, org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder> alarmBuilder_; /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ public boolean hasAlarm() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ public org.yamcs.protobuf.Mdb.AlarmInfo getAlarm() { if (alarmBuilder_ == null) { return alarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : alarm_; } else { return alarmBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ public Builder setAlarm(org.yamcs.protobuf.Mdb.AlarmInfo value) { if (alarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } alarm_ = value; onChanged(); } else { alarmBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ public Builder setAlarm( org.yamcs.protobuf.Mdb.AlarmInfo.Builder builderForValue) { if (alarmBuilder_ == null) { alarm_ = builderForValue.build(); onChanged(); } else { alarmBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ public Builder mergeAlarm(org.yamcs.protobuf.Mdb.AlarmInfo value) { if (alarmBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && alarm_ != null && alarm_ != org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance()) { alarm_ = org.yamcs.protobuf.Mdb.AlarmInfo.newBuilder(alarm_).mergeFrom(value).buildPartial(); } else { alarm_ = value; } onChanged(); } else { alarmBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ public Builder clearAlarm() { if (alarmBuilder_ == null) { alarm_ = null; onChanged(); } else { alarmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ public org.yamcs.protobuf.Mdb.AlarmInfo.Builder getAlarmBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAlarmFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ public org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder getAlarmOrBuilder() { if (alarmBuilder_ != null) { return alarmBuilder_.getMessageOrBuilder(); } else { return alarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : alarm_; } } /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmInfo, org.yamcs.protobuf.Mdb.AlarmInfo.Builder, org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder> getAlarmFieldBuilder() { if (alarmBuilder_ == null) { alarmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmInfo, org.yamcs.protobuf.Mdb.AlarmInfo.Builder, org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder>( getAlarm(), getParentForChildren(), isClean()); alarm_ = null; } return alarmBuilder_; } private java.lang.Object context_ = ""; /** *
       *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
       * either this or the comparison above has to be used (not both at the same time)
       * 
* * optional string context = 3; */ public boolean hasContext() { return ((bitField0_ & 0x00000004) != 0); } /** *
       *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
       * either this or the comparison above has to be used (not both at the same time)
       * 
* * optional string context = 3; */ public java.lang.String getContext() { java.lang.Object ref = context_; 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()) { context_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
       * either this or the comparison above has to be used (not both at the same time)
       * 
* * optional string context = 3; */ public com.google.protobuf.ByteString getContextBytes() { java.lang.Object ref = context_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); context_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
       * either this or the comparison above has to be used (not both at the same time)
       * 
* * optional string context = 3; */ public Builder setContext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; context_ = value; onChanged(); return this; } /** *
       *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
       * either this or the comparison above has to be used (not both at the same time)
       * 
* * optional string context = 3; */ public Builder clearContext() { bitField0_ = (bitField0_ & ~0x00000004); context_ = getDefaultInstance().getContext(); onChanged(); return this; } /** *
       *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
       * either this or the comparison above has to be used (not both at the same time)
       * 
* * optional string context = 3; */ public Builder setContextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; context_ = value; 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.mdb.ContextAlarmInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ContextAlarmInfo) private static final org.yamcs.protobuf.Mdb.ContextAlarmInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ContextAlarmInfo(); } public static org.yamcs.protobuf.Mdb.ContextAlarmInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ContextAlarmInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ContextAlarmInfo(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.Mdb.ContextAlarmInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DataEncodingInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.DataEncodingInfo) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.mdb.DataEncodingInfo.Type type = 1; */ boolean hasType(); /** * optional .yamcs.protobuf.mdb.DataEncodingInfo.Type type = 1; */ org.yamcs.protobuf.Mdb.DataEncodingInfo.Type getType(); /** * optional bool littleEndian = 2; */ boolean hasLittleEndian(); /** * optional bool littleEndian = 2; */ boolean getLittleEndian(); /** * optional int32 sizeInBits = 3; */ boolean hasSizeInBits(); /** * optional int32 sizeInBits = 3; */ int getSizeInBits(); /** * optional string encoding = 4; */ boolean hasEncoding(); /** * optional string encoding = 4; */ java.lang.String getEncoding(); /** * optional string encoding = 4; */ com.google.protobuf.ByteString getEncodingBytes(); /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ boolean hasDefaultCalibrator(); /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ org.yamcs.protobuf.Mdb.CalibratorInfo getDefaultCalibrator(); /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder getDefaultCalibratorOrBuilder(); /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ java.util.List getContextCalibratorList(); /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ org.yamcs.protobuf.Mdb.ContextCalibratorInfo getContextCalibrator(int index); /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ int getContextCalibratorCount(); /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ java.util.List getContextCalibratorOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.mdb.DataEncodingInfo} */ public static final class DataEncodingInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.DataEncodingInfo) DataEncodingInfoOrBuilder { private static final long serialVersionUID = 0L; // Use DataEncodingInfo.newBuilder() to construct. private DataEncodingInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataEncodingInfo() { type_ = 0; encoding_ = ""; contextCalibrator_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DataEncodingInfo( 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 8: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.DataEncodingInfo.Type value = org.yamcs.protobuf.Mdb.DataEncodingInfo.Type.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; type_ = rawValue; } break; } case 16: { bitField0_ |= 0x00000002; littleEndian_ = input.readBool(); break; } case 24: { bitField0_ |= 0x00000004; sizeInBits_ = input.readInt32(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; encoding_ = bs; break; } case 50: { org.yamcs.protobuf.Mdb.CalibratorInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = defaultCalibrator_.toBuilder(); } defaultCalibrator_ = input.readMessage(org.yamcs.protobuf.Mdb.CalibratorInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(defaultCalibrator_); defaultCalibrator_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 58: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { contextCalibrator_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } contextCalibrator_.add( input.readMessage(org.yamcs.protobuf.Mdb.ContextCalibratorInfo.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_ & 0x00000020) != 0)) { contextCalibrator_ = java.util.Collections.unmodifiableList(contextCalibrator_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_DataEncodingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_DataEncodingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.DataEncodingInfo.class, org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.mdb.DataEncodingInfo.Type} */ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * BINARY = 0; */ BINARY(0), /** * BOOLEAN = 1; */ BOOLEAN(1), /** * FLOAT = 2; */ FLOAT(2), /** * INTEGER = 3; */ INTEGER(3), /** * STRING = 4; */ STRING(4), ; /** * BINARY = 0; */ public static final int BINARY_VALUE = 0; /** * BOOLEAN = 1; */ public static final int BOOLEAN_VALUE = 1; /** * FLOAT = 2; */ public static final int FLOAT_VALUE = 2; /** * INTEGER = 3; */ public static final int INTEGER_VALUE = 3; /** * STRING = 4; */ public static final int STRING_VALUE = 4; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Type valueOf(int value) { return forNumber(value); } public static Type forNumber(int value) { switch (value) { case 0: return BINARY; case 1: return BOOLEAN; case 2: return FLOAT; case 3: return INTEGER; case 4: return STRING; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Type> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Type findValueByNumber(int number) { return Type.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.Mdb.DataEncodingInfo.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); public static Type 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 Type(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.mdb.DataEncodingInfo.Type) } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** * optional .yamcs.protobuf.mdb.DataEncodingInfo.Type type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo.Type type = 1; */ public org.yamcs.protobuf.Mdb.DataEncodingInfo.Type getType() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.DataEncodingInfo.Type result = org.yamcs.protobuf.Mdb.DataEncodingInfo.Type.valueOf(type_); return result == null ? org.yamcs.protobuf.Mdb.DataEncodingInfo.Type.BINARY : result; } public static final int LITTLEENDIAN_FIELD_NUMBER = 2; private boolean littleEndian_; /** * optional bool littleEndian = 2; */ public boolean hasLittleEndian() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool littleEndian = 2; */ public boolean getLittleEndian() { return littleEndian_; } public static final int SIZEINBITS_FIELD_NUMBER = 3; private int sizeInBits_; /** * optional int32 sizeInBits = 3; */ public boolean hasSizeInBits() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 sizeInBits = 3; */ public int getSizeInBits() { return sizeInBits_; } public static final int ENCODING_FIELD_NUMBER = 4; private volatile java.lang.Object encoding_; /** * optional string encoding = 4; */ public boolean hasEncoding() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string encoding = 4; */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; 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()) { encoding_ = s; } return s; } } /** * optional string encoding = 4; */ public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); encoding_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULTCALIBRATOR_FIELD_NUMBER = 6; private org.yamcs.protobuf.Mdb.CalibratorInfo defaultCalibrator_; /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ public boolean hasDefaultCalibrator() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ public org.yamcs.protobuf.Mdb.CalibratorInfo getDefaultCalibrator() { return defaultCalibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : defaultCalibrator_; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ public org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder getDefaultCalibratorOrBuilder() { return defaultCalibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : defaultCalibrator_; } public static final int CONTEXTCALIBRATOR_FIELD_NUMBER = 7; private java.util.List contextCalibrator_; /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public java.util.List getContextCalibratorList() { return contextCalibrator_; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public java.util.List getContextCalibratorOrBuilderList() { return contextCalibrator_; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public int getContextCalibratorCount() { return contextCalibrator_.size(); } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo getContextCalibrator(int index) { return contextCalibrator_.get(index); } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorOrBuilder( int index) { return contextCalibrator_.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 < getContextCalibratorCount(); i++) { if (!getContextCalibrator(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_ & 0x00000001) != 0)) { output.writeEnum(1, type_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, littleEndian_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(3, sizeInBits_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, encoding_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(6, getDefaultCalibrator()); } for (int i = 0; i < contextCalibrator_.size(); i++) { output.writeMessage(7, contextCalibrator_.get(i)); } 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 .computeEnumSize(1, type_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, littleEndian_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, sizeInBits_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, encoding_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getDefaultCalibrator()); } for (int i = 0; i < contextCalibrator_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, contextCalibrator_.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.Mdb.DataEncodingInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.DataEncodingInfo other = (org.yamcs.protobuf.Mdb.DataEncodingInfo) obj; if (hasType() != other.hasType()) return false; if (hasType()) { if (type_ != other.type_) return false; } if (hasLittleEndian() != other.hasLittleEndian()) return false; if (hasLittleEndian()) { if (getLittleEndian() != other.getLittleEndian()) return false; } if (hasSizeInBits() != other.hasSizeInBits()) return false; if (hasSizeInBits()) { if (getSizeInBits() != other.getSizeInBits()) return false; } if (hasEncoding() != other.hasEncoding()) return false; if (hasEncoding()) { if (!getEncoding() .equals(other.getEncoding())) return false; } if (hasDefaultCalibrator() != other.hasDefaultCalibrator()) return false; if (hasDefaultCalibrator()) { if (!getDefaultCalibrator() .equals(other.getDefaultCalibrator())) return false; } if (!getContextCalibratorList() .equals(other.getContextCalibratorList())) 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 (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; } if (hasLittleEndian()) { hash = (37 * hash) + LITTLEENDIAN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getLittleEndian()); } if (hasSizeInBits()) { hash = (37 * hash) + SIZEINBITS_FIELD_NUMBER; hash = (53 * hash) + getSizeInBits(); } if (hasEncoding()) { hash = (37 * hash) + ENCODING_FIELD_NUMBER; hash = (53 * hash) + getEncoding().hashCode(); } if (hasDefaultCalibrator()) { hash = (37 * hash) + DEFAULTCALIBRATOR_FIELD_NUMBER; hash = (53 * hash) + getDefaultCalibrator().hashCode(); } if (getContextCalibratorCount() > 0) { hash = (37 * hash) + CONTEXTCALIBRATOR_FIELD_NUMBER; hash = (53 * hash) + getContextCalibratorList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.DataEncodingInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.DataEncodingInfo 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.Mdb.DataEncodingInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.DataEncodingInfo 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.Mdb.DataEncodingInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.DataEncodingInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.DataEncodingInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.DataEncodingInfo 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.Mdb.DataEncodingInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.DataEncodingInfo 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.Mdb.DataEncodingInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.DataEncodingInfo 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.Mdb.DataEncodingInfo 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.mdb.DataEncodingInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.DataEncodingInfo) org.yamcs.protobuf.Mdb.DataEncodingInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_DataEncodingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_DataEncodingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.DataEncodingInfo.class, org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.DataEncodingInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDefaultCalibratorFieldBuilder(); getContextCalibratorFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); type_ = 0; bitField0_ = (bitField0_ & ~0x00000001); littleEndian_ = false; bitField0_ = (bitField0_ & ~0x00000002); sizeInBits_ = 0; bitField0_ = (bitField0_ & ~0x00000004); encoding_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (defaultCalibratorBuilder_ == null) { defaultCalibrator_ = null; } else { defaultCalibratorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (contextCalibratorBuilder_ == null) { contextCalibrator_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { contextCalibratorBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_DataEncodingInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.DataEncodingInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.DataEncodingInfo build() { org.yamcs.protobuf.Mdb.DataEncodingInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.DataEncodingInfo buildPartial() { org.yamcs.protobuf.Mdb.DataEncodingInfo result = new org.yamcs.protobuf.Mdb.DataEncodingInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) != 0)) { result.littleEndian_ = littleEndian_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.sizeInBits_ = sizeInBits_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.encoding_ = encoding_; if (((from_bitField0_ & 0x00000010) != 0)) { if (defaultCalibratorBuilder_ == null) { result.defaultCalibrator_ = defaultCalibrator_; } else { result.defaultCalibrator_ = defaultCalibratorBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (contextCalibratorBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { contextCalibrator_ = java.util.Collections.unmodifiableList(contextCalibrator_); bitField0_ = (bitField0_ & ~0x00000020); } result.contextCalibrator_ = contextCalibrator_; } else { result.contextCalibrator_ = contextCalibratorBuilder_.build(); } 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.Mdb.DataEncodingInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.DataEncodingInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.DataEncodingInfo other) { if (other == org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasLittleEndian()) { setLittleEndian(other.getLittleEndian()); } if (other.hasSizeInBits()) { setSizeInBits(other.getSizeInBits()); } if (other.hasEncoding()) { bitField0_ |= 0x00000008; encoding_ = other.encoding_; onChanged(); } if (other.hasDefaultCalibrator()) { mergeDefaultCalibrator(other.getDefaultCalibrator()); } if (contextCalibratorBuilder_ == null) { if (!other.contextCalibrator_.isEmpty()) { if (contextCalibrator_.isEmpty()) { contextCalibrator_ = other.contextCalibrator_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureContextCalibratorIsMutable(); contextCalibrator_.addAll(other.contextCalibrator_); } onChanged(); } } else { if (!other.contextCalibrator_.isEmpty()) { if (contextCalibratorBuilder_.isEmpty()) { contextCalibratorBuilder_.dispose(); contextCalibratorBuilder_ = null; contextCalibrator_ = other.contextCalibrator_; bitField0_ = (bitField0_ & ~0x00000020); contextCalibratorBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getContextCalibratorFieldBuilder() : null; } else { contextCalibratorBuilder_.addAllMessages(other.contextCalibrator_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getContextCalibratorCount(); i++) { if (!getContextCalibrator(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.Mdb.DataEncodingInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.DataEncodingInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int type_ = 0; /** * optional .yamcs.protobuf.mdb.DataEncodingInfo.Type type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo.Type type = 1; */ public org.yamcs.protobuf.Mdb.DataEncodingInfo.Type getType() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.DataEncodingInfo.Type result = org.yamcs.protobuf.Mdb.DataEncodingInfo.Type.valueOf(type_); return result == null ? org.yamcs.protobuf.Mdb.DataEncodingInfo.Type.BINARY : result; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo.Type type = 1; */ public Builder setType(org.yamcs.protobuf.Mdb.DataEncodingInfo.Type value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo.Type type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 0; onChanged(); return this; } private boolean littleEndian_ ; /** * optional bool littleEndian = 2; */ public boolean hasLittleEndian() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool littleEndian = 2; */ public boolean getLittleEndian() { return littleEndian_; } /** * optional bool littleEndian = 2; */ public Builder setLittleEndian(boolean value) { bitField0_ |= 0x00000002; littleEndian_ = value; onChanged(); return this; } /** * optional bool littleEndian = 2; */ public Builder clearLittleEndian() { bitField0_ = (bitField0_ & ~0x00000002); littleEndian_ = false; onChanged(); return this; } private int sizeInBits_ ; /** * optional int32 sizeInBits = 3; */ public boolean hasSizeInBits() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 sizeInBits = 3; */ public int getSizeInBits() { return sizeInBits_; } /** * optional int32 sizeInBits = 3; */ public Builder setSizeInBits(int value) { bitField0_ |= 0x00000004; sizeInBits_ = value; onChanged(); return this; } /** * optional int32 sizeInBits = 3; */ public Builder clearSizeInBits() { bitField0_ = (bitField0_ & ~0x00000004); sizeInBits_ = 0; onChanged(); return this; } private java.lang.Object encoding_ = ""; /** * optional string encoding = 4; */ public boolean hasEncoding() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string encoding = 4; */ public java.lang.String getEncoding() { java.lang.Object ref = encoding_; 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()) { encoding_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string encoding = 4; */ public com.google.protobuf.ByteString getEncodingBytes() { java.lang.Object ref = encoding_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); encoding_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string encoding = 4; */ public Builder setEncoding( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; encoding_ = value; onChanged(); return this; } /** * optional string encoding = 4; */ public Builder clearEncoding() { bitField0_ = (bitField0_ & ~0x00000008); encoding_ = getDefaultInstance().getEncoding(); onChanged(); return this; } /** * optional string encoding = 4; */ public Builder setEncodingBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; encoding_ = value; onChanged(); return this; } private org.yamcs.protobuf.Mdb.CalibratorInfo defaultCalibrator_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CalibratorInfo, org.yamcs.protobuf.Mdb.CalibratorInfo.Builder, org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder> defaultCalibratorBuilder_; /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ public boolean hasDefaultCalibrator() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ public org.yamcs.protobuf.Mdb.CalibratorInfo getDefaultCalibrator() { if (defaultCalibratorBuilder_ == null) { return defaultCalibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : defaultCalibrator_; } else { return defaultCalibratorBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ public Builder setDefaultCalibrator(org.yamcs.protobuf.Mdb.CalibratorInfo value) { if (defaultCalibratorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultCalibrator_ = value; onChanged(); } else { defaultCalibratorBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ public Builder setDefaultCalibrator( org.yamcs.protobuf.Mdb.CalibratorInfo.Builder builderForValue) { if (defaultCalibratorBuilder_ == null) { defaultCalibrator_ = builderForValue.build(); onChanged(); } else { defaultCalibratorBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ public Builder mergeDefaultCalibrator(org.yamcs.protobuf.Mdb.CalibratorInfo value) { if (defaultCalibratorBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && defaultCalibrator_ != null && defaultCalibrator_ != org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance()) { defaultCalibrator_ = org.yamcs.protobuf.Mdb.CalibratorInfo.newBuilder(defaultCalibrator_).mergeFrom(value).buildPartial(); } else { defaultCalibrator_ = value; } onChanged(); } else { defaultCalibratorBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ public Builder clearDefaultCalibrator() { if (defaultCalibratorBuilder_ == null) { defaultCalibrator_ = null; onChanged(); } else { defaultCalibratorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ public org.yamcs.protobuf.Mdb.CalibratorInfo.Builder getDefaultCalibratorBuilder() { bitField0_ |= 0x00000010; onChanged(); return getDefaultCalibratorFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ public org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder getDefaultCalibratorOrBuilder() { if (defaultCalibratorBuilder_ != null) { return defaultCalibratorBuilder_.getMessageOrBuilder(); } else { return defaultCalibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : defaultCalibrator_; } } /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CalibratorInfo, org.yamcs.protobuf.Mdb.CalibratorInfo.Builder, org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder> getDefaultCalibratorFieldBuilder() { if (defaultCalibratorBuilder_ == null) { defaultCalibratorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CalibratorInfo, org.yamcs.protobuf.Mdb.CalibratorInfo.Builder, org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder>( getDefaultCalibrator(), getParentForChildren(), isClean()); defaultCalibrator_ = null; } return defaultCalibratorBuilder_; } private java.util.List contextCalibrator_ = java.util.Collections.emptyList(); private void ensureContextCalibratorIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { contextCalibrator_ = new java.util.ArrayList(contextCalibrator_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextCalibratorInfo, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder> contextCalibratorBuilder_; /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public java.util.List getContextCalibratorList() { if (contextCalibratorBuilder_ == null) { return java.util.Collections.unmodifiableList(contextCalibrator_); } else { return contextCalibratorBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public int getContextCalibratorCount() { if (contextCalibratorBuilder_ == null) { return contextCalibrator_.size(); } else { return contextCalibratorBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo getContextCalibrator(int index) { if (contextCalibratorBuilder_ == null) { return contextCalibrator_.get(index); } else { return contextCalibratorBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public Builder setContextCalibrator( int index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo value) { if (contextCalibratorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextCalibratorIsMutable(); contextCalibrator_.set(index, value); onChanged(); } else { contextCalibratorBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public Builder setContextCalibrator( int index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder builderForValue) { if (contextCalibratorBuilder_ == null) { ensureContextCalibratorIsMutable(); contextCalibrator_.set(index, builderForValue.build()); onChanged(); } else { contextCalibratorBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public Builder addContextCalibrator(org.yamcs.protobuf.Mdb.ContextCalibratorInfo value) { if (contextCalibratorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextCalibratorIsMutable(); contextCalibrator_.add(value); onChanged(); } else { contextCalibratorBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public Builder addContextCalibrator( int index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo value) { if (contextCalibratorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextCalibratorIsMutable(); contextCalibrator_.add(index, value); onChanged(); } else { contextCalibratorBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public Builder addContextCalibrator( org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder builderForValue) { if (contextCalibratorBuilder_ == null) { ensureContextCalibratorIsMutable(); contextCalibrator_.add(builderForValue.build()); onChanged(); } else { contextCalibratorBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public Builder addContextCalibrator( int index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder builderForValue) { if (contextCalibratorBuilder_ == null) { ensureContextCalibratorIsMutable(); contextCalibrator_.add(index, builderForValue.build()); onChanged(); } else { contextCalibratorBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public Builder addAllContextCalibrator( java.lang.Iterable values) { if (contextCalibratorBuilder_ == null) { ensureContextCalibratorIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, contextCalibrator_); onChanged(); } else { contextCalibratorBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public Builder clearContextCalibrator() { if (contextCalibratorBuilder_ == null) { contextCalibrator_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { contextCalibratorBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public Builder removeContextCalibrator(int index) { if (contextCalibratorBuilder_ == null) { ensureContextCalibratorIsMutable(); contextCalibrator_.remove(index); onChanged(); } else { contextCalibratorBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder getContextCalibratorBuilder( int index) { return getContextCalibratorFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorOrBuilder( int index) { if (contextCalibratorBuilder_ == null) { return contextCalibrator_.get(index); } else { return contextCalibratorBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public java.util.List getContextCalibratorOrBuilderList() { if (contextCalibratorBuilder_ != null) { return contextCalibratorBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(contextCalibrator_); } } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder addContextCalibratorBuilder() { return getContextCalibratorFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ContextCalibratorInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder addContextCalibratorBuilder( int index) { return getContextCalibratorFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7; */ public java.util.List getContextCalibratorBuilderList() { return getContextCalibratorFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextCalibratorInfo, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder> getContextCalibratorFieldBuilder() { if (contextCalibratorBuilder_ == null) { contextCalibratorBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextCalibratorInfo, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder>( contextCalibrator_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); contextCalibrator_ = null; } return contextCalibratorBuilder_; } @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.mdb.DataEncodingInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.DataEncodingInfo) private static final org.yamcs.protobuf.Mdb.DataEncodingInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.DataEncodingInfo(); } public static org.yamcs.protobuf.Mdb.DataEncodingInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataEncodingInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DataEncodingInfo(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.Mdb.DataEncodingInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ContextCalibratorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ContextCalibratorInfo) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ java.util.List getComparisonList(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ org.yamcs.protobuf.Mdb.ComparisonInfo getComparison(int index); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ int getComparisonCount(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ java.util.List getComparisonOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getComparisonOrBuilder( int index); /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ boolean hasCalibrator(); /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ org.yamcs.protobuf.Mdb.CalibratorInfo getCalibrator(); /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder getCalibratorOrBuilder(); /** *
     *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
     * either this or the comparison above has to be used (not both at the same time)
     * 
* * optional string context = 3; */ boolean hasContext(); /** *
     *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
     * either this or the comparison above has to be used (not both at the same time)
     * 
* * optional string context = 3; */ java.lang.String getContext(); /** *
     *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
     * either this or the comparison above has to be used (not both at the same time)
     * 
* * optional string context = 3; */ com.google.protobuf.ByteString getContextBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ContextCalibratorInfo} */ public static final class ContextCalibratorInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ContextCalibratorInfo) ContextCalibratorInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ContextCalibratorInfo.newBuilder() to construct. private ContextCalibratorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ContextCalibratorInfo() { comparison_ = java.util.Collections.emptyList(); context_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ContextCalibratorInfo( 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)) { comparison_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } comparison_.add( input.readMessage(org.yamcs.protobuf.Mdb.ComparisonInfo.PARSER, extensionRegistry)); break; } case 18: { org.yamcs.protobuf.Mdb.CalibratorInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = calibrator_.toBuilder(); } calibrator_ = input.readMessage(org.yamcs.protobuf.Mdb.CalibratorInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(calibrator_); calibrator_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; context_ = bs; 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)) { comparison_ = java.util.Collections.unmodifiableList(comparison_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContextCalibratorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContextCalibratorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ContextCalibratorInfo.class, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder.class); } private int bitField0_; public static final int COMPARISON_FIELD_NUMBER = 1; private java.util.List comparison_; /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonList() { return comparison_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonOrBuilderList() { return comparison_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public int getComparisonCount() { return comparison_.size(); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo getComparison(int index) { return comparison_.get(index); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getComparisonOrBuilder( int index) { return comparison_.get(index); } public static final int CALIBRATOR_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.CalibratorInfo calibrator_; /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ public boolean hasCalibrator() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ public org.yamcs.protobuf.Mdb.CalibratorInfo getCalibrator() { return calibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : calibrator_; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ public org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder getCalibratorOrBuilder() { return calibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : calibrator_; } public static final int CONTEXT_FIELD_NUMBER = 3; private volatile java.lang.Object context_; /** *
     *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
     * either this or the comparison above has to be used (not both at the same time)
     * 
* * optional string context = 3; */ public boolean hasContext() { return ((bitField0_ & 0x00000002) != 0); } /** *
     *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
     * either this or the comparison above has to be used (not both at the same time)
     * 
* * optional string context = 3; */ public java.lang.String getContext() { java.lang.Object ref = context_; 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()) { context_ = s; } return s; } } /** *
     *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
     * either this or the comparison above has to be used (not both at the same time)
     * 
* * optional string context = 3; */ public com.google.protobuf.ByteString getContextBytes() { java.lang.Object ref = context_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); context_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 < getComparisonCount(); i++) { if (!getComparison(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 < comparison_.size(); i++) { output.writeMessage(1, comparison_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getCalibrator()); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, context_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < comparison_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, comparison_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getCalibrator()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, context_); } 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.Mdb.ContextCalibratorInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ContextCalibratorInfo other = (org.yamcs.protobuf.Mdb.ContextCalibratorInfo) obj; if (!getComparisonList() .equals(other.getComparisonList())) return false; if (hasCalibrator() != other.hasCalibrator()) return false; if (hasCalibrator()) { if (!getCalibrator() .equals(other.getCalibrator())) return false; } if (hasContext() != other.hasContext()) return false; if (hasContext()) { if (!getContext() .equals(other.getContext())) 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 (getComparisonCount() > 0) { hash = (37 * hash) + COMPARISON_FIELD_NUMBER; hash = (53 * hash) + getComparisonList().hashCode(); } if (hasCalibrator()) { hash = (37 * hash) + CALIBRATOR_FIELD_NUMBER; hash = (53 * hash) + getCalibrator().hashCode(); } if (hasContext()) { hash = (37 * hash) + CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getContext().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ContextCalibratorInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ContextCalibratorInfo 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.Mdb.ContextCalibratorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ContextCalibratorInfo 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.Mdb.ContextCalibratorInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ContextCalibratorInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ContextCalibratorInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ContextCalibratorInfo 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.Mdb.ContextCalibratorInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ContextCalibratorInfo 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.Mdb.ContextCalibratorInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ContextCalibratorInfo 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.Mdb.ContextCalibratorInfo 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.mdb.ContextCalibratorInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ContextCalibratorInfo) org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContextCalibratorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContextCalibratorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ContextCalibratorInfo.class, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ContextCalibratorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getComparisonFieldBuilder(); getCalibratorFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (comparisonBuilder_ == null) { comparison_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { comparisonBuilder_.clear(); } if (calibratorBuilder_ == null) { calibrator_ = null; } else { calibratorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); context_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContextCalibratorInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ContextCalibratorInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ContextCalibratorInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ContextCalibratorInfo build() { org.yamcs.protobuf.Mdb.ContextCalibratorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ContextCalibratorInfo buildPartial() { org.yamcs.protobuf.Mdb.ContextCalibratorInfo result = new org.yamcs.protobuf.Mdb.ContextCalibratorInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (comparisonBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { comparison_ = java.util.Collections.unmodifiableList(comparison_); bitField0_ = (bitField0_ & ~0x00000001); } result.comparison_ = comparison_; } else { result.comparison_ = comparisonBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { if (calibratorBuilder_ == null) { result.calibrator_ = calibrator_; } else { result.calibrator_ = calibratorBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000002; } result.context_ = context_; 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.Mdb.ContextCalibratorInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.ContextCalibratorInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ContextCalibratorInfo other) { if (other == org.yamcs.protobuf.Mdb.ContextCalibratorInfo.getDefaultInstance()) return this; if (comparisonBuilder_ == null) { if (!other.comparison_.isEmpty()) { if (comparison_.isEmpty()) { comparison_ = other.comparison_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureComparisonIsMutable(); comparison_.addAll(other.comparison_); } onChanged(); } } else { if (!other.comparison_.isEmpty()) { if (comparisonBuilder_.isEmpty()) { comparisonBuilder_.dispose(); comparisonBuilder_ = null; comparison_ = other.comparison_; bitField0_ = (bitField0_ & ~0x00000001); comparisonBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getComparisonFieldBuilder() : null; } else { comparisonBuilder_.addAllMessages(other.comparison_); } } } if (other.hasCalibrator()) { mergeCalibrator(other.getCalibrator()); } if (other.hasContext()) { bitField0_ |= 0x00000004; context_ = other.context_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getComparisonCount(); i++) { if (!getComparison(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.Mdb.ContextCalibratorInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ContextCalibratorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List comparison_ = java.util.Collections.emptyList(); private void ensureComparisonIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { comparison_ = new java.util.ArrayList(comparison_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ComparisonInfo, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder, org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder> comparisonBuilder_; /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonList() { if (comparisonBuilder_ == null) { return java.util.Collections.unmodifiableList(comparison_); } else { return comparisonBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public int getComparisonCount() { if (comparisonBuilder_ == null) { return comparison_.size(); } else { return comparisonBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo getComparison(int index) { if (comparisonBuilder_ == null) { return comparison_.get(index); } else { return comparisonBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder setComparison( int index, org.yamcs.protobuf.Mdb.ComparisonInfo value) { if (comparisonBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComparisonIsMutable(); comparison_.set(index, value); onChanged(); } else { comparisonBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder setComparison( int index, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder builderForValue) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); comparison_.set(index, builderForValue.build()); onChanged(); } else { comparisonBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addComparison(org.yamcs.protobuf.Mdb.ComparisonInfo value) { if (comparisonBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComparisonIsMutable(); comparison_.add(value); onChanged(); } else { comparisonBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addComparison( int index, org.yamcs.protobuf.Mdb.ComparisonInfo value) { if (comparisonBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComparisonIsMutable(); comparison_.add(index, value); onChanged(); } else { comparisonBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addComparison( org.yamcs.protobuf.Mdb.ComparisonInfo.Builder builderForValue) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); comparison_.add(builderForValue.build()); onChanged(); } else { comparisonBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addComparison( int index, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder builderForValue) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); comparison_.add(index, builderForValue.build()); onChanged(); } else { comparisonBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addAllComparison( java.lang.Iterable values) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, comparison_); onChanged(); } else { comparisonBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder clearComparison() { if (comparisonBuilder_ == null) { comparison_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { comparisonBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder removeComparison(int index) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); comparison_.remove(index); onChanged(); } else { comparisonBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder getComparisonBuilder( int index) { return getComparisonFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getComparisonOrBuilder( int index) { if (comparisonBuilder_ == null) { return comparison_.get(index); } else { return comparisonBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonOrBuilderList() { if (comparisonBuilder_ != null) { return comparisonBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(comparison_); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder addComparisonBuilder() { return getComparisonFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ComparisonInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder addComparisonBuilder( int index) { return getComparisonFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ComparisonInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonBuilderList() { return getComparisonFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ComparisonInfo, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder, org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder> getComparisonFieldBuilder() { if (comparisonBuilder_ == null) { comparisonBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ComparisonInfo, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder, org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder>( comparison_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); comparison_ = null; } return comparisonBuilder_; } private org.yamcs.protobuf.Mdb.CalibratorInfo calibrator_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CalibratorInfo, org.yamcs.protobuf.Mdb.CalibratorInfo.Builder, org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder> calibratorBuilder_; /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ public boolean hasCalibrator() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ public org.yamcs.protobuf.Mdb.CalibratorInfo getCalibrator() { if (calibratorBuilder_ == null) { return calibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : calibrator_; } else { return calibratorBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ public Builder setCalibrator(org.yamcs.protobuf.Mdb.CalibratorInfo value) { if (calibratorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } calibrator_ = value; onChanged(); } else { calibratorBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ public Builder setCalibrator( org.yamcs.protobuf.Mdb.CalibratorInfo.Builder builderForValue) { if (calibratorBuilder_ == null) { calibrator_ = builderForValue.build(); onChanged(); } else { calibratorBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ public Builder mergeCalibrator(org.yamcs.protobuf.Mdb.CalibratorInfo value) { if (calibratorBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && calibrator_ != null && calibrator_ != org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance()) { calibrator_ = org.yamcs.protobuf.Mdb.CalibratorInfo.newBuilder(calibrator_).mergeFrom(value).buildPartial(); } else { calibrator_ = value; } onChanged(); } else { calibratorBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ public Builder clearCalibrator() { if (calibratorBuilder_ == null) { calibrator_ = null; onChanged(); } else { calibratorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ public org.yamcs.protobuf.Mdb.CalibratorInfo.Builder getCalibratorBuilder() { bitField0_ |= 0x00000002; onChanged(); return getCalibratorFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ public org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder getCalibratorOrBuilder() { if (calibratorBuilder_ != null) { return calibratorBuilder_.getMessageOrBuilder(); } else { return calibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : calibrator_; } } /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CalibratorInfo, org.yamcs.protobuf.Mdb.CalibratorInfo.Builder, org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder> getCalibratorFieldBuilder() { if (calibratorBuilder_ == null) { calibratorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CalibratorInfo, org.yamcs.protobuf.Mdb.CalibratorInfo.Builder, org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder>( getCalibrator(), getParentForChildren(), isClean()); calibrator_ = null; } return calibratorBuilder_; } private java.lang.Object context_ = ""; /** *
       *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
       * either this or the comparison above has to be used (not both at the same time)
       * 
* * optional string context = 3; */ public boolean hasContext() { return ((bitField0_ & 0x00000004) != 0); } /** *
       *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
       * either this or the comparison above has to be used (not both at the same time)
       * 
* * optional string context = 3; */ public java.lang.String getContext() { java.lang.Object ref = context_; 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()) { context_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
       * either this or the comparison above has to be used (not both at the same time)
       * 
* * optional string context = 3; */ public com.google.protobuf.ByteString getContextBytes() { java.lang.Object ref = context_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); context_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
       * either this or the comparison above has to be used (not both at the same time)
       * 
* * optional string context = 3; */ public Builder setContext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; context_ = value; onChanged(); return this; } /** *
       *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
       * either this or the comparison above has to be used (not both at the same time)
       * 
* * optional string context = 3; */ public Builder clearContext() { bitField0_ = (bitField0_ & ~0x00000004); context_ = getDefaultInstance().getContext(); onChanged(); return this; } /** *
       *this can be used in the ChangeParameteRequest to pass a context that is parsed on the server, according to the rules in the excel spreadsheet
       * either this or the comparison above has to be used (not both at the same time)
       * 
* * optional string context = 3; */ public Builder setContextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; context_ = value; 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.mdb.ContextCalibratorInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ContextCalibratorInfo) private static final org.yamcs.protobuf.Mdb.ContextCalibratorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ContextCalibratorInfo(); } public static org.yamcs.protobuf.Mdb.ContextCalibratorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ContextCalibratorInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ContextCalibratorInfo(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.Mdb.ContextCalibratorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CalibratorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.CalibratorInfo) com.google.protobuf.MessageOrBuilder { /** *
     *optional string type = 1; //replaced with an enum
     * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ boolean hasPolynomialCalibrator(); /** *
     *optional string type = 1; //replaced with an enum
     * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo getPolynomialCalibrator(); /** *
     *optional string type = 1; //replaced with an enum
     * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ org.yamcs.protobuf.Mdb.PolynomialCalibratorInfoOrBuilder getPolynomialCalibratorOrBuilder(); /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ boolean hasSplineCalibrator(); /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ org.yamcs.protobuf.Mdb.SplineCalibratorInfo getSplineCalibrator(); /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ org.yamcs.protobuf.Mdb.SplineCalibratorInfoOrBuilder getSplineCalibratorOrBuilder(); /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ boolean hasJavaExpressionCalibrator(); /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo getJavaExpressionCalibrator(); /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfoOrBuilder getJavaExpressionCalibratorOrBuilder(); /** * optional .yamcs.protobuf.mdb.CalibratorInfo.Type type = 5; */ boolean hasType(); /** * optional .yamcs.protobuf.mdb.CalibratorInfo.Type type = 5; */ org.yamcs.protobuf.Mdb.CalibratorInfo.Type getType(); } /** * Protobuf type {@code yamcs.protobuf.mdb.CalibratorInfo} */ public static final class CalibratorInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.CalibratorInfo) CalibratorInfoOrBuilder { private static final long serialVersionUID = 0L; // Use CalibratorInfo.newBuilder() to construct. private CalibratorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CalibratorInfo() { type_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CalibratorInfo( 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 18: { org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = polynomialCalibrator_.toBuilder(); } polynomialCalibrator_ = input.readMessage(org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(polynomialCalibrator_); polynomialCalibrator_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 26: { org.yamcs.protobuf.Mdb.SplineCalibratorInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = splineCalibrator_.toBuilder(); } splineCalibrator_ = input.readMessage(org.yamcs.protobuf.Mdb.SplineCalibratorInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(splineCalibrator_); splineCalibrator_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 34: { org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = javaExpressionCalibrator_.toBuilder(); } javaExpressionCalibrator_ = input.readMessage(org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(javaExpressionCalibrator_); javaExpressionCalibrator_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 40: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.CalibratorInfo.Type value = org.yamcs.protobuf.Mdb.CalibratorInfo.Type.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(5, rawValue); } else { bitField0_ |= 0x00000008; type_ = rawValue; } 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.Mdb.internal_static_yamcs_protobuf_mdb_CalibratorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CalibratorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.CalibratorInfo.class, org.yamcs.protobuf.Mdb.CalibratorInfo.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.mdb.CalibratorInfo.Type} */ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * POLYNOMIAL = 0; */ POLYNOMIAL(0), /** * SPLINE = 1; */ SPLINE(1), /** * MATH_OPERATION = 2; */ MATH_OPERATION(2), /** * JAVA_EXPRESSION = 3; */ JAVA_EXPRESSION(3), ; /** * POLYNOMIAL = 0; */ public static final int POLYNOMIAL_VALUE = 0; /** * SPLINE = 1; */ public static final int SPLINE_VALUE = 1; /** * MATH_OPERATION = 2; */ public static final int MATH_OPERATION_VALUE = 2; /** * JAVA_EXPRESSION = 3; */ public static final int JAVA_EXPRESSION_VALUE = 3; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Type valueOf(int value) { return forNumber(value); } public static Type forNumber(int value) { switch (value) { case 0: return POLYNOMIAL; case 1: return SPLINE; case 2: return MATH_OPERATION; case 3: return JAVA_EXPRESSION; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Type> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Type findValueByNumber(int number) { return Type.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.Mdb.CalibratorInfo.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); public static Type 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 Type(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.mdb.CalibratorInfo.Type) } private int bitField0_; public static final int POLYNOMIALCALIBRATOR_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo polynomialCalibrator_; /** *
     *optional string type = 1; //replaced with an enum
     * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ public boolean hasPolynomialCalibrator() { return ((bitField0_ & 0x00000001) != 0); } /** *
     *optional string type = 1; //replaced with an enum
     * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ public org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo getPolynomialCalibrator() { return polynomialCalibrator_ == null ? org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.getDefaultInstance() : polynomialCalibrator_; } /** *
     *optional string type = 1; //replaced with an enum
     * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ public org.yamcs.protobuf.Mdb.PolynomialCalibratorInfoOrBuilder getPolynomialCalibratorOrBuilder() { return polynomialCalibrator_ == null ? org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.getDefaultInstance() : polynomialCalibrator_; } public static final int SPLINECALIBRATOR_FIELD_NUMBER = 3; private org.yamcs.protobuf.Mdb.SplineCalibratorInfo splineCalibrator_; /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ public boolean hasSplineCalibrator() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo getSplineCalibrator() { return splineCalibrator_ == null ? org.yamcs.protobuf.Mdb.SplineCalibratorInfo.getDefaultInstance() : splineCalibrator_; } /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfoOrBuilder getSplineCalibratorOrBuilder() { return splineCalibrator_ == null ? org.yamcs.protobuf.Mdb.SplineCalibratorInfo.getDefaultInstance() : splineCalibrator_; } public static final int JAVAEXPRESSIONCALIBRATOR_FIELD_NUMBER = 4; private org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator_; /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ public boolean hasJavaExpressionCalibrator() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ public org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo getJavaExpressionCalibrator() { return javaExpressionCalibrator_ == null ? org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.getDefaultInstance() : javaExpressionCalibrator_; } /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ public org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfoOrBuilder getJavaExpressionCalibratorOrBuilder() { return javaExpressionCalibrator_ == null ? org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.getDefaultInstance() : javaExpressionCalibrator_; } public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** * optional .yamcs.protobuf.mdb.CalibratorInfo.Type type = 5; */ public boolean hasType() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo.Type type = 5; */ public org.yamcs.protobuf.Mdb.CalibratorInfo.Type getType() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.CalibratorInfo.Type result = org.yamcs.protobuf.Mdb.CalibratorInfo.Type.valueOf(type_); return result == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.Type.POLYNOMIAL : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getPolynomialCalibrator()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getSplineCalibrator()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getJavaExpressionCalibrator()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeEnum(5, type_); } 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(2, getPolynomialCalibrator()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getSplineCalibrator()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getJavaExpressionCalibrator()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, type_); } 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.Mdb.CalibratorInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.CalibratorInfo other = (org.yamcs.protobuf.Mdb.CalibratorInfo) obj; if (hasPolynomialCalibrator() != other.hasPolynomialCalibrator()) return false; if (hasPolynomialCalibrator()) { if (!getPolynomialCalibrator() .equals(other.getPolynomialCalibrator())) return false; } if (hasSplineCalibrator() != other.hasSplineCalibrator()) return false; if (hasSplineCalibrator()) { if (!getSplineCalibrator() .equals(other.getSplineCalibrator())) return false; } if (hasJavaExpressionCalibrator() != other.hasJavaExpressionCalibrator()) return false; if (hasJavaExpressionCalibrator()) { if (!getJavaExpressionCalibrator() .equals(other.getJavaExpressionCalibrator())) return false; } if (hasType() != other.hasType()) return false; if (hasType()) { if (type_ != other.type_) 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 (hasPolynomialCalibrator()) { hash = (37 * hash) + POLYNOMIALCALIBRATOR_FIELD_NUMBER; hash = (53 * hash) + getPolynomialCalibrator().hashCode(); } if (hasSplineCalibrator()) { hash = (37 * hash) + SPLINECALIBRATOR_FIELD_NUMBER; hash = (53 * hash) + getSplineCalibrator().hashCode(); } if (hasJavaExpressionCalibrator()) { hash = (37 * hash) + JAVAEXPRESSIONCALIBRATOR_FIELD_NUMBER; hash = (53 * hash) + getJavaExpressionCalibrator().hashCode(); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.CalibratorInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CalibratorInfo 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.Mdb.CalibratorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CalibratorInfo 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.Mdb.CalibratorInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CalibratorInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.CalibratorInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CalibratorInfo 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.Mdb.CalibratorInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CalibratorInfo 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.Mdb.CalibratorInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CalibratorInfo 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.Mdb.CalibratorInfo 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.mdb.CalibratorInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.CalibratorInfo) org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CalibratorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CalibratorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.CalibratorInfo.class, org.yamcs.protobuf.Mdb.CalibratorInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.CalibratorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPolynomialCalibratorFieldBuilder(); getSplineCalibratorFieldBuilder(); getJavaExpressionCalibratorFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (polynomialCalibratorBuilder_ == null) { polynomialCalibrator_ = null; } else { polynomialCalibratorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (splineCalibratorBuilder_ == null) { splineCalibrator_ = null; } else { splineCalibratorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (javaExpressionCalibratorBuilder_ == null) { javaExpressionCalibrator_ = null; } else { javaExpressionCalibratorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); type_ = 0; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CalibratorInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.CalibratorInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.CalibratorInfo build() { org.yamcs.protobuf.Mdb.CalibratorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.CalibratorInfo buildPartial() { org.yamcs.protobuf.Mdb.CalibratorInfo result = new org.yamcs.protobuf.Mdb.CalibratorInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (polynomialCalibratorBuilder_ == null) { result.polynomialCalibrator_ = polynomialCalibrator_; } else { result.polynomialCalibrator_ = polynomialCalibratorBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (splineCalibratorBuilder_ == null) { result.splineCalibrator_ = splineCalibrator_; } else { result.splineCalibrator_ = splineCalibratorBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (javaExpressionCalibratorBuilder_ == null) { result.javaExpressionCalibrator_ = javaExpressionCalibrator_; } else { result.javaExpressionCalibrator_ = javaExpressionCalibratorBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.type_ = type_; 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.Mdb.CalibratorInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.CalibratorInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.CalibratorInfo other) { if (other == org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance()) return this; if (other.hasPolynomialCalibrator()) { mergePolynomialCalibrator(other.getPolynomialCalibrator()); } if (other.hasSplineCalibrator()) { mergeSplineCalibrator(other.getSplineCalibrator()); } if (other.hasJavaExpressionCalibrator()) { mergeJavaExpressionCalibrator(other.getJavaExpressionCalibrator()); } if (other.hasType()) { setType(other.getType()); } 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.Mdb.CalibratorInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.CalibratorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo polynomialCalibrator_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo, org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.PolynomialCalibratorInfoOrBuilder> polynomialCalibratorBuilder_; /** *
       *optional string type = 1; //replaced with an enum
       * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ public boolean hasPolynomialCalibrator() { return ((bitField0_ & 0x00000001) != 0); } /** *
       *optional string type = 1; //replaced with an enum
       * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ public org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo getPolynomialCalibrator() { if (polynomialCalibratorBuilder_ == null) { return polynomialCalibrator_ == null ? org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.getDefaultInstance() : polynomialCalibrator_; } else { return polynomialCalibratorBuilder_.getMessage(); } } /** *
       *optional string type = 1; //replaced with an enum
       * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ public Builder setPolynomialCalibrator(org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo value) { if (polynomialCalibratorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } polynomialCalibrator_ = value; onChanged(); } else { polynomialCalibratorBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** *
       *optional string type = 1; //replaced with an enum
       * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ public Builder setPolynomialCalibrator( org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.Builder builderForValue) { if (polynomialCalibratorBuilder_ == null) { polynomialCalibrator_ = builderForValue.build(); onChanged(); } else { polynomialCalibratorBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** *
       *optional string type = 1; //replaced with an enum
       * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ public Builder mergePolynomialCalibrator(org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo value) { if (polynomialCalibratorBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && polynomialCalibrator_ != null && polynomialCalibrator_ != org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.getDefaultInstance()) { polynomialCalibrator_ = org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.newBuilder(polynomialCalibrator_).mergeFrom(value).buildPartial(); } else { polynomialCalibrator_ = value; } onChanged(); } else { polynomialCalibratorBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** *
       *optional string type = 1; //replaced with an enum
       * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ public Builder clearPolynomialCalibrator() { if (polynomialCalibratorBuilder_ == null) { polynomialCalibrator_ = null; onChanged(); } else { polynomialCalibratorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** *
       *optional string type = 1; //replaced with an enum
       * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ public org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.Builder getPolynomialCalibratorBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPolynomialCalibratorFieldBuilder().getBuilder(); } /** *
       *optional string type = 1; //replaced with an enum
       * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ public org.yamcs.protobuf.Mdb.PolynomialCalibratorInfoOrBuilder getPolynomialCalibratorOrBuilder() { if (polynomialCalibratorBuilder_ != null) { return polynomialCalibratorBuilder_.getMessageOrBuilder(); } else { return polynomialCalibrator_ == null ? org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.getDefaultInstance() : polynomialCalibrator_; } } /** *
       *optional string type = 1; //replaced with an enum
       * 
* * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo, org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.PolynomialCalibratorInfoOrBuilder> getPolynomialCalibratorFieldBuilder() { if (polynomialCalibratorBuilder_ == null) { polynomialCalibratorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo, org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.PolynomialCalibratorInfoOrBuilder>( getPolynomialCalibrator(), getParentForChildren(), isClean()); polynomialCalibrator_ = null; } return polynomialCalibratorBuilder_; } private org.yamcs.protobuf.Mdb.SplineCalibratorInfo splineCalibrator_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.SplineCalibratorInfo, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.SplineCalibratorInfoOrBuilder> splineCalibratorBuilder_; /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ public boolean hasSplineCalibrator() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo getSplineCalibrator() { if (splineCalibratorBuilder_ == null) { return splineCalibrator_ == null ? org.yamcs.protobuf.Mdb.SplineCalibratorInfo.getDefaultInstance() : splineCalibrator_; } else { return splineCalibratorBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ public Builder setSplineCalibrator(org.yamcs.protobuf.Mdb.SplineCalibratorInfo value) { if (splineCalibratorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } splineCalibrator_ = value; onChanged(); } else { splineCalibratorBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ public Builder setSplineCalibrator( org.yamcs.protobuf.Mdb.SplineCalibratorInfo.Builder builderForValue) { if (splineCalibratorBuilder_ == null) { splineCalibrator_ = builderForValue.build(); onChanged(); } else { splineCalibratorBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ public Builder mergeSplineCalibrator(org.yamcs.protobuf.Mdb.SplineCalibratorInfo value) { if (splineCalibratorBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && splineCalibrator_ != null && splineCalibrator_ != org.yamcs.protobuf.Mdb.SplineCalibratorInfo.getDefaultInstance()) { splineCalibrator_ = org.yamcs.protobuf.Mdb.SplineCalibratorInfo.newBuilder(splineCalibrator_).mergeFrom(value).buildPartial(); } else { splineCalibrator_ = value; } onChanged(); } else { splineCalibratorBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ public Builder clearSplineCalibrator() { if (splineCalibratorBuilder_ == null) { splineCalibrator_ = null; onChanged(); } else { splineCalibratorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.Builder getSplineCalibratorBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSplineCalibratorFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfoOrBuilder getSplineCalibratorOrBuilder() { if (splineCalibratorBuilder_ != null) { return splineCalibratorBuilder_.getMessageOrBuilder(); } else { return splineCalibrator_ == null ? org.yamcs.protobuf.Mdb.SplineCalibratorInfo.getDefaultInstance() : splineCalibrator_; } } /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.SplineCalibratorInfo, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.SplineCalibratorInfoOrBuilder> getSplineCalibratorFieldBuilder() { if (splineCalibratorBuilder_ == null) { splineCalibratorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.SplineCalibratorInfo, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.SplineCalibratorInfoOrBuilder>( getSplineCalibrator(), getParentForChildren(), isClean()); splineCalibrator_ = null; } return splineCalibratorBuilder_; } private org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo, org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfoOrBuilder> javaExpressionCalibratorBuilder_; /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ public boolean hasJavaExpressionCalibrator() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ public org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo getJavaExpressionCalibrator() { if (javaExpressionCalibratorBuilder_ == null) { return javaExpressionCalibrator_ == null ? org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.getDefaultInstance() : javaExpressionCalibrator_; } else { return javaExpressionCalibratorBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ public Builder setJavaExpressionCalibrator(org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo value) { if (javaExpressionCalibratorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } javaExpressionCalibrator_ = value; onChanged(); } else { javaExpressionCalibratorBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ public Builder setJavaExpressionCalibrator( org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.Builder builderForValue) { if (javaExpressionCalibratorBuilder_ == null) { javaExpressionCalibrator_ = builderForValue.build(); onChanged(); } else { javaExpressionCalibratorBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ public Builder mergeJavaExpressionCalibrator(org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo value) { if (javaExpressionCalibratorBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && javaExpressionCalibrator_ != null && javaExpressionCalibrator_ != org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.getDefaultInstance()) { javaExpressionCalibrator_ = org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.newBuilder(javaExpressionCalibrator_).mergeFrom(value).buildPartial(); } else { javaExpressionCalibrator_ = value; } onChanged(); } else { javaExpressionCalibratorBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ public Builder clearJavaExpressionCalibrator() { if (javaExpressionCalibratorBuilder_ == null) { javaExpressionCalibrator_ = null; onChanged(); } else { javaExpressionCalibratorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ public org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.Builder getJavaExpressionCalibratorBuilder() { bitField0_ |= 0x00000004; onChanged(); return getJavaExpressionCalibratorFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ public org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfoOrBuilder getJavaExpressionCalibratorOrBuilder() { if (javaExpressionCalibratorBuilder_ != null) { return javaExpressionCalibratorBuilder_.getMessageOrBuilder(); } else { return javaExpressionCalibrator_ == null ? org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.getDefaultInstance() : javaExpressionCalibrator_; } } /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo, org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfoOrBuilder> getJavaExpressionCalibratorFieldBuilder() { if (javaExpressionCalibratorBuilder_ == null) { javaExpressionCalibratorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo, org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfoOrBuilder>( getJavaExpressionCalibrator(), getParentForChildren(), isClean()); javaExpressionCalibrator_ = null; } return javaExpressionCalibratorBuilder_; } private int type_ = 0; /** * optional .yamcs.protobuf.mdb.CalibratorInfo.Type type = 5; */ public boolean hasType() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo.Type type = 5; */ public org.yamcs.protobuf.Mdb.CalibratorInfo.Type getType() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.CalibratorInfo.Type result = org.yamcs.protobuf.Mdb.CalibratorInfo.Type.valueOf(type_); return result == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.Type.POLYNOMIAL : result; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo.Type type = 5; */ public Builder setType(org.yamcs.protobuf.Mdb.CalibratorInfo.Type value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; type_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo.Type type = 5; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000008); type_ = 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.mdb.CalibratorInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.CalibratorInfo) private static final org.yamcs.protobuf.Mdb.CalibratorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.CalibratorInfo(); } public static org.yamcs.protobuf.Mdb.CalibratorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CalibratorInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CalibratorInfo(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.Mdb.CalibratorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PolynomialCalibratorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.PolynomialCalibratorInfo) com.google.protobuf.MessageOrBuilder { /** * repeated double coefficient = 1; */ java.util.List getCoefficientList(); /** * repeated double coefficient = 1; */ int getCoefficientCount(); /** * repeated double coefficient = 1; */ double getCoefficient(int index); } /** * Protobuf type {@code yamcs.protobuf.mdb.PolynomialCalibratorInfo} */ public static final class PolynomialCalibratorInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.PolynomialCalibratorInfo) PolynomialCalibratorInfoOrBuilder { private static final long serialVersionUID = 0L; // Use PolynomialCalibratorInfo.newBuilder() to construct. private PolynomialCalibratorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PolynomialCalibratorInfo() { coefficient_ = emptyDoubleList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PolynomialCalibratorInfo( 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 9: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { coefficient_ = newDoubleList(); mutable_bitField0_ |= 0x00000001; } coefficient_.addDouble(input.readDouble()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { coefficient_ = newDoubleList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { coefficient_.addDouble(input.readDouble()); } input.popLimit(limit); 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)) { coefficient_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_PolynomialCalibratorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_PolynomialCalibratorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.class, org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.Builder.class); } public static final int COEFFICIENT_FIELD_NUMBER = 1; private com.google.protobuf.Internal.DoubleList coefficient_; /** * repeated double coefficient = 1; */ public java.util.List getCoefficientList() { return coefficient_; } /** * repeated double coefficient = 1; */ public int getCoefficientCount() { return coefficient_.size(); } /** * repeated double coefficient = 1; */ public double getCoefficient(int index) { return coefficient_.getDouble(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 < coefficient_.size(); i++) { output.writeDouble(1, coefficient_.getDouble(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; dataSize = 8 * getCoefficientList().size(); size += dataSize; size += 1 * getCoefficientList().size(); } 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.Mdb.PolynomialCalibratorInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo other = (org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo) obj; if (!getCoefficientList() .equals(other.getCoefficientList())) 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 (getCoefficientCount() > 0) { hash = (37 * hash) + COEFFICIENT_FIELD_NUMBER; hash = (53 * hash) + getCoefficientList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo 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.Mdb.PolynomialCalibratorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo 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.Mdb.PolynomialCalibratorInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo 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.Mdb.PolynomialCalibratorInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo 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.Mdb.PolynomialCalibratorInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo 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.Mdb.PolynomialCalibratorInfo 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.mdb.PolynomialCalibratorInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.PolynomialCalibratorInfo) org.yamcs.protobuf.Mdb.PolynomialCalibratorInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_PolynomialCalibratorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_PolynomialCalibratorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.class, org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); coefficient_ = emptyDoubleList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_PolynomialCalibratorInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo build() { org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo buildPartial() { org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo result = new org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { coefficient_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.coefficient_ = coefficient_; 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.Mdb.PolynomialCalibratorInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo other) { if (other == org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.getDefaultInstance()) return this; if (!other.coefficient_.isEmpty()) { if (coefficient_.isEmpty()) { coefficient_ = other.coefficient_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCoefficientIsMutable(); coefficient_.addAll(other.coefficient_); } onChanged(); } 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.Mdb.PolynomialCalibratorInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.Internal.DoubleList coefficient_ = emptyDoubleList(); private void ensureCoefficientIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { coefficient_ = mutableCopy(coefficient_); bitField0_ |= 0x00000001; } } /** * repeated double coefficient = 1; */ public java.util.List getCoefficientList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(coefficient_) : coefficient_; } /** * repeated double coefficient = 1; */ public int getCoefficientCount() { return coefficient_.size(); } /** * repeated double coefficient = 1; */ public double getCoefficient(int index) { return coefficient_.getDouble(index); } /** * repeated double coefficient = 1; */ public Builder setCoefficient( int index, double value) { ensureCoefficientIsMutable(); coefficient_.setDouble(index, value); onChanged(); return this; } /** * repeated double coefficient = 1; */ public Builder addCoefficient(double value) { ensureCoefficientIsMutable(); coefficient_.addDouble(value); onChanged(); return this; } /** * repeated double coefficient = 1; */ public Builder addAllCoefficient( java.lang.Iterable values) { ensureCoefficientIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, coefficient_); onChanged(); return this; } /** * repeated double coefficient = 1; */ public Builder clearCoefficient() { coefficient_ = emptyDoubleList(); bitField0_ = (bitField0_ & ~0x00000001); 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.mdb.PolynomialCalibratorInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.PolynomialCalibratorInfo) private static final org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo(); } public static org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PolynomialCalibratorInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PolynomialCalibratorInfo(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.Mdb.PolynomialCalibratorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SplineCalibratorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.SplineCalibratorInfo) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ java.util.List getPointList(); /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo getPoint(int index); /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ int getPointCount(); /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ java.util.List getPointOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder getPointOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.mdb.SplineCalibratorInfo} */ public static final class SplineCalibratorInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.SplineCalibratorInfo) SplineCalibratorInfoOrBuilder { private static final long serialVersionUID = 0L; // Use SplineCalibratorInfo.newBuilder() to construct. private SplineCalibratorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SplineCalibratorInfo() { point_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SplineCalibratorInfo( 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)) { point_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } point_.add( input.readMessage(org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.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)) { point_ = java.util.Collections.unmodifiableList(point_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.SplineCalibratorInfo.class, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.Builder.class); } public interface SplinePointInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo) com.google.protobuf.MessageOrBuilder { /** * optional double raw = 1; */ boolean hasRaw(); /** * optional double raw = 1; */ double getRaw(); /** * optional double calibrated = 2; */ boolean hasCalibrated(); /** * optional double calibrated = 2; */ double getCalibrated(); } /** * Protobuf type {@code yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo} */ public static final class SplinePointInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo) SplinePointInfoOrBuilder { private static final long serialVersionUID = 0L; // Use SplinePointInfo.newBuilder() to construct. private SplinePointInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SplinePointInfo() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SplinePointInfo( 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 9: { bitField0_ |= 0x00000001; raw_ = input.readDouble(); break; } case 17: { bitField0_ |= 0x00000002; calibrated_ = input.readDouble(); 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.Mdb.internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_SplinePointInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_SplinePointInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.class, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder.class); } private int bitField0_; public static final int RAW_FIELD_NUMBER = 1; private double raw_; /** * optional double raw = 1; */ public boolean hasRaw() { return ((bitField0_ & 0x00000001) != 0); } /** * optional double raw = 1; */ public double getRaw() { return raw_; } public static final int CALIBRATED_FIELD_NUMBER = 2; private double calibrated_; /** * optional double calibrated = 2; */ public boolean hasCalibrated() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double calibrated = 2; */ public double getCalibrated() { return calibrated_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeDouble(1, raw_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeDouble(2, calibrated_); } 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 .computeDoubleSize(1, raw_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, calibrated_); } 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.Mdb.SplineCalibratorInfo.SplinePointInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo other = (org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo) obj; if (hasRaw() != other.hasRaw()) return false; if (hasRaw()) { if (java.lang.Double.doubleToLongBits(getRaw()) != java.lang.Double.doubleToLongBits( other.getRaw())) return false; } if (hasCalibrated() != other.hasCalibrated()) return false; if (hasCalibrated()) { if (java.lang.Double.doubleToLongBits(getCalibrated()) != java.lang.Double.doubleToLongBits( other.getCalibrated())) 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 (hasRaw()) { hash = (37 * hash) + RAW_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRaw())); } if (hasCalibrated()) { hash = (37 * hash) + CALIBRATED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getCalibrated())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo 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.Mdb.SplineCalibratorInfo.SplinePointInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo 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.Mdb.SplineCalibratorInfo.SplinePointInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo 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.Mdb.SplineCalibratorInfo.SplinePointInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo 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.Mdb.SplineCalibratorInfo.SplinePointInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo 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.Mdb.SplineCalibratorInfo.SplinePointInfo 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.mdb.SplineCalibratorInfo.SplinePointInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo) org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_SplinePointInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_SplinePointInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.class, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); raw_ = 0D; bitField0_ = (bitField0_ & ~0x00000001); calibrated_ = 0D; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_SplinePointInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo build() { org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo buildPartial() { org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo result = new org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.raw_ = raw_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.calibrated_ = calibrated_; to_bitField0_ |= 0x00000002; } 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.Mdb.SplineCalibratorInfo.SplinePointInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo other) { if (other == org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.getDefaultInstance()) return this; if (other.hasRaw()) { setRaw(other.getRaw()); } if (other.hasCalibrated()) { setCalibrated(other.getCalibrated()); } 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.Mdb.SplineCalibratorInfo.SplinePointInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private double raw_ ; /** * optional double raw = 1; */ public boolean hasRaw() { return ((bitField0_ & 0x00000001) != 0); } /** * optional double raw = 1; */ public double getRaw() { return raw_; } /** * optional double raw = 1; */ public Builder setRaw(double value) { bitField0_ |= 0x00000001; raw_ = value; onChanged(); return this; } /** * optional double raw = 1; */ public Builder clearRaw() { bitField0_ = (bitField0_ & ~0x00000001); raw_ = 0D; onChanged(); return this; } private double calibrated_ ; /** * optional double calibrated = 2; */ public boolean hasCalibrated() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double calibrated = 2; */ public double getCalibrated() { return calibrated_; } /** * optional double calibrated = 2; */ public Builder setCalibrated(double value) { bitField0_ |= 0x00000002; calibrated_ = value; onChanged(); return this; } /** * optional double calibrated = 2; */ public Builder clearCalibrated() { bitField0_ = (bitField0_ & ~0x00000002); calibrated_ = 0D; 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.mdb.SplineCalibratorInfo.SplinePointInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo) private static final org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo(); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SplinePointInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SplinePointInfo(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.Mdb.SplineCalibratorInfo.SplinePointInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int POINT_FIELD_NUMBER = 1; private java.util.List point_; /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public java.util.List getPointList() { return point_; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public java.util.List getPointOrBuilderList() { return point_; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public int getPointCount() { return point_.size(); } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo getPoint(int index) { return point_.get(index); } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder getPointOrBuilder( int index) { return point_.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 < point_.size(); i++) { output.writeMessage(1, point_.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 < point_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, point_.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.Mdb.SplineCalibratorInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.SplineCalibratorInfo other = (org.yamcs.protobuf.Mdb.SplineCalibratorInfo) obj; if (!getPointList() .equals(other.getPointList())) 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 (getPointCount() > 0) { hash = (37 * hash) + POINT_FIELD_NUMBER; hash = (53 * hash) + getPointList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo 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.Mdb.SplineCalibratorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo 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.Mdb.SplineCalibratorInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo 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.Mdb.SplineCalibratorInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo 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.Mdb.SplineCalibratorInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo 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.Mdb.SplineCalibratorInfo 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.mdb.SplineCalibratorInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.SplineCalibratorInfo) org.yamcs.protobuf.Mdb.SplineCalibratorInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.SplineCalibratorInfo.class, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.SplineCalibratorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPointFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (pointBuilder_ == null) { point_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { pointBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.SplineCalibratorInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.SplineCalibratorInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.SplineCalibratorInfo build() { org.yamcs.protobuf.Mdb.SplineCalibratorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.SplineCalibratorInfo buildPartial() { org.yamcs.protobuf.Mdb.SplineCalibratorInfo result = new org.yamcs.protobuf.Mdb.SplineCalibratorInfo(this); int from_bitField0_ = bitField0_; if (pointBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { point_ = java.util.Collections.unmodifiableList(point_); bitField0_ = (bitField0_ & ~0x00000001); } result.point_ = point_; } else { result.point_ = pointBuilder_.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.Mdb.SplineCalibratorInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.SplineCalibratorInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.SplineCalibratorInfo other) { if (other == org.yamcs.protobuf.Mdb.SplineCalibratorInfo.getDefaultInstance()) return this; if (pointBuilder_ == null) { if (!other.point_.isEmpty()) { if (point_.isEmpty()) { point_ = other.point_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePointIsMutable(); point_.addAll(other.point_); } onChanged(); } } else { if (!other.point_.isEmpty()) { if (pointBuilder_.isEmpty()) { pointBuilder_.dispose(); pointBuilder_ = null; point_ = other.point_; bitField0_ = (bitField0_ & ~0x00000001); pointBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPointFieldBuilder() : null; } else { pointBuilder_.addAllMessages(other.point_); } } } 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.Mdb.SplineCalibratorInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.SplineCalibratorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List point_ = java.util.Collections.emptyList(); private void ensurePointIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { point_ = new java.util.ArrayList(point_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder> pointBuilder_; /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public java.util.List getPointList() { if (pointBuilder_ == null) { return java.util.Collections.unmodifiableList(point_); } else { return pointBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public int getPointCount() { if (pointBuilder_ == null) { return point_.size(); } else { return pointBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo getPoint(int index) { if (pointBuilder_ == null) { return point_.get(index); } else { return pointBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public Builder setPoint( int index, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo value) { if (pointBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePointIsMutable(); point_.set(index, value); onChanged(); } else { pointBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public Builder setPoint( int index, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder builderForValue) { if (pointBuilder_ == null) { ensurePointIsMutable(); point_.set(index, builderForValue.build()); onChanged(); } else { pointBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public Builder addPoint(org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo value) { if (pointBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePointIsMutable(); point_.add(value); onChanged(); } else { pointBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public Builder addPoint( int index, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo value) { if (pointBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePointIsMutable(); point_.add(index, value); onChanged(); } else { pointBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public Builder addPoint( org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder builderForValue) { if (pointBuilder_ == null) { ensurePointIsMutable(); point_.add(builderForValue.build()); onChanged(); } else { pointBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public Builder addPoint( int index, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder builderForValue) { if (pointBuilder_ == null) { ensurePointIsMutable(); point_.add(index, builderForValue.build()); onChanged(); } else { pointBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public Builder addAllPoint( java.lang.Iterable values) { if (pointBuilder_ == null) { ensurePointIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, point_); onChanged(); } else { pointBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public Builder clearPoint() { if (pointBuilder_ == null) { point_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { pointBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public Builder removePoint(int index) { if (pointBuilder_ == null) { ensurePointIsMutable(); point_.remove(index); onChanged(); } else { pointBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder getPointBuilder( int index) { return getPointFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder getPointOrBuilder( int index) { if (pointBuilder_ == null) { return point_.get(index); } else { return pointBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public java.util.List getPointOrBuilderList() { if (pointBuilder_ != null) { return pointBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(point_); } } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder addPointBuilder() { return getPointFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder addPointBuilder( int index) { return getPointFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1; */ public java.util.List getPointBuilderList() { return getPointFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder> getPointFieldBuilder() { if (pointBuilder_ == null) { pointBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder>( point_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); point_ = null; } return pointBuilder_; } @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.mdb.SplineCalibratorInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.SplineCalibratorInfo) private static final org.yamcs.protobuf.Mdb.SplineCalibratorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.SplineCalibratorInfo(); } public static org.yamcs.protobuf.Mdb.SplineCalibratorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SplineCalibratorInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SplineCalibratorInfo(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.Mdb.SplineCalibratorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JavaExpressionCalibratorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.JavaExpressionCalibratorInfo) com.google.protobuf.MessageOrBuilder { /** * optional string formula = 1; */ boolean hasFormula(); /** * optional string formula = 1; */ java.lang.String getFormula(); /** * optional string formula = 1; */ com.google.protobuf.ByteString getFormulaBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.JavaExpressionCalibratorInfo} */ public static final class JavaExpressionCalibratorInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.JavaExpressionCalibratorInfo) JavaExpressionCalibratorInfoOrBuilder { private static final long serialVersionUID = 0L; // Use JavaExpressionCalibratorInfo.newBuilder() to construct. private JavaExpressionCalibratorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JavaExpressionCalibratorInfo() { formula_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JavaExpressionCalibratorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; formula_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_JavaExpressionCalibratorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_JavaExpressionCalibratorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.class, org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.Builder.class); } private int bitField0_; public static final int FORMULA_FIELD_NUMBER = 1; private volatile java.lang.Object formula_; /** * optional string formula = 1; */ public boolean hasFormula() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string formula = 1; */ public java.lang.String getFormula() { java.lang.Object ref = formula_; 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()) { formula_ = s; } return s; } } /** * optional string formula = 1; */ public com.google.protobuf.ByteString getFormulaBytes() { java.lang.Object ref = formula_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); formula_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, formula_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, formula_); } 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.Mdb.JavaExpressionCalibratorInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo other = (org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo) obj; if (hasFormula() != other.hasFormula()) return false; if (hasFormula()) { if (!getFormula() .equals(other.getFormula())) 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 (hasFormula()) { hash = (37 * hash) + FORMULA_FIELD_NUMBER; hash = (53 * hash) + getFormula().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo 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.Mdb.JavaExpressionCalibratorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo 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.Mdb.JavaExpressionCalibratorInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo 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.Mdb.JavaExpressionCalibratorInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo 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.Mdb.JavaExpressionCalibratorInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo 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.Mdb.JavaExpressionCalibratorInfo 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.mdb.JavaExpressionCalibratorInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.JavaExpressionCalibratorInfo) org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_JavaExpressionCalibratorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_JavaExpressionCalibratorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.class, org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); formula_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_JavaExpressionCalibratorInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo build() { org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo buildPartial() { org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo result = new org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.formula_ = formula_; 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.Mdb.JavaExpressionCalibratorInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo other) { if (other == org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.getDefaultInstance()) return this; if (other.hasFormula()) { bitField0_ |= 0x00000001; formula_ = other.formula_; onChanged(); } 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.Mdb.JavaExpressionCalibratorInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object formula_ = ""; /** * optional string formula = 1; */ public boolean hasFormula() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string formula = 1; */ public java.lang.String getFormula() { java.lang.Object ref = formula_; 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()) { formula_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string formula = 1; */ public com.google.protobuf.ByteString getFormulaBytes() { java.lang.Object ref = formula_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); formula_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string formula = 1; */ public Builder setFormula( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; formula_ = value; onChanged(); return this; } /** * optional string formula = 1; */ public Builder clearFormula() { bitField0_ = (bitField0_ & ~0x00000001); formula_ = getDefaultInstance().getFormula(); onChanged(); return this; } /** * optional string formula = 1; */ public Builder setFormulaBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; formula_ = value; 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.mdb.JavaExpressionCalibratorInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.JavaExpressionCalibratorInfo) private static final org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo(); } public static org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JavaExpressionCalibratorInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JavaExpressionCalibratorInfo(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.Mdb.JavaExpressionCalibratorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EnumValueOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.EnumValue) com.google.protobuf.MessageOrBuilder { /** * optional int64 value = 1; */ boolean hasValue(); /** * optional int64 value = 1; */ long getValue(); /** * optional string label = 2; */ boolean hasLabel(); /** * optional string label = 2; */ java.lang.String getLabel(); /** * optional string label = 2; */ com.google.protobuf.ByteString getLabelBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.EnumValue} */ public static final class EnumValue extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.EnumValue) EnumValueOrBuilder { private static final long serialVersionUID = 0L; // Use EnumValue.newBuilder() to construct. private EnumValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EnumValue() { label_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EnumValue( 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 8: { bitField0_ |= 0x00000001; value_ = input.readInt64(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; label_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.EnumValue.class, org.yamcs.protobuf.Mdb.EnumValue.Builder.class); } private int bitField0_; public static final int VALUE_FIELD_NUMBER = 1; private long value_; /** * optional int64 value = 1; */ public boolean hasValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 value = 1; */ public long getValue() { return value_; } public static final int LABEL_FIELD_NUMBER = 2; private volatile java.lang.Object label_; /** * optional string label = 2; */ public boolean hasLabel() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string label = 2; */ public java.lang.String getLabel() { java.lang.Object ref = label_; 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()) { label_ = s; } return s; } } /** * optional string label = 2; */ public com.google.protobuf.ByteString getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); label_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, value_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, label_); } 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 .computeInt64Size(1, value_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, label_); } 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.Mdb.EnumValue)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.EnumValue other = (org.yamcs.protobuf.Mdb.EnumValue) obj; if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (getValue() != other.getValue()) return false; } if (hasLabel() != other.hasLabel()) return false; if (hasLabel()) { if (!getLabel() .equals(other.getLabel())) 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 (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getValue()); } if (hasLabel()) { hash = (37 * hash) + LABEL_FIELD_NUMBER; hash = (53 * hash) + getLabel().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.EnumValue parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.EnumValue 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.Mdb.EnumValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.EnumValue 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.Mdb.EnumValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.EnumValue parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.EnumValue parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.EnumValue 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.Mdb.EnumValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.EnumValue 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.Mdb.EnumValue parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.EnumValue 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.Mdb.EnumValue 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.mdb.EnumValue} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.EnumValue) org.yamcs.protobuf.Mdb.EnumValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_EnumValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_EnumValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.EnumValue.class, org.yamcs.protobuf.Mdb.EnumValue.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.EnumValue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); value_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); label_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_EnumValue_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.EnumValue getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.EnumValue.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.EnumValue build() { org.yamcs.protobuf.Mdb.EnumValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.EnumValue buildPartial() { org.yamcs.protobuf.Mdb.EnumValue result = new org.yamcs.protobuf.Mdb.EnumValue(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.value_ = value_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.label_ = label_; 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.Mdb.EnumValue) { return mergeFrom((org.yamcs.protobuf.Mdb.EnumValue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.EnumValue other) { if (other == org.yamcs.protobuf.Mdb.EnumValue.getDefaultInstance()) return this; if (other.hasValue()) { setValue(other.getValue()); } if (other.hasLabel()) { bitField0_ |= 0x00000002; label_ = other.label_; onChanged(); } 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.Mdb.EnumValue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.EnumValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long value_ ; /** * optional int64 value = 1; */ public boolean hasValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 value = 1; */ public long getValue() { return value_; } /** * optional int64 value = 1; */ public Builder setValue(long value) { bitField0_ |= 0x00000001; value_ = value; onChanged(); return this; } /** * optional int64 value = 1; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000001); value_ = 0L; onChanged(); return this; } private java.lang.Object label_ = ""; /** * optional string label = 2; */ public boolean hasLabel() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string label = 2; */ public java.lang.String getLabel() { java.lang.Object ref = label_; 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()) { label_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string label = 2; */ public com.google.protobuf.ByteString getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); label_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string label = 2; */ public Builder setLabel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; label_ = value; onChanged(); return this; } /** * optional string label = 2; */ public Builder clearLabel() { bitField0_ = (bitField0_ & ~0x00000002); label_ = getDefaultInstance().getLabel(); onChanged(); return this; } /** * optional string label = 2; */ public Builder setLabelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; label_ = value; 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.mdb.EnumValue) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.EnumValue) private static final org.yamcs.protobuf.Mdb.EnumValue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.EnumValue(); } public static org.yamcs.protobuf.Mdb.EnumValue getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EnumValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EnumValue(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.Mdb.EnumValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ParameterTypeInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ParameterTypeInfo) com.google.protobuf.MessageOrBuilder { /** * optional string engType = 1; */ boolean hasEngType(); /** * optional string engType = 1; */ java.lang.String getEngType(); /** * optional string engType = 1; */ com.google.protobuf.ByteString getEngTypeBytes(); /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ boolean hasDataEncoding(); /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ org.yamcs.protobuf.Mdb.DataEncodingInfo getDataEncoding(); /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ org.yamcs.protobuf.Mdb.DataEncodingInfoOrBuilder getDataEncodingOrBuilder(); /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ java.util.List getUnitSetList(); /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ org.yamcs.protobuf.Mdb.UnitInfo getUnitSet(int index); /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ int getUnitSetCount(); /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ java.util.List getUnitSetOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ org.yamcs.protobuf.Mdb.UnitInfoOrBuilder getUnitSetOrBuilder( int index); /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ boolean hasDefaultAlarm(); /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ org.yamcs.protobuf.Mdb.AlarmInfo getDefaultAlarm(); /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder getDefaultAlarmOrBuilder(); /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ java.util.List getEnumValueList(); /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ org.yamcs.protobuf.Mdb.EnumValue getEnumValue(int index); /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ int getEnumValueCount(); /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ java.util.List getEnumValueOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ org.yamcs.protobuf.Mdb.EnumValueOrBuilder getEnumValueOrBuilder( int index); /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ boolean hasAbsoluteTimeInfo(); /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ org.yamcs.protobuf.Mdb.AbsoluteTimeInfo getAbsoluteTimeInfo(); /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ org.yamcs.protobuf.Mdb.AbsoluteTimeInfoOrBuilder getAbsoluteTimeInfoOrBuilder(); /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ java.util.List getContextAlarmList(); /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ org.yamcs.protobuf.Mdb.ContextAlarmInfo getContextAlarm(int index); /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ int getContextAlarmCount(); /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ java.util.List getContextAlarmOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder getContextAlarmOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ java.util.List getMemberList(); /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ org.yamcs.protobuf.Mdb.MemberInfo getMember(int index); /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ int getMemberCount(); /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ java.util.List getMemberOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ org.yamcs.protobuf.Mdb.MemberInfoOrBuilder getMemberOrBuilder( int index); /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ boolean hasArrayInfo(); /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ org.yamcs.protobuf.Mdb.ArrayInfo getArrayInfo(); /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ org.yamcs.protobuf.Mdb.ArrayInfoOrBuilder getArrayInfoOrBuilder(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ParameterTypeInfo} */ public static final class ParameterTypeInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ParameterTypeInfo) ParameterTypeInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ParameterTypeInfo.newBuilder() to construct. private ParameterTypeInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ParameterTypeInfo() { engType_ = ""; unitSet_ = java.util.Collections.emptyList(); enumValue_ = java.util.Collections.emptyList(); contextAlarm_ = java.util.Collections.emptyList(); member_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ParameterTypeInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; engType_ = bs; break; } case 18: { org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = dataEncoding_.toBuilder(); } dataEncoding_ = input.readMessage(org.yamcs.protobuf.Mdb.DataEncodingInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dataEncoding_); dataEncoding_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { unitSet_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } unitSet_.add( input.readMessage(org.yamcs.protobuf.Mdb.UnitInfo.PARSER, extensionRegistry)); break; } case 34: { org.yamcs.protobuf.Mdb.AlarmInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = defaultAlarm_.toBuilder(); } defaultAlarm_ = input.readMessage(org.yamcs.protobuf.Mdb.AlarmInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(defaultAlarm_); defaultAlarm_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { enumValue_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } enumValue_.add( input.readMessage(org.yamcs.protobuf.Mdb.EnumValue.PARSER, extensionRegistry)); break; } case 50: { org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = absoluteTimeInfo_.toBuilder(); } absoluteTimeInfo_ = input.readMessage(org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(absoluteTimeInfo_); absoluteTimeInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 58: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { contextAlarm_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } contextAlarm_.add( input.readMessage(org.yamcs.protobuf.Mdb.ContextAlarmInfo.PARSER, extensionRegistry)); break; } case 66: { if (!((mutable_bitField0_ & 0x00000080) != 0)) { member_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } member_.add( input.readMessage(org.yamcs.protobuf.Mdb.MemberInfo.PARSER, extensionRegistry)); break; } case 74: { org.yamcs.protobuf.Mdb.ArrayInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = arrayInfo_.toBuilder(); } arrayInfo_ = input.readMessage(org.yamcs.protobuf.Mdb.ArrayInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(arrayInfo_); arrayInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; 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)) { unitSet_ = java.util.Collections.unmodifiableList(unitSet_); } if (((mutable_bitField0_ & 0x00000010) != 0)) { enumValue_ = java.util.Collections.unmodifiableList(enumValue_); } if (((mutable_bitField0_ & 0x00000040) != 0)) { contextAlarm_ = java.util.Collections.unmodifiableList(contextAlarm_); } if (((mutable_bitField0_ & 0x00000080) != 0)) { member_ = java.util.Collections.unmodifiableList(member_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ParameterTypeInfo.class, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder.class); } private int bitField0_; public static final int ENGTYPE_FIELD_NUMBER = 1; private volatile java.lang.Object engType_; /** * optional string engType = 1; */ public boolean hasEngType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string engType = 1; */ public java.lang.String getEngType() { java.lang.Object ref = engType_; 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()) { engType_ = s; } return s; } } /** * optional string engType = 1; */ public com.google.protobuf.ByteString getEngTypeBytes() { java.lang.Object ref = engType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); engType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATAENCODING_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.DataEncodingInfo dataEncoding_; /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public boolean hasDataEncoding() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public org.yamcs.protobuf.Mdb.DataEncodingInfo getDataEncoding() { return dataEncoding_ == null ? org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance() : dataEncoding_; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public org.yamcs.protobuf.Mdb.DataEncodingInfoOrBuilder getDataEncodingOrBuilder() { return dataEncoding_ == null ? org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance() : dataEncoding_; } public static final int UNITSET_FIELD_NUMBER = 3; private java.util.List unitSet_; /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public java.util.List getUnitSetList() { return unitSet_; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public java.util.List getUnitSetOrBuilderList() { return unitSet_; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public int getUnitSetCount() { return unitSet_.size(); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfo getUnitSet(int index) { return unitSet_.get(index); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfoOrBuilder getUnitSetOrBuilder( int index) { return unitSet_.get(index); } public static final int DEFAULTALARM_FIELD_NUMBER = 4; private org.yamcs.protobuf.Mdb.AlarmInfo defaultAlarm_; /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public boolean hasDefaultAlarm() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public org.yamcs.protobuf.Mdb.AlarmInfo getDefaultAlarm() { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder getDefaultAlarmOrBuilder() { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } public static final int ENUMVALUE_FIELD_NUMBER = 5; private java.util.List enumValue_; /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public java.util.List getEnumValueList() { return enumValue_; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public java.util.List getEnumValueOrBuilderList() { return enumValue_; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public int getEnumValueCount() { return enumValue_.size(); } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValue getEnumValue(int index) { return enumValue_.get(index); } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValueOrBuilder getEnumValueOrBuilder( int index) { return enumValue_.get(index); } public static final int ABSOLUTETIMEINFO_FIELD_NUMBER = 6; private org.yamcs.protobuf.Mdb.AbsoluteTimeInfo absoluteTimeInfo_; /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public boolean hasAbsoluteTimeInfo() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public org.yamcs.protobuf.Mdb.AbsoluteTimeInfo getAbsoluteTimeInfo() { return absoluteTimeInfo_ == null ? org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.getDefaultInstance() : absoluteTimeInfo_; } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public org.yamcs.protobuf.Mdb.AbsoluteTimeInfoOrBuilder getAbsoluteTimeInfoOrBuilder() { return absoluteTimeInfo_ == null ? org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.getDefaultInstance() : absoluteTimeInfo_; } public static final int CONTEXTALARM_FIELD_NUMBER = 7; private java.util.List contextAlarm_; /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public java.util.List getContextAlarmList() { return contextAlarm_; } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public java.util.List getContextAlarmOrBuilderList() { return contextAlarm_; } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public int getContextAlarmCount() { return contextAlarm_.size(); } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo getContextAlarm(int index) { return contextAlarm_.get(index); } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder getContextAlarmOrBuilder( int index) { return contextAlarm_.get(index); } public static final int MEMBER_FIELD_NUMBER = 8; private java.util.List member_; /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public java.util.List getMemberList() { return member_; } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public java.util.List getMemberOrBuilderList() { return member_; } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public int getMemberCount() { return member_.size(); } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public org.yamcs.protobuf.Mdb.MemberInfo getMember(int index) { return member_.get(index); } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public org.yamcs.protobuf.Mdb.MemberInfoOrBuilder getMemberOrBuilder( int index) { return member_.get(index); } public static final int ARRAYINFO_FIELD_NUMBER = 9; private org.yamcs.protobuf.Mdb.ArrayInfo arrayInfo_; /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public boolean hasArrayInfo() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public org.yamcs.protobuf.Mdb.ArrayInfo getArrayInfo() { return arrayInfo_ == null ? org.yamcs.protobuf.Mdb.ArrayInfo.getDefaultInstance() : arrayInfo_; } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public org.yamcs.protobuf.Mdb.ArrayInfoOrBuilder getArrayInfoOrBuilder() { return arrayInfo_ == null ? org.yamcs.protobuf.Mdb.ArrayInfo.getDefaultInstance() : arrayInfo_; } 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 (hasDataEncoding()) { if (!getDataEncoding().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasAbsoluteTimeInfo()) { if (!getAbsoluteTimeInfo().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getContextAlarmCount(); i++) { if (!getContextAlarm(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getMemberCount(); i++) { if (!getMember(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasArrayInfo()) { if (!getArrayInfo().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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, engType_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getDataEncoding()); } for (int i = 0; i < unitSet_.size(); i++) { output.writeMessage(3, unitSet_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getDefaultAlarm()); } for (int i = 0; i < enumValue_.size(); i++) { output.writeMessage(5, enumValue_.get(i)); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(6, getAbsoluteTimeInfo()); } for (int i = 0; i < contextAlarm_.size(); i++) { output.writeMessage(7, contextAlarm_.get(i)); } for (int i = 0; i < member_.size(); i++) { output.writeMessage(8, member_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(9, getArrayInfo()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, engType_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getDataEncoding()); } for (int i = 0; i < unitSet_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, unitSet_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getDefaultAlarm()); } for (int i = 0; i < enumValue_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, enumValue_.get(i)); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getAbsoluteTimeInfo()); } for (int i = 0; i < contextAlarm_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, contextAlarm_.get(i)); } for (int i = 0; i < member_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, member_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getArrayInfo()); } 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.Mdb.ParameterTypeInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ParameterTypeInfo other = (org.yamcs.protobuf.Mdb.ParameterTypeInfo) obj; if (hasEngType() != other.hasEngType()) return false; if (hasEngType()) { if (!getEngType() .equals(other.getEngType())) return false; } if (hasDataEncoding() != other.hasDataEncoding()) return false; if (hasDataEncoding()) { if (!getDataEncoding() .equals(other.getDataEncoding())) return false; } if (!getUnitSetList() .equals(other.getUnitSetList())) return false; if (hasDefaultAlarm() != other.hasDefaultAlarm()) return false; if (hasDefaultAlarm()) { if (!getDefaultAlarm() .equals(other.getDefaultAlarm())) return false; } if (!getEnumValueList() .equals(other.getEnumValueList())) return false; if (hasAbsoluteTimeInfo() != other.hasAbsoluteTimeInfo()) return false; if (hasAbsoluteTimeInfo()) { if (!getAbsoluteTimeInfo() .equals(other.getAbsoluteTimeInfo())) return false; } if (!getContextAlarmList() .equals(other.getContextAlarmList())) return false; if (!getMemberList() .equals(other.getMemberList())) return false; if (hasArrayInfo() != other.hasArrayInfo()) return false; if (hasArrayInfo()) { if (!getArrayInfo() .equals(other.getArrayInfo())) 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 (hasEngType()) { hash = (37 * hash) + ENGTYPE_FIELD_NUMBER; hash = (53 * hash) + getEngType().hashCode(); } if (hasDataEncoding()) { hash = (37 * hash) + DATAENCODING_FIELD_NUMBER; hash = (53 * hash) + getDataEncoding().hashCode(); } if (getUnitSetCount() > 0) { hash = (37 * hash) + UNITSET_FIELD_NUMBER; hash = (53 * hash) + getUnitSetList().hashCode(); } if (hasDefaultAlarm()) { hash = (37 * hash) + DEFAULTALARM_FIELD_NUMBER; hash = (53 * hash) + getDefaultAlarm().hashCode(); } if (getEnumValueCount() > 0) { hash = (37 * hash) + ENUMVALUE_FIELD_NUMBER; hash = (53 * hash) + getEnumValueList().hashCode(); } if (hasAbsoluteTimeInfo()) { hash = (37 * hash) + ABSOLUTETIMEINFO_FIELD_NUMBER; hash = (53 * hash) + getAbsoluteTimeInfo().hashCode(); } if (getContextAlarmCount() > 0) { hash = (37 * hash) + CONTEXTALARM_FIELD_NUMBER; hash = (53 * hash) + getContextAlarmList().hashCode(); } if (getMemberCount() > 0) { hash = (37 * hash) + MEMBER_FIELD_NUMBER; hash = (53 * hash) + getMemberList().hashCode(); } if (hasArrayInfo()) { hash = (37 * hash) + ARRAYINFO_FIELD_NUMBER; hash = (53 * hash) + getArrayInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ParameterTypeInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ParameterTypeInfo 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.Mdb.ParameterTypeInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ParameterTypeInfo 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.Mdb.ParameterTypeInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ParameterTypeInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ParameterTypeInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ParameterTypeInfo 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.Mdb.ParameterTypeInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ParameterTypeInfo 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.Mdb.ParameterTypeInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ParameterTypeInfo 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.Mdb.ParameterTypeInfo 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.mdb.ParameterTypeInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ParameterTypeInfo) org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ParameterTypeInfo.class, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ParameterTypeInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDataEncodingFieldBuilder(); getUnitSetFieldBuilder(); getDefaultAlarmFieldBuilder(); getEnumValueFieldBuilder(); getAbsoluteTimeInfoFieldBuilder(); getContextAlarmFieldBuilder(); getMemberFieldBuilder(); getArrayInfoFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); engType_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (dataEncodingBuilder_ == null) { dataEncoding_ = null; } else { dataEncodingBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (unitSetBuilder_ == null) { unitSet_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { unitSetBuilder_.clear(); } if (defaultAlarmBuilder_ == null) { defaultAlarm_ = null; } else { defaultAlarmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (enumValueBuilder_ == null) { enumValue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { enumValueBuilder_.clear(); } if (absoluteTimeInfoBuilder_ == null) { absoluteTimeInfo_ = null; } else { absoluteTimeInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (contextAlarmBuilder_ == null) { contextAlarm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { contextAlarmBuilder_.clear(); } if (memberBuilder_ == null) { member_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { memberBuilder_.clear(); } if (arrayInfoBuilder_ == null) { arrayInfo_ = null; } else { arrayInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterTypeInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterTypeInfo build() { org.yamcs.protobuf.Mdb.ParameterTypeInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterTypeInfo buildPartial() { org.yamcs.protobuf.Mdb.ParameterTypeInfo result = new org.yamcs.protobuf.Mdb.ParameterTypeInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.engType_ = engType_; if (((from_bitField0_ & 0x00000002) != 0)) { if (dataEncodingBuilder_ == null) { result.dataEncoding_ = dataEncoding_; } else { result.dataEncoding_ = dataEncodingBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (unitSetBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { unitSet_ = java.util.Collections.unmodifiableList(unitSet_); bitField0_ = (bitField0_ & ~0x00000004); } result.unitSet_ = unitSet_; } else { result.unitSet_ = unitSetBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { if (defaultAlarmBuilder_ == null) { result.defaultAlarm_ = defaultAlarm_; } else { result.defaultAlarm_ = defaultAlarmBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (enumValueBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { enumValue_ = java.util.Collections.unmodifiableList(enumValue_); bitField0_ = (bitField0_ & ~0x00000010); } result.enumValue_ = enumValue_; } else { result.enumValue_ = enumValueBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { if (absoluteTimeInfoBuilder_ == null) { result.absoluteTimeInfo_ = absoluteTimeInfo_; } else { result.absoluteTimeInfo_ = absoluteTimeInfoBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (contextAlarmBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { contextAlarm_ = java.util.Collections.unmodifiableList(contextAlarm_); bitField0_ = (bitField0_ & ~0x00000040); } result.contextAlarm_ = contextAlarm_; } else { result.contextAlarm_ = contextAlarmBuilder_.build(); } if (memberBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { member_ = java.util.Collections.unmodifiableList(member_); bitField0_ = (bitField0_ & ~0x00000080); } result.member_ = member_; } else { result.member_ = memberBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { if (arrayInfoBuilder_ == null) { result.arrayInfo_ = arrayInfo_; } else { result.arrayInfo_ = arrayInfoBuilder_.build(); } to_bitField0_ |= 0x00000010; } 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.Mdb.ParameterTypeInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.ParameterTypeInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ParameterTypeInfo other) { if (other == org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance()) return this; if (other.hasEngType()) { bitField0_ |= 0x00000001; engType_ = other.engType_; onChanged(); } if (other.hasDataEncoding()) { mergeDataEncoding(other.getDataEncoding()); } if (unitSetBuilder_ == null) { if (!other.unitSet_.isEmpty()) { if (unitSet_.isEmpty()) { unitSet_ = other.unitSet_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureUnitSetIsMutable(); unitSet_.addAll(other.unitSet_); } onChanged(); } } else { if (!other.unitSet_.isEmpty()) { if (unitSetBuilder_.isEmpty()) { unitSetBuilder_.dispose(); unitSetBuilder_ = null; unitSet_ = other.unitSet_; bitField0_ = (bitField0_ & ~0x00000004); unitSetBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUnitSetFieldBuilder() : null; } else { unitSetBuilder_.addAllMessages(other.unitSet_); } } } if (other.hasDefaultAlarm()) { mergeDefaultAlarm(other.getDefaultAlarm()); } if (enumValueBuilder_ == null) { if (!other.enumValue_.isEmpty()) { if (enumValue_.isEmpty()) { enumValue_ = other.enumValue_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureEnumValueIsMutable(); enumValue_.addAll(other.enumValue_); } onChanged(); } } else { if (!other.enumValue_.isEmpty()) { if (enumValueBuilder_.isEmpty()) { enumValueBuilder_.dispose(); enumValueBuilder_ = null; enumValue_ = other.enumValue_; bitField0_ = (bitField0_ & ~0x00000010); enumValueBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEnumValueFieldBuilder() : null; } else { enumValueBuilder_.addAllMessages(other.enumValue_); } } } if (other.hasAbsoluteTimeInfo()) { mergeAbsoluteTimeInfo(other.getAbsoluteTimeInfo()); } if (contextAlarmBuilder_ == null) { if (!other.contextAlarm_.isEmpty()) { if (contextAlarm_.isEmpty()) { contextAlarm_ = other.contextAlarm_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureContextAlarmIsMutable(); contextAlarm_.addAll(other.contextAlarm_); } onChanged(); } } else { if (!other.contextAlarm_.isEmpty()) { if (contextAlarmBuilder_.isEmpty()) { contextAlarmBuilder_.dispose(); contextAlarmBuilder_ = null; contextAlarm_ = other.contextAlarm_; bitField0_ = (bitField0_ & ~0x00000040); contextAlarmBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getContextAlarmFieldBuilder() : null; } else { contextAlarmBuilder_.addAllMessages(other.contextAlarm_); } } } if (memberBuilder_ == null) { if (!other.member_.isEmpty()) { if (member_.isEmpty()) { member_ = other.member_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureMemberIsMutable(); member_.addAll(other.member_); } onChanged(); } } else { if (!other.member_.isEmpty()) { if (memberBuilder_.isEmpty()) { memberBuilder_.dispose(); memberBuilder_ = null; member_ = other.member_; bitField0_ = (bitField0_ & ~0x00000080); memberBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMemberFieldBuilder() : null; } else { memberBuilder_.addAllMessages(other.member_); } } } if (other.hasArrayInfo()) { mergeArrayInfo(other.getArrayInfo()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasDataEncoding()) { if (!getDataEncoding().isInitialized()) { return false; } } if (hasAbsoluteTimeInfo()) { if (!getAbsoluteTimeInfo().isInitialized()) { return false; } } for (int i = 0; i < getContextAlarmCount(); i++) { if (!getContextAlarm(i).isInitialized()) { return false; } } for (int i = 0; i < getMemberCount(); i++) { if (!getMember(i).isInitialized()) { return false; } } if (hasArrayInfo()) { if (!getArrayInfo().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.Mdb.ParameterTypeInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ParameterTypeInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object engType_ = ""; /** * optional string engType = 1; */ public boolean hasEngType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string engType = 1; */ public java.lang.String getEngType() { java.lang.Object ref = engType_; 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()) { engType_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string engType = 1; */ public com.google.protobuf.ByteString getEngTypeBytes() { java.lang.Object ref = engType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); engType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string engType = 1; */ public Builder setEngType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; engType_ = value; onChanged(); return this; } /** * optional string engType = 1; */ public Builder clearEngType() { bitField0_ = (bitField0_ & ~0x00000001); engType_ = getDefaultInstance().getEngType(); onChanged(); return this; } /** * optional string engType = 1; */ public Builder setEngTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; engType_ = value; onChanged(); return this; } private org.yamcs.protobuf.Mdb.DataEncodingInfo dataEncoding_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.DataEncodingInfo, org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder, org.yamcs.protobuf.Mdb.DataEncodingInfoOrBuilder> dataEncodingBuilder_; /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public boolean hasDataEncoding() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public org.yamcs.protobuf.Mdb.DataEncodingInfo getDataEncoding() { if (dataEncodingBuilder_ == null) { return dataEncoding_ == null ? org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance() : dataEncoding_; } else { return dataEncodingBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public Builder setDataEncoding(org.yamcs.protobuf.Mdb.DataEncodingInfo value) { if (dataEncodingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dataEncoding_ = value; onChanged(); } else { dataEncodingBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public Builder setDataEncoding( org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder builderForValue) { if (dataEncodingBuilder_ == null) { dataEncoding_ = builderForValue.build(); onChanged(); } else { dataEncodingBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public Builder mergeDataEncoding(org.yamcs.protobuf.Mdb.DataEncodingInfo value) { if (dataEncodingBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && dataEncoding_ != null && dataEncoding_ != org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance()) { dataEncoding_ = org.yamcs.protobuf.Mdb.DataEncodingInfo.newBuilder(dataEncoding_).mergeFrom(value).buildPartial(); } else { dataEncoding_ = value; } onChanged(); } else { dataEncodingBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public Builder clearDataEncoding() { if (dataEncodingBuilder_ == null) { dataEncoding_ = null; onChanged(); } else { dataEncodingBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder getDataEncodingBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDataEncodingFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public org.yamcs.protobuf.Mdb.DataEncodingInfoOrBuilder getDataEncodingOrBuilder() { if (dataEncodingBuilder_ != null) { return dataEncodingBuilder_.getMessageOrBuilder(); } else { return dataEncoding_ == null ? org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance() : dataEncoding_; } } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.DataEncodingInfo, org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder, org.yamcs.protobuf.Mdb.DataEncodingInfoOrBuilder> getDataEncodingFieldBuilder() { if (dataEncodingBuilder_ == null) { dataEncodingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.DataEncodingInfo, org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder, org.yamcs.protobuf.Mdb.DataEncodingInfoOrBuilder>( getDataEncoding(), getParentForChildren(), isClean()); dataEncoding_ = null; } return dataEncodingBuilder_; } private java.util.List unitSet_ = java.util.Collections.emptyList(); private void ensureUnitSetIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { unitSet_ = new java.util.ArrayList(unitSet_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.UnitInfo, org.yamcs.protobuf.Mdb.UnitInfo.Builder, org.yamcs.protobuf.Mdb.UnitInfoOrBuilder> unitSetBuilder_; /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public java.util.List getUnitSetList() { if (unitSetBuilder_ == null) { return java.util.Collections.unmodifiableList(unitSet_); } else { return unitSetBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public int getUnitSetCount() { if (unitSetBuilder_ == null) { return unitSet_.size(); } else { return unitSetBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfo getUnitSet(int index) { if (unitSetBuilder_ == null) { return unitSet_.get(index); } else { return unitSetBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder setUnitSet( int index, org.yamcs.protobuf.Mdb.UnitInfo value) { if (unitSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnitSetIsMutable(); unitSet_.set(index, value); onChanged(); } else { unitSetBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder setUnitSet( int index, org.yamcs.protobuf.Mdb.UnitInfo.Builder builderForValue) { if (unitSetBuilder_ == null) { ensureUnitSetIsMutable(); unitSet_.set(index, builderForValue.build()); onChanged(); } else { unitSetBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder addUnitSet(org.yamcs.protobuf.Mdb.UnitInfo value) { if (unitSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnitSetIsMutable(); unitSet_.add(value); onChanged(); } else { unitSetBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder addUnitSet( int index, org.yamcs.protobuf.Mdb.UnitInfo value) { if (unitSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnitSetIsMutable(); unitSet_.add(index, value); onChanged(); } else { unitSetBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder addUnitSet( org.yamcs.protobuf.Mdb.UnitInfo.Builder builderForValue) { if (unitSetBuilder_ == null) { ensureUnitSetIsMutable(); unitSet_.add(builderForValue.build()); onChanged(); } else { unitSetBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder addUnitSet( int index, org.yamcs.protobuf.Mdb.UnitInfo.Builder builderForValue) { if (unitSetBuilder_ == null) { ensureUnitSetIsMutable(); unitSet_.add(index, builderForValue.build()); onChanged(); } else { unitSetBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder addAllUnitSet( java.lang.Iterable values) { if (unitSetBuilder_ == null) { ensureUnitSetIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, unitSet_); onChanged(); } else { unitSetBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder clearUnitSet() { if (unitSetBuilder_ == null) { unitSet_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { unitSetBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder removeUnitSet(int index) { if (unitSetBuilder_ == null) { ensureUnitSetIsMutable(); unitSet_.remove(index); onChanged(); } else { unitSetBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfo.Builder getUnitSetBuilder( int index) { return getUnitSetFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfoOrBuilder getUnitSetOrBuilder( int index) { if (unitSetBuilder_ == null) { return unitSet_.get(index); } else { return unitSetBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public java.util.List getUnitSetOrBuilderList() { if (unitSetBuilder_ != null) { return unitSetBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(unitSet_); } } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfo.Builder addUnitSetBuilder() { return getUnitSetFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.UnitInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfo.Builder addUnitSetBuilder( int index) { return getUnitSetFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.UnitInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public java.util.List getUnitSetBuilderList() { return getUnitSetFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.UnitInfo, org.yamcs.protobuf.Mdb.UnitInfo.Builder, org.yamcs.protobuf.Mdb.UnitInfoOrBuilder> getUnitSetFieldBuilder() { if (unitSetBuilder_ == null) { unitSetBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.UnitInfo, org.yamcs.protobuf.Mdb.UnitInfo.Builder, org.yamcs.protobuf.Mdb.UnitInfoOrBuilder>( unitSet_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); unitSet_ = null; } return unitSetBuilder_; } private org.yamcs.protobuf.Mdb.AlarmInfo defaultAlarm_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmInfo, org.yamcs.protobuf.Mdb.AlarmInfo.Builder, org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder> defaultAlarmBuilder_; /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public boolean hasDefaultAlarm() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public org.yamcs.protobuf.Mdb.AlarmInfo getDefaultAlarm() { if (defaultAlarmBuilder_ == null) { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } else { return defaultAlarmBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public Builder setDefaultAlarm(org.yamcs.protobuf.Mdb.AlarmInfo value) { if (defaultAlarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultAlarm_ = value; onChanged(); } else { defaultAlarmBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public Builder setDefaultAlarm( org.yamcs.protobuf.Mdb.AlarmInfo.Builder builderForValue) { if (defaultAlarmBuilder_ == null) { defaultAlarm_ = builderForValue.build(); onChanged(); } else { defaultAlarmBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public Builder mergeDefaultAlarm(org.yamcs.protobuf.Mdb.AlarmInfo value) { if (defaultAlarmBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && defaultAlarm_ != null && defaultAlarm_ != org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance()) { defaultAlarm_ = org.yamcs.protobuf.Mdb.AlarmInfo.newBuilder(defaultAlarm_).mergeFrom(value).buildPartial(); } else { defaultAlarm_ = value; } onChanged(); } else { defaultAlarmBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public Builder clearDefaultAlarm() { if (defaultAlarmBuilder_ == null) { defaultAlarm_ = null; onChanged(); } else { defaultAlarmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public org.yamcs.protobuf.Mdb.AlarmInfo.Builder getDefaultAlarmBuilder() { bitField0_ |= 0x00000008; onChanged(); return getDefaultAlarmFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder getDefaultAlarmOrBuilder() { if (defaultAlarmBuilder_ != null) { return defaultAlarmBuilder_.getMessageOrBuilder(); } else { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } } /** * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmInfo, org.yamcs.protobuf.Mdb.AlarmInfo.Builder, org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder> getDefaultAlarmFieldBuilder() { if (defaultAlarmBuilder_ == null) { defaultAlarmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmInfo, org.yamcs.protobuf.Mdb.AlarmInfo.Builder, org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder>( getDefaultAlarm(), getParentForChildren(), isClean()); defaultAlarm_ = null; } return defaultAlarmBuilder_; } private java.util.List enumValue_ = java.util.Collections.emptyList(); private void ensureEnumValueIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { enumValue_ = new java.util.ArrayList(enumValue_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumValue, org.yamcs.protobuf.Mdb.EnumValue.Builder, org.yamcs.protobuf.Mdb.EnumValueOrBuilder> enumValueBuilder_; /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public java.util.List getEnumValueList() { if (enumValueBuilder_ == null) { return java.util.Collections.unmodifiableList(enumValue_); } else { return enumValueBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public int getEnumValueCount() { if (enumValueBuilder_ == null) { return enumValue_.size(); } else { return enumValueBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValue getEnumValue(int index) { if (enumValueBuilder_ == null) { return enumValue_.get(index); } else { return enumValueBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder setEnumValue( int index, org.yamcs.protobuf.Mdb.EnumValue value) { if (enumValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumValueIsMutable(); enumValue_.set(index, value); onChanged(); } else { enumValueBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder setEnumValue( int index, org.yamcs.protobuf.Mdb.EnumValue.Builder builderForValue) { if (enumValueBuilder_ == null) { ensureEnumValueIsMutable(); enumValue_.set(index, builderForValue.build()); onChanged(); } else { enumValueBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder addEnumValue(org.yamcs.protobuf.Mdb.EnumValue value) { if (enumValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumValueIsMutable(); enumValue_.add(value); onChanged(); } else { enumValueBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder addEnumValue( int index, org.yamcs.protobuf.Mdb.EnumValue value) { if (enumValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumValueIsMutable(); enumValue_.add(index, value); onChanged(); } else { enumValueBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder addEnumValue( org.yamcs.protobuf.Mdb.EnumValue.Builder builderForValue) { if (enumValueBuilder_ == null) { ensureEnumValueIsMutable(); enumValue_.add(builderForValue.build()); onChanged(); } else { enumValueBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder addEnumValue( int index, org.yamcs.protobuf.Mdb.EnumValue.Builder builderForValue) { if (enumValueBuilder_ == null) { ensureEnumValueIsMutable(); enumValue_.add(index, builderForValue.build()); onChanged(); } else { enumValueBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder addAllEnumValue( java.lang.Iterable values) { if (enumValueBuilder_ == null) { ensureEnumValueIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, enumValue_); onChanged(); } else { enumValueBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder clearEnumValue() { if (enumValueBuilder_ == null) { enumValue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { enumValueBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder removeEnumValue(int index) { if (enumValueBuilder_ == null) { ensureEnumValueIsMutable(); enumValue_.remove(index); onChanged(); } else { enumValueBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValue.Builder getEnumValueBuilder( int index) { return getEnumValueFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValueOrBuilder getEnumValueOrBuilder( int index) { if (enumValueBuilder_ == null) { return enumValue_.get(index); } else { return enumValueBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public java.util.List getEnumValueOrBuilderList() { if (enumValueBuilder_ != null) { return enumValueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(enumValue_); } } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValue.Builder addEnumValueBuilder() { return getEnumValueFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.EnumValue.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValue.Builder addEnumValueBuilder( int index) { return getEnumValueFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.EnumValue.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public java.util.List getEnumValueBuilderList() { return getEnumValueFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumValue, org.yamcs.protobuf.Mdb.EnumValue.Builder, org.yamcs.protobuf.Mdb.EnumValueOrBuilder> getEnumValueFieldBuilder() { if (enumValueBuilder_ == null) { enumValueBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumValue, org.yamcs.protobuf.Mdb.EnumValue.Builder, org.yamcs.protobuf.Mdb.EnumValueOrBuilder>( enumValue_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); enumValue_ = null; } return enumValueBuilder_; } private org.yamcs.protobuf.Mdb.AbsoluteTimeInfo absoluteTimeInfo_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AbsoluteTimeInfo, org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.Builder, org.yamcs.protobuf.Mdb.AbsoluteTimeInfoOrBuilder> absoluteTimeInfoBuilder_; /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public boolean hasAbsoluteTimeInfo() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public org.yamcs.protobuf.Mdb.AbsoluteTimeInfo getAbsoluteTimeInfo() { if (absoluteTimeInfoBuilder_ == null) { return absoluteTimeInfo_ == null ? org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.getDefaultInstance() : absoluteTimeInfo_; } else { return absoluteTimeInfoBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public Builder setAbsoluteTimeInfo(org.yamcs.protobuf.Mdb.AbsoluteTimeInfo value) { if (absoluteTimeInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } absoluteTimeInfo_ = value; onChanged(); } else { absoluteTimeInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public Builder setAbsoluteTimeInfo( org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.Builder builderForValue) { if (absoluteTimeInfoBuilder_ == null) { absoluteTimeInfo_ = builderForValue.build(); onChanged(); } else { absoluteTimeInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public Builder mergeAbsoluteTimeInfo(org.yamcs.protobuf.Mdb.AbsoluteTimeInfo value) { if (absoluteTimeInfoBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && absoluteTimeInfo_ != null && absoluteTimeInfo_ != org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.getDefaultInstance()) { absoluteTimeInfo_ = org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.newBuilder(absoluteTimeInfo_).mergeFrom(value).buildPartial(); } else { absoluteTimeInfo_ = value; } onChanged(); } else { absoluteTimeInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public Builder clearAbsoluteTimeInfo() { if (absoluteTimeInfoBuilder_ == null) { absoluteTimeInfo_ = null; onChanged(); } else { absoluteTimeInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.Builder getAbsoluteTimeInfoBuilder() { bitField0_ |= 0x00000020; onChanged(); return getAbsoluteTimeInfoFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public org.yamcs.protobuf.Mdb.AbsoluteTimeInfoOrBuilder getAbsoluteTimeInfoOrBuilder() { if (absoluteTimeInfoBuilder_ != null) { return absoluteTimeInfoBuilder_.getMessageOrBuilder(); } else { return absoluteTimeInfo_ == null ? org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.getDefaultInstance() : absoluteTimeInfo_; } } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AbsoluteTimeInfo, org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.Builder, org.yamcs.protobuf.Mdb.AbsoluteTimeInfoOrBuilder> getAbsoluteTimeInfoFieldBuilder() { if (absoluteTimeInfoBuilder_ == null) { absoluteTimeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AbsoluteTimeInfo, org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.Builder, org.yamcs.protobuf.Mdb.AbsoluteTimeInfoOrBuilder>( getAbsoluteTimeInfo(), getParentForChildren(), isClean()); absoluteTimeInfo_ = null; } return absoluteTimeInfoBuilder_; } private java.util.List contextAlarm_ = java.util.Collections.emptyList(); private void ensureContextAlarmIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { contextAlarm_ = new java.util.ArrayList(contextAlarm_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextAlarmInfo, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder, org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder> contextAlarmBuilder_; /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public java.util.List getContextAlarmList() { if (contextAlarmBuilder_ == null) { return java.util.Collections.unmodifiableList(contextAlarm_); } else { return contextAlarmBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public int getContextAlarmCount() { if (contextAlarmBuilder_ == null) { return contextAlarm_.size(); } else { return contextAlarmBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo getContextAlarm(int index) { if (contextAlarmBuilder_ == null) { return contextAlarm_.get(index); } else { return contextAlarmBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public Builder setContextAlarm( int index, org.yamcs.protobuf.Mdb.ContextAlarmInfo value) { if (contextAlarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextAlarmIsMutable(); contextAlarm_.set(index, value); onChanged(); } else { contextAlarmBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public Builder setContextAlarm( int index, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder builderForValue) { if (contextAlarmBuilder_ == null) { ensureContextAlarmIsMutable(); contextAlarm_.set(index, builderForValue.build()); onChanged(); } else { contextAlarmBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public Builder addContextAlarm(org.yamcs.protobuf.Mdb.ContextAlarmInfo value) { if (contextAlarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextAlarmIsMutable(); contextAlarm_.add(value); onChanged(); } else { contextAlarmBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public Builder addContextAlarm( int index, org.yamcs.protobuf.Mdb.ContextAlarmInfo value) { if (contextAlarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextAlarmIsMutable(); contextAlarm_.add(index, value); onChanged(); } else { contextAlarmBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public Builder addContextAlarm( org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder builderForValue) { if (contextAlarmBuilder_ == null) { ensureContextAlarmIsMutable(); contextAlarm_.add(builderForValue.build()); onChanged(); } else { contextAlarmBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public Builder addContextAlarm( int index, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder builderForValue) { if (contextAlarmBuilder_ == null) { ensureContextAlarmIsMutable(); contextAlarm_.add(index, builderForValue.build()); onChanged(); } else { contextAlarmBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public Builder addAllContextAlarm( java.lang.Iterable values) { if (contextAlarmBuilder_ == null) { ensureContextAlarmIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, contextAlarm_); onChanged(); } else { contextAlarmBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public Builder clearContextAlarm() { if (contextAlarmBuilder_ == null) { contextAlarm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { contextAlarmBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public Builder removeContextAlarm(int index) { if (contextAlarmBuilder_ == null) { ensureContextAlarmIsMutable(); contextAlarm_.remove(index); onChanged(); } else { contextAlarmBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder getContextAlarmBuilder( int index) { return getContextAlarmFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder getContextAlarmOrBuilder( int index) { if (contextAlarmBuilder_ == null) { return contextAlarm_.get(index); } else { return contextAlarmBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public java.util.List getContextAlarmOrBuilderList() { if (contextAlarmBuilder_ != null) { return contextAlarmBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(contextAlarm_); } } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder addContextAlarmBuilder() { return getContextAlarmFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ContextAlarmInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder addContextAlarmBuilder( int index) { return getContextAlarmFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ContextAlarmInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public java.util.List getContextAlarmBuilderList() { return getContextAlarmFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextAlarmInfo, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder, org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder> getContextAlarmFieldBuilder() { if (contextAlarmBuilder_ == null) { contextAlarmBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextAlarmInfo, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder, org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder>( contextAlarm_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); contextAlarm_ = null; } return contextAlarmBuilder_; } private java.util.List member_ = java.util.Collections.emptyList(); private void ensureMemberIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { member_ = new java.util.ArrayList(member_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.MemberInfo, org.yamcs.protobuf.Mdb.MemberInfo.Builder, org.yamcs.protobuf.Mdb.MemberInfoOrBuilder> memberBuilder_; /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public java.util.List getMemberList() { if (memberBuilder_ == null) { return java.util.Collections.unmodifiableList(member_); } else { return memberBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public int getMemberCount() { if (memberBuilder_ == null) { return member_.size(); } else { return memberBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public org.yamcs.protobuf.Mdb.MemberInfo getMember(int index) { if (memberBuilder_ == null) { return member_.get(index); } else { return memberBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public Builder setMember( int index, org.yamcs.protobuf.Mdb.MemberInfo value) { if (memberBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMemberIsMutable(); member_.set(index, value); onChanged(); } else { memberBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public Builder setMember( int index, org.yamcs.protobuf.Mdb.MemberInfo.Builder builderForValue) { if (memberBuilder_ == null) { ensureMemberIsMutable(); member_.set(index, builderForValue.build()); onChanged(); } else { memberBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public Builder addMember(org.yamcs.protobuf.Mdb.MemberInfo value) { if (memberBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMemberIsMutable(); member_.add(value); onChanged(); } else { memberBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public Builder addMember( int index, org.yamcs.protobuf.Mdb.MemberInfo value) { if (memberBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMemberIsMutable(); member_.add(index, value); onChanged(); } else { memberBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public Builder addMember( org.yamcs.protobuf.Mdb.MemberInfo.Builder builderForValue) { if (memberBuilder_ == null) { ensureMemberIsMutable(); member_.add(builderForValue.build()); onChanged(); } else { memberBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public Builder addMember( int index, org.yamcs.protobuf.Mdb.MemberInfo.Builder builderForValue) { if (memberBuilder_ == null) { ensureMemberIsMutable(); member_.add(index, builderForValue.build()); onChanged(); } else { memberBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public Builder addAllMember( java.lang.Iterable values) { if (memberBuilder_ == null) { ensureMemberIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, member_); onChanged(); } else { memberBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public Builder clearMember() { if (memberBuilder_ == null) { member_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { memberBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public Builder removeMember(int index) { if (memberBuilder_ == null) { ensureMemberIsMutable(); member_.remove(index); onChanged(); } else { memberBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public org.yamcs.protobuf.Mdb.MemberInfo.Builder getMemberBuilder( int index) { return getMemberFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public org.yamcs.protobuf.Mdb.MemberInfoOrBuilder getMemberOrBuilder( int index) { if (memberBuilder_ == null) { return member_.get(index); } else { return memberBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public java.util.List getMemberOrBuilderList() { if (memberBuilder_ != null) { return memberBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(member_); } } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public org.yamcs.protobuf.Mdb.MemberInfo.Builder addMemberBuilder() { return getMemberFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.MemberInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public org.yamcs.protobuf.Mdb.MemberInfo.Builder addMemberBuilder( int index) { return getMemberFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.MemberInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ public java.util.List getMemberBuilderList() { return getMemberFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.MemberInfo, org.yamcs.protobuf.Mdb.MemberInfo.Builder, org.yamcs.protobuf.Mdb.MemberInfoOrBuilder> getMemberFieldBuilder() { if (memberBuilder_ == null) { memberBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.MemberInfo, org.yamcs.protobuf.Mdb.MemberInfo.Builder, org.yamcs.protobuf.Mdb.MemberInfoOrBuilder>( member_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); member_ = null; } return memberBuilder_; } private org.yamcs.protobuf.Mdb.ArrayInfo arrayInfo_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ArrayInfo, org.yamcs.protobuf.Mdb.ArrayInfo.Builder, org.yamcs.protobuf.Mdb.ArrayInfoOrBuilder> arrayInfoBuilder_; /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public boolean hasArrayInfo() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public org.yamcs.protobuf.Mdb.ArrayInfo getArrayInfo() { if (arrayInfoBuilder_ == null) { return arrayInfo_ == null ? org.yamcs.protobuf.Mdb.ArrayInfo.getDefaultInstance() : arrayInfo_; } else { return arrayInfoBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public Builder setArrayInfo(org.yamcs.protobuf.Mdb.ArrayInfo value) { if (arrayInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } arrayInfo_ = value; onChanged(); } else { arrayInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public Builder setArrayInfo( org.yamcs.protobuf.Mdb.ArrayInfo.Builder builderForValue) { if (arrayInfoBuilder_ == null) { arrayInfo_ = builderForValue.build(); onChanged(); } else { arrayInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public Builder mergeArrayInfo(org.yamcs.protobuf.Mdb.ArrayInfo value) { if (arrayInfoBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && arrayInfo_ != null && arrayInfo_ != org.yamcs.protobuf.Mdb.ArrayInfo.getDefaultInstance()) { arrayInfo_ = org.yamcs.protobuf.Mdb.ArrayInfo.newBuilder(arrayInfo_).mergeFrom(value).buildPartial(); } else { arrayInfo_ = value; } onChanged(); } else { arrayInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public Builder clearArrayInfo() { if (arrayInfoBuilder_ == null) { arrayInfo_ = null; onChanged(); } else { arrayInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public org.yamcs.protobuf.Mdb.ArrayInfo.Builder getArrayInfoBuilder() { bitField0_ |= 0x00000100; onChanged(); return getArrayInfoFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public org.yamcs.protobuf.Mdb.ArrayInfoOrBuilder getArrayInfoOrBuilder() { if (arrayInfoBuilder_ != null) { return arrayInfoBuilder_.getMessageOrBuilder(); } else { return arrayInfo_ == null ? org.yamcs.protobuf.Mdb.ArrayInfo.getDefaultInstance() : arrayInfo_; } } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ArrayInfo, org.yamcs.protobuf.Mdb.ArrayInfo.Builder, org.yamcs.protobuf.Mdb.ArrayInfoOrBuilder> getArrayInfoFieldBuilder() { if (arrayInfoBuilder_ == null) { arrayInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ArrayInfo, org.yamcs.protobuf.Mdb.ArrayInfo.Builder, org.yamcs.protobuf.Mdb.ArrayInfoOrBuilder>( getArrayInfo(), getParentForChildren(), isClean()); arrayInfo_ = null; } return arrayInfoBuilder_; } @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.mdb.ParameterTypeInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ParameterTypeInfo) private static final org.yamcs.protobuf.Mdb.ParameterTypeInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ParameterTypeInfo(); } public static org.yamcs.protobuf.Mdb.ParameterTypeInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ParameterTypeInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ParameterTypeInfo(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.Mdb.ParameterTypeInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetParameterTypeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.GetParameterTypeRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional string name = 2; */ boolean hasName(); /** * optional string name = 2; */ java.lang.String getName(); /** * optional string name = 2; */ com.google.protobuf.ByteString getNameBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.GetParameterTypeRequest} */ public static final class GetParameterTypeRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.GetParameterTypeRequest) GetParameterTypeRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetParameterTypeRequest.newBuilder() to construct. private GetParameterTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetParameterTypeRequest() { instance_ = ""; name_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetParameterTypeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } 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.Mdb.internal_static_yamcs_protobuf_mdb_GetParameterTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetParameterTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetParameterTypeRequest.class, org.yamcs.protobuf.Mdb.GetParameterTypeRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } 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.Mdb.GetParameterTypeRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.GetParameterTypeRequest other = (org.yamcs.protobuf.Mdb.GetParameterTypeRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.GetParameterTypeRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetParameterTypeRequest 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.Mdb.GetParameterTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetParameterTypeRequest 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.Mdb.GetParameterTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetParameterTypeRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.GetParameterTypeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetParameterTypeRequest 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.Mdb.GetParameterTypeRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetParameterTypeRequest 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.Mdb.GetParameterTypeRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetParameterTypeRequest 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.Mdb.GetParameterTypeRequest 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.mdb.GetParameterTypeRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.GetParameterTypeRequest) org.yamcs.protobuf.Mdb.GetParameterTypeRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetParameterTypeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetParameterTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetParameterTypeRequest.class, org.yamcs.protobuf.Mdb.GetParameterTypeRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.GetParameterTypeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetParameterTypeRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetParameterTypeRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.GetParameterTypeRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.GetParameterTypeRequest build() { org.yamcs.protobuf.Mdb.GetParameterTypeRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetParameterTypeRequest buildPartial() { org.yamcs.protobuf.Mdb.GetParameterTypeRequest result = new org.yamcs.protobuf.Mdb.GetParameterTypeRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; 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.Mdb.GetParameterTypeRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.GetParameterTypeRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.GetParameterTypeRequest other) { if (other == org.yamcs.protobuf.Mdb.GetParameterTypeRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } 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.Mdb.GetParameterTypeRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.GetParameterTypeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 2; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** * optional string name = 2; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 2; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; 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.mdb.GetParameterTypeRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.GetParameterTypeRequest) private static final org.yamcs.protobuf.Mdb.GetParameterTypeRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.GetParameterTypeRequest(); } public static org.yamcs.protobuf.Mdb.GetParameterTypeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetParameterTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetParameterTypeRequest(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.Mdb.GetParameterTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetContainerRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.GetContainerRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional string name = 2; */ boolean hasName(); /** * optional string name = 2; */ java.lang.String getName(); /** * optional string name = 2; */ com.google.protobuf.ByteString getNameBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.GetContainerRequest} */ public static final class GetContainerRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.GetContainerRequest) GetContainerRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetContainerRequest.newBuilder() to construct. private GetContainerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetContainerRequest() { instance_ = ""; name_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetContainerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } 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.Mdb.internal_static_yamcs_protobuf_mdb_GetContainerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetContainerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetContainerRequest.class, org.yamcs.protobuf.Mdb.GetContainerRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } 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.Mdb.GetContainerRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.GetContainerRequest other = (org.yamcs.protobuf.Mdb.GetContainerRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.GetContainerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetContainerRequest 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.Mdb.GetContainerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetContainerRequest 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.Mdb.GetContainerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetContainerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.GetContainerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetContainerRequest 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.Mdb.GetContainerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetContainerRequest 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.Mdb.GetContainerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetContainerRequest 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.Mdb.GetContainerRequest 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.mdb.GetContainerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.GetContainerRequest) org.yamcs.protobuf.Mdb.GetContainerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetContainerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetContainerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetContainerRequest.class, org.yamcs.protobuf.Mdb.GetContainerRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.GetContainerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetContainerRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetContainerRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.GetContainerRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.GetContainerRequest build() { org.yamcs.protobuf.Mdb.GetContainerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetContainerRequest buildPartial() { org.yamcs.protobuf.Mdb.GetContainerRequest result = new org.yamcs.protobuf.Mdb.GetContainerRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; 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.Mdb.GetContainerRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.GetContainerRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.GetContainerRequest other) { if (other == org.yamcs.protobuf.Mdb.GetContainerRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } 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.Mdb.GetContainerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.GetContainerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 2; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** * optional string name = 2; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 2; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; 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.mdb.GetContainerRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.GetContainerRequest) private static final org.yamcs.protobuf.Mdb.GetContainerRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.GetContainerRequest(); } public static org.yamcs.protobuf.Mdb.GetContainerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetContainerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetContainerRequest(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.Mdb.GetContainerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AbsoluteTimeInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.AbsoluteTimeInfo) com.google.protobuf.MessageOrBuilder { /** * optional string initialValue = 1; */ boolean hasInitialValue(); /** * optional string initialValue = 1; */ java.lang.String getInitialValue(); /** * optional string initialValue = 1; */ com.google.protobuf.ByteString getInitialValueBytes(); /** * optional double scale = 2; */ boolean hasScale(); /** * optional double scale = 2; */ double getScale(); /** * optional double offset = 3; */ boolean hasOffset(); /** * optional double offset = 3; */ double getOffset(); /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ boolean hasOffsetFrom(); /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ org.yamcs.protobuf.Mdb.ParameterInfo getOffsetFrom(); /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getOffsetFromOrBuilder(); /** * optional string epoch = 5; */ boolean hasEpoch(); /** * optional string epoch = 5; */ java.lang.String getEpoch(); /** * optional string epoch = 5; */ com.google.protobuf.ByteString getEpochBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.AbsoluteTimeInfo} */ public static final class AbsoluteTimeInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.AbsoluteTimeInfo) AbsoluteTimeInfoOrBuilder { private static final long serialVersionUID = 0L; // Use AbsoluteTimeInfo.newBuilder() to construct. private AbsoluteTimeInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AbsoluteTimeInfo() { initialValue_ = ""; epoch_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AbsoluteTimeInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; initialValue_ = bs; break; } case 17: { bitField0_ |= 0x00000002; scale_ = input.readDouble(); break; } case 25: { bitField0_ |= 0x00000004; offset_ = input.readDouble(); break; } case 34: { org.yamcs.protobuf.Mdb.ParameterInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = offsetFrom_.toBuilder(); } offsetFrom_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(offsetFrom_); offsetFrom_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; epoch_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_AbsoluteTimeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AbsoluteTimeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.class, org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.Builder.class); } private int bitField0_; public static final int INITIALVALUE_FIELD_NUMBER = 1; private volatile java.lang.Object initialValue_; /** * optional string initialValue = 1; */ public boolean hasInitialValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string initialValue = 1; */ public java.lang.String getInitialValue() { java.lang.Object ref = initialValue_; 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()) { initialValue_ = s; } return s; } } /** * optional string initialValue = 1; */ public com.google.protobuf.ByteString getInitialValueBytes() { java.lang.Object ref = initialValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); initialValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCALE_FIELD_NUMBER = 2; private double scale_; /** * optional double scale = 2; */ public boolean hasScale() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double scale = 2; */ public double getScale() { return scale_; } public static final int OFFSET_FIELD_NUMBER = 3; private double offset_; /** * optional double offset = 3; */ public boolean hasOffset() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double offset = 3; */ public double getOffset() { return offset_; } public static final int OFFSETFROM_FIELD_NUMBER = 4; private org.yamcs.protobuf.Mdb.ParameterInfo offsetFrom_; /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ public boolean hasOffsetFrom() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ public org.yamcs.protobuf.Mdb.ParameterInfo getOffsetFrom() { return offsetFrom_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : offsetFrom_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getOffsetFromOrBuilder() { return offsetFrom_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : offsetFrom_; } public static final int EPOCH_FIELD_NUMBER = 5; private volatile java.lang.Object epoch_; /** * optional string epoch = 5; */ public boolean hasEpoch() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string epoch = 5; */ public java.lang.String getEpoch() { java.lang.Object ref = epoch_; 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()) { epoch_ = s; } return s; } } /** * optional string epoch = 5; */ public com.google.protobuf.ByteString getEpochBytes() { java.lang.Object ref = epoch_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); epoch_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (hasOffsetFrom()) { if (!getOffsetFrom().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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, initialValue_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeDouble(2, scale_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(3, offset_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getOffsetFrom()); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, epoch_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, initialValue_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, scale_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, offset_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getOffsetFrom()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, epoch_); } 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.Mdb.AbsoluteTimeInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.AbsoluteTimeInfo other = (org.yamcs.protobuf.Mdb.AbsoluteTimeInfo) obj; if (hasInitialValue() != other.hasInitialValue()) return false; if (hasInitialValue()) { if (!getInitialValue() .equals(other.getInitialValue())) return false; } if (hasScale() != other.hasScale()) return false; if (hasScale()) { if (java.lang.Double.doubleToLongBits(getScale()) != java.lang.Double.doubleToLongBits( other.getScale())) return false; } if (hasOffset() != other.hasOffset()) return false; if (hasOffset()) { if (java.lang.Double.doubleToLongBits(getOffset()) != java.lang.Double.doubleToLongBits( other.getOffset())) return false; } if (hasOffsetFrom() != other.hasOffsetFrom()) return false; if (hasOffsetFrom()) { if (!getOffsetFrom() .equals(other.getOffsetFrom())) return false; } if (hasEpoch() != other.hasEpoch()) return false; if (hasEpoch()) { if (!getEpoch() .equals(other.getEpoch())) 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 (hasInitialValue()) { hash = (37 * hash) + INITIALVALUE_FIELD_NUMBER; hash = (53 * hash) + getInitialValue().hashCode(); } if (hasScale()) { hash = (37 * hash) + SCALE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getScale())); } if (hasOffset()) { hash = (37 * hash) + OFFSET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getOffset())); } if (hasOffsetFrom()) { hash = (37 * hash) + OFFSETFROM_FIELD_NUMBER; hash = (53 * hash) + getOffsetFrom().hashCode(); } if (hasEpoch()) { hash = (37 * hash) + EPOCH_FIELD_NUMBER; hash = (53 * hash) + getEpoch().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.AbsoluteTimeInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AbsoluteTimeInfo 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.Mdb.AbsoluteTimeInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AbsoluteTimeInfo 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.Mdb.AbsoluteTimeInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AbsoluteTimeInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.AbsoluteTimeInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AbsoluteTimeInfo 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.Mdb.AbsoluteTimeInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AbsoluteTimeInfo 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.Mdb.AbsoluteTimeInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AbsoluteTimeInfo 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.Mdb.AbsoluteTimeInfo 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.mdb.AbsoluteTimeInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.AbsoluteTimeInfo) org.yamcs.protobuf.Mdb.AbsoluteTimeInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AbsoluteTimeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AbsoluteTimeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.class, org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOffsetFromFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); initialValue_ = ""; bitField0_ = (bitField0_ & ~0x00000001); scale_ = 0D; bitField0_ = (bitField0_ & ~0x00000002); offset_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); if (offsetFromBuilder_ == null) { offsetFrom_ = null; } else { offsetFromBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); epoch_ = ""; bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AbsoluteTimeInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.AbsoluteTimeInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.AbsoluteTimeInfo build() { org.yamcs.protobuf.Mdb.AbsoluteTimeInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.AbsoluteTimeInfo buildPartial() { org.yamcs.protobuf.Mdb.AbsoluteTimeInfo result = new org.yamcs.protobuf.Mdb.AbsoluteTimeInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.initialValue_ = initialValue_; if (((from_bitField0_ & 0x00000002) != 0)) { result.scale_ = scale_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.offset_ = offset_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (offsetFromBuilder_ == null) { result.offsetFrom_ = offsetFrom_; } else { result.offsetFrom_ = offsetFromBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.epoch_ = epoch_; 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.Mdb.AbsoluteTimeInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.AbsoluteTimeInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.AbsoluteTimeInfo other) { if (other == org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.getDefaultInstance()) return this; if (other.hasInitialValue()) { bitField0_ |= 0x00000001; initialValue_ = other.initialValue_; onChanged(); } if (other.hasScale()) { setScale(other.getScale()); } if (other.hasOffset()) { setOffset(other.getOffset()); } if (other.hasOffsetFrom()) { mergeOffsetFrom(other.getOffsetFrom()); } if (other.hasEpoch()) { bitField0_ |= 0x00000010; epoch_ = other.epoch_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasOffsetFrom()) { if (!getOffsetFrom().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.Mdb.AbsoluteTimeInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.AbsoluteTimeInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object initialValue_ = ""; /** * optional string initialValue = 1; */ public boolean hasInitialValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string initialValue = 1; */ public java.lang.String getInitialValue() { java.lang.Object ref = initialValue_; 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()) { initialValue_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string initialValue = 1; */ public com.google.protobuf.ByteString getInitialValueBytes() { java.lang.Object ref = initialValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); initialValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string initialValue = 1; */ public Builder setInitialValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; initialValue_ = value; onChanged(); return this; } /** * optional string initialValue = 1; */ public Builder clearInitialValue() { bitField0_ = (bitField0_ & ~0x00000001); initialValue_ = getDefaultInstance().getInitialValue(); onChanged(); return this; } /** * optional string initialValue = 1; */ public Builder setInitialValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; initialValue_ = value; onChanged(); return this; } private double scale_ ; /** * optional double scale = 2; */ public boolean hasScale() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double scale = 2; */ public double getScale() { return scale_; } /** * optional double scale = 2; */ public Builder setScale(double value) { bitField0_ |= 0x00000002; scale_ = value; onChanged(); return this; } /** * optional double scale = 2; */ public Builder clearScale() { bitField0_ = (bitField0_ & ~0x00000002); scale_ = 0D; onChanged(); return this; } private double offset_ ; /** * optional double offset = 3; */ public boolean hasOffset() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double offset = 3; */ public double getOffset() { return offset_; } /** * optional double offset = 3; */ public Builder setOffset(double value) { bitField0_ |= 0x00000004; offset_ = value; onChanged(); return this; } /** * optional double offset = 3; */ public Builder clearOffset() { bitField0_ = (bitField0_ & ~0x00000004); offset_ = 0D; onChanged(); return this; } private org.yamcs.protobuf.Mdb.ParameterInfo offsetFrom_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> offsetFromBuilder_; /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ public boolean hasOffsetFrom() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ public org.yamcs.protobuf.Mdb.ParameterInfo getOffsetFrom() { if (offsetFromBuilder_ == null) { return offsetFrom_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : offsetFrom_; } else { return offsetFromBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ public Builder setOffsetFrom(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (offsetFromBuilder_ == null) { if (value == null) { throw new NullPointerException(); } offsetFrom_ = value; onChanged(); } else { offsetFromBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ public Builder setOffsetFrom( org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (offsetFromBuilder_ == null) { offsetFrom_ = builderForValue.build(); onChanged(); } else { offsetFromBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ public Builder mergeOffsetFrom(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (offsetFromBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && offsetFrom_ != null && offsetFrom_ != org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()) { offsetFrom_ = org.yamcs.protobuf.Mdb.ParameterInfo.newBuilder(offsetFrom_).mergeFrom(value).buildPartial(); } else { offsetFrom_ = value; } onChanged(); } else { offsetFromBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ public Builder clearOffsetFrom() { if (offsetFromBuilder_ == null) { offsetFrom_ = null; onChanged(); } else { offsetFromBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getOffsetFromBuilder() { bitField0_ |= 0x00000008; onChanged(); return getOffsetFromFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getOffsetFromOrBuilder() { if (offsetFromBuilder_ != null) { return offsetFromBuilder_.getMessageOrBuilder(); } else { return offsetFrom_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : offsetFrom_; } } /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> getOffsetFromFieldBuilder() { if (offsetFromBuilder_ == null) { offsetFromBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder>( getOffsetFrom(), getParentForChildren(), isClean()); offsetFrom_ = null; } return offsetFromBuilder_; } private java.lang.Object epoch_ = ""; /** * optional string epoch = 5; */ public boolean hasEpoch() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string epoch = 5; */ public java.lang.String getEpoch() { java.lang.Object ref = epoch_; 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()) { epoch_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string epoch = 5; */ public com.google.protobuf.ByteString getEpochBytes() { java.lang.Object ref = epoch_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); epoch_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string epoch = 5; */ public Builder setEpoch( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; epoch_ = value; onChanged(); return this; } /** * optional string epoch = 5; */ public Builder clearEpoch() { bitField0_ = (bitField0_ & ~0x00000010); epoch_ = getDefaultInstance().getEpoch(); onChanged(); return this; } /** * optional string epoch = 5; */ public Builder setEpochBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; epoch_ = value; 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.mdb.AbsoluteTimeInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.AbsoluteTimeInfo) private static final org.yamcs.protobuf.Mdb.AbsoluteTimeInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.AbsoluteTimeInfo(); } public static org.yamcs.protobuf.Mdb.AbsoluteTimeInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AbsoluteTimeInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AbsoluteTimeInfo(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.Mdb.AbsoluteTimeInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MemberInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.MemberInfo) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 2; */ boolean hasQualifiedName(); /** * optional string qualifiedName = 2; */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 2; */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** * optional string shortDescription = 3; */ boolean hasShortDescription(); /** * optional string shortDescription = 3; */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; */ boolean hasLongDescription(); /** * optional string longDescription = 4; */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; */ com.google.protobuf.ByteString getLongDescriptionBytes(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ java.util.List getAliasList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ int getAliasCount(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ java.util.List getAliasOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index); /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ boolean hasType(); /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ org.yamcs.protobuf.Mdb.ParameterTypeInfo getType(); /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypeOrBuilder(); } /** * Protobuf type {@code yamcs.protobuf.mdb.MemberInfo} */ public static final class MemberInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.MemberInfo) MemberInfoOrBuilder { private static final long serialVersionUID = 0L; // Use MemberInfo.newBuilder() to construct. private MemberInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MemberInfo() { name_ = ""; qualifiedName_ = ""; shortDescription_ = ""; longDescription_ = ""; alias_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MemberInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; qualifiedName_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; shortDescription_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; longDescription_ = bs; break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { alias_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } alias_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 50: { org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = type_.toBuilder(); } type_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterTypeInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(type_); type_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; 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_ & 0x00000010) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MemberInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MemberInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.MemberInfo.class, org.yamcs.protobuf.Mdb.MemberInfo.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 2; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHORTDESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object shortDescription_; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LONGDESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object longDescription_; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALIAS_FIELD_NUMBER = 5; private java.util.List alias_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { return alias_.get(index); } public static final int TYPE_FIELD_NUMBER = 6; private org.yamcs.protobuf.Mdb.ParameterTypeInfo type_; /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public boolean hasType() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo getType() { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypeOrBuilder() { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } 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 < getAliasCount(); i++) { if (!getAlias(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasType()) { if (!getType().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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, longDescription_); } for (int i = 0; i < alias_.size(); i++) { output.writeMessage(5, alias_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(6, getType()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, longDescription_); } for (int i = 0; i < alias_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, alias_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getType()); } 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.Mdb.MemberInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.MemberInfo other = (org.yamcs.protobuf.Mdb.MemberInfo) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasQualifiedName() != other.hasQualifiedName()) return false; if (hasQualifiedName()) { if (!getQualifiedName() .equals(other.getQualifiedName())) return false; } if (hasShortDescription() != other.hasShortDescription()) return false; if (hasShortDescription()) { if (!getShortDescription() .equals(other.getShortDescription())) return false; } if (hasLongDescription() != other.hasLongDescription()) return false; if (hasLongDescription()) { if (!getLongDescription() .equals(other.getLongDescription())) return false; } if (!getAliasList() .equals(other.getAliasList())) return false; if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType() .equals(other.getType())) 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasQualifiedName()) { hash = (37 * hash) + QUALIFIEDNAME_FIELD_NUMBER; hash = (53 * hash) + getQualifiedName().hashCode(); } if (hasShortDescription()) { hash = (37 * hash) + SHORTDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getShortDescription().hashCode(); } if (hasLongDescription()) { hash = (37 * hash) + LONGDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getLongDescription().hashCode(); } if (getAliasCount() > 0) { hash = (37 * hash) + ALIAS_FIELD_NUMBER; hash = (53 * hash) + getAliasList().hashCode(); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.MemberInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.MemberInfo 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.Mdb.MemberInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.MemberInfo 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.Mdb.MemberInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.MemberInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.MemberInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.MemberInfo 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.Mdb.MemberInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.MemberInfo 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.Mdb.MemberInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.MemberInfo 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.Mdb.MemberInfo 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.mdb.MemberInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.MemberInfo) org.yamcs.protobuf.Mdb.MemberInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MemberInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MemberInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.MemberInfo.class, org.yamcs.protobuf.Mdb.MemberInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.MemberInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAliasFieldBuilder(); getTypeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); qualifiedName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); shortDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000004); longDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { aliasBuilder_.clear(); } if (typeBuilder_ == null) { type_ = null; } else { typeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MemberInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.MemberInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.MemberInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.MemberInfo build() { org.yamcs.protobuf.Mdb.MemberInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.MemberInfo buildPartial() { org.yamcs.protobuf.Mdb.MemberInfo result = new org.yamcs.protobuf.Mdb.MemberInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.qualifiedName_ = qualifiedName_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.shortDescription_ = shortDescription_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.longDescription_ = longDescription_; if (aliasBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); bitField0_ = (bitField0_ & ~0x00000010); } result.alias_ = alias_; } else { result.alias_ = aliasBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { if (typeBuilder_ == null) { result.type_ = type_; } else { result.type_ = typeBuilder_.build(); } to_bitField0_ |= 0x00000010; } 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.Mdb.MemberInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.MemberInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.MemberInfo other) { if (other == org.yamcs.protobuf.Mdb.MemberInfo.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasQualifiedName()) { bitField0_ |= 0x00000002; qualifiedName_ = other.qualifiedName_; onChanged(); } if (other.hasShortDescription()) { bitField0_ |= 0x00000004; shortDescription_ = other.shortDescription_; onChanged(); } if (other.hasLongDescription()) { bitField0_ |= 0x00000008; longDescription_ = other.longDescription_; onChanged(); } if (aliasBuilder_ == null) { if (!other.alias_.isEmpty()) { if (alias_.isEmpty()) { alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureAliasIsMutable(); alias_.addAll(other.alias_); } onChanged(); } } else { if (!other.alias_.isEmpty()) { if (aliasBuilder_.isEmpty()) { aliasBuilder_.dispose(); aliasBuilder_ = null; alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000010); aliasBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAliasFieldBuilder() : null; } else { aliasBuilder_.addAllMessages(other.alias_); } } } if (other.hasType()) { mergeType(other.getType()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getAliasCount(); i++) { if (!getAlias(i).isInitialized()) { return false; } } if (hasType()) { if (!getType().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.Mdb.MemberInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.MemberInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string qualifiedName = 2; */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder setQualifiedNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } private java.lang.Object shortDescription_ = ""; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string shortDescription = 3; */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder setShortDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } private java.lang.Object longDescription_ = ""; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string longDescription = 4; */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder setLongDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } private java.util.List alias_ = java.util.Collections.emptyList(); private void ensureAliasIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { alias_ = new java.util.ArrayList(alias_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> aliasBuilder_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasList() { if (aliasBuilder_ == null) { return java.util.Collections.unmodifiableList(alias_); } else { return aliasBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public int getAliasCount() { if (aliasBuilder_ == null) { return alias_.size(); } else { return aliasBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { if (aliasBuilder_ == null) { return alias_.get(index); } else { return aliasBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder setAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.set(index, value); onChanged(); } else { aliasBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder setAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.set(index, builderForValue.build()); onChanged(); } else { aliasBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.add(value); onChanged(); } else { aliasBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.add(index, value); onChanged(); } else { aliasBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.add(builderForValue.build()); onChanged(); } else { aliasBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.add(index, builderForValue.build()); onChanged(); } else { aliasBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAllAlias( java.lang.Iterable values) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, alias_); onChanged(); } else { aliasBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder clearAlias() { if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { aliasBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder removeAlias(int index) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.remove(index); onChanged(); } else { aliasBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getAliasBuilder( int index) { return getAliasFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { if (aliasBuilder_ == null) { return alias_.get(index); } else { return aliasBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasOrBuilderList() { if (aliasBuilder_ != null) { return aliasBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(alias_); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder() { return getAliasFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder( int index) { return getAliasFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasBuilderList() { return getAliasFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getAliasFieldBuilder() { if (aliasBuilder_ == null) { aliasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( alias_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); alias_ = null; } return aliasBuilder_; } private org.yamcs.protobuf.Mdb.ParameterTypeInfo type_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder> typeBuilder_; /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public boolean hasType() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo getType() { if (typeBuilder_ == null) { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public Builder setType(org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { typeBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public Builder setType( org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { typeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public Builder mergeType(org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (typeBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && type_ != null && type_ != org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance()) { type_ = org.yamcs.protobuf.Mdb.ParameterTypeInfo.newBuilder(type_).mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { typeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public Builder clearType() { if (typeBuilder_ == null) { type_ = null; onChanged(); } else { typeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder getTypeBuilder() { bitField0_ |= 0x00000020; onChanged(); return getTypeFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder>( getType(), getParentForChildren(), isClean()); type_ = null; } return typeBuilder_; } @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.mdb.MemberInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.MemberInfo) private static final org.yamcs.protobuf.Mdb.MemberInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.MemberInfo(); } public static org.yamcs.protobuf.Mdb.MemberInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MemberInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MemberInfo(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.Mdb.MemberInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ArrayInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ArrayInfo) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ boolean hasType(); /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ org.yamcs.protobuf.Mdb.ParameterTypeInfo getType(); /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypeOrBuilder(); /** * optional int32 dimensions = 2; */ boolean hasDimensions(); /** * optional int32 dimensions = 2; */ int getDimensions(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ArrayInfo} */ public static final class ArrayInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ArrayInfo) ArrayInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ArrayInfo.newBuilder() to construct. private ArrayInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ArrayInfo() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ArrayInfo( 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.Mdb.ParameterTypeInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = type_.toBuilder(); } type_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterTypeInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(type_); type_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 16: { bitField0_ |= 0x00000002; dimensions_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArrayInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArrayInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ArrayInfo.class, org.yamcs.protobuf.Mdb.ArrayInfo.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private org.yamcs.protobuf.Mdb.ParameterTypeInfo type_; /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo getType() { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypeOrBuilder() { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } public static final int DIMENSIONS_FIELD_NUMBER = 2; private int dimensions_; /** * optional int32 dimensions = 2; */ public boolean hasDimensions() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 dimensions = 2; */ public int getDimensions() { return dimensions_; } 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 (hasType()) { if (!getType().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, getType()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, dimensions_); } 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, getType()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, dimensions_); } 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.Mdb.ArrayInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ArrayInfo other = (org.yamcs.protobuf.Mdb.ArrayInfo) obj; if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType() .equals(other.getType())) return false; } if (hasDimensions() != other.hasDimensions()) return false; if (hasDimensions()) { if (getDimensions() != other.getDimensions()) 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 (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } if (hasDimensions()) { hash = (37 * hash) + DIMENSIONS_FIELD_NUMBER; hash = (53 * hash) + getDimensions(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ArrayInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArrayInfo 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.Mdb.ArrayInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArrayInfo 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.Mdb.ArrayInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArrayInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ArrayInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArrayInfo 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.Mdb.ArrayInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArrayInfo 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.Mdb.ArrayInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArrayInfo 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.Mdb.ArrayInfo 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.mdb.ArrayInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ArrayInfo) org.yamcs.protobuf.Mdb.ArrayInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArrayInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArrayInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ArrayInfo.class, org.yamcs.protobuf.Mdb.ArrayInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ArrayInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTypeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (typeBuilder_ == null) { type_ = null; } else { typeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); dimensions_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArrayInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ArrayInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ArrayInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ArrayInfo build() { org.yamcs.protobuf.Mdb.ArrayInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ArrayInfo buildPartial() { org.yamcs.protobuf.Mdb.ArrayInfo result = new org.yamcs.protobuf.Mdb.ArrayInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (typeBuilder_ == null) { result.type_ = type_; } else { result.type_ = typeBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.dimensions_ = dimensions_; to_bitField0_ |= 0x00000002; } 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.Mdb.ArrayInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.ArrayInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ArrayInfo other) { if (other == org.yamcs.protobuf.Mdb.ArrayInfo.getDefaultInstance()) return this; if (other.hasType()) { mergeType(other.getType()); } if (other.hasDimensions()) { setDimensions(other.getDimensions()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasType()) { if (!getType().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.Mdb.ArrayInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ArrayInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.yamcs.protobuf.Mdb.ParameterTypeInfo type_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder> typeBuilder_; /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo getType() { if (typeBuilder_ == null) { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ public Builder setType(org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { typeBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ public Builder setType( org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { typeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ public Builder mergeType(org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (typeBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && type_ != null && type_ != org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance()) { type_ = org.yamcs.protobuf.Mdb.ParameterTypeInfo.newBuilder(type_).mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { typeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ public Builder clearType() { if (typeBuilder_ == null) { type_ = null; onChanged(); } else { typeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder getTypeBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTypeFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder>( getType(), getParentForChildren(), isClean()); type_ = null; } return typeBuilder_; } private int dimensions_ ; /** * optional int32 dimensions = 2; */ public boolean hasDimensions() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 dimensions = 2; */ public int getDimensions() { return dimensions_; } /** * optional int32 dimensions = 2; */ public Builder setDimensions(int value) { bitField0_ |= 0x00000002; dimensions_ = value; onChanged(); return this; } /** * optional int32 dimensions = 2; */ public Builder clearDimensions() { bitField0_ = (bitField0_ & ~0x00000002); dimensions_ = 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.mdb.ArrayInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ArrayInfo) private static final org.yamcs.protobuf.Mdb.ArrayInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ArrayInfo(); } public static org.yamcs.protobuf.Mdb.ArrayInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ArrayInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ArrayInfo(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.Mdb.ArrayInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UsedByInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.UsedByInfo) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ java.util.List getAlgorithmList(); /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm(int index); /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ int getAlgorithmCount(); /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ java.util.List getAlgorithmOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ java.util.List getContainerList(); /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ org.yamcs.protobuf.Mdb.ContainerInfo getContainer(int index); /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ int getContainerCount(); /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ java.util.List getContainerOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.mdb.UsedByInfo} */ public static final class UsedByInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.UsedByInfo) UsedByInfoOrBuilder { private static final long serialVersionUID = 0L; // Use UsedByInfo.newBuilder() to construct. private UsedByInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UsedByInfo() { algorithm_ = java.util.Collections.emptyList(); container_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UsedByInfo( 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)) { algorithm_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } algorithm_.add( input.readMessage(org.yamcs.protobuf.Mdb.AlgorithmInfo.PARSER, extensionRegistry)); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { container_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } container_.add( input.readMessage(org.yamcs.protobuf.Mdb.ContainerInfo.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)) { algorithm_ = java.util.Collections.unmodifiableList(algorithm_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { container_ = java.util.Collections.unmodifiableList(container_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_UsedByInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_UsedByInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.UsedByInfo.class, org.yamcs.protobuf.Mdb.UsedByInfo.Builder.class); } public static final int ALGORITHM_FIELD_NUMBER = 1; private java.util.List algorithm_; /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public java.util.List getAlgorithmList() { return algorithm_; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public java.util.List getAlgorithmOrBuilderList() { return algorithm_; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public int getAlgorithmCount() { return algorithm_.size(); } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm(int index) { return algorithm_.get(index); } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder( int index) { return algorithm_.get(index); } public static final int CONTAINER_FIELD_NUMBER = 2; private java.util.List container_; /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public java.util.List getContainerList() { return container_; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public java.util.List getContainerOrBuilderList() { return container_; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public int getContainerCount() { return container_.size(); } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfo getContainer(int index) { return container_.get(index); } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder( int index) { return container_.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 < getAlgorithmCount(); i++) { if (!getAlgorithm(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getContainerCount(); i++) { if (!getContainer(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 < algorithm_.size(); i++) { output.writeMessage(1, algorithm_.get(i)); } for (int i = 0; i < container_.size(); i++) { output.writeMessage(2, container_.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 < algorithm_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, algorithm_.get(i)); } for (int i = 0; i < container_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, container_.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.Mdb.UsedByInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.UsedByInfo other = (org.yamcs.protobuf.Mdb.UsedByInfo) obj; if (!getAlgorithmList() .equals(other.getAlgorithmList())) return false; if (!getContainerList() .equals(other.getContainerList())) 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 (getAlgorithmCount() > 0) { hash = (37 * hash) + ALGORITHM_FIELD_NUMBER; hash = (53 * hash) + getAlgorithmList().hashCode(); } if (getContainerCount() > 0) { hash = (37 * hash) + CONTAINER_FIELD_NUMBER; hash = (53 * hash) + getContainerList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.UsedByInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.UsedByInfo 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.Mdb.UsedByInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.UsedByInfo 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.Mdb.UsedByInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.UsedByInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.UsedByInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.UsedByInfo 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.Mdb.UsedByInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.UsedByInfo 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.Mdb.UsedByInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.UsedByInfo 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.Mdb.UsedByInfo 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.mdb.UsedByInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.UsedByInfo) org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_UsedByInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_UsedByInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.UsedByInfo.class, org.yamcs.protobuf.Mdb.UsedByInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.UsedByInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAlgorithmFieldBuilder(); getContainerFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (algorithmBuilder_ == null) { algorithm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { algorithmBuilder_.clear(); } if (containerBuilder_ == null) { container_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { containerBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_UsedByInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.UsedByInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.UsedByInfo build() { org.yamcs.protobuf.Mdb.UsedByInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.UsedByInfo buildPartial() { org.yamcs.protobuf.Mdb.UsedByInfo result = new org.yamcs.protobuf.Mdb.UsedByInfo(this); int from_bitField0_ = bitField0_; if (algorithmBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { algorithm_ = java.util.Collections.unmodifiableList(algorithm_); bitField0_ = (bitField0_ & ~0x00000001); } result.algorithm_ = algorithm_; } else { result.algorithm_ = algorithmBuilder_.build(); } if (containerBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { container_ = java.util.Collections.unmodifiableList(container_); bitField0_ = (bitField0_ & ~0x00000002); } result.container_ = container_; } else { result.container_ = containerBuilder_.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.Mdb.UsedByInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.UsedByInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.UsedByInfo other) { if (other == org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance()) return this; if (algorithmBuilder_ == null) { if (!other.algorithm_.isEmpty()) { if (algorithm_.isEmpty()) { algorithm_ = other.algorithm_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAlgorithmIsMutable(); algorithm_.addAll(other.algorithm_); } onChanged(); } } else { if (!other.algorithm_.isEmpty()) { if (algorithmBuilder_.isEmpty()) { algorithmBuilder_.dispose(); algorithmBuilder_ = null; algorithm_ = other.algorithm_; bitField0_ = (bitField0_ & ~0x00000001); algorithmBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAlgorithmFieldBuilder() : null; } else { algorithmBuilder_.addAllMessages(other.algorithm_); } } } if (containerBuilder_ == null) { if (!other.container_.isEmpty()) { if (container_.isEmpty()) { container_ = other.container_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureContainerIsMutable(); container_.addAll(other.container_); } onChanged(); } } else { if (!other.container_.isEmpty()) { if (containerBuilder_.isEmpty()) { containerBuilder_.dispose(); containerBuilder_ = null; container_ = other.container_; bitField0_ = (bitField0_ & ~0x00000002); containerBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getContainerFieldBuilder() : null; } else { containerBuilder_.addAllMessages(other.container_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getAlgorithmCount(); i++) { if (!getAlgorithm(i).isInitialized()) { return false; } } for (int i = 0; i < getContainerCount(); i++) { if (!getContainer(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.Mdb.UsedByInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.UsedByInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List algorithm_ = java.util.Collections.emptyList(); private void ensureAlgorithmIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { algorithm_ = new java.util.ArrayList(algorithm_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder> algorithmBuilder_; /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public java.util.List getAlgorithmList() { if (algorithmBuilder_ == null) { return java.util.Collections.unmodifiableList(algorithm_); } else { return algorithmBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public int getAlgorithmCount() { if (algorithmBuilder_ == null) { return algorithm_.size(); } else { return algorithmBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm(int index) { if (algorithmBuilder_ == null) { return algorithm_.get(index); } else { return algorithmBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public Builder setAlgorithm( int index, org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlgorithmIsMutable(); algorithm_.set(index, value); onChanged(); } else { algorithmBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public Builder setAlgorithm( int index, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder builderForValue) { if (algorithmBuilder_ == null) { ensureAlgorithmIsMutable(); algorithm_.set(index, builderForValue.build()); onChanged(); } else { algorithmBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public Builder addAlgorithm(org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlgorithmIsMutable(); algorithm_.add(value); onChanged(); } else { algorithmBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public Builder addAlgorithm( int index, org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlgorithmIsMutable(); algorithm_.add(index, value); onChanged(); } else { algorithmBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public Builder addAlgorithm( org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder builderForValue) { if (algorithmBuilder_ == null) { ensureAlgorithmIsMutable(); algorithm_.add(builderForValue.build()); onChanged(); } else { algorithmBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public Builder addAlgorithm( int index, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder builderForValue) { if (algorithmBuilder_ == null) { ensureAlgorithmIsMutable(); algorithm_.add(index, builderForValue.build()); onChanged(); } else { algorithmBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public Builder addAllAlgorithm( java.lang.Iterable values) { if (algorithmBuilder_ == null) { ensureAlgorithmIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, algorithm_); onChanged(); } else { algorithmBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public Builder clearAlgorithm() { if (algorithmBuilder_ == null) { algorithm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { algorithmBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public Builder removeAlgorithm(int index) { if (algorithmBuilder_ == null) { ensureAlgorithmIsMutable(); algorithm_.remove(index); onChanged(); } else { algorithmBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder getAlgorithmBuilder( int index) { return getAlgorithmFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder( int index) { if (algorithmBuilder_ == null) { return algorithm_.get(index); } else { return algorithmBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public java.util.List getAlgorithmOrBuilderList() { if (algorithmBuilder_ != null) { return algorithmBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(algorithm_); } } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder addAlgorithmBuilder() { return getAlgorithmFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder addAlgorithmBuilder( int index) { return getAlgorithmFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ public java.util.List getAlgorithmBuilderList() { return getAlgorithmFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder> getAlgorithmFieldBuilder() { if (algorithmBuilder_ == null) { algorithmBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder>( algorithm_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); algorithm_ = null; } return algorithmBuilder_; } private java.util.List container_ = java.util.Collections.emptyList(); private void ensureContainerIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { container_ = new java.util.ArrayList(container_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> containerBuilder_; /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public java.util.List getContainerList() { if (containerBuilder_ == null) { return java.util.Collections.unmodifiableList(container_); } else { return containerBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public int getContainerCount() { if (containerBuilder_ == null) { return container_.size(); } else { return containerBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfo getContainer(int index) { if (containerBuilder_ == null) { return container_.get(index); } else { return containerBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder setContainer( int index, org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContainerIsMutable(); container_.set(index, value); onChanged(); } else { containerBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder setContainer( int index, org.yamcs.protobuf.Mdb.ContainerInfo.Builder builderForValue) { if (containerBuilder_ == null) { ensureContainerIsMutable(); container_.set(index, builderForValue.build()); onChanged(); } else { containerBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder addContainer(org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContainerIsMutable(); container_.add(value); onChanged(); } else { containerBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder addContainer( int index, org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContainerIsMutable(); container_.add(index, value); onChanged(); } else { containerBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder addContainer( org.yamcs.protobuf.Mdb.ContainerInfo.Builder builderForValue) { if (containerBuilder_ == null) { ensureContainerIsMutable(); container_.add(builderForValue.build()); onChanged(); } else { containerBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder addContainer( int index, org.yamcs.protobuf.Mdb.ContainerInfo.Builder builderForValue) { if (containerBuilder_ == null) { ensureContainerIsMutable(); container_.add(index, builderForValue.build()); onChanged(); } else { containerBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder addAllContainer( java.lang.Iterable values) { if (containerBuilder_ == null) { ensureContainerIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, container_); onChanged(); } else { containerBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder clearContainer() { if (containerBuilder_ == null) { container_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { containerBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder removeContainer(int index) { if (containerBuilder_ == null) { ensureContainerIsMutable(); container_.remove(index); onChanged(); } else { containerBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder getContainerBuilder( int index) { return getContainerFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder( int index) { if (containerBuilder_ == null) { return container_.get(index); } else { return containerBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public java.util.List getContainerOrBuilderList() { if (containerBuilder_ != null) { return containerBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(container_); } } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder addContainerBuilder() { return getContainerFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder addContainerBuilder( int index) { return getContainerFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public java.util.List getContainerBuilderList() { return getContainerFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> getContainerFieldBuilder() { if (containerBuilder_ == null) { containerBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder>( container_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); container_ = null; } return containerBuilder_; } @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.mdb.UsedByInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.UsedByInfo) private static final org.yamcs.protobuf.Mdb.UsedByInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.UsedByInfo(); } public static org.yamcs.protobuf.Mdb.UsedByInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UsedByInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UsedByInfo(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.Mdb.UsedByInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ParameterInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ParameterInfo) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 2; */ boolean hasQualifiedName(); /** * optional string qualifiedName = 2; */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 2; */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** * optional string shortDescription = 3; */ boolean hasShortDescription(); /** * optional string shortDescription = 3; */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; */ boolean hasLongDescription(); /** * optional string longDescription = 4; */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; */ com.google.protobuf.ByteString getLongDescriptionBytes(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ java.util.List getAliasList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ int getAliasCount(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ java.util.List getAliasOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index); /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ boolean hasType(); /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ org.yamcs.protobuf.Mdb.ParameterTypeInfo getType(); /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypeOrBuilder(); /** * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 7; */ boolean hasDataSource(); /** * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 7; */ org.yamcs.protobuf.Mdb.DataSourceType getDataSource(); /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ boolean hasUsedBy(); /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ org.yamcs.protobuf.Mdb.UsedByInfo getUsedBy(); /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder getUsedByOrBuilder(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ParameterInfo} */ public static final class ParameterInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ParameterInfo) ParameterInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ParameterInfo.newBuilder() to construct. private ParameterInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ParameterInfo() { name_ = ""; qualifiedName_ = ""; shortDescription_ = ""; longDescription_ = ""; alias_ = java.util.Collections.emptyList(); dataSource_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ParameterInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; qualifiedName_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; shortDescription_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; longDescription_ = bs; break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { alias_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } alias_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 50: { org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = type_.toBuilder(); } type_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterTypeInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(type_); type_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 56: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.DataSourceType value = org.yamcs.protobuf.Mdb.DataSourceType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(7, rawValue); } else { bitField0_ |= 0x00000020; dataSource_ = rawValue; } break; } case 66: { org.yamcs.protobuf.Mdb.UsedByInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000040) != 0)) { subBuilder = usedBy_.toBuilder(); } usedBy_ = input.readMessage(org.yamcs.protobuf.Mdb.UsedByInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(usedBy_); usedBy_ = 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 { if (((mutable_bitField0_ & 0x00000010) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ParameterInfo.class, org.yamcs.protobuf.Mdb.ParameterInfo.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 2; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHORTDESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object shortDescription_; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LONGDESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object longDescription_; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALIAS_FIELD_NUMBER = 5; private java.util.List alias_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { return alias_.get(index); } public static final int TYPE_FIELD_NUMBER = 6; private org.yamcs.protobuf.Mdb.ParameterTypeInfo type_; /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public boolean hasType() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo getType() { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypeOrBuilder() { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } public static final int DATASOURCE_FIELD_NUMBER = 7; private int dataSource_; /** * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 7; */ public boolean hasDataSource() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 7; */ public org.yamcs.protobuf.Mdb.DataSourceType getDataSource() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.DataSourceType result = org.yamcs.protobuf.Mdb.DataSourceType.valueOf(dataSource_); return result == null ? org.yamcs.protobuf.Mdb.DataSourceType.TELEMETERED : result; } public static final int USEDBY_FIELD_NUMBER = 8; private org.yamcs.protobuf.Mdb.UsedByInfo usedBy_; /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ public boolean hasUsedBy() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ public org.yamcs.protobuf.Mdb.UsedByInfo getUsedBy() { return usedBy_ == null ? org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance() : usedBy_; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ public org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder getUsedByOrBuilder() { return usedBy_ == null ? org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance() : usedBy_; } 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 < getAliasCount(); i++) { if (!getAlias(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasType()) { if (!getType().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasUsedBy()) { if (!getUsedBy().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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, longDescription_); } for (int i = 0; i < alias_.size(); i++) { output.writeMessage(5, alias_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(6, getType()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeEnum(7, dataSource_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(8, getUsedBy()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, longDescription_); } for (int i = 0; i < alias_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, alias_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getType()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(7, dataSource_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getUsedBy()); } 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.Mdb.ParameterInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ParameterInfo other = (org.yamcs.protobuf.Mdb.ParameterInfo) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasQualifiedName() != other.hasQualifiedName()) return false; if (hasQualifiedName()) { if (!getQualifiedName() .equals(other.getQualifiedName())) return false; } if (hasShortDescription() != other.hasShortDescription()) return false; if (hasShortDescription()) { if (!getShortDescription() .equals(other.getShortDescription())) return false; } if (hasLongDescription() != other.hasLongDescription()) return false; if (hasLongDescription()) { if (!getLongDescription() .equals(other.getLongDescription())) return false; } if (!getAliasList() .equals(other.getAliasList())) return false; if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType() .equals(other.getType())) return false; } if (hasDataSource() != other.hasDataSource()) return false; if (hasDataSource()) { if (dataSource_ != other.dataSource_) return false; } if (hasUsedBy() != other.hasUsedBy()) return false; if (hasUsedBy()) { if (!getUsedBy() .equals(other.getUsedBy())) 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasQualifiedName()) { hash = (37 * hash) + QUALIFIEDNAME_FIELD_NUMBER; hash = (53 * hash) + getQualifiedName().hashCode(); } if (hasShortDescription()) { hash = (37 * hash) + SHORTDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getShortDescription().hashCode(); } if (hasLongDescription()) { hash = (37 * hash) + LONGDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getLongDescription().hashCode(); } if (getAliasCount() > 0) { hash = (37 * hash) + ALIAS_FIELD_NUMBER; hash = (53 * hash) + getAliasList().hashCode(); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } if (hasDataSource()) { hash = (37 * hash) + DATASOURCE_FIELD_NUMBER; hash = (53 * hash) + dataSource_; } if (hasUsedBy()) { hash = (37 * hash) + USEDBY_FIELD_NUMBER; hash = (53 * hash) + getUsedBy().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ParameterInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ParameterInfo 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.Mdb.ParameterInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ParameterInfo 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.Mdb.ParameterInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ParameterInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ParameterInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ParameterInfo 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.Mdb.ParameterInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ParameterInfo 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.Mdb.ParameterInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ParameterInfo 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.Mdb.ParameterInfo 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.mdb.ParameterInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ParameterInfo) org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ParameterInfo.class, org.yamcs.protobuf.Mdb.ParameterInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ParameterInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAliasFieldBuilder(); getTypeFieldBuilder(); getUsedByFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); qualifiedName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); shortDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000004); longDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { aliasBuilder_.clear(); } if (typeBuilder_ == null) { type_ = null; } else { typeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); dataSource_ = 0; bitField0_ = (bitField0_ & ~0x00000040); if (usedByBuilder_ == null) { usedBy_ = null; } else { usedByBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo build() { org.yamcs.protobuf.Mdb.ParameterInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo buildPartial() { org.yamcs.protobuf.Mdb.ParameterInfo result = new org.yamcs.protobuf.Mdb.ParameterInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.qualifiedName_ = qualifiedName_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.shortDescription_ = shortDescription_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.longDescription_ = longDescription_; if (aliasBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); bitField0_ = (bitField0_ & ~0x00000010); } result.alias_ = alias_; } else { result.alias_ = aliasBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { if (typeBuilder_ == null) { result.type_ = type_; } else { result.type_ = typeBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000020; } result.dataSource_ = dataSource_; if (((from_bitField0_ & 0x00000080) != 0)) { if (usedByBuilder_ == null) { result.usedBy_ = usedBy_; } else { result.usedBy_ = usedByBuilder_.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.Mdb.ParameterInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.ParameterInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ParameterInfo other) { if (other == org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasQualifiedName()) { bitField0_ |= 0x00000002; qualifiedName_ = other.qualifiedName_; onChanged(); } if (other.hasShortDescription()) { bitField0_ |= 0x00000004; shortDescription_ = other.shortDescription_; onChanged(); } if (other.hasLongDescription()) { bitField0_ |= 0x00000008; longDescription_ = other.longDescription_; onChanged(); } if (aliasBuilder_ == null) { if (!other.alias_.isEmpty()) { if (alias_.isEmpty()) { alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureAliasIsMutable(); alias_.addAll(other.alias_); } onChanged(); } } else { if (!other.alias_.isEmpty()) { if (aliasBuilder_.isEmpty()) { aliasBuilder_.dispose(); aliasBuilder_ = null; alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000010); aliasBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAliasFieldBuilder() : null; } else { aliasBuilder_.addAllMessages(other.alias_); } } } if (other.hasType()) { mergeType(other.getType()); } if (other.hasDataSource()) { setDataSource(other.getDataSource()); } if (other.hasUsedBy()) { mergeUsedBy(other.getUsedBy()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getAliasCount(); i++) { if (!getAlias(i).isInitialized()) { return false; } } if (hasType()) { if (!getType().isInitialized()) { return false; } } if (hasUsedBy()) { if (!getUsedBy().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.Mdb.ParameterInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ParameterInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string qualifiedName = 2; */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder setQualifiedNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } private java.lang.Object shortDescription_ = ""; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string shortDescription = 3; */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder setShortDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } private java.lang.Object longDescription_ = ""; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string longDescription = 4; */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder setLongDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } private java.util.List alias_ = java.util.Collections.emptyList(); private void ensureAliasIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { alias_ = new java.util.ArrayList(alias_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> aliasBuilder_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasList() { if (aliasBuilder_ == null) { return java.util.Collections.unmodifiableList(alias_); } else { return aliasBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public int getAliasCount() { if (aliasBuilder_ == null) { return alias_.size(); } else { return aliasBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { if (aliasBuilder_ == null) { return alias_.get(index); } else { return aliasBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder setAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.set(index, value); onChanged(); } else { aliasBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder setAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.set(index, builderForValue.build()); onChanged(); } else { aliasBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.add(value); onChanged(); } else { aliasBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.add(index, value); onChanged(); } else { aliasBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.add(builderForValue.build()); onChanged(); } else { aliasBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.add(index, builderForValue.build()); onChanged(); } else { aliasBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAllAlias( java.lang.Iterable values) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, alias_); onChanged(); } else { aliasBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder clearAlias() { if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { aliasBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder removeAlias(int index) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.remove(index); onChanged(); } else { aliasBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getAliasBuilder( int index) { return getAliasFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { if (aliasBuilder_ == null) { return alias_.get(index); } else { return aliasBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasOrBuilderList() { if (aliasBuilder_ != null) { return aliasBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(alias_); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder() { return getAliasFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder( int index) { return getAliasFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasBuilderList() { return getAliasFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getAliasFieldBuilder() { if (aliasBuilder_ == null) { aliasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( alias_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); alias_ = null; } return aliasBuilder_; } private org.yamcs.protobuf.Mdb.ParameterTypeInfo type_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder> typeBuilder_; /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public boolean hasType() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo getType() { if (typeBuilder_ == null) { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public Builder setType(org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { typeBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public Builder setType( org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { typeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public Builder mergeType(org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (typeBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && type_ != null && type_ != org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance()) { type_ = org.yamcs.protobuf.Mdb.ParameterTypeInfo.newBuilder(type_).mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { typeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public Builder clearType() { if (typeBuilder_ == null) { type_ = null; onChanged(); } else { typeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder getTypeBuilder() { bitField0_ |= 0x00000020; onChanged(); return getTypeFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder>( getType(), getParentForChildren(), isClean()); type_ = null; } return typeBuilder_; } private int dataSource_ = 0; /** * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 7; */ public boolean hasDataSource() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 7; */ public org.yamcs.protobuf.Mdb.DataSourceType getDataSource() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.DataSourceType result = org.yamcs.protobuf.Mdb.DataSourceType.valueOf(dataSource_); return result == null ? org.yamcs.protobuf.Mdb.DataSourceType.TELEMETERED : result; } /** * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 7; */ public Builder setDataSource(org.yamcs.protobuf.Mdb.DataSourceType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; dataSource_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 7; */ public Builder clearDataSource() { bitField0_ = (bitField0_ & ~0x00000040); dataSource_ = 0; onChanged(); return this; } private org.yamcs.protobuf.Mdb.UsedByInfo usedBy_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.UsedByInfo, org.yamcs.protobuf.Mdb.UsedByInfo.Builder, org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder> usedByBuilder_; /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ public boolean hasUsedBy() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ public org.yamcs.protobuf.Mdb.UsedByInfo getUsedBy() { if (usedByBuilder_ == null) { return usedBy_ == null ? org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance() : usedBy_; } else { return usedByBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ public Builder setUsedBy(org.yamcs.protobuf.Mdb.UsedByInfo value) { if (usedByBuilder_ == null) { if (value == null) { throw new NullPointerException(); } usedBy_ = value; onChanged(); } else { usedByBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ public Builder setUsedBy( org.yamcs.protobuf.Mdb.UsedByInfo.Builder builderForValue) { if (usedByBuilder_ == null) { usedBy_ = builderForValue.build(); onChanged(); } else { usedByBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ public Builder mergeUsedBy(org.yamcs.protobuf.Mdb.UsedByInfo value) { if (usedByBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && usedBy_ != null && usedBy_ != org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance()) { usedBy_ = org.yamcs.protobuf.Mdb.UsedByInfo.newBuilder(usedBy_).mergeFrom(value).buildPartial(); } else { usedBy_ = value; } onChanged(); } else { usedByBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ public Builder clearUsedBy() { if (usedByBuilder_ == null) { usedBy_ = null; onChanged(); } else { usedByBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ public org.yamcs.protobuf.Mdb.UsedByInfo.Builder getUsedByBuilder() { bitField0_ |= 0x00000080; onChanged(); return getUsedByFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ public org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder getUsedByOrBuilder() { if (usedByBuilder_ != null) { return usedByBuilder_.getMessageOrBuilder(); } else { return usedBy_ == null ? org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance() : usedBy_; } } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.UsedByInfo, org.yamcs.protobuf.Mdb.UsedByInfo.Builder, org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder> getUsedByFieldBuilder() { if (usedByBuilder_ == null) { usedByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.UsedByInfo, org.yamcs.protobuf.Mdb.UsedByInfo.Builder, org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder>( getUsedBy(), getParentForChildren(), isClean()); usedBy_ = null; } return usedByBuilder_; } @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.mdb.ParameterInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ParameterInfo) private static final org.yamcs.protobuf.Mdb.ParameterInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ParameterInfo(); } public static org.yamcs.protobuf.Mdb.ParameterInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ParameterInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ParameterInfo(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.Mdb.ParameterInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ArgumentTypeInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ArgumentTypeInfo) com.google.protobuf.MessageOrBuilder { /** * optional string engType = 1; */ boolean hasEngType(); /** * optional string engType = 1; */ java.lang.String getEngType(); /** * optional string engType = 1; */ com.google.protobuf.ByteString getEngTypeBytes(); /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ boolean hasDataEncoding(); /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ org.yamcs.protobuf.Mdb.DataEncodingInfo getDataEncoding(); /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ org.yamcs.protobuf.Mdb.DataEncodingInfoOrBuilder getDataEncodingOrBuilder(); /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ java.util.List getUnitSetList(); /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ org.yamcs.protobuf.Mdb.UnitInfo getUnitSet(int index); /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ int getUnitSetCount(); /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ java.util.List getUnitSetOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ org.yamcs.protobuf.Mdb.UnitInfoOrBuilder getUnitSetOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ java.util.List getEnumValueList(); /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ org.yamcs.protobuf.Mdb.EnumValue getEnumValue(int index); /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ int getEnumValueCount(); /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ java.util.List getEnumValueOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ org.yamcs.protobuf.Mdb.EnumValueOrBuilder getEnumValueOrBuilder( int index); /** * optional double rangeMin = 6; */ boolean hasRangeMin(); /** * optional double rangeMin = 6; */ double getRangeMin(); /** * optional double rangeMax = 7; */ boolean hasRangeMax(); /** * optional double rangeMax = 7; */ double getRangeMax(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ArgumentTypeInfo} */ public static final class ArgumentTypeInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ArgumentTypeInfo) ArgumentTypeInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ArgumentTypeInfo.newBuilder() to construct. private ArgumentTypeInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ArgumentTypeInfo() { engType_ = ""; unitSet_ = java.util.Collections.emptyList(); enumValue_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ArgumentTypeInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; engType_ = bs; break; } case 18: { org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = dataEncoding_.toBuilder(); } dataEncoding_ = input.readMessage(org.yamcs.protobuf.Mdb.DataEncodingInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dataEncoding_); dataEncoding_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { unitSet_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } unitSet_.add( input.readMessage(org.yamcs.protobuf.Mdb.UnitInfo.PARSER, extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { enumValue_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } enumValue_.add( input.readMessage(org.yamcs.protobuf.Mdb.EnumValue.PARSER, extensionRegistry)); break; } case 49: { bitField0_ |= 0x00000004; rangeMin_ = input.readDouble(); break; } case 57: { bitField0_ |= 0x00000008; rangeMax_ = input.readDouble(); 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)) { unitSet_ = java.util.Collections.unmodifiableList(unitSet_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { enumValue_ = java.util.Collections.unmodifiableList(enumValue_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentTypeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentTypeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ArgumentTypeInfo.class, org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder.class); } private int bitField0_; public static final int ENGTYPE_FIELD_NUMBER = 1; private volatile java.lang.Object engType_; /** * optional string engType = 1; */ public boolean hasEngType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string engType = 1; */ public java.lang.String getEngType() { java.lang.Object ref = engType_; 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()) { engType_ = s; } return s; } } /** * optional string engType = 1; */ public com.google.protobuf.ByteString getEngTypeBytes() { java.lang.Object ref = engType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); engType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATAENCODING_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.DataEncodingInfo dataEncoding_; /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public boolean hasDataEncoding() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public org.yamcs.protobuf.Mdb.DataEncodingInfo getDataEncoding() { return dataEncoding_ == null ? org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance() : dataEncoding_; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public org.yamcs.protobuf.Mdb.DataEncodingInfoOrBuilder getDataEncodingOrBuilder() { return dataEncoding_ == null ? org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance() : dataEncoding_; } public static final int UNITSET_FIELD_NUMBER = 3; private java.util.List unitSet_; /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public java.util.List getUnitSetList() { return unitSet_; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public java.util.List getUnitSetOrBuilderList() { return unitSet_; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public int getUnitSetCount() { return unitSet_.size(); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfo getUnitSet(int index) { return unitSet_.get(index); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfoOrBuilder getUnitSetOrBuilder( int index) { return unitSet_.get(index); } public static final int ENUMVALUE_FIELD_NUMBER = 5; private java.util.List enumValue_; /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public java.util.List getEnumValueList() { return enumValue_; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public java.util.List getEnumValueOrBuilderList() { return enumValue_; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public int getEnumValueCount() { return enumValue_.size(); } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValue getEnumValue(int index) { return enumValue_.get(index); } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValueOrBuilder getEnumValueOrBuilder( int index) { return enumValue_.get(index); } public static final int RANGEMIN_FIELD_NUMBER = 6; private double rangeMin_; /** * optional double rangeMin = 6; */ public boolean hasRangeMin() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double rangeMin = 6; */ public double getRangeMin() { return rangeMin_; } public static final int RANGEMAX_FIELD_NUMBER = 7; private double rangeMax_; /** * optional double rangeMax = 7; */ public boolean hasRangeMax() { return ((bitField0_ & 0x00000008) != 0); } /** * optional double rangeMax = 7; */ public double getRangeMax() { return rangeMax_; } 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 (hasDataEncoding()) { if (!getDataEncoding().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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, engType_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getDataEncoding()); } for (int i = 0; i < unitSet_.size(); i++) { output.writeMessage(3, unitSet_.get(i)); } for (int i = 0; i < enumValue_.size(); i++) { output.writeMessage(5, enumValue_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(6, rangeMin_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeDouble(7, rangeMax_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, engType_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getDataEncoding()); } for (int i = 0; i < unitSet_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, unitSet_.get(i)); } for (int i = 0; i < enumValue_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, enumValue_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, rangeMin_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, rangeMax_); } 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.Mdb.ArgumentTypeInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ArgumentTypeInfo other = (org.yamcs.protobuf.Mdb.ArgumentTypeInfo) obj; if (hasEngType() != other.hasEngType()) return false; if (hasEngType()) { if (!getEngType() .equals(other.getEngType())) return false; } if (hasDataEncoding() != other.hasDataEncoding()) return false; if (hasDataEncoding()) { if (!getDataEncoding() .equals(other.getDataEncoding())) return false; } if (!getUnitSetList() .equals(other.getUnitSetList())) return false; if (!getEnumValueList() .equals(other.getEnumValueList())) return false; if (hasRangeMin() != other.hasRangeMin()) return false; if (hasRangeMin()) { if (java.lang.Double.doubleToLongBits(getRangeMin()) != java.lang.Double.doubleToLongBits( other.getRangeMin())) return false; } if (hasRangeMax() != other.hasRangeMax()) return false; if (hasRangeMax()) { if (java.lang.Double.doubleToLongBits(getRangeMax()) != java.lang.Double.doubleToLongBits( other.getRangeMax())) 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 (hasEngType()) { hash = (37 * hash) + ENGTYPE_FIELD_NUMBER; hash = (53 * hash) + getEngType().hashCode(); } if (hasDataEncoding()) { hash = (37 * hash) + DATAENCODING_FIELD_NUMBER; hash = (53 * hash) + getDataEncoding().hashCode(); } if (getUnitSetCount() > 0) { hash = (37 * hash) + UNITSET_FIELD_NUMBER; hash = (53 * hash) + getUnitSetList().hashCode(); } if (getEnumValueCount() > 0) { hash = (37 * hash) + ENUMVALUE_FIELD_NUMBER; hash = (53 * hash) + getEnumValueList().hashCode(); } if (hasRangeMin()) { hash = (37 * hash) + RANGEMIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRangeMin())); } if (hasRangeMax()) { hash = (37 * hash) + RANGEMAX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRangeMax())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ArgumentTypeInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentTypeInfo 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.Mdb.ArgumentTypeInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentTypeInfo 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.Mdb.ArgumentTypeInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentTypeInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ArgumentTypeInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentTypeInfo 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.Mdb.ArgumentTypeInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentTypeInfo 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.Mdb.ArgumentTypeInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentTypeInfo 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.Mdb.ArgumentTypeInfo 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.mdb.ArgumentTypeInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ArgumentTypeInfo) org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentTypeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentTypeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ArgumentTypeInfo.class, org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ArgumentTypeInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDataEncodingFieldBuilder(); getUnitSetFieldBuilder(); getEnumValueFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); engType_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (dataEncodingBuilder_ == null) { dataEncoding_ = null; } else { dataEncodingBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (unitSetBuilder_ == null) { unitSet_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { unitSetBuilder_.clear(); } if (enumValueBuilder_ == null) { enumValue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { enumValueBuilder_.clear(); } rangeMin_ = 0D; bitField0_ = (bitField0_ & ~0x00000010); rangeMax_ = 0D; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentTypeInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentTypeInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentTypeInfo build() { org.yamcs.protobuf.Mdb.ArgumentTypeInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentTypeInfo buildPartial() { org.yamcs.protobuf.Mdb.ArgumentTypeInfo result = new org.yamcs.protobuf.Mdb.ArgumentTypeInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.engType_ = engType_; if (((from_bitField0_ & 0x00000002) != 0)) { if (dataEncodingBuilder_ == null) { result.dataEncoding_ = dataEncoding_; } else { result.dataEncoding_ = dataEncodingBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (unitSetBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { unitSet_ = java.util.Collections.unmodifiableList(unitSet_); bitField0_ = (bitField0_ & ~0x00000004); } result.unitSet_ = unitSet_; } else { result.unitSet_ = unitSetBuilder_.build(); } if (enumValueBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { enumValue_ = java.util.Collections.unmodifiableList(enumValue_); bitField0_ = (bitField0_ & ~0x00000008); } result.enumValue_ = enumValue_; } else { result.enumValue_ = enumValueBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.rangeMin_ = rangeMin_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000020) != 0)) { result.rangeMax_ = rangeMax_; 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.Mdb.ArgumentTypeInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.ArgumentTypeInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ArgumentTypeInfo other) { if (other == org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance()) return this; if (other.hasEngType()) { bitField0_ |= 0x00000001; engType_ = other.engType_; onChanged(); } if (other.hasDataEncoding()) { mergeDataEncoding(other.getDataEncoding()); } if (unitSetBuilder_ == null) { if (!other.unitSet_.isEmpty()) { if (unitSet_.isEmpty()) { unitSet_ = other.unitSet_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureUnitSetIsMutable(); unitSet_.addAll(other.unitSet_); } onChanged(); } } else { if (!other.unitSet_.isEmpty()) { if (unitSetBuilder_.isEmpty()) { unitSetBuilder_.dispose(); unitSetBuilder_ = null; unitSet_ = other.unitSet_; bitField0_ = (bitField0_ & ~0x00000004); unitSetBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUnitSetFieldBuilder() : null; } else { unitSetBuilder_.addAllMessages(other.unitSet_); } } } if (enumValueBuilder_ == null) { if (!other.enumValue_.isEmpty()) { if (enumValue_.isEmpty()) { enumValue_ = other.enumValue_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureEnumValueIsMutable(); enumValue_.addAll(other.enumValue_); } onChanged(); } } else { if (!other.enumValue_.isEmpty()) { if (enumValueBuilder_.isEmpty()) { enumValueBuilder_.dispose(); enumValueBuilder_ = null; enumValue_ = other.enumValue_; bitField0_ = (bitField0_ & ~0x00000008); enumValueBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEnumValueFieldBuilder() : null; } else { enumValueBuilder_.addAllMessages(other.enumValue_); } } } if (other.hasRangeMin()) { setRangeMin(other.getRangeMin()); } if (other.hasRangeMax()) { setRangeMax(other.getRangeMax()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasDataEncoding()) { if (!getDataEncoding().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.Mdb.ArgumentTypeInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ArgumentTypeInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object engType_ = ""; /** * optional string engType = 1; */ public boolean hasEngType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string engType = 1; */ public java.lang.String getEngType() { java.lang.Object ref = engType_; 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()) { engType_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string engType = 1; */ public com.google.protobuf.ByteString getEngTypeBytes() { java.lang.Object ref = engType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); engType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string engType = 1; */ public Builder setEngType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; engType_ = value; onChanged(); return this; } /** * optional string engType = 1; */ public Builder clearEngType() { bitField0_ = (bitField0_ & ~0x00000001); engType_ = getDefaultInstance().getEngType(); onChanged(); return this; } /** * optional string engType = 1; */ public Builder setEngTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; engType_ = value; onChanged(); return this; } private org.yamcs.protobuf.Mdb.DataEncodingInfo dataEncoding_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.DataEncodingInfo, org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder, org.yamcs.protobuf.Mdb.DataEncodingInfoOrBuilder> dataEncodingBuilder_; /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public boolean hasDataEncoding() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public org.yamcs.protobuf.Mdb.DataEncodingInfo getDataEncoding() { if (dataEncodingBuilder_ == null) { return dataEncoding_ == null ? org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance() : dataEncoding_; } else { return dataEncodingBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public Builder setDataEncoding(org.yamcs.protobuf.Mdb.DataEncodingInfo value) { if (dataEncodingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dataEncoding_ = value; onChanged(); } else { dataEncodingBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public Builder setDataEncoding( org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder builderForValue) { if (dataEncodingBuilder_ == null) { dataEncoding_ = builderForValue.build(); onChanged(); } else { dataEncodingBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public Builder mergeDataEncoding(org.yamcs.protobuf.Mdb.DataEncodingInfo value) { if (dataEncodingBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && dataEncoding_ != null && dataEncoding_ != org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance()) { dataEncoding_ = org.yamcs.protobuf.Mdb.DataEncodingInfo.newBuilder(dataEncoding_).mergeFrom(value).buildPartial(); } else { dataEncoding_ = value; } onChanged(); } else { dataEncodingBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public Builder clearDataEncoding() { if (dataEncodingBuilder_ == null) { dataEncoding_ = null; onChanged(); } else { dataEncodingBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder getDataEncodingBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDataEncodingFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public org.yamcs.protobuf.Mdb.DataEncodingInfoOrBuilder getDataEncodingOrBuilder() { if (dataEncodingBuilder_ != null) { return dataEncodingBuilder_.getMessageOrBuilder(); } else { return dataEncoding_ == null ? org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance() : dataEncoding_; } } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.DataEncodingInfo, org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder, org.yamcs.protobuf.Mdb.DataEncodingInfoOrBuilder> getDataEncodingFieldBuilder() { if (dataEncodingBuilder_ == null) { dataEncodingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.DataEncodingInfo, org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder, org.yamcs.protobuf.Mdb.DataEncodingInfoOrBuilder>( getDataEncoding(), getParentForChildren(), isClean()); dataEncoding_ = null; } return dataEncodingBuilder_; } private java.util.List unitSet_ = java.util.Collections.emptyList(); private void ensureUnitSetIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { unitSet_ = new java.util.ArrayList(unitSet_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.UnitInfo, org.yamcs.protobuf.Mdb.UnitInfo.Builder, org.yamcs.protobuf.Mdb.UnitInfoOrBuilder> unitSetBuilder_; /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public java.util.List getUnitSetList() { if (unitSetBuilder_ == null) { return java.util.Collections.unmodifiableList(unitSet_); } else { return unitSetBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public int getUnitSetCount() { if (unitSetBuilder_ == null) { return unitSet_.size(); } else { return unitSetBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfo getUnitSet(int index) { if (unitSetBuilder_ == null) { return unitSet_.get(index); } else { return unitSetBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder setUnitSet( int index, org.yamcs.protobuf.Mdb.UnitInfo value) { if (unitSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnitSetIsMutable(); unitSet_.set(index, value); onChanged(); } else { unitSetBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder setUnitSet( int index, org.yamcs.protobuf.Mdb.UnitInfo.Builder builderForValue) { if (unitSetBuilder_ == null) { ensureUnitSetIsMutable(); unitSet_.set(index, builderForValue.build()); onChanged(); } else { unitSetBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder addUnitSet(org.yamcs.protobuf.Mdb.UnitInfo value) { if (unitSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnitSetIsMutable(); unitSet_.add(value); onChanged(); } else { unitSetBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder addUnitSet( int index, org.yamcs.protobuf.Mdb.UnitInfo value) { if (unitSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnitSetIsMutable(); unitSet_.add(index, value); onChanged(); } else { unitSetBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder addUnitSet( org.yamcs.protobuf.Mdb.UnitInfo.Builder builderForValue) { if (unitSetBuilder_ == null) { ensureUnitSetIsMutable(); unitSet_.add(builderForValue.build()); onChanged(); } else { unitSetBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder addUnitSet( int index, org.yamcs.protobuf.Mdb.UnitInfo.Builder builderForValue) { if (unitSetBuilder_ == null) { ensureUnitSetIsMutable(); unitSet_.add(index, builderForValue.build()); onChanged(); } else { unitSetBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder addAllUnitSet( java.lang.Iterable values) { if (unitSetBuilder_ == null) { ensureUnitSetIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, unitSet_); onChanged(); } else { unitSetBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder clearUnitSet() { if (unitSetBuilder_ == null) { unitSet_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { unitSetBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public Builder removeUnitSet(int index) { if (unitSetBuilder_ == null) { ensureUnitSetIsMutable(); unitSet_.remove(index); onChanged(); } else { unitSetBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfo.Builder getUnitSetBuilder( int index) { return getUnitSetFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfoOrBuilder getUnitSetOrBuilder( int index) { if (unitSetBuilder_ == null) { return unitSet_.get(index); } else { return unitSetBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public java.util.List getUnitSetOrBuilderList() { if (unitSetBuilder_ != null) { return unitSetBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(unitSet_); } } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfo.Builder addUnitSetBuilder() { return getUnitSetFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.UnitInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public org.yamcs.protobuf.Mdb.UnitInfo.Builder addUnitSetBuilder( int index) { return getUnitSetFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.UnitInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ public java.util.List getUnitSetBuilderList() { return getUnitSetFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.UnitInfo, org.yamcs.protobuf.Mdb.UnitInfo.Builder, org.yamcs.protobuf.Mdb.UnitInfoOrBuilder> getUnitSetFieldBuilder() { if (unitSetBuilder_ == null) { unitSetBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.UnitInfo, org.yamcs.protobuf.Mdb.UnitInfo.Builder, org.yamcs.protobuf.Mdb.UnitInfoOrBuilder>( unitSet_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); unitSet_ = null; } return unitSetBuilder_; } private java.util.List enumValue_ = java.util.Collections.emptyList(); private void ensureEnumValueIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { enumValue_ = new java.util.ArrayList(enumValue_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumValue, org.yamcs.protobuf.Mdb.EnumValue.Builder, org.yamcs.protobuf.Mdb.EnumValueOrBuilder> enumValueBuilder_; /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public java.util.List getEnumValueList() { if (enumValueBuilder_ == null) { return java.util.Collections.unmodifiableList(enumValue_); } else { return enumValueBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public int getEnumValueCount() { if (enumValueBuilder_ == null) { return enumValue_.size(); } else { return enumValueBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValue getEnumValue(int index) { if (enumValueBuilder_ == null) { return enumValue_.get(index); } else { return enumValueBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder setEnumValue( int index, org.yamcs.protobuf.Mdb.EnumValue value) { if (enumValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumValueIsMutable(); enumValue_.set(index, value); onChanged(); } else { enumValueBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder setEnumValue( int index, org.yamcs.protobuf.Mdb.EnumValue.Builder builderForValue) { if (enumValueBuilder_ == null) { ensureEnumValueIsMutable(); enumValue_.set(index, builderForValue.build()); onChanged(); } else { enumValueBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder addEnumValue(org.yamcs.protobuf.Mdb.EnumValue value) { if (enumValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumValueIsMutable(); enumValue_.add(value); onChanged(); } else { enumValueBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder addEnumValue( int index, org.yamcs.protobuf.Mdb.EnumValue value) { if (enumValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumValueIsMutable(); enumValue_.add(index, value); onChanged(); } else { enumValueBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder addEnumValue( org.yamcs.protobuf.Mdb.EnumValue.Builder builderForValue) { if (enumValueBuilder_ == null) { ensureEnumValueIsMutable(); enumValue_.add(builderForValue.build()); onChanged(); } else { enumValueBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder addEnumValue( int index, org.yamcs.protobuf.Mdb.EnumValue.Builder builderForValue) { if (enumValueBuilder_ == null) { ensureEnumValueIsMutable(); enumValue_.add(index, builderForValue.build()); onChanged(); } else { enumValueBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder addAllEnumValue( java.lang.Iterable values) { if (enumValueBuilder_ == null) { ensureEnumValueIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, enumValue_); onChanged(); } else { enumValueBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder clearEnumValue() { if (enumValueBuilder_ == null) { enumValue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { enumValueBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public Builder removeEnumValue(int index) { if (enumValueBuilder_ == null) { ensureEnumValueIsMutable(); enumValue_.remove(index); onChanged(); } else { enumValueBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValue.Builder getEnumValueBuilder( int index) { return getEnumValueFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValueOrBuilder getEnumValueOrBuilder( int index) { if (enumValueBuilder_ == null) { return enumValue_.get(index); } else { return enumValueBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public java.util.List getEnumValueOrBuilderList() { if (enumValueBuilder_ != null) { return enumValueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(enumValue_); } } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValue.Builder addEnumValueBuilder() { return getEnumValueFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.EnumValue.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValue.Builder addEnumValueBuilder( int index) { return getEnumValueFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.EnumValue.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public java.util.List getEnumValueBuilderList() { return getEnumValueFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumValue, org.yamcs.protobuf.Mdb.EnumValue.Builder, org.yamcs.protobuf.Mdb.EnumValueOrBuilder> getEnumValueFieldBuilder() { if (enumValueBuilder_ == null) { enumValueBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumValue, org.yamcs.protobuf.Mdb.EnumValue.Builder, org.yamcs.protobuf.Mdb.EnumValueOrBuilder>( enumValue_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); enumValue_ = null; } return enumValueBuilder_; } private double rangeMin_ ; /** * optional double rangeMin = 6; */ public boolean hasRangeMin() { return ((bitField0_ & 0x00000010) != 0); } /** * optional double rangeMin = 6; */ public double getRangeMin() { return rangeMin_; } /** * optional double rangeMin = 6; */ public Builder setRangeMin(double value) { bitField0_ |= 0x00000010; rangeMin_ = value; onChanged(); return this; } /** * optional double rangeMin = 6; */ public Builder clearRangeMin() { bitField0_ = (bitField0_ & ~0x00000010); rangeMin_ = 0D; onChanged(); return this; } private double rangeMax_ ; /** * optional double rangeMax = 7; */ public boolean hasRangeMax() { return ((bitField0_ & 0x00000020) != 0); } /** * optional double rangeMax = 7; */ public double getRangeMax() { return rangeMax_; } /** * optional double rangeMax = 7; */ public Builder setRangeMax(double value) { bitField0_ |= 0x00000020; rangeMax_ = value; onChanged(); return this; } /** * optional double rangeMax = 7; */ public Builder clearRangeMax() { bitField0_ = (bitField0_ & ~0x00000020); rangeMax_ = 0D; 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.mdb.ArgumentTypeInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ArgumentTypeInfo) private static final org.yamcs.protobuf.Mdb.ArgumentTypeInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ArgumentTypeInfo(); } public static org.yamcs.protobuf.Mdb.ArgumentTypeInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ArgumentTypeInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ArgumentTypeInfo(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.Mdb.ArgumentTypeInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ArgumentInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ArgumentInfo) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string description = 2; */ boolean hasDescription(); /** * optional string description = 2; */ java.lang.String getDescription(); /** * optional string description = 2; */ com.google.protobuf.ByteString getDescriptionBytes(); /** *
     *optional string type = 3;
     * 
* * optional string initialValue = 4; */ boolean hasInitialValue(); /** *
     *optional string type = 3;
     * 
* * optional string initialValue = 4; */ java.lang.String getInitialValue(); /** *
     *optional string type = 3;
     * 
* * optional string initialValue = 4; */ com.google.protobuf.ByteString getInitialValueBytes(); /** *
     * repeated UnitInfo unitSet = 5;
     * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ boolean hasType(); /** *
     * repeated UnitInfo unitSet = 5;
     * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ org.yamcs.protobuf.Mdb.ArgumentTypeInfo getType(); /** *
     * repeated UnitInfo unitSet = 5;
     * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder getTypeOrBuilder(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ArgumentInfo} */ public static final class ArgumentInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ArgumentInfo) ArgumentInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ArgumentInfo.newBuilder() to construct. private ArgumentInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ArgumentInfo() { name_ = ""; description_ = ""; initialValue_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ArgumentInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; description_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; initialValue_ = bs; break; } case 50: { org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = type_.toBuilder(); } type_ = input.readMessage(org.yamcs.protobuf.Mdb.ArgumentTypeInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(type_); type_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; 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.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ArgumentInfo.class, org.yamcs.protobuf.Mdb.ArgumentInfo.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** * optional string description = 2; */ public boolean hasDescription() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string description = 2; */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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()) { description_ = s; } return s; } } /** * optional string description = 2; */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INITIALVALUE_FIELD_NUMBER = 4; private volatile java.lang.Object initialValue_; /** *
     *optional string type = 3;
     * 
* * optional string initialValue = 4; */ public boolean hasInitialValue() { return ((bitField0_ & 0x00000004) != 0); } /** *
     *optional string type = 3;
     * 
* * optional string initialValue = 4; */ public java.lang.String getInitialValue() { java.lang.Object ref = initialValue_; 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()) { initialValue_ = s; } return s; } } /** *
     *optional string type = 3;
     * 
* * optional string initialValue = 4; */ public com.google.protobuf.ByteString getInitialValueBytes() { java.lang.Object ref = initialValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); initialValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 6; private org.yamcs.protobuf.Mdb.ArgumentTypeInfo type_; /** *
     * repeated UnitInfo unitSet = 5;
     * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public boolean hasType() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * repeated UnitInfo unitSet = 5;
     * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ArgumentTypeInfo getType() { return type_ == null ? org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance() : type_; } /** *
     * repeated UnitInfo unitSet = 5;
     * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder getTypeOrBuilder() { return type_ == null ? org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance() : type_; } 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 (hasType()) { if (!getType().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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, initialValue_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(6, getType()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, initialValue_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getType()); } 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.Mdb.ArgumentInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ArgumentInfo other = (org.yamcs.protobuf.Mdb.ArgumentInfo) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasDescription() != other.hasDescription()) return false; if (hasDescription()) { if (!getDescription() .equals(other.getDescription())) return false; } if (hasInitialValue() != other.hasInitialValue()) return false; if (hasInitialValue()) { if (!getInitialValue() .equals(other.getInitialValue())) return false; } if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType() .equals(other.getType())) 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } if (hasInitialValue()) { hash = (37 * hash) + INITIALVALUE_FIELD_NUMBER; hash = (53 * hash) + getInitialValue().hashCode(); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ArgumentInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentInfo 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.Mdb.ArgumentInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentInfo 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.Mdb.ArgumentInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ArgumentInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentInfo 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.Mdb.ArgumentInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentInfo 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.Mdb.ArgumentInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentInfo 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.Mdb.ArgumentInfo 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.mdb.ArgumentInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ArgumentInfo) org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ArgumentInfo.class, org.yamcs.protobuf.Mdb.ArgumentInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ArgumentInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTypeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); description_ = ""; bitField0_ = (bitField0_ & ~0x00000002); initialValue_ = ""; bitField0_ = (bitField0_ & ~0x00000004); if (typeBuilder_ == null) { type_ = null; } else { typeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentInfo build() { org.yamcs.protobuf.Mdb.ArgumentInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentInfo buildPartial() { org.yamcs.protobuf.Mdb.ArgumentInfo result = new org.yamcs.protobuf.Mdb.ArgumentInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.description_ = description_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.initialValue_ = initialValue_; if (((from_bitField0_ & 0x00000008) != 0)) { if (typeBuilder_ == null) { result.type_ = type_; } else { result.type_ = typeBuilder_.build(); } 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.Mdb.ArgumentInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.ArgumentInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ArgumentInfo other) { if (other == org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasDescription()) { bitField0_ |= 0x00000002; description_ = other.description_; onChanged(); } if (other.hasInitialValue()) { bitField0_ |= 0x00000004; initialValue_ = other.initialValue_; onChanged(); } if (other.hasType()) { mergeType(other.getType()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasType()) { if (!getType().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.Mdb.ArgumentInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ArgumentInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** * optional string description = 2; */ public boolean hasDescription() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string description = 2; */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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()) { description_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string description = 2; */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string description = 2; */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; description_ = value; onChanged(); return this; } /** * optional string description = 2; */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000002); description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** * optional string description = 2; */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; description_ = value; onChanged(); return this; } private java.lang.Object initialValue_ = ""; /** *
       *optional string type = 3;
       * 
* * optional string initialValue = 4; */ public boolean hasInitialValue() { return ((bitField0_ & 0x00000004) != 0); } /** *
       *optional string type = 3;
       * 
* * optional string initialValue = 4; */ public java.lang.String getInitialValue() { java.lang.Object ref = initialValue_; 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()) { initialValue_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       *optional string type = 3;
       * 
* * optional string initialValue = 4; */ public com.google.protobuf.ByteString getInitialValueBytes() { java.lang.Object ref = initialValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); initialValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *optional string type = 3;
       * 
* * optional string initialValue = 4; */ public Builder setInitialValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; initialValue_ = value; onChanged(); return this; } /** *
       *optional string type = 3;
       * 
* * optional string initialValue = 4; */ public Builder clearInitialValue() { bitField0_ = (bitField0_ & ~0x00000004); initialValue_ = getDefaultInstance().getInitialValue(); onChanged(); return this; } /** *
       *optional string type = 3;
       * 
* * optional string initialValue = 4; */ public Builder setInitialValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; initialValue_ = value; onChanged(); return this; } private org.yamcs.protobuf.Mdb.ArgumentTypeInfo type_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentTypeInfo, org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder> typeBuilder_; /** *
       * repeated UnitInfo unitSet = 5;
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public boolean hasType() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * repeated UnitInfo unitSet = 5;
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ArgumentTypeInfo getType() { if (typeBuilder_ == null) { return type_ == null ? org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** *
       * repeated UnitInfo unitSet = 5;
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public Builder setType(org.yamcs.protobuf.Mdb.ArgumentTypeInfo value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { typeBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** *
       * repeated UnitInfo unitSet = 5;
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public Builder setType( org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { typeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** *
       * repeated UnitInfo unitSet = 5;
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public Builder mergeType(org.yamcs.protobuf.Mdb.ArgumentTypeInfo value) { if (typeBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && type_ != null && type_ != org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance()) { type_ = org.yamcs.protobuf.Mdb.ArgumentTypeInfo.newBuilder(type_).mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { typeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** *
       * repeated UnitInfo unitSet = 5;
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public Builder clearType() { if (typeBuilder_ == null) { type_ = null; onChanged(); } else { typeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** *
       * repeated UnitInfo unitSet = 5;
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder getTypeBuilder() { bitField0_ |= 0x00000008; onChanged(); return getTypeFieldBuilder().getBuilder(); } /** *
       * repeated UnitInfo unitSet = 5;
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { return type_ == null ? org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance() : type_; } } /** *
       * repeated UnitInfo unitSet = 5;
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentTypeInfo, org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentTypeInfo, org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder>( getType(), getParentForChildren(), isClean()); type_ = null; } return typeBuilder_; } @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.mdb.ArgumentInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ArgumentInfo) private static final org.yamcs.protobuf.Mdb.ArgumentInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ArgumentInfo(); } public static org.yamcs.protobuf.Mdb.ArgumentInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ArgumentInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ArgumentInfo(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.Mdb.ArgumentInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ArgumentAssignmentInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ArgumentAssignmentInfo) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string value = 2; */ boolean hasValue(); /** * optional string value = 2; */ java.lang.String getValue(); /** * optional string value = 2; */ com.google.protobuf.ByteString getValueBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ArgumentAssignmentInfo} */ public static final class ArgumentAssignmentInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ArgumentAssignmentInfo) ArgumentAssignmentInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ArgumentAssignmentInfo.newBuilder() to construct. private ArgumentAssignmentInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ArgumentAssignmentInfo() { name_ = ""; value_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ArgumentAssignmentInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; value_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentAssignmentInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentAssignmentInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.class, org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object value_; /** * optional string value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string value = 2; */ public java.lang.String getValue() { java.lang.Object ref = value_; 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()) { value_ = s; } return s; } } /** * optional string value = 2; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } 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.Mdb.ArgumentAssignmentInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo other = (org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (!getValue() .equals(other.getValue())) 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo 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.Mdb.ArgumentAssignmentInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo 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.Mdb.ArgumentAssignmentInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo 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.Mdb.ArgumentAssignmentInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo 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.Mdb.ArgumentAssignmentInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo 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.Mdb.ArgumentAssignmentInfo 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.mdb.ArgumentAssignmentInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ArgumentAssignmentInfo) org.yamcs.protobuf.Mdb.ArgumentAssignmentInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentAssignmentInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentAssignmentInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.class, org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); value_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentAssignmentInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo build() { org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo buildPartial() { org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo result = new org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.value_ = value_; 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.Mdb.ArgumentAssignmentInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo other) { if (other == org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasValue()) { bitField0_ |= 0x00000002; value_ = other.value_; onChanged(); } 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.Mdb.ArgumentAssignmentInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object value_ = ""; /** * optional string value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string value = 2; */ public java.lang.String getValue() { java.lang.Object ref = value_; 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()) { value_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string value = 2; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string value = 2; */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } /** * optional string value = 2; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** * optional string value = 2; */ public Builder setValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; 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.mdb.ArgumentAssignmentInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ArgumentAssignmentInfo) private static final org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo(); } public static org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ArgumentAssignmentInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ArgumentAssignmentInfo(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.Mdb.ArgumentAssignmentInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SignificanceInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.SignificanceInfo) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType consequenceLevel = 1; */ boolean hasConsequenceLevel(); /** * optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType consequenceLevel = 1; */ org.yamcs.protobuf.Mdb.SignificanceInfo.SignificanceLevelType getConsequenceLevel(); /** * optional string reasonForWarning = 2; */ boolean hasReasonForWarning(); /** * optional string reasonForWarning = 2; */ java.lang.String getReasonForWarning(); /** * optional string reasonForWarning = 2; */ com.google.protobuf.ByteString getReasonForWarningBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.SignificanceInfo} */ public static final class SignificanceInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.SignificanceInfo) SignificanceInfoOrBuilder { private static final long serialVersionUID = 0L; // Use SignificanceInfo.newBuilder() to construct. private SignificanceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SignificanceInfo() { consequenceLevel_ = 1; reasonForWarning_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SignificanceInfo( 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 8: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.SignificanceInfo.SignificanceLevelType value = org.yamcs.protobuf.Mdb.SignificanceInfo.SignificanceLevelType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; consequenceLevel_ = rawValue; } break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; reasonForWarning_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_SignificanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SignificanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.SignificanceInfo.class, org.yamcs.protobuf.Mdb.SignificanceInfo.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType} */ public enum SignificanceLevelType implements com.google.protobuf.ProtocolMessageEnum { /** * NONE = 1; */ NONE(1), /** * WATCH = 2; */ WATCH(2), /** * WARNING = 3; */ WARNING(3), /** * DISTRESS = 4; */ DISTRESS(4), /** * CRITICAL = 5; */ CRITICAL(5), /** * SEVERE = 6; */ SEVERE(6), ; /** * NONE = 1; */ public static final int NONE_VALUE = 1; /** * WATCH = 2; */ public static final int WATCH_VALUE = 2; /** * WARNING = 3; */ public static final int WARNING_VALUE = 3; /** * DISTRESS = 4; */ public static final int DISTRESS_VALUE = 4; /** * CRITICAL = 5; */ public static final int CRITICAL_VALUE = 5; /** * SEVERE = 6; */ public static final int SEVERE_VALUE = 6; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static SignificanceLevelType valueOf(int value) { return forNumber(value); } public static SignificanceLevelType forNumber(int value) { switch (value) { case 1: return NONE; case 2: return WATCH; case 3: return WARNING; case 4: return DISTRESS; case 5: return CRITICAL; case 6: return SEVERE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SignificanceLevelType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SignificanceLevelType findValueByNumber(int number) { return SignificanceLevelType.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.Mdb.SignificanceInfo.getDescriptor().getEnumTypes().get(0); } private static final SignificanceLevelType[] VALUES = values(); public static SignificanceLevelType 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 SignificanceLevelType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType) } private int bitField0_; public static final int CONSEQUENCELEVEL_FIELD_NUMBER = 1; private int consequenceLevel_; /** * optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType consequenceLevel = 1; */ public boolean hasConsequenceLevel() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType consequenceLevel = 1; */ public org.yamcs.protobuf.Mdb.SignificanceInfo.SignificanceLevelType getConsequenceLevel() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.SignificanceInfo.SignificanceLevelType result = org.yamcs.protobuf.Mdb.SignificanceInfo.SignificanceLevelType.valueOf(consequenceLevel_); return result == null ? org.yamcs.protobuf.Mdb.SignificanceInfo.SignificanceLevelType.NONE : result; } public static final int REASONFORWARNING_FIELD_NUMBER = 2; private volatile java.lang.Object reasonForWarning_; /** * optional string reasonForWarning = 2; */ public boolean hasReasonForWarning() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string reasonForWarning = 2; */ public java.lang.String getReasonForWarning() { java.lang.Object ref = reasonForWarning_; 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()) { reasonForWarning_ = s; } return s; } } /** * optional string reasonForWarning = 2; */ public com.google.protobuf.ByteString getReasonForWarningBytes() { java.lang.Object ref = reasonForWarning_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); reasonForWarning_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, consequenceLevel_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, reasonForWarning_); } 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 .computeEnumSize(1, consequenceLevel_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reasonForWarning_); } 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.Mdb.SignificanceInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.SignificanceInfo other = (org.yamcs.protobuf.Mdb.SignificanceInfo) obj; if (hasConsequenceLevel() != other.hasConsequenceLevel()) return false; if (hasConsequenceLevel()) { if (consequenceLevel_ != other.consequenceLevel_) return false; } if (hasReasonForWarning() != other.hasReasonForWarning()) return false; if (hasReasonForWarning()) { if (!getReasonForWarning() .equals(other.getReasonForWarning())) 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 (hasConsequenceLevel()) { hash = (37 * hash) + CONSEQUENCELEVEL_FIELD_NUMBER; hash = (53 * hash) + consequenceLevel_; } if (hasReasonForWarning()) { hash = (37 * hash) + REASONFORWARNING_FIELD_NUMBER; hash = (53 * hash) + getReasonForWarning().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.SignificanceInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SignificanceInfo 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.Mdb.SignificanceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SignificanceInfo 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.Mdb.SignificanceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SignificanceInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.SignificanceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SignificanceInfo 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.Mdb.SignificanceInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SignificanceInfo 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.Mdb.SignificanceInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SignificanceInfo 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.Mdb.SignificanceInfo 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.mdb.SignificanceInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.SignificanceInfo) org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SignificanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SignificanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.SignificanceInfo.class, org.yamcs.protobuf.Mdb.SignificanceInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.SignificanceInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); consequenceLevel_ = 1; bitField0_ = (bitField0_ & ~0x00000001); reasonForWarning_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SignificanceInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.SignificanceInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.SignificanceInfo build() { org.yamcs.protobuf.Mdb.SignificanceInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.SignificanceInfo buildPartial() { org.yamcs.protobuf.Mdb.SignificanceInfo result = new org.yamcs.protobuf.Mdb.SignificanceInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.consequenceLevel_ = consequenceLevel_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.reasonForWarning_ = reasonForWarning_; 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.Mdb.SignificanceInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.SignificanceInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.SignificanceInfo other) { if (other == org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance()) return this; if (other.hasConsequenceLevel()) { setConsequenceLevel(other.getConsequenceLevel()); } if (other.hasReasonForWarning()) { bitField0_ |= 0x00000002; reasonForWarning_ = other.reasonForWarning_; onChanged(); } 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.Mdb.SignificanceInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.SignificanceInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int consequenceLevel_ = 1; /** * optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType consequenceLevel = 1; */ public boolean hasConsequenceLevel() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType consequenceLevel = 1; */ public org.yamcs.protobuf.Mdb.SignificanceInfo.SignificanceLevelType getConsequenceLevel() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.SignificanceInfo.SignificanceLevelType result = org.yamcs.protobuf.Mdb.SignificanceInfo.SignificanceLevelType.valueOf(consequenceLevel_); return result == null ? org.yamcs.protobuf.Mdb.SignificanceInfo.SignificanceLevelType.NONE : result; } /** * optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType consequenceLevel = 1; */ public Builder setConsequenceLevel(org.yamcs.protobuf.Mdb.SignificanceInfo.SignificanceLevelType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; consequenceLevel_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType consequenceLevel = 1; */ public Builder clearConsequenceLevel() { bitField0_ = (bitField0_ & ~0x00000001); consequenceLevel_ = 1; onChanged(); return this; } private java.lang.Object reasonForWarning_ = ""; /** * optional string reasonForWarning = 2; */ public boolean hasReasonForWarning() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string reasonForWarning = 2; */ public java.lang.String getReasonForWarning() { java.lang.Object ref = reasonForWarning_; 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()) { reasonForWarning_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string reasonForWarning = 2; */ public com.google.protobuf.ByteString getReasonForWarningBytes() { java.lang.Object ref = reasonForWarning_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); reasonForWarning_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string reasonForWarning = 2; */ public Builder setReasonForWarning( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; reasonForWarning_ = value; onChanged(); return this; } /** * optional string reasonForWarning = 2; */ public Builder clearReasonForWarning() { bitField0_ = (bitField0_ & ~0x00000002); reasonForWarning_ = getDefaultInstance().getReasonForWarning(); onChanged(); return this; } /** * optional string reasonForWarning = 2; */ public Builder setReasonForWarningBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; reasonForWarning_ = value; 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.mdb.SignificanceInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.SignificanceInfo) private static final org.yamcs.protobuf.Mdb.SignificanceInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.SignificanceInfo(); } public static org.yamcs.protobuf.Mdb.SignificanceInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SignificanceInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SignificanceInfo(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.Mdb.SignificanceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ComparisonInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ComparisonInfo) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ boolean hasParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ org.yamcs.protobuf.Mdb.ParameterInfo getParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(); /** * optional .yamcs.protobuf.mdb.ComparisonInfo.OperatorType operator = 2; */ boolean hasOperator(); /** * optional .yamcs.protobuf.mdb.ComparisonInfo.OperatorType operator = 2; */ org.yamcs.protobuf.Mdb.ComparisonInfo.OperatorType getOperator(); /** * optional string value = 3; */ boolean hasValue(); /** * optional string value = 3; */ java.lang.String getValue(); /** * optional string value = 3; */ com.google.protobuf.ByteString getValueBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ComparisonInfo} */ public static final class ComparisonInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ComparisonInfo) ComparisonInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ComparisonInfo.newBuilder() to construct. private ComparisonInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ComparisonInfo() { operator_ = 1; value_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ComparisonInfo( 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.Mdb.ParameterInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = parameter_.toBuilder(); } parameter_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(parameter_); parameter_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 16: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.ComparisonInfo.OperatorType value = org.yamcs.protobuf.Mdb.ComparisonInfo.OperatorType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000002; operator_ = rawValue; } break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; value_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_ComparisonInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ComparisonInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ComparisonInfo.class, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.mdb.ComparisonInfo.OperatorType} */ public enum OperatorType implements com.google.protobuf.ProtocolMessageEnum { /** * EQUAL_TO = 1; */ EQUAL_TO(1), /** * NOT_EQUAL_TO = 2; */ NOT_EQUAL_TO(2), /** * GREATER_THAN = 3; */ GREATER_THAN(3), /** * GREATER_THAN_OR_EQUAL_TO = 4; */ GREATER_THAN_OR_EQUAL_TO(4), /** * SMALLER_THAN = 5; */ SMALLER_THAN(5), /** * SMALLER_THAN_OR_EQUAL_TO = 6; */ SMALLER_THAN_OR_EQUAL_TO(6), ; /** * EQUAL_TO = 1; */ public static final int EQUAL_TO_VALUE = 1; /** * NOT_EQUAL_TO = 2; */ public static final int NOT_EQUAL_TO_VALUE = 2; /** * GREATER_THAN = 3; */ public static final int GREATER_THAN_VALUE = 3; /** * GREATER_THAN_OR_EQUAL_TO = 4; */ public static final int GREATER_THAN_OR_EQUAL_TO_VALUE = 4; /** * SMALLER_THAN = 5; */ public static final int SMALLER_THAN_VALUE = 5; /** * SMALLER_THAN_OR_EQUAL_TO = 6; */ public static final int SMALLER_THAN_OR_EQUAL_TO_VALUE = 6; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static OperatorType valueOf(int value) { return forNumber(value); } public static OperatorType forNumber(int value) { switch (value) { case 1: return EQUAL_TO; case 2: return NOT_EQUAL_TO; case 3: return GREATER_THAN; case 4: return GREATER_THAN_OR_EQUAL_TO; case 5: return SMALLER_THAN; case 6: return SMALLER_THAN_OR_EQUAL_TO; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< OperatorType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public OperatorType findValueByNumber(int number) { return OperatorType.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.Mdb.ComparisonInfo.getDescriptor().getEnumTypes().get(0); } private static final OperatorType[] VALUES = values(); public static OperatorType 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 OperatorType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.mdb.ComparisonInfo.OperatorType) } private int bitField0_; public static final int PARAMETER_FIELD_NUMBER = 1; private org.yamcs.protobuf.Mdb.ParameterInfo parameter_; /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } public static final int OPERATOR_FIELD_NUMBER = 2; private int operator_; /** * optional .yamcs.protobuf.mdb.ComparisonInfo.OperatorType operator = 2; */ public boolean hasOperator() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ComparisonInfo.OperatorType operator = 2; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.OperatorType getOperator() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.ComparisonInfo.OperatorType result = org.yamcs.protobuf.Mdb.ComparisonInfo.OperatorType.valueOf(operator_); return result == null ? org.yamcs.protobuf.Mdb.ComparisonInfo.OperatorType.EQUAL_TO : result; } public static final int VALUE_FIELD_NUMBER = 3; private volatile java.lang.Object value_; /** * optional string value = 3; */ public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string value = 3; */ public java.lang.String getValue() { java.lang.Object ref = value_; 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()) { value_ = s; } return s; } } /** * optional string value = 3; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (hasParameter()) { if (!getParameter().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, getParameter()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeEnum(2, operator_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, value_); } 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, getParameter()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, operator_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, value_); } 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.Mdb.ComparisonInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ComparisonInfo other = (org.yamcs.protobuf.Mdb.ComparisonInfo) obj; if (hasParameter() != other.hasParameter()) return false; if (hasParameter()) { if (!getParameter() .equals(other.getParameter())) return false; } if (hasOperator() != other.hasOperator()) return false; if (hasOperator()) { if (operator_ != other.operator_) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (!getValue() .equals(other.getValue())) 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 (hasParameter()) { hash = (37 * hash) + PARAMETER_FIELD_NUMBER; hash = (53 * hash) + getParameter().hashCode(); } if (hasOperator()) { hash = (37 * hash) + OPERATOR_FIELD_NUMBER; hash = (53 * hash) + operator_; } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ComparisonInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ComparisonInfo 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.Mdb.ComparisonInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ComparisonInfo 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.Mdb.ComparisonInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ComparisonInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ComparisonInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ComparisonInfo 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.Mdb.ComparisonInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ComparisonInfo 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.Mdb.ComparisonInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ComparisonInfo 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.Mdb.ComparisonInfo 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.mdb.ComparisonInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ComparisonInfo) org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ComparisonInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ComparisonInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ComparisonInfo.class, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ComparisonInfo.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_ = null; } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); operator_ = 1; bitField0_ = (bitField0_ & ~0x00000002); value_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ComparisonInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ComparisonInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ComparisonInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ComparisonInfo build() { org.yamcs.protobuf.Mdb.ComparisonInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ComparisonInfo buildPartial() { org.yamcs.protobuf.Mdb.ComparisonInfo result = new org.yamcs.protobuf.Mdb.ComparisonInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (parameterBuilder_ == null) { result.parameter_ = parameter_; } else { result.parameter_ = parameterBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.operator_ = operator_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.value_ = value_; 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.Mdb.ComparisonInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.ComparisonInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ComparisonInfo other) { if (other == org.yamcs.protobuf.Mdb.ComparisonInfo.getDefaultInstance()) return this; if (other.hasParameter()) { mergeParameter(other.getParameter()); } if (other.hasOperator()) { setOperator(other.getOperator()); } if (other.hasValue()) { bitField0_ |= 0x00000004; value_ = other.value_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasParameter()) { if (!getParameter().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.Mdb.ComparisonInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ComparisonInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.yamcs.protobuf.Mdb.ParameterInfo parameter_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> parameterBuilder_; /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { if (parameterBuilder_ == null) { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } else { return parameterBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public Builder setParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } parameter_ = value; onChanged(); } else { parameterBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public Builder setParameter( org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (parameterBuilder_ == null) { parameter_ = builderForValue.build(); onChanged(); } else { parameterBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public Builder mergeParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parameterBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && parameter_ != null && parameter_ != org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()) { parameter_ = org.yamcs.protobuf.Mdb.ParameterInfo.newBuilder(parameter_).mergeFrom(value).buildPartial(); } else { parameter_ = value; } onChanged(); } else { parameterBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public Builder clearParameter() { if (parameterBuilder_ == null) { parameter_ = null; onChanged(); } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getParameterBuilder() { bitField0_ |= 0x00000001; onChanged(); return getParameterFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { if (parameterBuilder_ != null) { return parameterBuilder_.getMessageOrBuilder(); } else { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> getParameterFieldBuilder() { if (parameterBuilder_ == null) { parameterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder>( getParameter(), getParentForChildren(), isClean()); parameter_ = null; } return parameterBuilder_; } private int operator_ = 1; /** * optional .yamcs.protobuf.mdb.ComparisonInfo.OperatorType operator = 2; */ public boolean hasOperator() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ComparisonInfo.OperatorType operator = 2; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.OperatorType getOperator() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.ComparisonInfo.OperatorType result = org.yamcs.protobuf.Mdb.ComparisonInfo.OperatorType.valueOf(operator_); return result == null ? org.yamcs.protobuf.Mdb.ComparisonInfo.OperatorType.EQUAL_TO : result; } /** * optional .yamcs.protobuf.mdb.ComparisonInfo.OperatorType operator = 2; */ public Builder setOperator(org.yamcs.protobuf.Mdb.ComparisonInfo.OperatorType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; operator_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.ComparisonInfo.OperatorType operator = 2; */ public Builder clearOperator() { bitField0_ = (bitField0_ & ~0x00000002); operator_ = 1; onChanged(); return this; } private java.lang.Object value_ = ""; /** * optional string value = 3; */ public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string value = 3; */ public java.lang.String getValue() { java.lang.Object ref = value_; 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()) { value_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string value = 3; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string value = 3; */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; value_ = value; onChanged(); return this; } /** * optional string value = 3; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000004); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** * optional string value = 3; */ public Builder setValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; value_ = value; 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.mdb.ComparisonInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ComparisonInfo) private static final org.yamcs.protobuf.Mdb.ComparisonInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ComparisonInfo(); } public static org.yamcs.protobuf.Mdb.ComparisonInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ComparisonInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ComparisonInfo(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.Mdb.ComparisonInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TransmissionConstraintInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.TransmissionConstraintInfo) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ java.util.List getComparisonList(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ org.yamcs.protobuf.Mdb.ComparisonInfo getComparison(int index); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ int getComparisonCount(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ java.util.List getComparisonOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getComparisonOrBuilder( int index); /** * optional int64 timeout = 2; */ boolean hasTimeout(); /** * optional int64 timeout = 2; */ long getTimeout(); } /** * Protobuf type {@code yamcs.protobuf.mdb.TransmissionConstraintInfo} */ public static final class TransmissionConstraintInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.TransmissionConstraintInfo) TransmissionConstraintInfoOrBuilder { private static final long serialVersionUID = 0L; // Use TransmissionConstraintInfo.newBuilder() to construct. private TransmissionConstraintInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransmissionConstraintInfo() { comparison_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TransmissionConstraintInfo( 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)) { comparison_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } comparison_.add( input.readMessage(org.yamcs.protobuf.Mdb.ComparisonInfo.PARSER, extensionRegistry)); break; } case 16: { bitField0_ |= 0x00000001; timeout_ = input.readInt64(); 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)) { comparison_ = java.util.Collections.unmodifiableList(comparison_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_TransmissionConstraintInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_TransmissionConstraintInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.class, org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.Builder.class); } private int bitField0_; public static final int COMPARISON_FIELD_NUMBER = 1; private java.util.List comparison_; /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonList() { return comparison_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonOrBuilderList() { return comparison_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public int getComparisonCount() { return comparison_.size(); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo getComparison(int index) { return comparison_.get(index); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getComparisonOrBuilder( int index) { return comparison_.get(index); } public static final int TIMEOUT_FIELD_NUMBER = 2; private long timeout_; /** * optional int64 timeout = 2; */ public boolean hasTimeout() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 timeout = 2; */ public long getTimeout() { return timeout_; } 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 < getComparisonCount(); i++) { if (!getComparison(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 < comparison_.size(); i++) { output.writeMessage(1, comparison_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(2, timeout_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < comparison_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, comparison_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, timeout_); } 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.Mdb.TransmissionConstraintInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.TransmissionConstraintInfo other = (org.yamcs.protobuf.Mdb.TransmissionConstraintInfo) obj; if (!getComparisonList() .equals(other.getComparisonList())) return false; if (hasTimeout() != other.hasTimeout()) return false; if (hasTimeout()) { if (getTimeout() != other.getTimeout()) 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 (getComparisonCount() > 0) { hash = (37 * hash) + COMPARISON_FIELD_NUMBER; hash = (53 * hash) + getComparisonList().hashCode(); } if (hasTimeout()) { hash = (37 * hash) + TIMEOUT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimeout()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.TransmissionConstraintInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.TransmissionConstraintInfo 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.Mdb.TransmissionConstraintInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.TransmissionConstraintInfo 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.Mdb.TransmissionConstraintInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.TransmissionConstraintInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.TransmissionConstraintInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.TransmissionConstraintInfo 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.Mdb.TransmissionConstraintInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.TransmissionConstraintInfo 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.Mdb.TransmissionConstraintInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.TransmissionConstraintInfo 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.Mdb.TransmissionConstraintInfo 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.mdb.TransmissionConstraintInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.TransmissionConstraintInfo) org.yamcs.protobuf.Mdb.TransmissionConstraintInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_TransmissionConstraintInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_TransmissionConstraintInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.class, org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getComparisonFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (comparisonBuilder_ == null) { comparison_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { comparisonBuilder_.clear(); } timeout_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_TransmissionConstraintInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.TransmissionConstraintInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.TransmissionConstraintInfo build() { org.yamcs.protobuf.Mdb.TransmissionConstraintInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.TransmissionConstraintInfo buildPartial() { org.yamcs.protobuf.Mdb.TransmissionConstraintInfo result = new org.yamcs.protobuf.Mdb.TransmissionConstraintInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (comparisonBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { comparison_ = java.util.Collections.unmodifiableList(comparison_); bitField0_ = (bitField0_ & ~0x00000001); } result.comparison_ = comparison_; } else { result.comparison_ = comparisonBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.timeout_ = timeout_; to_bitField0_ |= 0x00000001; } 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.Mdb.TransmissionConstraintInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.TransmissionConstraintInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.TransmissionConstraintInfo other) { if (other == org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.getDefaultInstance()) return this; if (comparisonBuilder_ == null) { if (!other.comparison_.isEmpty()) { if (comparison_.isEmpty()) { comparison_ = other.comparison_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureComparisonIsMutable(); comparison_.addAll(other.comparison_); } onChanged(); } } else { if (!other.comparison_.isEmpty()) { if (comparisonBuilder_.isEmpty()) { comparisonBuilder_.dispose(); comparisonBuilder_ = null; comparison_ = other.comparison_; bitField0_ = (bitField0_ & ~0x00000001); comparisonBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getComparisonFieldBuilder() : null; } else { comparisonBuilder_.addAllMessages(other.comparison_); } } } if (other.hasTimeout()) { setTimeout(other.getTimeout()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getComparisonCount(); i++) { if (!getComparison(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.Mdb.TransmissionConstraintInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.TransmissionConstraintInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List comparison_ = java.util.Collections.emptyList(); private void ensureComparisonIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { comparison_ = new java.util.ArrayList(comparison_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ComparisonInfo, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder, org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder> comparisonBuilder_; /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonList() { if (comparisonBuilder_ == null) { return java.util.Collections.unmodifiableList(comparison_); } else { return comparisonBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public int getComparisonCount() { if (comparisonBuilder_ == null) { return comparison_.size(); } else { return comparisonBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo getComparison(int index) { if (comparisonBuilder_ == null) { return comparison_.get(index); } else { return comparisonBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder setComparison( int index, org.yamcs.protobuf.Mdb.ComparisonInfo value) { if (comparisonBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComparisonIsMutable(); comparison_.set(index, value); onChanged(); } else { comparisonBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder setComparison( int index, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder builderForValue) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); comparison_.set(index, builderForValue.build()); onChanged(); } else { comparisonBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addComparison(org.yamcs.protobuf.Mdb.ComparisonInfo value) { if (comparisonBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComparisonIsMutable(); comparison_.add(value); onChanged(); } else { comparisonBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addComparison( int index, org.yamcs.protobuf.Mdb.ComparisonInfo value) { if (comparisonBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureComparisonIsMutable(); comparison_.add(index, value); onChanged(); } else { comparisonBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addComparison( org.yamcs.protobuf.Mdb.ComparisonInfo.Builder builderForValue) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); comparison_.add(builderForValue.build()); onChanged(); } else { comparisonBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addComparison( int index, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder builderForValue) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); comparison_.add(index, builderForValue.build()); onChanged(); } else { comparisonBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder addAllComparison( java.lang.Iterable values) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, comparison_); onChanged(); } else { comparisonBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder clearComparison() { if (comparisonBuilder_ == null) { comparison_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { comparisonBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public Builder removeComparison(int index) { if (comparisonBuilder_ == null) { ensureComparisonIsMutable(); comparison_.remove(index); onChanged(); } else { comparisonBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder getComparisonBuilder( int index) { return getComparisonFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getComparisonOrBuilder( int index) { if (comparisonBuilder_ == null) { return comparison_.get(index); } else { return comparisonBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonOrBuilderList() { if (comparisonBuilder_ != null) { return comparisonBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(comparison_); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder addComparisonBuilder() { return getComparisonFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ComparisonInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder addComparisonBuilder( int index) { return getComparisonFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ComparisonInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ public java.util.List getComparisonBuilderList() { return getComparisonFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ComparisonInfo, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder, org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder> getComparisonFieldBuilder() { if (comparisonBuilder_ == null) { comparisonBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ComparisonInfo, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder, org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder>( comparison_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); comparison_ = null; } return comparisonBuilder_; } private long timeout_ ; /** * optional int64 timeout = 2; */ public boolean hasTimeout() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 timeout = 2; */ public long getTimeout() { return timeout_; } /** * optional int64 timeout = 2; */ public Builder setTimeout(long value) { bitField0_ |= 0x00000002; timeout_ = value; onChanged(); return this; } /** * optional int64 timeout = 2; */ public Builder clearTimeout() { bitField0_ = (bitField0_ & ~0x00000002); timeout_ = 0L; 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.mdb.TransmissionConstraintInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.TransmissionConstraintInfo) private static final org.yamcs.protobuf.Mdb.TransmissionConstraintInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.TransmissionConstraintInfo(); } public static org.yamcs.protobuf.Mdb.TransmissionConstraintInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TransmissionConstraintInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TransmissionConstraintInfo(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.Mdb.TransmissionConstraintInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommandInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.CommandInfo) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 2; */ boolean hasQualifiedName(); /** * optional string qualifiedName = 2; */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 2; */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** * optional string shortDescription = 3; */ boolean hasShortDescription(); /** * optional string shortDescription = 3; */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; */ boolean hasLongDescription(); /** * optional string longDescription = 4; */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; */ com.google.protobuf.ByteString getLongDescriptionBytes(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ java.util.List getAliasList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ int getAliasCount(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ java.util.List getAliasOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index); /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ boolean hasBaseCommand(); /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ org.yamcs.protobuf.Mdb.CommandInfo getBaseCommand(); /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getBaseCommandOrBuilder(); /** * optional bool abstract = 7; */ boolean hasAbstract(); /** * optional bool abstract = 7; */ boolean getAbstract(); /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ java.util.List getArgumentList(); /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ org.yamcs.protobuf.Mdb.ArgumentInfo getArgument(int index); /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ int getArgumentCount(); /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ java.util.List getArgumentOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder getArgumentOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ java.util.List getArgumentAssignmentList(); /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo getArgumentAssignment(int index); /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ int getArgumentAssignmentCount(); /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ java.util.List getArgumentAssignmentOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ org.yamcs.protobuf.Mdb.ArgumentAssignmentInfoOrBuilder getArgumentAssignmentOrBuilder( int index); /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ boolean hasSignificance(); /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ org.yamcs.protobuf.Mdb.SignificanceInfo getSignificance(); /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder getSignificanceOrBuilder(); /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ java.util.List getConstraintList(); /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ org.yamcs.protobuf.Mdb.TransmissionConstraintInfo getConstraint(int index); /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ int getConstraintCount(); /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ java.util.List getConstraintOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ org.yamcs.protobuf.Mdb.TransmissionConstraintInfoOrBuilder getConstraintOrBuilder( int index); /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ boolean hasCommandContainer(); /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ org.yamcs.protobuf.Mdb.CommandContainerInfo getCommandContainer(); /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ org.yamcs.protobuf.Mdb.CommandContainerInfoOrBuilder getCommandContainerOrBuilder(); /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ java.util.List getVerifierList(); /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ org.yamcs.protobuf.Mdb.VerifierInfo getVerifier(int index); /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ int getVerifierCount(); /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ java.util.List getVerifierOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ org.yamcs.protobuf.Mdb.VerifierInfoOrBuilder getVerifierOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.mdb.CommandInfo} */ public static final class CommandInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.CommandInfo) CommandInfoOrBuilder { private static final long serialVersionUID = 0L; // Use CommandInfo.newBuilder() to construct. private CommandInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CommandInfo() { name_ = ""; qualifiedName_ = ""; shortDescription_ = ""; longDescription_ = ""; alias_ = java.util.Collections.emptyList(); argument_ = java.util.Collections.emptyList(); argumentAssignment_ = java.util.Collections.emptyList(); constraint_ = java.util.Collections.emptyList(); verifier_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommandInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; qualifiedName_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; shortDescription_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; longDescription_ = bs; break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { alias_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } alias_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 50: { org.yamcs.protobuf.Mdb.CommandInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = baseCommand_.toBuilder(); } baseCommand_ = input.readMessage(org.yamcs.protobuf.Mdb.CommandInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(baseCommand_); baseCommand_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 56: { bitField0_ |= 0x00000020; abstract_ = input.readBool(); break; } case 66: { if (!((mutable_bitField0_ & 0x00000080) != 0)) { argument_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } argument_.add( input.readMessage(org.yamcs.protobuf.Mdb.ArgumentInfo.PARSER, extensionRegistry)); break; } case 74: { if (!((mutable_bitField0_ & 0x00000100) != 0)) { argumentAssignment_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000100; } argumentAssignment_.add( input.readMessage(org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.PARSER, extensionRegistry)); break; } case 82: { org.yamcs.protobuf.Mdb.SignificanceInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000040) != 0)) { subBuilder = significance_.toBuilder(); } significance_ = input.readMessage(org.yamcs.protobuf.Mdb.SignificanceInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(significance_); significance_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 90: { if (!((mutable_bitField0_ & 0x00000400) != 0)) { constraint_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000400; } constraint_.add( input.readMessage(org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.PARSER, extensionRegistry)); break; } case 106: { org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000080) != 0)) { subBuilder = commandContainer_.toBuilder(); } commandContainer_ = input.readMessage(org.yamcs.protobuf.Mdb.CommandContainerInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(commandContainer_); commandContainer_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 114: { if (!((mutable_bitField0_ & 0x00001000) != 0)) { verifier_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00001000; } verifier_.add( input.readMessage(org.yamcs.protobuf.Mdb.VerifierInfo.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_ & 0x00000010) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); } if (((mutable_bitField0_ & 0x00000080) != 0)) { argument_ = java.util.Collections.unmodifiableList(argument_); } if (((mutable_bitField0_ & 0x00000100) != 0)) { argumentAssignment_ = java.util.Collections.unmodifiableList(argumentAssignment_); } if (((mutable_bitField0_ & 0x00000400) != 0)) { constraint_ = java.util.Collections.unmodifiableList(constraint_); } if (((mutable_bitField0_ & 0x00001000) != 0)) { verifier_ = java.util.Collections.unmodifiableList(verifier_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CommandInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CommandInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.CommandInfo.class, org.yamcs.protobuf.Mdb.CommandInfo.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 2; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHORTDESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object shortDescription_; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LONGDESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object longDescription_; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALIAS_FIELD_NUMBER = 5; private java.util.List alias_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { return alias_.get(index); } public static final int BASECOMMAND_FIELD_NUMBER = 6; private org.yamcs.protobuf.Mdb.CommandInfo baseCommand_; /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ public boolean hasBaseCommand() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ public org.yamcs.protobuf.Mdb.CommandInfo getBaseCommand() { return baseCommand_ == null ? org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance() : baseCommand_; } /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ public org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getBaseCommandOrBuilder() { return baseCommand_ == null ? org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance() : baseCommand_; } public static final int ABSTRACT_FIELD_NUMBER = 7; private boolean abstract_; /** * optional bool abstract = 7; */ public boolean hasAbstract() { return ((bitField0_ & 0x00000020) != 0); } /** * optional bool abstract = 7; */ public boolean getAbstract() { return abstract_; } public static final int ARGUMENT_FIELD_NUMBER = 8; private java.util.List argument_; /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public java.util.List getArgumentList() { return argument_; } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public java.util.List getArgumentOrBuilderList() { return argument_; } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public int getArgumentCount() { return argument_.size(); } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public org.yamcs.protobuf.Mdb.ArgumentInfo getArgument(int index) { return argument_.get(index); } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder getArgumentOrBuilder( int index) { return argument_.get(index); } public static final int ARGUMENTASSIGNMENT_FIELD_NUMBER = 9; private java.util.List argumentAssignment_; /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public java.util.List getArgumentAssignmentList() { return argumentAssignment_; } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public java.util.List getArgumentAssignmentOrBuilderList() { return argumentAssignment_; } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public int getArgumentAssignmentCount() { return argumentAssignment_.size(); } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo getArgumentAssignment(int index) { return argumentAssignment_.get(index); } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public org.yamcs.protobuf.Mdb.ArgumentAssignmentInfoOrBuilder getArgumentAssignmentOrBuilder( int index) { return argumentAssignment_.get(index); } public static final int SIGNIFICANCE_FIELD_NUMBER = 10; private org.yamcs.protobuf.Mdb.SignificanceInfo significance_; /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ public boolean hasSignificance() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ public org.yamcs.protobuf.Mdb.SignificanceInfo getSignificance() { return significance_ == null ? org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance() : significance_; } /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ public org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder getSignificanceOrBuilder() { return significance_ == null ? org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance() : significance_; } public static final int CONSTRAINT_FIELD_NUMBER = 11; private java.util.List constraint_; /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public java.util.List getConstraintList() { return constraint_; } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public java.util.List getConstraintOrBuilderList() { return constraint_; } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public int getConstraintCount() { return constraint_.size(); } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public org.yamcs.protobuf.Mdb.TransmissionConstraintInfo getConstraint(int index) { return constraint_.get(index); } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public org.yamcs.protobuf.Mdb.TransmissionConstraintInfoOrBuilder getConstraintOrBuilder( int index) { return constraint_.get(index); } public static final int COMMANDCONTAINER_FIELD_NUMBER = 13; private org.yamcs.protobuf.Mdb.CommandContainerInfo commandContainer_; /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ public boolean hasCommandContainer() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ public org.yamcs.protobuf.Mdb.CommandContainerInfo getCommandContainer() { return commandContainer_ == null ? org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance() : commandContainer_; } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ public org.yamcs.protobuf.Mdb.CommandContainerInfoOrBuilder getCommandContainerOrBuilder() { return commandContainer_ == null ? org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance() : commandContainer_; } public static final int VERIFIER_FIELD_NUMBER = 14; private java.util.List verifier_; /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public java.util.List getVerifierList() { return verifier_; } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public java.util.List getVerifierOrBuilderList() { return verifier_; } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public int getVerifierCount() { return verifier_.size(); } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public org.yamcs.protobuf.Mdb.VerifierInfo getVerifier(int index) { return verifier_.get(index); } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public org.yamcs.protobuf.Mdb.VerifierInfoOrBuilder getVerifierOrBuilder( int index) { return verifier_.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 < getAliasCount(); i++) { if (!getAlias(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasBaseCommand()) { if (!getBaseCommand().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getArgumentCount(); i++) { if (!getArgument(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getConstraintCount(); i++) { if (!getConstraint(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasCommandContainer()) { if (!getCommandContainer().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getVerifierCount(); i++) { if (!getVerifier(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_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, longDescription_); } for (int i = 0; i < alias_.size(); i++) { output.writeMessage(5, alias_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(6, getBaseCommand()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBool(7, abstract_); } for (int i = 0; i < argument_.size(); i++) { output.writeMessage(8, argument_.get(i)); } for (int i = 0; i < argumentAssignment_.size(); i++) { output.writeMessage(9, argumentAssignment_.get(i)); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(10, getSignificance()); } for (int i = 0; i < constraint_.size(); i++) { output.writeMessage(11, constraint_.get(i)); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(13, getCommandContainer()); } for (int i = 0; i < verifier_.size(); i++) { output.writeMessage(14, verifier_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, longDescription_); } for (int i = 0; i < alias_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, alias_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getBaseCommand()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, abstract_); } for (int i = 0; i < argument_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, argument_.get(i)); } for (int i = 0; i < argumentAssignment_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, argumentAssignment_.get(i)); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getSignificance()); } for (int i = 0; i < constraint_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, constraint_.get(i)); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getCommandContainer()); } for (int i = 0; i < verifier_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, verifier_.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.Mdb.CommandInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.CommandInfo other = (org.yamcs.protobuf.Mdb.CommandInfo) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasQualifiedName() != other.hasQualifiedName()) return false; if (hasQualifiedName()) { if (!getQualifiedName() .equals(other.getQualifiedName())) return false; } if (hasShortDescription() != other.hasShortDescription()) return false; if (hasShortDescription()) { if (!getShortDescription() .equals(other.getShortDescription())) return false; } if (hasLongDescription() != other.hasLongDescription()) return false; if (hasLongDescription()) { if (!getLongDescription() .equals(other.getLongDescription())) return false; } if (!getAliasList() .equals(other.getAliasList())) return false; if (hasBaseCommand() != other.hasBaseCommand()) return false; if (hasBaseCommand()) { if (!getBaseCommand() .equals(other.getBaseCommand())) return false; } if (hasAbstract() != other.hasAbstract()) return false; if (hasAbstract()) { if (getAbstract() != other.getAbstract()) return false; } if (!getArgumentList() .equals(other.getArgumentList())) return false; if (!getArgumentAssignmentList() .equals(other.getArgumentAssignmentList())) return false; if (hasSignificance() != other.hasSignificance()) return false; if (hasSignificance()) { if (!getSignificance() .equals(other.getSignificance())) return false; } if (!getConstraintList() .equals(other.getConstraintList())) return false; if (hasCommandContainer() != other.hasCommandContainer()) return false; if (hasCommandContainer()) { if (!getCommandContainer() .equals(other.getCommandContainer())) return false; } if (!getVerifierList() .equals(other.getVerifierList())) 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasQualifiedName()) { hash = (37 * hash) + QUALIFIEDNAME_FIELD_NUMBER; hash = (53 * hash) + getQualifiedName().hashCode(); } if (hasShortDescription()) { hash = (37 * hash) + SHORTDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getShortDescription().hashCode(); } if (hasLongDescription()) { hash = (37 * hash) + LONGDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getLongDescription().hashCode(); } if (getAliasCount() > 0) { hash = (37 * hash) + ALIAS_FIELD_NUMBER; hash = (53 * hash) + getAliasList().hashCode(); } if (hasBaseCommand()) { hash = (37 * hash) + BASECOMMAND_FIELD_NUMBER; hash = (53 * hash) + getBaseCommand().hashCode(); } if (hasAbstract()) { hash = (37 * hash) + ABSTRACT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAbstract()); } if (getArgumentCount() > 0) { hash = (37 * hash) + ARGUMENT_FIELD_NUMBER; hash = (53 * hash) + getArgumentList().hashCode(); } if (getArgumentAssignmentCount() > 0) { hash = (37 * hash) + ARGUMENTASSIGNMENT_FIELD_NUMBER; hash = (53 * hash) + getArgumentAssignmentList().hashCode(); } if (hasSignificance()) { hash = (37 * hash) + SIGNIFICANCE_FIELD_NUMBER; hash = (53 * hash) + getSignificance().hashCode(); } if (getConstraintCount() > 0) { hash = (37 * hash) + CONSTRAINT_FIELD_NUMBER; hash = (53 * hash) + getConstraintList().hashCode(); } if (hasCommandContainer()) { hash = (37 * hash) + COMMANDCONTAINER_FIELD_NUMBER; hash = (53 * hash) + getCommandContainer().hashCode(); } if (getVerifierCount() > 0) { hash = (37 * hash) + VERIFIER_FIELD_NUMBER; hash = (53 * hash) + getVerifierList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.CommandInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CommandInfo 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.Mdb.CommandInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CommandInfo 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.Mdb.CommandInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CommandInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.CommandInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CommandInfo 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.Mdb.CommandInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CommandInfo 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.Mdb.CommandInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CommandInfo 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.Mdb.CommandInfo 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.mdb.CommandInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.CommandInfo) org.yamcs.protobuf.Mdb.CommandInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CommandInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CommandInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.CommandInfo.class, org.yamcs.protobuf.Mdb.CommandInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.CommandInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAliasFieldBuilder(); getBaseCommandFieldBuilder(); getArgumentFieldBuilder(); getArgumentAssignmentFieldBuilder(); getSignificanceFieldBuilder(); getConstraintFieldBuilder(); getCommandContainerFieldBuilder(); getVerifierFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); qualifiedName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); shortDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000004); longDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { aliasBuilder_.clear(); } if (baseCommandBuilder_ == null) { baseCommand_ = null; } else { baseCommandBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); abstract_ = false; bitField0_ = (bitField0_ & ~0x00000040); if (argumentBuilder_ == null) { argument_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { argumentBuilder_.clear(); } if (argumentAssignmentBuilder_ == null) { argumentAssignment_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); } else { argumentAssignmentBuilder_.clear(); } if (significanceBuilder_ == null) { significance_ = null; } else { significanceBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); if (constraintBuilder_ == null) { constraint_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); } else { constraintBuilder_.clear(); } if (commandContainerBuilder_ == null) { commandContainer_ = null; } else { commandContainerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); if (verifierBuilder_ == null) { verifier_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); } else { verifierBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CommandInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.CommandInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.CommandInfo build() { org.yamcs.protobuf.Mdb.CommandInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.CommandInfo buildPartial() { org.yamcs.protobuf.Mdb.CommandInfo result = new org.yamcs.protobuf.Mdb.CommandInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.qualifiedName_ = qualifiedName_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.shortDescription_ = shortDescription_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.longDescription_ = longDescription_; if (aliasBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); bitField0_ = (bitField0_ & ~0x00000010); } result.alias_ = alias_; } else { result.alias_ = aliasBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { if (baseCommandBuilder_ == null) { result.baseCommand_ = baseCommand_; } else { result.baseCommand_ = baseCommandBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { result.abstract_ = abstract_; to_bitField0_ |= 0x00000020; } if (argumentBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { argument_ = java.util.Collections.unmodifiableList(argument_); bitField0_ = (bitField0_ & ~0x00000080); } result.argument_ = argument_; } else { result.argument_ = argumentBuilder_.build(); } if (argumentAssignmentBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { argumentAssignment_ = java.util.Collections.unmodifiableList(argumentAssignment_); bitField0_ = (bitField0_ & ~0x00000100); } result.argumentAssignment_ = argumentAssignment_; } else { result.argumentAssignment_ = argumentAssignmentBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { if (significanceBuilder_ == null) { result.significance_ = significance_; } else { result.significance_ = significanceBuilder_.build(); } to_bitField0_ |= 0x00000040; } if (constraintBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { constraint_ = java.util.Collections.unmodifiableList(constraint_); bitField0_ = (bitField0_ & ~0x00000400); } result.constraint_ = constraint_; } else { result.constraint_ = constraintBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { if (commandContainerBuilder_ == null) { result.commandContainer_ = commandContainer_; } else { result.commandContainer_ = commandContainerBuilder_.build(); } to_bitField0_ |= 0x00000080; } if (verifierBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0)) { verifier_ = java.util.Collections.unmodifiableList(verifier_); bitField0_ = (bitField0_ & ~0x00001000); } result.verifier_ = verifier_; } else { result.verifier_ = verifierBuilder_.build(); } 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.Mdb.CommandInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.CommandInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.CommandInfo other) { if (other == org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasQualifiedName()) { bitField0_ |= 0x00000002; qualifiedName_ = other.qualifiedName_; onChanged(); } if (other.hasShortDescription()) { bitField0_ |= 0x00000004; shortDescription_ = other.shortDescription_; onChanged(); } if (other.hasLongDescription()) { bitField0_ |= 0x00000008; longDescription_ = other.longDescription_; onChanged(); } if (aliasBuilder_ == null) { if (!other.alias_.isEmpty()) { if (alias_.isEmpty()) { alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureAliasIsMutable(); alias_.addAll(other.alias_); } onChanged(); } } else { if (!other.alias_.isEmpty()) { if (aliasBuilder_.isEmpty()) { aliasBuilder_.dispose(); aliasBuilder_ = null; alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000010); aliasBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAliasFieldBuilder() : null; } else { aliasBuilder_.addAllMessages(other.alias_); } } } if (other.hasBaseCommand()) { mergeBaseCommand(other.getBaseCommand()); } if (other.hasAbstract()) { setAbstract(other.getAbstract()); } if (argumentBuilder_ == null) { if (!other.argument_.isEmpty()) { if (argument_.isEmpty()) { argument_ = other.argument_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureArgumentIsMutable(); argument_.addAll(other.argument_); } onChanged(); } } else { if (!other.argument_.isEmpty()) { if (argumentBuilder_.isEmpty()) { argumentBuilder_.dispose(); argumentBuilder_ = null; argument_ = other.argument_; bitField0_ = (bitField0_ & ~0x00000080); argumentBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getArgumentFieldBuilder() : null; } else { argumentBuilder_.addAllMessages(other.argument_); } } } if (argumentAssignmentBuilder_ == null) { if (!other.argumentAssignment_.isEmpty()) { if (argumentAssignment_.isEmpty()) { argumentAssignment_ = other.argumentAssignment_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureArgumentAssignmentIsMutable(); argumentAssignment_.addAll(other.argumentAssignment_); } onChanged(); } } else { if (!other.argumentAssignment_.isEmpty()) { if (argumentAssignmentBuilder_.isEmpty()) { argumentAssignmentBuilder_.dispose(); argumentAssignmentBuilder_ = null; argumentAssignment_ = other.argumentAssignment_; bitField0_ = (bitField0_ & ~0x00000100); argumentAssignmentBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getArgumentAssignmentFieldBuilder() : null; } else { argumentAssignmentBuilder_.addAllMessages(other.argumentAssignment_); } } } if (other.hasSignificance()) { mergeSignificance(other.getSignificance()); } if (constraintBuilder_ == null) { if (!other.constraint_.isEmpty()) { if (constraint_.isEmpty()) { constraint_ = other.constraint_; bitField0_ = (bitField0_ & ~0x00000400); } else { ensureConstraintIsMutable(); constraint_.addAll(other.constraint_); } onChanged(); } } else { if (!other.constraint_.isEmpty()) { if (constraintBuilder_.isEmpty()) { constraintBuilder_.dispose(); constraintBuilder_ = null; constraint_ = other.constraint_; bitField0_ = (bitField0_ & ~0x00000400); constraintBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getConstraintFieldBuilder() : null; } else { constraintBuilder_.addAllMessages(other.constraint_); } } } if (other.hasCommandContainer()) { mergeCommandContainer(other.getCommandContainer()); } if (verifierBuilder_ == null) { if (!other.verifier_.isEmpty()) { if (verifier_.isEmpty()) { verifier_ = other.verifier_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureVerifierIsMutable(); verifier_.addAll(other.verifier_); } onChanged(); } } else { if (!other.verifier_.isEmpty()) { if (verifierBuilder_.isEmpty()) { verifierBuilder_.dispose(); verifierBuilder_ = null; verifier_ = other.verifier_; bitField0_ = (bitField0_ & ~0x00001000); verifierBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getVerifierFieldBuilder() : null; } else { verifierBuilder_.addAllMessages(other.verifier_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getAliasCount(); i++) { if (!getAlias(i).isInitialized()) { return false; } } if (hasBaseCommand()) { if (!getBaseCommand().isInitialized()) { return false; } } for (int i = 0; i < getArgumentCount(); i++) { if (!getArgument(i).isInitialized()) { return false; } } for (int i = 0; i < getConstraintCount(); i++) { if (!getConstraint(i).isInitialized()) { return false; } } if (hasCommandContainer()) { if (!getCommandContainer().isInitialized()) { return false; } } for (int i = 0; i < getVerifierCount(); i++) { if (!getVerifier(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.Mdb.CommandInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.CommandInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string qualifiedName = 2; */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder setQualifiedNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } private java.lang.Object shortDescription_ = ""; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string shortDescription = 3; */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder setShortDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } private java.lang.Object longDescription_ = ""; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string longDescription = 4; */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder setLongDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } private java.util.List alias_ = java.util.Collections.emptyList(); private void ensureAliasIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { alias_ = new java.util.ArrayList(alias_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> aliasBuilder_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasList() { if (aliasBuilder_ == null) { return java.util.Collections.unmodifiableList(alias_); } else { return aliasBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public int getAliasCount() { if (aliasBuilder_ == null) { return alias_.size(); } else { return aliasBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { if (aliasBuilder_ == null) { return alias_.get(index); } else { return aliasBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder setAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.set(index, value); onChanged(); } else { aliasBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder setAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.set(index, builderForValue.build()); onChanged(); } else { aliasBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.add(value); onChanged(); } else { aliasBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.add(index, value); onChanged(); } else { aliasBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.add(builderForValue.build()); onChanged(); } else { aliasBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.add(index, builderForValue.build()); onChanged(); } else { aliasBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAllAlias( java.lang.Iterable values) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, alias_); onChanged(); } else { aliasBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder clearAlias() { if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { aliasBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder removeAlias(int index) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.remove(index); onChanged(); } else { aliasBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getAliasBuilder( int index) { return getAliasFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { if (aliasBuilder_ == null) { return alias_.get(index); } else { return aliasBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasOrBuilderList() { if (aliasBuilder_ != null) { return aliasBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(alias_); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder() { return getAliasFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder( int index) { return getAliasFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasBuilderList() { return getAliasFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getAliasFieldBuilder() { if (aliasBuilder_ == null) { aliasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( alias_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); alias_ = null; } return aliasBuilder_; } private org.yamcs.protobuf.Mdb.CommandInfo baseCommand_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandInfo, org.yamcs.protobuf.Mdb.CommandInfo.Builder, org.yamcs.protobuf.Mdb.CommandInfoOrBuilder> baseCommandBuilder_; /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ public boolean hasBaseCommand() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ public org.yamcs.protobuf.Mdb.CommandInfo getBaseCommand() { if (baseCommandBuilder_ == null) { return baseCommand_ == null ? org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance() : baseCommand_; } else { return baseCommandBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ public Builder setBaseCommand(org.yamcs.protobuf.Mdb.CommandInfo value) { if (baseCommandBuilder_ == null) { if (value == null) { throw new NullPointerException(); } baseCommand_ = value; onChanged(); } else { baseCommandBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ public Builder setBaseCommand( org.yamcs.protobuf.Mdb.CommandInfo.Builder builderForValue) { if (baseCommandBuilder_ == null) { baseCommand_ = builderForValue.build(); onChanged(); } else { baseCommandBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ public Builder mergeBaseCommand(org.yamcs.protobuf.Mdb.CommandInfo value) { if (baseCommandBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && baseCommand_ != null && baseCommand_ != org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance()) { baseCommand_ = org.yamcs.protobuf.Mdb.CommandInfo.newBuilder(baseCommand_).mergeFrom(value).buildPartial(); } else { baseCommand_ = value; } onChanged(); } else { baseCommandBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ public Builder clearBaseCommand() { if (baseCommandBuilder_ == null) { baseCommand_ = null; onChanged(); } else { baseCommandBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ public org.yamcs.protobuf.Mdb.CommandInfo.Builder getBaseCommandBuilder() { bitField0_ |= 0x00000020; onChanged(); return getBaseCommandFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ public org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getBaseCommandOrBuilder() { if (baseCommandBuilder_ != null) { return baseCommandBuilder_.getMessageOrBuilder(); } else { return baseCommand_ == null ? org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance() : baseCommand_; } } /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandInfo, org.yamcs.protobuf.Mdb.CommandInfo.Builder, org.yamcs.protobuf.Mdb.CommandInfoOrBuilder> getBaseCommandFieldBuilder() { if (baseCommandBuilder_ == null) { baseCommandBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandInfo, org.yamcs.protobuf.Mdb.CommandInfo.Builder, org.yamcs.protobuf.Mdb.CommandInfoOrBuilder>( getBaseCommand(), getParentForChildren(), isClean()); baseCommand_ = null; } return baseCommandBuilder_; } private boolean abstract_ ; /** * optional bool abstract = 7; */ public boolean hasAbstract() { return ((bitField0_ & 0x00000040) != 0); } /** * optional bool abstract = 7; */ public boolean getAbstract() { return abstract_; } /** * optional bool abstract = 7; */ public Builder setAbstract(boolean value) { bitField0_ |= 0x00000040; abstract_ = value; onChanged(); return this; } /** * optional bool abstract = 7; */ public Builder clearAbstract() { bitField0_ = (bitField0_ & ~0x00000040); abstract_ = false; onChanged(); return this; } private java.util.List argument_ = java.util.Collections.emptyList(); private void ensureArgumentIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { argument_ = new java.util.ArrayList(argument_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentInfo, org.yamcs.protobuf.Mdb.ArgumentInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder> argumentBuilder_; /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public java.util.List getArgumentList() { if (argumentBuilder_ == null) { return java.util.Collections.unmodifiableList(argument_); } else { return argumentBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public int getArgumentCount() { if (argumentBuilder_ == null) { return argument_.size(); } else { return argumentBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public org.yamcs.protobuf.Mdb.ArgumentInfo getArgument(int index) { if (argumentBuilder_ == null) { return argument_.get(index); } else { return argumentBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public Builder setArgument( int index, org.yamcs.protobuf.Mdb.ArgumentInfo value) { if (argumentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentIsMutable(); argument_.set(index, value); onChanged(); } else { argumentBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public Builder setArgument( int index, org.yamcs.protobuf.Mdb.ArgumentInfo.Builder builderForValue) { if (argumentBuilder_ == null) { ensureArgumentIsMutable(); argument_.set(index, builderForValue.build()); onChanged(); } else { argumentBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public Builder addArgument(org.yamcs.protobuf.Mdb.ArgumentInfo value) { if (argumentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentIsMutable(); argument_.add(value); onChanged(); } else { argumentBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public Builder addArgument( int index, org.yamcs.protobuf.Mdb.ArgumentInfo value) { if (argumentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentIsMutable(); argument_.add(index, value); onChanged(); } else { argumentBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public Builder addArgument( org.yamcs.protobuf.Mdb.ArgumentInfo.Builder builderForValue) { if (argumentBuilder_ == null) { ensureArgumentIsMutable(); argument_.add(builderForValue.build()); onChanged(); } else { argumentBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public Builder addArgument( int index, org.yamcs.protobuf.Mdb.ArgumentInfo.Builder builderForValue) { if (argumentBuilder_ == null) { ensureArgumentIsMutable(); argument_.add(index, builderForValue.build()); onChanged(); } else { argumentBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public Builder addAllArgument( java.lang.Iterable values) { if (argumentBuilder_ == null) { ensureArgumentIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, argument_); onChanged(); } else { argumentBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public Builder clearArgument() { if (argumentBuilder_ == null) { argument_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { argumentBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public Builder removeArgument(int index) { if (argumentBuilder_ == null) { ensureArgumentIsMutable(); argument_.remove(index); onChanged(); } else { argumentBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public org.yamcs.protobuf.Mdb.ArgumentInfo.Builder getArgumentBuilder( int index) { return getArgumentFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder getArgumentOrBuilder( int index) { if (argumentBuilder_ == null) { return argument_.get(index); } else { return argumentBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public java.util.List getArgumentOrBuilderList() { if (argumentBuilder_ != null) { return argumentBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(argument_); } } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public org.yamcs.protobuf.Mdb.ArgumentInfo.Builder addArgumentBuilder() { return getArgumentFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public org.yamcs.protobuf.Mdb.ArgumentInfo.Builder addArgumentBuilder( int index) { return getArgumentFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ public java.util.List getArgumentBuilderList() { return getArgumentFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentInfo, org.yamcs.protobuf.Mdb.ArgumentInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder> getArgumentFieldBuilder() { if (argumentBuilder_ == null) { argumentBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentInfo, org.yamcs.protobuf.Mdb.ArgumentInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder>( argument_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); argument_ = null; } return argumentBuilder_; } private java.util.List argumentAssignment_ = java.util.Collections.emptyList(); private void ensureArgumentAssignmentIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { argumentAssignment_ = new java.util.ArrayList(argumentAssignment_); bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo, org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentAssignmentInfoOrBuilder> argumentAssignmentBuilder_; /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public java.util.List getArgumentAssignmentList() { if (argumentAssignmentBuilder_ == null) { return java.util.Collections.unmodifiableList(argumentAssignment_); } else { return argumentAssignmentBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public int getArgumentAssignmentCount() { if (argumentAssignmentBuilder_ == null) { return argumentAssignment_.size(); } else { return argumentAssignmentBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo getArgumentAssignment(int index) { if (argumentAssignmentBuilder_ == null) { return argumentAssignment_.get(index); } else { return argumentAssignmentBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public Builder setArgumentAssignment( int index, org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo value) { if (argumentAssignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentAssignmentIsMutable(); argumentAssignment_.set(index, value); onChanged(); } else { argumentAssignmentBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public Builder setArgumentAssignment( int index, org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.Builder builderForValue) { if (argumentAssignmentBuilder_ == null) { ensureArgumentAssignmentIsMutable(); argumentAssignment_.set(index, builderForValue.build()); onChanged(); } else { argumentAssignmentBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public Builder addArgumentAssignment(org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo value) { if (argumentAssignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentAssignmentIsMutable(); argumentAssignment_.add(value); onChanged(); } else { argumentAssignmentBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public Builder addArgumentAssignment( int index, org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo value) { if (argumentAssignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureArgumentAssignmentIsMutable(); argumentAssignment_.add(index, value); onChanged(); } else { argumentAssignmentBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public Builder addArgumentAssignment( org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.Builder builderForValue) { if (argumentAssignmentBuilder_ == null) { ensureArgumentAssignmentIsMutable(); argumentAssignment_.add(builderForValue.build()); onChanged(); } else { argumentAssignmentBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public Builder addArgumentAssignment( int index, org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.Builder builderForValue) { if (argumentAssignmentBuilder_ == null) { ensureArgumentAssignmentIsMutable(); argumentAssignment_.add(index, builderForValue.build()); onChanged(); } else { argumentAssignmentBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public Builder addAllArgumentAssignment( java.lang.Iterable values) { if (argumentAssignmentBuilder_ == null) { ensureArgumentAssignmentIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, argumentAssignment_); onChanged(); } else { argumentAssignmentBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public Builder clearArgumentAssignment() { if (argumentAssignmentBuilder_ == null) { argumentAssignment_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { argumentAssignmentBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public Builder removeArgumentAssignment(int index) { if (argumentAssignmentBuilder_ == null) { ensureArgumentAssignmentIsMutable(); argumentAssignment_.remove(index); onChanged(); } else { argumentAssignmentBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.Builder getArgumentAssignmentBuilder( int index) { return getArgumentAssignmentFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public org.yamcs.protobuf.Mdb.ArgumentAssignmentInfoOrBuilder getArgumentAssignmentOrBuilder( int index) { if (argumentAssignmentBuilder_ == null) { return argumentAssignment_.get(index); } else { return argumentAssignmentBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public java.util.List getArgumentAssignmentOrBuilderList() { if (argumentAssignmentBuilder_ != null) { return argumentAssignmentBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(argumentAssignment_); } } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.Builder addArgumentAssignmentBuilder() { return getArgumentAssignmentFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.Builder addArgumentAssignmentBuilder( int index) { return getArgumentAssignmentFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ public java.util.List getArgumentAssignmentBuilderList() { return getArgumentAssignmentFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo, org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentAssignmentInfoOrBuilder> getArgumentAssignmentFieldBuilder() { if (argumentAssignmentBuilder_ == null) { argumentAssignmentBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo, org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentAssignmentInfoOrBuilder>( argumentAssignment_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); argumentAssignment_ = null; } return argumentAssignmentBuilder_; } private org.yamcs.protobuf.Mdb.SignificanceInfo significance_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.SignificanceInfo, org.yamcs.protobuf.Mdb.SignificanceInfo.Builder, org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder> significanceBuilder_; /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ public boolean hasSignificance() { return ((bitField0_ & 0x00000200) != 0); } /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ public org.yamcs.protobuf.Mdb.SignificanceInfo getSignificance() { if (significanceBuilder_ == null) { return significance_ == null ? org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance() : significance_; } else { return significanceBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ public Builder setSignificance(org.yamcs.protobuf.Mdb.SignificanceInfo value) { if (significanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } significance_ = value; onChanged(); } else { significanceBuilder_.setMessage(value); } bitField0_ |= 0x00000200; return this; } /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ public Builder setSignificance( org.yamcs.protobuf.Mdb.SignificanceInfo.Builder builderForValue) { if (significanceBuilder_ == null) { significance_ = builderForValue.build(); onChanged(); } else { significanceBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; return this; } /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ public Builder mergeSignificance(org.yamcs.protobuf.Mdb.SignificanceInfo value) { if (significanceBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && significance_ != null && significance_ != org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance()) { significance_ = org.yamcs.protobuf.Mdb.SignificanceInfo.newBuilder(significance_).mergeFrom(value).buildPartial(); } else { significance_ = value; } onChanged(); } else { significanceBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; return this; } /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ public Builder clearSignificance() { if (significanceBuilder_ == null) { significance_ = null; onChanged(); } else { significanceBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); return this; } /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ public org.yamcs.protobuf.Mdb.SignificanceInfo.Builder getSignificanceBuilder() { bitField0_ |= 0x00000200; onChanged(); return getSignificanceFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ public org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder getSignificanceOrBuilder() { if (significanceBuilder_ != null) { return significanceBuilder_.getMessageOrBuilder(); } else { return significance_ == null ? org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance() : significance_; } } /** * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.SignificanceInfo, org.yamcs.protobuf.Mdb.SignificanceInfo.Builder, org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder> getSignificanceFieldBuilder() { if (significanceBuilder_ == null) { significanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.SignificanceInfo, org.yamcs.protobuf.Mdb.SignificanceInfo.Builder, org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder>( getSignificance(), getParentForChildren(), isClean()); significance_ = null; } return significanceBuilder_; } private java.util.List constraint_ = java.util.Collections.emptyList(); private void ensureConstraintIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { constraint_ = new java.util.ArrayList(constraint_); bitField0_ |= 0x00000400; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.TransmissionConstraintInfo, org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.Builder, org.yamcs.protobuf.Mdb.TransmissionConstraintInfoOrBuilder> constraintBuilder_; /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public java.util.List getConstraintList() { if (constraintBuilder_ == null) { return java.util.Collections.unmodifiableList(constraint_); } else { return constraintBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public int getConstraintCount() { if (constraintBuilder_ == null) { return constraint_.size(); } else { return constraintBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public org.yamcs.protobuf.Mdb.TransmissionConstraintInfo getConstraint(int index) { if (constraintBuilder_ == null) { return constraint_.get(index); } else { return constraintBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public Builder setConstraint( int index, org.yamcs.protobuf.Mdb.TransmissionConstraintInfo value) { if (constraintBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConstraintIsMutable(); constraint_.set(index, value); onChanged(); } else { constraintBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public Builder setConstraint( int index, org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.Builder builderForValue) { if (constraintBuilder_ == null) { ensureConstraintIsMutable(); constraint_.set(index, builderForValue.build()); onChanged(); } else { constraintBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public Builder addConstraint(org.yamcs.protobuf.Mdb.TransmissionConstraintInfo value) { if (constraintBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConstraintIsMutable(); constraint_.add(value); onChanged(); } else { constraintBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public Builder addConstraint( int index, org.yamcs.protobuf.Mdb.TransmissionConstraintInfo value) { if (constraintBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConstraintIsMutable(); constraint_.add(index, value); onChanged(); } else { constraintBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public Builder addConstraint( org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.Builder builderForValue) { if (constraintBuilder_ == null) { ensureConstraintIsMutable(); constraint_.add(builderForValue.build()); onChanged(); } else { constraintBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public Builder addConstraint( int index, org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.Builder builderForValue) { if (constraintBuilder_ == null) { ensureConstraintIsMutable(); constraint_.add(index, builderForValue.build()); onChanged(); } else { constraintBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public Builder addAllConstraint( java.lang.Iterable values) { if (constraintBuilder_ == null) { ensureConstraintIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, constraint_); onChanged(); } else { constraintBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public Builder clearConstraint() { if (constraintBuilder_ == null) { constraint_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); } else { constraintBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public Builder removeConstraint(int index) { if (constraintBuilder_ == null) { ensureConstraintIsMutable(); constraint_.remove(index); onChanged(); } else { constraintBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.Builder getConstraintBuilder( int index) { return getConstraintFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public org.yamcs.protobuf.Mdb.TransmissionConstraintInfoOrBuilder getConstraintOrBuilder( int index) { if (constraintBuilder_ == null) { return constraint_.get(index); } else { return constraintBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public java.util.List getConstraintOrBuilderList() { if (constraintBuilder_ != null) { return constraintBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(constraint_); } } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.Builder addConstraintBuilder() { return getConstraintFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.Builder addConstraintBuilder( int index) { return getConstraintFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ public java.util.List getConstraintBuilderList() { return getConstraintFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.TransmissionConstraintInfo, org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.Builder, org.yamcs.protobuf.Mdb.TransmissionConstraintInfoOrBuilder> getConstraintFieldBuilder() { if (constraintBuilder_ == null) { constraintBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.TransmissionConstraintInfo, org.yamcs.protobuf.Mdb.TransmissionConstraintInfo.Builder, org.yamcs.protobuf.Mdb.TransmissionConstraintInfoOrBuilder>( constraint_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); constraint_ = null; } return constraintBuilder_; } private org.yamcs.protobuf.Mdb.CommandContainerInfo commandContainer_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandContainerInfo, org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder, org.yamcs.protobuf.Mdb.CommandContainerInfoOrBuilder> commandContainerBuilder_; /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ public boolean hasCommandContainer() { return ((bitField0_ & 0x00000800) != 0); } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ public org.yamcs.protobuf.Mdb.CommandContainerInfo getCommandContainer() { if (commandContainerBuilder_ == null) { return commandContainer_ == null ? org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance() : commandContainer_; } else { return commandContainerBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ public Builder setCommandContainer(org.yamcs.protobuf.Mdb.CommandContainerInfo value) { if (commandContainerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } commandContainer_ = value; onChanged(); } else { commandContainerBuilder_.setMessage(value); } bitField0_ |= 0x00000800; return this; } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ public Builder setCommandContainer( org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder builderForValue) { if (commandContainerBuilder_ == null) { commandContainer_ = builderForValue.build(); onChanged(); } else { commandContainerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; return this; } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ public Builder mergeCommandContainer(org.yamcs.protobuf.Mdb.CommandContainerInfo value) { if (commandContainerBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0) && commandContainer_ != null && commandContainer_ != org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance()) { commandContainer_ = org.yamcs.protobuf.Mdb.CommandContainerInfo.newBuilder(commandContainer_).mergeFrom(value).buildPartial(); } else { commandContainer_ = value; } onChanged(); } else { commandContainerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000800; return this; } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ public Builder clearCommandContainer() { if (commandContainerBuilder_ == null) { commandContainer_ = null; onChanged(); } else { commandContainerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ public org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder getCommandContainerBuilder() { bitField0_ |= 0x00000800; onChanged(); return getCommandContainerFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ public org.yamcs.protobuf.Mdb.CommandContainerInfoOrBuilder getCommandContainerOrBuilder() { if (commandContainerBuilder_ != null) { return commandContainerBuilder_.getMessageOrBuilder(); } else { return commandContainer_ == null ? org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance() : commandContainer_; } } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandContainerInfo, org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder, org.yamcs.protobuf.Mdb.CommandContainerInfoOrBuilder> getCommandContainerFieldBuilder() { if (commandContainerBuilder_ == null) { commandContainerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandContainerInfo, org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder, org.yamcs.protobuf.Mdb.CommandContainerInfoOrBuilder>( getCommandContainer(), getParentForChildren(), isClean()); commandContainer_ = null; } return commandContainerBuilder_; } private java.util.List verifier_ = java.util.Collections.emptyList(); private void ensureVerifierIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { verifier_ = new java.util.ArrayList(verifier_); bitField0_ |= 0x00001000; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.VerifierInfo, org.yamcs.protobuf.Mdb.VerifierInfo.Builder, org.yamcs.protobuf.Mdb.VerifierInfoOrBuilder> verifierBuilder_; /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public java.util.List getVerifierList() { if (verifierBuilder_ == null) { return java.util.Collections.unmodifiableList(verifier_); } else { return verifierBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public int getVerifierCount() { if (verifierBuilder_ == null) { return verifier_.size(); } else { return verifierBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public org.yamcs.protobuf.Mdb.VerifierInfo getVerifier(int index) { if (verifierBuilder_ == null) { return verifier_.get(index); } else { return verifierBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public Builder setVerifier( int index, org.yamcs.protobuf.Mdb.VerifierInfo value) { if (verifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVerifierIsMutable(); verifier_.set(index, value); onChanged(); } else { verifierBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public Builder setVerifier( int index, org.yamcs.protobuf.Mdb.VerifierInfo.Builder builderForValue) { if (verifierBuilder_ == null) { ensureVerifierIsMutable(); verifier_.set(index, builderForValue.build()); onChanged(); } else { verifierBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public Builder addVerifier(org.yamcs.protobuf.Mdb.VerifierInfo value) { if (verifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVerifierIsMutable(); verifier_.add(value); onChanged(); } else { verifierBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public Builder addVerifier( int index, org.yamcs.protobuf.Mdb.VerifierInfo value) { if (verifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVerifierIsMutable(); verifier_.add(index, value); onChanged(); } else { verifierBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public Builder addVerifier( org.yamcs.protobuf.Mdb.VerifierInfo.Builder builderForValue) { if (verifierBuilder_ == null) { ensureVerifierIsMutable(); verifier_.add(builderForValue.build()); onChanged(); } else { verifierBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public Builder addVerifier( int index, org.yamcs.protobuf.Mdb.VerifierInfo.Builder builderForValue) { if (verifierBuilder_ == null) { ensureVerifierIsMutable(); verifier_.add(index, builderForValue.build()); onChanged(); } else { verifierBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public Builder addAllVerifier( java.lang.Iterable values) { if (verifierBuilder_ == null) { ensureVerifierIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, verifier_); onChanged(); } else { verifierBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public Builder clearVerifier() { if (verifierBuilder_ == null) { verifier_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); } else { verifierBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public Builder removeVerifier(int index) { if (verifierBuilder_ == null) { ensureVerifierIsMutable(); verifier_.remove(index); onChanged(); } else { verifierBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public org.yamcs.protobuf.Mdb.VerifierInfo.Builder getVerifierBuilder( int index) { return getVerifierFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public org.yamcs.protobuf.Mdb.VerifierInfoOrBuilder getVerifierOrBuilder( int index) { if (verifierBuilder_ == null) { return verifier_.get(index); } else { return verifierBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public java.util.List getVerifierOrBuilderList() { if (verifierBuilder_ != null) { return verifierBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(verifier_); } } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public org.yamcs.protobuf.Mdb.VerifierInfo.Builder addVerifierBuilder() { return getVerifierFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.VerifierInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public org.yamcs.protobuf.Mdb.VerifierInfo.Builder addVerifierBuilder( int index) { return getVerifierFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.VerifierInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ public java.util.List getVerifierBuilderList() { return getVerifierFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.VerifierInfo, org.yamcs.protobuf.Mdb.VerifierInfo.Builder, org.yamcs.protobuf.Mdb.VerifierInfoOrBuilder> getVerifierFieldBuilder() { if (verifierBuilder_ == null) { verifierBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.VerifierInfo, org.yamcs.protobuf.Mdb.VerifierInfo.Builder, org.yamcs.protobuf.Mdb.VerifierInfoOrBuilder>( verifier_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); verifier_ = null; } return verifierBuilder_; } @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.mdb.CommandInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.CommandInfo) private static final org.yamcs.protobuf.Mdb.CommandInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.CommandInfo(); } public static org.yamcs.protobuf.Mdb.CommandInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CommandInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommandInfo(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.Mdb.CommandInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface VerifierInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.VerifierInfo) com.google.protobuf.MessageOrBuilder { /** * optional string stage = 1; */ boolean hasStage(); /** * optional string stage = 1; */ java.lang.String getStage(); /** * optional string stage = 1; */ com.google.protobuf.ByteString getStageBytes(); /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ boolean hasContainer(); /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ org.yamcs.protobuf.Mdb.ContainerInfo getContainer(); /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder(); /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ boolean hasAlgorithm(); /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm(); /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder(); /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; */ boolean hasOnSuccess(); /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; */ org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType getOnSuccess(); /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; */ boolean hasOnFail(); /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; */ org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType getOnFail(); /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; */ boolean hasOnTimeout(); /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; */ org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType getOnTimeout(); /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ boolean hasCheckWindow(); /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ org.yamcs.protobuf.Mdb.CheckWindowInfo getCheckWindow(); /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ org.yamcs.protobuf.Mdb.CheckWindowInfoOrBuilder getCheckWindowOrBuilder(); } /** * Protobuf type {@code yamcs.protobuf.mdb.VerifierInfo} */ public static final class VerifierInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.VerifierInfo) VerifierInfoOrBuilder { private static final long serialVersionUID = 0L; // Use VerifierInfo.newBuilder() to construct. private VerifierInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private VerifierInfo() { stage_ = ""; onSuccess_ = 1; onFail_ = 1; onTimeout_ = 1; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private VerifierInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; stage_ = bs; break; } case 18: { org.yamcs.protobuf.Mdb.ContainerInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = container_.toBuilder(); } container_ = input.readMessage(org.yamcs.protobuf.Mdb.ContainerInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(container_); container_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = algorithm_.toBuilder(); } algorithm_ = input.readMessage(org.yamcs.protobuf.Mdb.AlgorithmInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(algorithm_); algorithm_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 32: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType value = org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(4, rawValue); } else { bitField0_ |= 0x00000008; onSuccess_ = rawValue; } break; } case 40: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType value = org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(5, rawValue); } else { bitField0_ |= 0x00000010; onFail_ = rawValue; } break; } case 48: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType value = org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(6, rawValue); } else { bitField0_ |= 0x00000020; onTimeout_ = rawValue; } break; } case 58: { org.yamcs.protobuf.Mdb.CheckWindowInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000040) != 0)) { subBuilder = checkWindow_.toBuilder(); } checkWindow_ = input.readMessage(org.yamcs.protobuf.Mdb.CheckWindowInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(checkWindow_); checkWindow_ = 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.Mdb.internal_static_yamcs_protobuf_mdb_VerifierInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_VerifierInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.VerifierInfo.class, org.yamcs.protobuf.Mdb.VerifierInfo.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.mdb.VerifierInfo.TerminationActionType} */ public enum TerminationActionType implements com.google.protobuf.ProtocolMessageEnum { /** * SUCCESS = 1; */ SUCCESS(1), /** * FAIL = 2; */ FAIL(2), ; /** * SUCCESS = 1; */ public static final int SUCCESS_VALUE = 1; /** * FAIL = 2; */ public static final int FAIL_VALUE = 2; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TerminationActionType valueOf(int value) { return forNumber(value); } public static TerminationActionType forNumber(int value) { switch (value) { case 1: return SUCCESS; case 2: return FAIL; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< TerminationActionType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TerminationActionType findValueByNumber(int number) { return TerminationActionType.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.Mdb.VerifierInfo.getDescriptor().getEnumTypes().get(0); } private static final TerminationActionType[] VALUES = values(); public static TerminationActionType 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 TerminationActionType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.mdb.VerifierInfo.TerminationActionType) } private int bitField0_; public static final int STAGE_FIELD_NUMBER = 1; private volatile java.lang.Object stage_; /** * optional string stage = 1; */ public boolean hasStage() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string stage = 1; */ public java.lang.String getStage() { java.lang.Object ref = stage_; 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()) { stage_ = s; } return s; } } /** * optional string stage = 1; */ public com.google.protobuf.ByteString getStageBytes() { java.lang.Object ref = stage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONTAINER_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.ContainerInfo container_; /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public boolean hasContainer() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfo getContainer() { return container_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : container_; } /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder() { return container_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : container_; } public static final int ALGORITHM_FIELD_NUMBER = 3; private org.yamcs.protobuf.Mdb.AlgorithmInfo algorithm_; /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ public boolean hasAlgorithm() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm() { return algorithm_ == null ? org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance() : algorithm_; } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ public org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder() { return algorithm_ == null ? org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance() : algorithm_; } public static final int ONSUCCESS_FIELD_NUMBER = 4; private int onSuccess_; /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; */ public boolean hasOnSuccess() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; */ public org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType getOnSuccess() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType result = org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.valueOf(onSuccess_); return result == null ? org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.SUCCESS : result; } public static final int ONFAIL_FIELD_NUMBER = 5; private int onFail_; /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; */ public boolean hasOnFail() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; */ public org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType getOnFail() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType result = org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.valueOf(onFail_); return result == null ? org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.SUCCESS : result; } public static final int ONTIMEOUT_FIELD_NUMBER = 6; private int onTimeout_; /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; */ public boolean hasOnTimeout() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; */ public org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType getOnTimeout() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType result = org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.valueOf(onTimeout_); return result == null ? org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.SUCCESS : result; } public static final int CHECKWINDOW_FIELD_NUMBER = 7; private org.yamcs.protobuf.Mdb.CheckWindowInfo checkWindow_; /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ public boolean hasCheckWindow() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ public org.yamcs.protobuf.Mdb.CheckWindowInfo getCheckWindow() { return checkWindow_ == null ? org.yamcs.protobuf.Mdb.CheckWindowInfo.getDefaultInstance() : checkWindow_; } /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ public org.yamcs.protobuf.Mdb.CheckWindowInfoOrBuilder getCheckWindowOrBuilder() { return checkWindow_ == null ? org.yamcs.protobuf.Mdb.CheckWindowInfo.getDefaultInstance() : checkWindow_; } 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 (hasContainer()) { if (!getContainer().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasAlgorithm()) { if (!getAlgorithm().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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stage_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getContainer()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getAlgorithm()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeEnum(4, onSuccess_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeEnum(5, onFail_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeEnum(6, onTimeout_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(7, getCheckWindow()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, stage_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getContainer()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getAlgorithm()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, onSuccess_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, onFail_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, onTimeout_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getCheckWindow()); } 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.Mdb.VerifierInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.VerifierInfo other = (org.yamcs.protobuf.Mdb.VerifierInfo) obj; if (hasStage() != other.hasStage()) return false; if (hasStage()) { if (!getStage() .equals(other.getStage())) return false; } if (hasContainer() != other.hasContainer()) return false; if (hasContainer()) { if (!getContainer() .equals(other.getContainer())) return false; } if (hasAlgorithm() != other.hasAlgorithm()) return false; if (hasAlgorithm()) { if (!getAlgorithm() .equals(other.getAlgorithm())) return false; } if (hasOnSuccess() != other.hasOnSuccess()) return false; if (hasOnSuccess()) { if (onSuccess_ != other.onSuccess_) return false; } if (hasOnFail() != other.hasOnFail()) return false; if (hasOnFail()) { if (onFail_ != other.onFail_) return false; } if (hasOnTimeout() != other.hasOnTimeout()) return false; if (hasOnTimeout()) { if (onTimeout_ != other.onTimeout_) return false; } if (hasCheckWindow() != other.hasCheckWindow()) return false; if (hasCheckWindow()) { if (!getCheckWindow() .equals(other.getCheckWindow())) 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 (hasStage()) { hash = (37 * hash) + STAGE_FIELD_NUMBER; hash = (53 * hash) + getStage().hashCode(); } if (hasContainer()) { hash = (37 * hash) + CONTAINER_FIELD_NUMBER; hash = (53 * hash) + getContainer().hashCode(); } if (hasAlgorithm()) { hash = (37 * hash) + ALGORITHM_FIELD_NUMBER; hash = (53 * hash) + getAlgorithm().hashCode(); } if (hasOnSuccess()) { hash = (37 * hash) + ONSUCCESS_FIELD_NUMBER; hash = (53 * hash) + onSuccess_; } if (hasOnFail()) { hash = (37 * hash) + ONFAIL_FIELD_NUMBER; hash = (53 * hash) + onFail_; } if (hasOnTimeout()) { hash = (37 * hash) + ONTIMEOUT_FIELD_NUMBER; hash = (53 * hash) + onTimeout_; } if (hasCheckWindow()) { hash = (37 * hash) + CHECKWINDOW_FIELD_NUMBER; hash = (53 * hash) + getCheckWindow().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.VerifierInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.VerifierInfo 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.Mdb.VerifierInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.VerifierInfo 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.Mdb.VerifierInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.VerifierInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.VerifierInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.VerifierInfo 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.Mdb.VerifierInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.VerifierInfo 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.Mdb.VerifierInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.VerifierInfo 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.Mdb.VerifierInfo 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.mdb.VerifierInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.VerifierInfo) org.yamcs.protobuf.Mdb.VerifierInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_VerifierInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_VerifierInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.VerifierInfo.class, org.yamcs.protobuf.Mdb.VerifierInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.VerifierInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getContainerFieldBuilder(); getAlgorithmFieldBuilder(); getCheckWindowFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); stage_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (containerBuilder_ == null) { container_ = null; } else { containerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (algorithmBuilder_ == null) { algorithm_ = null; } else { algorithmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); onSuccess_ = 1; bitField0_ = (bitField0_ & ~0x00000008); onFail_ = 1; bitField0_ = (bitField0_ & ~0x00000010); onTimeout_ = 1; bitField0_ = (bitField0_ & ~0x00000020); if (checkWindowBuilder_ == null) { checkWindow_ = null; } else { checkWindowBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_VerifierInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.VerifierInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.VerifierInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.VerifierInfo build() { org.yamcs.protobuf.Mdb.VerifierInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.VerifierInfo buildPartial() { org.yamcs.protobuf.Mdb.VerifierInfo result = new org.yamcs.protobuf.Mdb.VerifierInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.stage_ = stage_; if (((from_bitField0_ & 0x00000002) != 0)) { if (containerBuilder_ == null) { result.container_ = container_; } else { result.container_ = containerBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (algorithmBuilder_ == null) { result.algorithm_ = algorithm_; } else { result.algorithm_ = algorithmBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.onSuccess_ = onSuccess_; if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.onFail_ = onFail_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.onTimeout_ = onTimeout_; if (((from_bitField0_ & 0x00000040) != 0)) { if (checkWindowBuilder_ == null) { result.checkWindow_ = checkWindow_; } else { result.checkWindow_ = checkWindowBuilder_.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.Mdb.VerifierInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.VerifierInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.VerifierInfo other) { if (other == org.yamcs.protobuf.Mdb.VerifierInfo.getDefaultInstance()) return this; if (other.hasStage()) { bitField0_ |= 0x00000001; stage_ = other.stage_; onChanged(); } if (other.hasContainer()) { mergeContainer(other.getContainer()); } if (other.hasAlgorithm()) { mergeAlgorithm(other.getAlgorithm()); } if (other.hasOnSuccess()) { setOnSuccess(other.getOnSuccess()); } if (other.hasOnFail()) { setOnFail(other.getOnFail()); } if (other.hasOnTimeout()) { setOnTimeout(other.getOnTimeout()); } if (other.hasCheckWindow()) { mergeCheckWindow(other.getCheckWindow()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasContainer()) { if (!getContainer().isInitialized()) { return false; } } if (hasAlgorithm()) { if (!getAlgorithm().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.Mdb.VerifierInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.VerifierInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object stage_ = ""; /** * optional string stage = 1; */ public boolean hasStage() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string stage = 1; */ public java.lang.String getStage() { java.lang.Object ref = stage_; 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()) { stage_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string stage = 1; */ public com.google.protobuf.ByteString getStageBytes() { java.lang.Object ref = stage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string stage = 1; */ public Builder setStage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; stage_ = value; onChanged(); return this; } /** * optional string stage = 1; */ public Builder clearStage() { bitField0_ = (bitField0_ & ~0x00000001); stage_ = getDefaultInstance().getStage(); onChanged(); return this; } /** * optional string stage = 1; */ public Builder setStageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; stage_ = value; onChanged(); return this; } private org.yamcs.protobuf.Mdb.ContainerInfo container_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> containerBuilder_; /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public boolean hasContainer() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfo getContainer() { if (containerBuilder_ == null) { return container_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : container_; } else { return containerBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder setContainer(org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } container_ = value; onChanged(); } else { containerBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder setContainer( org.yamcs.protobuf.Mdb.ContainerInfo.Builder builderForValue) { if (containerBuilder_ == null) { container_ = builderForValue.build(); onChanged(); } else { containerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder mergeContainer(org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containerBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && container_ != null && container_ != org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance()) { container_ = org.yamcs.protobuf.Mdb.ContainerInfo.newBuilder(container_).mergeFrom(value).buildPartial(); } else { container_ = value; } onChanged(); } else { containerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder clearContainer() { if (containerBuilder_ == null) { container_ = null; onChanged(); } else { containerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder getContainerBuilder() { bitField0_ |= 0x00000002; onChanged(); return getContainerFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder() { if (containerBuilder_ != null) { return containerBuilder_.getMessageOrBuilder(); } else { return container_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : container_; } } /** * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> getContainerFieldBuilder() { if (containerBuilder_ == null) { containerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder>( getContainer(), getParentForChildren(), isClean()); container_ = null; } return containerBuilder_; } private org.yamcs.protobuf.Mdb.AlgorithmInfo algorithm_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder> algorithmBuilder_; /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ public boolean hasAlgorithm() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm() { if (algorithmBuilder_ == null) { return algorithm_ == null ? org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance() : algorithm_; } else { return algorithmBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ public Builder setAlgorithm(org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } algorithm_ = value; onChanged(); } else { algorithmBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ public Builder setAlgorithm( org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder builderForValue) { if (algorithmBuilder_ == null) { algorithm_ = builderForValue.build(); onChanged(); } else { algorithmBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ public Builder mergeAlgorithm(org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && algorithm_ != null && algorithm_ != org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance()) { algorithm_ = org.yamcs.protobuf.Mdb.AlgorithmInfo.newBuilder(algorithm_).mergeFrom(value).buildPartial(); } else { algorithm_ = value; } onChanged(); } else { algorithmBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ public Builder clearAlgorithm() { if (algorithmBuilder_ == null) { algorithm_ = null; onChanged(); } else { algorithmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder getAlgorithmBuilder() { bitField0_ |= 0x00000004; onChanged(); return getAlgorithmFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ public org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder() { if (algorithmBuilder_ != null) { return algorithmBuilder_.getMessageOrBuilder(); } else { return algorithm_ == null ? org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance() : algorithm_; } } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder> getAlgorithmFieldBuilder() { if (algorithmBuilder_ == null) { algorithmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder>( getAlgorithm(), getParentForChildren(), isClean()); algorithm_ = null; } return algorithmBuilder_; } private int onSuccess_ = 1; /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; */ public boolean hasOnSuccess() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; */ public org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType getOnSuccess() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType result = org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.valueOf(onSuccess_); return result == null ? org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.SUCCESS : result; } /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; */ public Builder setOnSuccess(org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; onSuccess_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; */ public Builder clearOnSuccess() { bitField0_ = (bitField0_ & ~0x00000008); onSuccess_ = 1; onChanged(); return this; } private int onFail_ = 1; /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; */ public boolean hasOnFail() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; */ public org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType getOnFail() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType result = org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.valueOf(onFail_); return result == null ? org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.SUCCESS : result; } /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; */ public Builder setOnFail(org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; onFail_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; */ public Builder clearOnFail() { bitField0_ = (bitField0_ & ~0x00000010); onFail_ = 1; onChanged(); return this; } private int onTimeout_ = 1; /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; */ public boolean hasOnTimeout() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; */ public org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType getOnTimeout() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType result = org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.valueOf(onTimeout_); return result == null ? org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType.SUCCESS : result; } /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; */ public Builder setOnTimeout(org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; onTimeout_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; */ public Builder clearOnTimeout() { bitField0_ = (bitField0_ & ~0x00000020); onTimeout_ = 1; onChanged(); return this; } private org.yamcs.protobuf.Mdb.CheckWindowInfo checkWindow_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CheckWindowInfo, org.yamcs.protobuf.Mdb.CheckWindowInfo.Builder, org.yamcs.protobuf.Mdb.CheckWindowInfoOrBuilder> checkWindowBuilder_; /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ public boolean hasCheckWindow() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ public org.yamcs.protobuf.Mdb.CheckWindowInfo getCheckWindow() { if (checkWindowBuilder_ == null) { return checkWindow_ == null ? org.yamcs.protobuf.Mdb.CheckWindowInfo.getDefaultInstance() : checkWindow_; } else { return checkWindowBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ public Builder setCheckWindow(org.yamcs.protobuf.Mdb.CheckWindowInfo value) { if (checkWindowBuilder_ == null) { if (value == null) { throw new NullPointerException(); } checkWindow_ = value; onChanged(); } else { checkWindowBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ public Builder setCheckWindow( org.yamcs.protobuf.Mdb.CheckWindowInfo.Builder builderForValue) { if (checkWindowBuilder_ == null) { checkWindow_ = builderForValue.build(); onChanged(); } else { checkWindowBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ public Builder mergeCheckWindow(org.yamcs.protobuf.Mdb.CheckWindowInfo value) { if (checkWindowBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && checkWindow_ != null && checkWindow_ != org.yamcs.protobuf.Mdb.CheckWindowInfo.getDefaultInstance()) { checkWindow_ = org.yamcs.protobuf.Mdb.CheckWindowInfo.newBuilder(checkWindow_).mergeFrom(value).buildPartial(); } else { checkWindow_ = value; } onChanged(); } else { checkWindowBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ public Builder clearCheckWindow() { if (checkWindowBuilder_ == null) { checkWindow_ = null; onChanged(); } else { checkWindowBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ public org.yamcs.protobuf.Mdb.CheckWindowInfo.Builder getCheckWindowBuilder() { bitField0_ |= 0x00000040; onChanged(); return getCheckWindowFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ public org.yamcs.protobuf.Mdb.CheckWindowInfoOrBuilder getCheckWindowOrBuilder() { if (checkWindowBuilder_ != null) { return checkWindowBuilder_.getMessageOrBuilder(); } else { return checkWindow_ == null ? org.yamcs.protobuf.Mdb.CheckWindowInfo.getDefaultInstance() : checkWindow_; } } /** * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CheckWindowInfo, org.yamcs.protobuf.Mdb.CheckWindowInfo.Builder, org.yamcs.protobuf.Mdb.CheckWindowInfoOrBuilder> getCheckWindowFieldBuilder() { if (checkWindowBuilder_ == null) { checkWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CheckWindowInfo, org.yamcs.protobuf.Mdb.CheckWindowInfo.Builder, org.yamcs.protobuf.Mdb.CheckWindowInfoOrBuilder>( getCheckWindow(), getParentForChildren(), isClean()); checkWindow_ = null; } return checkWindowBuilder_; } @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.mdb.VerifierInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.VerifierInfo) private static final org.yamcs.protobuf.Mdb.VerifierInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.VerifierInfo(); } public static org.yamcs.protobuf.Mdb.VerifierInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VerifierInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VerifierInfo(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.Mdb.VerifierInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CheckWindowInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.CheckWindowInfo) com.google.protobuf.MessageOrBuilder { /** * optional int64 timeToStartChecking = 1; */ boolean hasTimeToStartChecking(); /** * optional int64 timeToStartChecking = 1; */ long getTimeToStartChecking(); /** * optional int64 timeToStopChecking = 2; */ boolean hasTimeToStopChecking(); /** * optional int64 timeToStopChecking = 2; */ long getTimeToStopChecking(); /** * optional string relativeTo = 3; */ boolean hasRelativeTo(); /** * optional string relativeTo = 3; */ java.lang.String getRelativeTo(); /** * optional string relativeTo = 3; */ com.google.protobuf.ByteString getRelativeToBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.CheckWindowInfo} */ public static final class CheckWindowInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.CheckWindowInfo) CheckWindowInfoOrBuilder { private static final long serialVersionUID = 0L; // Use CheckWindowInfo.newBuilder() to construct. private CheckWindowInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CheckWindowInfo() { relativeTo_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CheckWindowInfo( 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 8: { bitField0_ |= 0x00000001; timeToStartChecking_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; timeToStopChecking_ = input.readInt64(); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; relativeTo_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_CheckWindowInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CheckWindowInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.CheckWindowInfo.class, org.yamcs.protobuf.Mdb.CheckWindowInfo.Builder.class); } private int bitField0_; public static final int TIMETOSTARTCHECKING_FIELD_NUMBER = 1; private long timeToStartChecking_; /** * optional int64 timeToStartChecking = 1; */ public boolean hasTimeToStartChecking() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 timeToStartChecking = 1; */ public long getTimeToStartChecking() { return timeToStartChecking_; } public static final int TIMETOSTOPCHECKING_FIELD_NUMBER = 2; private long timeToStopChecking_; /** * optional int64 timeToStopChecking = 2; */ public boolean hasTimeToStopChecking() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 timeToStopChecking = 2; */ public long getTimeToStopChecking() { return timeToStopChecking_; } public static final int RELATIVETO_FIELD_NUMBER = 3; private volatile java.lang.Object relativeTo_; /** * optional string relativeTo = 3; */ public boolean hasRelativeTo() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string relativeTo = 3; */ public java.lang.String getRelativeTo() { java.lang.Object ref = relativeTo_; 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()) { relativeTo_ = s; } return s; } } /** * optional string relativeTo = 3; */ public com.google.protobuf.ByteString getRelativeToBytes() { java.lang.Object ref = relativeTo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); relativeTo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, timeToStartChecking_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, timeToStopChecking_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeTo_); } 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 .computeInt64Size(1, timeToStartChecking_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, timeToStopChecking_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeTo_); } 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.Mdb.CheckWindowInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.CheckWindowInfo other = (org.yamcs.protobuf.Mdb.CheckWindowInfo) obj; if (hasTimeToStartChecking() != other.hasTimeToStartChecking()) return false; if (hasTimeToStartChecking()) { if (getTimeToStartChecking() != other.getTimeToStartChecking()) return false; } if (hasTimeToStopChecking() != other.hasTimeToStopChecking()) return false; if (hasTimeToStopChecking()) { if (getTimeToStopChecking() != other.getTimeToStopChecking()) return false; } if (hasRelativeTo() != other.hasRelativeTo()) return false; if (hasRelativeTo()) { if (!getRelativeTo() .equals(other.getRelativeTo())) 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 (hasTimeToStartChecking()) { hash = (37 * hash) + TIMETOSTARTCHECKING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimeToStartChecking()); } if (hasTimeToStopChecking()) { hash = (37 * hash) + TIMETOSTOPCHECKING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimeToStopChecking()); } if (hasRelativeTo()) { hash = (37 * hash) + RELATIVETO_FIELD_NUMBER; hash = (53 * hash) + getRelativeTo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.CheckWindowInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CheckWindowInfo 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.Mdb.CheckWindowInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CheckWindowInfo 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.Mdb.CheckWindowInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CheckWindowInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.CheckWindowInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CheckWindowInfo 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.Mdb.CheckWindowInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CheckWindowInfo 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.Mdb.CheckWindowInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CheckWindowInfo 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.Mdb.CheckWindowInfo 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.mdb.CheckWindowInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.CheckWindowInfo) org.yamcs.protobuf.Mdb.CheckWindowInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CheckWindowInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CheckWindowInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.CheckWindowInfo.class, org.yamcs.protobuf.Mdb.CheckWindowInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.CheckWindowInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); timeToStartChecking_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); timeToStopChecking_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); relativeTo_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CheckWindowInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.CheckWindowInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.CheckWindowInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.CheckWindowInfo build() { org.yamcs.protobuf.Mdb.CheckWindowInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.CheckWindowInfo buildPartial() { org.yamcs.protobuf.Mdb.CheckWindowInfo result = new org.yamcs.protobuf.Mdb.CheckWindowInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.timeToStartChecking_ = timeToStartChecking_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.timeToStopChecking_ = timeToStopChecking_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.relativeTo_ = relativeTo_; 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.Mdb.CheckWindowInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.CheckWindowInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.CheckWindowInfo other) { if (other == org.yamcs.protobuf.Mdb.CheckWindowInfo.getDefaultInstance()) return this; if (other.hasTimeToStartChecking()) { setTimeToStartChecking(other.getTimeToStartChecking()); } if (other.hasTimeToStopChecking()) { setTimeToStopChecking(other.getTimeToStopChecking()); } if (other.hasRelativeTo()) { bitField0_ |= 0x00000004; relativeTo_ = other.relativeTo_; onChanged(); } 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.Mdb.CheckWindowInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.CheckWindowInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long timeToStartChecking_ ; /** * optional int64 timeToStartChecking = 1; */ public boolean hasTimeToStartChecking() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 timeToStartChecking = 1; */ public long getTimeToStartChecking() { return timeToStartChecking_; } /** * optional int64 timeToStartChecking = 1; */ public Builder setTimeToStartChecking(long value) { bitField0_ |= 0x00000001; timeToStartChecking_ = value; onChanged(); return this; } /** * optional int64 timeToStartChecking = 1; */ public Builder clearTimeToStartChecking() { bitField0_ = (bitField0_ & ~0x00000001); timeToStartChecking_ = 0L; onChanged(); return this; } private long timeToStopChecking_ ; /** * optional int64 timeToStopChecking = 2; */ public boolean hasTimeToStopChecking() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 timeToStopChecking = 2; */ public long getTimeToStopChecking() { return timeToStopChecking_; } /** * optional int64 timeToStopChecking = 2; */ public Builder setTimeToStopChecking(long value) { bitField0_ |= 0x00000002; timeToStopChecking_ = value; onChanged(); return this; } /** * optional int64 timeToStopChecking = 2; */ public Builder clearTimeToStopChecking() { bitField0_ = (bitField0_ & ~0x00000002); timeToStopChecking_ = 0L; onChanged(); return this; } private java.lang.Object relativeTo_ = ""; /** * optional string relativeTo = 3; */ public boolean hasRelativeTo() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string relativeTo = 3; */ public java.lang.String getRelativeTo() { java.lang.Object ref = relativeTo_; 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()) { relativeTo_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string relativeTo = 3; */ public com.google.protobuf.ByteString getRelativeToBytes() { java.lang.Object ref = relativeTo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); relativeTo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string relativeTo = 3; */ public Builder setRelativeTo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; relativeTo_ = value; onChanged(); return this; } /** * optional string relativeTo = 3; */ public Builder clearRelativeTo() { bitField0_ = (bitField0_ & ~0x00000004); relativeTo_ = getDefaultInstance().getRelativeTo(); onChanged(); return this; } /** * optional string relativeTo = 3; */ public Builder setRelativeToBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; relativeTo_ = value; 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.mdb.CheckWindowInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.CheckWindowInfo) private static final org.yamcs.protobuf.Mdb.CheckWindowInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.CheckWindowInfo(); } public static org.yamcs.protobuf.Mdb.CheckWindowInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CheckWindowInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CheckWindowInfo(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.Mdb.CheckWindowInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RepeatInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.RepeatInfo) com.google.protobuf.MessageOrBuilder { /** * optional int64 fixedCount = 1; */ boolean hasFixedCount(); /** * optional int64 fixedCount = 1; */ long getFixedCount(); /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ boolean hasDynamicCount(); /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ org.yamcs.protobuf.Mdb.ParameterInfo getDynamicCount(); /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getDynamicCountOrBuilder(); /** * optional int32 bitsBetween = 3; */ boolean hasBitsBetween(); /** * optional int32 bitsBetween = 3; */ int getBitsBetween(); } /** * Protobuf type {@code yamcs.protobuf.mdb.RepeatInfo} */ public static final class RepeatInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.RepeatInfo) RepeatInfoOrBuilder { private static final long serialVersionUID = 0L; // Use RepeatInfo.newBuilder() to construct. private RepeatInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RepeatInfo() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RepeatInfo( 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 8: { bitField0_ |= 0x00000001; fixedCount_ = input.readInt64(); break; } case 18: { org.yamcs.protobuf.Mdb.ParameterInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = dynamicCount_.toBuilder(); } dynamicCount_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dynamicCount_); dynamicCount_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 24: { bitField0_ |= 0x00000004; bitsBetween_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_RepeatInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_RepeatInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.RepeatInfo.class, org.yamcs.protobuf.Mdb.RepeatInfo.Builder.class); } private int bitField0_; public static final int FIXEDCOUNT_FIELD_NUMBER = 1; private long fixedCount_; /** * optional int64 fixedCount = 1; */ public boolean hasFixedCount() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 fixedCount = 1; */ public long getFixedCount() { return fixedCount_; } public static final int DYNAMICCOUNT_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.ParameterInfo dynamicCount_; /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ public boolean hasDynamicCount() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ public org.yamcs.protobuf.Mdb.ParameterInfo getDynamicCount() { return dynamicCount_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : dynamicCount_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getDynamicCountOrBuilder() { return dynamicCount_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : dynamicCount_; } public static final int BITSBETWEEN_FIELD_NUMBER = 3; private int bitsBetween_; /** * optional int32 bitsBetween = 3; */ public boolean hasBitsBetween() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 bitsBetween = 3; */ public int getBitsBetween() { return bitsBetween_; } 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 (hasDynamicCount()) { if (!getDynamicCount().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.writeInt64(1, fixedCount_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getDynamicCount()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(3, bitsBetween_); } 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 .computeInt64Size(1, fixedCount_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getDynamicCount()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, bitsBetween_); } 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.Mdb.RepeatInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.RepeatInfo other = (org.yamcs.protobuf.Mdb.RepeatInfo) obj; if (hasFixedCount() != other.hasFixedCount()) return false; if (hasFixedCount()) { if (getFixedCount() != other.getFixedCount()) return false; } if (hasDynamicCount() != other.hasDynamicCount()) return false; if (hasDynamicCount()) { if (!getDynamicCount() .equals(other.getDynamicCount())) return false; } if (hasBitsBetween() != other.hasBitsBetween()) return false; if (hasBitsBetween()) { if (getBitsBetween() != other.getBitsBetween()) 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 (hasFixedCount()) { hash = (37 * hash) + FIXEDCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFixedCount()); } if (hasDynamicCount()) { hash = (37 * hash) + DYNAMICCOUNT_FIELD_NUMBER; hash = (53 * hash) + getDynamicCount().hashCode(); } if (hasBitsBetween()) { hash = (37 * hash) + BITSBETWEEN_FIELD_NUMBER; hash = (53 * hash) + getBitsBetween(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.RepeatInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.RepeatInfo 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.Mdb.RepeatInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.RepeatInfo 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.Mdb.RepeatInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.RepeatInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.RepeatInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.RepeatInfo 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.Mdb.RepeatInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.RepeatInfo 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.Mdb.RepeatInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.RepeatInfo 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.Mdb.RepeatInfo 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.mdb.RepeatInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.RepeatInfo) org.yamcs.protobuf.Mdb.RepeatInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_RepeatInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_RepeatInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.RepeatInfo.class, org.yamcs.protobuf.Mdb.RepeatInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.RepeatInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDynamicCountFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); fixedCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); if (dynamicCountBuilder_ == null) { dynamicCount_ = null; } else { dynamicCountBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); bitsBetween_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_RepeatInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.RepeatInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.RepeatInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.RepeatInfo build() { org.yamcs.protobuf.Mdb.RepeatInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.RepeatInfo buildPartial() { org.yamcs.protobuf.Mdb.RepeatInfo result = new org.yamcs.protobuf.Mdb.RepeatInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.fixedCount_ = fixedCount_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (dynamicCountBuilder_ == null) { result.dynamicCount_ = dynamicCount_; } else { result.dynamicCount_ = dynamicCountBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.bitsBetween_ = bitsBetween_; to_bitField0_ |= 0x00000004; } 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.Mdb.RepeatInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.RepeatInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.RepeatInfo other) { if (other == org.yamcs.protobuf.Mdb.RepeatInfo.getDefaultInstance()) return this; if (other.hasFixedCount()) { setFixedCount(other.getFixedCount()); } if (other.hasDynamicCount()) { mergeDynamicCount(other.getDynamicCount()); } if (other.hasBitsBetween()) { setBitsBetween(other.getBitsBetween()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasDynamicCount()) { if (!getDynamicCount().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.Mdb.RepeatInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.RepeatInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long fixedCount_ ; /** * optional int64 fixedCount = 1; */ public boolean hasFixedCount() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 fixedCount = 1; */ public long getFixedCount() { return fixedCount_; } /** * optional int64 fixedCount = 1; */ public Builder setFixedCount(long value) { bitField0_ |= 0x00000001; fixedCount_ = value; onChanged(); return this; } /** * optional int64 fixedCount = 1; */ public Builder clearFixedCount() { bitField0_ = (bitField0_ & ~0x00000001); fixedCount_ = 0L; onChanged(); return this; } private org.yamcs.protobuf.Mdb.ParameterInfo dynamicCount_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> dynamicCountBuilder_; /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ public boolean hasDynamicCount() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ public org.yamcs.protobuf.Mdb.ParameterInfo getDynamicCount() { if (dynamicCountBuilder_ == null) { return dynamicCount_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : dynamicCount_; } else { return dynamicCountBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ public Builder setDynamicCount(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (dynamicCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dynamicCount_ = value; onChanged(); } else { dynamicCountBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ public Builder setDynamicCount( org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (dynamicCountBuilder_ == null) { dynamicCount_ = builderForValue.build(); onChanged(); } else { dynamicCountBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ public Builder mergeDynamicCount(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (dynamicCountBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && dynamicCount_ != null && dynamicCount_ != org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()) { dynamicCount_ = org.yamcs.protobuf.Mdb.ParameterInfo.newBuilder(dynamicCount_).mergeFrom(value).buildPartial(); } else { dynamicCount_ = value; } onChanged(); } else { dynamicCountBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ public Builder clearDynamicCount() { if (dynamicCountBuilder_ == null) { dynamicCount_ = null; onChanged(); } else { dynamicCountBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getDynamicCountBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDynamicCountFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getDynamicCountOrBuilder() { if (dynamicCountBuilder_ != null) { return dynamicCountBuilder_.getMessageOrBuilder(); } else { return dynamicCount_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : dynamicCount_; } } /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> getDynamicCountFieldBuilder() { if (dynamicCountBuilder_ == null) { dynamicCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder>( getDynamicCount(), getParentForChildren(), isClean()); dynamicCount_ = null; } return dynamicCountBuilder_; } private int bitsBetween_ ; /** * optional int32 bitsBetween = 3; */ public boolean hasBitsBetween() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 bitsBetween = 3; */ public int getBitsBetween() { return bitsBetween_; } /** * optional int32 bitsBetween = 3; */ public Builder setBitsBetween(int value) { bitField0_ |= 0x00000004; bitsBetween_ = value; onChanged(); return this; } /** * optional int32 bitsBetween = 3; */ public Builder clearBitsBetween() { bitField0_ = (bitField0_ & ~0x00000004); bitsBetween_ = 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.mdb.RepeatInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.RepeatInfo) private static final org.yamcs.protobuf.Mdb.RepeatInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.RepeatInfo(); } public static org.yamcs.protobuf.Mdb.RepeatInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RepeatInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RepeatInfo(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.Mdb.RepeatInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SequenceEntryInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.SequenceEntryInfo) com.google.protobuf.MessageOrBuilder { /** * optional int32 locationInBits = 1; */ boolean hasLocationInBits(); /** * optional int32 locationInBits = 1; */ int getLocationInBits(); /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; */ boolean hasReferenceLocation(); /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; */ org.yamcs.protobuf.Mdb.SequenceEntryInfo.ReferenceLocationType getReferenceLocation(); /** *
     * For use in sequence containers
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ boolean hasContainer(); /** *
     * For use in sequence containers
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ org.yamcs.protobuf.Mdb.ContainerInfo getContainer(); /** *
     * For use in sequence containers
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ boolean hasParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ org.yamcs.protobuf.Mdb.ParameterInfo getParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(); /** *
     * For use in command containers
     * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ boolean hasArgument(); /** *
     * For use in command containers
     * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ org.yamcs.protobuf.Mdb.ArgumentInfo getArgument(); /** *
     * For use in command containers
     * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder getArgumentOrBuilder(); /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ boolean hasFixedValue(); /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ org.yamcs.protobuf.Mdb.FixedValueInfo getFixedValue(); /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ org.yamcs.protobuf.Mdb.FixedValueInfoOrBuilder getFixedValueOrBuilder(); /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ boolean hasRepeat(); /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ org.yamcs.protobuf.Mdb.RepeatInfo getRepeat(); /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ org.yamcs.protobuf.Mdb.RepeatInfoOrBuilder getRepeatOrBuilder(); } /** * Protobuf type {@code yamcs.protobuf.mdb.SequenceEntryInfo} */ public static final class SequenceEntryInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.SequenceEntryInfo) SequenceEntryInfoOrBuilder { private static final long serialVersionUID = 0L; // Use SequenceEntryInfo.newBuilder() to construct. private SequenceEntryInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SequenceEntryInfo() { referenceLocation_ = 1; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SequenceEntryInfo( 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 8: { bitField0_ |= 0x00000001; locationInBits_ = input.readInt32(); break; } case 16: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.SequenceEntryInfo.ReferenceLocationType value = org.yamcs.protobuf.Mdb.SequenceEntryInfo.ReferenceLocationType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000002; referenceLocation_ = rawValue; } break; } case 26: { org.yamcs.protobuf.Mdb.ContainerInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = container_.toBuilder(); } container_ = input.readMessage(org.yamcs.protobuf.Mdb.ContainerInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(container_); container_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { org.yamcs.protobuf.Mdb.ParameterInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = parameter_.toBuilder(); } parameter_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(parameter_); parameter_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { org.yamcs.protobuf.Mdb.RepeatInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000040) != 0)) { subBuilder = repeat_.toBuilder(); } repeat_ = input.readMessage(org.yamcs.protobuf.Mdb.RepeatInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(repeat_); repeat_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 50: { org.yamcs.protobuf.Mdb.ArgumentInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000010) != 0)) { subBuilder = argument_.toBuilder(); } argument_ = input.readMessage(org.yamcs.protobuf.Mdb.ArgumentInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(argument_); argument_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 58: { org.yamcs.protobuf.Mdb.FixedValueInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000020) != 0)) { subBuilder = fixedValue_.toBuilder(); } fixedValue_ = input.readMessage(org.yamcs.protobuf.Mdb.FixedValueInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(fixedValue_); fixedValue_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; 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.Mdb.internal_static_yamcs_protobuf_mdb_SequenceEntryInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SequenceEntryInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.SequenceEntryInfo.class, org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType} */ public enum ReferenceLocationType implements com.google.protobuf.ProtocolMessageEnum { /** * CONTAINER_START = 1; */ CONTAINER_START(1), /** * PREVIOUS_ENTRY = 2; */ PREVIOUS_ENTRY(2), ; /** * CONTAINER_START = 1; */ public static final int CONTAINER_START_VALUE = 1; /** * PREVIOUS_ENTRY = 2; */ public static final int PREVIOUS_ENTRY_VALUE = 2; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ReferenceLocationType valueOf(int value) { return forNumber(value); } public static ReferenceLocationType forNumber(int value) { switch (value) { case 1: return CONTAINER_START; case 2: return PREVIOUS_ENTRY; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ReferenceLocationType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ReferenceLocationType findValueByNumber(int number) { return ReferenceLocationType.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.Mdb.SequenceEntryInfo.getDescriptor().getEnumTypes().get(0); } private static final ReferenceLocationType[] VALUES = values(); public static ReferenceLocationType 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 ReferenceLocationType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType) } private int bitField0_; public static final int LOCATIONINBITS_FIELD_NUMBER = 1; private int locationInBits_; /** * optional int32 locationInBits = 1; */ public boolean hasLocationInBits() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 locationInBits = 1; */ public int getLocationInBits() { return locationInBits_; } public static final int REFERENCELOCATION_FIELD_NUMBER = 2; private int referenceLocation_; /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; */ public boolean hasReferenceLocation() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfo.ReferenceLocationType getReferenceLocation() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.SequenceEntryInfo.ReferenceLocationType result = org.yamcs.protobuf.Mdb.SequenceEntryInfo.ReferenceLocationType.valueOf(referenceLocation_); return result == null ? org.yamcs.protobuf.Mdb.SequenceEntryInfo.ReferenceLocationType.CONTAINER_START : result; } public static final int CONTAINER_FIELD_NUMBER = 3; private org.yamcs.protobuf.Mdb.ContainerInfo container_; /** *
     * For use in sequence containers
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ public boolean hasContainer() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * For use in sequence containers
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ public org.yamcs.protobuf.Mdb.ContainerInfo getContainer() { return container_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : container_; } /** *
     * For use in sequence containers
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder() { return container_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : container_; } public static final int PARAMETER_FIELD_NUMBER = 4; private org.yamcs.protobuf.Mdb.ParameterInfo parameter_; /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ public boolean hasParameter() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } public static final int ARGUMENT_FIELD_NUMBER = 6; private org.yamcs.protobuf.Mdb.ArgumentInfo argument_; /** *
     * For use in command containers
     * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ public boolean hasArgument() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * For use in command containers
     * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ public org.yamcs.protobuf.Mdb.ArgumentInfo getArgument() { return argument_ == null ? org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance() : argument_; } /** *
     * For use in command containers
     * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ public org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder getArgumentOrBuilder() { return argument_ == null ? org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance() : argument_; } public static final int FIXEDVALUE_FIELD_NUMBER = 7; private org.yamcs.protobuf.Mdb.FixedValueInfo fixedValue_; /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ public boolean hasFixedValue() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ public org.yamcs.protobuf.Mdb.FixedValueInfo getFixedValue() { return fixedValue_ == null ? org.yamcs.protobuf.Mdb.FixedValueInfo.getDefaultInstance() : fixedValue_; } /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ public org.yamcs.protobuf.Mdb.FixedValueInfoOrBuilder getFixedValueOrBuilder() { return fixedValue_ == null ? org.yamcs.protobuf.Mdb.FixedValueInfo.getDefaultInstance() : fixedValue_; } public static final int REPEAT_FIELD_NUMBER = 5; private org.yamcs.protobuf.Mdb.RepeatInfo repeat_; /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ public boolean hasRepeat() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ public org.yamcs.protobuf.Mdb.RepeatInfo getRepeat() { return repeat_ == null ? org.yamcs.protobuf.Mdb.RepeatInfo.getDefaultInstance() : repeat_; } /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ public org.yamcs.protobuf.Mdb.RepeatInfoOrBuilder getRepeatOrBuilder() { return repeat_ == null ? org.yamcs.protobuf.Mdb.RepeatInfo.getDefaultInstance() : repeat_; } 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 (hasContainer()) { if (!getContainer().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasParameter()) { if (!getParameter().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasArgument()) { if (!getArgument().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasRepeat()) { if (!getRepeat().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.writeInt32(1, locationInBits_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeEnum(2, referenceLocation_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getContainer()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getParameter()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(5, getRepeat()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(6, getArgument()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(7, getFixedValue()); } 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 .computeInt32Size(1, locationInBits_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, referenceLocation_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getContainer()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getParameter()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getRepeat()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getArgument()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getFixedValue()); } 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.Mdb.SequenceEntryInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.SequenceEntryInfo other = (org.yamcs.protobuf.Mdb.SequenceEntryInfo) obj; if (hasLocationInBits() != other.hasLocationInBits()) return false; if (hasLocationInBits()) { if (getLocationInBits() != other.getLocationInBits()) return false; } if (hasReferenceLocation() != other.hasReferenceLocation()) return false; if (hasReferenceLocation()) { if (referenceLocation_ != other.referenceLocation_) return false; } if (hasContainer() != other.hasContainer()) return false; if (hasContainer()) { if (!getContainer() .equals(other.getContainer())) return false; } if (hasParameter() != other.hasParameter()) return false; if (hasParameter()) { if (!getParameter() .equals(other.getParameter())) return false; } if (hasArgument() != other.hasArgument()) return false; if (hasArgument()) { if (!getArgument() .equals(other.getArgument())) return false; } if (hasFixedValue() != other.hasFixedValue()) return false; if (hasFixedValue()) { if (!getFixedValue() .equals(other.getFixedValue())) return false; } if (hasRepeat() != other.hasRepeat()) return false; if (hasRepeat()) { if (!getRepeat() .equals(other.getRepeat())) 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 (hasLocationInBits()) { hash = (37 * hash) + LOCATIONINBITS_FIELD_NUMBER; hash = (53 * hash) + getLocationInBits(); } if (hasReferenceLocation()) { hash = (37 * hash) + REFERENCELOCATION_FIELD_NUMBER; hash = (53 * hash) + referenceLocation_; } if (hasContainer()) { hash = (37 * hash) + CONTAINER_FIELD_NUMBER; hash = (53 * hash) + getContainer().hashCode(); } if (hasParameter()) { hash = (37 * hash) + PARAMETER_FIELD_NUMBER; hash = (53 * hash) + getParameter().hashCode(); } if (hasArgument()) { hash = (37 * hash) + ARGUMENT_FIELD_NUMBER; hash = (53 * hash) + getArgument().hashCode(); } if (hasFixedValue()) { hash = (37 * hash) + FIXEDVALUE_FIELD_NUMBER; hash = (53 * hash) + getFixedValue().hashCode(); } if (hasRepeat()) { hash = (37 * hash) + REPEAT_FIELD_NUMBER; hash = (53 * hash) + getRepeat().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.SequenceEntryInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SequenceEntryInfo 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.Mdb.SequenceEntryInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SequenceEntryInfo 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.Mdb.SequenceEntryInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SequenceEntryInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.SequenceEntryInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SequenceEntryInfo 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.Mdb.SequenceEntryInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SequenceEntryInfo 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.Mdb.SequenceEntryInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SequenceEntryInfo 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.Mdb.SequenceEntryInfo 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.mdb.SequenceEntryInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.SequenceEntryInfo) org.yamcs.protobuf.Mdb.SequenceEntryInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SequenceEntryInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SequenceEntryInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.SequenceEntryInfo.class, org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.SequenceEntryInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getContainerFieldBuilder(); getParameterFieldBuilder(); getArgumentFieldBuilder(); getFixedValueFieldBuilder(); getRepeatFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); locationInBits_ = 0; bitField0_ = (bitField0_ & ~0x00000001); referenceLocation_ = 1; bitField0_ = (bitField0_ & ~0x00000002); if (containerBuilder_ == null) { container_ = null; } else { containerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (parameterBuilder_ == null) { parameter_ = null; } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (argumentBuilder_ == null) { argument_ = null; } else { argumentBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (fixedValueBuilder_ == null) { fixedValue_ = null; } else { fixedValueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (repeatBuilder_ == null) { repeat_ = null; } else { repeatBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SequenceEntryInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.SequenceEntryInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.SequenceEntryInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.SequenceEntryInfo build() { org.yamcs.protobuf.Mdb.SequenceEntryInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.SequenceEntryInfo buildPartial() { org.yamcs.protobuf.Mdb.SequenceEntryInfo result = new org.yamcs.protobuf.Mdb.SequenceEntryInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.locationInBits_ = locationInBits_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.referenceLocation_ = referenceLocation_; if (((from_bitField0_ & 0x00000004) != 0)) { if (containerBuilder_ == null) { result.container_ = container_; } else { result.container_ = containerBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (parameterBuilder_ == null) { result.parameter_ = parameter_; } else { result.parameter_ = parameterBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { if (argumentBuilder_ == null) { result.argument_ = argument_; } else { result.argument_ = argumentBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { if (fixedValueBuilder_ == null) { result.fixedValue_ = fixedValue_; } else { result.fixedValue_ = fixedValueBuilder_.build(); } to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { if (repeatBuilder_ == null) { result.repeat_ = repeat_; } else { result.repeat_ = repeatBuilder_.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.Mdb.SequenceEntryInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.SequenceEntryInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.SequenceEntryInfo other) { if (other == org.yamcs.protobuf.Mdb.SequenceEntryInfo.getDefaultInstance()) return this; if (other.hasLocationInBits()) { setLocationInBits(other.getLocationInBits()); } if (other.hasReferenceLocation()) { setReferenceLocation(other.getReferenceLocation()); } if (other.hasContainer()) { mergeContainer(other.getContainer()); } if (other.hasParameter()) { mergeParameter(other.getParameter()); } if (other.hasArgument()) { mergeArgument(other.getArgument()); } if (other.hasFixedValue()) { mergeFixedValue(other.getFixedValue()); } if (other.hasRepeat()) { mergeRepeat(other.getRepeat()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasContainer()) { if (!getContainer().isInitialized()) { return false; } } if (hasParameter()) { if (!getParameter().isInitialized()) { return false; } } if (hasArgument()) { if (!getArgument().isInitialized()) { return false; } } if (hasRepeat()) { if (!getRepeat().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.Mdb.SequenceEntryInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.SequenceEntryInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int locationInBits_ ; /** * optional int32 locationInBits = 1; */ public boolean hasLocationInBits() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 locationInBits = 1; */ public int getLocationInBits() { return locationInBits_; } /** * optional int32 locationInBits = 1; */ public Builder setLocationInBits(int value) { bitField0_ |= 0x00000001; locationInBits_ = value; onChanged(); return this; } /** * optional int32 locationInBits = 1; */ public Builder clearLocationInBits() { bitField0_ = (bitField0_ & ~0x00000001); locationInBits_ = 0; onChanged(); return this; } private int referenceLocation_ = 1; /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; */ public boolean hasReferenceLocation() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfo.ReferenceLocationType getReferenceLocation() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.SequenceEntryInfo.ReferenceLocationType result = org.yamcs.protobuf.Mdb.SequenceEntryInfo.ReferenceLocationType.valueOf(referenceLocation_); return result == null ? org.yamcs.protobuf.Mdb.SequenceEntryInfo.ReferenceLocationType.CONTAINER_START : result; } /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; */ public Builder setReferenceLocation(org.yamcs.protobuf.Mdb.SequenceEntryInfo.ReferenceLocationType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; referenceLocation_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; */ public Builder clearReferenceLocation() { bitField0_ = (bitField0_ & ~0x00000002); referenceLocation_ = 1; onChanged(); return this; } private org.yamcs.protobuf.Mdb.ContainerInfo container_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> containerBuilder_; /** *
       * For use in sequence containers
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ public boolean hasContainer() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * For use in sequence containers
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ public org.yamcs.protobuf.Mdb.ContainerInfo getContainer() { if (containerBuilder_ == null) { return container_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : container_; } else { return containerBuilder_.getMessage(); } } /** *
       * For use in sequence containers
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ public Builder setContainer(org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } container_ = value; onChanged(); } else { containerBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** *
       * For use in sequence containers
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ public Builder setContainer( org.yamcs.protobuf.Mdb.ContainerInfo.Builder builderForValue) { if (containerBuilder_ == null) { container_ = builderForValue.build(); onChanged(); } else { containerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** *
       * For use in sequence containers
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ public Builder mergeContainer(org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containerBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && container_ != null && container_ != org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance()) { container_ = org.yamcs.protobuf.Mdb.ContainerInfo.newBuilder(container_).mergeFrom(value).buildPartial(); } else { container_ = value; } onChanged(); } else { containerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** *
       * For use in sequence containers
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ public Builder clearContainer() { if (containerBuilder_ == null) { container_ = null; onChanged(); } else { containerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** *
       * For use in sequence containers
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder getContainerBuilder() { bitField0_ |= 0x00000004; onChanged(); return getContainerFieldBuilder().getBuilder(); } /** *
       * For use in sequence containers
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder() { if (containerBuilder_ != null) { return containerBuilder_.getMessageOrBuilder(); } else { return container_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : container_; } } /** *
       * For use in sequence containers
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> getContainerFieldBuilder() { if (containerBuilder_ == null) { containerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder>( getContainer(), getParentForChildren(), isClean()); container_ = null; } return containerBuilder_; } private org.yamcs.protobuf.Mdb.ParameterInfo parameter_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> parameterBuilder_; /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ public boolean hasParameter() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { if (parameterBuilder_ == null) { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } else { return parameterBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ public Builder setParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } parameter_ = value; onChanged(); } else { parameterBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ public Builder setParameter( org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (parameterBuilder_ == null) { parameter_ = builderForValue.build(); onChanged(); } else { parameterBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ public Builder mergeParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parameterBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && parameter_ != null && parameter_ != org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()) { parameter_ = org.yamcs.protobuf.Mdb.ParameterInfo.newBuilder(parameter_).mergeFrom(value).buildPartial(); } else { parameter_ = value; } onChanged(); } else { parameterBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ public Builder clearParameter() { if (parameterBuilder_ == null) { parameter_ = null; onChanged(); } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getParameterBuilder() { bitField0_ |= 0x00000008; onChanged(); return getParameterFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { if (parameterBuilder_ != null) { return parameterBuilder_.getMessageOrBuilder(); } else { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> getParameterFieldBuilder() { if (parameterBuilder_ == null) { parameterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder>( getParameter(), getParentForChildren(), isClean()); parameter_ = null; } return parameterBuilder_; } private org.yamcs.protobuf.Mdb.ArgumentInfo argument_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentInfo, org.yamcs.protobuf.Mdb.ArgumentInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder> argumentBuilder_; /** *
       * For use in command containers
       * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ public boolean hasArgument() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * For use in command containers
       * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ public org.yamcs.protobuf.Mdb.ArgumentInfo getArgument() { if (argumentBuilder_ == null) { return argument_ == null ? org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance() : argument_; } else { return argumentBuilder_.getMessage(); } } /** *
       * For use in command containers
       * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ public Builder setArgument(org.yamcs.protobuf.Mdb.ArgumentInfo value) { if (argumentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } argument_ = value; onChanged(); } else { argumentBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** *
       * For use in command containers
       * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ public Builder setArgument( org.yamcs.protobuf.Mdb.ArgumentInfo.Builder builderForValue) { if (argumentBuilder_ == null) { argument_ = builderForValue.build(); onChanged(); } else { argumentBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** *
       * For use in command containers
       * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ public Builder mergeArgument(org.yamcs.protobuf.Mdb.ArgumentInfo value) { if (argumentBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && argument_ != null && argument_ != org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance()) { argument_ = org.yamcs.protobuf.Mdb.ArgumentInfo.newBuilder(argument_).mergeFrom(value).buildPartial(); } else { argument_ = value; } onChanged(); } else { argumentBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** *
       * For use in command containers
       * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ public Builder clearArgument() { if (argumentBuilder_ == null) { argument_ = null; onChanged(); } else { argumentBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** *
       * For use in command containers
       * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ public org.yamcs.protobuf.Mdb.ArgumentInfo.Builder getArgumentBuilder() { bitField0_ |= 0x00000010; onChanged(); return getArgumentFieldBuilder().getBuilder(); } /** *
       * For use in command containers
       * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ public org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder getArgumentOrBuilder() { if (argumentBuilder_ != null) { return argumentBuilder_.getMessageOrBuilder(); } else { return argument_ == null ? org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance() : argument_; } } /** *
       * For use in command containers
       * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentInfo, org.yamcs.protobuf.Mdb.ArgumentInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder> getArgumentFieldBuilder() { if (argumentBuilder_ == null) { argumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentInfo, org.yamcs.protobuf.Mdb.ArgumentInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder>( getArgument(), getParentForChildren(), isClean()); argument_ = null; } return argumentBuilder_; } private org.yamcs.protobuf.Mdb.FixedValueInfo fixedValue_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.FixedValueInfo, org.yamcs.protobuf.Mdb.FixedValueInfo.Builder, org.yamcs.protobuf.Mdb.FixedValueInfoOrBuilder> fixedValueBuilder_; /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ public boolean hasFixedValue() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ public org.yamcs.protobuf.Mdb.FixedValueInfo getFixedValue() { if (fixedValueBuilder_ == null) { return fixedValue_ == null ? org.yamcs.protobuf.Mdb.FixedValueInfo.getDefaultInstance() : fixedValue_; } else { return fixedValueBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ public Builder setFixedValue(org.yamcs.protobuf.Mdb.FixedValueInfo value) { if (fixedValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } fixedValue_ = value; onChanged(); } else { fixedValueBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ public Builder setFixedValue( org.yamcs.protobuf.Mdb.FixedValueInfo.Builder builderForValue) { if (fixedValueBuilder_ == null) { fixedValue_ = builderForValue.build(); onChanged(); } else { fixedValueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ public Builder mergeFixedValue(org.yamcs.protobuf.Mdb.FixedValueInfo value) { if (fixedValueBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && fixedValue_ != null && fixedValue_ != org.yamcs.protobuf.Mdb.FixedValueInfo.getDefaultInstance()) { fixedValue_ = org.yamcs.protobuf.Mdb.FixedValueInfo.newBuilder(fixedValue_).mergeFrom(value).buildPartial(); } else { fixedValue_ = value; } onChanged(); } else { fixedValueBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ public Builder clearFixedValue() { if (fixedValueBuilder_ == null) { fixedValue_ = null; onChanged(); } else { fixedValueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ public org.yamcs.protobuf.Mdb.FixedValueInfo.Builder getFixedValueBuilder() { bitField0_ |= 0x00000020; onChanged(); return getFixedValueFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ public org.yamcs.protobuf.Mdb.FixedValueInfoOrBuilder getFixedValueOrBuilder() { if (fixedValueBuilder_ != null) { return fixedValueBuilder_.getMessageOrBuilder(); } else { return fixedValue_ == null ? org.yamcs.protobuf.Mdb.FixedValueInfo.getDefaultInstance() : fixedValue_; } } /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.FixedValueInfo, org.yamcs.protobuf.Mdb.FixedValueInfo.Builder, org.yamcs.protobuf.Mdb.FixedValueInfoOrBuilder> getFixedValueFieldBuilder() { if (fixedValueBuilder_ == null) { fixedValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.FixedValueInfo, org.yamcs.protobuf.Mdb.FixedValueInfo.Builder, org.yamcs.protobuf.Mdb.FixedValueInfoOrBuilder>( getFixedValue(), getParentForChildren(), isClean()); fixedValue_ = null; } return fixedValueBuilder_; } private org.yamcs.protobuf.Mdb.RepeatInfo repeat_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.RepeatInfo, org.yamcs.protobuf.Mdb.RepeatInfo.Builder, org.yamcs.protobuf.Mdb.RepeatInfoOrBuilder> repeatBuilder_; /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ public boolean hasRepeat() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ public org.yamcs.protobuf.Mdb.RepeatInfo getRepeat() { if (repeatBuilder_ == null) { return repeat_ == null ? org.yamcs.protobuf.Mdb.RepeatInfo.getDefaultInstance() : repeat_; } else { return repeatBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ public Builder setRepeat(org.yamcs.protobuf.Mdb.RepeatInfo value) { if (repeatBuilder_ == null) { if (value == null) { throw new NullPointerException(); } repeat_ = value; onChanged(); } else { repeatBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ public Builder setRepeat( org.yamcs.protobuf.Mdb.RepeatInfo.Builder builderForValue) { if (repeatBuilder_ == null) { repeat_ = builderForValue.build(); onChanged(); } else { repeatBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ public Builder mergeRepeat(org.yamcs.protobuf.Mdb.RepeatInfo value) { if (repeatBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && repeat_ != null && repeat_ != org.yamcs.protobuf.Mdb.RepeatInfo.getDefaultInstance()) { repeat_ = org.yamcs.protobuf.Mdb.RepeatInfo.newBuilder(repeat_).mergeFrom(value).buildPartial(); } else { repeat_ = value; } onChanged(); } else { repeatBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ public Builder clearRepeat() { if (repeatBuilder_ == null) { repeat_ = null; onChanged(); } else { repeatBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ public org.yamcs.protobuf.Mdb.RepeatInfo.Builder getRepeatBuilder() { bitField0_ |= 0x00000040; onChanged(); return getRepeatFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ public org.yamcs.protobuf.Mdb.RepeatInfoOrBuilder getRepeatOrBuilder() { if (repeatBuilder_ != null) { return repeatBuilder_.getMessageOrBuilder(); } else { return repeat_ == null ? org.yamcs.protobuf.Mdb.RepeatInfo.getDefaultInstance() : repeat_; } } /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.RepeatInfo, org.yamcs.protobuf.Mdb.RepeatInfo.Builder, org.yamcs.protobuf.Mdb.RepeatInfoOrBuilder> getRepeatFieldBuilder() { if (repeatBuilder_ == null) { repeatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.RepeatInfo, org.yamcs.protobuf.Mdb.RepeatInfo.Builder, org.yamcs.protobuf.Mdb.RepeatInfoOrBuilder>( getRepeat(), getParentForChildren(), isClean()); repeat_ = null; } return repeatBuilder_; } @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.mdb.SequenceEntryInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.SequenceEntryInfo) private static final org.yamcs.protobuf.Mdb.SequenceEntryInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.SequenceEntryInfo(); } public static org.yamcs.protobuf.Mdb.SequenceEntryInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SequenceEntryInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SequenceEntryInfo(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.Mdb.SequenceEntryInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FixedValueInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.FixedValueInfo) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string hexValue = 2; */ boolean hasHexValue(); /** * optional string hexValue = 2; */ java.lang.String getHexValue(); /** * optional string hexValue = 2; */ com.google.protobuf.ByteString getHexValueBytes(); /** * optional int32 sizeInBits = 3; */ boolean hasSizeInBits(); /** * optional int32 sizeInBits = 3; */ int getSizeInBits(); } /** * Protobuf type {@code yamcs.protobuf.mdb.FixedValueInfo} */ public static final class FixedValueInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.FixedValueInfo) FixedValueInfoOrBuilder { private static final long serialVersionUID = 0L; // Use FixedValueInfo.newBuilder() to construct. private FixedValueInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FixedValueInfo() { name_ = ""; hexValue_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FixedValueInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; hexValue_ = bs; break; } case 24: { bitField0_ |= 0x00000004; sizeInBits_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_FixedValueInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_FixedValueInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.FixedValueInfo.class, org.yamcs.protobuf.Mdb.FixedValueInfo.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HEXVALUE_FIELD_NUMBER = 2; private volatile java.lang.Object hexValue_; /** * optional string hexValue = 2; */ public boolean hasHexValue() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string hexValue = 2; */ public java.lang.String getHexValue() { java.lang.Object ref = hexValue_; 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()) { hexValue_ = s; } return s; } } /** * optional string hexValue = 2; */ public com.google.protobuf.ByteString getHexValueBytes() { java.lang.Object ref = hexValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hexValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SIZEINBITS_FIELD_NUMBER = 3; private int sizeInBits_; /** * optional int32 sizeInBits = 3; */ public boolean hasSizeInBits() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 sizeInBits = 3; */ public int getSizeInBits() { return sizeInBits_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, hexValue_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(3, sizeInBits_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, hexValue_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, sizeInBits_); } 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.Mdb.FixedValueInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.FixedValueInfo other = (org.yamcs.protobuf.Mdb.FixedValueInfo) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasHexValue() != other.hasHexValue()) return false; if (hasHexValue()) { if (!getHexValue() .equals(other.getHexValue())) return false; } if (hasSizeInBits() != other.hasSizeInBits()) return false; if (hasSizeInBits()) { if (getSizeInBits() != other.getSizeInBits()) 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasHexValue()) { hash = (37 * hash) + HEXVALUE_FIELD_NUMBER; hash = (53 * hash) + getHexValue().hashCode(); } if (hasSizeInBits()) { hash = (37 * hash) + SIZEINBITS_FIELD_NUMBER; hash = (53 * hash) + getSizeInBits(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.FixedValueInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.FixedValueInfo 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.Mdb.FixedValueInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.FixedValueInfo 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.Mdb.FixedValueInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.FixedValueInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.FixedValueInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.FixedValueInfo 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.Mdb.FixedValueInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.FixedValueInfo 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.Mdb.FixedValueInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.FixedValueInfo 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.Mdb.FixedValueInfo 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.mdb.FixedValueInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.FixedValueInfo) org.yamcs.protobuf.Mdb.FixedValueInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_FixedValueInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_FixedValueInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.FixedValueInfo.class, org.yamcs.protobuf.Mdb.FixedValueInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.FixedValueInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); hexValue_ = ""; bitField0_ = (bitField0_ & ~0x00000002); sizeInBits_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_FixedValueInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.FixedValueInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.FixedValueInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.FixedValueInfo build() { org.yamcs.protobuf.Mdb.FixedValueInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.FixedValueInfo buildPartial() { org.yamcs.protobuf.Mdb.FixedValueInfo result = new org.yamcs.protobuf.Mdb.FixedValueInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.hexValue_ = hexValue_; if (((from_bitField0_ & 0x00000004) != 0)) { result.sizeInBits_ = sizeInBits_; to_bitField0_ |= 0x00000004; } 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.Mdb.FixedValueInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.FixedValueInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.FixedValueInfo other) { if (other == org.yamcs.protobuf.Mdb.FixedValueInfo.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasHexValue()) { bitField0_ |= 0x00000002; hexValue_ = other.hexValue_; onChanged(); } if (other.hasSizeInBits()) { setSizeInBits(other.getSizeInBits()); } 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.Mdb.FixedValueInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.FixedValueInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object hexValue_ = ""; /** * optional string hexValue = 2; */ public boolean hasHexValue() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string hexValue = 2; */ public java.lang.String getHexValue() { java.lang.Object ref = hexValue_; 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()) { hexValue_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string hexValue = 2; */ public com.google.protobuf.ByteString getHexValueBytes() { java.lang.Object ref = hexValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hexValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string hexValue = 2; */ public Builder setHexValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; hexValue_ = value; onChanged(); return this; } /** * optional string hexValue = 2; */ public Builder clearHexValue() { bitField0_ = (bitField0_ & ~0x00000002); hexValue_ = getDefaultInstance().getHexValue(); onChanged(); return this; } /** * optional string hexValue = 2; */ public Builder setHexValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; hexValue_ = value; onChanged(); return this; } private int sizeInBits_ ; /** * optional int32 sizeInBits = 3; */ public boolean hasSizeInBits() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 sizeInBits = 3; */ public int getSizeInBits() { return sizeInBits_; } /** * optional int32 sizeInBits = 3; */ public Builder setSizeInBits(int value) { bitField0_ |= 0x00000004; sizeInBits_ = value; onChanged(); return this; } /** * optional int32 sizeInBits = 3; */ public Builder clearSizeInBits() { bitField0_ = (bitField0_ & ~0x00000004); sizeInBits_ = 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.mdb.FixedValueInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.FixedValueInfo) private static final org.yamcs.protobuf.Mdb.FixedValueInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.FixedValueInfo(); } public static org.yamcs.protobuf.Mdb.FixedValueInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FixedValueInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FixedValueInfo(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.Mdb.FixedValueInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommandContainerInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.CommandContainerInfo) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 2; */ boolean hasQualifiedName(); /** * optional string qualifiedName = 2; */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 2; */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** * optional string shortDescription = 3; */ boolean hasShortDescription(); /** * optional string shortDescription = 3; */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; */ boolean hasLongDescription(); /** * optional string longDescription = 4; */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; */ com.google.protobuf.ByteString getLongDescriptionBytes(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ java.util.List getAliasList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ int getAliasCount(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ java.util.List getAliasOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index); /** * optional int32 sizeInBits = 6; */ boolean hasSizeInBits(); /** * optional int32 sizeInBits = 6; */ int getSizeInBits(); /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ boolean hasBaseContainer(); /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ org.yamcs.protobuf.Mdb.CommandContainerInfo getBaseContainer(); /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ org.yamcs.protobuf.Mdb.CommandContainerInfoOrBuilder getBaseContainerOrBuilder(); /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ java.util.List getEntryList(); /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ org.yamcs.protobuf.Mdb.SequenceEntryInfo getEntry(int index); /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ int getEntryCount(); /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ java.util.List getEntryOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ org.yamcs.protobuf.Mdb.SequenceEntryInfoOrBuilder getEntryOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.mdb.CommandContainerInfo} */ public static final class CommandContainerInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.CommandContainerInfo) CommandContainerInfoOrBuilder { private static final long serialVersionUID = 0L; // Use CommandContainerInfo.newBuilder() to construct. private CommandContainerInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CommandContainerInfo() { name_ = ""; qualifiedName_ = ""; shortDescription_ = ""; longDescription_ = ""; alias_ = java.util.Collections.emptyList(); entry_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommandContainerInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; qualifiedName_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; shortDescription_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; longDescription_ = bs; break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { alias_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } alias_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 48: { bitField0_ |= 0x00000010; sizeInBits_ = input.readInt32(); break; } case 58: { org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000020) != 0)) { subBuilder = baseContainer_.toBuilder(); } baseContainer_ = input.readMessage(org.yamcs.protobuf.Mdb.CommandContainerInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(baseContainer_); baseContainer_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 66: { if (!((mutable_bitField0_ & 0x00000080) != 0)) { entry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } entry_.add( input.readMessage(org.yamcs.protobuf.Mdb.SequenceEntryInfo.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_ & 0x00000010) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); } if (((mutable_bitField0_ & 0x00000080) != 0)) { entry_ = java.util.Collections.unmodifiableList(entry_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CommandContainerInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CommandContainerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.CommandContainerInfo.class, org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 2; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHORTDESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object shortDescription_; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LONGDESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object longDescription_; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALIAS_FIELD_NUMBER = 5; private java.util.List alias_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { return alias_.get(index); } public static final int SIZEINBITS_FIELD_NUMBER = 6; private int sizeInBits_; /** * optional int32 sizeInBits = 6; */ public boolean hasSizeInBits() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 sizeInBits = 6; */ public int getSizeInBits() { return sizeInBits_; } public static final int BASECONTAINER_FIELD_NUMBER = 7; private org.yamcs.protobuf.Mdb.CommandContainerInfo baseContainer_; /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ public boolean hasBaseContainer() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ public org.yamcs.protobuf.Mdb.CommandContainerInfo getBaseContainer() { return baseContainer_ == null ? org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance() : baseContainer_; } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ public org.yamcs.protobuf.Mdb.CommandContainerInfoOrBuilder getBaseContainerOrBuilder() { return baseContainer_ == null ? org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance() : baseContainer_; } public static final int ENTRY_FIELD_NUMBER = 8; private java.util.List entry_; /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public java.util.List getEntryList() { return entry_; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public java.util.List getEntryOrBuilderList() { return entry_; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public int getEntryCount() { return entry_.size(); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfo getEntry(int index) { return entry_.get(index); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfoOrBuilder getEntryOrBuilder( int index) { return entry_.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 < getAliasCount(); i++) { if (!getAlias(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasBaseContainer()) { if (!getBaseContainer().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getEntryCount(); i++) { if (!getEntry(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_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, longDescription_); } for (int i = 0; i < alias_.size(); i++) { output.writeMessage(5, alias_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(6, sizeInBits_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(7, getBaseContainer()); } for (int i = 0; i < entry_.size(); i++) { output.writeMessage(8, entry_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, longDescription_); } for (int i = 0; i < alias_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, alias_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, sizeInBits_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getBaseContainer()); } for (int i = 0; i < entry_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, entry_.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.Mdb.CommandContainerInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.CommandContainerInfo other = (org.yamcs.protobuf.Mdb.CommandContainerInfo) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasQualifiedName() != other.hasQualifiedName()) return false; if (hasQualifiedName()) { if (!getQualifiedName() .equals(other.getQualifiedName())) return false; } if (hasShortDescription() != other.hasShortDescription()) return false; if (hasShortDescription()) { if (!getShortDescription() .equals(other.getShortDescription())) return false; } if (hasLongDescription() != other.hasLongDescription()) return false; if (hasLongDescription()) { if (!getLongDescription() .equals(other.getLongDescription())) return false; } if (!getAliasList() .equals(other.getAliasList())) return false; if (hasSizeInBits() != other.hasSizeInBits()) return false; if (hasSizeInBits()) { if (getSizeInBits() != other.getSizeInBits()) return false; } if (hasBaseContainer() != other.hasBaseContainer()) return false; if (hasBaseContainer()) { if (!getBaseContainer() .equals(other.getBaseContainer())) return false; } if (!getEntryList() .equals(other.getEntryList())) 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasQualifiedName()) { hash = (37 * hash) + QUALIFIEDNAME_FIELD_NUMBER; hash = (53 * hash) + getQualifiedName().hashCode(); } if (hasShortDescription()) { hash = (37 * hash) + SHORTDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getShortDescription().hashCode(); } if (hasLongDescription()) { hash = (37 * hash) + LONGDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getLongDescription().hashCode(); } if (getAliasCount() > 0) { hash = (37 * hash) + ALIAS_FIELD_NUMBER; hash = (53 * hash) + getAliasList().hashCode(); } if (hasSizeInBits()) { hash = (37 * hash) + SIZEINBITS_FIELD_NUMBER; hash = (53 * hash) + getSizeInBits(); } if (hasBaseContainer()) { hash = (37 * hash) + BASECONTAINER_FIELD_NUMBER; hash = (53 * hash) + getBaseContainer().hashCode(); } if (getEntryCount() > 0) { hash = (37 * hash) + ENTRY_FIELD_NUMBER; hash = (53 * hash) + getEntryList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.CommandContainerInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CommandContainerInfo 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.Mdb.CommandContainerInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CommandContainerInfo 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.Mdb.CommandContainerInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CommandContainerInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.CommandContainerInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CommandContainerInfo 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.Mdb.CommandContainerInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CommandContainerInfo 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.Mdb.CommandContainerInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CommandContainerInfo 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.Mdb.CommandContainerInfo 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.mdb.CommandContainerInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.CommandContainerInfo) org.yamcs.protobuf.Mdb.CommandContainerInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CommandContainerInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CommandContainerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.CommandContainerInfo.class, org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.CommandContainerInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAliasFieldBuilder(); getBaseContainerFieldBuilder(); getEntryFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); qualifiedName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); shortDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000004); longDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { aliasBuilder_.clear(); } sizeInBits_ = 0; bitField0_ = (bitField0_ & ~0x00000020); if (baseContainerBuilder_ == null) { baseContainer_ = null; } else { baseContainerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { entryBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CommandContainerInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.CommandContainerInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.CommandContainerInfo build() { org.yamcs.protobuf.Mdb.CommandContainerInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.CommandContainerInfo buildPartial() { org.yamcs.protobuf.Mdb.CommandContainerInfo result = new org.yamcs.protobuf.Mdb.CommandContainerInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.qualifiedName_ = qualifiedName_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.shortDescription_ = shortDescription_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.longDescription_ = longDescription_; if (aliasBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); bitField0_ = (bitField0_ & ~0x00000010); } result.alias_ = alias_; } else { result.alias_ = aliasBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.sizeInBits_ = sizeInBits_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { if (baseContainerBuilder_ == null) { result.baseContainer_ = baseContainer_; } else { result.baseContainer_ = baseContainerBuilder_.build(); } to_bitField0_ |= 0x00000020; } if (entryBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { entry_ = java.util.Collections.unmodifiableList(entry_); bitField0_ = (bitField0_ & ~0x00000080); } result.entry_ = entry_; } else { result.entry_ = entryBuilder_.build(); } 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.Mdb.CommandContainerInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.CommandContainerInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.CommandContainerInfo other) { if (other == org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasQualifiedName()) { bitField0_ |= 0x00000002; qualifiedName_ = other.qualifiedName_; onChanged(); } if (other.hasShortDescription()) { bitField0_ |= 0x00000004; shortDescription_ = other.shortDescription_; onChanged(); } if (other.hasLongDescription()) { bitField0_ |= 0x00000008; longDescription_ = other.longDescription_; onChanged(); } if (aliasBuilder_ == null) { if (!other.alias_.isEmpty()) { if (alias_.isEmpty()) { alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureAliasIsMutable(); alias_.addAll(other.alias_); } onChanged(); } } else { if (!other.alias_.isEmpty()) { if (aliasBuilder_.isEmpty()) { aliasBuilder_.dispose(); aliasBuilder_ = null; alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000010); aliasBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAliasFieldBuilder() : null; } else { aliasBuilder_.addAllMessages(other.alias_); } } } if (other.hasSizeInBits()) { setSizeInBits(other.getSizeInBits()); } if (other.hasBaseContainer()) { mergeBaseContainer(other.getBaseContainer()); } if (entryBuilder_ == null) { if (!other.entry_.isEmpty()) { if (entry_.isEmpty()) { entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureEntryIsMutable(); entry_.addAll(other.entry_); } onChanged(); } } else { if (!other.entry_.isEmpty()) { if (entryBuilder_.isEmpty()) { entryBuilder_.dispose(); entryBuilder_ = null; entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000080); entryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntryFieldBuilder() : null; } else { entryBuilder_.addAllMessages(other.entry_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getAliasCount(); i++) { if (!getAlias(i).isInitialized()) { return false; } } if (hasBaseContainer()) { if (!getBaseContainer().isInitialized()) { return false; } } for (int i = 0; i < getEntryCount(); i++) { if (!getEntry(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.Mdb.CommandContainerInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.CommandContainerInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string qualifiedName = 2; */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder setQualifiedNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } private java.lang.Object shortDescription_ = ""; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string shortDescription = 3; */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder setShortDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } private java.lang.Object longDescription_ = ""; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string longDescription = 4; */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder setLongDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } private java.util.List alias_ = java.util.Collections.emptyList(); private void ensureAliasIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { alias_ = new java.util.ArrayList(alias_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> aliasBuilder_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasList() { if (aliasBuilder_ == null) { return java.util.Collections.unmodifiableList(alias_); } else { return aliasBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public int getAliasCount() { if (aliasBuilder_ == null) { return alias_.size(); } else { return aliasBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { if (aliasBuilder_ == null) { return alias_.get(index); } else { return aliasBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder setAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.set(index, value); onChanged(); } else { aliasBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder setAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.set(index, builderForValue.build()); onChanged(); } else { aliasBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.add(value); onChanged(); } else { aliasBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.add(index, value); onChanged(); } else { aliasBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.add(builderForValue.build()); onChanged(); } else { aliasBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.add(index, builderForValue.build()); onChanged(); } else { aliasBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAllAlias( java.lang.Iterable values) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, alias_); onChanged(); } else { aliasBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder clearAlias() { if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { aliasBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder removeAlias(int index) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.remove(index); onChanged(); } else { aliasBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getAliasBuilder( int index) { return getAliasFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { if (aliasBuilder_ == null) { return alias_.get(index); } else { return aliasBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasOrBuilderList() { if (aliasBuilder_ != null) { return aliasBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(alias_); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder() { return getAliasFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder( int index) { return getAliasFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasBuilderList() { return getAliasFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getAliasFieldBuilder() { if (aliasBuilder_ == null) { aliasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( alias_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); alias_ = null; } return aliasBuilder_; } private int sizeInBits_ ; /** * optional int32 sizeInBits = 6; */ public boolean hasSizeInBits() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 sizeInBits = 6; */ public int getSizeInBits() { return sizeInBits_; } /** * optional int32 sizeInBits = 6; */ public Builder setSizeInBits(int value) { bitField0_ |= 0x00000020; sizeInBits_ = value; onChanged(); return this; } /** * optional int32 sizeInBits = 6; */ public Builder clearSizeInBits() { bitField0_ = (bitField0_ & ~0x00000020); sizeInBits_ = 0; onChanged(); return this; } private org.yamcs.protobuf.Mdb.CommandContainerInfo baseContainer_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandContainerInfo, org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder, org.yamcs.protobuf.Mdb.CommandContainerInfoOrBuilder> baseContainerBuilder_; /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ public boolean hasBaseContainer() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ public org.yamcs.protobuf.Mdb.CommandContainerInfo getBaseContainer() { if (baseContainerBuilder_ == null) { return baseContainer_ == null ? org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance() : baseContainer_; } else { return baseContainerBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ public Builder setBaseContainer(org.yamcs.protobuf.Mdb.CommandContainerInfo value) { if (baseContainerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } baseContainer_ = value; onChanged(); } else { baseContainerBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ public Builder setBaseContainer( org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder builderForValue) { if (baseContainerBuilder_ == null) { baseContainer_ = builderForValue.build(); onChanged(); } else { baseContainerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ public Builder mergeBaseContainer(org.yamcs.protobuf.Mdb.CommandContainerInfo value) { if (baseContainerBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && baseContainer_ != null && baseContainer_ != org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance()) { baseContainer_ = org.yamcs.protobuf.Mdb.CommandContainerInfo.newBuilder(baseContainer_).mergeFrom(value).buildPartial(); } else { baseContainer_ = value; } onChanged(); } else { baseContainerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ public Builder clearBaseContainer() { if (baseContainerBuilder_ == null) { baseContainer_ = null; onChanged(); } else { baseContainerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ public org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder getBaseContainerBuilder() { bitField0_ |= 0x00000040; onChanged(); return getBaseContainerFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ public org.yamcs.protobuf.Mdb.CommandContainerInfoOrBuilder getBaseContainerOrBuilder() { if (baseContainerBuilder_ != null) { return baseContainerBuilder_.getMessageOrBuilder(); } else { return baseContainer_ == null ? org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance() : baseContainer_; } } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandContainerInfo, org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder, org.yamcs.protobuf.Mdb.CommandContainerInfoOrBuilder> getBaseContainerFieldBuilder() { if (baseContainerBuilder_ == null) { baseContainerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandContainerInfo, org.yamcs.protobuf.Mdb.CommandContainerInfo.Builder, org.yamcs.protobuf.Mdb.CommandContainerInfoOrBuilder>( getBaseContainer(), getParentForChildren(), isClean()); baseContainer_ = null; } return baseContainerBuilder_; } private java.util.List entry_ = java.util.Collections.emptyList(); private void ensureEntryIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { entry_ = new java.util.ArrayList(entry_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SequenceEntryInfo, org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder, org.yamcs.protobuf.Mdb.SequenceEntryInfoOrBuilder> entryBuilder_; /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public java.util.List getEntryList() { if (entryBuilder_ == null) { return java.util.Collections.unmodifiableList(entry_); } else { return entryBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public int getEntryCount() { if (entryBuilder_ == null) { return entry_.size(); } else { return entryBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfo getEntry(int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public Builder setEntry( int index, org.yamcs.protobuf.Mdb.SequenceEntryInfo value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.set(index, value); onChanged(); } else { entryBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public Builder setEntry( int index, org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.set(index, builderForValue.build()); onChanged(); } else { entryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public Builder addEntry(org.yamcs.protobuf.Mdb.SequenceEntryInfo value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(value); onChanged(); } else { entryBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public Builder addEntry( int index, org.yamcs.protobuf.Mdb.SequenceEntryInfo value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(index, value); onChanged(); } else { entryBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public Builder addEntry( org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public Builder addEntry( int index, org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(index, builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public Builder addAllEntry( java.lang.Iterable values) { if (entryBuilder_ == null) { ensureEntryIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, entry_); onChanged(); } else { entryBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public Builder clearEntry() { if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { entryBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public Builder removeEntry(int index) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.remove(index); onChanged(); } else { entryBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder getEntryBuilder( int index) { return getEntryFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfoOrBuilder getEntryOrBuilder( int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public java.util.List getEntryOrBuilderList() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entry_); } } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder addEntryBuilder() { return getEntryFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SequenceEntryInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder addEntryBuilder( int index) { return getEntryFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SequenceEntryInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ public java.util.List getEntryBuilderList() { return getEntryFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SequenceEntryInfo, org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder, org.yamcs.protobuf.Mdb.SequenceEntryInfoOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { entryBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SequenceEntryInfo, org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder, org.yamcs.protobuf.Mdb.SequenceEntryInfoOrBuilder>( entry_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; } @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.mdb.CommandContainerInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.CommandContainerInfo) private static final org.yamcs.protobuf.Mdb.CommandContainerInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.CommandContainerInfo(); } public static org.yamcs.protobuf.Mdb.CommandContainerInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CommandContainerInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommandContainerInfo(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.Mdb.CommandContainerInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ContainerInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ContainerInfo) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 2; */ boolean hasQualifiedName(); /** * optional string qualifiedName = 2; */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 2; */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** * optional string shortDescription = 3; */ boolean hasShortDescription(); /** * optional string shortDescription = 3; */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; */ boolean hasLongDescription(); /** * optional string longDescription = 4; */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; */ com.google.protobuf.ByteString getLongDescriptionBytes(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ java.util.List getAliasList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ int getAliasCount(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ java.util.List getAliasOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index); /** * optional int64 maxInterval = 6; */ boolean hasMaxInterval(); /** * optional int64 maxInterval = 6; */ long getMaxInterval(); /** * optional int32 sizeInBits = 7; */ boolean hasSizeInBits(); /** * optional int32 sizeInBits = 7; */ int getSizeInBits(); /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ boolean hasBaseContainer(); /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ org.yamcs.protobuf.Mdb.ContainerInfo getBaseContainer(); /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getBaseContainerOrBuilder(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ java.util.List getRestrictionCriteriaList(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ org.yamcs.protobuf.Mdb.ComparisonInfo getRestrictionCriteria(int index); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ int getRestrictionCriteriaCount(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ java.util.List getRestrictionCriteriaOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getRestrictionCriteriaOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ java.util.List getEntryList(); /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ org.yamcs.protobuf.Mdb.SequenceEntryInfo getEntry(int index); /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ int getEntryCount(); /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ java.util.List getEntryOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ org.yamcs.protobuf.Mdb.SequenceEntryInfoOrBuilder getEntryOrBuilder( int index); /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ boolean hasUsedBy(); /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ org.yamcs.protobuf.Mdb.UsedByInfo getUsedBy(); /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder getUsedByOrBuilder(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ContainerInfo} */ public static final class ContainerInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ContainerInfo) ContainerInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ContainerInfo.newBuilder() to construct. private ContainerInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ContainerInfo() { name_ = ""; qualifiedName_ = ""; shortDescription_ = ""; longDescription_ = ""; alias_ = java.util.Collections.emptyList(); restrictionCriteria_ = java.util.Collections.emptyList(); entry_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ContainerInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; qualifiedName_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; shortDescription_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; longDescription_ = bs; break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { alias_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } alias_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 48: { bitField0_ |= 0x00000010; maxInterval_ = input.readInt64(); break; } case 56: { bitField0_ |= 0x00000020; sizeInBits_ = input.readInt32(); break; } case 66: { org.yamcs.protobuf.Mdb.ContainerInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000040) != 0)) { subBuilder = baseContainer_.toBuilder(); } baseContainer_ = input.readMessage(org.yamcs.protobuf.Mdb.ContainerInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(baseContainer_); baseContainer_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 74: { if (!((mutable_bitField0_ & 0x00000100) != 0)) { restrictionCriteria_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000100; } restrictionCriteria_.add( input.readMessage(org.yamcs.protobuf.Mdb.ComparisonInfo.PARSER, extensionRegistry)); break; } case 82: { if (!((mutable_bitField0_ & 0x00000200) != 0)) { entry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } entry_.add( input.readMessage(org.yamcs.protobuf.Mdb.SequenceEntryInfo.PARSER, extensionRegistry)); break; } case 90: { org.yamcs.protobuf.Mdb.UsedByInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000080) != 0)) { subBuilder = usedBy_.toBuilder(); } usedBy_ = input.readMessage(org.yamcs.protobuf.Mdb.UsedByInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(usedBy_); usedBy_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; 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_ & 0x00000010) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); } if (((mutable_bitField0_ & 0x00000100) != 0)) { restrictionCriteria_ = java.util.Collections.unmodifiableList(restrictionCriteria_); } if (((mutable_bitField0_ & 0x00000200) != 0)) { entry_ = java.util.Collections.unmodifiableList(entry_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContainerInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContainerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ContainerInfo.class, org.yamcs.protobuf.Mdb.ContainerInfo.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 2; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHORTDESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object shortDescription_; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LONGDESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object longDescription_; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALIAS_FIELD_NUMBER = 5; private java.util.List alias_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { return alias_.get(index); } public static final int MAXINTERVAL_FIELD_NUMBER = 6; private long maxInterval_; /** * optional int64 maxInterval = 6; */ public boolean hasMaxInterval() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int64 maxInterval = 6; */ public long getMaxInterval() { return maxInterval_; } public static final int SIZEINBITS_FIELD_NUMBER = 7; private int sizeInBits_; /** * optional int32 sizeInBits = 7; */ public boolean hasSizeInBits() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 sizeInBits = 7; */ public int getSizeInBits() { return sizeInBits_; } public static final int BASECONTAINER_FIELD_NUMBER = 8; private org.yamcs.protobuf.Mdb.ContainerInfo baseContainer_; /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ public boolean hasBaseContainer() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ public org.yamcs.protobuf.Mdb.ContainerInfo getBaseContainer() { return baseContainer_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : baseContainer_; } /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getBaseContainerOrBuilder() { return baseContainer_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : baseContainer_; } public static final int RESTRICTIONCRITERIA_FIELD_NUMBER = 9; private java.util.List restrictionCriteria_; /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public java.util.List getRestrictionCriteriaList() { return restrictionCriteria_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public java.util.List getRestrictionCriteriaOrBuilderList() { return restrictionCriteria_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public int getRestrictionCriteriaCount() { return restrictionCriteria_.size(); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public org.yamcs.protobuf.Mdb.ComparisonInfo getRestrictionCriteria(int index) { return restrictionCriteria_.get(index); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getRestrictionCriteriaOrBuilder( int index) { return restrictionCriteria_.get(index); } public static final int ENTRY_FIELD_NUMBER = 10; private java.util.List entry_; /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public java.util.List getEntryList() { return entry_; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public java.util.List getEntryOrBuilderList() { return entry_; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public int getEntryCount() { return entry_.size(); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfo getEntry(int index) { return entry_.get(index); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfoOrBuilder getEntryOrBuilder( int index) { return entry_.get(index); } public static final int USEDBY_FIELD_NUMBER = 11; private org.yamcs.protobuf.Mdb.UsedByInfo usedBy_; /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public boolean hasUsedBy() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public org.yamcs.protobuf.Mdb.UsedByInfo getUsedBy() { return usedBy_ == null ? org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance() : usedBy_; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder getUsedByOrBuilder() { return usedBy_ == null ? org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance() : usedBy_; } 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 < getAliasCount(); i++) { if (!getAlias(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasBaseContainer()) { if (!getBaseContainer().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getRestrictionCriteriaCount(); i++) { if (!getRestrictionCriteria(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getEntryCount(); i++) { if (!getEntry(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasUsedBy()) { if (!getUsedBy().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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, longDescription_); } for (int i = 0; i < alias_.size(); i++) { output.writeMessage(5, alias_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt64(6, maxInterval_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt32(7, sizeInBits_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(8, getBaseContainer()); } for (int i = 0; i < restrictionCriteria_.size(); i++) { output.writeMessage(9, restrictionCriteria_.get(i)); } for (int i = 0; i < entry_.size(); i++) { output.writeMessage(10, entry_.get(i)); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(11, getUsedBy()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, longDescription_); } for (int i = 0; i < alias_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, alias_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, maxInterval_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, sizeInBits_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getBaseContainer()); } for (int i = 0; i < restrictionCriteria_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, restrictionCriteria_.get(i)); } for (int i = 0; i < entry_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, entry_.get(i)); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getUsedBy()); } 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.Mdb.ContainerInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ContainerInfo other = (org.yamcs.protobuf.Mdb.ContainerInfo) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasQualifiedName() != other.hasQualifiedName()) return false; if (hasQualifiedName()) { if (!getQualifiedName() .equals(other.getQualifiedName())) return false; } if (hasShortDescription() != other.hasShortDescription()) return false; if (hasShortDescription()) { if (!getShortDescription() .equals(other.getShortDescription())) return false; } if (hasLongDescription() != other.hasLongDescription()) return false; if (hasLongDescription()) { if (!getLongDescription() .equals(other.getLongDescription())) return false; } if (!getAliasList() .equals(other.getAliasList())) return false; if (hasMaxInterval() != other.hasMaxInterval()) return false; if (hasMaxInterval()) { if (getMaxInterval() != other.getMaxInterval()) return false; } if (hasSizeInBits() != other.hasSizeInBits()) return false; if (hasSizeInBits()) { if (getSizeInBits() != other.getSizeInBits()) return false; } if (hasBaseContainer() != other.hasBaseContainer()) return false; if (hasBaseContainer()) { if (!getBaseContainer() .equals(other.getBaseContainer())) return false; } if (!getRestrictionCriteriaList() .equals(other.getRestrictionCriteriaList())) return false; if (!getEntryList() .equals(other.getEntryList())) return false; if (hasUsedBy() != other.hasUsedBy()) return false; if (hasUsedBy()) { if (!getUsedBy() .equals(other.getUsedBy())) 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasQualifiedName()) { hash = (37 * hash) + QUALIFIEDNAME_FIELD_NUMBER; hash = (53 * hash) + getQualifiedName().hashCode(); } if (hasShortDescription()) { hash = (37 * hash) + SHORTDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getShortDescription().hashCode(); } if (hasLongDescription()) { hash = (37 * hash) + LONGDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getLongDescription().hashCode(); } if (getAliasCount() > 0) { hash = (37 * hash) + ALIAS_FIELD_NUMBER; hash = (53 * hash) + getAliasList().hashCode(); } if (hasMaxInterval()) { hash = (37 * hash) + MAXINTERVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxInterval()); } if (hasSizeInBits()) { hash = (37 * hash) + SIZEINBITS_FIELD_NUMBER; hash = (53 * hash) + getSizeInBits(); } if (hasBaseContainer()) { hash = (37 * hash) + BASECONTAINER_FIELD_NUMBER; hash = (53 * hash) + getBaseContainer().hashCode(); } if (getRestrictionCriteriaCount() > 0) { hash = (37 * hash) + RESTRICTIONCRITERIA_FIELD_NUMBER; hash = (53 * hash) + getRestrictionCriteriaList().hashCode(); } if (getEntryCount() > 0) { hash = (37 * hash) + ENTRY_FIELD_NUMBER; hash = (53 * hash) + getEntryList().hashCode(); } if (hasUsedBy()) { hash = (37 * hash) + USEDBY_FIELD_NUMBER; hash = (53 * hash) + getUsedBy().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ContainerInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ContainerInfo 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.Mdb.ContainerInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ContainerInfo 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.Mdb.ContainerInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ContainerInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ContainerInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ContainerInfo 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.Mdb.ContainerInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ContainerInfo 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.Mdb.ContainerInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ContainerInfo 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.Mdb.ContainerInfo 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.mdb.ContainerInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ContainerInfo) org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContainerInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContainerInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ContainerInfo.class, org.yamcs.protobuf.Mdb.ContainerInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ContainerInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAliasFieldBuilder(); getBaseContainerFieldBuilder(); getRestrictionCriteriaFieldBuilder(); getEntryFieldBuilder(); getUsedByFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); qualifiedName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); shortDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000004); longDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { aliasBuilder_.clear(); } maxInterval_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); sizeInBits_ = 0; bitField0_ = (bitField0_ & ~0x00000040); if (baseContainerBuilder_ == null) { baseContainer_ = null; } else { baseContainerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); if (restrictionCriteriaBuilder_ == null) { restrictionCriteria_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); } else { restrictionCriteriaBuilder_.clear(); } if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); } else { entryBuilder_.clear(); } if (usedByBuilder_ == null) { usedBy_ = null; } else { usedByBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContainerInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ContainerInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ContainerInfo build() { org.yamcs.protobuf.Mdb.ContainerInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ContainerInfo buildPartial() { org.yamcs.protobuf.Mdb.ContainerInfo result = new org.yamcs.protobuf.Mdb.ContainerInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.qualifiedName_ = qualifiedName_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.shortDescription_ = shortDescription_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.longDescription_ = longDescription_; if (aliasBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); bitField0_ = (bitField0_ & ~0x00000010); } result.alias_ = alias_; } else { result.alias_ = aliasBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.maxInterval_ = maxInterval_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { result.sizeInBits_ = sizeInBits_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { if (baseContainerBuilder_ == null) { result.baseContainer_ = baseContainer_; } else { result.baseContainer_ = baseContainerBuilder_.build(); } to_bitField0_ |= 0x00000040; } if (restrictionCriteriaBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { restrictionCriteria_ = java.util.Collections.unmodifiableList(restrictionCriteria_); bitField0_ = (bitField0_ & ~0x00000100); } result.restrictionCriteria_ = restrictionCriteria_; } else { result.restrictionCriteria_ = restrictionCriteriaBuilder_.build(); } if (entryBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { entry_ = java.util.Collections.unmodifiableList(entry_); bitField0_ = (bitField0_ & ~0x00000200); } result.entry_ = entry_; } else { result.entry_ = entryBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { if (usedByBuilder_ == null) { result.usedBy_ = usedBy_; } else { result.usedBy_ = usedByBuilder_.build(); } to_bitField0_ |= 0x00000080; } 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.Mdb.ContainerInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.ContainerInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ContainerInfo other) { if (other == org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasQualifiedName()) { bitField0_ |= 0x00000002; qualifiedName_ = other.qualifiedName_; onChanged(); } if (other.hasShortDescription()) { bitField0_ |= 0x00000004; shortDescription_ = other.shortDescription_; onChanged(); } if (other.hasLongDescription()) { bitField0_ |= 0x00000008; longDescription_ = other.longDescription_; onChanged(); } if (aliasBuilder_ == null) { if (!other.alias_.isEmpty()) { if (alias_.isEmpty()) { alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureAliasIsMutable(); alias_.addAll(other.alias_); } onChanged(); } } else { if (!other.alias_.isEmpty()) { if (aliasBuilder_.isEmpty()) { aliasBuilder_.dispose(); aliasBuilder_ = null; alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000010); aliasBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAliasFieldBuilder() : null; } else { aliasBuilder_.addAllMessages(other.alias_); } } } if (other.hasMaxInterval()) { setMaxInterval(other.getMaxInterval()); } if (other.hasSizeInBits()) { setSizeInBits(other.getSizeInBits()); } if (other.hasBaseContainer()) { mergeBaseContainer(other.getBaseContainer()); } if (restrictionCriteriaBuilder_ == null) { if (!other.restrictionCriteria_.isEmpty()) { if (restrictionCriteria_.isEmpty()) { restrictionCriteria_ = other.restrictionCriteria_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureRestrictionCriteriaIsMutable(); restrictionCriteria_.addAll(other.restrictionCriteria_); } onChanged(); } } else { if (!other.restrictionCriteria_.isEmpty()) { if (restrictionCriteriaBuilder_.isEmpty()) { restrictionCriteriaBuilder_.dispose(); restrictionCriteriaBuilder_ = null; restrictionCriteria_ = other.restrictionCriteria_; bitField0_ = (bitField0_ & ~0x00000100); restrictionCriteriaBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRestrictionCriteriaFieldBuilder() : null; } else { restrictionCriteriaBuilder_.addAllMessages(other.restrictionCriteria_); } } } if (entryBuilder_ == null) { if (!other.entry_.isEmpty()) { if (entry_.isEmpty()) { entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureEntryIsMutable(); entry_.addAll(other.entry_); } onChanged(); } } else { if (!other.entry_.isEmpty()) { if (entryBuilder_.isEmpty()) { entryBuilder_.dispose(); entryBuilder_ = null; entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000200); entryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntryFieldBuilder() : null; } else { entryBuilder_.addAllMessages(other.entry_); } } } if (other.hasUsedBy()) { mergeUsedBy(other.getUsedBy()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getAliasCount(); i++) { if (!getAlias(i).isInitialized()) { return false; } } if (hasBaseContainer()) { if (!getBaseContainer().isInitialized()) { return false; } } for (int i = 0; i < getRestrictionCriteriaCount(); i++) { if (!getRestrictionCriteria(i).isInitialized()) { return false; } } for (int i = 0; i < getEntryCount(); i++) { if (!getEntry(i).isInitialized()) { return false; } } if (hasUsedBy()) { if (!getUsedBy().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.Mdb.ContainerInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ContainerInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string qualifiedName = 2; */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder setQualifiedNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } private java.lang.Object shortDescription_ = ""; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string shortDescription = 3; */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder setShortDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } private java.lang.Object longDescription_ = ""; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string longDescription = 4; */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder setLongDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } private java.util.List alias_ = java.util.Collections.emptyList(); private void ensureAliasIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { alias_ = new java.util.ArrayList(alias_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> aliasBuilder_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasList() { if (aliasBuilder_ == null) { return java.util.Collections.unmodifiableList(alias_); } else { return aliasBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public int getAliasCount() { if (aliasBuilder_ == null) { return alias_.size(); } else { return aliasBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { if (aliasBuilder_ == null) { return alias_.get(index); } else { return aliasBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder setAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.set(index, value); onChanged(); } else { aliasBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder setAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.set(index, builderForValue.build()); onChanged(); } else { aliasBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.add(value); onChanged(); } else { aliasBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.add(index, value); onChanged(); } else { aliasBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.add(builderForValue.build()); onChanged(); } else { aliasBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.add(index, builderForValue.build()); onChanged(); } else { aliasBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAllAlias( java.lang.Iterable values) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, alias_); onChanged(); } else { aliasBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder clearAlias() { if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { aliasBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder removeAlias(int index) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.remove(index); onChanged(); } else { aliasBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getAliasBuilder( int index) { return getAliasFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { if (aliasBuilder_ == null) { return alias_.get(index); } else { return aliasBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasOrBuilderList() { if (aliasBuilder_ != null) { return aliasBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(alias_); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder() { return getAliasFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder( int index) { return getAliasFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasBuilderList() { return getAliasFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getAliasFieldBuilder() { if (aliasBuilder_ == null) { aliasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( alias_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); alias_ = null; } return aliasBuilder_; } private long maxInterval_ ; /** * optional int64 maxInterval = 6; */ public boolean hasMaxInterval() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int64 maxInterval = 6; */ public long getMaxInterval() { return maxInterval_; } /** * optional int64 maxInterval = 6; */ public Builder setMaxInterval(long value) { bitField0_ |= 0x00000020; maxInterval_ = value; onChanged(); return this; } /** * optional int64 maxInterval = 6; */ public Builder clearMaxInterval() { bitField0_ = (bitField0_ & ~0x00000020); maxInterval_ = 0L; onChanged(); return this; } private int sizeInBits_ ; /** * optional int32 sizeInBits = 7; */ public boolean hasSizeInBits() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int32 sizeInBits = 7; */ public int getSizeInBits() { return sizeInBits_; } /** * optional int32 sizeInBits = 7; */ public Builder setSizeInBits(int value) { bitField0_ |= 0x00000040; sizeInBits_ = value; onChanged(); return this; } /** * optional int32 sizeInBits = 7; */ public Builder clearSizeInBits() { bitField0_ = (bitField0_ & ~0x00000040); sizeInBits_ = 0; onChanged(); return this; } private org.yamcs.protobuf.Mdb.ContainerInfo baseContainer_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> baseContainerBuilder_; /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ public boolean hasBaseContainer() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ public org.yamcs.protobuf.Mdb.ContainerInfo getBaseContainer() { if (baseContainerBuilder_ == null) { return baseContainer_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : baseContainer_; } else { return baseContainerBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ public Builder setBaseContainer(org.yamcs.protobuf.Mdb.ContainerInfo value) { if (baseContainerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } baseContainer_ = value; onChanged(); } else { baseContainerBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ public Builder setBaseContainer( org.yamcs.protobuf.Mdb.ContainerInfo.Builder builderForValue) { if (baseContainerBuilder_ == null) { baseContainer_ = builderForValue.build(); onChanged(); } else { baseContainerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ public Builder mergeBaseContainer(org.yamcs.protobuf.Mdb.ContainerInfo value) { if (baseContainerBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && baseContainer_ != null && baseContainer_ != org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance()) { baseContainer_ = org.yamcs.protobuf.Mdb.ContainerInfo.newBuilder(baseContainer_).mergeFrom(value).buildPartial(); } else { baseContainer_ = value; } onChanged(); } else { baseContainerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ public Builder clearBaseContainer() { if (baseContainerBuilder_ == null) { baseContainer_ = null; onChanged(); } else { baseContainerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder getBaseContainerBuilder() { bitField0_ |= 0x00000080; onChanged(); return getBaseContainerFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getBaseContainerOrBuilder() { if (baseContainerBuilder_ != null) { return baseContainerBuilder_.getMessageOrBuilder(); } else { return baseContainer_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : baseContainer_; } } /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> getBaseContainerFieldBuilder() { if (baseContainerBuilder_ == null) { baseContainerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder>( getBaseContainer(), getParentForChildren(), isClean()); baseContainer_ = null; } return baseContainerBuilder_; } private java.util.List restrictionCriteria_ = java.util.Collections.emptyList(); private void ensureRestrictionCriteriaIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { restrictionCriteria_ = new java.util.ArrayList(restrictionCriteria_); bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ComparisonInfo, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder, org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder> restrictionCriteriaBuilder_; /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public java.util.List getRestrictionCriteriaList() { if (restrictionCriteriaBuilder_ == null) { return java.util.Collections.unmodifiableList(restrictionCriteria_); } else { return restrictionCriteriaBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public int getRestrictionCriteriaCount() { if (restrictionCriteriaBuilder_ == null) { return restrictionCriteria_.size(); } else { return restrictionCriteriaBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public org.yamcs.protobuf.Mdb.ComparisonInfo getRestrictionCriteria(int index) { if (restrictionCriteriaBuilder_ == null) { return restrictionCriteria_.get(index); } else { return restrictionCriteriaBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public Builder setRestrictionCriteria( int index, org.yamcs.protobuf.Mdb.ComparisonInfo value) { if (restrictionCriteriaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRestrictionCriteriaIsMutable(); restrictionCriteria_.set(index, value); onChanged(); } else { restrictionCriteriaBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public Builder setRestrictionCriteria( int index, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder builderForValue) { if (restrictionCriteriaBuilder_ == null) { ensureRestrictionCriteriaIsMutable(); restrictionCriteria_.set(index, builderForValue.build()); onChanged(); } else { restrictionCriteriaBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public Builder addRestrictionCriteria(org.yamcs.protobuf.Mdb.ComparisonInfo value) { if (restrictionCriteriaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRestrictionCriteriaIsMutable(); restrictionCriteria_.add(value); onChanged(); } else { restrictionCriteriaBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public Builder addRestrictionCriteria( int index, org.yamcs.protobuf.Mdb.ComparisonInfo value) { if (restrictionCriteriaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRestrictionCriteriaIsMutable(); restrictionCriteria_.add(index, value); onChanged(); } else { restrictionCriteriaBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public Builder addRestrictionCriteria( org.yamcs.protobuf.Mdb.ComparisonInfo.Builder builderForValue) { if (restrictionCriteriaBuilder_ == null) { ensureRestrictionCriteriaIsMutable(); restrictionCriteria_.add(builderForValue.build()); onChanged(); } else { restrictionCriteriaBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public Builder addRestrictionCriteria( int index, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder builderForValue) { if (restrictionCriteriaBuilder_ == null) { ensureRestrictionCriteriaIsMutable(); restrictionCriteria_.add(index, builderForValue.build()); onChanged(); } else { restrictionCriteriaBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public Builder addAllRestrictionCriteria( java.lang.Iterable values) { if (restrictionCriteriaBuilder_ == null) { ensureRestrictionCriteriaIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, restrictionCriteria_); onChanged(); } else { restrictionCriteriaBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public Builder clearRestrictionCriteria() { if (restrictionCriteriaBuilder_ == null) { restrictionCriteria_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { restrictionCriteriaBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public Builder removeRestrictionCriteria(int index) { if (restrictionCriteriaBuilder_ == null) { ensureRestrictionCriteriaIsMutable(); restrictionCriteria_.remove(index); onChanged(); } else { restrictionCriteriaBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder getRestrictionCriteriaBuilder( int index) { return getRestrictionCriteriaFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getRestrictionCriteriaOrBuilder( int index) { if (restrictionCriteriaBuilder_ == null) { return restrictionCriteria_.get(index); } else { return restrictionCriteriaBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public java.util.List getRestrictionCriteriaOrBuilderList() { if (restrictionCriteriaBuilder_ != null) { return restrictionCriteriaBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(restrictionCriteria_); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder addRestrictionCriteriaBuilder() { return getRestrictionCriteriaFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ComparisonInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder addRestrictionCriteriaBuilder( int index) { return getRestrictionCriteriaFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ComparisonInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9; */ public java.util.List getRestrictionCriteriaBuilderList() { return getRestrictionCriteriaFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ComparisonInfo, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder, org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder> getRestrictionCriteriaFieldBuilder() { if (restrictionCriteriaBuilder_ == null) { restrictionCriteriaBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ComparisonInfo, org.yamcs.protobuf.Mdb.ComparisonInfo.Builder, org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder>( restrictionCriteria_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); restrictionCriteria_ = null; } return restrictionCriteriaBuilder_; } private java.util.List entry_ = java.util.Collections.emptyList(); private void ensureEntryIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { entry_ = new java.util.ArrayList(entry_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SequenceEntryInfo, org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder, org.yamcs.protobuf.Mdb.SequenceEntryInfoOrBuilder> entryBuilder_; /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public java.util.List getEntryList() { if (entryBuilder_ == null) { return java.util.Collections.unmodifiableList(entry_); } else { return entryBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public int getEntryCount() { if (entryBuilder_ == null) { return entry_.size(); } else { return entryBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfo getEntry(int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public Builder setEntry( int index, org.yamcs.protobuf.Mdb.SequenceEntryInfo value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.set(index, value); onChanged(); } else { entryBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public Builder setEntry( int index, org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.set(index, builderForValue.build()); onChanged(); } else { entryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public Builder addEntry(org.yamcs.protobuf.Mdb.SequenceEntryInfo value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(value); onChanged(); } else { entryBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public Builder addEntry( int index, org.yamcs.protobuf.Mdb.SequenceEntryInfo value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(index, value); onChanged(); } else { entryBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public Builder addEntry( org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public Builder addEntry( int index, org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(index, builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public Builder addAllEntry( java.lang.Iterable values) { if (entryBuilder_ == null) { ensureEntryIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, entry_); onChanged(); } else { entryBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public Builder clearEntry() { if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { entryBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public Builder removeEntry(int index) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.remove(index); onChanged(); } else { entryBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder getEntryBuilder( int index) { return getEntryFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfoOrBuilder getEntryOrBuilder( int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public java.util.List getEntryOrBuilderList() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entry_); } } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder addEntryBuilder() { return getEntryFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SequenceEntryInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder addEntryBuilder( int index) { return getEntryFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SequenceEntryInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ public java.util.List getEntryBuilderList() { return getEntryFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SequenceEntryInfo, org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder, org.yamcs.protobuf.Mdb.SequenceEntryInfoOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { entryBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SequenceEntryInfo, org.yamcs.protobuf.Mdb.SequenceEntryInfo.Builder, org.yamcs.protobuf.Mdb.SequenceEntryInfoOrBuilder>( entry_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; } private org.yamcs.protobuf.Mdb.UsedByInfo usedBy_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.UsedByInfo, org.yamcs.protobuf.Mdb.UsedByInfo.Builder, org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder> usedByBuilder_; /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public boolean hasUsedBy() { return ((bitField0_ & 0x00000400) != 0); } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public org.yamcs.protobuf.Mdb.UsedByInfo getUsedBy() { if (usedByBuilder_ == null) { return usedBy_ == null ? org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance() : usedBy_; } else { return usedByBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public Builder setUsedBy(org.yamcs.protobuf.Mdb.UsedByInfo value) { if (usedByBuilder_ == null) { if (value == null) { throw new NullPointerException(); } usedBy_ = value; onChanged(); } else { usedByBuilder_.setMessage(value); } bitField0_ |= 0x00000400; return this; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public Builder setUsedBy( org.yamcs.protobuf.Mdb.UsedByInfo.Builder builderForValue) { if (usedByBuilder_ == null) { usedBy_ = builderForValue.build(); onChanged(); } else { usedByBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; return this; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public Builder mergeUsedBy(org.yamcs.protobuf.Mdb.UsedByInfo value) { if (usedByBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && usedBy_ != null && usedBy_ != org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance()) { usedBy_ = org.yamcs.protobuf.Mdb.UsedByInfo.newBuilder(usedBy_).mergeFrom(value).buildPartial(); } else { usedBy_ = value; } onChanged(); } else { usedByBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; return this; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public Builder clearUsedBy() { if (usedByBuilder_ == null) { usedBy_ = null; onChanged(); } else { usedByBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); return this; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public org.yamcs.protobuf.Mdb.UsedByInfo.Builder getUsedByBuilder() { bitField0_ |= 0x00000400; onChanged(); return getUsedByFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder getUsedByOrBuilder() { if (usedByBuilder_ != null) { return usedByBuilder_.getMessageOrBuilder(); } else { return usedBy_ == null ? org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance() : usedBy_; } } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.UsedByInfo, org.yamcs.protobuf.Mdb.UsedByInfo.Builder, org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder> getUsedByFieldBuilder() { if (usedByBuilder_ == null) { usedByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.UsedByInfo, org.yamcs.protobuf.Mdb.UsedByInfo.Builder, org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder>( getUsedBy(), getParentForChildren(), isClean()); usedBy_ = null; } return usedByBuilder_; } @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.mdb.ContainerInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ContainerInfo) private static final org.yamcs.protobuf.Mdb.ContainerInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ContainerInfo(); } public static org.yamcs.protobuf.Mdb.ContainerInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ContainerInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ContainerInfo(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.Mdb.ContainerInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InputParameterInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.InputParameterInfo) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ boolean hasParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ org.yamcs.protobuf.Mdb.ParameterInfo getParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(); /** * optional string inputName = 2; */ boolean hasInputName(); /** * optional string inputName = 2; */ java.lang.String getInputName(); /** * optional string inputName = 2; */ com.google.protobuf.ByteString getInputNameBytes(); /** * optional int32 parameterInstance = 3; */ boolean hasParameterInstance(); /** * optional int32 parameterInstance = 3; */ int getParameterInstance(); /** * optional bool mandatory = 4; */ boolean hasMandatory(); /** * optional bool mandatory = 4; */ boolean getMandatory(); } /** * Protobuf type {@code yamcs.protobuf.mdb.InputParameterInfo} */ public static final class InputParameterInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.InputParameterInfo) InputParameterInfoOrBuilder { private static final long serialVersionUID = 0L; // Use InputParameterInfo.newBuilder() to construct. private InputParameterInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InputParameterInfo() { inputName_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InputParameterInfo( 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.Mdb.ParameterInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = parameter_.toBuilder(); } parameter_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(parameter_); parameter_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; inputName_ = bs; break; } case 24: { bitField0_ |= 0x00000004; parameterInstance_ = input.readInt32(); break; } case 32: { bitField0_ |= 0x00000008; mandatory_ = input.readBool(); 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.Mdb.internal_static_yamcs_protobuf_mdb_InputParameterInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_InputParameterInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.InputParameterInfo.class, org.yamcs.protobuf.Mdb.InputParameterInfo.Builder.class); } private int bitField0_; public static final int PARAMETER_FIELD_NUMBER = 1; private org.yamcs.protobuf.Mdb.ParameterInfo parameter_; /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } public static final int INPUTNAME_FIELD_NUMBER = 2; private volatile java.lang.Object inputName_; /** * optional string inputName = 2; */ public boolean hasInputName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string inputName = 2; */ public java.lang.String getInputName() { java.lang.Object ref = inputName_; 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()) { inputName_ = s; } return s; } } /** * optional string inputName = 2; */ public com.google.protobuf.ByteString getInputNameBytes() { java.lang.Object ref = inputName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); inputName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARAMETERINSTANCE_FIELD_NUMBER = 3; private int parameterInstance_; /** * optional int32 parameterInstance = 3; */ public boolean hasParameterInstance() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 parameterInstance = 3; */ public int getParameterInstance() { return parameterInstance_; } public static final int MANDATORY_FIELD_NUMBER = 4; private boolean mandatory_; /** * optional bool mandatory = 4; */ public boolean hasMandatory() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool mandatory = 4; */ public boolean getMandatory() { return mandatory_; } 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 (hasParameter()) { if (!getParameter().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, getParameter()); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inputName_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(3, parameterInstance_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, mandatory_); } 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, getParameter()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inputName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, parameterInstance_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, mandatory_); } 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.Mdb.InputParameterInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.InputParameterInfo other = (org.yamcs.protobuf.Mdb.InputParameterInfo) obj; if (hasParameter() != other.hasParameter()) return false; if (hasParameter()) { if (!getParameter() .equals(other.getParameter())) return false; } if (hasInputName() != other.hasInputName()) return false; if (hasInputName()) { if (!getInputName() .equals(other.getInputName())) return false; } if (hasParameterInstance() != other.hasParameterInstance()) return false; if (hasParameterInstance()) { if (getParameterInstance() != other.getParameterInstance()) return false; } if (hasMandatory() != other.hasMandatory()) return false; if (hasMandatory()) { if (getMandatory() != other.getMandatory()) 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 (hasParameter()) { hash = (37 * hash) + PARAMETER_FIELD_NUMBER; hash = (53 * hash) + getParameter().hashCode(); } if (hasInputName()) { hash = (37 * hash) + INPUTNAME_FIELD_NUMBER; hash = (53 * hash) + getInputName().hashCode(); } if (hasParameterInstance()) { hash = (37 * hash) + PARAMETERINSTANCE_FIELD_NUMBER; hash = (53 * hash) + getParameterInstance(); } if (hasMandatory()) { hash = (37 * hash) + MANDATORY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getMandatory()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.InputParameterInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.InputParameterInfo 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.Mdb.InputParameterInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.InputParameterInfo 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.Mdb.InputParameterInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.InputParameterInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.InputParameterInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.InputParameterInfo 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.Mdb.InputParameterInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.InputParameterInfo 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.Mdb.InputParameterInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.InputParameterInfo 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.Mdb.InputParameterInfo 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.mdb.InputParameterInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.InputParameterInfo) org.yamcs.protobuf.Mdb.InputParameterInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_InputParameterInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_InputParameterInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.InputParameterInfo.class, org.yamcs.protobuf.Mdb.InputParameterInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.InputParameterInfo.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_ = null; } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); inputName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); parameterInstance_ = 0; bitField0_ = (bitField0_ & ~0x00000004); mandatory_ = false; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_InputParameterInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.InputParameterInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.InputParameterInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.InputParameterInfo build() { org.yamcs.protobuf.Mdb.InputParameterInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.InputParameterInfo buildPartial() { org.yamcs.protobuf.Mdb.InputParameterInfo result = new org.yamcs.protobuf.Mdb.InputParameterInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (parameterBuilder_ == null) { result.parameter_ = parameter_; } else { result.parameter_ = parameterBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.inputName_ = inputName_; if (((from_bitField0_ & 0x00000004) != 0)) { result.parameterInstance_ = parameterInstance_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.mandatory_ = mandatory_; 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.Mdb.InputParameterInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.InputParameterInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.InputParameterInfo other) { if (other == org.yamcs.protobuf.Mdb.InputParameterInfo.getDefaultInstance()) return this; if (other.hasParameter()) { mergeParameter(other.getParameter()); } if (other.hasInputName()) { bitField0_ |= 0x00000002; inputName_ = other.inputName_; onChanged(); } if (other.hasParameterInstance()) { setParameterInstance(other.getParameterInstance()); } if (other.hasMandatory()) { setMandatory(other.getMandatory()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasParameter()) { if (!getParameter().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.Mdb.InputParameterInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.InputParameterInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.yamcs.protobuf.Mdb.ParameterInfo parameter_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> parameterBuilder_; /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { if (parameterBuilder_ == null) { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } else { return parameterBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public Builder setParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } parameter_ = value; onChanged(); } else { parameterBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public Builder setParameter( org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (parameterBuilder_ == null) { parameter_ = builderForValue.build(); onChanged(); } else { parameterBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public Builder mergeParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parameterBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && parameter_ != null && parameter_ != org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()) { parameter_ = org.yamcs.protobuf.Mdb.ParameterInfo.newBuilder(parameter_).mergeFrom(value).buildPartial(); } else { parameter_ = value; } onChanged(); } else { parameterBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public Builder clearParameter() { if (parameterBuilder_ == null) { parameter_ = null; onChanged(); } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getParameterBuilder() { bitField0_ |= 0x00000001; onChanged(); return getParameterFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { if (parameterBuilder_ != null) { return parameterBuilder_.getMessageOrBuilder(); } else { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> getParameterFieldBuilder() { if (parameterBuilder_ == null) { parameterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder>( getParameter(), getParentForChildren(), isClean()); parameter_ = null; } return parameterBuilder_; } private java.lang.Object inputName_ = ""; /** * optional string inputName = 2; */ public boolean hasInputName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string inputName = 2; */ public java.lang.String getInputName() { java.lang.Object ref = inputName_; 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()) { inputName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string inputName = 2; */ public com.google.protobuf.ByteString getInputNameBytes() { java.lang.Object ref = inputName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); inputName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string inputName = 2; */ public Builder setInputName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; inputName_ = value; onChanged(); return this; } /** * optional string inputName = 2; */ public Builder clearInputName() { bitField0_ = (bitField0_ & ~0x00000002); inputName_ = getDefaultInstance().getInputName(); onChanged(); return this; } /** * optional string inputName = 2; */ public Builder setInputNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; inputName_ = value; onChanged(); return this; } private int parameterInstance_ ; /** * optional int32 parameterInstance = 3; */ public boolean hasParameterInstance() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 parameterInstance = 3; */ public int getParameterInstance() { return parameterInstance_; } /** * optional int32 parameterInstance = 3; */ public Builder setParameterInstance(int value) { bitField0_ |= 0x00000004; parameterInstance_ = value; onChanged(); return this; } /** * optional int32 parameterInstance = 3; */ public Builder clearParameterInstance() { bitField0_ = (bitField0_ & ~0x00000004); parameterInstance_ = 0; onChanged(); return this; } private boolean mandatory_ ; /** * optional bool mandatory = 4; */ public boolean hasMandatory() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool mandatory = 4; */ public boolean getMandatory() { return mandatory_; } /** * optional bool mandatory = 4; */ public Builder setMandatory(boolean value) { bitField0_ |= 0x00000008; mandatory_ = value; onChanged(); return this; } /** * optional bool mandatory = 4; */ public Builder clearMandatory() { bitField0_ = (bitField0_ & ~0x00000008); mandatory_ = false; 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.mdb.InputParameterInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.InputParameterInfo) private static final org.yamcs.protobuf.Mdb.InputParameterInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.InputParameterInfo(); } public static org.yamcs.protobuf.Mdb.InputParameterInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InputParameterInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InputParameterInfo(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.Mdb.InputParameterInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OutputParameterInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.OutputParameterInfo) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ boolean hasParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ org.yamcs.protobuf.Mdb.ParameterInfo getParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(); /** * optional string outputName = 2; */ boolean hasOutputName(); /** * optional string outputName = 2; */ java.lang.String getOutputName(); /** * optional string outputName = 2; */ com.google.protobuf.ByteString getOutputNameBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.OutputParameterInfo} */ public static final class OutputParameterInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.OutputParameterInfo) OutputParameterInfoOrBuilder { private static final long serialVersionUID = 0L; // Use OutputParameterInfo.newBuilder() to construct. private OutputParameterInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OutputParameterInfo() { outputName_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OutputParameterInfo( 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.Mdb.ParameterInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = parameter_.toBuilder(); } parameter_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(parameter_); parameter_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; outputName_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_OutputParameterInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_OutputParameterInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.OutputParameterInfo.class, org.yamcs.protobuf.Mdb.OutputParameterInfo.Builder.class); } private int bitField0_; public static final int PARAMETER_FIELD_NUMBER = 1; private org.yamcs.protobuf.Mdb.ParameterInfo parameter_; /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } public static final int OUTPUTNAME_FIELD_NUMBER = 2; private volatile java.lang.Object outputName_; /** * optional string outputName = 2; */ public boolean hasOutputName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string outputName = 2; */ public java.lang.String getOutputName() { java.lang.Object ref = outputName_; 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()) { outputName_ = s; } return s; } } /** * optional string outputName = 2; */ public com.google.protobuf.ByteString getOutputNameBytes() { java.lang.Object ref = outputName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); outputName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (hasParameter()) { if (!getParameter().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, getParameter()); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, outputName_); } 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, getParameter()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, outputName_); } 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.Mdb.OutputParameterInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.OutputParameterInfo other = (org.yamcs.protobuf.Mdb.OutputParameterInfo) obj; if (hasParameter() != other.hasParameter()) return false; if (hasParameter()) { if (!getParameter() .equals(other.getParameter())) return false; } if (hasOutputName() != other.hasOutputName()) return false; if (hasOutputName()) { if (!getOutputName() .equals(other.getOutputName())) 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 (hasParameter()) { hash = (37 * hash) + PARAMETER_FIELD_NUMBER; hash = (53 * hash) + getParameter().hashCode(); } if (hasOutputName()) { hash = (37 * hash) + OUTPUTNAME_FIELD_NUMBER; hash = (53 * hash) + getOutputName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.OutputParameterInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.OutputParameterInfo 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.Mdb.OutputParameterInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.OutputParameterInfo 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.Mdb.OutputParameterInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.OutputParameterInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.OutputParameterInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.OutputParameterInfo 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.Mdb.OutputParameterInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.OutputParameterInfo 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.Mdb.OutputParameterInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.OutputParameterInfo 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.Mdb.OutputParameterInfo 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.mdb.OutputParameterInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.OutputParameterInfo) org.yamcs.protobuf.Mdb.OutputParameterInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_OutputParameterInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_OutputParameterInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.OutputParameterInfo.class, org.yamcs.protobuf.Mdb.OutputParameterInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.OutputParameterInfo.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_ = null; } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); outputName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_OutputParameterInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.OutputParameterInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.OutputParameterInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.OutputParameterInfo build() { org.yamcs.protobuf.Mdb.OutputParameterInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.OutputParameterInfo buildPartial() { org.yamcs.protobuf.Mdb.OutputParameterInfo result = new org.yamcs.protobuf.Mdb.OutputParameterInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (parameterBuilder_ == null) { result.parameter_ = parameter_; } else { result.parameter_ = parameterBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.outputName_ = outputName_; 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.Mdb.OutputParameterInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.OutputParameterInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.OutputParameterInfo other) { if (other == org.yamcs.protobuf.Mdb.OutputParameterInfo.getDefaultInstance()) return this; if (other.hasParameter()) { mergeParameter(other.getParameter()); } if (other.hasOutputName()) { bitField0_ |= 0x00000002; outputName_ = other.outputName_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasParameter()) { if (!getParameter().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.Mdb.OutputParameterInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.OutputParameterInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.yamcs.protobuf.Mdb.ParameterInfo parameter_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> parameterBuilder_; /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { if (parameterBuilder_ == null) { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } else { return parameterBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public Builder setParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } parameter_ = value; onChanged(); } else { parameterBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public Builder setParameter( org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (parameterBuilder_ == null) { parameter_ = builderForValue.build(); onChanged(); } else { parameterBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public Builder mergeParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parameterBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && parameter_ != null && parameter_ != org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()) { parameter_ = org.yamcs.protobuf.Mdb.ParameterInfo.newBuilder(parameter_).mergeFrom(value).buildPartial(); } else { parameter_ = value; } onChanged(); } else { parameterBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public Builder clearParameter() { if (parameterBuilder_ == null) { parameter_ = null; onChanged(); } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getParameterBuilder() { bitField0_ |= 0x00000001; onChanged(); return getParameterFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { if (parameterBuilder_ != null) { return parameterBuilder_.getMessageOrBuilder(); } else { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> getParameterFieldBuilder() { if (parameterBuilder_ == null) { parameterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder>( getParameter(), getParentForChildren(), isClean()); parameter_ = null; } return parameterBuilder_; } private java.lang.Object outputName_ = ""; /** * optional string outputName = 2; */ public boolean hasOutputName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string outputName = 2; */ public java.lang.String getOutputName() { java.lang.Object ref = outputName_; 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()) { outputName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string outputName = 2; */ public com.google.protobuf.ByteString getOutputNameBytes() { java.lang.Object ref = outputName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); outputName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string outputName = 2; */ public Builder setOutputName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; outputName_ = value; onChanged(); return this; } /** * optional string outputName = 2; */ public Builder clearOutputName() { bitField0_ = (bitField0_ & ~0x00000002); outputName_ = getDefaultInstance().getOutputName(); onChanged(); return this; } /** * optional string outputName = 2; */ public Builder setOutputNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; outputName_ = value; 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.mdb.OutputParameterInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.OutputParameterInfo) private static final org.yamcs.protobuf.Mdb.OutputParameterInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.OutputParameterInfo(); } public static org.yamcs.protobuf.Mdb.OutputParameterInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OutputParameterInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OutputParameterInfo(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.Mdb.OutputParameterInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlgorithmInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.AlgorithmInfo) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 2; */ boolean hasQualifiedName(); /** * optional string qualifiedName = 2; */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 2; */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** * optional string shortDescription = 3; */ boolean hasShortDescription(); /** * optional string shortDescription = 3; */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; */ boolean hasLongDescription(); /** * optional string longDescription = 4; */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; */ com.google.protobuf.ByteString getLongDescriptionBytes(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ java.util.List getAliasList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ int getAliasCount(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ java.util.List getAliasOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index); /** * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 6; */ boolean hasScope(); /** * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 6; */ org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope getScope(); /** * optional string language = 7; */ boolean hasLanguage(); /** * optional string language = 7; */ java.lang.String getLanguage(); /** * optional string language = 7; */ com.google.protobuf.ByteString getLanguageBytes(); /** * optional string text = 8; */ boolean hasText(); /** * optional string text = 8; */ java.lang.String getText(); /** * optional string text = 8; */ com.google.protobuf.ByteString getTextBytes(); /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ java.util.List getInputParameterList(); /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ org.yamcs.protobuf.Mdb.InputParameterInfo getInputParameter(int index); /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ int getInputParameterCount(); /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ java.util.List getInputParameterOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ org.yamcs.protobuf.Mdb.InputParameterInfoOrBuilder getInputParameterOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ java.util.List getOutputParameterList(); /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ org.yamcs.protobuf.Mdb.OutputParameterInfo getOutputParameter(int index); /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ int getOutputParameterCount(); /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ java.util.List getOutputParameterOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ org.yamcs.protobuf.Mdb.OutputParameterInfoOrBuilder getOutputParameterOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ java.util.List getOnParameterUpdateList(); /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ org.yamcs.protobuf.Mdb.ParameterInfo getOnParameterUpdate(int index); /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ int getOnParameterUpdateCount(); /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ java.util.List getOnParameterUpdateOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getOnParameterUpdateOrBuilder( int index); /** * repeated int64 onPeriodicRate = 12; */ java.util.List getOnPeriodicRateList(); /** * repeated int64 onPeriodicRate = 12; */ int getOnPeriodicRateCount(); /** * repeated int64 onPeriodicRate = 12; */ long getOnPeriodicRate(int index); } /** * Protobuf type {@code yamcs.protobuf.mdb.AlgorithmInfo} */ public static final class AlgorithmInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.AlgorithmInfo) AlgorithmInfoOrBuilder { private static final long serialVersionUID = 0L; // Use AlgorithmInfo.newBuilder() to construct. private AlgorithmInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlgorithmInfo() { name_ = ""; qualifiedName_ = ""; shortDescription_ = ""; longDescription_ = ""; alias_ = java.util.Collections.emptyList(); scope_ = 0; language_ = ""; text_ = ""; inputParameter_ = java.util.Collections.emptyList(); outputParameter_ = java.util.Collections.emptyList(); onParameterUpdate_ = java.util.Collections.emptyList(); onPeriodicRate_ = emptyLongList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlgorithmInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; qualifiedName_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; shortDescription_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; longDescription_ = bs; break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { alias_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } alias_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 48: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope value = org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(6, rawValue); } else { bitField0_ |= 0x00000010; scope_ = rawValue; } break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; language_ = bs; break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000040; text_ = bs; break; } case 74: { if (!((mutable_bitField0_ & 0x00000100) != 0)) { inputParameter_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000100; } inputParameter_.add( input.readMessage(org.yamcs.protobuf.Mdb.InputParameterInfo.PARSER, extensionRegistry)); break; } case 82: { if (!((mutable_bitField0_ & 0x00000200) != 0)) { outputParameter_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } outputParameter_.add( input.readMessage(org.yamcs.protobuf.Mdb.OutputParameterInfo.PARSER, extensionRegistry)); break; } case 90: { if (!((mutable_bitField0_ & 0x00000400) != 0)) { onParameterUpdate_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000400; } onParameterUpdate_.add( input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry)); break; } case 96: { if (!((mutable_bitField0_ & 0x00000800) != 0)) { onPeriodicRate_ = newLongList(); mutable_bitField0_ |= 0x00000800; } onPeriodicRate_.addLong(input.readInt64()); break; } case 98: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000800) != 0) && input.getBytesUntilLimit() > 0) { onPeriodicRate_ = newLongList(); mutable_bitField0_ |= 0x00000800; } while (input.getBytesUntilLimit() > 0) { onPeriodicRate_.addLong(input.readInt64()); } input.popLimit(limit); 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_ & 0x00000010) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); } if (((mutable_bitField0_ & 0x00000100) != 0)) { inputParameter_ = java.util.Collections.unmodifiableList(inputParameter_); } if (((mutable_bitField0_ & 0x00000200) != 0)) { outputParameter_ = java.util.Collections.unmodifiableList(outputParameter_); } if (((mutable_bitField0_ & 0x00000400) != 0)) { onParameterUpdate_ = java.util.Collections.unmodifiableList(onParameterUpdate_); } if (((mutable_bitField0_ & 0x00000800) != 0)) { onPeriodicRate_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlgorithmInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlgorithmInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.AlgorithmInfo.class, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.mdb.AlgorithmInfo.Scope} */ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { /** * GLOBAL = 0; */ GLOBAL(0), /** * COMMAND_VERIFICATION = 1; */ COMMAND_VERIFICATION(1), /** * CONTAINER_PROCESSING = 2; */ CONTAINER_PROCESSING(2), ; /** * GLOBAL = 0; */ public static final int GLOBAL_VALUE = 0; /** * COMMAND_VERIFICATION = 1; */ public static final int COMMAND_VERIFICATION_VALUE = 1; /** * CONTAINER_PROCESSING = 2; */ public static final int CONTAINER_PROCESSING_VALUE = 2; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Scope valueOf(int value) { return forNumber(value); } public static Scope forNumber(int value) { switch (value) { case 0: return GLOBAL; case 1: return COMMAND_VERIFICATION; case 2: return CONTAINER_PROCESSING; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Scope> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Scope findValueByNumber(int number) { return Scope.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.Mdb.AlgorithmInfo.getDescriptor().getEnumTypes().get(0); } private static final Scope[] VALUES = values(); public static Scope 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 Scope(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.mdb.AlgorithmInfo.Scope) } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 2; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHORTDESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object shortDescription_; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LONGDESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object longDescription_; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALIAS_FIELD_NUMBER = 5; private java.util.List alias_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { return alias_.get(index); } public static final int SCOPE_FIELD_NUMBER = 6; private int scope_; /** * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 6; */ public boolean hasScope() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 6; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope getScope() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope result = org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope.valueOf(scope_); return result == null ? org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope.GLOBAL : result; } public static final int LANGUAGE_FIELD_NUMBER = 7; private volatile java.lang.Object language_; /** * optional string language = 7; */ public boolean hasLanguage() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string language = 7; */ public java.lang.String getLanguage() { java.lang.Object ref = language_; 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()) { language_ = s; } return s; } } /** * optional string language = 7; */ public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); language_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TEXT_FIELD_NUMBER = 8; private volatile java.lang.Object text_; /** * optional string text = 8; */ public boolean hasText() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string text = 8; */ public java.lang.String getText() { java.lang.Object ref = text_; 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()) { text_ = s; } return s; } } /** * optional string text = 8; */ public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); text_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INPUTPARAMETER_FIELD_NUMBER = 9; private java.util.List inputParameter_; /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public java.util.List getInputParameterList() { return inputParameter_; } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public java.util.List getInputParameterOrBuilderList() { return inputParameter_; } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public int getInputParameterCount() { return inputParameter_.size(); } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public org.yamcs.protobuf.Mdb.InputParameterInfo getInputParameter(int index) { return inputParameter_.get(index); } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public org.yamcs.protobuf.Mdb.InputParameterInfoOrBuilder getInputParameterOrBuilder( int index) { return inputParameter_.get(index); } public static final int OUTPUTPARAMETER_FIELD_NUMBER = 10; private java.util.List outputParameter_; /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public java.util.List getOutputParameterList() { return outputParameter_; } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public java.util.List getOutputParameterOrBuilderList() { return outputParameter_; } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public int getOutputParameterCount() { return outputParameter_.size(); } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public org.yamcs.protobuf.Mdb.OutputParameterInfo getOutputParameter(int index) { return outputParameter_.get(index); } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public org.yamcs.protobuf.Mdb.OutputParameterInfoOrBuilder getOutputParameterOrBuilder( int index) { return outputParameter_.get(index); } public static final int ONPARAMETERUPDATE_FIELD_NUMBER = 11; private java.util.List onParameterUpdate_; /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public java.util.List getOnParameterUpdateList() { return onParameterUpdate_; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public java.util.List getOnParameterUpdateOrBuilderList() { return onParameterUpdate_; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public int getOnParameterUpdateCount() { return onParameterUpdate_.size(); } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public org.yamcs.protobuf.Mdb.ParameterInfo getOnParameterUpdate(int index) { return onParameterUpdate_.get(index); } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getOnParameterUpdateOrBuilder( int index) { return onParameterUpdate_.get(index); } public static final int ONPERIODICRATE_FIELD_NUMBER = 12; private com.google.protobuf.Internal.LongList onPeriodicRate_; /** * repeated int64 onPeriodicRate = 12; */ public java.util.List getOnPeriodicRateList() { return onPeriodicRate_; } /** * repeated int64 onPeriodicRate = 12; */ public int getOnPeriodicRateCount() { return onPeriodicRate_.size(); } /** * repeated int64 onPeriodicRate = 12; */ public long getOnPeriodicRate(int index) { return onPeriodicRate_.getLong(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 < getAliasCount(); i++) { if (!getAlias(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getInputParameterCount(); i++) { if (!getInputParameter(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getOutputParameterCount(); i++) { if (!getOutputParameter(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getOnParameterUpdateCount(); i++) { if (!getOnParameterUpdate(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_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, longDescription_); } for (int i = 0; i < alias_.size(); i++) { output.writeMessage(5, alias_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { output.writeEnum(6, scope_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, language_); } if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, text_); } for (int i = 0; i < inputParameter_.size(); i++) { output.writeMessage(9, inputParameter_.get(i)); } for (int i = 0; i < outputParameter_.size(); i++) { output.writeMessage(10, outputParameter_.get(i)); } for (int i = 0; i < onParameterUpdate_.size(); i++) { output.writeMessage(11, onParameterUpdate_.get(i)); } for (int i = 0; i < onPeriodicRate_.size(); i++) { output.writeInt64(12, onPeriodicRate_.getLong(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, longDescription_); } for (int i = 0; i < alias_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, alias_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, scope_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, language_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, text_); } for (int i = 0; i < inputParameter_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, inputParameter_.get(i)); } for (int i = 0; i < outputParameter_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, outputParameter_.get(i)); } for (int i = 0; i < onParameterUpdate_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, onParameterUpdate_.get(i)); } { int dataSize = 0; for (int i = 0; i < onPeriodicRate_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(onPeriodicRate_.getLong(i)); } size += dataSize; size += 1 * getOnPeriodicRateList().size(); } 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.Mdb.AlgorithmInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.AlgorithmInfo other = (org.yamcs.protobuf.Mdb.AlgorithmInfo) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasQualifiedName() != other.hasQualifiedName()) return false; if (hasQualifiedName()) { if (!getQualifiedName() .equals(other.getQualifiedName())) return false; } if (hasShortDescription() != other.hasShortDescription()) return false; if (hasShortDescription()) { if (!getShortDescription() .equals(other.getShortDescription())) return false; } if (hasLongDescription() != other.hasLongDescription()) return false; if (hasLongDescription()) { if (!getLongDescription() .equals(other.getLongDescription())) return false; } if (!getAliasList() .equals(other.getAliasList())) return false; if (hasScope() != other.hasScope()) return false; if (hasScope()) { if (scope_ != other.scope_) return false; } if (hasLanguage() != other.hasLanguage()) return false; if (hasLanguage()) { if (!getLanguage() .equals(other.getLanguage())) return false; } if (hasText() != other.hasText()) return false; if (hasText()) { if (!getText() .equals(other.getText())) return false; } if (!getInputParameterList() .equals(other.getInputParameterList())) return false; if (!getOutputParameterList() .equals(other.getOutputParameterList())) return false; if (!getOnParameterUpdateList() .equals(other.getOnParameterUpdateList())) return false; if (!getOnPeriodicRateList() .equals(other.getOnPeriodicRateList())) 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasQualifiedName()) { hash = (37 * hash) + QUALIFIEDNAME_FIELD_NUMBER; hash = (53 * hash) + getQualifiedName().hashCode(); } if (hasShortDescription()) { hash = (37 * hash) + SHORTDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getShortDescription().hashCode(); } if (hasLongDescription()) { hash = (37 * hash) + LONGDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getLongDescription().hashCode(); } if (getAliasCount() > 0) { hash = (37 * hash) + ALIAS_FIELD_NUMBER; hash = (53 * hash) + getAliasList().hashCode(); } if (hasScope()) { hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + scope_; } if (hasLanguage()) { hash = (37 * hash) + LANGUAGE_FIELD_NUMBER; hash = (53 * hash) + getLanguage().hashCode(); } if (hasText()) { hash = (37 * hash) + TEXT_FIELD_NUMBER; hash = (53 * hash) + getText().hashCode(); } if (getInputParameterCount() > 0) { hash = (37 * hash) + INPUTPARAMETER_FIELD_NUMBER; hash = (53 * hash) + getInputParameterList().hashCode(); } if (getOutputParameterCount() > 0) { hash = (37 * hash) + OUTPUTPARAMETER_FIELD_NUMBER; hash = (53 * hash) + getOutputParameterList().hashCode(); } if (getOnParameterUpdateCount() > 0) { hash = (37 * hash) + ONPARAMETERUPDATE_FIELD_NUMBER; hash = (53 * hash) + getOnParameterUpdateList().hashCode(); } if (getOnPeriodicRateCount() > 0) { hash = (37 * hash) + ONPERIODICRATE_FIELD_NUMBER; hash = (53 * hash) + getOnPeriodicRateList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.AlgorithmInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AlgorithmInfo 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.Mdb.AlgorithmInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AlgorithmInfo 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.Mdb.AlgorithmInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AlgorithmInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.AlgorithmInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AlgorithmInfo 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.Mdb.AlgorithmInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AlgorithmInfo 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.Mdb.AlgorithmInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AlgorithmInfo 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.Mdb.AlgorithmInfo 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.mdb.AlgorithmInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.AlgorithmInfo) org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlgorithmInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlgorithmInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.AlgorithmInfo.class, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.AlgorithmInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAliasFieldBuilder(); getInputParameterFieldBuilder(); getOutputParameterFieldBuilder(); getOnParameterUpdateFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); qualifiedName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); shortDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000004); longDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { aliasBuilder_.clear(); } scope_ = 0; bitField0_ = (bitField0_ & ~0x00000020); language_ = ""; bitField0_ = (bitField0_ & ~0x00000040); text_ = ""; bitField0_ = (bitField0_ & ~0x00000080); if (inputParameterBuilder_ == null) { inputParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); } else { inputParameterBuilder_.clear(); } if (outputParameterBuilder_ == null) { outputParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); } else { outputParameterBuilder_.clear(); } if (onParameterUpdateBuilder_ == null) { onParameterUpdate_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); } else { onParameterUpdateBuilder_.clear(); } onPeriodicRate_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000800); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AlgorithmInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.AlgorithmInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.AlgorithmInfo build() { org.yamcs.protobuf.Mdb.AlgorithmInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.AlgorithmInfo buildPartial() { org.yamcs.protobuf.Mdb.AlgorithmInfo result = new org.yamcs.protobuf.Mdb.AlgorithmInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.qualifiedName_ = qualifiedName_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.shortDescription_ = shortDescription_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.longDescription_ = longDescription_; if (aliasBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); bitField0_ = (bitField0_ & ~0x00000010); } result.alias_ = alias_; } else { result.alias_ = aliasBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000010; } result.scope_ = scope_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000020; } result.language_ = language_; if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000040; } result.text_ = text_; if (inputParameterBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { inputParameter_ = java.util.Collections.unmodifiableList(inputParameter_); bitField0_ = (bitField0_ & ~0x00000100); } result.inputParameter_ = inputParameter_; } else { result.inputParameter_ = inputParameterBuilder_.build(); } if (outputParameterBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { outputParameter_ = java.util.Collections.unmodifiableList(outputParameter_); bitField0_ = (bitField0_ & ~0x00000200); } result.outputParameter_ = outputParameter_; } else { result.outputParameter_ = outputParameterBuilder_.build(); } if (onParameterUpdateBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { onParameterUpdate_ = java.util.Collections.unmodifiableList(onParameterUpdate_); bitField0_ = (bitField0_ & ~0x00000400); } result.onParameterUpdate_ = onParameterUpdate_; } else { result.onParameterUpdate_ = onParameterUpdateBuilder_.build(); } if (((bitField0_ & 0x00000800) != 0)) { onPeriodicRate_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000800); } result.onPeriodicRate_ = onPeriodicRate_; 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.Mdb.AlgorithmInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.AlgorithmInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.AlgorithmInfo other) { if (other == org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasQualifiedName()) { bitField0_ |= 0x00000002; qualifiedName_ = other.qualifiedName_; onChanged(); } if (other.hasShortDescription()) { bitField0_ |= 0x00000004; shortDescription_ = other.shortDescription_; onChanged(); } if (other.hasLongDescription()) { bitField0_ |= 0x00000008; longDescription_ = other.longDescription_; onChanged(); } if (aliasBuilder_ == null) { if (!other.alias_.isEmpty()) { if (alias_.isEmpty()) { alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureAliasIsMutable(); alias_.addAll(other.alias_); } onChanged(); } } else { if (!other.alias_.isEmpty()) { if (aliasBuilder_.isEmpty()) { aliasBuilder_.dispose(); aliasBuilder_ = null; alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000010); aliasBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAliasFieldBuilder() : null; } else { aliasBuilder_.addAllMessages(other.alias_); } } } if (other.hasScope()) { setScope(other.getScope()); } if (other.hasLanguage()) { bitField0_ |= 0x00000040; language_ = other.language_; onChanged(); } if (other.hasText()) { bitField0_ |= 0x00000080; text_ = other.text_; onChanged(); } if (inputParameterBuilder_ == null) { if (!other.inputParameter_.isEmpty()) { if (inputParameter_.isEmpty()) { inputParameter_ = other.inputParameter_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureInputParameterIsMutable(); inputParameter_.addAll(other.inputParameter_); } onChanged(); } } else { if (!other.inputParameter_.isEmpty()) { if (inputParameterBuilder_.isEmpty()) { inputParameterBuilder_.dispose(); inputParameterBuilder_ = null; inputParameter_ = other.inputParameter_; bitField0_ = (bitField0_ & ~0x00000100); inputParameterBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getInputParameterFieldBuilder() : null; } else { inputParameterBuilder_.addAllMessages(other.inputParameter_); } } } if (outputParameterBuilder_ == null) { if (!other.outputParameter_.isEmpty()) { if (outputParameter_.isEmpty()) { outputParameter_ = other.outputParameter_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureOutputParameterIsMutable(); outputParameter_.addAll(other.outputParameter_); } onChanged(); } } else { if (!other.outputParameter_.isEmpty()) { if (outputParameterBuilder_.isEmpty()) { outputParameterBuilder_.dispose(); outputParameterBuilder_ = null; outputParameter_ = other.outputParameter_; bitField0_ = (bitField0_ & ~0x00000200); outputParameterBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOutputParameterFieldBuilder() : null; } else { outputParameterBuilder_.addAllMessages(other.outputParameter_); } } } if (onParameterUpdateBuilder_ == null) { if (!other.onParameterUpdate_.isEmpty()) { if (onParameterUpdate_.isEmpty()) { onParameterUpdate_ = other.onParameterUpdate_; bitField0_ = (bitField0_ & ~0x00000400); } else { ensureOnParameterUpdateIsMutable(); onParameterUpdate_.addAll(other.onParameterUpdate_); } onChanged(); } } else { if (!other.onParameterUpdate_.isEmpty()) { if (onParameterUpdateBuilder_.isEmpty()) { onParameterUpdateBuilder_.dispose(); onParameterUpdateBuilder_ = null; onParameterUpdate_ = other.onParameterUpdate_; bitField0_ = (bitField0_ & ~0x00000400); onParameterUpdateBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOnParameterUpdateFieldBuilder() : null; } else { onParameterUpdateBuilder_.addAllMessages(other.onParameterUpdate_); } } } if (!other.onPeriodicRate_.isEmpty()) { if (onPeriodicRate_.isEmpty()) { onPeriodicRate_ = other.onPeriodicRate_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensureOnPeriodicRateIsMutable(); onPeriodicRate_.addAll(other.onPeriodicRate_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getAliasCount(); i++) { if (!getAlias(i).isInitialized()) { return false; } } for (int i = 0; i < getInputParameterCount(); i++) { if (!getInputParameter(i).isInitialized()) { return false; } } for (int i = 0; i < getOutputParameterCount(); i++) { if (!getOutputParameter(i).isInitialized()) { return false; } } for (int i = 0; i < getOnParameterUpdateCount(); i++) { if (!getOnParameterUpdate(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.Mdb.AlgorithmInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.AlgorithmInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string qualifiedName = 2; */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder setQualifiedNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } private java.lang.Object shortDescription_ = ""; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string shortDescription = 3; */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder setShortDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } private java.lang.Object longDescription_ = ""; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string longDescription = 4; */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder setLongDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } private java.util.List alias_ = java.util.Collections.emptyList(); private void ensureAliasIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { alias_ = new java.util.ArrayList(alias_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> aliasBuilder_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasList() { if (aliasBuilder_ == null) { return java.util.Collections.unmodifiableList(alias_); } else { return aliasBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public int getAliasCount() { if (aliasBuilder_ == null) { return alias_.size(); } else { return aliasBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { if (aliasBuilder_ == null) { return alias_.get(index); } else { return aliasBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder setAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.set(index, value); onChanged(); } else { aliasBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder setAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.set(index, builderForValue.build()); onChanged(); } else { aliasBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.add(value); onChanged(); } else { aliasBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (aliasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAliasIsMutable(); alias_.add(index, value); onChanged(); } else { aliasBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.add(builderForValue.build()); onChanged(); } else { aliasBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAlias( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.add(index, builderForValue.build()); onChanged(); } else { aliasBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder addAllAlias( java.lang.Iterable values) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, alias_); onChanged(); } else { aliasBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder clearAlias() { if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { aliasBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public Builder removeAlias(int index) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.remove(index); onChanged(); } else { aliasBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getAliasBuilder( int index) { return getAliasFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { if (aliasBuilder_ == null) { return alias_.get(index); } else { return aliasBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasOrBuilderList() { if (aliasBuilder_ != null) { return aliasBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(alias_); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder() { return getAliasFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder( int index) { return getAliasFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ public java.util.List getAliasBuilderList() { return getAliasFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getAliasFieldBuilder() { if (aliasBuilder_ == null) { aliasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( alias_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); alias_ = null; } return aliasBuilder_; } private int scope_ = 0; /** * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 6; */ public boolean hasScope() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 6; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope getScope() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope result = org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope.valueOf(scope_); return result == null ? org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope.GLOBAL : result; } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 6; */ public Builder setScope(org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; scope_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 6; */ public Builder clearScope() { bitField0_ = (bitField0_ & ~0x00000020); scope_ = 0; onChanged(); return this; } private java.lang.Object language_ = ""; /** * optional string language = 7; */ public boolean hasLanguage() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string language = 7; */ public java.lang.String getLanguage() { java.lang.Object ref = language_; 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()) { language_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string language = 7; */ public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); language_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string language = 7; */ public Builder setLanguage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; language_ = value; onChanged(); return this; } /** * optional string language = 7; */ public Builder clearLanguage() { bitField0_ = (bitField0_ & ~0x00000040); language_ = getDefaultInstance().getLanguage(); onChanged(); return this; } /** * optional string language = 7; */ public Builder setLanguageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; language_ = value; onChanged(); return this; } private java.lang.Object text_ = ""; /** * optional string text = 8; */ public boolean hasText() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string text = 8; */ public java.lang.String getText() { java.lang.Object ref = text_; 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()) { text_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string text = 8; */ public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); text_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string text = 8; */ public Builder setText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; text_ = value; onChanged(); return this; } /** * optional string text = 8; */ public Builder clearText() { bitField0_ = (bitField0_ & ~0x00000080); text_ = getDefaultInstance().getText(); onChanged(); return this; } /** * optional string text = 8; */ public Builder setTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; text_ = value; onChanged(); return this; } private java.util.List inputParameter_ = java.util.Collections.emptyList(); private void ensureInputParameterIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { inputParameter_ = new java.util.ArrayList(inputParameter_); bitField0_ |= 0x00000100; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.InputParameterInfo, org.yamcs.protobuf.Mdb.InputParameterInfo.Builder, org.yamcs.protobuf.Mdb.InputParameterInfoOrBuilder> inputParameterBuilder_; /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public java.util.List getInputParameterList() { if (inputParameterBuilder_ == null) { return java.util.Collections.unmodifiableList(inputParameter_); } else { return inputParameterBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public int getInputParameterCount() { if (inputParameterBuilder_ == null) { return inputParameter_.size(); } else { return inputParameterBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public org.yamcs.protobuf.Mdb.InputParameterInfo getInputParameter(int index) { if (inputParameterBuilder_ == null) { return inputParameter_.get(index); } else { return inputParameterBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public Builder setInputParameter( int index, org.yamcs.protobuf.Mdb.InputParameterInfo value) { if (inputParameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInputParameterIsMutable(); inputParameter_.set(index, value); onChanged(); } else { inputParameterBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public Builder setInputParameter( int index, org.yamcs.protobuf.Mdb.InputParameterInfo.Builder builderForValue) { if (inputParameterBuilder_ == null) { ensureInputParameterIsMutable(); inputParameter_.set(index, builderForValue.build()); onChanged(); } else { inputParameterBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public Builder addInputParameter(org.yamcs.protobuf.Mdb.InputParameterInfo value) { if (inputParameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInputParameterIsMutable(); inputParameter_.add(value); onChanged(); } else { inputParameterBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public Builder addInputParameter( int index, org.yamcs.protobuf.Mdb.InputParameterInfo value) { if (inputParameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInputParameterIsMutable(); inputParameter_.add(index, value); onChanged(); } else { inputParameterBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public Builder addInputParameter( org.yamcs.protobuf.Mdb.InputParameterInfo.Builder builderForValue) { if (inputParameterBuilder_ == null) { ensureInputParameterIsMutable(); inputParameter_.add(builderForValue.build()); onChanged(); } else { inputParameterBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public Builder addInputParameter( int index, org.yamcs.protobuf.Mdb.InputParameterInfo.Builder builderForValue) { if (inputParameterBuilder_ == null) { ensureInputParameterIsMutable(); inputParameter_.add(index, builderForValue.build()); onChanged(); } else { inputParameterBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public Builder addAllInputParameter( java.lang.Iterable values) { if (inputParameterBuilder_ == null) { ensureInputParameterIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, inputParameter_); onChanged(); } else { inputParameterBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public Builder clearInputParameter() { if (inputParameterBuilder_ == null) { inputParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { inputParameterBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public Builder removeInputParameter(int index) { if (inputParameterBuilder_ == null) { ensureInputParameterIsMutable(); inputParameter_.remove(index); onChanged(); } else { inputParameterBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public org.yamcs.protobuf.Mdb.InputParameterInfo.Builder getInputParameterBuilder( int index) { return getInputParameterFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public org.yamcs.protobuf.Mdb.InputParameterInfoOrBuilder getInputParameterOrBuilder( int index) { if (inputParameterBuilder_ == null) { return inputParameter_.get(index); } else { return inputParameterBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public java.util.List getInputParameterOrBuilderList() { if (inputParameterBuilder_ != null) { return inputParameterBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(inputParameter_); } } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public org.yamcs.protobuf.Mdb.InputParameterInfo.Builder addInputParameterBuilder() { return getInputParameterFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.InputParameterInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public org.yamcs.protobuf.Mdb.InputParameterInfo.Builder addInputParameterBuilder( int index) { return getInputParameterFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.InputParameterInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ public java.util.List getInputParameterBuilderList() { return getInputParameterFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.InputParameterInfo, org.yamcs.protobuf.Mdb.InputParameterInfo.Builder, org.yamcs.protobuf.Mdb.InputParameterInfoOrBuilder> getInputParameterFieldBuilder() { if (inputParameterBuilder_ == null) { inputParameterBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.InputParameterInfo, org.yamcs.protobuf.Mdb.InputParameterInfo.Builder, org.yamcs.protobuf.Mdb.InputParameterInfoOrBuilder>( inputParameter_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); inputParameter_ = null; } return inputParameterBuilder_; } private java.util.List outputParameter_ = java.util.Collections.emptyList(); private void ensureOutputParameterIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { outputParameter_ = new java.util.ArrayList(outputParameter_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.OutputParameterInfo, org.yamcs.protobuf.Mdb.OutputParameterInfo.Builder, org.yamcs.protobuf.Mdb.OutputParameterInfoOrBuilder> outputParameterBuilder_; /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public java.util.List getOutputParameterList() { if (outputParameterBuilder_ == null) { return java.util.Collections.unmodifiableList(outputParameter_); } else { return outputParameterBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public int getOutputParameterCount() { if (outputParameterBuilder_ == null) { return outputParameter_.size(); } else { return outputParameterBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public org.yamcs.protobuf.Mdb.OutputParameterInfo getOutputParameter(int index) { if (outputParameterBuilder_ == null) { return outputParameter_.get(index); } else { return outputParameterBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public Builder setOutputParameter( int index, org.yamcs.protobuf.Mdb.OutputParameterInfo value) { if (outputParameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOutputParameterIsMutable(); outputParameter_.set(index, value); onChanged(); } else { outputParameterBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public Builder setOutputParameter( int index, org.yamcs.protobuf.Mdb.OutputParameterInfo.Builder builderForValue) { if (outputParameterBuilder_ == null) { ensureOutputParameterIsMutable(); outputParameter_.set(index, builderForValue.build()); onChanged(); } else { outputParameterBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public Builder addOutputParameter(org.yamcs.protobuf.Mdb.OutputParameterInfo value) { if (outputParameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOutputParameterIsMutable(); outputParameter_.add(value); onChanged(); } else { outputParameterBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public Builder addOutputParameter( int index, org.yamcs.protobuf.Mdb.OutputParameterInfo value) { if (outputParameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOutputParameterIsMutable(); outputParameter_.add(index, value); onChanged(); } else { outputParameterBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public Builder addOutputParameter( org.yamcs.protobuf.Mdb.OutputParameterInfo.Builder builderForValue) { if (outputParameterBuilder_ == null) { ensureOutputParameterIsMutable(); outputParameter_.add(builderForValue.build()); onChanged(); } else { outputParameterBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public Builder addOutputParameter( int index, org.yamcs.protobuf.Mdb.OutputParameterInfo.Builder builderForValue) { if (outputParameterBuilder_ == null) { ensureOutputParameterIsMutable(); outputParameter_.add(index, builderForValue.build()); onChanged(); } else { outputParameterBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public Builder addAllOutputParameter( java.lang.Iterable values) { if (outputParameterBuilder_ == null) { ensureOutputParameterIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, outputParameter_); onChanged(); } else { outputParameterBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public Builder clearOutputParameter() { if (outputParameterBuilder_ == null) { outputParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { outputParameterBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public Builder removeOutputParameter(int index) { if (outputParameterBuilder_ == null) { ensureOutputParameterIsMutable(); outputParameter_.remove(index); onChanged(); } else { outputParameterBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public org.yamcs.protobuf.Mdb.OutputParameterInfo.Builder getOutputParameterBuilder( int index) { return getOutputParameterFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public org.yamcs.protobuf.Mdb.OutputParameterInfoOrBuilder getOutputParameterOrBuilder( int index) { if (outputParameterBuilder_ == null) { return outputParameter_.get(index); } else { return outputParameterBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public java.util.List getOutputParameterOrBuilderList() { if (outputParameterBuilder_ != null) { return outputParameterBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(outputParameter_); } } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public org.yamcs.protobuf.Mdb.OutputParameterInfo.Builder addOutputParameterBuilder() { return getOutputParameterFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.OutputParameterInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public org.yamcs.protobuf.Mdb.OutputParameterInfo.Builder addOutputParameterBuilder( int index) { return getOutputParameterFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.OutputParameterInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ public java.util.List getOutputParameterBuilderList() { return getOutputParameterFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.OutputParameterInfo, org.yamcs.protobuf.Mdb.OutputParameterInfo.Builder, org.yamcs.protobuf.Mdb.OutputParameterInfoOrBuilder> getOutputParameterFieldBuilder() { if (outputParameterBuilder_ == null) { outputParameterBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.OutputParameterInfo, org.yamcs.protobuf.Mdb.OutputParameterInfo.Builder, org.yamcs.protobuf.Mdb.OutputParameterInfoOrBuilder>( outputParameter_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); outputParameter_ = null; } return outputParameterBuilder_; } private java.util.List onParameterUpdate_ = java.util.Collections.emptyList(); private void ensureOnParameterUpdateIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { onParameterUpdate_ = new java.util.ArrayList(onParameterUpdate_); bitField0_ |= 0x00000400; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> onParameterUpdateBuilder_; /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public java.util.List getOnParameterUpdateList() { if (onParameterUpdateBuilder_ == null) { return java.util.Collections.unmodifiableList(onParameterUpdate_); } else { return onParameterUpdateBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public int getOnParameterUpdateCount() { if (onParameterUpdateBuilder_ == null) { return onParameterUpdate_.size(); } else { return onParameterUpdateBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public org.yamcs.protobuf.Mdb.ParameterInfo getOnParameterUpdate(int index) { if (onParameterUpdateBuilder_ == null) { return onParameterUpdate_.get(index); } else { return onParameterUpdateBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public Builder setOnParameterUpdate( int index, org.yamcs.protobuf.Mdb.ParameterInfo value) { if (onParameterUpdateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOnParameterUpdateIsMutable(); onParameterUpdate_.set(index, value); onChanged(); } else { onParameterUpdateBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public Builder setOnParameterUpdate( int index, org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (onParameterUpdateBuilder_ == null) { ensureOnParameterUpdateIsMutable(); onParameterUpdate_.set(index, builderForValue.build()); onChanged(); } else { onParameterUpdateBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public Builder addOnParameterUpdate(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (onParameterUpdateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOnParameterUpdateIsMutable(); onParameterUpdate_.add(value); onChanged(); } else { onParameterUpdateBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public Builder addOnParameterUpdate( int index, org.yamcs.protobuf.Mdb.ParameterInfo value) { if (onParameterUpdateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOnParameterUpdateIsMutable(); onParameterUpdate_.add(index, value); onChanged(); } else { onParameterUpdateBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public Builder addOnParameterUpdate( org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (onParameterUpdateBuilder_ == null) { ensureOnParameterUpdateIsMutable(); onParameterUpdate_.add(builderForValue.build()); onChanged(); } else { onParameterUpdateBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public Builder addOnParameterUpdate( int index, org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (onParameterUpdateBuilder_ == null) { ensureOnParameterUpdateIsMutable(); onParameterUpdate_.add(index, builderForValue.build()); onChanged(); } else { onParameterUpdateBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public Builder addAllOnParameterUpdate( java.lang.Iterable values) { if (onParameterUpdateBuilder_ == null) { ensureOnParameterUpdateIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, onParameterUpdate_); onChanged(); } else { onParameterUpdateBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public Builder clearOnParameterUpdate() { if (onParameterUpdateBuilder_ == null) { onParameterUpdate_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); } else { onParameterUpdateBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public Builder removeOnParameterUpdate(int index) { if (onParameterUpdateBuilder_ == null) { ensureOnParameterUpdateIsMutable(); onParameterUpdate_.remove(index); onChanged(); } else { onParameterUpdateBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getOnParameterUpdateBuilder( int index) { return getOnParameterUpdateFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getOnParameterUpdateOrBuilder( int index) { if (onParameterUpdateBuilder_ == null) { return onParameterUpdate_.get(index); } else { return onParameterUpdateBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public java.util.List getOnParameterUpdateOrBuilderList() { if (onParameterUpdateBuilder_ != null) { return onParameterUpdateBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(onParameterUpdate_); } } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder addOnParameterUpdateBuilder() { return getOnParameterUpdateFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder addOnParameterUpdateBuilder( int index) { return getOnParameterUpdateFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ public java.util.List getOnParameterUpdateBuilderList() { return getOnParameterUpdateFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> getOnParameterUpdateFieldBuilder() { if (onParameterUpdateBuilder_ == null) { onParameterUpdateBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder>( onParameterUpdate_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); onParameterUpdate_ = null; } return onParameterUpdateBuilder_; } private com.google.protobuf.Internal.LongList onPeriodicRate_ = emptyLongList(); private void ensureOnPeriodicRateIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { onPeriodicRate_ = mutableCopy(onPeriodicRate_); bitField0_ |= 0x00000800; } } /** * repeated int64 onPeriodicRate = 12; */ public java.util.List getOnPeriodicRateList() { return ((bitField0_ & 0x00000800) != 0) ? java.util.Collections.unmodifiableList(onPeriodicRate_) : onPeriodicRate_; } /** * repeated int64 onPeriodicRate = 12; */ public int getOnPeriodicRateCount() { return onPeriodicRate_.size(); } /** * repeated int64 onPeriodicRate = 12; */ public long getOnPeriodicRate(int index) { return onPeriodicRate_.getLong(index); } /** * repeated int64 onPeriodicRate = 12; */ public Builder setOnPeriodicRate( int index, long value) { ensureOnPeriodicRateIsMutable(); onPeriodicRate_.setLong(index, value); onChanged(); return this; } /** * repeated int64 onPeriodicRate = 12; */ public Builder addOnPeriodicRate(long value) { ensureOnPeriodicRateIsMutable(); onPeriodicRate_.addLong(value); onChanged(); return this; } /** * repeated int64 onPeriodicRate = 12; */ public Builder addAllOnPeriodicRate( java.lang.Iterable values) { ensureOnPeriodicRateIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, onPeriodicRate_); onChanged(); return this; } /** * repeated int64 onPeriodicRate = 12; */ public Builder clearOnPeriodicRate() { onPeriodicRate_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000800); 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.mdb.AlgorithmInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.AlgorithmInfo) private static final org.yamcs.protobuf.Mdb.AlgorithmInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.AlgorithmInfo(); } public static org.yamcs.protobuf.Mdb.AlgorithmInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlgorithmInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlgorithmInfo(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.Mdb.AlgorithmInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListSpaceSystemsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListSpaceSystemsRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional string q = 2; */ boolean hasQ(); /** * optional string q = 2; */ java.lang.String getQ(); /** * optional string q = 2; */ com.google.protobuf.ByteString getQBytes(); /** * optional string next = 7; */ boolean hasNext(); /** * optional string next = 7; */ java.lang.String getNext(); /** * optional string next = 7; */ com.google.protobuf.ByteString getNextBytes(); /** * optional int32 pos = 8; */ boolean hasPos(); /** * optional int32 pos = 8; */ int getPos(); /** * optional int32 limit = 9; */ boolean hasLimit(); /** * optional int32 limit = 9; */ int getLimit(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ListSpaceSystemsRequest} */ public static final class ListSpaceSystemsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ListSpaceSystemsRequest) ListSpaceSystemsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListSpaceSystemsRequest.newBuilder() to construct. private ListSpaceSystemsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListSpaceSystemsRequest() { instance_ = ""; q_ = ""; next_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListSpaceSystemsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; q_ = bs; break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; next_ = bs; break; } case 64: { bitField0_ |= 0x00000008; pos_ = input.readInt32(); break; } case 72: { bitField0_ |= 0x00000010; limit_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListSpaceSystemsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListSpaceSystemsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest.class, org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 2; private volatile java.lang.Object q_; /** * optional string q = 2; */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string q = 2; */ public java.lang.String getQ() { java.lang.Object ref = q_; 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()) { q_ = s; } return s; } } /** * optional string q = 2; */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEXT_FIELD_NUMBER = 7; private volatile java.lang.Object next_; /** * optional string next = 7; */ public boolean hasNext() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string next = 7; */ public java.lang.String getNext() { java.lang.Object ref = next_; 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()) { next_ = s; } return s; } } /** * optional string next = 7; */ public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int POS_FIELD_NUMBER = 8; private int pos_; /** * optional int32 pos = 8; */ public boolean hasPos() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 pos = 8; */ public int getPos() { return pos_; } public static final int LIMIT_FIELD_NUMBER = 9; private int limit_; /** * optional int32 limit = 9; */ public boolean hasLimit() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 limit = 9; */ public int getLimit() { return limit_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, q_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, next_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(8, pos_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(9, limit_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, q_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, next_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, pos_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, limit_); } 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.Mdb.ListSpaceSystemsRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest other = (org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasQ() != other.hasQ()) return false; if (hasQ()) { if (!getQ() .equals(other.getQ())) return false; } if (hasNext() != other.hasNext()) return false; if (hasNext()) { if (!getNext() .equals(other.getNext())) return false; } if (hasPos() != other.hasPos()) return false; if (hasPos()) { if (getPos() != other.getPos()) return false; } if (hasLimit() != other.hasLimit()) return false; if (hasLimit()) { if (getLimit() != other.getLimit()) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasQ()) { hash = (37 * hash) + Q_FIELD_NUMBER; hash = (53 * hash) + getQ().hashCode(); } if (hasNext()) { hash = (37 * hash) + NEXT_FIELD_NUMBER; hash = (53 * hash) + getNext().hashCode(); } if (hasPos()) { hash = (37 * hash) + POS_FIELD_NUMBER; hash = (53 * hash) + getPos(); } if (hasLimit()) { hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + getLimit(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest 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.Mdb.ListSpaceSystemsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest 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.Mdb.ListSpaceSystemsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest 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.Mdb.ListSpaceSystemsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest 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.Mdb.ListSpaceSystemsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest 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.Mdb.ListSpaceSystemsRequest 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.mdb.ListSpaceSystemsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ListSpaceSystemsRequest) org.yamcs.protobuf.Mdb.ListSpaceSystemsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListSpaceSystemsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListSpaceSystemsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest.class, org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); q_ = ""; bitField0_ = (bitField0_ & ~0x00000002); next_ = ""; bitField0_ = (bitField0_ & ~0x00000004); pos_ = 0; bitField0_ = (bitField0_ & ~0x00000008); limit_ = 0; bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListSpaceSystemsRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest build() { org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest buildPartial() { org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest result = new org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.q_ = q_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.next_ = next_; if (((from_bitField0_ & 0x00000008) != 0)) { result.pos_ = pos_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.limit_ = limit_; to_bitField0_ |= 0x00000010; } 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.Mdb.ListSpaceSystemsRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest other) { if (other == org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasQ()) { bitField0_ |= 0x00000002; q_ = other.q_; onChanged(); } if (other.hasNext()) { bitField0_ |= 0x00000004; next_ = other.next_; onChanged(); } if (other.hasPos()) { setPos(other.getPos()); } if (other.hasLimit()) { setLimit(other.getLimit()); } 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.Mdb.ListSpaceSystemsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** * optional string q = 2; */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string q = 2; */ public java.lang.String getQ() { java.lang.Object ref = q_; 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()) { q_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string q = 2; */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string q = 2; */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } /** * optional string q = 2; */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000002); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** * optional string q = 2; */ public Builder setQBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } private java.lang.Object next_ = ""; /** * optional string next = 7; */ public boolean hasNext() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string next = 7; */ public java.lang.String getNext() { java.lang.Object ref = next_; 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()) { next_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string next = 7; */ public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string next = 7; */ public Builder setNext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; next_ = value; onChanged(); return this; } /** * optional string next = 7; */ public Builder clearNext() { bitField0_ = (bitField0_ & ~0x00000004); next_ = getDefaultInstance().getNext(); onChanged(); return this; } /** * optional string next = 7; */ public Builder setNextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; next_ = value; onChanged(); return this; } private int pos_ ; /** * optional int32 pos = 8; */ public boolean hasPos() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 pos = 8; */ public int getPos() { return pos_; } /** * optional int32 pos = 8; */ public Builder setPos(int value) { bitField0_ |= 0x00000008; pos_ = value; onChanged(); return this; } /** * optional int32 pos = 8; */ public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000008); pos_ = 0; onChanged(); return this; } private int limit_ ; /** * optional int32 limit = 9; */ public boolean hasLimit() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 limit = 9; */ public int getLimit() { return limit_; } /** * optional int32 limit = 9; */ public Builder setLimit(int value) { bitField0_ |= 0x00000010; limit_ = value; onChanged(); return this; } /** * optional int32 limit = 9; */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000010); limit_ = 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.mdb.ListSpaceSystemsRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ListSpaceSystemsRequest) private static final org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest(); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListSpaceSystemsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListSpaceSystemsRequest(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.Mdb.ListSpaceSystemsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListParameterTypesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListParameterTypesRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional string q = 2; */ boolean hasQ(); /** * optional string q = 2; */ java.lang.String getQ(); /** * optional string q = 2; */ com.google.protobuf.ByteString getQBytes(); /** * optional bool details = 4; */ boolean hasDetails(); /** * optional bool details = 4; */ boolean getDetails(); /** * optional string next = 7; */ boolean hasNext(); /** * optional string next = 7; */ java.lang.String getNext(); /** * optional string next = 7; */ com.google.protobuf.ByteString getNextBytes(); /** * optional int32 pos = 8; */ boolean hasPos(); /** * optional int32 pos = 8; */ int getPos(); /** * optional int32 limit = 9; */ boolean hasLimit(); /** * optional int32 limit = 9; */ int getLimit(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ListParameterTypesRequest} */ public static final class ListParameterTypesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ListParameterTypesRequest) ListParameterTypesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListParameterTypesRequest.newBuilder() to construct. private ListParameterTypesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListParameterTypesRequest() { instance_ = ""; q_ = ""; next_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListParameterTypesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; q_ = bs; break; } case 32: { bitField0_ |= 0x00000004; details_ = input.readBool(); break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; next_ = bs; break; } case 64: { bitField0_ |= 0x00000010; pos_ = input.readInt32(); break; } case 72: { bitField0_ |= 0x00000020; limit_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParameterTypesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParameterTypesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListParameterTypesRequest.class, org.yamcs.protobuf.Mdb.ListParameterTypesRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 2; private volatile java.lang.Object q_; /** * optional string q = 2; */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string q = 2; */ public java.lang.String getQ() { java.lang.Object ref = q_; 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()) { q_ = s; } return s; } } /** * optional string q = 2; */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DETAILS_FIELD_NUMBER = 4; private boolean details_; /** * optional bool details = 4; */ public boolean hasDetails() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bool details = 4; */ public boolean getDetails() { return details_; } public static final int NEXT_FIELD_NUMBER = 7; private volatile java.lang.Object next_; /** * optional string next = 7; */ public boolean hasNext() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string next = 7; */ public java.lang.String getNext() { java.lang.Object ref = next_; 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()) { next_ = s; } return s; } } /** * optional string next = 7; */ public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int POS_FIELD_NUMBER = 8; private int pos_; /** * optional int32 pos = 8; */ public boolean hasPos() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 pos = 8; */ public int getPos() { return pos_; } public static final int LIMIT_FIELD_NUMBER = 9; private int limit_; /** * optional int32 limit = 9; */ public boolean hasLimit() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 limit = 9; */ public int getLimit() { return limit_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, q_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(4, details_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, next_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(8, pos_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt32(9, limit_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, q_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, details_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, next_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, pos_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, limit_); } 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.Mdb.ListParameterTypesRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListParameterTypesRequest other = (org.yamcs.protobuf.Mdb.ListParameterTypesRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasQ() != other.hasQ()) return false; if (hasQ()) { if (!getQ() .equals(other.getQ())) return false; } if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { if (getDetails() != other.getDetails()) return false; } if (hasNext() != other.hasNext()) return false; if (hasNext()) { if (!getNext() .equals(other.getNext())) return false; } if (hasPos() != other.hasPos()) return false; if (hasPos()) { if (getPos() != other.getPos()) return false; } if (hasLimit() != other.hasLimit()) return false; if (hasLimit()) { if (getLimit() != other.getLimit()) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasQ()) { hash = (37 * hash) + Q_FIELD_NUMBER; hash = (53 * hash) + getQ().hashCode(); } if (hasDetails()) { hash = (37 * hash) + DETAILS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDetails()); } if (hasNext()) { hash = (37 * hash) + NEXT_FIELD_NUMBER; hash = (53 * hash) + getNext().hashCode(); } if (hasPos()) { hash = (37 * hash) + POS_FIELD_NUMBER; hash = (53 * hash) + getPos(); } if (hasLimit()) { hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + getLimit(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ListParameterTypesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListParameterTypesRequest 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.Mdb.ListParameterTypesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListParameterTypesRequest 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.Mdb.ListParameterTypesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListParameterTypesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ListParameterTypesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListParameterTypesRequest 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.Mdb.ListParameterTypesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListParameterTypesRequest 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.Mdb.ListParameterTypesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListParameterTypesRequest 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.Mdb.ListParameterTypesRequest 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.mdb.ListParameterTypesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ListParameterTypesRequest) org.yamcs.protobuf.Mdb.ListParameterTypesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParameterTypesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParameterTypesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListParameterTypesRequest.class, org.yamcs.protobuf.Mdb.ListParameterTypesRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ListParameterTypesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); q_ = ""; bitField0_ = (bitField0_ & ~0x00000002); details_ = false; bitField0_ = (bitField0_ & ~0x00000004); next_ = ""; bitField0_ = (bitField0_ & ~0x00000008); pos_ = 0; bitField0_ = (bitField0_ & ~0x00000010); limit_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParameterTypesRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListParameterTypesRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ListParameterTypesRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ListParameterTypesRequest build() { org.yamcs.protobuf.Mdb.ListParameterTypesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListParameterTypesRequest buildPartial() { org.yamcs.protobuf.Mdb.ListParameterTypesRequest result = new org.yamcs.protobuf.Mdb.ListParameterTypesRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.q_ = q_; if (((from_bitField0_ & 0x00000004) != 0)) { result.details_ = details_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.next_ = next_; if (((from_bitField0_ & 0x00000010) != 0)) { result.pos_ = pos_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.limit_ = limit_; to_bitField0_ |= 0x00000020; } 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.Mdb.ListParameterTypesRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.ListParameterTypesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ListParameterTypesRequest other) { if (other == org.yamcs.protobuf.Mdb.ListParameterTypesRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasQ()) { bitField0_ |= 0x00000002; q_ = other.q_; onChanged(); } if (other.hasDetails()) { setDetails(other.getDetails()); } if (other.hasNext()) { bitField0_ |= 0x00000008; next_ = other.next_; onChanged(); } if (other.hasPos()) { setPos(other.getPos()); } if (other.hasLimit()) { setLimit(other.getLimit()); } 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.Mdb.ListParameterTypesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ListParameterTypesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** * optional string q = 2; */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string q = 2; */ public java.lang.String getQ() { java.lang.Object ref = q_; 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()) { q_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string q = 2; */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string q = 2; */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } /** * optional string q = 2; */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000002); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** * optional string q = 2; */ public Builder setQBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } private boolean details_ ; /** * optional bool details = 4; */ public boolean hasDetails() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bool details = 4; */ public boolean getDetails() { return details_; } /** * optional bool details = 4; */ public Builder setDetails(boolean value) { bitField0_ |= 0x00000004; details_ = value; onChanged(); return this; } /** * optional bool details = 4; */ public Builder clearDetails() { bitField0_ = (bitField0_ & ~0x00000004); details_ = false; onChanged(); return this; } private java.lang.Object next_ = ""; /** * optional string next = 7; */ public boolean hasNext() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string next = 7; */ public java.lang.String getNext() { java.lang.Object ref = next_; 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()) { next_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string next = 7; */ public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string next = 7; */ public Builder setNext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; next_ = value; onChanged(); return this; } /** * optional string next = 7; */ public Builder clearNext() { bitField0_ = (bitField0_ & ~0x00000008); next_ = getDefaultInstance().getNext(); onChanged(); return this; } /** * optional string next = 7; */ public Builder setNextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; next_ = value; onChanged(); return this; } private int pos_ ; /** * optional int32 pos = 8; */ public boolean hasPos() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 pos = 8; */ public int getPos() { return pos_; } /** * optional int32 pos = 8; */ public Builder setPos(int value) { bitField0_ |= 0x00000010; pos_ = value; onChanged(); return this; } /** * optional int32 pos = 8; */ public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000010); pos_ = 0; onChanged(); return this; } private int limit_ ; /** * optional int32 limit = 9; */ public boolean hasLimit() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 limit = 9; */ public int getLimit() { return limit_; } /** * optional int32 limit = 9; */ public Builder setLimit(int value) { bitField0_ |= 0x00000020; limit_ = value; onChanged(); return this; } /** * optional int32 limit = 9; */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000020); limit_ = 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.mdb.ListParameterTypesRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ListParameterTypesRequest) private static final org.yamcs.protobuf.Mdb.ListParameterTypesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ListParameterTypesRequest(); } public static org.yamcs.protobuf.Mdb.ListParameterTypesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListParameterTypesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListParameterTypesRequest(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.Mdb.ListParameterTypesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListContainersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListContainersRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional string q = 2; */ boolean hasQ(); /** * optional string q = 2; */ java.lang.String getQ(); /** * optional string q = 2; */ com.google.protobuf.ByteString getQBytes(); /** * optional string system = 10; */ boolean hasSystem(); /** * optional string system = 10; */ java.lang.String getSystem(); /** * optional string system = 10; */ com.google.protobuf.ByteString getSystemBytes(); /** * optional string next = 7; */ boolean hasNext(); /** * optional string next = 7; */ java.lang.String getNext(); /** * optional string next = 7; */ com.google.protobuf.ByteString getNextBytes(); /** * optional int32 pos = 8; */ boolean hasPos(); /** * optional int32 pos = 8; */ int getPos(); /** * optional int32 limit = 9; */ boolean hasLimit(); /** * optional int32 limit = 9; */ int getLimit(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ListContainersRequest} */ public static final class ListContainersRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ListContainersRequest) ListContainersRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListContainersRequest.newBuilder() to construct. private ListContainersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListContainersRequest() { instance_ = ""; q_ = ""; system_ = ""; next_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListContainersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; q_ = bs; break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; next_ = bs; break; } case 64: { bitField0_ |= 0x00000010; pos_ = input.readInt32(); break; } case 72: { bitField0_ |= 0x00000020; limit_ = input.readInt32(); break; } case 82: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; system_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_ListContainersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListContainersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListContainersRequest.class, org.yamcs.protobuf.Mdb.ListContainersRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 2; private volatile java.lang.Object q_; /** * optional string q = 2; */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string q = 2; */ public java.lang.String getQ() { java.lang.Object ref = q_; 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()) { q_ = s; } return s; } } /** * optional string q = 2; */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SYSTEM_FIELD_NUMBER = 10; private volatile java.lang.Object system_; /** * optional string system = 10; */ public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string system = 10; */ public java.lang.String getSystem() { java.lang.Object ref = system_; 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()) { system_ = s; } return s; } } /** * optional string system = 10; */ public com.google.protobuf.ByteString getSystemBytes() { java.lang.Object ref = system_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); system_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEXT_FIELD_NUMBER = 7; private volatile java.lang.Object next_; /** * optional string next = 7; */ public boolean hasNext() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string next = 7; */ public java.lang.String getNext() { java.lang.Object ref = next_; 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()) { next_ = s; } return s; } } /** * optional string next = 7; */ public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int POS_FIELD_NUMBER = 8; private int pos_; /** * optional int32 pos = 8; */ public boolean hasPos() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 pos = 8; */ public int getPos() { return pos_; } public static final int LIMIT_FIELD_NUMBER = 9; private int limit_; /** * optional int32 limit = 9; */ public boolean hasLimit() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 limit = 9; */ public int getLimit() { return limit_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, q_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, next_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(8, pos_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt32(9, limit_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, system_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, q_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, next_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, pos_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, limit_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, system_); } 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.Mdb.ListContainersRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListContainersRequest other = (org.yamcs.protobuf.Mdb.ListContainersRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasQ() != other.hasQ()) return false; if (hasQ()) { if (!getQ() .equals(other.getQ())) return false; } if (hasSystem() != other.hasSystem()) return false; if (hasSystem()) { if (!getSystem() .equals(other.getSystem())) return false; } if (hasNext() != other.hasNext()) return false; if (hasNext()) { if (!getNext() .equals(other.getNext())) return false; } if (hasPos() != other.hasPos()) return false; if (hasPos()) { if (getPos() != other.getPos()) return false; } if (hasLimit() != other.hasLimit()) return false; if (hasLimit()) { if (getLimit() != other.getLimit()) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasQ()) { hash = (37 * hash) + Q_FIELD_NUMBER; hash = (53 * hash) + getQ().hashCode(); } if (hasSystem()) { hash = (37 * hash) + SYSTEM_FIELD_NUMBER; hash = (53 * hash) + getSystem().hashCode(); } if (hasNext()) { hash = (37 * hash) + NEXT_FIELD_NUMBER; hash = (53 * hash) + getNext().hashCode(); } if (hasPos()) { hash = (37 * hash) + POS_FIELD_NUMBER; hash = (53 * hash) + getPos(); } if (hasLimit()) { hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + getLimit(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ListContainersRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListContainersRequest 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.Mdb.ListContainersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListContainersRequest 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.Mdb.ListContainersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListContainersRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ListContainersRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListContainersRequest 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.Mdb.ListContainersRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListContainersRequest 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.Mdb.ListContainersRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListContainersRequest 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.Mdb.ListContainersRequest 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.mdb.ListContainersRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ListContainersRequest) org.yamcs.protobuf.Mdb.ListContainersRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListContainersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListContainersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListContainersRequest.class, org.yamcs.protobuf.Mdb.ListContainersRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ListContainersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); q_ = ""; bitField0_ = (bitField0_ & ~0x00000002); system_ = ""; bitField0_ = (bitField0_ & ~0x00000004); next_ = ""; bitField0_ = (bitField0_ & ~0x00000008); pos_ = 0; bitField0_ = (bitField0_ & ~0x00000010); limit_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListContainersRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListContainersRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ListContainersRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ListContainersRequest build() { org.yamcs.protobuf.Mdb.ListContainersRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListContainersRequest buildPartial() { org.yamcs.protobuf.Mdb.ListContainersRequest result = new org.yamcs.protobuf.Mdb.ListContainersRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.q_ = q_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.system_ = system_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.next_ = next_; if (((from_bitField0_ & 0x00000010) != 0)) { result.pos_ = pos_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.limit_ = limit_; to_bitField0_ |= 0x00000020; } 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.Mdb.ListContainersRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.ListContainersRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ListContainersRequest other) { if (other == org.yamcs.protobuf.Mdb.ListContainersRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasQ()) { bitField0_ |= 0x00000002; q_ = other.q_; onChanged(); } if (other.hasSystem()) { bitField0_ |= 0x00000004; system_ = other.system_; onChanged(); } if (other.hasNext()) { bitField0_ |= 0x00000008; next_ = other.next_; onChanged(); } if (other.hasPos()) { setPos(other.getPos()); } if (other.hasLimit()) { setLimit(other.getLimit()); } 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.Mdb.ListContainersRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ListContainersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** * optional string q = 2; */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string q = 2; */ public java.lang.String getQ() { java.lang.Object ref = q_; 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()) { q_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string q = 2; */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string q = 2; */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } /** * optional string q = 2; */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000002); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** * optional string q = 2; */ public Builder setQBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } private java.lang.Object system_ = ""; /** * optional string system = 10; */ public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string system = 10; */ public java.lang.String getSystem() { java.lang.Object ref = system_; 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()) { system_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string system = 10; */ public com.google.protobuf.ByteString getSystemBytes() { java.lang.Object ref = system_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); system_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string system = 10; */ public Builder setSystem( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; system_ = value; onChanged(); return this; } /** * optional string system = 10; */ public Builder clearSystem() { bitField0_ = (bitField0_ & ~0x00000004); system_ = getDefaultInstance().getSystem(); onChanged(); return this; } /** * optional string system = 10; */ public Builder setSystemBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; system_ = value; onChanged(); return this; } private java.lang.Object next_ = ""; /** * optional string next = 7; */ public boolean hasNext() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string next = 7; */ public java.lang.String getNext() { java.lang.Object ref = next_; 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()) { next_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string next = 7; */ public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string next = 7; */ public Builder setNext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; next_ = value; onChanged(); return this; } /** * optional string next = 7; */ public Builder clearNext() { bitField0_ = (bitField0_ & ~0x00000008); next_ = getDefaultInstance().getNext(); onChanged(); return this; } /** * optional string next = 7; */ public Builder setNextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; next_ = value; onChanged(); return this; } private int pos_ ; /** * optional int32 pos = 8; */ public boolean hasPos() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 pos = 8; */ public int getPos() { return pos_; } /** * optional int32 pos = 8; */ public Builder setPos(int value) { bitField0_ |= 0x00000010; pos_ = value; onChanged(); return this; } /** * optional int32 pos = 8; */ public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000010); pos_ = 0; onChanged(); return this; } private int limit_ ; /** * optional int32 limit = 9; */ public boolean hasLimit() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 limit = 9; */ public int getLimit() { return limit_; } /** * optional int32 limit = 9; */ public Builder setLimit(int value) { bitField0_ |= 0x00000020; limit_ = value; onChanged(); return this; } /** * optional int32 limit = 9; */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000020); limit_ = 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.mdb.ListContainersRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ListContainersRequest) private static final org.yamcs.protobuf.Mdb.ListContainersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ListContainersRequest(); } public static org.yamcs.protobuf.Mdb.ListContainersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListContainersRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListContainersRequest(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.Mdb.ListContainersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListAlgorithmsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListAlgorithmsRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional string q = 2; */ boolean hasQ(); /** * optional string q = 2; */ java.lang.String getQ(); /** * optional string q = 2; */ com.google.protobuf.ByteString getQBytes(); /** * optional string system = 10; */ boolean hasSystem(); /** * optional string system = 10; */ java.lang.String getSystem(); /** * optional string system = 10; */ com.google.protobuf.ByteString getSystemBytes(); /** * optional string next = 7; */ boolean hasNext(); /** * optional string next = 7; */ java.lang.String getNext(); /** * optional string next = 7; */ com.google.protobuf.ByteString getNextBytes(); /** * optional int32 pos = 8; */ boolean hasPos(); /** * optional int32 pos = 8; */ int getPos(); /** * optional int32 limit = 9; */ boolean hasLimit(); /** * optional int32 limit = 9; */ int getLimit(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ListAlgorithmsRequest} */ public static final class ListAlgorithmsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ListAlgorithmsRequest) ListAlgorithmsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListAlgorithmsRequest.newBuilder() to construct. private ListAlgorithmsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListAlgorithmsRequest() { instance_ = ""; q_ = ""; system_ = ""; next_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListAlgorithmsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; q_ = bs; break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; next_ = bs; break; } case 64: { bitField0_ |= 0x00000010; pos_ = input.readInt32(); break; } case 72: { bitField0_ |= 0x00000020; limit_ = input.readInt32(); break; } case 82: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; system_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_ListAlgorithmsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListAlgorithmsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListAlgorithmsRequest.class, org.yamcs.protobuf.Mdb.ListAlgorithmsRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 2; private volatile java.lang.Object q_; /** * optional string q = 2; */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string q = 2; */ public java.lang.String getQ() { java.lang.Object ref = q_; 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()) { q_ = s; } return s; } } /** * optional string q = 2; */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SYSTEM_FIELD_NUMBER = 10; private volatile java.lang.Object system_; /** * optional string system = 10; */ public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string system = 10; */ public java.lang.String getSystem() { java.lang.Object ref = system_; 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()) { system_ = s; } return s; } } /** * optional string system = 10; */ public com.google.protobuf.ByteString getSystemBytes() { java.lang.Object ref = system_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); system_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEXT_FIELD_NUMBER = 7; private volatile java.lang.Object next_; /** * optional string next = 7; */ public boolean hasNext() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string next = 7; */ public java.lang.String getNext() { java.lang.Object ref = next_; 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()) { next_ = s; } return s; } } /** * optional string next = 7; */ public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int POS_FIELD_NUMBER = 8; private int pos_; /** * optional int32 pos = 8; */ public boolean hasPos() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 pos = 8; */ public int getPos() { return pos_; } public static final int LIMIT_FIELD_NUMBER = 9; private int limit_; /** * optional int32 limit = 9; */ public boolean hasLimit() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 limit = 9; */ public int getLimit() { return limit_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, q_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, next_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(8, pos_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt32(9, limit_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, system_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, q_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, next_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, pos_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, limit_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, system_); } 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.Mdb.ListAlgorithmsRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListAlgorithmsRequest other = (org.yamcs.protobuf.Mdb.ListAlgorithmsRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasQ() != other.hasQ()) return false; if (hasQ()) { if (!getQ() .equals(other.getQ())) return false; } if (hasSystem() != other.hasSystem()) return false; if (hasSystem()) { if (!getSystem() .equals(other.getSystem())) return false; } if (hasNext() != other.hasNext()) return false; if (hasNext()) { if (!getNext() .equals(other.getNext())) return false; } if (hasPos() != other.hasPos()) return false; if (hasPos()) { if (getPos() != other.getPos()) return false; } if (hasLimit() != other.hasLimit()) return false; if (hasLimit()) { if (getLimit() != other.getLimit()) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasQ()) { hash = (37 * hash) + Q_FIELD_NUMBER; hash = (53 * hash) + getQ().hashCode(); } if (hasSystem()) { hash = (37 * hash) + SYSTEM_FIELD_NUMBER; hash = (53 * hash) + getSystem().hashCode(); } if (hasNext()) { hash = (37 * hash) + NEXT_FIELD_NUMBER; hash = (53 * hash) + getNext().hashCode(); } if (hasPos()) { hash = (37 * hash) + POS_FIELD_NUMBER; hash = (53 * hash) + getPos(); } if (hasLimit()) { hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + getLimit(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ListAlgorithmsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsRequest 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.Mdb.ListAlgorithmsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsRequest 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.Mdb.ListAlgorithmsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsRequest 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.Mdb.ListAlgorithmsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsRequest 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.Mdb.ListAlgorithmsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsRequest 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.Mdb.ListAlgorithmsRequest 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.mdb.ListAlgorithmsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ListAlgorithmsRequest) org.yamcs.protobuf.Mdb.ListAlgorithmsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListAlgorithmsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListAlgorithmsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListAlgorithmsRequest.class, org.yamcs.protobuf.Mdb.ListAlgorithmsRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ListAlgorithmsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); q_ = ""; bitField0_ = (bitField0_ & ~0x00000002); system_ = ""; bitField0_ = (bitField0_ & ~0x00000004); next_ = ""; bitField0_ = (bitField0_ & ~0x00000008); pos_ = 0; bitField0_ = (bitField0_ & ~0x00000010); limit_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListAlgorithmsRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListAlgorithmsRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ListAlgorithmsRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ListAlgorithmsRequest build() { org.yamcs.protobuf.Mdb.ListAlgorithmsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListAlgorithmsRequest buildPartial() { org.yamcs.protobuf.Mdb.ListAlgorithmsRequest result = new org.yamcs.protobuf.Mdb.ListAlgorithmsRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.q_ = q_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.system_ = system_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.next_ = next_; if (((from_bitField0_ & 0x00000010) != 0)) { result.pos_ = pos_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.limit_ = limit_; to_bitField0_ |= 0x00000020; } 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.Mdb.ListAlgorithmsRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.ListAlgorithmsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ListAlgorithmsRequest other) { if (other == org.yamcs.protobuf.Mdb.ListAlgorithmsRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasQ()) { bitField0_ |= 0x00000002; q_ = other.q_; onChanged(); } if (other.hasSystem()) { bitField0_ |= 0x00000004; system_ = other.system_; onChanged(); } if (other.hasNext()) { bitField0_ |= 0x00000008; next_ = other.next_; onChanged(); } if (other.hasPos()) { setPos(other.getPos()); } if (other.hasLimit()) { setLimit(other.getLimit()); } 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.Mdb.ListAlgorithmsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ListAlgorithmsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** * optional string q = 2; */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string q = 2; */ public java.lang.String getQ() { java.lang.Object ref = q_; 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()) { q_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string q = 2; */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string q = 2; */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } /** * optional string q = 2; */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000002); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** * optional string q = 2; */ public Builder setQBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } private java.lang.Object system_ = ""; /** * optional string system = 10; */ public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string system = 10; */ public java.lang.String getSystem() { java.lang.Object ref = system_; 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()) { system_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string system = 10; */ public com.google.protobuf.ByteString getSystemBytes() { java.lang.Object ref = system_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); system_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string system = 10; */ public Builder setSystem( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; system_ = value; onChanged(); return this; } /** * optional string system = 10; */ public Builder clearSystem() { bitField0_ = (bitField0_ & ~0x00000004); system_ = getDefaultInstance().getSystem(); onChanged(); return this; } /** * optional string system = 10; */ public Builder setSystemBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; system_ = value; onChanged(); return this; } private java.lang.Object next_ = ""; /** * optional string next = 7; */ public boolean hasNext() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string next = 7; */ public java.lang.String getNext() { java.lang.Object ref = next_; 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()) { next_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string next = 7; */ public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string next = 7; */ public Builder setNext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; next_ = value; onChanged(); return this; } /** * optional string next = 7; */ public Builder clearNext() { bitField0_ = (bitField0_ & ~0x00000008); next_ = getDefaultInstance().getNext(); onChanged(); return this; } /** * optional string next = 7; */ public Builder setNextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; next_ = value; onChanged(); return this; } private int pos_ ; /** * optional int32 pos = 8; */ public boolean hasPos() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 pos = 8; */ public int getPos() { return pos_; } /** * optional int32 pos = 8; */ public Builder setPos(int value) { bitField0_ |= 0x00000010; pos_ = value; onChanged(); return this; } /** * optional int32 pos = 8; */ public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000010); pos_ = 0; onChanged(); return this; } private int limit_ ; /** * optional int32 limit = 9; */ public boolean hasLimit() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 limit = 9; */ public int getLimit() { return limit_; } /** * optional int32 limit = 9; */ public Builder setLimit(int value) { bitField0_ |= 0x00000020; limit_ = value; onChanged(); return this; } /** * optional int32 limit = 9; */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000020); limit_ = 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.mdb.ListAlgorithmsRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ListAlgorithmsRequest) private static final org.yamcs.protobuf.Mdb.ListAlgorithmsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ListAlgorithmsRequest(); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListAlgorithmsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListAlgorithmsRequest(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.Mdb.ListAlgorithmsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListCommandsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListCommandsRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional string q = 2; */ boolean hasQ(); /** * optional string q = 2; */ java.lang.String getQ(); /** * optional string q = 2; */ com.google.protobuf.ByteString getQBytes(); /** * optional string system = 11; */ boolean hasSystem(); /** * optional string system = 11; */ java.lang.String getSystem(); /** * optional string system = 11; */ com.google.protobuf.ByteString getSystemBytes(); /** * optional bool details = 4; */ boolean hasDetails(); /** * optional bool details = 4; */ boolean getDetails(); /** * optional string next = 7; */ boolean hasNext(); /** * optional string next = 7; */ java.lang.String getNext(); /** * optional string next = 7; */ com.google.protobuf.ByteString getNextBytes(); /** * optional int32 pos = 8; */ boolean hasPos(); /** * optional int32 pos = 8; */ int getPos(); /** * optional int32 limit = 9; */ boolean hasLimit(); /** * optional int32 limit = 9; */ int getLimit(); /** * optional bool noAbstract = 10; */ boolean hasNoAbstract(); /** * optional bool noAbstract = 10; */ boolean getNoAbstract(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ListCommandsRequest} */ public static final class ListCommandsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ListCommandsRequest) ListCommandsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListCommandsRequest.newBuilder() to construct. private ListCommandsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListCommandsRequest() { instance_ = ""; q_ = ""; system_ = ""; next_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListCommandsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; q_ = bs; break; } case 32: { bitField0_ |= 0x00000008; details_ = input.readBool(); break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; next_ = bs; break; } case 64: { bitField0_ |= 0x00000020; pos_ = input.readInt32(); break; } case 72: { bitField0_ |= 0x00000040; limit_ = input.readInt32(); break; } case 80: { bitField0_ |= 0x00000080; noAbstract_ = input.readBool(); break; } case 90: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; system_ = bs; 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.Mdb.internal_static_yamcs_protobuf_mdb_ListCommandsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListCommandsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListCommandsRequest.class, org.yamcs.protobuf.Mdb.ListCommandsRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 2; private volatile java.lang.Object q_; /** * optional string q = 2; */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string q = 2; */ public java.lang.String getQ() { java.lang.Object ref = q_; 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()) { q_ = s; } return s; } } /** * optional string q = 2; */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SYSTEM_FIELD_NUMBER = 11; private volatile java.lang.Object system_; /** * optional string system = 11; */ public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string system = 11; */ public java.lang.String getSystem() { java.lang.Object ref = system_; 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()) { system_ = s; } return s; } } /** * optional string system = 11; */ public com.google.protobuf.ByteString getSystemBytes() { java.lang.Object ref = system_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); system_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DETAILS_FIELD_NUMBER = 4; private boolean details_; /** * optional bool details = 4; */ public boolean hasDetails() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool details = 4; */ public boolean getDetails() { return details_; } public static final int NEXT_FIELD_NUMBER = 7; private volatile java.lang.Object next_; /** * optional string next = 7; */ public boolean hasNext() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string next = 7; */ public java.lang.String getNext() { java.lang.Object ref = next_; 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()) { next_ = s; } return s; } } /** * optional string next = 7; */ public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int POS_FIELD_NUMBER = 8; private int pos_; /** * optional int32 pos = 8; */ public boolean hasPos() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 pos = 8; */ public int getPos() { return pos_; } public static final int LIMIT_FIELD_NUMBER = 9; private int limit_; /** * optional int32 limit = 9; */ public boolean hasLimit() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int32 limit = 9; */ public int getLimit() { return limit_; } public static final int NOABSTRACT_FIELD_NUMBER = 10; private boolean noAbstract_; /** * optional bool noAbstract = 10; */ public boolean hasNoAbstract() { return ((bitField0_ & 0x00000080) != 0); } /** * optional bool noAbstract = 10; */ public boolean getNoAbstract() { return noAbstract_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, q_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, details_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, next_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt32(8, pos_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeInt32(9, limit_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeBool(10, noAbstract_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, system_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, q_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, details_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, next_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, pos_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, limit_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, noAbstract_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, system_); } 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.Mdb.ListCommandsRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListCommandsRequest other = (org.yamcs.protobuf.Mdb.ListCommandsRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasQ() != other.hasQ()) return false; if (hasQ()) { if (!getQ() .equals(other.getQ())) return false; } if (hasSystem() != other.hasSystem()) return false; if (hasSystem()) { if (!getSystem() .equals(other.getSystem())) return false; } if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { if (getDetails() != other.getDetails()) return false; } if (hasNext() != other.hasNext()) return false; if (hasNext()) { if (!getNext() .equals(other.getNext())) return false; } if (hasPos() != other.hasPos()) return false; if (hasPos()) { if (getPos() != other.getPos()) return false; } if (hasLimit() != other.hasLimit()) return false; if (hasLimit()) { if (getLimit() != other.getLimit()) return false; } if (hasNoAbstract() != other.hasNoAbstract()) return false; if (hasNoAbstract()) { if (getNoAbstract() != other.getNoAbstract()) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasQ()) { hash = (37 * hash) + Q_FIELD_NUMBER; hash = (53 * hash) + getQ().hashCode(); } if (hasSystem()) { hash = (37 * hash) + SYSTEM_FIELD_NUMBER; hash = (53 * hash) + getSystem().hashCode(); } if (hasDetails()) { hash = (37 * hash) + DETAILS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDetails()); } if (hasNext()) { hash = (37 * hash) + NEXT_FIELD_NUMBER; hash = (53 * hash) + getNext().hashCode(); } if (hasPos()) { hash = (37 * hash) + POS_FIELD_NUMBER; hash = (53 * hash) + getPos(); } if (hasLimit()) { hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + getLimit(); } if (hasNoAbstract()) { hash = (37 * hash) + NOABSTRACT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNoAbstract()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ListCommandsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListCommandsRequest 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.Mdb.ListCommandsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListCommandsRequest 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.Mdb.ListCommandsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListCommandsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ListCommandsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListCommandsRequest 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.Mdb.ListCommandsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListCommandsRequest 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.Mdb.ListCommandsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListCommandsRequest 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.Mdb.ListCommandsRequest 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.mdb.ListCommandsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ListCommandsRequest) org.yamcs.protobuf.Mdb.ListCommandsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListCommandsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListCommandsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListCommandsRequest.class, org.yamcs.protobuf.Mdb.ListCommandsRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ListCommandsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); q_ = ""; bitField0_ = (bitField0_ & ~0x00000002); system_ = ""; bitField0_ = (bitField0_ & ~0x00000004); details_ = false; bitField0_ = (bitField0_ & ~0x00000008); next_ = ""; bitField0_ = (bitField0_ & ~0x00000010); pos_ = 0; bitField0_ = (bitField0_ & ~0x00000020); limit_ = 0; bitField0_ = (bitField0_ & ~0x00000040); noAbstract_ = false; bitField0_ = (bitField0_ & ~0x00000080); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListCommandsRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListCommandsRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ListCommandsRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ListCommandsRequest build() { org.yamcs.protobuf.Mdb.ListCommandsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListCommandsRequest buildPartial() { org.yamcs.protobuf.Mdb.ListCommandsRequest result = new org.yamcs.protobuf.Mdb.ListCommandsRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.q_ = q_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.system_ = system_; if (((from_bitField0_ & 0x00000008) != 0)) { result.details_ = details_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.next_ = next_; if (((from_bitField0_ & 0x00000020) != 0)) { result.pos_ = pos_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.limit_ = limit_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.noAbstract_ = noAbstract_; to_bitField0_ |= 0x00000080; } 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.Mdb.ListCommandsRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.ListCommandsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ListCommandsRequest other) { if (other == org.yamcs.protobuf.Mdb.ListCommandsRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasQ()) { bitField0_ |= 0x00000002; q_ = other.q_; onChanged(); } if (other.hasSystem()) { bitField0_ |= 0x00000004; system_ = other.system_; onChanged(); } if (other.hasDetails()) { setDetails(other.getDetails()); } if (other.hasNext()) { bitField0_ |= 0x00000010; next_ = other.next_; onChanged(); } if (other.hasPos()) { setPos(other.getPos()); } if (other.hasLimit()) { setLimit(other.getLimit()); } if (other.hasNoAbstract()) { setNoAbstract(other.getNoAbstract()); } 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.Mdb.ListCommandsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ListCommandsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** * optional string q = 2; */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string q = 2; */ public java.lang.String getQ() { java.lang.Object ref = q_; 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()) { q_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string q = 2; */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string q = 2; */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } /** * optional string q = 2; */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000002); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** * optional string q = 2; */ public Builder setQBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } private java.lang.Object system_ = ""; /** * optional string system = 11; */ public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string system = 11; */ public java.lang.String getSystem() { java.lang.Object ref = system_; 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()) { system_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string system = 11; */ public com.google.protobuf.ByteString getSystemBytes() { java.lang.Object ref = system_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); system_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string system = 11; */ public Builder setSystem( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; system_ = value; onChanged(); return this; } /** * optional string system = 11; */ public Builder clearSystem() { bitField0_ = (bitField0_ & ~0x00000004); system_ = getDefaultInstance().getSystem(); onChanged(); return this; } /** * optional string system = 11; */ public Builder setSystemBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; system_ = value; onChanged(); return this; } private boolean details_ ; /** * optional bool details = 4; */ public boolean hasDetails() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool details = 4; */ public boolean getDetails() { return details_; } /** * optional bool details = 4; */ public Builder setDetails(boolean value) { bitField0_ |= 0x00000008; details_ = value; onChanged(); return this; } /** * optional bool details = 4; */ public Builder clearDetails() { bitField0_ = (bitField0_ & ~0x00000008); details_ = false; onChanged(); return this; } private java.lang.Object next_ = ""; /** * optional string next = 7; */ public boolean hasNext() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string next = 7; */ public java.lang.String getNext() { java.lang.Object ref = next_; 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()) { next_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string next = 7; */ public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string next = 7; */ public Builder setNext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; next_ = value; onChanged(); return this; } /** * optional string next = 7; */ public Builder clearNext() { bitField0_ = (bitField0_ & ~0x00000010); next_ = getDefaultInstance().getNext(); onChanged(); return this; } /** * optional string next = 7; */ public Builder setNextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; next_ = value; onChanged(); return this; } private int pos_ ; /** * optional int32 pos = 8; */ public boolean hasPos() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 pos = 8; */ public int getPos() { return pos_; } /** * optional int32 pos = 8; */ public Builder setPos(int value) { bitField0_ |= 0x00000020; pos_ = value; onChanged(); return this; } /** * optional int32 pos = 8; */ public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000020); pos_ = 0; onChanged(); return this; } private int limit_ ; /** * optional int32 limit = 9; */ public boolean hasLimit() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int32 limit = 9; */ public int getLimit() { return limit_; } /** * optional int32 limit = 9; */ public Builder setLimit(int value) { bitField0_ |= 0x00000040; limit_ = value; onChanged(); return this; } /** * optional int32 limit = 9; */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000040); limit_ = 0; onChanged(); return this; } private boolean noAbstract_ ; /** * optional bool noAbstract = 10; */ public boolean hasNoAbstract() { return ((bitField0_ & 0x00000080) != 0); } /** * optional bool noAbstract = 10; */ public boolean getNoAbstract() { return noAbstract_; } /** * optional bool noAbstract = 10; */ public Builder setNoAbstract(boolean value) { bitField0_ |= 0x00000080; noAbstract_ = value; onChanged(); return this; } /** * optional bool noAbstract = 10; */ public Builder clearNoAbstract() { bitField0_ = (bitField0_ & ~0x00000080); noAbstract_ = false; 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.mdb.ListCommandsRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ListCommandsRequest) private static final org.yamcs.protobuf.Mdb.ListCommandsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ListCommandsRequest(); } public static org.yamcs.protobuf.Mdb.ListCommandsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListCommandsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListCommandsRequest(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.Mdb.ListCommandsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetParameterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.GetParameterRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional string name = 2; */ boolean hasName(); /** * optional string name = 2; */ java.lang.String getName(); /** * optional string name = 2; */ com.google.protobuf.ByteString getNameBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.GetParameterRequest} */ public static final class GetParameterRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.GetParameterRequest) GetParameterRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetParameterRequest.newBuilder() to construct. private GetParameterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetParameterRequest() { instance_ = ""; name_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetParameterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } 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.Mdb.internal_static_yamcs_protobuf_mdb_GetParameterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetParameterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetParameterRequest.class, org.yamcs.protobuf.Mdb.GetParameterRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } 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.Mdb.GetParameterRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.GetParameterRequest other = (org.yamcs.protobuf.Mdb.GetParameterRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.GetParameterRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetParameterRequest 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.Mdb.GetParameterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetParameterRequest 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.Mdb.GetParameterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetParameterRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.GetParameterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetParameterRequest 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.Mdb.GetParameterRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetParameterRequest 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.Mdb.GetParameterRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetParameterRequest 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.Mdb.GetParameterRequest 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.mdb.GetParameterRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.GetParameterRequest) org.yamcs.protobuf.Mdb.GetParameterRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetParameterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetParameterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetParameterRequest.class, org.yamcs.protobuf.Mdb.GetParameterRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.GetParameterRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetParameterRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetParameterRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.GetParameterRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.GetParameterRequest build() { org.yamcs.protobuf.Mdb.GetParameterRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetParameterRequest buildPartial() { org.yamcs.protobuf.Mdb.GetParameterRequest result = new org.yamcs.protobuf.Mdb.GetParameterRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; 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.Mdb.GetParameterRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.GetParameterRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.GetParameterRequest other) { if (other == org.yamcs.protobuf.Mdb.GetParameterRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } 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.Mdb.GetParameterRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.GetParameterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 2; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** * optional string name = 2; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 2; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; 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.mdb.GetParameterRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.GetParameterRequest) private static final org.yamcs.protobuf.Mdb.GetParameterRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.GetParameterRequest(); } public static org.yamcs.protobuf.Mdb.GetParameterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetParameterRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetParameterRequest(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.Mdb.GetParameterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListParametersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListParametersRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional string q = 2; */ boolean hasQ(); /** * optional string q = 2; */ java.lang.String getQ(); /** * optional string q = 2; */ com.google.protobuf.ByteString getQBytes(); /** * optional bool details = 4; */ boolean hasDetails(); /** * optional bool details = 4; */ boolean getDetails(); /** * repeated string type = 5; */ java.util.List getTypeList(); /** * repeated string type = 5; */ int getTypeCount(); /** * repeated string type = 5; */ java.lang.String getType(int index); /** * repeated string type = 5; */ com.google.protobuf.ByteString getTypeBytes(int index); /** * optional .yamcs.protobuf.mdb.DataSourceType source = 10; */ boolean hasSource(); /** * optional .yamcs.protobuf.mdb.DataSourceType source = 10; */ org.yamcs.protobuf.Mdb.DataSourceType getSource(); /** * optional string system = 11; */ boolean hasSystem(); /** * optional string system = 11; */ java.lang.String getSystem(); /** * optional string system = 11; */ com.google.protobuf.ByteString getSystemBytes(); /** * optional string next = 7; */ boolean hasNext(); /** * optional string next = 7; */ java.lang.String getNext(); /** * optional string next = 7; */ com.google.protobuf.ByteString getNextBytes(); /** * optional int32 pos = 8; */ boolean hasPos(); /** * optional int32 pos = 8; */ int getPos(); /** * optional int32 limit = 9; */ boolean hasLimit(); /** * optional int32 limit = 9; */ int getLimit(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ListParametersRequest} */ public static final class ListParametersRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ListParametersRequest) ListParametersRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListParametersRequest.newBuilder() to construct. private ListParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListParametersRequest() { instance_ = ""; q_ = ""; type_ = com.google.protobuf.LazyStringArrayList.EMPTY; source_ = 0; system_ = ""; next_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListParametersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; q_ = bs; break; } case 32: { bitField0_ |= 0x00000004; details_ = input.readBool(); break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000008) != 0)) { type_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000008; } type_.add(bs); break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; next_ = bs; break; } case 64: { bitField0_ |= 0x00000040; pos_ = input.readInt32(); break; } case 72: { bitField0_ |= 0x00000080; limit_ = input.readInt32(); break; } case 80: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.DataSourceType value = org.yamcs.protobuf.Mdb.DataSourceType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(10, rawValue); } else { bitField0_ |= 0x00000008; source_ = rawValue; } break; } case 90: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; system_ = bs; 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)) { type_ = type_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListParametersRequest.class, org.yamcs.protobuf.Mdb.ListParametersRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 2; private volatile java.lang.Object q_; /** * optional string q = 2; */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string q = 2; */ public java.lang.String getQ() { java.lang.Object ref = q_; 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()) { q_ = s; } return s; } } /** * optional string q = 2; */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DETAILS_FIELD_NUMBER = 4; private boolean details_; /** * optional bool details = 4; */ public boolean hasDetails() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bool details = 4; */ public boolean getDetails() { return details_; } public static final int TYPE_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList type_; /** * repeated string type = 5; */ public com.google.protobuf.ProtocolStringList getTypeList() { return type_; } /** * repeated string type = 5; */ public int getTypeCount() { return type_.size(); } /** * repeated string type = 5; */ public java.lang.String getType(int index) { return type_.get(index); } /** * repeated string type = 5; */ public com.google.protobuf.ByteString getTypeBytes(int index) { return type_.getByteString(index); } public static final int SOURCE_FIELD_NUMBER = 10; private int source_; /** * optional .yamcs.protobuf.mdb.DataSourceType source = 10; */ public boolean hasSource() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.DataSourceType source = 10; */ public org.yamcs.protobuf.Mdb.DataSourceType getSource() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.DataSourceType result = org.yamcs.protobuf.Mdb.DataSourceType.valueOf(source_); return result == null ? org.yamcs.protobuf.Mdb.DataSourceType.TELEMETERED : result; } public static final int SYSTEM_FIELD_NUMBER = 11; private volatile java.lang.Object system_; /** * optional string system = 11; */ public boolean hasSystem() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string system = 11; */ public java.lang.String getSystem() { java.lang.Object ref = system_; 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()) { system_ = s; } return s; } } /** * optional string system = 11; */ public com.google.protobuf.ByteString getSystemBytes() { java.lang.Object ref = system_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); system_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEXT_FIELD_NUMBER = 7; private volatile java.lang.Object next_; /** * optional string next = 7; */ public boolean hasNext() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string next = 7; */ public java.lang.String getNext() { java.lang.Object ref = next_; 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()) { next_ = s; } return s; } } /** * optional string next = 7; */ public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int POS_FIELD_NUMBER = 8; private int pos_; /** * optional int32 pos = 8; */ public boolean hasPos() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int32 pos = 8; */ public int getPos() { return pos_; } public static final int LIMIT_FIELD_NUMBER = 9; private int limit_; /** * optional int32 limit = 9; */ public boolean hasLimit() { return ((bitField0_ & 0x00000080) != 0); } /** * optional int32 limit = 9; */ public int getLimit() { return limit_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, q_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(4, details_); } for (int i = 0; i < type_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, type_.getRaw(i)); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, next_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeInt32(8, pos_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeInt32(9, limit_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeEnum(10, source_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, system_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, q_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, details_); } { int dataSize = 0; for (int i = 0; i < type_.size(); i++) { dataSize += computeStringSizeNoTag(type_.getRaw(i)); } size += dataSize; size += 1 * getTypeList().size(); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, next_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, pos_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, limit_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(10, source_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, system_); } 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.Mdb.ListParametersRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListParametersRequest other = (org.yamcs.protobuf.Mdb.ListParametersRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasQ() != other.hasQ()) return false; if (hasQ()) { if (!getQ() .equals(other.getQ())) return false; } if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { if (getDetails() != other.getDetails()) return false; } if (!getTypeList() .equals(other.getTypeList())) return false; if (hasSource() != other.hasSource()) return false; if (hasSource()) { if (source_ != other.source_) return false; } if (hasSystem() != other.hasSystem()) return false; if (hasSystem()) { if (!getSystem() .equals(other.getSystem())) return false; } if (hasNext() != other.hasNext()) return false; if (hasNext()) { if (!getNext() .equals(other.getNext())) return false; } if (hasPos() != other.hasPos()) return false; if (hasPos()) { if (getPos() != other.getPos()) return false; } if (hasLimit() != other.hasLimit()) return false; if (hasLimit()) { if (getLimit() != other.getLimit()) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasQ()) { hash = (37 * hash) + Q_FIELD_NUMBER; hash = (53 * hash) + getQ().hashCode(); } if (hasDetails()) { hash = (37 * hash) + DETAILS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDetails()); } if (getTypeCount() > 0) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getTypeList().hashCode(); } if (hasSource()) { hash = (37 * hash) + SOURCE_FIELD_NUMBER; hash = (53 * hash) + source_; } if (hasSystem()) { hash = (37 * hash) + SYSTEM_FIELD_NUMBER; hash = (53 * hash) + getSystem().hashCode(); } if (hasNext()) { hash = (37 * hash) + NEXT_FIELD_NUMBER; hash = (53 * hash) + getNext().hashCode(); } if (hasPos()) { hash = (37 * hash) + POS_FIELD_NUMBER; hash = (53 * hash) + getPos(); } if (hasLimit()) { hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + getLimit(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ListParametersRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListParametersRequest 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.Mdb.ListParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListParametersRequest 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.Mdb.ListParametersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListParametersRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ListParametersRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListParametersRequest 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.Mdb.ListParametersRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListParametersRequest 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.Mdb.ListParametersRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListParametersRequest 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.Mdb.ListParametersRequest 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.mdb.ListParametersRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ListParametersRequest) org.yamcs.protobuf.Mdb.ListParametersRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListParametersRequest.class, org.yamcs.protobuf.Mdb.ListParametersRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ListParametersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); q_ = ""; bitField0_ = (bitField0_ & ~0x00000002); details_ = false; bitField0_ = (bitField0_ & ~0x00000004); type_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); source_ = 0; bitField0_ = (bitField0_ & ~0x00000010); system_ = ""; bitField0_ = (bitField0_ & ~0x00000020); next_ = ""; bitField0_ = (bitField0_ & ~0x00000040); pos_ = 0; bitField0_ = (bitField0_ & ~0x00000080); limit_ = 0; bitField0_ = (bitField0_ & ~0x00000100); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParametersRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListParametersRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ListParametersRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ListParametersRequest build() { org.yamcs.protobuf.Mdb.ListParametersRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListParametersRequest buildPartial() { org.yamcs.protobuf.Mdb.ListParametersRequest result = new org.yamcs.protobuf.Mdb.ListParametersRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.q_ = q_; if (((from_bitField0_ & 0x00000004) != 0)) { result.details_ = details_; to_bitField0_ |= 0x00000004; } if (((bitField0_ & 0x00000008) != 0)) { type_ = type_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); } result.type_ = type_; if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000008; } result.source_ = source_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000010; } result.system_ = system_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000020; } result.next_ = next_; if (((from_bitField0_ & 0x00000080) != 0)) { result.pos_ = pos_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000100) != 0)) { result.limit_ = limit_; to_bitField0_ |= 0x00000080; } 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.Mdb.ListParametersRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.ListParametersRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ListParametersRequest other) { if (other == org.yamcs.protobuf.Mdb.ListParametersRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasQ()) { bitField0_ |= 0x00000002; q_ = other.q_; onChanged(); } if (other.hasDetails()) { setDetails(other.getDetails()); } if (!other.type_.isEmpty()) { if (type_.isEmpty()) { type_ = other.type_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureTypeIsMutable(); type_.addAll(other.type_); } onChanged(); } if (other.hasSource()) { setSource(other.getSource()); } if (other.hasSystem()) { bitField0_ |= 0x00000020; system_ = other.system_; onChanged(); } if (other.hasNext()) { bitField0_ |= 0x00000040; next_ = other.next_; onChanged(); } if (other.hasPos()) { setPos(other.getPos()); } if (other.hasLimit()) { setLimit(other.getLimit()); } 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.Mdb.ListParametersRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ListParametersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** * optional string q = 2; */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string q = 2; */ public java.lang.String getQ() { java.lang.Object ref = q_; 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()) { q_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string q = 2; */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string q = 2; */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } /** * optional string q = 2; */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000002); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** * optional string q = 2; */ public Builder setQBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } private boolean details_ ; /** * optional bool details = 4; */ public boolean hasDetails() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bool details = 4; */ public boolean getDetails() { return details_; } /** * optional bool details = 4; */ public Builder setDetails(boolean value) { bitField0_ |= 0x00000004; details_ = value; onChanged(); return this; } /** * optional bool details = 4; */ public Builder clearDetails() { bitField0_ = (bitField0_ & ~0x00000004); details_ = false; onChanged(); return this; } private com.google.protobuf.LazyStringList type_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTypeIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { type_ = new com.google.protobuf.LazyStringArrayList(type_); bitField0_ |= 0x00000008; } } /** * repeated string type = 5; */ public com.google.protobuf.ProtocolStringList getTypeList() { return type_.getUnmodifiableView(); } /** * repeated string type = 5; */ public int getTypeCount() { return type_.size(); } /** * repeated string type = 5; */ public java.lang.String getType(int index) { return type_.get(index); } /** * repeated string type = 5; */ public com.google.protobuf.ByteString getTypeBytes(int index) { return type_.getByteString(index); } /** * repeated string type = 5; */ public Builder setType( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.set(index, value); onChanged(); return this; } /** * repeated string type = 5; */ public Builder addType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.add(value); onChanged(); return this; } /** * repeated string type = 5; */ public Builder addAllType( java.lang.Iterable values) { ensureTypeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, type_); onChanged(); return this; } /** * repeated string type = 5; */ public Builder clearType() { type_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * repeated string type = 5; */ public Builder addTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.add(value); onChanged(); return this; } private int source_ = 0; /** * optional .yamcs.protobuf.mdb.DataSourceType source = 10; */ public boolean hasSource() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.DataSourceType source = 10; */ public org.yamcs.protobuf.Mdb.DataSourceType getSource() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.DataSourceType result = org.yamcs.protobuf.Mdb.DataSourceType.valueOf(source_); return result == null ? org.yamcs.protobuf.Mdb.DataSourceType.TELEMETERED : result; } /** * optional .yamcs.protobuf.mdb.DataSourceType source = 10; */ public Builder setSource(org.yamcs.protobuf.Mdb.DataSourceType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; source_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.DataSourceType source = 10; */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000010); source_ = 0; onChanged(); return this; } private java.lang.Object system_ = ""; /** * optional string system = 11; */ public boolean hasSystem() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string system = 11; */ public java.lang.String getSystem() { java.lang.Object ref = system_; 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()) { system_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string system = 11; */ public com.google.protobuf.ByteString getSystemBytes() { java.lang.Object ref = system_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); system_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string system = 11; */ public Builder setSystem( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; system_ = value; onChanged(); return this; } /** * optional string system = 11; */ public Builder clearSystem() { bitField0_ = (bitField0_ & ~0x00000020); system_ = getDefaultInstance().getSystem(); onChanged(); return this; } /** * optional string system = 11; */ public Builder setSystemBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; system_ = value; onChanged(); return this; } private java.lang.Object next_ = ""; /** * optional string next = 7; */ public boolean hasNext() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string next = 7; */ public java.lang.String getNext() { java.lang.Object ref = next_; 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()) { next_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string next = 7; */ public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string next = 7; */ public Builder setNext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; next_ = value; onChanged(); return this; } /** * optional string next = 7; */ public Builder clearNext() { bitField0_ = (bitField0_ & ~0x00000040); next_ = getDefaultInstance().getNext(); onChanged(); return this; } /** * optional string next = 7; */ public Builder setNextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; next_ = value; onChanged(); return this; } private int pos_ ; /** * optional int32 pos = 8; */ public boolean hasPos() { return ((bitField0_ & 0x00000080) != 0); } /** * optional int32 pos = 8; */ public int getPos() { return pos_; } /** * optional int32 pos = 8; */ public Builder setPos(int value) { bitField0_ |= 0x00000080; pos_ = value; onChanged(); return this; } /** * optional int32 pos = 8; */ public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000080); pos_ = 0; onChanged(); return this; } private int limit_ ; /** * optional int32 limit = 9; */ public boolean hasLimit() { return ((bitField0_ & 0x00000100) != 0); } /** * optional int32 limit = 9; */ public int getLimit() { return limit_; } /** * optional int32 limit = 9; */ public Builder setLimit(int value) { bitField0_ |= 0x00000100; limit_ = value; onChanged(); return this; } /** * optional int32 limit = 9; */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000100); limit_ = 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.mdb.ListParametersRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ListParametersRequest) private static final org.yamcs.protobuf.Mdb.ListParametersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ListParametersRequest(); } public static org.yamcs.protobuf.Mdb.ListParametersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListParametersRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListParametersRequest(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.Mdb.ListParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListParametersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListParametersResponse) com.google.protobuf.MessageOrBuilder { /** * repeated string spaceSystems = 4; */ java.util.List getSpaceSystemsList(); /** * repeated string spaceSystems = 4; */ int getSpaceSystemsCount(); /** * repeated string spaceSystems = 4; */ java.lang.String getSpaceSystems(int index); /** * repeated string spaceSystems = 4; */ com.google.protobuf.ByteString getSpaceSystemsBytes(int index); /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ java.util.List getParametersList(); /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ org.yamcs.protobuf.Mdb.ParameterInfo getParameters(int index); /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ int getParametersCount(); /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ java.util.List getParametersOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParametersOrBuilder( int index); /** * optional string continuationToken = 2; */ boolean hasContinuationToken(); /** * optional string continuationToken = 2; */ java.lang.String getContinuationToken(); /** * optional string continuationToken = 2; */ com.google.protobuf.ByteString getContinuationTokenBytes(); /** * optional int32 totalSize = 3; */ boolean hasTotalSize(); /** * optional int32 totalSize = 3; */ int getTotalSize(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ListParametersResponse} */ public static final class ListParametersResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ListParametersResponse) ListParametersResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListParametersResponse.newBuilder() to construct. private ListParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListParametersResponse() { spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; parameters_ = java.util.Collections.emptyList(); continuationToken_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListParametersResponse( 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_ & 0x00000002) != 0)) { parameters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } parameters_.add( input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry)); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; continuationToken_ = bs; break; } case 24: { bitField0_ |= 0x00000002; totalSize_ = input.readInt32(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } spaceSystems_.add(bs); 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_ & 0x00000002) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); } if (((mutable_bitField0_ & 0x00000001) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListParametersResponse.class, org.yamcs.protobuf.Mdb.ListParametersResponse.Builder.class); } private int bitField0_; public static final int SPACESYSTEMS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList spaceSystems_; /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_; } /** * repeated string spaceSystems = 4; */ public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** * repeated string spaceSystems = 4; */ public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } public static final int PARAMETERS_FIELD_NUMBER = 1; private java.util.List parameters_; /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public java.util.List getParametersList() { return parameters_; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public java.util.List getParametersOrBuilderList() { return parameters_; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public int getParametersCount() { return parameters_.size(); } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameters(int index) { return parameters_.get(index); } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParametersOrBuilder( int index) { return parameters_.get(index); } public static final int CONTINUATIONTOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object continuationToken_; /** * optional string continuationToken = 2; */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string continuationToken = 2; */ public java.lang.String getContinuationToken() { java.lang.Object ref = continuationToken_; 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()) { continuationToken_ = s; } return s; } } /** * optional string continuationToken = 2; */ public com.google.protobuf.ByteString getContinuationTokenBytes() { java.lang.Object ref = continuationToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); continuationToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOTALSIZE_FIELD_NUMBER = 3; private int totalSize_; /** * optional int32 totalSize = 3; */ public boolean hasTotalSize() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 totalSize = 3; */ public int getTotalSize() { return totalSize_; } 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 < getParametersCount(); i++) { if (!getParameters(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 < parameters_.size(); i++) { output.writeMessage(1, parameters_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, continuationToken_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(3, totalSize_); } for (int i = 0; i < spaceSystems_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, spaceSystems_.getRaw(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 < parameters_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, parameters_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, continuationToken_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, totalSize_); } { int dataSize = 0; for (int i = 0; i < spaceSystems_.size(); i++) { dataSize += computeStringSizeNoTag(spaceSystems_.getRaw(i)); } size += dataSize; size += 1 * getSpaceSystemsList().size(); } 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.Mdb.ListParametersResponse)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListParametersResponse other = (org.yamcs.protobuf.Mdb.ListParametersResponse) obj; if (!getSpaceSystemsList() .equals(other.getSpaceSystemsList())) return false; if (!getParametersList() .equals(other.getParametersList())) return false; if (hasContinuationToken() != other.hasContinuationToken()) return false; if (hasContinuationToken()) { if (!getContinuationToken() .equals(other.getContinuationToken())) return false; } if (hasTotalSize() != other.hasTotalSize()) return false; if (hasTotalSize()) { if (getTotalSize() != other.getTotalSize()) 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 (getSpaceSystemsCount() > 0) { hash = (37 * hash) + SPACESYSTEMS_FIELD_NUMBER; hash = (53 * hash) + getSpaceSystemsList().hashCode(); } if (getParametersCount() > 0) { hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getParametersList().hashCode(); } if (hasContinuationToken()) { hash = (37 * hash) + CONTINUATIONTOKEN_FIELD_NUMBER; hash = (53 * hash) + getContinuationToken().hashCode(); } if (hasTotalSize()) { hash = (37 * hash) + TOTALSIZE_FIELD_NUMBER; hash = (53 * hash) + getTotalSize(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ListParametersResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListParametersResponse 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.Mdb.ListParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListParametersResponse 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.Mdb.ListParametersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListParametersResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ListParametersResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListParametersResponse 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.Mdb.ListParametersResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListParametersResponse 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.Mdb.ListParametersResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListParametersResponse 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.Mdb.ListParametersResponse 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.mdb.ListParametersResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ListParametersResponse) org.yamcs.protobuf.Mdb.ListParametersResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListParametersResponse.class, org.yamcs.protobuf.Mdb.ListParametersResponse.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ListParametersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getParametersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (parametersBuilder_ == null) { parameters_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { parametersBuilder_.clear(); } continuationToken_ = ""; bitField0_ = (bitField0_ & ~0x00000004); totalSize_ = 0; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParametersResponse_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListParametersResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ListParametersResponse.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ListParametersResponse build() { org.yamcs.protobuf.Mdb.ListParametersResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListParametersResponse buildPartial() { org.yamcs.protobuf.Mdb.ListParametersResponse result = new org.yamcs.protobuf.Mdb.ListParametersResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.spaceSystems_ = spaceSystems_; if (parametersBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); bitField0_ = (bitField0_ & ~0x00000002); } result.parameters_ = parameters_; } else { result.parameters_ = parametersBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000001; } result.continuationToken_ = continuationToken_; if (((from_bitField0_ & 0x00000008) != 0)) { result.totalSize_ = totalSize_; to_bitField0_ |= 0x00000002; } 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.Mdb.ListParametersResponse) { return mergeFrom((org.yamcs.protobuf.Mdb.ListParametersResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ListParametersResponse other) { if (other == org.yamcs.protobuf.Mdb.ListParametersResponse.getDefaultInstance()) return this; if (!other.spaceSystems_.isEmpty()) { if (spaceSystems_.isEmpty()) { spaceSystems_ = other.spaceSystems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSpaceSystemsIsMutable(); spaceSystems_.addAll(other.spaceSystems_); } onChanged(); } if (parametersBuilder_ == null) { if (!other.parameters_.isEmpty()) { if (parameters_.isEmpty()) { parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureParametersIsMutable(); parameters_.addAll(other.parameters_); } onChanged(); } } else { if (!other.parameters_.isEmpty()) { if (parametersBuilder_.isEmpty()) { parametersBuilder_.dispose(); parametersBuilder_ = null; parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000002); parametersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getParametersFieldBuilder() : null; } else { parametersBuilder_.addAllMessages(other.parameters_); } } } if (other.hasContinuationToken()) { bitField0_ |= 0x00000004; continuationToken_ = other.continuationToken_; onChanged(); } if (other.hasTotalSize()) { setTotalSize(other.getTotalSize()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getParametersCount(); i++) { if (!getParameters(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.Mdb.ListParametersResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ListParametersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSpaceSystemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(spaceSystems_); bitField0_ |= 0x00000001; } } /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_.getUnmodifiableView(); } /** * repeated string spaceSystems = 4; */ public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** * repeated string spaceSystems = 4; */ public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } /** * repeated string spaceSystems = 4; */ public Builder setSpaceSystems( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.set(index, value); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder addSpaceSystems( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder addAllSpaceSystems( java.lang.Iterable values) { ensureSpaceSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, spaceSystems_); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder clearSpaceSystems() { spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder addSpaceSystemsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); return this; } private java.util.List parameters_ = java.util.Collections.emptyList(); private void ensureParametersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { parameters_ = new java.util.ArrayList(parameters_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> parametersBuilder_; /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public java.util.List getParametersList() { if (parametersBuilder_ == null) { return java.util.Collections.unmodifiableList(parameters_); } else { return parametersBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public int getParametersCount() { if (parametersBuilder_ == null) { return parameters_.size(); } else { return parametersBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameters(int index) { if (parametersBuilder_ == null) { return parameters_.get(index); } else { return parametersBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public Builder setParameters( int index, org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParametersIsMutable(); parameters_.set(index, value); onChanged(); } else { parametersBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public Builder setParameters( int index, org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.set(index, builderForValue.build()); onChanged(); } else { parametersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public Builder addParameters(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParametersIsMutable(); parameters_.add(value); onChanged(); } else { parametersBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public Builder addParameters( int index, org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParametersIsMutable(); parameters_.add(index, value); onChanged(); } else { parametersBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public Builder addParameters( org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.add(builderForValue.build()); onChanged(); } else { parametersBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public Builder addParameters( int index, org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.add(index, builderForValue.build()); onChanged(); } else { parametersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public Builder addAllParameters( java.lang.Iterable values) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, parameters_); onChanged(); } else { parametersBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public Builder clearParameters() { if (parametersBuilder_ == null) { parameters_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { parametersBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public Builder removeParameters(int index) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.remove(index); onChanged(); } else { parametersBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getParametersBuilder( int index) { return getParametersFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParametersOrBuilder( int index) { if (parametersBuilder_ == null) { return parameters_.get(index); } else { return parametersBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public java.util.List getParametersOrBuilderList() { if (parametersBuilder_ != null) { return parametersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(parameters_); } } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder addParametersBuilder() { return getParametersFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder addParametersBuilder( int index) { return getParametersFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public java.util.List getParametersBuilderList() { return getParametersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> getParametersFieldBuilder() { if (parametersBuilder_ == null) { parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder>( parameters_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); parameters_ = null; } return parametersBuilder_; } private java.lang.Object continuationToken_ = ""; /** * optional string continuationToken = 2; */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string continuationToken = 2; */ public java.lang.String getContinuationToken() { java.lang.Object ref = continuationToken_; 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()) { continuationToken_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string continuationToken = 2; */ public com.google.protobuf.ByteString getContinuationTokenBytes() { java.lang.Object ref = continuationToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); continuationToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string continuationToken = 2; */ public Builder setContinuationToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; continuationToken_ = value; onChanged(); return this; } /** * optional string continuationToken = 2; */ public Builder clearContinuationToken() { bitField0_ = (bitField0_ & ~0x00000004); continuationToken_ = getDefaultInstance().getContinuationToken(); onChanged(); return this; } /** * optional string continuationToken = 2; */ public Builder setContinuationTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; continuationToken_ = value; onChanged(); return this; } private int totalSize_ ; /** * optional int32 totalSize = 3; */ public boolean hasTotalSize() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 totalSize = 3; */ public int getTotalSize() { return totalSize_; } /** * optional int32 totalSize = 3; */ public Builder setTotalSize(int value) { bitField0_ |= 0x00000008; totalSize_ = value; onChanged(); return this; } /** * optional int32 totalSize = 3; */ public Builder clearTotalSize() { bitField0_ = (bitField0_ & ~0x00000008); totalSize_ = 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.mdb.ListParametersResponse) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ListParametersResponse) private static final org.yamcs.protobuf.Mdb.ListParametersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ListParametersResponse(); } public static org.yamcs.protobuf.Mdb.ListParametersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListParametersResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListParametersResponse(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.Mdb.ListParametersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListParameterTypesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListParameterTypesResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ java.util.List getTypesList(); /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ org.yamcs.protobuf.Mdb.ParameterTypeInfo getTypes(int index); /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ int getTypesCount(); /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ java.util.List getTypesOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypesOrBuilder( int index); /** * optional string continuationToken = 2; */ boolean hasContinuationToken(); /** * optional string continuationToken = 2; */ java.lang.String getContinuationToken(); /** * optional string continuationToken = 2; */ com.google.protobuf.ByteString getContinuationTokenBytes(); /** * optional int32 totalSize = 3; */ boolean hasTotalSize(); /** * optional int32 totalSize = 3; */ int getTotalSize(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ListParameterTypesResponse} */ public static final class ListParameterTypesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ListParameterTypesResponse) ListParameterTypesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListParameterTypesResponse.newBuilder() to construct. private ListParameterTypesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListParameterTypesResponse() { types_ = java.util.Collections.emptyList(); continuationToken_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListParameterTypesResponse( 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)) { types_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } types_.add( input.readMessage(org.yamcs.protobuf.Mdb.ParameterTypeInfo.PARSER, extensionRegistry)); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; continuationToken_ = bs; break; } case 24: { bitField0_ |= 0x00000002; totalSize_ = 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)) { types_ = java.util.Collections.unmodifiableList(types_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParameterTypesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParameterTypesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListParameterTypesResponse.class, org.yamcs.protobuf.Mdb.ListParameterTypesResponse.Builder.class); } private int bitField0_; public static final int TYPES_FIELD_NUMBER = 1; private java.util.List types_; /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public java.util.List getTypesList() { return types_; } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public java.util.List getTypesOrBuilderList() { return types_; } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public int getTypesCount() { return types_.size(); } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo getTypes(int index) { return types_.get(index); } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypesOrBuilder( int index) { return types_.get(index); } public static final int CONTINUATIONTOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object continuationToken_; /** * optional string continuationToken = 2; */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string continuationToken = 2; */ public java.lang.String getContinuationToken() { java.lang.Object ref = continuationToken_; 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()) { continuationToken_ = s; } return s; } } /** * optional string continuationToken = 2; */ public com.google.protobuf.ByteString getContinuationTokenBytes() { java.lang.Object ref = continuationToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); continuationToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOTALSIZE_FIELD_NUMBER = 3; private int totalSize_; /** * optional int32 totalSize = 3; */ public boolean hasTotalSize() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 totalSize = 3; */ public int getTotalSize() { return totalSize_; } 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 < getTypesCount(); i++) { if (!getTypes(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 < types_.size(); i++) { output.writeMessage(1, types_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, continuationToken_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(3, totalSize_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < types_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, types_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, continuationToken_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, totalSize_); } 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.Mdb.ListParameterTypesResponse)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListParameterTypesResponse other = (org.yamcs.protobuf.Mdb.ListParameterTypesResponse) obj; if (!getTypesList() .equals(other.getTypesList())) return false; if (hasContinuationToken() != other.hasContinuationToken()) return false; if (hasContinuationToken()) { if (!getContinuationToken() .equals(other.getContinuationToken())) return false; } if (hasTotalSize() != other.hasTotalSize()) return false; if (hasTotalSize()) { if (getTotalSize() != other.getTotalSize()) 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 (getTypesCount() > 0) { hash = (37 * hash) + TYPES_FIELD_NUMBER; hash = (53 * hash) + getTypesList().hashCode(); } if (hasContinuationToken()) { hash = (37 * hash) + CONTINUATIONTOKEN_FIELD_NUMBER; hash = (53 * hash) + getContinuationToken().hashCode(); } if (hasTotalSize()) { hash = (37 * hash) + TOTALSIZE_FIELD_NUMBER; hash = (53 * hash) + getTotalSize(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ListParameterTypesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListParameterTypesResponse 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.Mdb.ListParameterTypesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListParameterTypesResponse 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.Mdb.ListParameterTypesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListParameterTypesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ListParameterTypesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListParameterTypesResponse 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.Mdb.ListParameterTypesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListParameterTypesResponse 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.Mdb.ListParameterTypesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListParameterTypesResponse 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.Mdb.ListParameterTypesResponse 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.mdb.ListParameterTypesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ListParameterTypesResponse) org.yamcs.protobuf.Mdb.ListParameterTypesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParameterTypesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParameterTypesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListParameterTypesResponse.class, org.yamcs.protobuf.Mdb.ListParameterTypesResponse.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ListParameterTypesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTypesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (typesBuilder_ == null) { types_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { typesBuilder_.clear(); } continuationToken_ = ""; bitField0_ = (bitField0_ & ~0x00000002); totalSize_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListParameterTypesResponse_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListParameterTypesResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ListParameterTypesResponse.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ListParameterTypesResponse build() { org.yamcs.protobuf.Mdb.ListParameterTypesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListParameterTypesResponse buildPartial() { org.yamcs.protobuf.Mdb.ListParameterTypesResponse result = new org.yamcs.protobuf.Mdb.ListParameterTypesResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (typesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { types_ = java.util.Collections.unmodifiableList(types_); bitField0_ = (bitField0_ & ~0x00000001); } result.types_ = types_; } else { result.types_ = typesBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000001; } result.continuationToken_ = continuationToken_; if (((from_bitField0_ & 0x00000004) != 0)) { result.totalSize_ = totalSize_; to_bitField0_ |= 0x00000002; } 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.Mdb.ListParameterTypesResponse) { return mergeFrom((org.yamcs.protobuf.Mdb.ListParameterTypesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ListParameterTypesResponse other) { if (other == org.yamcs.protobuf.Mdb.ListParameterTypesResponse.getDefaultInstance()) return this; if (typesBuilder_ == null) { if (!other.types_.isEmpty()) { if (types_.isEmpty()) { types_ = other.types_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTypesIsMutable(); types_.addAll(other.types_); } onChanged(); } } else { if (!other.types_.isEmpty()) { if (typesBuilder_.isEmpty()) { typesBuilder_.dispose(); typesBuilder_ = null; types_ = other.types_; bitField0_ = (bitField0_ & ~0x00000001); typesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTypesFieldBuilder() : null; } else { typesBuilder_.addAllMessages(other.types_); } } } if (other.hasContinuationToken()) { bitField0_ |= 0x00000002; continuationToken_ = other.continuationToken_; onChanged(); } if (other.hasTotalSize()) { setTotalSize(other.getTotalSize()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getTypesCount(); i++) { if (!getTypes(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.Mdb.ListParameterTypesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ListParameterTypesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List types_ = java.util.Collections.emptyList(); private void ensureTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { types_ = new java.util.ArrayList(types_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder> typesBuilder_; /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public java.util.List getTypesList() { if (typesBuilder_ == null) { return java.util.Collections.unmodifiableList(types_); } else { return typesBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public int getTypesCount() { if (typesBuilder_ == null) { return types_.size(); } else { return typesBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo getTypes(int index) { if (typesBuilder_ == null) { return types_.get(index); } else { return typesBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public Builder setTypes( int index, org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (typesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypesIsMutable(); types_.set(index, value); onChanged(); } else { typesBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public Builder setTypes( int index, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.set(index, builderForValue.build()); onChanged(); } else { typesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public Builder addTypes(org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (typesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypesIsMutable(); types_.add(value); onChanged(); } else { typesBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public Builder addTypes( int index, org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (typesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypesIsMutable(); types_.add(index, value); onChanged(); } else { typesBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public Builder addTypes( org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.add(builderForValue.build()); onChanged(); } else { typesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public Builder addTypes( int index, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.add(index, builderForValue.build()); onChanged(); } else { typesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public Builder addAllTypes( java.lang.Iterable values) { if (typesBuilder_ == null) { ensureTypesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, types_); onChanged(); } else { typesBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public Builder clearTypes() { if (typesBuilder_ == null) { types_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { typesBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public Builder removeTypes(int index) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.remove(index); onChanged(); } else { typesBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder getTypesBuilder( int index) { return getTypesFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypesOrBuilder( int index) { if (typesBuilder_ == null) { return types_.get(index); } else { return typesBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public java.util.List getTypesOrBuilderList() { if (typesBuilder_ != null) { return typesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(types_); } } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder addTypesBuilder() { return getTypesFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder addTypesBuilder( int index) { return getTypesFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ParameterTypeInfo types = 1; */ public java.util.List getTypesBuilderList() { return getTypesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder> getTypesFieldBuilder() { if (typesBuilder_ == null) { typesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder>( types_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); types_ = null; } return typesBuilder_; } private java.lang.Object continuationToken_ = ""; /** * optional string continuationToken = 2; */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string continuationToken = 2; */ public java.lang.String getContinuationToken() { java.lang.Object ref = continuationToken_; 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()) { continuationToken_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string continuationToken = 2; */ public com.google.protobuf.ByteString getContinuationTokenBytes() { java.lang.Object ref = continuationToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); continuationToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string continuationToken = 2; */ public Builder setContinuationToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; continuationToken_ = value; onChanged(); return this; } /** * optional string continuationToken = 2; */ public Builder clearContinuationToken() { bitField0_ = (bitField0_ & ~0x00000002); continuationToken_ = getDefaultInstance().getContinuationToken(); onChanged(); return this; } /** * optional string continuationToken = 2; */ public Builder setContinuationTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; continuationToken_ = value; onChanged(); return this; } private int totalSize_ ; /** * optional int32 totalSize = 3; */ public boolean hasTotalSize() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 totalSize = 3; */ public int getTotalSize() { return totalSize_; } /** * optional int32 totalSize = 3; */ public Builder setTotalSize(int value) { bitField0_ |= 0x00000004; totalSize_ = value; onChanged(); return this; } /** * optional int32 totalSize = 3; */ public Builder clearTotalSize() { bitField0_ = (bitField0_ & ~0x00000004); totalSize_ = 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.mdb.ListParameterTypesResponse) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ListParameterTypesResponse) private static final org.yamcs.protobuf.Mdb.ListParameterTypesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ListParameterTypesResponse(); } public static org.yamcs.protobuf.Mdb.ListParameterTypesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListParameterTypesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListParameterTypesResponse(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.Mdb.ListParameterTypesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BatchGetParametersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.BatchGetParametersRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 2; */ boolean hasInstance(); /** * optional string instance = 2; */ java.lang.String getInstance(); /** * optional string instance = 2; */ com.google.protobuf.ByteString getInstanceBytes(); /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ java.util.List getIdList(); /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectId getId(int index); /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ int getIdCount(); /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ java.util.List getIdOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.mdb.BatchGetParametersRequest} */ public static final class BatchGetParametersRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.BatchGetParametersRequest) BatchGetParametersRequestOrBuilder { private static final long serialVersionUID = 0L; // Use BatchGetParametersRequest.newBuilder() to construct. private BatchGetParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BatchGetParametersRequest() { instance_ = ""; id_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BatchGetParametersRequest( 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_ & 0x00000002) != 0)) { id_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } id_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; 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_ & 0x00000002) != 0)) { id_ = java.util.Collections.unmodifiableList(id_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.BatchGetParametersRequest.class, org.yamcs.protobuf.Mdb.BatchGetParametersRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 2; private volatile java.lang.Object instance_; /** * optional string instance = 2; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 2; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 2; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ID_FIELD_NUMBER = 1; private java.util.List id_; /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public java.util.List getIdList() { return id_; } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public java.util.List getIdOrBuilderList() { return id_; } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public int getIdCount() { return id_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId(int index) { return id_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder( int index) { return id_.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 < getIdCount(); i++) { if (!getId(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 < id_.size(); i++) { output.writeMessage(1, id_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, instance_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < id_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, id_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instance_); } 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.Mdb.BatchGetParametersRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.BatchGetParametersRequest other = (org.yamcs.protobuf.Mdb.BatchGetParametersRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (!getIdList() .equals(other.getIdList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (getIdCount() > 0) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getIdList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.BatchGetParametersRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.BatchGetParametersRequest 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.Mdb.BatchGetParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.BatchGetParametersRequest 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.Mdb.BatchGetParametersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.BatchGetParametersRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.BatchGetParametersRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.BatchGetParametersRequest 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.Mdb.BatchGetParametersRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.BatchGetParametersRequest 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.Mdb.BatchGetParametersRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.BatchGetParametersRequest 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.Mdb.BatchGetParametersRequest 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.mdb.BatchGetParametersRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.BatchGetParametersRequest) org.yamcs.protobuf.Mdb.BatchGetParametersRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.BatchGetParametersRequest.class, org.yamcs.protobuf.Mdb.BatchGetParametersRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.BatchGetParametersRequest.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(); } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (idBuilder_ == null) { id_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { idBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.BatchGetParametersRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.BatchGetParametersRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.BatchGetParametersRequest build() { org.yamcs.protobuf.Mdb.BatchGetParametersRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.BatchGetParametersRequest buildPartial() { org.yamcs.protobuf.Mdb.BatchGetParametersRequest result = new org.yamcs.protobuf.Mdb.BatchGetParametersRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (idBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { id_ = java.util.Collections.unmodifiableList(id_); bitField0_ = (bitField0_ & ~0x00000002); } result.id_ = id_; } else { result.id_ = idBuilder_.build(); } 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.Mdb.BatchGetParametersRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.BatchGetParametersRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.BatchGetParametersRequest other) { if (other == org.yamcs.protobuf.Mdb.BatchGetParametersRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (idBuilder_ == null) { if (!other.id_.isEmpty()) { if (id_.isEmpty()) { id_ = other.id_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureIdIsMutable(); id_.addAll(other.id_); } onChanged(); } } else { if (!other.id_.isEmpty()) { if (idBuilder_.isEmpty()) { idBuilder_.dispose(); idBuilder_ = null; id_ = other.id_; bitField0_ = (bitField0_ & ~0x00000002); idBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getIdFieldBuilder() : null; } else { idBuilder_.addAllMessages(other.id_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getIdCount(); i++) { if (!getId(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.Mdb.BatchGetParametersRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.BatchGetParametersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 2; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 2; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 2; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 2; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 2; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 2; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.util.List id_ = java.util.Collections.emptyList(); private void ensureIdIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { id_ = new java.util.ArrayList(id_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> idBuilder_; /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public java.util.List getIdList() { if (idBuilder_ == null) { return java.util.Collections.unmodifiableList(id_); } else { return idBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public int getIdCount() { if (idBuilder_ == null) { return id_.size(); } else { return idBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId(int index) { if (idBuilder_ == null) { return id_.get(index); } else { return idBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public Builder setId( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIdIsMutable(); id_.set(index, value); onChanged(); } else { idBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public Builder setId( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (idBuilder_ == null) { ensureIdIsMutable(); id_.set(index, builderForValue.build()); onChanged(); } else { idBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public Builder addId(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIdIsMutable(); id_.add(value); onChanged(); } else { idBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public Builder addId( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIdIsMutable(); id_.add(index, value); onChanged(); } else { idBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public Builder addId( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (idBuilder_ == null) { ensureIdIsMutable(); id_.add(builderForValue.build()); onChanged(); } else { idBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public Builder addId( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (idBuilder_ == null) { ensureIdIsMutable(); id_.add(index, builderForValue.build()); onChanged(); } else { idBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public Builder addAllId( java.lang.Iterable values) { if (idBuilder_ == null) { ensureIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, id_); onChanged(); } else { idBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public Builder clearId() { if (idBuilder_ == null) { id_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { idBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public Builder removeId(int index) { if (idBuilder_ == null) { ensureIdIsMutable(); id_.remove(index); onChanged(); } else { idBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getIdBuilder( int index) { return getIdFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder( int index) { if (idBuilder_ == null) { return id_.get(index); } else { return idBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public java.util.List getIdOrBuilderList() { if (idBuilder_ != null) { return idBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(id_); } } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addIdBuilder() { return getIdFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addIdBuilder( int index) { return getIdFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ public java.util.List getIdBuilderList() { return getIdFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< 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.RepeatedFieldBuilderV3< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( id_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); id_ = null; } return idBuilder_; } @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.mdb.BatchGetParametersRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.BatchGetParametersRequest) private static final org.yamcs.protobuf.Mdb.BatchGetParametersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.BatchGetParametersRequest(); } public static org.yamcs.protobuf.Mdb.BatchGetParametersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BatchGetParametersRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BatchGetParametersRequest(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.Mdb.BatchGetParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BatchGetParametersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.BatchGetParametersResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ java.util.List getResponseList(); /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse getResponse(int index); /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ int getResponseCount(); /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ java.util.List getResponseOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponseOrBuilder getResponseOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.mdb.BatchGetParametersResponse} */ public static final class BatchGetParametersResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.BatchGetParametersResponse) BatchGetParametersResponseOrBuilder { private static final long serialVersionUID = 0L; // Use BatchGetParametersResponse.newBuilder() to construct. private BatchGetParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BatchGetParametersResponse() { response_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BatchGetParametersResponse( 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)) { response_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } response_.add( input.readMessage(org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.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)) { response_ = java.util.Collections.unmodifiableList(response_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.BatchGetParametersResponse.class, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.Builder.class); } public interface GetParameterResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ boolean hasId(); /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectId getId(); /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ boolean hasParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ org.yamcs.protobuf.Mdb.ParameterInfo getParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(); } /** * Protobuf type {@code yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse} */ public static final class GetParameterResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse) GetParameterResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetParameterResponse.newBuilder() to construct. private GetParameterResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetParameterResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetParameterResponse( 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.Mdb.ParameterInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = parameter_.toBuilder(); } parameter_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(parameter_); parameter_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_GetParameterResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_GetParameterResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.class, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private org.yamcs.protobuf.Yamcs.NamedObjectId id_; /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId() { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder() { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } public static final int PARAMETER_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.ParameterInfo parameter_; /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ public boolean hasParameter() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } 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 (hasParameter()) { if (!getParameter().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, getParameter()); } 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, getParameter()); } 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.Mdb.BatchGetParametersResponse.GetParameterResponse)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse other = (org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (!getId() .equals(other.getId())) return false; } if (hasParameter() != other.hasParameter()) return false; if (hasParameter()) { if (!getParameter() .equals(other.getParameter())) 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 (hasParameter()) { hash = (37 * hash) + PARAMETER_FIELD_NUMBER; hash = (53 * hash) + getParameter().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse 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.Mdb.BatchGetParametersResponse.GetParameterResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse 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.Mdb.BatchGetParametersResponse.GetParameterResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse 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.Mdb.BatchGetParametersResponse.GetParameterResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse 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.Mdb.BatchGetParametersResponse.GetParameterResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse 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.Mdb.BatchGetParametersResponse.GetParameterResponse 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.mdb.BatchGetParametersResponse.GetParameterResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse) org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_GetParameterResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_GetParameterResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.class, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.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(); getParameterFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (idBuilder_ == null) { id_ = null; } else { idBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (parameterBuilder_ == null) { parameter_ = null; } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_GetParameterResponse_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse build() { org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse buildPartial() { org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse result = new org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse(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 (parameterBuilder_ == null) { result.parameter_ = parameter_; } else { result.parameter_ = parameterBuilder_.build(); } to_bitField0_ |= 0x00000002; } 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.Mdb.BatchGetParametersResponse.GetParameterResponse) { return mergeFrom((org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse other) { if (other == org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.getDefaultInstance()) return this; if (other.hasId()) { mergeId(other.getId()); } if (other.hasParameter()) { mergeParameter(other.getParameter()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasId()) { if (!getId().isInitialized()) { return false; } } if (hasParameter()) { if (!getParameter().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.Mdb.BatchGetParametersResponse.GetParameterResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse) 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_; /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId() { if (idBuilder_ == null) { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } else { return idBuilder_.getMessage(); } } /** * 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; } /** * 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; } /** * 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; } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public Builder clearId() { if (idBuilder_ == null) { id_ = null; onChanged(); } else { idBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getIdBuilder() { bitField0_ |= 0x00000001; onChanged(); return getIdFieldBuilder().getBuilder(); } /** * 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_; } } /** * 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.Mdb.ParameterInfo parameter_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> parameterBuilder_; /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ public boolean hasParameter() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { if (parameterBuilder_ == null) { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } else { return parameterBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ public Builder setParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } parameter_ = value; onChanged(); } else { parameterBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ public Builder setParameter( org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (parameterBuilder_ == null) { parameter_ = builderForValue.build(); onChanged(); } else { parameterBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ public Builder mergeParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parameterBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && parameter_ != null && parameter_ != org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()) { parameter_ = org.yamcs.protobuf.Mdb.ParameterInfo.newBuilder(parameter_).mergeFrom(value).buildPartial(); } else { parameter_ = value; } onChanged(); } else { parameterBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ public Builder clearParameter() { if (parameterBuilder_ == null) { parameter_ = null; onChanged(); } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getParameterBuilder() { bitField0_ |= 0x00000002; onChanged(); return getParameterFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { if (parameterBuilder_ != null) { return parameterBuilder_.getMessageOrBuilder(); } else { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> getParameterFieldBuilder() { if (parameterBuilder_ == null) { parameterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder>( getParameter(), getParentForChildren(), isClean()); parameter_ = null; } return parameterBuilder_; } @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.mdb.BatchGetParametersResponse.GetParameterResponse) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse) private static final org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse(); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetParameterResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetParameterResponse(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.Mdb.BatchGetParametersResponse.GetParameterResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int RESPONSE_FIELD_NUMBER = 1; private java.util.List response_; /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public java.util.List getResponseList() { return response_; } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public java.util.List getResponseOrBuilderList() { return response_; } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public int getResponseCount() { return response_.size(); } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse getResponse(int index) { return response_.get(index); } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponseOrBuilder getResponseOrBuilder( int index) { return response_.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 < getResponseCount(); i++) { if (!getResponse(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 < response_.size(); i++) { output.writeMessage(1, response_.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 < response_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, response_.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.Mdb.BatchGetParametersResponse)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.BatchGetParametersResponse other = (org.yamcs.protobuf.Mdb.BatchGetParametersResponse) obj; if (!getResponseList() .equals(other.getResponseList())) 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 (getResponseCount() > 0) { hash = (37 * hash) + RESPONSE_FIELD_NUMBER; hash = (53 * hash) + getResponseList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse 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.Mdb.BatchGetParametersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse 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.Mdb.BatchGetParametersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse 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.Mdb.BatchGetParametersResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse 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.Mdb.BatchGetParametersResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse 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.Mdb.BatchGetParametersResponse 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.mdb.BatchGetParametersResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.BatchGetParametersResponse) org.yamcs.protobuf.Mdb.BatchGetParametersResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.BatchGetParametersResponse.class, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.BatchGetParametersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getResponseFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (responseBuilder_ == null) { response_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { responseBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.BatchGetParametersResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.BatchGetParametersResponse.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.BatchGetParametersResponse build() { org.yamcs.protobuf.Mdb.BatchGetParametersResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.BatchGetParametersResponse buildPartial() { org.yamcs.protobuf.Mdb.BatchGetParametersResponse result = new org.yamcs.protobuf.Mdb.BatchGetParametersResponse(this); int from_bitField0_ = bitField0_; if (responseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { response_ = java.util.Collections.unmodifiableList(response_); bitField0_ = (bitField0_ & ~0x00000001); } result.response_ = response_; } else { result.response_ = responseBuilder_.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.Mdb.BatchGetParametersResponse) { return mergeFrom((org.yamcs.protobuf.Mdb.BatchGetParametersResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.BatchGetParametersResponse other) { if (other == org.yamcs.protobuf.Mdb.BatchGetParametersResponse.getDefaultInstance()) return this; if (responseBuilder_ == null) { if (!other.response_.isEmpty()) { if (response_.isEmpty()) { response_ = other.response_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureResponseIsMutable(); response_.addAll(other.response_); } onChanged(); } } else { if (!other.response_.isEmpty()) { if (responseBuilder_.isEmpty()) { responseBuilder_.dispose(); responseBuilder_ = null; response_ = other.response_; bitField0_ = (bitField0_ & ~0x00000001); responseBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getResponseFieldBuilder() : null; } else { responseBuilder_.addAllMessages(other.response_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getResponseCount(); i++) { if (!getResponse(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.Mdb.BatchGetParametersResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.BatchGetParametersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List response_ = java.util.Collections.emptyList(); private void ensureResponseIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { response_ = new java.util.ArrayList(response_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.Builder, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponseOrBuilder> responseBuilder_; /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public java.util.List getResponseList() { if (responseBuilder_ == null) { return java.util.Collections.unmodifiableList(response_); } else { return responseBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public int getResponseCount() { if (responseBuilder_ == null) { return response_.size(); } else { return responseBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse getResponse(int index) { if (responseBuilder_ == null) { return response_.get(index); } else { return responseBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public Builder setResponse( int index, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse value) { if (responseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResponseIsMutable(); response_.set(index, value); onChanged(); } else { responseBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public Builder setResponse( int index, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.Builder builderForValue) { if (responseBuilder_ == null) { ensureResponseIsMutable(); response_.set(index, builderForValue.build()); onChanged(); } else { responseBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public Builder addResponse(org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse value) { if (responseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResponseIsMutable(); response_.add(value); onChanged(); } else { responseBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public Builder addResponse( int index, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse value) { if (responseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResponseIsMutable(); response_.add(index, value); onChanged(); } else { responseBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public Builder addResponse( org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.Builder builderForValue) { if (responseBuilder_ == null) { ensureResponseIsMutable(); response_.add(builderForValue.build()); onChanged(); } else { responseBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public Builder addResponse( int index, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.Builder builderForValue) { if (responseBuilder_ == null) { ensureResponseIsMutable(); response_.add(index, builderForValue.build()); onChanged(); } else { responseBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public Builder addAllResponse( java.lang.Iterable values) { if (responseBuilder_ == null) { ensureResponseIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, response_); onChanged(); } else { responseBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public Builder clearResponse() { if (responseBuilder_ == null) { response_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { responseBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public Builder removeResponse(int index) { if (responseBuilder_ == null) { ensureResponseIsMutable(); response_.remove(index); onChanged(); } else { responseBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.Builder getResponseBuilder( int index) { return getResponseFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponseOrBuilder getResponseOrBuilder( int index) { if (responseBuilder_ == null) { return response_.get(index); } else { return responseBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public java.util.List getResponseOrBuilderList() { if (responseBuilder_ != null) { return responseBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(response_); } } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.Builder addResponseBuilder() { return getResponseFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.Builder addResponseBuilder( int index) { return getResponseFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ public java.util.List getResponseBuilderList() { return getResponseFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.Builder, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponseOrBuilder> getResponseFieldBuilder() { if (responseBuilder_ == null) { responseBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse.Builder, org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponseOrBuilder>( response_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); response_ = null; } return responseBuilder_; } @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.mdb.BatchGetParametersResponse) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.BatchGetParametersResponse) private static final org.yamcs.protobuf.Mdb.BatchGetParametersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.BatchGetParametersResponse(); } public static org.yamcs.protobuf.Mdb.BatchGetParametersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BatchGetParametersResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BatchGetParametersResponse(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.Mdb.BatchGetParametersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListContainersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListContainersResponse) com.google.protobuf.MessageOrBuilder { /** * repeated string spaceSystems = 4; */ java.util.List getSpaceSystemsList(); /** * repeated string spaceSystems = 4; */ int getSpaceSystemsCount(); /** * repeated string spaceSystems = 4; */ java.lang.String getSpaceSystems(int index); /** * repeated string spaceSystems = 4; */ com.google.protobuf.ByteString getSpaceSystemsBytes(int index); /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ java.util.List getContainersList(); /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ org.yamcs.protobuf.Mdb.ContainerInfo getContainers(int index); /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ int getContainersCount(); /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ java.util.List getContainersOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainersOrBuilder( int index); /** * optional string continuationToken = 2; */ boolean hasContinuationToken(); /** * optional string continuationToken = 2; */ java.lang.String getContinuationToken(); /** * optional string continuationToken = 2; */ com.google.protobuf.ByteString getContinuationTokenBytes(); /** * optional int32 totalSize = 3; */ boolean hasTotalSize(); /** * optional int32 totalSize = 3; */ int getTotalSize(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ListContainersResponse} */ public static final class ListContainersResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ListContainersResponse) ListContainersResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListContainersResponse.newBuilder() to construct. private ListContainersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListContainersResponse() { spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; containers_ = java.util.Collections.emptyList(); continuationToken_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListContainersResponse( 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_ & 0x00000002) != 0)) { containers_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } containers_.add( input.readMessage(org.yamcs.protobuf.Mdb.ContainerInfo.PARSER, extensionRegistry)); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; continuationToken_ = bs; break; } case 24: { bitField0_ |= 0x00000002; totalSize_ = input.readInt32(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } spaceSystems_.add(bs); 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_ & 0x00000002) != 0)) { containers_ = java.util.Collections.unmodifiableList(containers_); } if (((mutable_bitField0_ & 0x00000001) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListContainersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListContainersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListContainersResponse.class, org.yamcs.protobuf.Mdb.ListContainersResponse.Builder.class); } private int bitField0_; public static final int SPACESYSTEMS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList spaceSystems_; /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_; } /** * repeated string spaceSystems = 4; */ public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** * repeated string spaceSystems = 4; */ public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } public static final int CONTAINERS_FIELD_NUMBER = 1; private java.util.List containers_; /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public java.util.List getContainersList() { return containers_; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public java.util.List getContainersOrBuilderList() { return containers_; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public int getContainersCount() { return containers_.size(); } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfo getContainers(int index) { return containers_.get(index); } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainersOrBuilder( int index) { return containers_.get(index); } public static final int CONTINUATIONTOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object continuationToken_; /** * optional string continuationToken = 2; */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string continuationToken = 2; */ public java.lang.String getContinuationToken() { java.lang.Object ref = continuationToken_; 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()) { continuationToken_ = s; } return s; } } /** * optional string continuationToken = 2; */ public com.google.protobuf.ByteString getContinuationTokenBytes() { java.lang.Object ref = continuationToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); continuationToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOTALSIZE_FIELD_NUMBER = 3; private int totalSize_; /** * optional int32 totalSize = 3; */ public boolean hasTotalSize() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 totalSize = 3; */ public int getTotalSize() { return totalSize_; } 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 < getContainersCount(); i++) { if (!getContainers(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 < containers_.size(); i++) { output.writeMessage(1, containers_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, continuationToken_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(3, totalSize_); } for (int i = 0; i < spaceSystems_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, spaceSystems_.getRaw(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 < containers_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, containers_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, continuationToken_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, totalSize_); } { int dataSize = 0; for (int i = 0; i < spaceSystems_.size(); i++) { dataSize += computeStringSizeNoTag(spaceSystems_.getRaw(i)); } size += dataSize; size += 1 * getSpaceSystemsList().size(); } 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.Mdb.ListContainersResponse)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListContainersResponse other = (org.yamcs.protobuf.Mdb.ListContainersResponse) obj; if (!getSpaceSystemsList() .equals(other.getSpaceSystemsList())) return false; if (!getContainersList() .equals(other.getContainersList())) return false; if (hasContinuationToken() != other.hasContinuationToken()) return false; if (hasContinuationToken()) { if (!getContinuationToken() .equals(other.getContinuationToken())) return false; } if (hasTotalSize() != other.hasTotalSize()) return false; if (hasTotalSize()) { if (getTotalSize() != other.getTotalSize()) 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 (getSpaceSystemsCount() > 0) { hash = (37 * hash) + SPACESYSTEMS_FIELD_NUMBER; hash = (53 * hash) + getSpaceSystemsList().hashCode(); } if (getContainersCount() > 0) { hash = (37 * hash) + CONTAINERS_FIELD_NUMBER; hash = (53 * hash) + getContainersList().hashCode(); } if (hasContinuationToken()) { hash = (37 * hash) + CONTINUATIONTOKEN_FIELD_NUMBER; hash = (53 * hash) + getContinuationToken().hashCode(); } if (hasTotalSize()) { hash = (37 * hash) + TOTALSIZE_FIELD_NUMBER; hash = (53 * hash) + getTotalSize(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ListContainersResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListContainersResponse 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.Mdb.ListContainersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListContainersResponse 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.Mdb.ListContainersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListContainersResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ListContainersResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListContainersResponse 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.Mdb.ListContainersResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListContainersResponse 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.Mdb.ListContainersResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListContainersResponse 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.Mdb.ListContainersResponse 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.mdb.ListContainersResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ListContainersResponse) org.yamcs.protobuf.Mdb.ListContainersResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListContainersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListContainersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListContainersResponse.class, org.yamcs.protobuf.Mdb.ListContainersResponse.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ListContainersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getContainersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (containersBuilder_ == null) { containers_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { containersBuilder_.clear(); } continuationToken_ = ""; bitField0_ = (bitField0_ & ~0x00000004); totalSize_ = 0; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListContainersResponse_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListContainersResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ListContainersResponse.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ListContainersResponse build() { org.yamcs.protobuf.Mdb.ListContainersResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListContainersResponse buildPartial() { org.yamcs.protobuf.Mdb.ListContainersResponse result = new org.yamcs.protobuf.Mdb.ListContainersResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.spaceSystems_ = spaceSystems_; if (containersBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { containers_ = java.util.Collections.unmodifiableList(containers_); bitField0_ = (bitField0_ & ~0x00000002); } result.containers_ = containers_; } else { result.containers_ = containersBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000001; } result.continuationToken_ = continuationToken_; if (((from_bitField0_ & 0x00000008) != 0)) { result.totalSize_ = totalSize_; to_bitField0_ |= 0x00000002; } 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.Mdb.ListContainersResponse) { return mergeFrom((org.yamcs.protobuf.Mdb.ListContainersResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ListContainersResponse other) { if (other == org.yamcs.protobuf.Mdb.ListContainersResponse.getDefaultInstance()) return this; if (!other.spaceSystems_.isEmpty()) { if (spaceSystems_.isEmpty()) { spaceSystems_ = other.spaceSystems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSpaceSystemsIsMutable(); spaceSystems_.addAll(other.spaceSystems_); } onChanged(); } if (containersBuilder_ == null) { if (!other.containers_.isEmpty()) { if (containers_.isEmpty()) { containers_ = other.containers_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureContainersIsMutable(); containers_.addAll(other.containers_); } onChanged(); } } else { if (!other.containers_.isEmpty()) { if (containersBuilder_.isEmpty()) { containersBuilder_.dispose(); containersBuilder_ = null; containers_ = other.containers_; bitField0_ = (bitField0_ & ~0x00000002); containersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getContainersFieldBuilder() : null; } else { containersBuilder_.addAllMessages(other.containers_); } } } if (other.hasContinuationToken()) { bitField0_ |= 0x00000004; continuationToken_ = other.continuationToken_; onChanged(); } if (other.hasTotalSize()) { setTotalSize(other.getTotalSize()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getContainersCount(); i++) { if (!getContainers(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.Mdb.ListContainersResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ListContainersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSpaceSystemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(spaceSystems_); bitField0_ |= 0x00000001; } } /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_.getUnmodifiableView(); } /** * repeated string spaceSystems = 4; */ public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** * repeated string spaceSystems = 4; */ public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } /** * repeated string spaceSystems = 4; */ public Builder setSpaceSystems( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.set(index, value); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder addSpaceSystems( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder addAllSpaceSystems( java.lang.Iterable values) { ensureSpaceSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, spaceSystems_); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder clearSpaceSystems() { spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder addSpaceSystemsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); return this; } private java.util.List containers_ = java.util.Collections.emptyList(); private void ensureContainersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { containers_ = new java.util.ArrayList(containers_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> containersBuilder_; /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public java.util.List getContainersList() { if (containersBuilder_ == null) { return java.util.Collections.unmodifiableList(containers_); } else { return containersBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public int getContainersCount() { if (containersBuilder_ == null) { return containers_.size(); } else { return containersBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfo getContainers(int index) { if (containersBuilder_ == null) { return containers_.get(index); } else { return containersBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public Builder setContainers( int index, org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContainersIsMutable(); containers_.set(index, value); onChanged(); } else { containersBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public Builder setContainers( int index, org.yamcs.protobuf.Mdb.ContainerInfo.Builder builderForValue) { if (containersBuilder_ == null) { ensureContainersIsMutable(); containers_.set(index, builderForValue.build()); onChanged(); } else { containersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public Builder addContainers(org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContainersIsMutable(); containers_.add(value); onChanged(); } else { containersBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public Builder addContainers( int index, org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContainersIsMutable(); containers_.add(index, value); onChanged(); } else { containersBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public Builder addContainers( org.yamcs.protobuf.Mdb.ContainerInfo.Builder builderForValue) { if (containersBuilder_ == null) { ensureContainersIsMutable(); containers_.add(builderForValue.build()); onChanged(); } else { containersBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public Builder addContainers( int index, org.yamcs.protobuf.Mdb.ContainerInfo.Builder builderForValue) { if (containersBuilder_ == null) { ensureContainersIsMutable(); containers_.add(index, builderForValue.build()); onChanged(); } else { containersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public Builder addAllContainers( java.lang.Iterable values) { if (containersBuilder_ == null) { ensureContainersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, containers_); onChanged(); } else { containersBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public Builder clearContainers() { if (containersBuilder_ == null) { containers_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { containersBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public Builder removeContainers(int index) { if (containersBuilder_ == null) { ensureContainersIsMutable(); containers_.remove(index); onChanged(); } else { containersBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder getContainersBuilder( int index) { return getContainersFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainersOrBuilder( int index) { if (containersBuilder_ == null) { return containers_.get(index); } else { return containersBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public java.util.List getContainersOrBuilderList() { if (containersBuilder_ != null) { return containersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(containers_); } } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder addContainersBuilder() { return getContainersFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder addContainersBuilder( int index) { return getContainersFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public java.util.List getContainersBuilderList() { return getContainersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> getContainersFieldBuilder() { if (containersBuilder_ == null) { containersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder>( containers_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); containers_ = null; } return containersBuilder_; } private java.lang.Object continuationToken_ = ""; /** * optional string continuationToken = 2; */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string continuationToken = 2; */ public java.lang.String getContinuationToken() { java.lang.Object ref = continuationToken_; 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()) { continuationToken_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string continuationToken = 2; */ public com.google.protobuf.ByteString getContinuationTokenBytes() { java.lang.Object ref = continuationToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); continuationToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string continuationToken = 2; */ public Builder setContinuationToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; continuationToken_ = value; onChanged(); return this; } /** * optional string continuationToken = 2; */ public Builder clearContinuationToken() { bitField0_ = (bitField0_ & ~0x00000004); continuationToken_ = getDefaultInstance().getContinuationToken(); onChanged(); return this; } /** * optional string continuationToken = 2; */ public Builder setContinuationTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; continuationToken_ = value; onChanged(); return this; } private int totalSize_ ; /** * optional int32 totalSize = 3; */ public boolean hasTotalSize() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 totalSize = 3; */ public int getTotalSize() { return totalSize_; } /** * optional int32 totalSize = 3; */ public Builder setTotalSize(int value) { bitField0_ |= 0x00000008; totalSize_ = value; onChanged(); return this; } /** * optional int32 totalSize = 3; */ public Builder clearTotalSize() { bitField0_ = (bitField0_ & ~0x00000008); totalSize_ = 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.mdb.ListContainersResponse) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ListContainersResponse) private static final org.yamcs.protobuf.Mdb.ListContainersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ListContainersResponse(); } public static org.yamcs.protobuf.Mdb.ListContainersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListContainersResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListContainersResponse(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.Mdb.ListContainersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListCommandsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListCommandsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated string spaceSystems = 4; */ java.util.List getSpaceSystemsList(); /** * repeated string spaceSystems = 4; */ int getSpaceSystemsCount(); /** * repeated string spaceSystems = 4; */ java.lang.String getSpaceSystems(int index); /** * repeated string spaceSystems = 4; */ com.google.protobuf.ByteString getSpaceSystemsBytes(int index); /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ java.util.List getCommandsList(); /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ org.yamcs.protobuf.Mdb.CommandInfo getCommands(int index); /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ int getCommandsCount(); /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ java.util.List getCommandsOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getCommandsOrBuilder( int index); /** * optional string continuationToken = 2; */ boolean hasContinuationToken(); /** * optional string continuationToken = 2; */ java.lang.String getContinuationToken(); /** * optional string continuationToken = 2; */ com.google.protobuf.ByteString getContinuationTokenBytes(); /** * optional int32 totalSize = 3; */ boolean hasTotalSize(); /** * optional int32 totalSize = 3; */ int getTotalSize(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ListCommandsResponse} */ public static final class ListCommandsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ListCommandsResponse) ListCommandsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListCommandsResponse.newBuilder() to construct. private ListCommandsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListCommandsResponse() { spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; commands_ = java.util.Collections.emptyList(); continuationToken_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListCommandsResponse( 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_ & 0x00000002) != 0)) { commands_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } commands_.add( input.readMessage(org.yamcs.protobuf.Mdb.CommandInfo.PARSER, extensionRegistry)); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; continuationToken_ = bs; break; } case 24: { bitField0_ |= 0x00000002; totalSize_ = input.readInt32(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } spaceSystems_.add(bs); 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_ & 0x00000002) != 0)) { commands_ = java.util.Collections.unmodifiableList(commands_); } if (((mutable_bitField0_ & 0x00000001) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListCommandsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListCommandsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListCommandsResponse.class, org.yamcs.protobuf.Mdb.ListCommandsResponse.Builder.class); } private int bitField0_; public static final int SPACESYSTEMS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList spaceSystems_; /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_; } /** * repeated string spaceSystems = 4; */ public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** * repeated string spaceSystems = 4; */ public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } public static final int COMMANDS_FIELD_NUMBER = 1; private java.util.List commands_; /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public java.util.List getCommandsList() { return commands_; } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public java.util.List getCommandsOrBuilderList() { return commands_; } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public int getCommandsCount() { return commands_.size(); } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public org.yamcs.protobuf.Mdb.CommandInfo getCommands(int index) { return commands_.get(index); } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getCommandsOrBuilder( int index) { return commands_.get(index); } public static final int CONTINUATIONTOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object continuationToken_; /** * optional string continuationToken = 2; */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string continuationToken = 2; */ public java.lang.String getContinuationToken() { java.lang.Object ref = continuationToken_; 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()) { continuationToken_ = s; } return s; } } /** * optional string continuationToken = 2; */ public com.google.protobuf.ByteString getContinuationTokenBytes() { java.lang.Object ref = continuationToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); continuationToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOTALSIZE_FIELD_NUMBER = 3; private int totalSize_; /** * optional int32 totalSize = 3; */ public boolean hasTotalSize() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 totalSize = 3; */ public int getTotalSize() { return totalSize_; } 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 < getCommandsCount(); i++) { if (!getCommands(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 < commands_.size(); i++) { output.writeMessage(1, commands_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, continuationToken_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(3, totalSize_); } for (int i = 0; i < spaceSystems_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, spaceSystems_.getRaw(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 < commands_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, commands_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, continuationToken_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, totalSize_); } { int dataSize = 0; for (int i = 0; i < spaceSystems_.size(); i++) { dataSize += computeStringSizeNoTag(spaceSystems_.getRaw(i)); } size += dataSize; size += 1 * getSpaceSystemsList().size(); } 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.Mdb.ListCommandsResponse)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListCommandsResponse other = (org.yamcs.protobuf.Mdb.ListCommandsResponse) obj; if (!getSpaceSystemsList() .equals(other.getSpaceSystemsList())) return false; if (!getCommandsList() .equals(other.getCommandsList())) return false; if (hasContinuationToken() != other.hasContinuationToken()) return false; if (hasContinuationToken()) { if (!getContinuationToken() .equals(other.getContinuationToken())) return false; } if (hasTotalSize() != other.hasTotalSize()) return false; if (hasTotalSize()) { if (getTotalSize() != other.getTotalSize()) 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 (getSpaceSystemsCount() > 0) { hash = (37 * hash) + SPACESYSTEMS_FIELD_NUMBER; hash = (53 * hash) + getSpaceSystemsList().hashCode(); } if (getCommandsCount() > 0) { hash = (37 * hash) + COMMANDS_FIELD_NUMBER; hash = (53 * hash) + getCommandsList().hashCode(); } if (hasContinuationToken()) { hash = (37 * hash) + CONTINUATIONTOKEN_FIELD_NUMBER; hash = (53 * hash) + getContinuationToken().hashCode(); } if (hasTotalSize()) { hash = (37 * hash) + TOTALSIZE_FIELD_NUMBER; hash = (53 * hash) + getTotalSize(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ListCommandsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListCommandsResponse 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.Mdb.ListCommandsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListCommandsResponse 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.Mdb.ListCommandsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListCommandsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ListCommandsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListCommandsResponse 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.Mdb.ListCommandsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListCommandsResponse 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.Mdb.ListCommandsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListCommandsResponse 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.Mdb.ListCommandsResponse 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.mdb.ListCommandsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ListCommandsResponse) org.yamcs.protobuf.Mdb.ListCommandsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListCommandsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListCommandsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListCommandsResponse.class, org.yamcs.protobuf.Mdb.ListCommandsResponse.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ListCommandsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getCommandsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (commandsBuilder_ == null) { commands_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { commandsBuilder_.clear(); } continuationToken_ = ""; bitField0_ = (bitField0_ & ~0x00000004); totalSize_ = 0; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListCommandsResponse_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListCommandsResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ListCommandsResponse.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ListCommandsResponse build() { org.yamcs.protobuf.Mdb.ListCommandsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListCommandsResponse buildPartial() { org.yamcs.protobuf.Mdb.ListCommandsResponse result = new org.yamcs.protobuf.Mdb.ListCommandsResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.spaceSystems_ = spaceSystems_; if (commandsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { commands_ = java.util.Collections.unmodifiableList(commands_); bitField0_ = (bitField0_ & ~0x00000002); } result.commands_ = commands_; } else { result.commands_ = commandsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000001; } result.continuationToken_ = continuationToken_; if (((from_bitField0_ & 0x00000008) != 0)) { result.totalSize_ = totalSize_; to_bitField0_ |= 0x00000002; } 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.Mdb.ListCommandsResponse) { return mergeFrom((org.yamcs.protobuf.Mdb.ListCommandsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ListCommandsResponse other) { if (other == org.yamcs.protobuf.Mdb.ListCommandsResponse.getDefaultInstance()) return this; if (!other.spaceSystems_.isEmpty()) { if (spaceSystems_.isEmpty()) { spaceSystems_ = other.spaceSystems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSpaceSystemsIsMutable(); spaceSystems_.addAll(other.spaceSystems_); } onChanged(); } if (commandsBuilder_ == null) { if (!other.commands_.isEmpty()) { if (commands_.isEmpty()) { commands_ = other.commands_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureCommandsIsMutable(); commands_.addAll(other.commands_); } onChanged(); } } else { if (!other.commands_.isEmpty()) { if (commandsBuilder_.isEmpty()) { commandsBuilder_.dispose(); commandsBuilder_ = null; commands_ = other.commands_; bitField0_ = (bitField0_ & ~0x00000002); commandsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCommandsFieldBuilder() : null; } else { commandsBuilder_.addAllMessages(other.commands_); } } } if (other.hasContinuationToken()) { bitField0_ |= 0x00000004; continuationToken_ = other.continuationToken_; onChanged(); } if (other.hasTotalSize()) { setTotalSize(other.getTotalSize()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getCommandsCount(); i++) { if (!getCommands(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.Mdb.ListCommandsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ListCommandsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSpaceSystemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(spaceSystems_); bitField0_ |= 0x00000001; } } /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_.getUnmodifiableView(); } /** * repeated string spaceSystems = 4; */ public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** * repeated string spaceSystems = 4; */ public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } /** * repeated string spaceSystems = 4; */ public Builder setSpaceSystems( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.set(index, value); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder addSpaceSystems( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder addAllSpaceSystems( java.lang.Iterable values) { ensureSpaceSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, spaceSystems_); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder clearSpaceSystems() { spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder addSpaceSystemsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); return this; } private java.util.List commands_ = java.util.Collections.emptyList(); private void ensureCommandsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { commands_ = new java.util.ArrayList(commands_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandInfo, org.yamcs.protobuf.Mdb.CommandInfo.Builder, org.yamcs.protobuf.Mdb.CommandInfoOrBuilder> commandsBuilder_; /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public java.util.List getCommandsList() { if (commandsBuilder_ == null) { return java.util.Collections.unmodifiableList(commands_); } else { return commandsBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public int getCommandsCount() { if (commandsBuilder_ == null) { return commands_.size(); } else { return commandsBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public org.yamcs.protobuf.Mdb.CommandInfo getCommands(int index) { if (commandsBuilder_ == null) { return commands_.get(index); } else { return commandsBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public Builder setCommands( int index, org.yamcs.protobuf.Mdb.CommandInfo value) { if (commandsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommandsIsMutable(); commands_.set(index, value); onChanged(); } else { commandsBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public Builder setCommands( int index, org.yamcs.protobuf.Mdb.CommandInfo.Builder builderForValue) { if (commandsBuilder_ == null) { ensureCommandsIsMutable(); commands_.set(index, builderForValue.build()); onChanged(); } else { commandsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public Builder addCommands(org.yamcs.protobuf.Mdb.CommandInfo value) { if (commandsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommandsIsMutable(); commands_.add(value); onChanged(); } else { commandsBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public Builder addCommands( int index, org.yamcs.protobuf.Mdb.CommandInfo value) { if (commandsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommandsIsMutable(); commands_.add(index, value); onChanged(); } else { commandsBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public Builder addCommands( org.yamcs.protobuf.Mdb.CommandInfo.Builder builderForValue) { if (commandsBuilder_ == null) { ensureCommandsIsMutable(); commands_.add(builderForValue.build()); onChanged(); } else { commandsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public Builder addCommands( int index, org.yamcs.protobuf.Mdb.CommandInfo.Builder builderForValue) { if (commandsBuilder_ == null) { ensureCommandsIsMutable(); commands_.add(index, builderForValue.build()); onChanged(); } else { commandsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public Builder addAllCommands( java.lang.Iterable values) { if (commandsBuilder_ == null) { ensureCommandsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, commands_); onChanged(); } else { commandsBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public Builder clearCommands() { if (commandsBuilder_ == null) { commands_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { commandsBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public Builder removeCommands(int index) { if (commandsBuilder_ == null) { ensureCommandsIsMutable(); commands_.remove(index); onChanged(); } else { commandsBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public org.yamcs.protobuf.Mdb.CommandInfo.Builder getCommandsBuilder( int index) { return getCommandsFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getCommandsOrBuilder( int index) { if (commandsBuilder_ == null) { return commands_.get(index); } else { return commandsBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public java.util.List getCommandsOrBuilderList() { if (commandsBuilder_ != null) { return commandsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(commands_); } } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public org.yamcs.protobuf.Mdb.CommandInfo.Builder addCommandsBuilder() { return getCommandsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public org.yamcs.protobuf.Mdb.CommandInfo.Builder addCommandsBuilder( int index) { return getCommandsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public java.util.List getCommandsBuilderList() { return getCommandsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandInfo, org.yamcs.protobuf.Mdb.CommandInfo.Builder, org.yamcs.protobuf.Mdb.CommandInfoOrBuilder> getCommandsFieldBuilder() { if (commandsBuilder_ == null) { commandsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandInfo, org.yamcs.protobuf.Mdb.CommandInfo.Builder, org.yamcs.protobuf.Mdb.CommandInfoOrBuilder>( commands_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); commands_ = null; } return commandsBuilder_; } private java.lang.Object continuationToken_ = ""; /** * optional string continuationToken = 2; */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string continuationToken = 2; */ public java.lang.String getContinuationToken() { java.lang.Object ref = continuationToken_; 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()) { continuationToken_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string continuationToken = 2; */ public com.google.protobuf.ByteString getContinuationTokenBytes() { java.lang.Object ref = continuationToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); continuationToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string continuationToken = 2; */ public Builder setContinuationToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; continuationToken_ = value; onChanged(); return this; } /** * optional string continuationToken = 2; */ public Builder clearContinuationToken() { bitField0_ = (bitField0_ & ~0x00000004); continuationToken_ = getDefaultInstance().getContinuationToken(); onChanged(); return this; } /** * optional string continuationToken = 2; */ public Builder setContinuationTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; continuationToken_ = value; onChanged(); return this; } private int totalSize_ ; /** * optional int32 totalSize = 3; */ public boolean hasTotalSize() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 totalSize = 3; */ public int getTotalSize() { return totalSize_; } /** * optional int32 totalSize = 3; */ public Builder setTotalSize(int value) { bitField0_ |= 0x00000008; totalSize_ = value; onChanged(); return this; } /** * optional int32 totalSize = 3; */ public Builder clearTotalSize() { bitField0_ = (bitField0_ & ~0x00000008); totalSize_ = 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.mdb.ListCommandsResponse) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ListCommandsResponse) private static final org.yamcs.protobuf.Mdb.ListCommandsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ListCommandsResponse(); } public static org.yamcs.protobuf.Mdb.ListCommandsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListCommandsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListCommandsResponse(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.Mdb.ListCommandsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListAlgorithmsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListAlgorithmsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated string spaceSystems = 4; */ java.util.List getSpaceSystemsList(); /** * repeated string spaceSystems = 4; */ int getSpaceSystemsCount(); /** * repeated string spaceSystems = 4; */ java.lang.String getSpaceSystems(int index); /** * repeated string spaceSystems = 4; */ com.google.protobuf.ByteString getSpaceSystemsBytes(int index); /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ java.util.List getAlgorithmsList(); /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithms(int index); /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ int getAlgorithmsCount(); /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ java.util.List getAlgorithmsOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmsOrBuilder( int index); /** * optional string continuationToken = 2; */ boolean hasContinuationToken(); /** * optional string continuationToken = 2; */ java.lang.String getContinuationToken(); /** * optional string continuationToken = 2; */ com.google.protobuf.ByteString getContinuationTokenBytes(); /** * optional int32 totalSize = 3; */ boolean hasTotalSize(); /** * optional int32 totalSize = 3; */ int getTotalSize(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ListAlgorithmsResponse} */ public static final class ListAlgorithmsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ListAlgorithmsResponse) ListAlgorithmsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListAlgorithmsResponse.newBuilder() to construct. private ListAlgorithmsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListAlgorithmsResponse() { spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; algorithms_ = java.util.Collections.emptyList(); continuationToken_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListAlgorithmsResponse( 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_ & 0x00000002) != 0)) { algorithms_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } algorithms_.add( input.readMessage(org.yamcs.protobuf.Mdb.AlgorithmInfo.PARSER, extensionRegistry)); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; continuationToken_ = bs; break; } case 24: { bitField0_ |= 0x00000002; totalSize_ = input.readInt32(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } spaceSystems_.add(bs); 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_ & 0x00000002) != 0)) { algorithms_ = java.util.Collections.unmodifiableList(algorithms_); } if (((mutable_bitField0_ & 0x00000001) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListAlgorithmsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListAlgorithmsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListAlgorithmsResponse.class, org.yamcs.protobuf.Mdb.ListAlgorithmsResponse.Builder.class); } private int bitField0_; public static final int SPACESYSTEMS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList spaceSystems_; /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_; } /** * repeated string spaceSystems = 4; */ public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** * repeated string spaceSystems = 4; */ public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } public static final int ALGORITHMS_FIELD_NUMBER = 1; private java.util.List algorithms_; /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public java.util.List getAlgorithmsList() { return algorithms_; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public java.util.List getAlgorithmsOrBuilderList() { return algorithms_; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public int getAlgorithmsCount() { return algorithms_.size(); } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithms(int index) { return algorithms_.get(index); } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmsOrBuilder( int index) { return algorithms_.get(index); } public static final int CONTINUATIONTOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object continuationToken_; /** * optional string continuationToken = 2; */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string continuationToken = 2; */ public java.lang.String getContinuationToken() { java.lang.Object ref = continuationToken_; 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()) { continuationToken_ = s; } return s; } } /** * optional string continuationToken = 2; */ public com.google.protobuf.ByteString getContinuationTokenBytes() { java.lang.Object ref = continuationToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); continuationToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOTALSIZE_FIELD_NUMBER = 3; private int totalSize_; /** * optional int32 totalSize = 3; */ public boolean hasTotalSize() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 totalSize = 3; */ public int getTotalSize() { return totalSize_; } 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 < getAlgorithmsCount(); i++) { if (!getAlgorithms(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 < algorithms_.size(); i++) { output.writeMessage(1, algorithms_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, continuationToken_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(3, totalSize_); } for (int i = 0; i < spaceSystems_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, spaceSystems_.getRaw(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 < algorithms_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, algorithms_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, continuationToken_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, totalSize_); } { int dataSize = 0; for (int i = 0; i < spaceSystems_.size(); i++) { dataSize += computeStringSizeNoTag(spaceSystems_.getRaw(i)); } size += dataSize; size += 1 * getSpaceSystemsList().size(); } 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.Mdb.ListAlgorithmsResponse)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListAlgorithmsResponse other = (org.yamcs.protobuf.Mdb.ListAlgorithmsResponse) obj; if (!getSpaceSystemsList() .equals(other.getSpaceSystemsList())) return false; if (!getAlgorithmsList() .equals(other.getAlgorithmsList())) return false; if (hasContinuationToken() != other.hasContinuationToken()) return false; if (hasContinuationToken()) { if (!getContinuationToken() .equals(other.getContinuationToken())) return false; } if (hasTotalSize() != other.hasTotalSize()) return false; if (hasTotalSize()) { if (getTotalSize() != other.getTotalSize()) 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 (getSpaceSystemsCount() > 0) { hash = (37 * hash) + SPACESYSTEMS_FIELD_NUMBER; hash = (53 * hash) + getSpaceSystemsList().hashCode(); } if (getAlgorithmsCount() > 0) { hash = (37 * hash) + ALGORITHMS_FIELD_NUMBER; hash = (53 * hash) + getAlgorithmsList().hashCode(); } if (hasContinuationToken()) { hash = (37 * hash) + CONTINUATIONTOKEN_FIELD_NUMBER; hash = (53 * hash) + getContinuationToken().hashCode(); } if (hasTotalSize()) { hash = (37 * hash) + TOTALSIZE_FIELD_NUMBER; hash = (53 * hash) + getTotalSize(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ListAlgorithmsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsResponse 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.Mdb.ListAlgorithmsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsResponse 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.Mdb.ListAlgorithmsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsResponse 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.Mdb.ListAlgorithmsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsResponse 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.Mdb.ListAlgorithmsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsResponse 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.Mdb.ListAlgorithmsResponse 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.mdb.ListAlgorithmsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ListAlgorithmsResponse) org.yamcs.protobuf.Mdb.ListAlgorithmsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListAlgorithmsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListAlgorithmsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListAlgorithmsResponse.class, org.yamcs.protobuf.Mdb.ListAlgorithmsResponse.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ListAlgorithmsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAlgorithmsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (algorithmsBuilder_ == null) { algorithms_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { algorithmsBuilder_.clear(); } continuationToken_ = ""; bitField0_ = (bitField0_ & ~0x00000004); totalSize_ = 0; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListAlgorithmsResponse_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListAlgorithmsResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ListAlgorithmsResponse.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ListAlgorithmsResponse build() { org.yamcs.protobuf.Mdb.ListAlgorithmsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListAlgorithmsResponse buildPartial() { org.yamcs.protobuf.Mdb.ListAlgorithmsResponse result = new org.yamcs.protobuf.Mdb.ListAlgorithmsResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.spaceSystems_ = spaceSystems_; if (algorithmsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { algorithms_ = java.util.Collections.unmodifiableList(algorithms_); bitField0_ = (bitField0_ & ~0x00000002); } result.algorithms_ = algorithms_; } else { result.algorithms_ = algorithmsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000001; } result.continuationToken_ = continuationToken_; if (((from_bitField0_ & 0x00000008) != 0)) { result.totalSize_ = totalSize_; to_bitField0_ |= 0x00000002; } 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.Mdb.ListAlgorithmsResponse) { return mergeFrom((org.yamcs.protobuf.Mdb.ListAlgorithmsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ListAlgorithmsResponse other) { if (other == org.yamcs.protobuf.Mdb.ListAlgorithmsResponse.getDefaultInstance()) return this; if (!other.spaceSystems_.isEmpty()) { if (spaceSystems_.isEmpty()) { spaceSystems_ = other.spaceSystems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSpaceSystemsIsMutable(); spaceSystems_.addAll(other.spaceSystems_); } onChanged(); } if (algorithmsBuilder_ == null) { if (!other.algorithms_.isEmpty()) { if (algorithms_.isEmpty()) { algorithms_ = other.algorithms_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAlgorithmsIsMutable(); algorithms_.addAll(other.algorithms_); } onChanged(); } } else { if (!other.algorithms_.isEmpty()) { if (algorithmsBuilder_.isEmpty()) { algorithmsBuilder_.dispose(); algorithmsBuilder_ = null; algorithms_ = other.algorithms_; bitField0_ = (bitField0_ & ~0x00000002); algorithmsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAlgorithmsFieldBuilder() : null; } else { algorithmsBuilder_.addAllMessages(other.algorithms_); } } } if (other.hasContinuationToken()) { bitField0_ |= 0x00000004; continuationToken_ = other.continuationToken_; onChanged(); } if (other.hasTotalSize()) { setTotalSize(other.getTotalSize()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getAlgorithmsCount(); i++) { if (!getAlgorithms(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.Mdb.ListAlgorithmsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ListAlgorithmsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSpaceSystemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(spaceSystems_); bitField0_ |= 0x00000001; } } /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_.getUnmodifiableView(); } /** * repeated string spaceSystems = 4; */ public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** * repeated string spaceSystems = 4; */ public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** * repeated string spaceSystems = 4; */ public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } /** * repeated string spaceSystems = 4; */ public Builder setSpaceSystems( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.set(index, value); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder addSpaceSystems( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder addAllSpaceSystems( java.lang.Iterable values) { ensureSpaceSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, spaceSystems_); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder clearSpaceSystems() { spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string spaceSystems = 4; */ public Builder addSpaceSystemsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); return this; } private java.util.List algorithms_ = java.util.Collections.emptyList(); private void ensureAlgorithmsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { algorithms_ = new java.util.ArrayList(algorithms_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder> algorithmsBuilder_; /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public java.util.List getAlgorithmsList() { if (algorithmsBuilder_ == null) { return java.util.Collections.unmodifiableList(algorithms_); } else { return algorithmsBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public int getAlgorithmsCount() { if (algorithmsBuilder_ == null) { return algorithms_.size(); } else { return algorithmsBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithms(int index) { if (algorithmsBuilder_ == null) { return algorithms_.get(index); } else { return algorithmsBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public Builder setAlgorithms( int index, org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlgorithmsIsMutable(); algorithms_.set(index, value); onChanged(); } else { algorithmsBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public Builder setAlgorithms( int index, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder builderForValue) { if (algorithmsBuilder_ == null) { ensureAlgorithmsIsMutable(); algorithms_.set(index, builderForValue.build()); onChanged(); } else { algorithmsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public Builder addAlgorithms(org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlgorithmsIsMutable(); algorithms_.add(value); onChanged(); } else { algorithmsBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public Builder addAlgorithms( int index, org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlgorithmsIsMutable(); algorithms_.add(index, value); onChanged(); } else { algorithmsBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public Builder addAlgorithms( org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder builderForValue) { if (algorithmsBuilder_ == null) { ensureAlgorithmsIsMutable(); algorithms_.add(builderForValue.build()); onChanged(); } else { algorithmsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public Builder addAlgorithms( int index, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder builderForValue) { if (algorithmsBuilder_ == null) { ensureAlgorithmsIsMutable(); algorithms_.add(index, builderForValue.build()); onChanged(); } else { algorithmsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public Builder addAllAlgorithms( java.lang.Iterable values) { if (algorithmsBuilder_ == null) { ensureAlgorithmsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, algorithms_); onChanged(); } else { algorithmsBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public Builder clearAlgorithms() { if (algorithmsBuilder_ == null) { algorithms_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { algorithmsBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public Builder removeAlgorithms(int index) { if (algorithmsBuilder_ == null) { ensureAlgorithmsIsMutable(); algorithms_.remove(index); onChanged(); } else { algorithmsBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder getAlgorithmsBuilder( int index) { return getAlgorithmsFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmsOrBuilder( int index) { if (algorithmsBuilder_ == null) { return algorithms_.get(index); } else { return algorithmsBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public java.util.List getAlgorithmsOrBuilderList() { if (algorithmsBuilder_ != null) { return algorithmsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(algorithms_); } } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder addAlgorithmsBuilder() { return getAlgorithmsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder addAlgorithmsBuilder( int index) { return getAlgorithmsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public java.util.List getAlgorithmsBuilderList() { return getAlgorithmsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder> getAlgorithmsFieldBuilder() { if (algorithmsBuilder_ == null) { algorithmsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder>( algorithms_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); algorithms_ = null; } return algorithmsBuilder_; } private java.lang.Object continuationToken_ = ""; /** * optional string continuationToken = 2; */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string continuationToken = 2; */ public java.lang.String getContinuationToken() { java.lang.Object ref = continuationToken_; 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()) { continuationToken_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string continuationToken = 2; */ public com.google.protobuf.ByteString getContinuationTokenBytes() { java.lang.Object ref = continuationToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); continuationToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string continuationToken = 2; */ public Builder setContinuationToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; continuationToken_ = value; onChanged(); return this; } /** * optional string continuationToken = 2; */ public Builder clearContinuationToken() { bitField0_ = (bitField0_ & ~0x00000004); continuationToken_ = getDefaultInstance().getContinuationToken(); onChanged(); return this; } /** * optional string continuationToken = 2; */ public Builder setContinuationTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; continuationToken_ = value; onChanged(); return this; } private int totalSize_ ; /** * optional int32 totalSize = 3; */ public boolean hasTotalSize() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 totalSize = 3; */ public int getTotalSize() { return totalSize_; } /** * optional int32 totalSize = 3; */ public Builder setTotalSize(int value) { bitField0_ |= 0x00000008; totalSize_ = value; onChanged(); return this; } /** * optional int32 totalSize = 3; */ public Builder clearTotalSize() { bitField0_ = (bitField0_ & ~0x00000008); totalSize_ = 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.mdb.ListAlgorithmsResponse) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ListAlgorithmsResponse) private static final org.yamcs.protobuf.Mdb.ListAlgorithmsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ListAlgorithmsResponse(); } public static org.yamcs.protobuf.Mdb.ListAlgorithmsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListAlgorithmsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListAlgorithmsResponse(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.Mdb.ListAlgorithmsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetAlgorithmRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.GetAlgorithmRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional string name = 2; */ boolean hasName(); /** * optional string name = 2; */ java.lang.String getName(); /** * optional string name = 2; */ com.google.protobuf.ByteString getNameBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.GetAlgorithmRequest} */ public static final class GetAlgorithmRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.GetAlgorithmRequest) GetAlgorithmRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetAlgorithmRequest.newBuilder() to construct. private GetAlgorithmRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetAlgorithmRequest() { instance_ = ""; name_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetAlgorithmRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } 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.Mdb.internal_static_yamcs_protobuf_mdb_GetAlgorithmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetAlgorithmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetAlgorithmRequest.class, org.yamcs.protobuf.Mdb.GetAlgorithmRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } 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.Mdb.GetAlgorithmRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.GetAlgorithmRequest other = (org.yamcs.protobuf.Mdb.GetAlgorithmRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.GetAlgorithmRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetAlgorithmRequest 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.Mdb.GetAlgorithmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetAlgorithmRequest 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.Mdb.GetAlgorithmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetAlgorithmRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.GetAlgorithmRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetAlgorithmRequest 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.Mdb.GetAlgorithmRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetAlgorithmRequest 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.Mdb.GetAlgorithmRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetAlgorithmRequest 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.Mdb.GetAlgorithmRequest 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.mdb.GetAlgorithmRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.GetAlgorithmRequest) org.yamcs.protobuf.Mdb.GetAlgorithmRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetAlgorithmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetAlgorithmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetAlgorithmRequest.class, org.yamcs.protobuf.Mdb.GetAlgorithmRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.GetAlgorithmRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetAlgorithmRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetAlgorithmRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.GetAlgorithmRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.GetAlgorithmRequest build() { org.yamcs.protobuf.Mdb.GetAlgorithmRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetAlgorithmRequest buildPartial() { org.yamcs.protobuf.Mdb.GetAlgorithmRequest result = new org.yamcs.protobuf.Mdb.GetAlgorithmRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; 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.Mdb.GetAlgorithmRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.GetAlgorithmRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.GetAlgorithmRequest other) { if (other == org.yamcs.protobuf.Mdb.GetAlgorithmRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } 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.Mdb.GetAlgorithmRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.GetAlgorithmRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 2; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** * optional string name = 2; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 2; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; 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.mdb.GetAlgorithmRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.GetAlgorithmRequest) private static final org.yamcs.protobuf.Mdb.GetAlgorithmRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.GetAlgorithmRequest(); } public static org.yamcs.protobuf.Mdb.GetAlgorithmRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetAlgorithmRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetAlgorithmRequest(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.Mdb.GetAlgorithmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetMissionDatabaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.GetMissionDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.GetMissionDatabaseRequest} */ public static final class GetMissionDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.GetMissionDatabaseRequest) GetMissionDatabaseRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetMissionDatabaseRequest.newBuilder() to construct. private GetMissionDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetMissionDatabaseRequest() { instance_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetMissionDatabaseRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } 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.Mdb.internal_static_yamcs_protobuf_mdb_GetMissionDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetMissionDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest.class, org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } 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.Mdb.GetMissionDatabaseRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest other = (org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest 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.Mdb.GetMissionDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest 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.Mdb.GetMissionDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest 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.Mdb.GetMissionDatabaseRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest 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.Mdb.GetMissionDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest 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.Mdb.GetMissionDatabaseRequest 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.mdb.GetMissionDatabaseRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.GetMissionDatabaseRequest) org.yamcs.protobuf.Mdb.GetMissionDatabaseRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetMissionDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetMissionDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest.class, org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetMissionDatabaseRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest build() { org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest buildPartial() { org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest result = new org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; 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.Mdb.GetMissionDatabaseRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest other) { if (other == org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } 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.Mdb.GetMissionDatabaseRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; 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.mdb.GetMissionDatabaseRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.GetMissionDatabaseRequest) private static final org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest(); } public static org.yamcs.protobuf.Mdb.GetMissionDatabaseRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetMissionDatabaseRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetMissionDatabaseRequest(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.Mdb.GetMissionDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExportJavaMissionDatabaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ExportJavaMissionDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ExportJavaMissionDatabaseRequest} */ public static final class ExportJavaMissionDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ExportJavaMissionDatabaseRequest) ExportJavaMissionDatabaseRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExportJavaMissionDatabaseRequest.newBuilder() to construct. private ExportJavaMissionDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportJavaMissionDatabaseRequest() { instance_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportJavaMissionDatabaseRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } 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.Mdb.internal_static_yamcs_protobuf_mdb_ExportJavaMissionDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ExportJavaMissionDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest.class, org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } 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.Mdb.ExportJavaMissionDatabaseRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest other = (org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest 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.Mdb.ExportJavaMissionDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest 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.Mdb.ExportJavaMissionDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest 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.Mdb.ExportJavaMissionDatabaseRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest 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.Mdb.ExportJavaMissionDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest 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.Mdb.ExportJavaMissionDatabaseRequest 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.mdb.ExportJavaMissionDatabaseRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ExportJavaMissionDatabaseRequest) org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ExportJavaMissionDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ExportJavaMissionDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest.class, org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ExportJavaMissionDatabaseRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest build() { org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest buildPartial() { org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest result = new org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; 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.Mdb.ExportJavaMissionDatabaseRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest other) { if (other == org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } 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.Mdb.ExportJavaMissionDatabaseRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; 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.mdb.ExportJavaMissionDatabaseRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ExportJavaMissionDatabaseRequest) private static final org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest(); } public static org.yamcs.protobuf.Mdb.ExportJavaMissionDatabaseRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportJavaMissionDatabaseRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportJavaMissionDatabaseRequest(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.Mdb.ExportJavaMissionDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListSpaceSystemsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListSpaceSystemsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ java.util.List getSpaceSystemsList(); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystems(int index); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ int getSpaceSystemsCount(); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ java.util.List getSpaceSystemsOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemsOrBuilder( int index); /** * optional string continuationToken = 2; */ boolean hasContinuationToken(); /** * optional string continuationToken = 2; */ java.lang.String getContinuationToken(); /** * optional string continuationToken = 2; */ com.google.protobuf.ByteString getContinuationTokenBytes(); /** * optional int32 totalSize = 3; */ boolean hasTotalSize(); /** * optional int32 totalSize = 3; */ int getTotalSize(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ListSpaceSystemsResponse} */ public static final class ListSpaceSystemsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ListSpaceSystemsResponse) ListSpaceSystemsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListSpaceSystemsResponse.newBuilder() to construct. private ListSpaceSystemsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListSpaceSystemsResponse() { spaceSystems_ = java.util.Collections.emptyList(); continuationToken_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListSpaceSystemsResponse( 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)) { spaceSystems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } spaceSystems_.add( input.readMessage(org.yamcs.protobuf.Mdb.SpaceSystemInfo.PARSER, extensionRegistry)); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; continuationToken_ = bs; break; } case 24: { bitField0_ |= 0x00000002; totalSize_ = 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)) { spaceSystems_ = java.util.Collections.unmodifiableList(spaceSystems_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListSpaceSystemsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListSpaceSystemsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse.class, org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse.Builder.class); } private int bitField0_; public static final int SPACESYSTEMS_FIELD_NUMBER = 1; private java.util.List spaceSystems_; /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public java.util.List getSpaceSystemsList() { return spaceSystems_; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public java.util.List getSpaceSystemsOrBuilderList() { return spaceSystems_; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystems(int index) { return spaceSystems_.get(index); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemsOrBuilder( int index) { return spaceSystems_.get(index); } public static final int CONTINUATIONTOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object continuationToken_; /** * optional string continuationToken = 2; */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string continuationToken = 2; */ public java.lang.String getContinuationToken() { java.lang.Object ref = continuationToken_; 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()) { continuationToken_ = s; } return s; } } /** * optional string continuationToken = 2; */ public com.google.protobuf.ByteString getContinuationTokenBytes() { java.lang.Object ref = continuationToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); continuationToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOTALSIZE_FIELD_NUMBER = 3; private int totalSize_; /** * optional int32 totalSize = 3; */ public boolean hasTotalSize() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 totalSize = 3; */ public int getTotalSize() { return totalSize_; } 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 < spaceSystems_.size(); i++) { output.writeMessage(1, spaceSystems_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, continuationToken_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(3, totalSize_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < spaceSystems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, spaceSystems_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, continuationToken_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, totalSize_); } 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.Mdb.ListSpaceSystemsResponse)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse other = (org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse) obj; if (!getSpaceSystemsList() .equals(other.getSpaceSystemsList())) return false; if (hasContinuationToken() != other.hasContinuationToken()) return false; if (hasContinuationToken()) { if (!getContinuationToken() .equals(other.getContinuationToken())) return false; } if (hasTotalSize() != other.hasTotalSize()) return false; if (hasTotalSize()) { if (getTotalSize() != other.getTotalSize()) 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 (getSpaceSystemsCount() > 0) { hash = (37 * hash) + SPACESYSTEMS_FIELD_NUMBER; hash = (53 * hash) + getSpaceSystemsList().hashCode(); } if (hasContinuationToken()) { hash = (37 * hash) + CONTINUATIONTOKEN_FIELD_NUMBER; hash = (53 * hash) + getContinuationToken().hashCode(); } if (hasTotalSize()) { hash = (37 * hash) + TOTALSIZE_FIELD_NUMBER; hash = (53 * hash) + getTotalSize(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse 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.Mdb.ListSpaceSystemsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse 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.Mdb.ListSpaceSystemsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse 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.Mdb.ListSpaceSystemsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse 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.Mdb.ListSpaceSystemsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse 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.Mdb.ListSpaceSystemsResponse 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.mdb.ListSpaceSystemsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ListSpaceSystemsResponse) org.yamcs.protobuf.Mdb.ListSpaceSystemsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListSpaceSystemsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListSpaceSystemsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse.class, org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSpaceSystemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (spaceSystemsBuilder_ == null) { spaceSystems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { spaceSystemsBuilder_.clear(); } continuationToken_ = ""; bitField0_ = (bitField0_ & ~0x00000002); totalSize_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ListSpaceSystemsResponse_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse build() { org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse buildPartial() { org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse result = new org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (spaceSystemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { spaceSystems_ = java.util.Collections.unmodifiableList(spaceSystems_); bitField0_ = (bitField0_ & ~0x00000001); } result.spaceSystems_ = spaceSystems_; } else { result.spaceSystems_ = spaceSystemsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000001; } result.continuationToken_ = continuationToken_; if (((from_bitField0_ & 0x00000004) != 0)) { result.totalSize_ = totalSize_; to_bitField0_ |= 0x00000002; } 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.Mdb.ListSpaceSystemsResponse) { return mergeFrom((org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse other) { if (other == org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse.getDefaultInstance()) return this; if (spaceSystemsBuilder_ == null) { if (!other.spaceSystems_.isEmpty()) { if (spaceSystems_.isEmpty()) { spaceSystems_ = other.spaceSystems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSpaceSystemsIsMutable(); spaceSystems_.addAll(other.spaceSystems_); } onChanged(); } } else { if (!other.spaceSystems_.isEmpty()) { if (spaceSystemsBuilder_.isEmpty()) { spaceSystemsBuilder_.dispose(); spaceSystemsBuilder_ = null; spaceSystems_ = other.spaceSystems_; bitField0_ = (bitField0_ & ~0x00000001); spaceSystemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSpaceSystemsFieldBuilder() : null; } else { spaceSystemsBuilder_.addAllMessages(other.spaceSystems_); } } } if (other.hasContinuationToken()) { bitField0_ |= 0x00000002; continuationToken_ = other.continuationToken_; onChanged(); } if (other.hasTotalSize()) { setTotalSize(other.getTotalSize()); } 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.Mdb.ListSpaceSystemsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List spaceSystems_ = java.util.Collections.emptyList(); private void ensureSpaceSystemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { spaceSystems_ = new java.util.ArrayList(spaceSystems_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> spaceSystemsBuilder_; /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public java.util.List getSpaceSystemsList() { if (spaceSystemsBuilder_ == null) { return java.util.Collections.unmodifiableList(spaceSystems_); } else { return spaceSystemsBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public int getSpaceSystemsCount() { if (spaceSystemsBuilder_ == null) { return spaceSystems_.size(); } else { return spaceSystemsBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystems(int index) { if (spaceSystemsBuilder_ == null) { return spaceSystems_.get(index); } else { return spaceSystemsBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public Builder setSpaceSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (spaceSystemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.set(index, value); onChanged(); } else { spaceSystemsBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public Builder setSpaceSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (spaceSystemsBuilder_ == null) { ensureSpaceSystemsIsMutable(); spaceSystems_.set(index, builderForValue.build()); onChanged(); } else { spaceSystemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public Builder addSpaceSystems(org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (spaceSystemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); } else { spaceSystemsBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public Builder addSpaceSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (spaceSystemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(index, value); onChanged(); } else { spaceSystemsBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public Builder addSpaceSystems( org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (spaceSystemsBuilder_ == null) { ensureSpaceSystemsIsMutable(); spaceSystems_.add(builderForValue.build()); onChanged(); } else { spaceSystemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public Builder addSpaceSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (spaceSystemsBuilder_ == null) { ensureSpaceSystemsIsMutable(); spaceSystems_.add(index, builderForValue.build()); onChanged(); } else { spaceSystemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public Builder addAllSpaceSystems( java.lang.Iterable values) { if (spaceSystemsBuilder_ == null) { ensureSpaceSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, spaceSystems_); onChanged(); } else { spaceSystemsBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public Builder clearSpaceSystems() { if (spaceSystemsBuilder_ == null) { spaceSystems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { spaceSystemsBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public Builder removeSpaceSystems(int index) { if (spaceSystemsBuilder_ == null) { ensureSpaceSystemsIsMutable(); spaceSystems_.remove(index); onChanged(); } else { spaceSystemsBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder getSpaceSystemsBuilder( int index) { return getSpaceSystemsFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemsOrBuilder( int index) { if (spaceSystemsBuilder_ == null) { return spaceSystems_.get(index); } else { return spaceSystemsBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public java.util.List getSpaceSystemsOrBuilderList() { if (spaceSystemsBuilder_ != null) { return spaceSystemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(spaceSystems_); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSpaceSystemsBuilder() { return getSpaceSystemsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSpaceSystemsBuilder( int index) { return getSpaceSystemsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public java.util.List getSpaceSystemsBuilderList() { return getSpaceSystemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> getSpaceSystemsFieldBuilder() { if (spaceSystemsBuilder_ == null) { spaceSystemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder>( spaceSystems_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); spaceSystems_ = null; } return spaceSystemsBuilder_; } private java.lang.Object continuationToken_ = ""; /** * optional string continuationToken = 2; */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string continuationToken = 2; */ public java.lang.String getContinuationToken() { java.lang.Object ref = continuationToken_; 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()) { continuationToken_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string continuationToken = 2; */ public com.google.protobuf.ByteString getContinuationTokenBytes() { java.lang.Object ref = continuationToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); continuationToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string continuationToken = 2; */ public Builder setContinuationToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; continuationToken_ = value; onChanged(); return this; } /** * optional string continuationToken = 2; */ public Builder clearContinuationToken() { bitField0_ = (bitField0_ & ~0x00000002); continuationToken_ = getDefaultInstance().getContinuationToken(); onChanged(); return this; } /** * optional string continuationToken = 2; */ public Builder setContinuationTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; continuationToken_ = value; onChanged(); return this; } private int totalSize_ ; /** * optional int32 totalSize = 3; */ public boolean hasTotalSize() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 totalSize = 3; */ public int getTotalSize() { return totalSize_; } /** * optional int32 totalSize = 3; */ public Builder setTotalSize(int value) { bitField0_ |= 0x00000004; totalSize_ = value; onChanged(); return this; } /** * optional int32 totalSize = 3; */ public Builder clearTotalSize() { bitField0_ = (bitField0_ & ~0x00000004); totalSize_ = 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.mdb.ListSpaceSystemsResponse) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ListSpaceSystemsResponse) private static final org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse(); } public static org.yamcs.protobuf.Mdb.ListSpaceSystemsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListSpaceSystemsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListSpaceSystemsResponse(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.Mdb.ListSpaceSystemsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetSpaceSystemRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.GetSpaceSystemRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional string name = 2; */ boolean hasName(); /** * optional string name = 2; */ java.lang.String getName(); /** * optional string name = 2; */ com.google.protobuf.ByteString getNameBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.GetSpaceSystemRequest} */ public static final class GetSpaceSystemRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.GetSpaceSystemRequest) GetSpaceSystemRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetSpaceSystemRequest.newBuilder() to construct. private GetSpaceSystemRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetSpaceSystemRequest() { instance_ = ""; name_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetSpaceSystemRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } 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.Mdb.internal_static_yamcs_protobuf_mdb_GetSpaceSystemRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetSpaceSystemRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetSpaceSystemRequest.class, org.yamcs.protobuf.Mdb.GetSpaceSystemRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } 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.Mdb.GetSpaceSystemRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.GetSpaceSystemRequest other = (org.yamcs.protobuf.Mdb.GetSpaceSystemRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.GetSpaceSystemRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetSpaceSystemRequest 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.Mdb.GetSpaceSystemRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetSpaceSystemRequest 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.Mdb.GetSpaceSystemRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetSpaceSystemRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.GetSpaceSystemRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetSpaceSystemRequest 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.Mdb.GetSpaceSystemRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetSpaceSystemRequest 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.Mdb.GetSpaceSystemRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetSpaceSystemRequest 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.Mdb.GetSpaceSystemRequest 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.mdb.GetSpaceSystemRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.GetSpaceSystemRequest) org.yamcs.protobuf.Mdb.GetSpaceSystemRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetSpaceSystemRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetSpaceSystemRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetSpaceSystemRequest.class, org.yamcs.protobuf.Mdb.GetSpaceSystemRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.GetSpaceSystemRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetSpaceSystemRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetSpaceSystemRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.GetSpaceSystemRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.GetSpaceSystemRequest build() { org.yamcs.protobuf.Mdb.GetSpaceSystemRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetSpaceSystemRequest buildPartial() { org.yamcs.protobuf.Mdb.GetSpaceSystemRequest result = new org.yamcs.protobuf.Mdb.GetSpaceSystemRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; 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.Mdb.GetSpaceSystemRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.GetSpaceSystemRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.GetSpaceSystemRequest other) { if (other == org.yamcs.protobuf.Mdb.GetSpaceSystemRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } 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.Mdb.GetSpaceSystemRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.GetSpaceSystemRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 2; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** * optional string name = 2; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 2; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; 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.mdb.GetSpaceSystemRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.GetSpaceSystemRequest) private static final org.yamcs.protobuf.Mdb.GetSpaceSystemRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.GetSpaceSystemRequest(); } public static org.yamcs.protobuf.Mdb.GetSpaceSystemRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetSpaceSystemRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetSpaceSystemRequest(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.Mdb.GetSpaceSystemRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetCommandRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.GetCommandRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional string name = 2; */ boolean hasName(); /** * optional string name = 2; */ java.lang.String getName(); /** * optional string name = 2; */ com.google.protobuf.ByteString getNameBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.GetCommandRequest} */ public static final class GetCommandRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.GetCommandRequest) GetCommandRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetCommandRequest.newBuilder() to construct. private GetCommandRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetCommandRequest() { instance_ = ""; name_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetCommandRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } 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.Mdb.internal_static_yamcs_protobuf_mdb_GetCommandRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetCommandRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetCommandRequest.class, org.yamcs.protobuf.Mdb.GetCommandRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } 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.Mdb.GetCommandRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.GetCommandRequest other = (org.yamcs.protobuf.Mdb.GetCommandRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.GetCommandRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetCommandRequest 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.Mdb.GetCommandRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetCommandRequest 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.Mdb.GetCommandRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.GetCommandRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.GetCommandRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetCommandRequest 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.Mdb.GetCommandRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetCommandRequest 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.Mdb.GetCommandRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.GetCommandRequest 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.Mdb.GetCommandRequest 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.mdb.GetCommandRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.GetCommandRequest) org.yamcs.protobuf.Mdb.GetCommandRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetCommandRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetCommandRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.GetCommandRequest.class, org.yamcs.protobuf.Mdb.GetCommandRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.GetCommandRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_GetCommandRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetCommandRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.GetCommandRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.GetCommandRequest build() { org.yamcs.protobuf.Mdb.GetCommandRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.GetCommandRequest buildPartial() { org.yamcs.protobuf.Mdb.GetCommandRequest result = new org.yamcs.protobuf.Mdb.GetCommandRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; 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.Mdb.GetCommandRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.GetCommandRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.GetCommandRequest other) { if (other == org.yamcs.protobuf.Mdb.GetCommandRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } 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.Mdb.GetCommandRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.GetCommandRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * optional string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 2; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 2; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** * optional string name = 2; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 2; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; 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.mdb.GetCommandRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.GetCommandRequest) private static final org.yamcs.protobuf.Mdb.GetCommandRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.GetCommandRequest(); } public static org.yamcs.protobuf.Mdb.GetCommandRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetCommandRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetCommandRequest(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.Mdb.GetCommandRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SpaceSystemInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.SpaceSystemInfo) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 2; */ boolean hasQualifiedName(); /** * optional string qualifiedName = 2; */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 2; */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** * optional string shortDescription = 3; */ boolean hasShortDescription(); /** * optional string shortDescription = 3; */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; */ boolean hasLongDescription(); /** * optional string longDescription = 4; */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; */ com.google.protobuf.ByteString getLongDescriptionBytes(); /** * optional string version = 5; */ boolean hasVersion(); /** * optional string version = 5; */ java.lang.String getVersion(); /** * optional string version = 5; */ com.google.protobuf.ByteString getVersionBytes(); /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ java.util.List getHistoryList(); /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ org.yamcs.protobuf.Mdb.HistoryInfo getHistory(int index); /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ int getHistoryCount(); /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ java.util.List getHistoryOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ org.yamcs.protobuf.Mdb.HistoryInfoOrBuilder getHistoryOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ java.util.List getSubList(); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ org.yamcs.protobuf.Mdb.SpaceSystemInfo getSub(int index); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ int getSubCount(); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ java.util.List getSubOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSubOrBuilder( int index); } /** * Protobuf type {@code yamcs.protobuf.mdb.SpaceSystemInfo} */ public static final class SpaceSystemInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.SpaceSystemInfo) SpaceSystemInfoOrBuilder { private static final long serialVersionUID = 0L; // Use SpaceSystemInfo.newBuilder() to construct. private SpaceSystemInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SpaceSystemInfo() { name_ = ""; qualifiedName_ = ""; shortDescription_ = ""; longDescription_ = ""; version_ = ""; history_ = java.util.Collections.emptyList(); sub_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SpaceSystemInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; qualifiedName_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; shortDescription_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; longDescription_ = bs; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; version_ = bs; break; } case 114: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { history_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } history_.add( input.readMessage(org.yamcs.protobuf.Mdb.HistoryInfo.PARSER, extensionRegistry)); break; } case 122: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { sub_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } sub_.add( input.readMessage(org.yamcs.protobuf.Mdb.SpaceSystemInfo.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_ & 0x00000020) != 0)) { history_ = java.util.Collections.unmodifiableList(history_); } if (((mutable_bitField0_ & 0x00000040) != 0)) { sub_ = java.util.Collections.unmodifiableList(sub_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.SpaceSystemInfo.class, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 2; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHORTDESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object shortDescription_; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LONGDESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object longDescription_; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object version_; /** * optional string version = 5; */ public boolean hasVersion() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string version = 5; */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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()) { version_ = s; } return s; } } /** * optional string version = 5; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HISTORY_FIELD_NUMBER = 14; private java.util.List history_; /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public java.util.List getHistoryList() { return history_; } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public java.util.List getHistoryOrBuilderList() { return history_; } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public int getHistoryCount() { return history_.size(); } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public org.yamcs.protobuf.Mdb.HistoryInfo getHistory(int index) { return history_.get(index); } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public org.yamcs.protobuf.Mdb.HistoryInfoOrBuilder getHistoryOrBuilder( int index) { return history_.get(index); } public static final int SUB_FIELD_NUMBER = 15; private java.util.List sub_; /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public java.util.List getSubList() { return sub_; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public java.util.List getSubOrBuilderList() { return sub_; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public int getSubCount() { return sub_.size(); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSub(int index) { return sub_.get(index); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSubOrBuilder( int index) { return sub_.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 { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, longDescription_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, version_); } for (int i = 0; i < history_.size(); i++) { output.writeMessage(14, history_.get(i)); } for (int i = 0; i < sub_.size(); i++) { output.writeMessage(15, sub_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, longDescription_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, version_); } for (int i = 0; i < history_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, history_.get(i)); } for (int i = 0; i < sub_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, sub_.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.Mdb.SpaceSystemInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.SpaceSystemInfo other = (org.yamcs.protobuf.Mdb.SpaceSystemInfo) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasQualifiedName() != other.hasQualifiedName()) return false; if (hasQualifiedName()) { if (!getQualifiedName() .equals(other.getQualifiedName())) return false; } if (hasShortDescription() != other.hasShortDescription()) return false; if (hasShortDescription()) { if (!getShortDescription() .equals(other.getShortDescription())) return false; } if (hasLongDescription() != other.hasLongDescription()) return false; if (hasLongDescription()) { if (!getLongDescription() .equals(other.getLongDescription())) return false; } if (hasVersion() != other.hasVersion()) return false; if (hasVersion()) { if (!getVersion() .equals(other.getVersion())) return false; } if (!getHistoryList() .equals(other.getHistoryList())) return false; if (!getSubList() .equals(other.getSubList())) 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasQualifiedName()) { hash = (37 * hash) + QUALIFIEDNAME_FIELD_NUMBER; hash = (53 * hash) + getQualifiedName().hashCode(); } if (hasShortDescription()) { hash = (37 * hash) + SHORTDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getShortDescription().hashCode(); } if (hasLongDescription()) { hash = (37 * hash) + LONGDESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getLongDescription().hashCode(); } if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); } if (getHistoryCount() > 0) { hash = (37 * hash) + HISTORY_FIELD_NUMBER; hash = (53 * hash) + getHistoryList().hashCode(); } if (getSubCount() > 0) { hash = (37 * hash) + SUB_FIELD_NUMBER; hash = (53 * hash) + getSubList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.SpaceSystemInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SpaceSystemInfo 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.Mdb.SpaceSystemInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SpaceSystemInfo 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.Mdb.SpaceSystemInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.SpaceSystemInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.SpaceSystemInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SpaceSystemInfo 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.Mdb.SpaceSystemInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SpaceSystemInfo 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.Mdb.SpaceSystemInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.SpaceSystemInfo 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.Mdb.SpaceSystemInfo 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.mdb.SpaceSystemInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.SpaceSystemInfo) org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.SpaceSystemInfo.class, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.SpaceSystemInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getHistoryFieldBuilder(); getSubFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); qualifiedName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); shortDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000004); longDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000008); version_ = ""; bitField0_ = (bitField0_ & ~0x00000010); if (historyBuilder_ == null) { history_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { historyBuilder_.clear(); } if (subBuilder_ == null) { sub_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { subBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfo build() { org.yamcs.protobuf.Mdb.SpaceSystemInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfo buildPartial() { org.yamcs.protobuf.Mdb.SpaceSystemInfo result = new org.yamcs.protobuf.Mdb.SpaceSystemInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.qualifiedName_ = qualifiedName_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.shortDescription_ = shortDescription_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.longDescription_ = longDescription_; if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.version_ = version_; if (historyBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { history_ = java.util.Collections.unmodifiableList(history_); bitField0_ = (bitField0_ & ~0x00000020); } result.history_ = history_; } else { result.history_ = historyBuilder_.build(); } if (subBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { sub_ = java.util.Collections.unmodifiableList(sub_); bitField0_ = (bitField0_ & ~0x00000040); } result.sub_ = sub_; } else { result.sub_ = subBuilder_.build(); } 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.Mdb.SpaceSystemInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.SpaceSystemInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.SpaceSystemInfo other) { if (other == org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasQualifiedName()) { bitField0_ |= 0x00000002; qualifiedName_ = other.qualifiedName_; onChanged(); } if (other.hasShortDescription()) { bitField0_ |= 0x00000004; shortDescription_ = other.shortDescription_; onChanged(); } if (other.hasLongDescription()) { bitField0_ |= 0x00000008; longDescription_ = other.longDescription_; onChanged(); } if (other.hasVersion()) { bitField0_ |= 0x00000010; version_ = other.version_; onChanged(); } if (historyBuilder_ == null) { if (!other.history_.isEmpty()) { if (history_.isEmpty()) { history_ = other.history_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureHistoryIsMutable(); history_.addAll(other.history_); } onChanged(); } } else { if (!other.history_.isEmpty()) { if (historyBuilder_.isEmpty()) { historyBuilder_.dispose(); historyBuilder_ = null; history_ = other.history_; bitField0_ = (bitField0_ & ~0x00000020); historyBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getHistoryFieldBuilder() : null; } else { historyBuilder_.addAllMessages(other.history_); } } } if (subBuilder_ == null) { if (!other.sub_.isEmpty()) { if (sub_.isEmpty()) { sub_ = other.sub_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureSubIsMutable(); sub_.addAll(other.sub_); } onChanged(); } } else { if (!other.sub_.isEmpty()) { if (subBuilder_.isEmpty()) { subBuilder_.dispose(); subBuilder_ = null; sub_ = other.sub_; bitField0_ = (bitField0_ & ~0x00000040); subBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSubFieldBuilder() : null; } else { subBuilder_.addAllMessages(other.sub_); } } } 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.Mdb.SpaceSystemInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.SpaceSystemInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 2; */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; */ public java.lang.String getQualifiedName() { java.lang.Object ref = qualifiedName_; 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()) { qualifiedName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string qualifiedName = 2; */ public com.google.protobuf.ByteString getQualifiedNameBytes() { java.lang.Object ref = qualifiedName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); qualifiedName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string qualifiedName = 2; */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 2; */ public Builder setQualifiedNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } private java.lang.Object shortDescription_ = ""; /** * optional string shortDescription = 3; */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; */ public java.lang.String getShortDescription() { java.lang.Object ref = shortDescription_; 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()) { shortDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string shortDescription = 3; */ public com.google.protobuf.ByteString getShortDescriptionBytes() { java.lang.Object ref = shortDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string shortDescription = 3; */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; */ public Builder setShortDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } private java.lang.Object longDescription_ = ""; /** * optional string longDescription = 4; */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; */ public java.lang.String getLongDescription() { java.lang.Object ref = longDescription_; 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()) { longDescription_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string longDescription = 4; */ public com.google.protobuf.ByteString getLongDescriptionBytes() { java.lang.Object ref = longDescription_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longDescription_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string longDescription = 4; */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; */ public Builder setLongDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } private java.lang.Object version_ = ""; /** * optional string version = 5; */ public boolean hasVersion() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string version = 5; */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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()) { version_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string version = 5; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string version = 5; */ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; version_ = value; onChanged(); return this; } /** * optional string version = 5; */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000010); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * optional string version = 5; */ public Builder setVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; version_ = value; onChanged(); return this; } private java.util.List history_ = java.util.Collections.emptyList(); private void ensureHistoryIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { history_ = new java.util.ArrayList(history_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.HistoryInfo, org.yamcs.protobuf.Mdb.HistoryInfo.Builder, org.yamcs.protobuf.Mdb.HistoryInfoOrBuilder> historyBuilder_; /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public java.util.List getHistoryList() { if (historyBuilder_ == null) { return java.util.Collections.unmodifiableList(history_); } else { return historyBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public int getHistoryCount() { if (historyBuilder_ == null) { return history_.size(); } else { return historyBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public org.yamcs.protobuf.Mdb.HistoryInfo getHistory(int index) { if (historyBuilder_ == null) { return history_.get(index); } else { return historyBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public Builder setHistory( int index, org.yamcs.protobuf.Mdb.HistoryInfo value) { if (historyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHistoryIsMutable(); history_.set(index, value); onChanged(); } else { historyBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public Builder setHistory( int index, org.yamcs.protobuf.Mdb.HistoryInfo.Builder builderForValue) { if (historyBuilder_ == null) { ensureHistoryIsMutable(); history_.set(index, builderForValue.build()); onChanged(); } else { historyBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public Builder addHistory(org.yamcs.protobuf.Mdb.HistoryInfo value) { if (historyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHistoryIsMutable(); history_.add(value); onChanged(); } else { historyBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public Builder addHistory( int index, org.yamcs.protobuf.Mdb.HistoryInfo value) { if (historyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHistoryIsMutable(); history_.add(index, value); onChanged(); } else { historyBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public Builder addHistory( org.yamcs.protobuf.Mdb.HistoryInfo.Builder builderForValue) { if (historyBuilder_ == null) { ensureHistoryIsMutable(); history_.add(builderForValue.build()); onChanged(); } else { historyBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public Builder addHistory( int index, org.yamcs.protobuf.Mdb.HistoryInfo.Builder builderForValue) { if (historyBuilder_ == null) { ensureHistoryIsMutable(); history_.add(index, builderForValue.build()); onChanged(); } else { historyBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public Builder addAllHistory( java.lang.Iterable values) { if (historyBuilder_ == null) { ensureHistoryIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, history_); onChanged(); } else { historyBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public Builder clearHistory() { if (historyBuilder_ == null) { history_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { historyBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public Builder removeHistory(int index) { if (historyBuilder_ == null) { ensureHistoryIsMutable(); history_.remove(index); onChanged(); } else { historyBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public org.yamcs.protobuf.Mdb.HistoryInfo.Builder getHistoryBuilder( int index) { return getHistoryFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public org.yamcs.protobuf.Mdb.HistoryInfoOrBuilder getHistoryOrBuilder( int index) { if (historyBuilder_ == null) { return history_.get(index); } else { return historyBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public java.util.List getHistoryOrBuilderList() { if (historyBuilder_ != null) { return historyBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(history_); } } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public org.yamcs.protobuf.Mdb.HistoryInfo.Builder addHistoryBuilder() { return getHistoryFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.HistoryInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public org.yamcs.protobuf.Mdb.HistoryInfo.Builder addHistoryBuilder( int index) { return getHistoryFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.HistoryInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ public java.util.List getHistoryBuilderList() { return getHistoryFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.HistoryInfo, org.yamcs.protobuf.Mdb.HistoryInfo.Builder, org.yamcs.protobuf.Mdb.HistoryInfoOrBuilder> getHistoryFieldBuilder() { if (historyBuilder_ == null) { historyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.HistoryInfo, org.yamcs.protobuf.Mdb.HistoryInfo.Builder, org.yamcs.protobuf.Mdb.HistoryInfoOrBuilder>( history_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); history_ = null; } return historyBuilder_; } private java.util.List sub_ = java.util.Collections.emptyList(); private void ensureSubIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { sub_ = new java.util.ArrayList(sub_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> subBuilder_; /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public java.util.List getSubList() { if (subBuilder_ == null) { return java.util.Collections.unmodifiableList(sub_); } else { return subBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public int getSubCount() { if (subBuilder_ == null) { return sub_.size(); } else { return subBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSub(int index) { if (subBuilder_ == null) { return sub_.get(index); } else { return subBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public Builder setSub( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (subBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubIsMutable(); sub_.set(index, value); onChanged(); } else { subBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public Builder setSub( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (subBuilder_ == null) { ensureSubIsMutable(); sub_.set(index, builderForValue.build()); onChanged(); } else { subBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public Builder addSub(org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (subBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubIsMutable(); sub_.add(value); onChanged(); } else { subBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public Builder addSub( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (subBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubIsMutable(); sub_.add(index, value); onChanged(); } else { subBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public Builder addSub( org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (subBuilder_ == null) { ensureSubIsMutable(); sub_.add(builderForValue.build()); onChanged(); } else { subBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public Builder addSub( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (subBuilder_ == null) { ensureSubIsMutable(); sub_.add(index, builderForValue.build()); onChanged(); } else { subBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public Builder addAllSub( java.lang.Iterable values) { if (subBuilder_ == null) { ensureSubIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, sub_); onChanged(); } else { subBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public Builder clearSub() { if (subBuilder_ == null) { sub_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { subBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public Builder removeSub(int index) { if (subBuilder_ == null) { ensureSubIsMutable(); sub_.remove(index); onChanged(); } else { subBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder getSubBuilder( int index) { return getSubFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSubOrBuilder( int index) { if (subBuilder_ == null) { return sub_.get(index); } else { return subBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public java.util.List getSubOrBuilderList() { if (subBuilder_ != null) { return subBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(sub_); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSubBuilder() { return getSubFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSubBuilder( int index) { return getSubFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ public java.util.List getSubBuilderList() { return getSubFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> getSubFieldBuilder() { if (subBuilder_ == null) { subBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder>( sub_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); sub_ = null; } return subBuilder_; } @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.mdb.SpaceSystemInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.SpaceSystemInfo) private static final org.yamcs.protobuf.Mdb.SpaceSystemInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.SpaceSystemInfo(); } public static org.yamcs.protobuf.Mdb.SpaceSystemInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SpaceSystemInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SpaceSystemInfo(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.Mdb.SpaceSystemInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ChangeParameterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ChangeParameterRequest) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.mdb.ChangeParameterRequest.ActionType action = 1; */ boolean hasAction(); /** * optional .yamcs.protobuf.mdb.ChangeParameterRequest.ActionType action = 1; */ org.yamcs.protobuf.Mdb.ChangeParameterRequest.ActionType getAction(); /** *
     *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
     * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ boolean hasDefaultCalibrator(); /** *
     *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
     * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ org.yamcs.protobuf.Mdb.CalibratorInfo getDefaultCalibrator(); /** *
     *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
     * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder getDefaultCalibratorOrBuilder(); /** *
     *used when action = SET_CALIBRATORS
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ java.util.List getContextCalibratorList(); /** *
     *used when action = SET_CALIBRATORS
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ org.yamcs.protobuf.Mdb.ContextCalibratorInfo getContextCalibrator(int index); /** *
     *used when action = SET_CALIBRATORS
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ int getContextCalibratorCount(); /** *
     *used when action = SET_CALIBRATORS
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ java.util.List getContextCalibratorOrBuilderList(); /** *
     *used when action = SET_CALIBRATORS
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorOrBuilder( int index); /** *
     *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ boolean hasDefaultAlarm(); /** *
     *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ org.yamcs.protobuf.Mdb.AlarmInfo getDefaultAlarm(); /** *
     *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder getDefaultAlarmOrBuilder(); /** *
     *used when action = SET_ALARMS
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ java.util.List getContextAlarmList(); /** *
     *used when action = SET_ALARMS
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ org.yamcs.protobuf.Mdb.ContextAlarmInfo getContextAlarm(int index); /** *
     *used when action = SET_ALARMS
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ int getContextAlarmCount(); /** *
     *used when action = SET_ALARMS
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ java.util.List getContextAlarmOrBuilderList(); /** *
     *used when action = SET_ALARMS
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder getContextAlarmOrBuilder( int index); } /** *
   * used to change calibrators or alarms for one parameter
   * 
* * Protobuf type {@code yamcs.protobuf.mdb.ChangeParameterRequest} */ public static final class ChangeParameterRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ChangeParameterRequest) ChangeParameterRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ChangeParameterRequest.newBuilder() to construct. private ChangeParameterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ChangeParameterRequest() { action_ = 0; contextCalibrator_ = java.util.Collections.emptyList(); contextAlarm_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ChangeParameterRequest( 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 8: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.ChangeParameterRequest.ActionType value = org.yamcs.protobuf.Mdb.ChangeParameterRequest.ActionType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; action_ = rawValue; } break; } case 18: { org.yamcs.protobuf.Mdb.CalibratorInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = defaultCalibrator_.toBuilder(); } defaultCalibrator_ = input.readMessage(org.yamcs.protobuf.Mdb.CalibratorInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(defaultCalibrator_); defaultCalibrator_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { contextCalibrator_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } contextCalibrator_.add( input.readMessage(org.yamcs.protobuf.Mdb.ContextCalibratorInfo.PARSER, extensionRegistry)); break; } case 34: { org.yamcs.protobuf.Mdb.AlarmInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = defaultAlarm_.toBuilder(); } defaultAlarm_ = input.readMessage(org.yamcs.protobuf.Mdb.AlarmInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(defaultAlarm_); defaultAlarm_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { contextAlarm_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } contextAlarm_.add( input.readMessage(org.yamcs.protobuf.Mdb.ContextAlarmInfo.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_ & 0x00000004) != 0)) { contextCalibrator_ = java.util.Collections.unmodifiableList(contextCalibrator_); } if (((mutable_bitField0_ & 0x00000010) != 0)) { contextAlarm_ = java.util.Collections.unmodifiableList(contextAlarm_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ChangeParameterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ChangeParameterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ChangeParameterRequest.class, org.yamcs.protobuf.Mdb.ChangeParameterRequest.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.mdb.ChangeParameterRequest.ActionType} */ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { /** *
       *reset all parameter properties (calibrators+alarms) to their default MDB value
       * 
* * RESET = 0; */ RESET(0), /** *
       *reset calibrators to their default MDB value
       * 
* * RESET_CALIBRATORS = 1; */ RESET_CALIBRATORS(1), /** *
       *sets the default calibrator (the contextual ones are unmodified)
       * 
* * SET_DEFAULT_CALIBRATOR = 2; */ SET_DEFAULT_CALIBRATOR(2), /** *
       *sets all calibratiosn (default+contextual), if default is not set in the proto message, the existing one is not modified
       * 
* * SET_CALIBRATORS = 3; */ SET_CALIBRATORS(3), /** *
       *reset alarms to their default MDB value
       * 
* * RESET_ALARMS = 4; */ RESET_ALARMS(4), /** *
       *sets the default alarms (the contextual ones are unmodified)
       * 
* * SET_DEFAULT_ALARMS = 5; */ SET_DEFAULT_ALARMS(5), /** *
       *sets all alarms (default+contextual), if default is not set in the proto message, the existing one is not modified
       * 
* * SET_ALARMS = 6; */ SET_ALARMS(6), ; /** *
       *reset all parameter properties (calibrators+alarms) to their default MDB value
       * 
* * RESET = 0; */ public static final int RESET_VALUE = 0; /** *
       *reset calibrators to their default MDB value
       * 
* * RESET_CALIBRATORS = 1; */ public static final int RESET_CALIBRATORS_VALUE = 1; /** *
       *sets the default calibrator (the contextual ones are unmodified)
       * 
* * SET_DEFAULT_CALIBRATOR = 2; */ public static final int SET_DEFAULT_CALIBRATOR_VALUE = 2; /** *
       *sets all calibratiosn (default+contextual), if default is not set in the proto message, the existing one is not modified
       * 
* * SET_CALIBRATORS = 3; */ public static final int SET_CALIBRATORS_VALUE = 3; /** *
       *reset alarms to their default MDB value
       * 
* * RESET_ALARMS = 4; */ public static final int RESET_ALARMS_VALUE = 4; /** *
       *sets the default alarms (the contextual ones are unmodified)
       * 
* * SET_DEFAULT_ALARMS = 5; */ public static final int SET_DEFAULT_ALARMS_VALUE = 5; /** *
       *sets all alarms (default+contextual), if default is not set in the proto message, the existing one is not modified
       * 
* * SET_ALARMS = 6; */ public static final int SET_ALARMS_VALUE = 6; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ActionType valueOf(int value) { return forNumber(value); } public static ActionType forNumber(int value) { switch (value) { case 0: return RESET; case 1: return RESET_CALIBRATORS; case 2: return SET_DEFAULT_CALIBRATOR; case 3: return SET_CALIBRATORS; case 4: return RESET_ALARMS; case 5: return SET_DEFAULT_ALARMS; case 6: return SET_ALARMS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ActionType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ActionType findValueByNumber(int number) { return ActionType.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.Mdb.ChangeParameterRequest.getDescriptor().getEnumTypes().get(0); } private static final ActionType[] VALUES = values(); public static ActionType 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 ActionType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.mdb.ChangeParameterRequest.ActionType) } private int bitField0_; public static final int ACTION_FIELD_NUMBER = 1; private int action_; /** * optional .yamcs.protobuf.mdb.ChangeParameterRequest.ActionType action = 1; */ public boolean hasAction() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ChangeParameterRequest.ActionType action = 1; */ public org.yamcs.protobuf.Mdb.ChangeParameterRequest.ActionType getAction() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.ChangeParameterRequest.ActionType result = org.yamcs.protobuf.Mdb.ChangeParameterRequest.ActionType.valueOf(action_); return result == null ? org.yamcs.protobuf.Mdb.ChangeParameterRequest.ActionType.RESET : result; } public static final int DEFAULTCALIBRATOR_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.CalibratorInfo defaultCalibrator_; /** *
     *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
     * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ public boolean hasDefaultCalibrator() { return ((bitField0_ & 0x00000002) != 0); } /** *
     *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
     * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ public org.yamcs.protobuf.Mdb.CalibratorInfo getDefaultCalibrator() { return defaultCalibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : defaultCalibrator_; } /** *
     *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
     * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ public org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder getDefaultCalibratorOrBuilder() { return defaultCalibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : defaultCalibrator_; } public static final int CONTEXTCALIBRATOR_FIELD_NUMBER = 3; private java.util.List contextCalibrator_; /** *
     *used when action = SET_CALIBRATORS
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public java.util.List getContextCalibratorList() { return contextCalibrator_; } /** *
     *used when action = SET_CALIBRATORS
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public java.util.List getContextCalibratorOrBuilderList() { return contextCalibrator_; } /** *
     *used when action = SET_CALIBRATORS
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public int getContextCalibratorCount() { return contextCalibrator_.size(); } /** *
     *used when action = SET_CALIBRATORS
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo getContextCalibrator(int index) { return contextCalibrator_.get(index); } /** *
     *used when action = SET_CALIBRATORS
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorOrBuilder( int index) { return contextCalibrator_.get(index); } public static final int DEFAULTALARM_FIELD_NUMBER = 4; private org.yamcs.protobuf.Mdb.AlarmInfo defaultAlarm_; /** *
     *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public boolean hasDefaultAlarm() { return ((bitField0_ & 0x00000004) != 0); } /** *
     *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public org.yamcs.protobuf.Mdb.AlarmInfo getDefaultAlarm() { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } /** *
     *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder getDefaultAlarmOrBuilder() { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } public static final int CONTEXTALARM_FIELD_NUMBER = 5; private java.util.List contextAlarm_; /** *
     *used when action = SET_ALARMS
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public java.util.List getContextAlarmList() { return contextAlarm_; } /** *
     *used when action = SET_ALARMS
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public java.util.List getContextAlarmOrBuilderList() { return contextAlarm_; } /** *
     *used when action = SET_ALARMS
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public int getContextAlarmCount() { return contextAlarm_.size(); } /** *
     *used when action = SET_ALARMS
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo getContextAlarm(int index) { return contextAlarm_.get(index); } /** *
     *used when action = SET_ALARMS
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder getContextAlarmOrBuilder( int index) { return contextAlarm_.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 < getContextCalibratorCount(); i++) { if (!getContextCalibrator(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getContextAlarmCount(); i++) { if (!getContextAlarm(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_ & 0x00000001) != 0)) { output.writeEnum(1, action_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getDefaultCalibrator()); } for (int i = 0; i < contextCalibrator_.size(); i++) { output.writeMessage(3, contextCalibrator_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getDefaultAlarm()); } for (int i = 0; i < contextAlarm_.size(); i++) { output.writeMessage(5, contextAlarm_.get(i)); } 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 .computeEnumSize(1, action_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getDefaultCalibrator()); } for (int i = 0; i < contextCalibrator_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, contextCalibrator_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getDefaultAlarm()); } for (int i = 0; i < contextAlarm_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, contextAlarm_.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.Mdb.ChangeParameterRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ChangeParameterRequest other = (org.yamcs.protobuf.Mdb.ChangeParameterRequest) obj; if (hasAction() != other.hasAction()) return false; if (hasAction()) { if (action_ != other.action_) return false; } if (hasDefaultCalibrator() != other.hasDefaultCalibrator()) return false; if (hasDefaultCalibrator()) { if (!getDefaultCalibrator() .equals(other.getDefaultCalibrator())) return false; } if (!getContextCalibratorList() .equals(other.getContextCalibratorList())) return false; if (hasDefaultAlarm() != other.hasDefaultAlarm()) return false; if (hasDefaultAlarm()) { if (!getDefaultAlarm() .equals(other.getDefaultAlarm())) return false; } if (!getContextAlarmList() .equals(other.getContextAlarmList())) 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 (hasAction()) { hash = (37 * hash) + ACTION_FIELD_NUMBER; hash = (53 * hash) + action_; } if (hasDefaultCalibrator()) { hash = (37 * hash) + DEFAULTCALIBRATOR_FIELD_NUMBER; hash = (53 * hash) + getDefaultCalibrator().hashCode(); } if (getContextCalibratorCount() > 0) { hash = (37 * hash) + CONTEXTCALIBRATOR_FIELD_NUMBER; hash = (53 * hash) + getContextCalibratorList().hashCode(); } if (hasDefaultAlarm()) { hash = (37 * hash) + DEFAULTALARM_FIELD_NUMBER; hash = (53 * hash) + getDefaultAlarm().hashCode(); } if (getContextAlarmCount() > 0) { hash = (37 * hash) + CONTEXTALARM_FIELD_NUMBER; hash = (53 * hash) + getContextAlarmList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ChangeParameterRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ChangeParameterRequest 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.Mdb.ChangeParameterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ChangeParameterRequest 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.Mdb.ChangeParameterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ChangeParameterRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ChangeParameterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ChangeParameterRequest 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.Mdb.ChangeParameterRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ChangeParameterRequest 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.Mdb.ChangeParameterRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ChangeParameterRequest 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.Mdb.ChangeParameterRequest 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; } /** *
     * used to change calibrators or alarms for one parameter
     * 
* * Protobuf type {@code yamcs.protobuf.mdb.ChangeParameterRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ChangeParameterRequest) org.yamcs.protobuf.Mdb.ChangeParameterRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ChangeParameterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ChangeParameterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ChangeParameterRequest.class, org.yamcs.protobuf.Mdb.ChangeParameterRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ChangeParameterRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDefaultCalibratorFieldBuilder(); getContextCalibratorFieldBuilder(); getDefaultAlarmFieldBuilder(); getContextAlarmFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); action_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (defaultCalibratorBuilder_ == null) { defaultCalibrator_ = null; } else { defaultCalibratorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (contextCalibratorBuilder_ == null) { contextCalibrator_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { contextCalibratorBuilder_.clear(); } if (defaultAlarmBuilder_ == null) { defaultAlarm_ = null; } else { defaultAlarmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (contextAlarmBuilder_ == null) { contextAlarm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { contextAlarmBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ChangeParameterRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ChangeParameterRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ChangeParameterRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ChangeParameterRequest build() { org.yamcs.protobuf.Mdb.ChangeParameterRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ChangeParameterRequest buildPartial() { org.yamcs.protobuf.Mdb.ChangeParameterRequest result = new org.yamcs.protobuf.Mdb.ChangeParameterRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.action_ = action_; if (((from_bitField0_ & 0x00000002) != 0)) { if (defaultCalibratorBuilder_ == null) { result.defaultCalibrator_ = defaultCalibrator_; } else { result.defaultCalibrator_ = defaultCalibratorBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (contextCalibratorBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { contextCalibrator_ = java.util.Collections.unmodifiableList(contextCalibrator_); bitField0_ = (bitField0_ & ~0x00000004); } result.contextCalibrator_ = contextCalibrator_; } else { result.contextCalibrator_ = contextCalibratorBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { if (defaultAlarmBuilder_ == null) { result.defaultAlarm_ = defaultAlarm_; } else { result.defaultAlarm_ = defaultAlarmBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (contextAlarmBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { contextAlarm_ = java.util.Collections.unmodifiableList(contextAlarm_); bitField0_ = (bitField0_ & ~0x00000010); } result.contextAlarm_ = contextAlarm_; } else { result.contextAlarm_ = contextAlarmBuilder_.build(); } 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.Mdb.ChangeParameterRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.ChangeParameterRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ChangeParameterRequest other) { if (other == org.yamcs.protobuf.Mdb.ChangeParameterRequest.getDefaultInstance()) return this; if (other.hasAction()) { setAction(other.getAction()); } if (other.hasDefaultCalibrator()) { mergeDefaultCalibrator(other.getDefaultCalibrator()); } if (contextCalibratorBuilder_ == null) { if (!other.contextCalibrator_.isEmpty()) { if (contextCalibrator_.isEmpty()) { contextCalibrator_ = other.contextCalibrator_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureContextCalibratorIsMutable(); contextCalibrator_.addAll(other.contextCalibrator_); } onChanged(); } } else { if (!other.contextCalibrator_.isEmpty()) { if (contextCalibratorBuilder_.isEmpty()) { contextCalibratorBuilder_.dispose(); contextCalibratorBuilder_ = null; contextCalibrator_ = other.contextCalibrator_; bitField0_ = (bitField0_ & ~0x00000004); contextCalibratorBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getContextCalibratorFieldBuilder() : null; } else { contextCalibratorBuilder_.addAllMessages(other.contextCalibrator_); } } } if (other.hasDefaultAlarm()) { mergeDefaultAlarm(other.getDefaultAlarm()); } if (contextAlarmBuilder_ == null) { if (!other.contextAlarm_.isEmpty()) { if (contextAlarm_.isEmpty()) { contextAlarm_ = other.contextAlarm_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureContextAlarmIsMutable(); contextAlarm_.addAll(other.contextAlarm_); } onChanged(); } } else { if (!other.contextAlarm_.isEmpty()) { if (contextAlarmBuilder_.isEmpty()) { contextAlarmBuilder_.dispose(); contextAlarmBuilder_ = null; contextAlarm_ = other.contextAlarm_; bitField0_ = (bitField0_ & ~0x00000010); contextAlarmBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getContextAlarmFieldBuilder() : null; } else { contextAlarmBuilder_.addAllMessages(other.contextAlarm_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getContextCalibratorCount(); i++) { if (!getContextCalibrator(i).isInitialized()) { return false; } } for (int i = 0; i < getContextAlarmCount(); i++) { if (!getContextAlarm(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.Mdb.ChangeParameterRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ChangeParameterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int action_ = 0; /** * optional .yamcs.protobuf.mdb.ChangeParameterRequest.ActionType action = 1; */ public boolean hasAction() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ChangeParameterRequest.ActionType action = 1; */ public org.yamcs.protobuf.Mdb.ChangeParameterRequest.ActionType getAction() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.ChangeParameterRequest.ActionType result = org.yamcs.protobuf.Mdb.ChangeParameterRequest.ActionType.valueOf(action_); return result == null ? org.yamcs.protobuf.Mdb.ChangeParameterRequest.ActionType.RESET : result; } /** * optional .yamcs.protobuf.mdb.ChangeParameterRequest.ActionType action = 1; */ public Builder setAction(org.yamcs.protobuf.Mdb.ChangeParameterRequest.ActionType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; action_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.ChangeParameterRequest.ActionType action = 1; */ public Builder clearAction() { bitField0_ = (bitField0_ & ~0x00000001); action_ = 0; onChanged(); return this; } private org.yamcs.protobuf.Mdb.CalibratorInfo defaultCalibrator_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CalibratorInfo, org.yamcs.protobuf.Mdb.CalibratorInfo.Builder, org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder> defaultCalibratorBuilder_; /** *
       *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
       * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ public boolean hasDefaultCalibrator() { return ((bitField0_ & 0x00000002) != 0); } /** *
       *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
       * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ public org.yamcs.protobuf.Mdb.CalibratorInfo getDefaultCalibrator() { if (defaultCalibratorBuilder_ == null) { return defaultCalibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : defaultCalibrator_; } else { return defaultCalibratorBuilder_.getMessage(); } } /** *
       *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
       * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ public Builder setDefaultCalibrator(org.yamcs.protobuf.Mdb.CalibratorInfo value) { if (defaultCalibratorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultCalibrator_ = value; onChanged(); } else { defaultCalibratorBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
       * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ public Builder setDefaultCalibrator( org.yamcs.protobuf.Mdb.CalibratorInfo.Builder builderForValue) { if (defaultCalibratorBuilder_ == null) { defaultCalibrator_ = builderForValue.build(); onChanged(); } else { defaultCalibratorBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
       * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ public Builder mergeDefaultCalibrator(org.yamcs.protobuf.Mdb.CalibratorInfo value) { if (defaultCalibratorBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && defaultCalibrator_ != null && defaultCalibrator_ != org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance()) { defaultCalibrator_ = org.yamcs.protobuf.Mdb.CalibratorInfo.newBuilder(defaultCalibrator_).mergeFrom(value).buildPartial(); } else { defaultCalibrator_ = value; } onChanged(); } else { defaultCalibratorBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
       * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ public Builder clearDefaultCalibrator() { if (defaultCalibratorBuilder_ == null) { defaultCalibrator_ = null; onChanged(); } else { defaultCalibratorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
       * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ public org.yamcs.protobuf.Mdb.CalibratorInfo.Builder getDefaultCalibratorBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDefaultCalibratorFieldBuilder().getBuilder(); } /** *
       *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
       * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ public org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder getDefaultCalibratorOrBuilder() { if (defaultCalibratorBuilder_ != null) { return defaultCalibratorBuilder_.getMessageOrBuilder(); } else { return defaultCalibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : defaultCalibrator_; } } /** *
       *used when action = SET_DEFAULT_CALIBRATOR or SET_CALIBRATORS
       * 
* * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CalibratorInfo, org.yamcs.protobuf.Mdb.CalibratorInfo.Builder, org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder> getDefaultCalibratorFieldBuilder() { if (defaultCalibratorBuilder_ == null) { defaultCalibratorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CalibratorInfo, org.yamcs.protobuf.Mdb.CalibratorInfo.Builder, org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder>( getDefaultCalibrator(), getParentForChildren(), isClean()); defaultCalibrator_ = null; } return defaultCalibratorBuilder_; } private java.util.List contextCalibrator_ = java.util.Collections.emptyList(); private void ensureContextCalibratorIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { contextCalibrator_ = new java.util.ArrayList(contextCalibrator_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextCalibratorInfo, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder> contextCalibratorBuilder_; /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public java.util.List getContextCalibratorList() { if (contextCalibratorBuilder_ == null) { return java.util.Collections.unmodifiableList(contextCalibrator_); } else { return contextCalibratorBuilder_.getMessageList(); } } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public int getContextCalibratorCount() { if (contextCalibratorBuilder_ == null) { return contextCalibrator_.size(); } else { return contextCalibratorBuilder_.getCount(); } } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo getContextCalibrator(int index) { if (contextCalibratorBuilder_ == null) { return contextCalibrator_.get(index); } else { return contextCalibratorBuilder_.getMessage(index); } } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public Builder setContextCalibrator( int index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo value) { if (contextCalibratorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextCalibratorIsMutable(); contextCalibrator_.set(index, value); onChanged(); } else { contextCalibratorBuilder_.setMessage(index, value); } return this; } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public Builder setContextCalibrator( int index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder builderForValue) { if (contextCalibratorBuilder_ == null) { ensureContextCalibratorIsMutable(); contextCalibrator_.set(index, builderForValue.build()); onChanged(); } else { contextCalibratorBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public Builder addContextCalibrator(org.yamcs.protobuf.Mdb.ContextCalibratorInfo value) { if (contextCalibratorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextCalibratorIsMutable(); contextCalibrator_.add(value); onChanged(); } else { contextCalibratorBuilder_.addMessage(value); } return this; } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public Builder addContextCalibrator( int index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo value) { if (contextCalibratorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextCalibratorIsMutable(); contextCalibrator_.add(index, value); onChanged(); } else { contextCalibratorBuilder_.addMessage(index, value); } return this; } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public Builder addContextCalibrator( org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder builderForValue) { if (contextCalibratorBuilder_ == null) { ensureContextCalibratorIsMutable(); contextCalibrator_.add(builderForValue.build()); onChanged(); } else { contextCalibratorBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public Builder addContextCalibrator( int index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder builderForValue) { if (contextCalibratorBuilder_ == null) { ensureContextCalibratorIsMutable(); contextCalibrator_.add(index, builderForValue.build()); onChanged(); } else { contextCalibratorBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public Builder addAllContextCalibrator( java.lang.Iterable values) { if (contextCalibratorBuilder_ == null) { ensureContextCalibratorIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, contextCalibrator_); onChanged(); } else { contextCalibratorBuilder_.addAllMessages(values); } return this; } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public Builder clearContextCalibrator() { if (contextCalibratorBuilder_ == null) { contextCalibrator_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { contextCalibratorBuilder_.clear(); } return this; } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public Builder removeContextCalibrator(int index) { if (contextCalibratorBuilder_ == null) { ensureContextCalibratorIsMutable(); contextCalibrator_.remove(index); onChanged(); } else { contextCalibratorBuilder_.remove(index); } return this; } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder getContextCalibratorBuilder( int index) { return getContextCalibratorFieldBuilder().getBuilder(index); } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorOrBuilder( int index) { if (contextCalibratorBuilder_ == null) { return contextCalibrator_.get(index); } else { return contextCalibratorBuilder_.getMessageOrBuilder(index); } } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public java.util.List getContextCalibratorOrBuilderList() { if (contextCalibratorBuilder_ != null) { return contextCalibratorBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(contextCalibrator_); } } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder addContextCalibratorBuilder() { return getContextCalibratorFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ContextCalibratorInfo.getDefaultInstance()); } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder addContextCalibratorBuilder( int index) { return getContextCalibratorFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.getDefaultInstance()); } /** *
       *used when action = SET_CALIBRATORS
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 3; */ public java.util.List getContextCalibratorBuilderList() { return getContextCalibratorFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextCalibratorInfo, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder> getContextCalibratorFieldBuilder() { if (contextCalibratorBuilder_ == null) { contextCalibratorBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextCalibratorInfo, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder>( contextCalibrator_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); contextCalibrator_ = null; } return contextCalibratorBuilder_; } private org.yamcs.protobuf.Mdb.AlarmInfo defaultAlarm_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmInfo, org.yamcs.protobuf.Mdb.AlarmInfo.Builder, org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder> defaultAlarmBuilder_; /** *
       *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public boolean hasDefaultAlarm() { return ((bitField0_ & 0x00000008) != 0); } /** *
       *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public org.yamcs.protobuf.Mdb.AlarmInfo getDefaultAlarm() { if (defaultAlarmBuilder_ == null) { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } else { return defaultAlarmBuilder_.getMessage(); } } /** *
       *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public Builder setDefaultAlarm(org.yamcs.protobuf.Mdb.AlarmInfo value) { if (defaultAlarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultAlarm_ = value; onChanged(); } else { defaultAlarmBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** *
       *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public Builder setDefaultAlarm( org.yamcs.protobuf.Mdb.AlarmInfo.Builder builderForValue) { if (defaultAlarmBuilder_ == null) { defaultAlarm_ = builderForValue.build(); onChanged(); } else { defaultAlarmBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** *
       *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public Builder mergeDefaultAlarm(org.yamcs.protobuf.Mdb.AlarmInfo value) { if (defaultAlarmBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && defaultAlarm_ != null && defaultAlarm_ != org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance()) { defaultAlarm_ = org.yamcs.protobuf.Mdb.AlarmInfo.newBuilder(defaultAlarm_).mergeFrom(value).buildPartial(); } else { defaultAlarm_ = value; } onChanged(); } else { defaultAlarmBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** *
       *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public Builder clearDefaultAlarm() { if (defaultAlarmBuilder_ == null) { defaultAlarm_ = null; onChanged(); } else { defaultAlarmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** *
       *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public org.yamcs.protobuf.Mdb.AlarmInfo.Builder getDefaultAlarmBuilder() { bitField0_ |= 0x00000008; onChanged(); return getDefaultAlarmFieldBuilder().getBuilder(); } /** *
       *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder getDefaultAlarmOrBuilder() { if (defaultAlarmBuilder_ != null) { return defaultAlarmBuilder_.getMessageOrBuilder(); } else { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } } /** *
       *used when action = SET_DEFAULT_ALARMS or SET_ALARMS
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmInfo, org.yamcs.protobuf.Mdb.AlarmInfo.Builder, org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder> getDefaultAlarmFieldBuilder() { if (defaultAlarmBuilder_ == null) { defaultAlarmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmInfo, org.yamcs.protobuf.Mdb.AlarmInfo.Builder, org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder>( getDefaultAlarm(), getParentForChildren(), isClean()); defaultAlarm_ = null; } return defaultAlarmBuilder_; } private java.util.List contextAlarm_ = java.util.Collections.emptyList(); private void ensureContextAlarmIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { contextAlarm_ = new java.util.ArrayList(contextAlarm_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextAlarmInfo, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder, org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder> contextAlarmBuilder_; /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public java.util.List getContextAlarmList() { if (contextAlarmBuilder_ == null) { return java.util.Collections.unmodifiableList(contextAlarm_); } else { return contextAlarmBuilder_.getMessageList(); } } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public int getContextAlarmCount() { if (contextAlarmBuilder_ == null) { return contextAlarm_.size(); } else { return contextAlarmBuilder_.getCount(); } } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo getContextAlarm(int index) { if (contextAlarmBuilder_ == null) { return contextAlarm_.get(index); } else { return contextAlarmBuilder_.getMessage(index); } } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public Builder setContextAlarm( int index, org.yamcs.protobuf.Mdb.ContextAlarmInfo value) { if (contextAlarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextAlarmIsMutable(); contextAlarm_.set(index, value); onChanged(); } else { contextAlarmBuilder_.setMessage(index, value); } return this; } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public Builder setContextAlarm( int index, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder builderForValue) { if (contextAlarmBuilder_ == null) { ensureContextAlarmIsMutable(); contextAlarm_.set(index, builderForValue.build()); onChanged(); } else { contextAlarmBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public Builder addContextAlarm(org.yamcs.protobuf.Mdb.ContextAlarmInfo value) { if (contextAlarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextAlarmIsMutable(); contextAlarm_.add(value); onChanged(); } else { contextAlarmBuilder_.addMessage(value); } return this; } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public Builder addContextAlarm( int index, org.yamcs.protobuf.Mdb.ContextAlarmInfo value) { if (contextAlarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextAlarmIsMutable(); contextAlarm_.add(index, value); onChanged(); } else { contextAlarmBuilder_.addMessage(index, value); } return this; } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public Builder addContextAlarm( org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder builderForValue) { if (contextAlarmBuilder_ == null) { ensureContextAlarmIsMutable(); contextAlarm_.add(builderForValue.build()); onChanged(); } else { contextAlarmBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public Builder addContextAlarm( int index, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder builderForValue) { if (contextAlarmBuilder_ == null) { ensureContextAlarmIsMutable(); contextAlarm_.add(index, builderForValue.build()); onChanged(); } else { contextAlarmBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public Builder addAllContextAlarm( java.lang.Iterable values) { if (contextAlarmBuilder_ == null) { ensureContextAlarmIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, contextAlarm_); onChanged(); } else { contextAlarmBuilder_.addAllMessages(values); } return this; } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public Builder clearContextAlarm() { if (contextAlarmBuilder_ == null) { contextAlarm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { contextAlarmBuilder_.clear(); } return this; } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public Builder removeContextAlarm(int index) { if (contextAlarmBuilder_ == null) { ensureContextAlarmIsMutable(); contextAlarm_.remove(index); onChanged(); } else { contextAlarmBuilder_.remove(index); } return this; } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder getContextAlarmBuilder( int index) { return getContextAlarmFieldBuilder().getBuilder(index); } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder getContextAlarmOrBuilder( int index) { if (contextAlarmBuilder_ == null) { return contextAlarm_.get(index); } else { return contextAlarmBuilder_.getMessageOrBuilder(index); } } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public java.util.List getContextAlarmOrBuilderList() { if (contextAlarmBuilder_ != null) { return contextAlarmBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(contextAlarm_); } } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder addContextAlarmBuilder() { return getContextAlarmFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ContextAlarmInfo.getDefaultInstance()); } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder addContextAlarmBuilder( int index) { return getContextAlarmFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ContextAlarmInfo.getDefaultInstance()); } /** *
       *used when action = SET_ALARMS
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 5; */ public java.util.List getContextAlarmBuilderList() { return getContextAlarmFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextAlarmInfo, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder, org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder> getContextAlarmFieldBuilder() { if (contextAlarmBuilder_ == null) { contextAlarmBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextAlarmInfo, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder, org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder>( contextAlarm_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); contextAlarm_ = null; } return contextAlarmBuilder_; } @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.mdb.ChangeParameterRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ChangeParameterRequest) private static final org.yamcs.protobuf.Mdb.ChangeParameterRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ChangeParameterRequest(); } public static org.yamcs.protobuf.Mdb.ChangeParameterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ChangeParameterRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ChangeParameterRequest(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.Mdb.ChangeParameterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ChangeAlgorithmRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ChangeAlgorithmRequest) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.mdb.ChangeAlgorithmRequest.ActionType action = 1; */ boolean hasAction(); /** * optional .yamcs.protobuf.mdb.ChangeAlgorithmRequest.ActionType action = 1; */ org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.ActionType getAction(); /** *
     *used when action = SET
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ boolean hasAlgorithm(); /** *
     *used when action = SET
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm(); /** *
     *used when action = SET
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder(); } /** *
   *used to change algorithms
   * 
* * Protobuf type {@code yamcs.protobuf.mdb.ChangeAlgorithmRequest} */ public static final class ChangeAlgorithmRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ChangeAlgorithmRequest) ChangeAlgorithmRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ChangeAlgorithmRequest.newBuilder() to construct. private ChangeAlgorithmRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ChangeAlgorithmRequest() { action_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ChangeAlgorithmRequest( 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 8: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.ActionType value = org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.ActionType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; action_ = rawValue; } break; } case 18: { org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = algorithm_.toBuilder(); } algorithm_ = input.readMessage(org.yamcs.protobuf.Mdb.AlgorithmInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(algorithm_); algorithm_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ChangeAlgorithmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ChangeAlgorithmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.class, org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.mdb.ChangeAlgorithmRequest.ActionType} */ public enum ActionType implements com.google.protobuf.ProtocolMessageEnum { /** *
       *restores the original MDB definition
       * 
* * RESET = 0; */ RESET(0), /** *
       *sets the algorithm text
       * 
* * SET = 1; */ SET(1), ; /** *
       *restores the original MDB definition
       * 
* * RESET = 0; */ public static final int RESET_VALUE = 0; /** *
       *sets the algorithm text
       * 
* * SET = 1; */ public static final int SET_VALUE = 1; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ActionType valueOf(int value) { return forNumber(value); } public static ActionType forNumber(int value) { switch (value) { case 0: return RESET; case 1: return SET; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ActionType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ActionType findValueByNumber(int number) { return ActionType.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.Mdb.ChangeAlgorithmRequest.getDescriptor().getEnumTypes().get(0); } private static final ActionType[] VALUES = values(); public static ActionType 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 ActionType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yamcs.protobuf.mdb.ChangeAlgorithmRequest.ActionType) } private int bitField0_; public static final int ACTION_FIELD_NUMBER = 1; private int action_; /** * optional .yamcs.protobuf.mdb.ChangeAlgorithmRequest.ActionType action = 1; */ public boolean hasAction() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ChangeAlgorithmRequest.ActionType action = 1; */ public org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.ActionType getAction() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.ActionType result = org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.ActionType.valueOf(action_); return result == null ? org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.ActionType.RESET : result; } public static final int ALGORITHM_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.AlgorithmInfo algorithm_; /** *
     *used when action = SET
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ public boolean hasAlgorithm() { return ((bitField0_ & 0x00000002) != 0); } /** *
     *used when action = SET
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm() { return algorithm_ == null ? org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance() : algorithm_; } /** *
     *used when action = SET
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ public org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder() { return algorithm_ == null ? org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance() : algorithm_; } 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 (hasAlgorithm()) { if (!getAlgorithm().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.writeEnum(1, action_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getAlgorithm()); } 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 .computeEnumSize(1, action_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAlgorithm()); } 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.Mdb.ChangeAlgorithmRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest other = (org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest) obj; if (hasAction() != other.hasAction()) return false; if (hasAction()) { if (action_ != other.action_) return false; } if (hasAlgorithm() != other.hasAlgorithm()) return false; if (hasAlgorithm()) { if (!getAlgorithm() .equals(other.getAlgorithm())) 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 (hasAction()) { hash = (37 * hash) + ACTION_FIELD_NUMBER; hash = (53 * hash) + action_; } if (hasAlgorithm()) { hash = (37 * hash) + ALGORITHM_FIELD_NUMBER; hash = (53 * hash) + getAlgorithm().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest 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.Mdb.ChangeAlgorithmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest 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.Mdb.ChangeAlgorithmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest 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.Mdb.ChangeAlgorithmRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest 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.Mdb.ChangeAlgorithmRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest 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.Mdb.ChangeAlgorithmRequest 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; } /** *
     *used to change algorithms
     * 
* * Protobuf type {@code yamcs.protobuf.mdb.ChangeAlgorithmRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ChangeAlgorithmRequest) org.yamcs.protobuf.Mdb.ChangeAlgorithmRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ChangeAlgorithmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ChangeAlgorithmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.class, org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAlgorithmFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); action_ = 0; bitField0_ = (bitField0_ & ~0x00000001); if (algorithmBuilder_ == null) { algorithm_ = null; } else { algorithmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ChangeAlgorithmRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest build() { org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest buildPartial() { org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest result = new org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.action_ = action_; if (((from_bitField0_ & 0x00000002) != 0)) { if (algorithmBuilder_ == null) { result.algorithm_ = algorithm_; } else { result.algorithm_ = algorithmBuilder_.build(); } to_bitField0_ |= 0x00000002; } 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.Mdb.ChangeAlgorithmRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest other) { if (other == org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.getDefaultInstance()) return this; if (other.hasAction()) { setAction(other.getAction()); } if (other.hasAlgorithm()) { mergeAlgorithm(other.getAlgorithm()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasAlgorithm()) { if (!getAlgorithm().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.Mdb.ChangeAlgorithmRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int action_ = 0; /** * optional .yamcs.protobuf.mdb.ChangeAlgorithmRequest.ActionType action = 1; */ public boolean hasAction() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ChangeAlgorithmRequest.ActionType action = 1; */ public org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.ActionType getAction() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.ActionType result = org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.ActionType.valueOf(action_); return result == null ? org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.ActionType.RESET : result; } /** * optional .yamcs.protobuf.mdb.ChangeAlgorithmRequest.ActionType action = 1; */ public Builder setAction(org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest.ActionType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; action_ = value.getNumber(); onChanged(); return this; } /** * optional .yamcs.protobuf.mdb.ChangeAlgorithmRequest.ActionType action = 1; */ public Builder clearAction() { bitField0_ = (bitField0_ & ~0x00000001); action_ = 0; onChanged(); return this; } private org.yamcs.protobuf.Mdb.AlgorithmInfo algorithm_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder> algorithmBuilder_; /** *
       *used when action = SET
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ public boolean hasAlgorithm() { return ((bitField0_ & 0x00000002) != 0); } /** *
       *used when action = SET
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm() { if (algorithmBuilder_ == null) { return algorithm_ == null ? org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance() : algorithm_; } else { return algorithmBuilder_.getMessage(); } } /** *
       *used when action = SET
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ public Builder setAlgorithm(org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } algorithm_ = value; onChanged(); } else { algorithmBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       *used when action = SET
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ public Builder setAlgorithm( org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder builderForValue) { if (algorithmBuilder_ == null) { algorithm_ = builderForValue.build(); onChanged(); } else { algorithmBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       *used when action = SET
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ public Builder mergeAlgorithm(org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && algorithm_ != null && algorithm_ != org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance()) { algorithm_ = org.yamcs.protobuf.Mdb.AlgorithmInfo.newBuilder(algorithm_).mergeFrom(value).buildPartial(); } else { algorithm_ = value; } onChanged(); } else { algorithmBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       *used when action = SET
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ public Builder clearAlgorithm() { if (algorithmBuilder_ == null) { algorithm_ = null; onChanged(); } else { algorithmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       *used when action = SET
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder getAlgorithmBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAlgorithmFieldBuilder().getBuilder(); } /** *
       *used when action = SET
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ public org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder() { if (algorithmBuilder_ != null) { return algorithmBuilder_.getMessageOrBuilder(); } else { return algorithm_ == null ? org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance() : algorithm_; } } /** *
       *used when action = SET
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder> getAlgorithmFieldBuilder() { if (algorithmBuilder_ == null) { algorithmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder>( getAlgorithm(), getParentForChildren(), isClean()); algorithm_ = null; } return algorithmBuilder_; } @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.mdb.ChangeAlgorithmRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ChangeAlgorithmRequest) private static final org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest(); } public static org.yamcs.protobuf.Mdb.ChangeAlgorithmRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ChangeAlgorithmRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ChangeAlgorithmRequest(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.Mdb.ChangeAlgorithmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_MissionDatabase_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_MissionDatabase_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_HistoryInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_HistoryInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_UnitInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_UnitInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_AlarmRange_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_AlarmRange_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_EnumerationAlarm_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_EnumerationAlarm_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_AlarmInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_AlarmInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ContextAlarmInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ContextAlarmInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_DataEncodingInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_DataEncodingInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ContextCalibratorInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ContextCalibratorInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_CalibratorInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_CalibratorInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_PolynomialCalibratorInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_PolynomialCalibratorInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_SplinePointInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_SplinePointInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_JavaExpressionCalibratorInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_JavaExpressionCalibratorInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_EnumValue_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_EnumValue_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_GetParameterTypeRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_GetParameterTypeRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_GetContainerRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_GetContainerRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_AbsoluteTimeInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_AbsoluteTimeInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_MemberInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_MemberInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ArrayInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ArrayInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_UsedByInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_UsedByInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ParameterInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ParameterInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ArgumentTypeInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ArgumentTypeInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ArgumentInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ArgumentInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ArgumentAssignmentInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ArgumentAssignmentInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_SignificanceInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_SignificanceInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ComparisonInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ComparisonInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_TransmissionConstraintInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_TransmissionConstraintInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_CommandInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_CommandInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_VerifierInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_VerifierInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_CheckWindowInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_CheckWindowInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_RepeatInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_RepeatInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_SequenceEntryInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_SequenceEntryInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_FixedValueInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_FixedValueInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_CommandContainerInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_CommandContainerInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ContainerInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ContainerInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_InputParameterInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_InputParameterInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_OutputParameterInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_OutputParameterInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_AlgorithmInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_AlgorithmInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ListSpaceSystemsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ListSpaceSystemsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ListParameterTypesRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ListParameterTypesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ListContainersRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ListContainersRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ListAlgorithmsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ListAlgorithmsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ListCommandsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ListCommandsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_GetParameterRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_GetParameterRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ListParametersRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ListParametersRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ListParametersResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ListParametersResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ListParameterTypesResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ListParameterTypesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_BatchGetParametersRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_BatchGetParametersRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_GetParameterResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_GetParameterResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ListContainersResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ListContainersResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ListCommandsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ListCommandsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ListAlgorithmsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ListAlgorithmsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_GetAlgorithmRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_GetAlgorithmRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_GetMissionDatabaseRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_GetMissionDatabaseRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ExportJavaMissionDatabaseRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ExportJavaMissionDatabaseRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ListSpaceSystemsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ListSpaceSystemsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_GetSpaceSystemRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_GetSpaceSystemRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_GetCommandRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_GetCommandRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ChangeParameterRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ChangeParameterRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ChangeAlgorithmRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ChangeAlgorithmRequest_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\034yamcs/protobuf/mdb/mdb.proto\022\022yamcs.pr" + "otobuf.mdb\032\033yamcs/api/annotations.proto\032" + "\030yamcs/api/httpbody.proto\032\032yamcs/protobu" + "f/yamcs.proto\"\370\001\n\017MissionDatabase\022\022\n\ncon" + "figName\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\017\n\007version\030\003" + " \001(\t\0228\n\013spaceSystem\030\004 \003(\0132#.yamcs.protob" + "uf.mdb.SpaceSystemInfo\022\026\n\016parameterCount" + "\030\006 \001(\005\022\026\n\016containerCount\030\007 \001(\005\022\024\n\014comman" + "dCount\030\010 \001(\005\022\026\n\016algorithmCount\030\t \001(\005\022\032\n\022" + "parameterTypeCount\030\n \001(\005\"M\n\013HistoryInfo\022" + "\017\n\007version\030\001 \001(\t\022\014\n\004date\030\002 \001(\t\022\017\n\007messag" + "e\030\003 \001(\t\022\016\n\006author\030\004 \001(\t\"\030\n\010UnitInfo\022\014\n\004u" + "nit\030\001 \001(\t\"\227\001\n\nAlarmRange\0221\n\005level\030\001 \001(\0162" + "\".yamcs.protobuf.mdb.AlarmLevelType\022\024\n\014m" + "inInclusive\030\002 \001(\001\022\024\n\014maxInclusive\030\003 \001(\001\022" + "\024\n\014minExclusive\030\004 \001(\001\022\024\n\014maxExclusive\030\005 " + "\001(\001\"T\n\020EnumerationAlarm\0221\n\005level\030\001 \001(\0162\"" + ".yamcs.protobuf.mdb.AlarmLevelType\022\r\n\005la" + "bel\030\003 \001(\t\"\234\001\n\tAlarmInfo\022\025\n\rminViolations" + "\030\001 \001(\005\0228\n\020staticAlarmRange\030\002 \003(\0132\036.yamcs" + ".protobuf.mdb.AlarmRange\022>\n\020enumerationA" + "larm\030\003 \003(\0132$.yamcs.protobuf.mdb.Enumerat" + "ionAlarm\"\211\001\n\020ContextAlarmInfo\0226\n\ncompari" + "son\030\001 \003(\0132\".yamcs.protobuf.mdb.Compariso" + "nInfo\022,\n\005alarm\030\002 \001(\0132\035.yamcs.protobuf.md" + "b.AlarmInfo\022\017\n\007context\030\003 \001(\t\"\321\002\n\020DataEnc" + "odingInfo\0227\n\004type\030\001 \001(\0162).yamcs.protobuf" + ".mdb.DataEncodingInfo.Type\022\024\n\014littleEndi" + "an\030\002 \001(\010\022\022\n\nsizeInBits\030\003 \001(\005\022\020\n\010encoding" + "\030\004 \001(\t\022=\n\021defaultCalibrator\030\006 \001(\0132\".yamc" + "s.protobuf.mdb.CalibratorInfo\022D\n\021context" + "Calibrator\030\007 \003(\0132).yamcs.protobuf.mdb.Co" + "ntextCalibratorInfo\"C\n\004Type\022\n\n\006BINARY\020\000\022" + "\013\n\007BOOLEAN\020\001\022\t\n\005FLOAT\020\002\022\013\n\007INTEGER\020\003\022\n\n\006" + "STRING\020\004\"\230\001\n\025ContextCalibratorInfo\0226\n\nco" + "mparison\030\001 \003(\0132\".yamcs.protobuf.mdb.Comp" + "arisonInfo\0226\n\ncalibrator\030\002 \001(\0132\".yamcs.p" + "rotobuf.mdb.CalibratorInfo\022\017\n\007context\030\003 " + "\001(\t\"\370\002\n\016CalibratorInfo\022J\n\024polynomialCali" + "brator\030\002 \001(\0132,.yamcs.protobuf.mdb.Polyno" + "mialCalibratorInfo\022B\n\020splineCalibrator\030\003" + " \001(\0132(.yamcs.protobuf.mdb.SplineCalibrat" + "orInfo\022R\n\030javaExpressionCalibrator\030\004 \001(\013" + "20.yamcs.protobuf.mdb.JavaExpressionCali" + "bratorInfo\0225\n\004type\030\005 \001(\0162\'.yamcs.protobu" + "f.mdb.CalibratorInfo.Type\"K\n\004Type\022\016\n\nPOL" + "YNOMIAL\020\000\022\n\n\006SPLINE\020\001\022\022\n\016MATH_OPERATION\020" + "\002\022\023\n\017JAVA_EXPRESSION\020\003\"/\n\030PolynomialCali" + "bratorInfo\022\023\n\013coefficient\030\001 \003(\001\"\223\001\n\024Spli" + "neCalibratorInfo\022G\n\005point\030\001 \003(\01328.yamcs." + "protobuf.mdb.SplineCalibratorInfo.Spline" + "PointInfo\0322\n\017SplinePointInfo\022\013\n\003raw\030\001 \001(" + "\001\022\022\n\ncalibrated\030\002 \001(\001\"/\n\034JavaExpressionC" + "alibratorInfo\022\017\n\007formula\030\001 \001(\t\")\n\tEnumVa" + "lue\022\r\n\005value\030\001 \001(\003\022\r\n\005label\030\002 \001(\t\"\324\003\n\021Pa" + "rameterTypeInfo\022\017\n\007engType\030\001 \001(\t\022:\n\014data" + "Encoding\030\002 \001(\0132$.yamcs.protobuf.mdb.Data" + "EncodingInfo\022-\n\007unitSet\030\003 \003(\0132\034.yamcs.pr" + "otobuf.mdb.UnitInfo\0223\n\014defaultAlarm\030\004 \001(" + "\0132\035.yamcs.protobuf.mdb.AlarmInfo\0220\n\tenum" + "Value\030\005 \003(\0132\035.yamcs.protobuf.mdb.EnumVal" + "ue\022>\n\020absoluteTimeInfo\030\006 \001(\0132$.yamcs.pro" + "tobuf.mdb.AbsoluteTimeInfo\022:\n\014contextAla" + "rm\030\007 \003(\0132$.yamcs.protobuf.mdb.ContextAla" + "rmInfo\022.\n\006member\030\010 \003(\0132\036.yamcs.protobuf." + "mdb.MemberInfo\0220\n\tarrayInfo\030\t \001(\0132\035.yamc" + "s.protobuf.mdb.ArrayInfo\"9\n\027GetParameter" + "TypeRequest\022\020\n\010instance\030\001 \001(\t\022\014\n\004name\030\002 " + "\001(\t\"5\n\023GetContainerRequest\022\020\n\010instance\030\001" + " \001(\t\022\014\n\004name\030\002 \001(\t\"\215\001\n\020AbsoluteTimeInfo\022" + "\024\n\014initialValue\030\001 \001(\t\022\r\n\005scale\030\002 \001(\001\022\016\n\006" + "offset\030\003 \001(\001\0225\n\noffsetFrom\030\004 \001(\0132!.yamcs" + ".protobuf.mdb.ParameterInfo\022\r\n\005epoch\030\005 \001" + "(\t\"\307\001\n\nMemberInfo\022\014\n\004name\030\001 \001(\t\022\025\n\rquali" + "fiedName\030\002 \001(\t\022\030\n\020shortDescription\030\003 \001(\t" + "\022\027\n\017longDescription\030\004 \001(\t\022,\n\005alias\030\005 \003(\013" + "2\035.yamcs.protobuf.NamedObjectId\0223\n\004type\030" + "\006 \001(\0132%.yamcs.protobuf.mdb.ParameterType" + "Info\"T\n\tArrayInfo\0223\n\004type\030\001 \001(\0132%.yamcs." + "protobuf.mdb.ParameterTypeInfo\022\022\n\ndimens" + "ions\030\002 \001(\005\"x\n\nUsedByInfo\0224\n\talgorithm\030\001 " + "\003(\0132!.yamcs.protobuf.mdb.AlgorithmInfo\0224" + "\n\tcontainer\030\002 \003(\0132!.yamcs.protobuf.mdb.C" + "ontainerInfo\"\262\002\n\rParameterInfo\022\014\n\004name\030\001" + " \001(\t\022\025\n\rqualifiedName\030\002 \001(\t\022\030\n\020shortDesc" + "ription\030\003 \001(\t\022\027\n\017longDescription\030\004 \001(\t\022," + "\n\005alias\030\005 \003(\0132\035.yamcs.protobuf.NamedObje" + "ctId\0223\n\004type\030\006 \001(\0132%.yamcs.protobuf.mdb." + "ParameterTypeInfo\0226\n\ndataSource\030\007 \001(\0162\"." + "yamcs.protobuf.mdb.DataSourceType\022.\n\006use" + "dBy\030\010 \001(\0132\036.yamcs.protobuf.mdb.UsedByInf" + "o\"\344\001\n\020ArgumentTypeInfo\022\017\n\007engType\030\001 \001(\t\022" + ":\n\014dataEncoding\030\002 \001(\0132$.yamcs.protobuf.m" + "db.DataEncodingInfo\022-\n\007unitSet\030\003 \003(\0132\034.y" + "amcs.protobuf.mdb.UnitInfo\0220\n\tenumValue\030" + "\005 \003(\0132\035.yamcs.protobuf.mdb.EnumValue\022\020\n\010" + "rangeMin\030\006 \001(\001\022\020\n\010rangeMax\030\007 \001(\001\"{\n\014Argu" + "mentInfo\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 " + "\001(\t\022\024\n\014initialValue\030\004 \001(\t\0222\n\004type\030\006 \001(\0132" + "$.yamcs.protobuf.mdb.ArgumentTypeInfo\"5\n" + "\026ArgumentAssignmentInfo\022\014\n\004name\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t\"\345\001\n\020SignificanceInfo\022T\n\020con" + "sequenceLevel\030\001 \001(\0162:.yamcs.protobuf.mdb" + ".SignificanceInfo.SignificanceLevelType\022" + "\030\n\020reasonForWarning\030\002 \001(\t\"a\n\025Significanc" + "eLevelType\022\010\n\004NONE\020\001\022\t\n\005WATCH\020\002\022\013\n\007WARNI" + "NG\020\003\022\014\n\010DISTRESS\020\004\022\014\n\010CRITICAL\020\005\022\n\n\006SEVE" + "RE\020\006\"\251\002\n\016ComparisonInfo\0224\n\tparameter\030\001 \001" + "(\0132!.yamcs.protobuf.mdb.ParameterInfo\022A\n" + "\010operator\030\002 \001(\0162/.yamcs.protobuf.mdb.Com" + "parisonInfo.OperatorType\022\r\n\005value\030\003 \001(\t\"" + "\216\001\n\014OperatorType\022\014\n\010EQUAL_TO\020\001\022\020\n\014NOT_EQ" + "UAL_TO\020\002\022\020\n\014GREATER_THAN\020\003\022\034\n\030GREATER_TH" + "AN_OR_EQUAL_TO\020\004\022\020\n\014SMALLER_THAN\020\005\022\034\n\030SM" + "ALLER_THAN_OR_EQUAL_TO\020\006\"e\n\032Transmission" + "ConstraintInfo\0226\n\ncomparison\030\001 \003(\0132\".yam" + "cs.protobuf.mdb.ComparisonInfo\022\017\n\007timeou" + "t\030\002 \001(\003\"\317\004\n\013CommandInfo\022\014\n\004name\030\001 \001(\t\022\025\n" + "\rqualifiedName\030\002 \001(\t\022\030\n\020shortDescription" + "\030\003 \001(\t\022\027\n\017longDescription\030\004 \001(\t\022,\n\005alias" + "\030\005 \003(\0132\035.yamcs.protobuf.NamedObjectId\0224\n" + "\013baseCommand\030\006 \001(\0132\037.yamcs.protobuf.mdb." + "CommandInfo\022\020\n\010abstract\030\007 \001(\010\0222\n\010argumen" + "t\030\010 \003(\0132 .yamcs.protobuf.mdb.ArgumentInf" + "o\022F\n\022argumentAssignment\030\t \003(\0132*.yamcs.pr" + "otobuf.mdb.ArgumentAssignmentInfo\022:\n\014sig" + "nificance\030\n \001(\0132$.yamcs.protobuf.mdb.Sig" + "nificanceInfo\022B\n\nconstraint\030\013 \003(\0132..yamc" + "s.protobuf.mdb.TransmissionConstraintInf" + "o\022B\n\020commandContainer\030\r \001(\0132(.yamcs.prot" + "obuf.mdb.CommandContainerInfo\0222\n\010verifie" + "r\030\016 \003(\0132 .yamcs.protobuf.mdb.VerifierInf" + "o\"\321\003\n\014VerifierInfo\022\r\n\005stage\030\001 \001(\t\0224\n\tcon" + "tainer\030\002 \001(\0132!.yamcs.protobuf.mdb.Contai" + "nerInfo\0224\n\talgorithm\030\003 \001(\0132!.yamcs.proto" + "buf.mdb.AlgorithmInfo\022I\n\tonSuccess\030\004 \001(\016" + "26.yamcs.protobuf.mdb.VerifierInfo.Termi" + "nationActionType\022F\n\006onFail\030\005 \001(\01626.yamcs" + ".protobuf.mdb.VerifierInfo.TerminationAc" + "tionType\022I\n\tonTimeout\030\006 \001(\01626.yamcs.prot" + "obuf.mdb.VerifierInfo.TerminationActionT" + "ype\0228\n\013checkWindow\030\007 \001(\0132#.yamcs.protobu" + "f.mdb.CheckWindowInfo\".\n\025TerminationActi" + "onType\022\013\n\007SUCCESS\020\001\022\010\n\004FAIL\020\002\"^\n\017CheckWi" + "ndowInfo\022\033\n\023timeToStartChecking\030\001 \001(\003\022\032\n" + "\022timeToStopChecking\030\002 \001(\003\022\022\n\nrelativeTo\030" + "\003 \001(\t\"n\n\nRepeatInfo\022\022\n\nfixedCount\030\001 \001(\003\022" + "7\n\014dynamicCount\030\002 \001(\0132!.yamcs.protobuf.m" + "db.ParameterInfo\022\023\n\013bitsBetween\030\003 \001(\005\"\315\003" + "\n\021SequenceEntryInfo\022\026\n\016locationInBits\030\001 " + "\001(\005\022V\n\021referenceLocation\030\002 \001(\0162;.yamcs.p" + "rotobuf.mdb.SequenceEntryInfo.ReferenceL" + "ocationType\0224\n\tcontainer\030\003 \001(\0132!.yamcs.p" + "rotobuf.mdb.ContainerInfo\0224\n\tparameter\030\004" + " \001(\0132!.yamcs.protobuf.mdb.ParameterInfo\022" + "2\n\010argument\030\006 \001(\0132 .yamcs.protobuf.mdb.A" + "rgumentInfo\0226\n\nfixedValue\030\007 \001(\0132\".yamcs." + "protobuf.mdb.FixedValueInfo\022.\n\006repeat\030\005 " + "\001(\0132\036.yamcs.protobuf.mdb.RepeatInfo\"@\n\025R" + "eferenceLocationType\022\023\n\017CONTAINER_START\020" + "\001\022\022\n\016PREVIOUS_ENTRY\020\002\"D\n\016FixedValueInfo\022" + "\014\n\004name\030\001 \001(\t\022\020\n\010hexValue\030\002 \001(\t\022\022\n\nsizeI" + "nBits\030\003 \001(\005\"\247\002\n\024CommandContainerInfo\022\014\n\004" + "name\030\001 \001(\t\022\025\n\rqualifiedName\030\002 \001(\t\022\030\n\020sho" + "rtDescription\030\003 \001(\t\022\027\n\017longDescription\030\004" + " \001(\t\022,\n\005alias\030\005 \003(\0132\035.yamcs.protobuf.Nam" + "edObjectId\022\022\n\nsizeInBits\030\006 \001(\005\022?\n\rbaseCo" + "ntainer\030\007 \001(\0132(.yamcs.protobuf.mdb.Comma" + "ndContainerInfo\0224\n\005entry\030\010 \003(\0132%.yamcs.p" + "rotobuf.mdb.SequenceEntryInfo\"\237\003\n\rContai" + "nerInfo\022\014\n\004name\030\001 \001(\t\022\025\n\rqualifiedName\030\002" + " \001(\t\022\030\n\020shortDescription\030\003 \001(\t\022\027\n\017longDe" + "scription\030\004 \001(\t\022,\n\005alias\030\005 \003(\0132\035.yamcs.p" + "rotobuf.NamedObjectId\022\023\n\013maxInterval\030\006 \001" + "(\003\022\022\n\nsizeInBits\030\007 \001(\005\0228\n\rbaseContainer\030" + "\010 \001(\0132!.yamcs.protobuf.mdb.ContainerInfo" + "\022?\n\023restrictionCriteria\030\t \003(\0132\".yamcs.pr" + "otobuf.mdb.ComparisonInfo\0224\n\005entry\030\n \003(\013" + "2%.yamcs.protobuf.mdb.SequenceEntryInfo\022" + ".\n\006usedBy\030\013 \001(\0132\036.yamcs.protobuf.mdb.Use" + "dByInfo\"\213\001\n\022InputParameterInfo\0224\n\tparame" + "ter\030\001 \001(\0132!.yamcs.protobuf.mdb.Parameter" + "Info\022\021\n\tinputName\030\002 \001(\t\022\031\n\021parameterInst" + "ance\030\003 \001(\005\022\021\n\tmandatory\030\004 \001(\010\"_\n\023OutputP" + "arameterInfo\0224\n\tparameter\030\001 \001(\0132!.yamcs." + "protobuf.mdb.ParameterInfo\022\022\n\noutputName" + "\030\002 \001(\t\"\216\004\n\rAlgorithmInfo\022\014\n\004name\030\001 \001(\t\022\025" + "\n\rqualifiedName\030\002 \001(\t\022\030\n\020shortDescriptio" + "n\030\003 \001(\t\022\027\n\017longDescription\030\004 \001(\t\022,\n\005alia" + "s\030\005 \003(\0132\035.yamcs.protobuf.NamedObjectId\0226" + "\n\005scope\030\006 \001(\0162\'.yamcs.protobuf.mdb.Algor" + "ithmInfo.Scope\022\020\n\010language\030\007 \001(\t\022\014\n\004text" + "\030\010 \001(\t\022>\n\016inputParameter\030\t \003(\0132&.yamcs.p" + "rotobuf.mdb.InputParameterInfo\022@\n\017output" + "Parameter\030\n \003(\0132\'.yamcs.protobuf.mdb.Out" + "putParameterInfo\022<\n\021onParameterUpdate\030\013 " + "\003(\0132!.yamcs.protobuf.mdb.ParameterInfo\022\026" + "\n\016onPeriodicRate\030\014 \003(\003\"G\n\005Scope\022\n\n\006GLOBA" + "L\020\000\022\030\n\024COMMAND_VERIFICATION\020\001\022\030\n\024CONTAIN" + "ER_PROCESSING\020\002\"`\n\027ListSpaceSystemsReque" + "st\022\020\n\010instance\030\001 \001(\t\022\t\n\001q\030\002 \001(\t\022\014\n\004next\030" + "\007 \001(\t\022\013\n\003pos\030\010 \001(\005\022\r\n\005limit\030\t \001(\005\"s\n\031Lis" + "tParameterTypesRequest\022\020\n\010instance\030\001 \001(\t" + "\022\t\n\001q\030\002 \001(\t\022\017\n\007details\030\004 \001(\010\022\014\n\004next\030\007 \001" + "(\t\022\013\n\003pos\030\010 \001(\005\022\r\n\005limit\030\t \001(\005\"n\n\025ListCo" + "ntainersRequest\022\020\n\010instance\030\001 \001(\t\022\t\n\001q\030\002" + " \001(\t\022\016\n\006system\030\n \001(\t\022\014\n\004next\030\007 \001(\t\022\013\n\003po" + "s\030\010 \001(\005\022\r\n\005limit\030\t \001(\005\"n\n\025ListAlgorithms" + "Request\022\020\n\010instance\030\001 \001(\t\022\t\n\001q\030\002 \001(\t\022\016\n\006" + "system\030\n \001(\t\022\014\n\004next\030\007 \001(\t\022\013\n\003pos\030\010 \001(\005\022" + "\r\n\005limit\030\t \001(\005\"\221\001\n\023ListCommandsRequest\022\020" + "\n\010instance\030\001 \001(\t\022\t\n\001q\030\002 \001(\t\022\016\n\006system\030\013 " + "\001(\t\022\017\n\007details\030\004 \001(\010\022\014\n\004next\030\007 \001(\t\022\013\n\003po" + "s\030\010 \001(\005\022\r\n\005limit\030\t \001(\005\022\022\n\nnoAbstract\030\n \001" + "(\010\"5\n\023GetParameterRequest\022\020\n\010instance\030\001 " + "\001(\t\022\014\n\004name\030\002 \001(\t\"\301\001\n\025ListParametersRequ" + "est\022\020\n\010instance\030\001 \001(\t\022\t\n\001q\030\002 \001(\t\022\017\n\007deta" + "ils\030\004 \001(\010\022\014\n\004type\030\005 \003(\t\0222\n\006source\030\n \001(\0162" + "\".yamcs.protobuf.mdb.DataSourceType\022\016\n\006s" + "ystem\030\013 \001(\t\022\014\n\004next\030\007 \001(\t\022\013\n\003pos\030\010 \001(\005\022\r" + "\n\005limit\030\t \001(\005\"\223\001\n\026ListParametersResponse" + "\022\024\n\014spaceSystems\030\004 \003(\t\0225\n\nparameters\030\001 \003" + "(\0132!.yamcs.protobuf.mdb.ParameterInfo\022\031\n" + "\021continuationToken\030\002 \001(\t\022\021\n\ttotalSize\030\003 " + "\001(\005\"\200\001\n\032ListParameterTypesResponse\0224\n\005ty" + "pes\030\001 \003(\0132%.yamcs.protobuf.mdb.Parameter" + "TypeInfo\022\031\n\021continuationToken\030\002 \001(\t\022\021\n\tt" + "otalSize\030\003 \001(\005\"X\n\031BatchGetParametersRequ" + "est\022\020\n\010instance\030\002 \001(\t\022)\n\002id\030\001 \003(\0132\035.yamc" + "s.protobuf.NamedObjectId\"\354\001\n\032BatchGetPar" + "ametersResponse\022U\n\010response\030\001 \003(\0132C.yamc" + "s.protobuf.mdb.BatchGetParametersRespons" + "e.GetParameterResponse\032w\n\024GetParameterRe" + "sponse\022)\n\002id\030\001 \001(\0132\035.yamcs.protobuf.Name" + "dObjectId\0224\n\tparameter\030\002 \001(\0132!.yamcs.pro" + "tobuf.mdb.ParameterInfo\"\223\001\n\026ListContaine" + "rsResponse\022\024\n\014spaceSystems\030\004 \003(\t\0225\n\ncont" + "ainers\030\001 \003(\0132!.yamcs.protobuf.mdb.Contai" + "nerInfo\022\031\n\021continuationToken\030\002 \001(\t\022\021\n\tto" + "talSize\030\003 \001(\005\"\215\001\n\024ListCommandsResponse\022\024" + "\n\014spaceSystems\030\004 \003(\t\0221\n\010commands\030\001 \003(\0132\037" + ".yamcs.protobuf.mdb.CommandInfo\022\031\n\021conti" + "nuationToken\030\002 \001(\t\022\021\n\ttotalSize\030\003 \001(\005\"\223\001" + "\n\026ListAlgorithmsResponse\022\024\n\014spaceSystems" + "\030\004 \003(\t\0225\n\nalgorithms\030\001 \003(\0132!.yamcs.proto" + "buf.mdb.AlgorithmInfo\022\031\n\021continuationTok" + "en\030\002 \001(\t\022\021\n\ttotalSize\030\003 \001(\005\"5\n\023GetAlgori" + "thmRequest\022\020\n\010instance\030\001 \001(\t\022\014\n\004name\030\002 \001" + "(\t\"-\n\031GetMissionDatabaseRequest\022\020\n\010insta" + "nce\030\001 \001(\t\"4\n ExportJavaMissionDatabaseRe" + "quest\022\020\n\010instance\030\001 \001(\t\"\203\001\n\030ListSpaceSys" + "temsResponse\0229\n\014spaceSystems\030\001 \003(\0132#.yam" + "cs.protobuf.mdb.SpaceSystemInfo\022\031\n\021conti" + "nuationToken\030\002 \001(\t\022\021\n\ttotalSize\030\003 \001(\005\"7\n" + "\025GetSpaceSystemRequest\022\020\n\010instance\030\001 \001(\t" + "\022\014\n\004name\030\002 \001(\t\"3\n\021GetCommandRequest\022\020\n\010i" + "nstance\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\"\336\001\n\017SpaceSys" + "temInfo\022\014\n\004name\030\001 \001(\t\022\025\n\rqualifiedName\030\002" + " \001(\t\022\030\n\020shortDescription\030\003 \001(\t\022\027\n\017longDe" + "scription\030\004 \001(\t\022\017\n\007version\030\005 \001(\t\0220\n\007hist" + "ory\030\016 \003(\0132\037.yamcs.protobuf.mdb.HistoryIn" + "fo\0220\n\003sub\030\017 \003(\0132#.yamcs.protobuf.mdb.Spa" + "ceSystemInfo\"\361\003\n\026ChangeParameterRequest\022" + "E\n\006action\030\001 \001(\01625.yamcs.protobuf.mdb.Cha" + "ngeParameterRequest.ActionType\022=\n\021defaul" + "tCalibrator\030\002 \001(\0132\".yamcs.protobuf.mdb.C" + "alibratorInfo\022D\n\021contextCalibrator\030\003 \003(\013" + "2).yamcs.protobuf.mdb.ContextCalibratorI" + "nfo\0223\n\014defaultAlarm\030\004 \001(\0132\035.yamcs.protob" + "uf.mdb.AlarmInfo\022:\n\014contextAlarm\030\005 \003(\0132$" + ".yamcs.protobuf.mdb.ContextAlarmInfo\"\231\001\n" + "\nActionType\022\t\n\005RESET\020\000\022\025\n\021RESET_CALIBRAT" + "ORS\020\001\022\032\n\026SET_DEFAULT_CALIBRATOR\020\002\022\023\n\017SET" + "_CALIBRATORS\020\003\022\020\n\014RESET_ALARMS\020\004\022\026\n\022SET_" + "DEFAULT_ALARMS\020\005\022\016\n\nSET_ALARMS\020\006\"\267\001\n\026Cha" + "ngeAlgorithmRequest\022E\n\006action\030\001 \001(\01625.ya" + "mcs.protobuf.mdb.ChangeAlgorithmRequest." + "ActionType\0224\n\talgorithm\030\002 \001(\0132!.yamcs.pr" + "otobuf.mdb.AlgorithmInfo\" \n\nActionType\022\t" + "\n\005RESET\020\000\022\007\n\003SET\020\001*\242\001\n\016DataSourceType\022\017\n" + "\013TELEMETERED\020\000\022\013\n\007DERIVED\020\001\022\014\n\010CONSTANT\020" + "\002\022\t\n\005LOCAL\020\003\022\n\n\006SYSTEM\020\004\022\013\n\007COMMAND\020\005\022\023\n" + "\017COMMAND_HISTORY\020\006\022\r\n\tEXTERNAL1\020\007\022\r\n\tEXT" + "ERNAL2\020\010\022\r\n\tEXTERNAL3\020\t*\\\n\016AlarmLevelTyp" + "e\022\n\n\006NORMAL\020\000\022\t\n\005WATCH\020\001\022\013\n\007WARNING\020\002\022\014\n" + "\010DISTRESS\020\003\022\014\n\010CRITICAL\020\004\022\n\n\006SEVERE\020\0052\213\021" + "\n\006MdbApi\022\203\001\n\022GetMissionDatabase\022-.yamcs." + "protobuf.mdb.GetMissionDatabaseRequest\032#" + ".yamcs.protobuf.mdb.MissionDatabase\"\031\212\222\003" + "\025\n\023/api/mdb/{instance}\022\214\001\n\031ExportJavaMis" + "sionDatabase\0224.yamcs.protobuf.mdb.Export" + "JavaMissionDatabaseRequest\032\023.yamcs.api.H" + "ttpBody\"$\212\222\003 \n\036/api/mdb/{instance}:expor" + "tJava\022\226\001\n\020ListSpaceSystems\022+.yamcs.proto" + "buf.mdb.ListSpaceSystemsRequest\032,.yamcs." + "protobuf.mdb.ListSpaceSystemsResponse\"\'\212" + "\222\003#\n!/api/mdb/{instance}/space-systems\022\221" + "\001\n\016GetSpaceSystem\022).yamcs.protobuf.mdb.G" + "etSpaceSystemRequest\032#.yamcs.protobuf.md" + "b.SpaceSystemInfo\"/\212\222\003+\n)/api/mdb/{insta" + "nce}/space-systems/{name*}\022\215\001\n\016ListParam" + "eters\022).yamcs.protobuf.mdb.ListParameter" + "sRequest\032*.yamcs.protobuf.mdb.ListParame" + "tersResponse\"$\212\222\003 \n\036/api/mdb/{instance}/" + "parameters\022\210\001\n\014GetParameter\022\'.yamcs.prot" + "obuf.mdb.GetParameterRequest\032!.yamcs.pro" + "tobuf.mdb.ParameterInfo\",\212\222\003(\n&/api/mdb/" + "{instance}/parameters/{name*}\022\245\001\n\022BatchG" + "etParameters\022-.yamcs.protobuf.mdb.BatchG" + "etParametersRequest\032..yamcs.protobuf.mdb" + ".BatchGetParametersResponse\"0\212\222\003,\032\'/api/" + "mdb/{instance}/parameters:batchGet:\001*\022\236\001" + "\n\022ListParameterTypes\022-.yamcs.protobuf.md" + "b.ListParameterTypesRequest\032..yamcs.prot" + "obuf.mdb.ListParameterTypesResponse\")\212\222\003" + "%\n#/api/mdb/{instance}/parameter-types\022\231" + "\001\n\020GetParameterType\022+.yamcs.protobuf.mdb" + ".GetParameterTypeRequest\032%.yamcs.protobu" + "f.mdb.ParameterTypeInfo\"1\212\222\003-\n+/api/mdb/" + "{instance}/parameter-types/{name*}\022\215\001\n\016L" + "istContainers\022).yamcs.protobuf.mdb.ListC" + "ontainersRequest\032*.yamcs.protobuf.mdb.Li" + "stContainersResponse\"$\212\222\003 \n\036/api/mdb/{in" + "stance}/containers\022\210\001\n\014GetContainer\022\'.ya" + "mcs.protobuf.mdb.GetContainerRequest\032!.y" + "amcs.protobuf.mdb.ContainerInfo\",\212\222\003(\n&/" + "api/mdb/{instance}/containers/{name*}\022\205\001" + "\n\014ListCommands\022\'.yamcs.protobuf.mdb.List" + "CommandsRequest\032(.yamcs.protobuf.mdb.Lis" + "tCommandsResponse\"\"\212\222\003\036\n\034/api/mdb/{insta" + "nce}/commands\022\200\001\n\nGetCommand\022%.yamcs.pro" + "tobuf.mdb.GetCommandRequest\032\037.yamcs.prot" + "obuf.mdb.CommandInfo\"*\212\222\003&\n$/api/mdb/{in" + "stance}/commands/{name*}\022\215\001\n\016ListAlgorit" + "hms\022).yamcs.protobuf.mdb.ListAlgorithmsR" + "equest\032*.yamcs.protobuf.mdb.ListAlgorith" + "msResponse\"$\212\222\003 \n\036/api/mdb/{instance}/al" + "gorithms\022\210\001\n\014GetAlgorithm\022\'.yamcs.protob" + "uf.mdb.GetAlgorithmRequest\032!.yamcs.proto" + "buf.mdb.AlgorithmInfo\",\212\222\003(\n&/api/mdb/{i" + "nstance}/algorithms/{name*}B\024\n\022org.yamcs" + ".protobuf" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.yamcs.api.AnnotationsProto.getDescriptor(), org.yamcs.api.HttpBodyProto.getDescriptor(), org.yamcs.protobuf.Yamcs.getDescriptor(), }, assigner); internal_static_yamcs_protobuf_mdb_MissionDatabase_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_yamcs_protobuf_mdb_MissionDatabase_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_MissionDatabase_descriptor, new java.lang.String[] { "ConfigName", "Name", "Version", "SpaceSystem", "ParameterCount", "ContainerCount", "CommandCount", "AlgorithmCount", "ParameterTypeCount", }); internal_static_yamcs_protobuf_mdb_HistoryInfo_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_yamcs_protobuf_mdb_HistoryInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_HistoryInfo_descriptor, new java.lang.String[] { "Version", "Date", "Message", "Author", }); internal_static_yamcs_protobuf_mdb_UnitInfo_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_yamcs_protobuf_mdb_UnitInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_UnitInfo_descriptor, new java.lang.String[] { "Unit", }); internal_static_yamcs_protobuf_mdb_AlarmRange_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_yamcs_protobuf_mdb_AlarmRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_AlarmRange_descriptor, new java.lang.String[] { "Level", "MinInclusive", "MaxInclusive", "MinExclusive", "MaxExclusive", }); internal_static_yamcs_protobuf_mdb_EnumerationAlarm_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_yamcs_protobuf_mdb_EnumerationAlarm_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_EnumerationAlarm_descriptor, new java.lang.String[] { "Level", "Label", }); internal_static_yamcs_protobuf_mdb_AlarmInfo_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_yamcs_protobuf_mdb_AlarmInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_AlarmInfo_descriptor, new java.lang.String[] { "MinViolations", "StaticAlarmRange", "EnumerationAlarm", }); internal_static_yamcs_protobuf_mdb_ContextAlarmInfo_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_yamcs_protobuf_mdb_ContextAlarmInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ContextAlarmInfo_descriptor, new java.lang.String[] { "Comparison", "Alarm", "Context", }); internal_static_yamcs_protobuf_mdb_DataEncodingInfo_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_yamcs_protobuf_mdb_DataEncodingInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_DataEncodingInfo_descriptor, new java.lang.String[] { "Type", "LittleEndian", "SizeInBits", "Encoding", "DefaultCalibrator", "ContextCalibrator", }); internal_static_yamcs_protobuf_mdb_ContextCalibratorInfo_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_yamcs_protobuf_mdb_ContextCalibratorInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ContextCalibratorInfo_descriptor, new java.lang.String[] { "Comparison", "Calibrator", "Context", }); internal_static_yamcs_protobuf_mdb_CalibratorInfo_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_yamcs_protobuf_mdb_CalibratorInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_CalibratorInfo_descriptor, new java.lang.String[] { "PolynomialCalibrator", "SplineCalibrator", "JavaExpressionCalibrator", "Type", }); internal_static_yamcs_protobuf_mdb_PolynomialCalibratorInfo_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_yamcs_protobuf_mdb_PolynomialCalibratorInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_PolynomialCalibratorInfo_descriptor, new java.lang.String[] { "Coefficient", }); internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_descriptor, new java.lang.String[] { "Point", }); internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_SplinePointInfo_descriptor = internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_descriptor.getNestedTypes().get(0); internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_SplinePointInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_SplineCalibratorInfo_SplinePointInfo_descriptor, new java.lang.String[] { "Raw", "Calibrated", }); internal_static_yamcs_protobuf_mdb_JavaExpressionCalibratorInfo_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_yamcs_protobuf_mdb_JavaExpressionCalibratorInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_JavaExpressionCalibratorInfo_descriptor, new java.lang.String[] { "Formula", }); internal_static_yamcs_protobuf_mdb_EnumValue_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_yamcs_protobuf_mdb_EnumValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_EnumValue_descriptor, new java.lang.String[] { "Value", "Label", }); internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_descriptor, new java.lang.String[] { "EngType", "DataEncoding", "UnitSet", "DefaultAlarm", "EnumValue", "AbsoluteTimeInfo", "ContextAlarm", "Member", "ArrayInfo", }); internal_static_yamcs_protobuf_mdb_GetParameterTypeRequest_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_yamcs_protobuf_mdb_GetParameterTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_GetParameterTypeRequest_descriptor, new java.lang.String[] { "Instance", "Name", }); internal_static_yamcs_protobuf_mdb_GetContainerRequest_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_yamcs_protobuf_mdb_GetContainerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_GetContainerRequest_descriptor, new java.lang.String[] { "Instance", "Name", }); internal_static_yamcs_protobuf_mdb_AbsoluteTimeInfo_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_yamcs_protobuf_mdb_AbsoluteTimeInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_AbsoluteTimeInfo_descriptor, new java.lang.String[] { "InitialValue", "Scale", "Offset", "OffsetFrom", "Epoch", }); internal_static_yamcs_protobuf_mdb_MemberInfo_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_yamcs_protobuf_mdb_MemberInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_MemberInfo_descriptor, new java.lang.String[] { "Name", "QualifiedName", "ShortDescription", "LongDescription", "Alias", "Type", }); internal_static_yamcs_protobuf_mdb_ArrayInfo_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_yamcs_protobuf_mdb_ArrayInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ArrayInfo_descriptor, new java.lang.String[] { "Type", "Dimensions", }); internal_static_yamcs_protobuf_mdb_UsedByInfo_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_yamcs_protobuf_mdb_UsedByInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_UsedByInfo_descriptor, new java.lang.String[] { "Algorithm", "Container", }); internal_static_yamcs_protobuf_mdb_ParameterInfo_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_yamcs_protobuf_mdb_ParameterInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ParameterInfo_descriptor, new java.lang.String[] { "Name", "QualifiedName", "ShortDescription", "LongDescription", "Alias", "Type", "DataSource", "UsedBy", }); internal_static_yamcs_protobuf_mdb_ArgumentTypeInfo_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_yamcs_protobuf_mdb_ArgumentTypeInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ArgumentTypeInfo_descriptor, new java.lang.String[] { "EngType", "DataEncoding", "UnitSet", "EnumValue", "RangeMin", "RangeMax", }); internal_static_yamcs_protobuf_mdb_ArgumentInfo_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_yamcs_protobuf_mdb_ArgumentInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ArgumentInfo_descriptor, new java.lang.String[] { "Name", "Description", "InitialValue", "Type", }); internal_static_yamcs_protobuf_mdb_ArgumentAssignmentInfo_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_yamcs_protobuf_mdb_ArgumentAssignmentInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ArgumentAssignmentInfo_descriptor, new java.lang.String[] { "Name", "Value", }); internal_static_yamcs_protobuf_mdb_SignificanceInfo_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_yamcs_protobuf_mdb_SignificanceInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_SignificanceInfo_descriptor, new java.lang.String[] { "ConsequenceLevel", "ReasonForWarning", }); internal_static_yamcs_protobuf_mdb_ComparisonInfo_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_yamcs_protobuf_mdb_ComparisonInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ComparisonInfo_descriptor, new java.lang.String[] { "Parameter", "Operator", "Value", }); internal_static_yamcs_protobuf_mdb_TransmissionConstraintInfo_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_yamcs_protobuf_mdb_TransmissionConstraintInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_TransmissionConstraintInfo_descriptor, new java.lang.String[] { "Comparison", "Timeout", }); internal_static_yamcs_protobuf_mdb_CommandInfo_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_yamcs_protobuf_mdb_CommandInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_CommandInfo_descriptor, new java.lang.String[] { "Name", "QualifiedName", "ShortDescription", "LongDescription", "Alias", "BaseCommand", "Abstract", "Argument", "ArgumentAssignment", "Significance", "Constraint", "CommandContainer", "Verifier", }); internal_static_yamcs_protobuf_mdb_VerifierInfo_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_yamcs_protobuf_mdb_VerifierInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_VerifierInfo_descriptor, new java.lang.String[] { "Stage", "Container", "Algorithm", "OnSuccess", "OnFail", "OnTimeout", "CheckWindow", }); internal_static_yamcs_protobuf_mdb_CheckWindowInfo_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_yamcs_protobuf_mdb_CheckWindowInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_CheckWindowInfo_descriptor, new java.lang.String[] { "TimeToStartChecking", "TimeToStopChecking", "RelativeTo", }); internal_static_yamcs_protobuf_mdb_RepeatInfo_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_yamcs_protobuf_mdb_RepeatInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_RepeatInfo_descriptor, new java.lang.String[] { "FixedCount", "DynamicCount", "BitsBetween", }); internal_static_yamcs_protobuf_mdb_SequenceEntryInfo_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_yamcs_protobuf_mdb_SequenceEntryInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_SequenceEntryInfo_descriptor, new java.lang.String[] { "LocationInBits", "ReferenceLocation", "Container", "Parameter", "Argument", "FixedValue", "Repeat", }); internal_static_yamcs_protobuf_mdb_FixedValueInfo_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_yamcs_protobuf_mdb_FixedValueInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_FixedValueInfo_descriptor, new java.lang.String[] { "Name", "HexValue", "SizeInBits", }); internal_static_yamcs_protobuf_mdb_CommandContainerInfo_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_yamcs_protobuf_mdb_CommandContainerInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_CommandContainerInfo_descriptor, new java.lang.String[] { "Name", "QualifiedName", "ShortDescription", "LongDescription", "Alias", "SizeInBits", "BaseContainer", "Entry", }); internal_static_yamcs_protobuf_mdb_ContainerInfo_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_yamcs_protobuf_mdb_ContainerInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ContainerInfo_descriptor, new java.lang.String[] { "Name", "QualifiedName", "ShortDescription", "LongDescription", "Alias", "MaxInterval", "SizeInBits", "BaseContainer", "RestrictionCriteria", "Entry", "UsedBy", }); internal_static_yamcs_protobuf_mdb_InputParameterInfo_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_yamcs_protobuf_mdb_InputParameterInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_InputParameterInfo_descriptor, new java.lang.String[] { "Parameter", "InputName", "ParameterInstance", "Mandatory", }); internal_static_yamcs_protobuf_mdb_OutputParameterInfo_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_yamcs_protobuf_mdb_OutputParameterInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_OutputParameterInfo_descriptor, new java.lang.String[] { "Parameter", "OutputName", }); internal_static_yamcs_protobuf_mdb_AlgorithmInfo_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_yamcs_protobuf_mdb_AlgorithmInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_AlgorithmInfo_descriptor, new java.lang.String[] { "Name", "QualifiedName", "ShortDescription", "LongDescription", "Alias", "Scope", "Language", "Text", "InputParameter", "OutputParameter", "OnParameterUpdate", "OnPeriodicRate", }); internal_static_yamcs_protobuf_mdb_ListSpaceSystemsRequest_descriptor = getDescriptor().getMessageTypes().get(39); internal_static_yamcs_protobuf_mdb_ListSpaceSystemsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListSpaceSystemsRequest_descriptor, new java.lang.String[] { "Instance", "Q", "Next", "Pos", "Limit", }); internal_static_yamcs_protobuf_mdb_ListParameterTypesRequest_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_yamcs_protobuf_mdb_ListParameterTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListParameterTypesRequest_descriptor, new java.lang.String[] { "Instance", "Q", "Details", "Next", "Pos", "Limit", }); internal_static_yamcs_protobuf_mdb_ListContainersRequest_descriptor = getDescriptor().getMessageTypes().get(41); internal_static_yamcs_protobuf_mdb_ListContainersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListContainersRequest_descriptor, new java.lang.String[] { "Instance", "Q", "System", "Next", "Pos", "Limit", }); internal_static_yamcs_protobuf_mdb_ListAlgorithmsRequest_descriptor = getDescriptor().getMessageTypes().get(42); internal_static_yamcs_protobuf_mdb_ListAlgorithmsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListAlgorithmsRequest_descriptor, new java.lang.String[] { "Instance", "Q", "System", "Next", "Pos", "Limit", }); internal_static_yamcs_protobuf_mdb_ListCommandsRequest_descriptor = getDescriptor().getMessageTypes().get(43); internal_static_yamcs_protobuf_mdb_ListCommandsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListCommandsRequest_descriptor, new java.lang.String[] { "Instance", "Q", "System", "Details", "Next", "Pos", "Limit", "NoAbstract", }); internal_static_yamcs_protobuf_mdb_GetParameterRequest_descriptor = getDescriptor().getMessageTypes().get(44); internal_static_yamcs_protobuf_mdb_GetParameterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_GetParameterRequest_descriptor, new java.lang.String[] { "Instance", "Name", }); internal_static_yamcs_protobuf_mdb_ListParametersRequest_descriptor = getDescriptor().getMessageTypes().get(45); internal_static_yamcs_protobuf_mdb_ListParametersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListParametersRequest_descriptor, new java.lang.String[] { "Instance", "Q", "Details", "Type", "Source", "System", "Next", "Pos", "Limit", }); internal_static_yamcs_protobuf_mdb_ListParametersResponse_descriptor = getDescriptor().getMessageTypes().get(46); internal_static_yamcs_protobuf_mdb_ListParametersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListParametersResponse_descriptor, new java.lang.String[] { "SpaceSystems", "Parameters", "ContinuationToken", "TotalSize", }); internal_static_yamcs_protobuf_mdb_ListParameterTypesResponse_descriptor = getDescriptor().getMessageTypes().get(47); internal_static_yamcs_protobuf_mdb_ListParameterTypesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListParameterTypesResponse_descriptor, new java.lang.String[] { "Types", "ContinuationToken", "TotalSize", }); internal_static_yamcs_protobuf_mdb_BatchGetParametersRequest_descriptor = getDescriptor().getMessageTypes().get(48); internal_static_yamcs_protobuf_mdb_BatchGetParametersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_BatchGetParametersRequest_descriptor, new java.lang.String[] { "Instance", "Id", }); internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_descriptor = getDescriptor().getMessageTypes().get(49); internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_descriptor, new java.lang.String[] { "Response", }); internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_GetParameterResponse_descriptor = internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_descriptor.getNestedTypes().get(0); internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_GetParameterResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_BatchGetParametersResponse_GetParameterResponse_descriptor, new java.lang.String[] { "Id", "Parameter", }); internal_static_yamcs_protobuf_mdb_ListContainersResponse_descriptor = getDescriptor().getMessageTypes().get(50); internal_static_yamcs_protobuf_mdb_ListContainersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListContainersResponse_descriptor, new java.lang.String[] { "SpaceSystems", "Containers", "ContinuationToken", "TotalSize", }); internal_static_yamcs_protobuf_mdb_ListCommandsResponse_descriptor = getDescriptor().getMessageTypes().get(51); internal_static_yamcs_protobuf_mdb_ListCommandsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListCommandsResponse_descriptor, new java.lang.String[] { "SpaceSystems", "Commands", "ContinuationToken", "TotalSize", }); internal_static_yamcs_protobuf_mdb_ListAlgorithmsResponse_descriptor = getDescriptor().getMessageTypes().get(52); internal_static_yamcs_protobuf_mdb_ListAlgorithmsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListAlgorithmsResponse_descriptor, new java.lang.String[] { "SpaceSystems", "Algorithms", "ContinuationToken", "TotalSize", }); internal_static_yamcs_protobuf_mdb_GetAlgorithmRequest_descriptor = getDescriptor().getMessageTypes().get(53); internal_static_yamcs_protobuf_mdb_GetAlgorithmRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_GetAlgorithmRequest_descriptor, new java.lang.String[] { "Instance", "Name", }); internal_static_yamcs_protobuf_mdb_GetMissionDatabaseRequest_descriptor = getDescriptor().getMessageTypes().get(54); internal_static_yamcs_protobuf_mdb_GetMissionDatabaseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_GetMissionDatabaseRequest_descriptor, new java.lang.String[] { "Instance", }); internal_static_yamcs_protobuf_mdb_ExportJavaMissionDatabaseRequest_descriptor = getDescriptor().getMessageTypes().get(55); internal_static_yamcs_protobuf_mdb_ExportJavaMissionDatabaseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ExportJavaMissionDatabaseRequest_descriptor, new java.lang.String[] { "Instance", }); internal_static_yamcs_protobuf_mdb_ListSpaceSystemsResponse_descriptor = getDescriptor().getMessageTypes().get(56); internal_static_yamcs_protobuf_mdb_ListSpaceSystemsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListSpaceSystemsResponse_descriptor, new java.lang.String[] { "SpaceSystems", "ContinuationToken", "TotalSize", }); internal_static_yamcs_protobuf_mdb_GetSpaceSystemRequest_descriptor = getDescriptor().getMessageTypes().get(57); internal_static_yamcs_protobuf_mdb_GetSpaceSystemRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_GetSpaceSystemRequest_descriptor, new java.lang.String[] { "Instance", "Name", }); internal_static_yamcs_protobuf_mdb_GetCommandRequest_descriptor = getDescriptor().getMessageTypes().get(58); internal_static_yamcs_protobuf_mdb_GetCommandRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_GetCommandRequest_descriptor, new java.lang.String[] { "Instance", "Name", }); internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_descriptor = getDescriptor().getMessageTypes().get(59); internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_descriptor, new java.lang.String[] { "Name", "QualifiedName", "ShortDescription", "LongDescription", "Version", "History", "Sub", }); internal_static_yamcs_protobuf_mdb_ChangeParameterRequest_descriptor = getDescriptor().getMessageTypes().get(60); internal_static_yamcs_protobuf_mdb_ChangeParameterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ChangeParameterRequest_descriptor, new java.lang.String[] { "Action", "DefaultCalibrator", "ContextCalibrator", "DefaultAlarm", "ContextAlarm", }); internal_static_yamcs_protobuf_mdb_ChangeAlgorithmRequest_descriptor = getDescriptor().getMessageTypes().get(61); internal_static_yamcs_protobuf_mdb_ChangeAlgorithmRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ChangeAlgorithmRequest_descriptor, new java.lang.String[] { "Action", "Algorithm", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(org.yamcs.api.AnnotationsProto.route); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); org.yamcs.api.AnnotationsProto.getDescriptor(); org.yamcs.api.HttpBodyProto.getDescriptor(); org.yamcs.protobuf.Yamcs.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy