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.9
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),
    /**
     * GROUND = 10;
     */
    GROUND(10),
    ;

    /**
     * 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;
    /**
     * GROUND = 10;
     */
    public static final int GROUND_VALUE = 10;


    public final int getNumber() {
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static DataSourceType valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static 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;
        case 10: return GROUND;
        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;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static AlarmLevelType valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static 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; * @return Whether the configName field is set. */ boolean hasConfigName(); /** *
     * This is the config section in mdb.yaml
     * 
* * optional string configName = 1; * @return The configName. */ java.lang.String getConfigName(); /** *
     * This is the config section in mdb.yaml
     * 
* * optional string configName = 1; * @return The bytes for configName. */ com.google.protobuf.ByteString getConfigNameBytes(); /** *
     * Root space-system name
     * 
* * optional string name = 2; * @return Whether the name field is set. */ boolean hasName(); /** *
     * Root space-system name
     * 
* * optional string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * Root space-system name
     * 
* * optional string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Root space-system header version
     * 
* * optional string version = 3; * @return Whether the version field is set. */ boolean hasVersion(); /** *
     * Root space-system header version
     * 
* * optional string version = 3; * @return The version. */ java.lang.String getVersion(); /** *
     * Root space-system header version
     * 
* * optional string version = 3; * @return The bytes for version. */ com.google.protobuf.ByteString getVersionBytes(); /** *
     * Deprecated, use ``spaceSystems`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated java.util.List getSpaceSystemList(); /** *
     * Deprecated, use ``spaceSystems`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystem(int index); /** *
     * Deprecated, use ``spaceSystems`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated int getSpaceSystemCount(); /** *
     * Deprecated, use ``spaceSystems`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated java.util.List getSpaceSystemOrBuilderList(); /** *
     * Deprecated, use ``spaceSystems`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ java.util.List getSpaceSystemsList(); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystems(int index); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ int getSpaceSystemsCount(); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ java.util.List getSpaceSystemsOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemsOrBuilder( int index); /** * optional int32 parameterCount = 6; * @return Whether the parameterCount field is set. */ boolean hasParameterCount(); /** * optional int32 parameterCount = 6; * @return The parameterCount. */ int getParameterCount(); /** * optional int32 containerCount = 7; * @return Whether the containerCount field is set. */ boolean hasContainerCount(); /** * optional int32 containerCount = 7; * @return The containerCount. */ int getContainerCount(); /** * optional int32 commandCount = 8; * @return Whether the commandCount field is set. */ boolean hasCommandCount(); /** * optional int32 commandCount = 8; * @return The commandCount. */ int getCommandCount(); /** * optional int32 algorithmCount = 9; * @return Whether the algorithmCount field is set. */ boolean hasAlgorithmCount(); /** * optional int32 algorithmCount = 9; * @return The algorithmCount. */ int getAlgorithmCount(); /** * optional int32 parameterTypeCount = 10; * @return Whether the parameterTypeCount field is set. */ boolean hasParameterTypeCount(); /** * optional int32 parameterTypeCount = 10; * @return The parameterTypeCount. */ 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(); spaceSystems_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MissionDatabase(); } @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; } case 90: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { spaceSystems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } spaceSystems_.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_ & 0x00000008) != 0)) { spaceSystem_ = java.util.Collections.unmodifiableList(spaceSystem_); } if (((mutable_bitField0_ & 0x00000010) != 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_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; * @return Whether the configName field is set. */ @java.lang.Override public boolean hasConfigName() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * This is the config section in mdb.yaml
     * 
* * optional string configName = 1; * @return The configName. */ @java.lang.Override 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; * @return The bytes for configName. */ @java.lang.Override 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_; /** *
     * Root space-system name
     * 
* * optional string name = 2; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Root space-system name
     * 
* * optional string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * Root space-system name
     * 
* * optional string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object version_; /** *
     * Root space-system header version
     * 
* * optional string version = 3; * @return Whether the version field is set. */ @java.lang.Override public boolean hasVersion() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Root space-system header version
     * 
* * optional string version = 3; * @return The version. */ @java.lang.Override 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; } } /** *
     * Root space-system header version
     * 
* * optional string version = 3; * @return The bytes for version. */ @java.lang.Override 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_; /** *
     * Deprecated, use ``spaceSystems`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getSpaceSystemList() { return spaceSystem_; } /** *
     * Deprecated, use ``spaceSystems`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getSpaceSystemOrBuilderList() { return spaceSystem_; } /** *
     * Deprecated, use ``spaceSystems`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public int getSpaceSystemCount() { return spaceSystem_.size(); } /** *
     * Deprecated, use ``spaceSystems`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystem(int index) { return spaceSystem_.get(index); } /** *
     * Deprecated, use ``spaceSystems`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemOrBuilder( int index) { return spaceSystem_.get(index); } public static final int SPACESYSTEMS_FIELD_NUMBER = 11; private java.util.List spaceSystems_; /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ @java.lang.Override public java.util.List getSpaceSystemsList() { return spaceSystems_; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ @java.lang.Override public java.util.List getSpaceSystemsOrBuilderList() { return spaceSystems_; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ @java.lang.Override public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystems(int index) { return spaceSystems_.get(index); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemsOrBuilder( int index) { return spaceSystems_.get(index); } public static final int PARAMETERCOUNT_FIELD_NUMBER = 6; private int parameterCount_; /** * optional int32 parameterCount = 6; * @return Whether the parameterCount field is set. */ @java.lang.Override public boolean hasParameterCount() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 parameterCount = 6; * @return The parameterCount. */ @java.lang.Override public int getParameterCount() { return parameterCount_; } public static final int CONTAINERCOUNT_FIELD_NUMBER = 7; private int containerCount_; /** * optional int32 containerCount = 7; * @return Whether the containerCount field is set. */ @java.lang.Override public boolean hasContainerCount() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 containerCount = 7; * @return The containerCount. */ @java.lang.Override public int getContainerCount() { return containerCount_; } public static final int COMMANDCOUNT_FIELD_NUMBER = 8; private int commandCount_; /** * optional int32 commandCount = 8; * @return Whether the commandCount field is set. */ @java.lang.Override public boolean hasCommandCount() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 commandCount = 8; * @return The commandCount. */ @java.lang.Override public int getCommandCount() { return commandCount_; } public static final int ALGORITHMCOUNT_FIELD_NUMBER = 9; private int algorithmCount_; /** * optional int32 algorithmCount = 9; * @return Whether the algorithmCount field is set. */ @java.lang.Override public boolean hasAlgorithmCount() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int32 algorithmCount = 9; * @return The algorithmCount. */ @java.lang.Override public int getAlgorithmCount() { return algorithmCount_; } public static final int PARAMETERTYPECOUNT_FIELD_NUMBER = 10; private int parameterTypeCount_; /** * optional int32 parameterTypeCount = 10; * @return Whether the parameterTypeCount field is set. */ @java.lang.Override public boolean hasParameterTypeCount() { return ((bitField0_ & 0x00000080) != 0); } /** * optional int32 parameterTypeCount = 10; * @return The parameterTypeCount. */ @java.lang.Override 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; for (int i = 0; i < getSpaceSystemCount(); i++) { if (!getSpaceSystem(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getSpaceSystemsCount(); i++) { if (!getSpaceSystems(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, 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_); } for (int i = 0; i < spaceSystems_.size(); i++) { output.writeMessage(11, spaceSystems_.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, 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_); } for (int i = 0; i < spaceSystems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, spaceSystems_.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.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 (!getSpaceSystemsList() .equals(other.getSpaceSystemsList())) 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 (getSpaceSystemsCount() > 0) { hash = (37 * hash) + SPACESYSTEMS_FIELD_NUMBER; hash = (53 * hash) + getSpaceSystemsList().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(); getSpaceSystemsFieldBuilder(); } } @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(); } if (spaceSystemsBuilder_ == null) { spaceSystems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { spaceSystemsBuilder_.clear(); } parameterCount_ = 0; bitField0_ = (bitField0_ & ~0x00000020); containerCount_ = 0; bitField0_ = (bitField0_ & ~0x00000040); commandCount_ = 0; bitField0_ = (bitField0_ & ~0x00000080); algorithmCount_ = 0; bitField0_ = (bitField0_ & ~0x00000100); parameterTypeCount_ = 0; bitField0_ = (bitField0_ & ~0x00000200); 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 (spaceSystemsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { spaceSystems_ = java.util.Collections.unmodifiableList(spaceSystems_); bitField0_ = (bitField0_ & ~0x00000010); } result.spaceSystems_ = spaceSystems_; } else { result.spaceSystems_ = spaceSystemsBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.parameterCount_ = parameterCount_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000040) != 0)) { result.containerCount_ = containerCount_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000080) != 0)) { result.commandCount_ = commandCount_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000100) != 0)) { result.algorithmCount_ = algorithmCount_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000200) != 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 (spaceSystemsBuilder_ == null) { if (!other.spaceSystems_.isEmpty()) { if (spaceSystems_.isEmpty()) { spaceSystems_ = other.spaceSystems_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureSpaceSystemsIsMutable(); spaceSystems_.addAll(other.spaceSystems_); } onChanged(); } } else { if (!other.spaceSystems_.isEmpty()) { if (spaceSystemsBuilder_.isEmpty()) { spaceSystemsBuilder_.dispose(); spaceSystemsBuilder_ = null; spaceSystems_ = other.spaceSystems_; bitField0_ = (bitField0_ & ~0x00000010); spaceSystemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSpaceSystemsFieldBuilder() : null; } else { spaceSystemsBuilder_.addAllMessages(other.spaceSystems_); } } } 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() { for (int i = 0; i < getSpaceSystemCount(); i++) { if (!getSpaceSystem(i).isInitialized()) { return false; } } for (int i = 0; i < getSpaceSystemsCount(); i++) { if (!getSpaceSystems(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.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; * @return Whether the configName field is set. */ public boolean hasConfigName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * This is the config section in mdb.yaml
       * 
* * optional string configName = 1; * @return The configName. */ 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; * @return The bytes for configName. */ 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; * @param value The configName to set. * @return This builder for chaining. */ 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; * @return This builder for chaining. */ public Builder clearConfigName() { bitField0_ = (bitField0_ & ~0x00000001); configName_ = getDefaultInstance().getConfigName(); onChanged(); return this; } /** *
       * This is the config section in mdb.yaml
       * 
* * optional string configName = 1; * @param value The bytes for configName to set. * @return This builder for chaining. */ 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_ = ""; /** *
       * Root space-system name
       * 
* * optional string name = 2; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Root space-system name
       * 
* * optional string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Root space-system name
       * 
* * optional string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Root space-system name
       * 
* * optional string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       * Root space-system name
       * 
* * optional string name = 2; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Root space-system name
       * 
* * optional string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } private java.lang.Object version_ = ""; /** *
       * Root space-system header version
       * 
* * optional string version = 3; * @return Whether the version field is set. */ public boolean hasVersion() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Root space-system header version
       * 
* * optional string version = 3; * @return The version. */ 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; } } /** *
       * Root space-system header version
       * 
* * optional string version = 3; * @return The bytes for version. */ 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; } } /** *
       * Root space-system header version
       * 
* * optional string version = 3; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; version_ = value; onChanged(); return this; } /** *
       * Root space-system header version
       * 
* * optional string version = 3; * @return This builder for chaining. */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000004); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** *
       * Root space-system header version
       * 
* * optional string version = 3; * @param value The bytes for version to set. * @return This builder for chaining. */ 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_; /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated public java.util.List getSpaceSystemList() { if (spaceSystemBuilder_ == null) { return java.util.Collections.unmodifiableList(spaceSystem_); } else { return spaceSystemBuilder_.getMessageList(); } } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated public int getSpaceSystemCount() { if (spaceSystemBuilder_ == null) { return spaceSystem_.size(); } else { return spaceSystemBuilder_.getCount(); } } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystem(int index) { if (spaceSystemBuilder_ == null) { return spaceSystem_.get(index); } else { return spaceSystemBuilder_.getMessage(index); } } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder clearSpaceSystem() { if (spaceSystemBuilder_ == null) { spaceSystem_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { spaceSystemBuilder_.clear(); } return this; } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder removeSpaceSystem(int index) { if (spaceSystemBuilder_ == null) { ensureSpaceSystemIsMutable(); spaceSystem_.remove(index); onChanged(); } else { spaceSystemBuilder_.remove(index); } return this; } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder getSpaceSystemBuilder( int index) { return getSpaceSystemFieldBuilder().getBuilder(index); } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemOrBuilder( int index) { if (spaceSystemBuilder_ == null) { return spaceSystem_.get(index); } else { return spaceSystemBuilder_.getMessageOrBuilder(index); } } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated public java.util.List getSpaceSystemOrBuilderList() { if (spaceSystemBuilder_ != null) { return spaceSystemBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(spaceSystem_); } } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSpaceSystemBuilder() { return getSpaceSystemFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSpaceSystemBuilder( int index) { return getSpaceSystemFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** *
       * Deprecated, use ``spaceSystems`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 4 [deprecated = true]; */ @java.lang.Deprecated 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 java.util.List spaceSystems_ = java.util.Collections.emptyList(); private void ensureSpaceSystemsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { spaceSystems_ = new java.util.ArrayList(spaceSystems_); bitField0_ |= 0x00000010; } } 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 = 11; */ public java.util.List getSpaceSystemsList() { if (spaceSystemsBuilder_ == null) { return java.util.Collections.unmodifiableList(spaceSystems_); } else { return spaceSystemsBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ public int getSpaceSystemsCount() { if (spaceSystemsBuilder_ == null) { return spaceSystems_.size(); } else { return spaceSystemsBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ 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 = 11; */ 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 = 11; */ 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 = 11; */ 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 = 11; */ 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 = 11; */ 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 = 11; */ 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 = 11; */ 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 = 11; */ public Builder clearSpaceSystems() { if (spaceSystemsBuilder_ == null) { spaceSystems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { spaceSystemsBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ 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 = 11; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder getSpaceSystemsBuilder( int index) { return getSpaceSystemsFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ 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 = 11; */ public java.util.List getSpaceSystemsOrBuilderList() { if (spaceSystemsBuilder_ != null) { return spaceSystemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(spaceSystems_); } } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSpaceSystemsBuilder() { return getSpaceSystemsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 11; */ 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 = 11; */ 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_ & 0x00000010) != 0), getParentForChildren(), isClean()); spaceSystems_ = null; } return spaceSystemsBuilder_; } private int parameterCount_ ; /** * optional int32 parameterCount = 6; * @return Whether the parameterCount field is set. */ @java.lang.Override public boolean hasParameterCount() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 parameterCount = 6; * @return The parameterCount. */ @java.lang.Override public int getParameterCount() { return parameterCount_; } /** * optional int32 parameterCount = 6; * @param value The parameterCount to set. * @return This builder for chaining. */ public Builder setParameterCount(int value) { bitField0_ |= 0x00000020; parameterCount_ = value; onChanged(); return this; } /** * optional int32 parameterCount = 6; * @return This builder for chaining. */ public Builder clearParameterCount() { bitField0_ = (bitField0_ & ~0x00000020); parameterCount_ = 0; onChanged(); return this; } private int containerCount_ ; /** * optional int32 containerCount = 7; * @return Whether the containerCount field is set. */ @java.lang.Override public boolean hasContainerCount() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int32 containerCount = 7; * @return The containerCount. */ @java.lang.Override public int getContainerCount() { return containerCount_; } /** * optional int32 containerCount = 7; * @param value The containerCount to set. * @return This builder for chaining. */ public Builder setContainerCount(int value) { bitField0_ |= 0x00000040; containerCount_ = value; onChanged(); return this; } /** * optional int32 containerCount = 7; * @return This builder for chaining. */ public Builder clearContainerCount() { bitField0_ = (bitField0_ & ~0x00000040); containerCount_ = 0; onChanged(); return this; } private int commandCount_ ; /** * optional int32 commandCount = 8; * @return Whether the commandCount field is set. */ @java.lang.Override public boolean hasCommandCount() { return ((bitField0_ & 0x00000080) != 0); } /** * optional int32 commandCount = 8; * @return The commandCount. */ @java.lang.Override public int getCommandCount() { return commandCount_; } /** * optional int32 commandCount = 8; * @param value The commandCount to set. * @return This builder for chaining. */ public Builder setCommandCount(int value) { bitField0_ |= 0x00000080; commandCount_ = value; onChanged(); return this; } /** * optional int32 commandCount = 8; * @return This builder for chaining. */ public Builder clearCommandCount() { bitField0_ = (bitField0_ & ~0x00000080); commandCount_ = 0; onChanged(); return this; } private int algorithmCount_ ; /** * optional int32 algorithmCount = 9; * @return Whether the algorithmCount field is set. */ @java.lang.Override public boolean hasAlgorithmCount() { return ((bitField0_ & 0x00000100) != 0); } /** * optional int32 algorithmCount = 9; * @return The algorithmCount. */ @java.lang.Override public int getAlgorithmCount() { return algorithmCount_; } /** * optional int32 algorithmCount = 9; * @param value The algorithmCount to set. * @return This builder for chaining. */ public Builder setAlgorithmCount(int value) { bitField0_ |= 0x00000100; algorithmCount_ = value; onChanged(); return this; } /** * optional int32 algorithmCount = 9; * @return This builder for chaining. */ public Builder clearAlgorithmCount() { bitField0_ = (bitField0_ & ~0x00000100); algorithmCount_ = 0; onChanged(); return this; } private int parameterTypeCount_ ; /** * optional int32 parameterTypeCount = 10; * @return Whether the parameterTypeCount field is set. */ @java.lang.Override public boolean hasParameterTypeCount() { return ((bitField0_ & 0x00000200) != 0); } /** * optional int32 parameterTypeCount = 10; * @return The parameterTypeCount. */ @java.lang.Override public int getParameterTypeCount() { return parameterTypeCount_; } /** * optional int32 parameterTypeCount = 10; * @param value The parameterTypeCount to set. * @return This builder for chaining. */ public Builder setParameterTypeCount(int value) { bitField0_ |= 0x00000200; parameterTypeCount_ = value; onChanged(); return this; } /** * optional int32 parameterTypeCount = 10; * @return This builder for chaining. */ public Builder clearParameterTypeCount() { bitField0_ = (bitField0_ & ~0x00000200); 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; * @return Whether the version field is set. */ boolean hasVersion(); /** * optional string version = 1; * @return The version. */ java.lang.String getVersion(); /** * optional string version = 1; * @return The bytes for version. */ com.google.protobuf.ByteString getVersionBytes(); /** * optional string date = 2; * @return Whether the date field is set. */ boolean hasDate(); /** * optional string date = 2; * @return The date. */ java.lang.String getDate(); /** * optional string date = 2; * @return The bytes for date. */ com.google.protobuf.ByteString getDateBytes(); /** * optional string message = 3; * @return Whether the message field is set. */ boolean hasMessage(); /** * optional string message = 3; * @return The message. */ java.lang.String getMessage(); /** * optional string message = 3; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); /** * optional string author = 4; * @return Whether the author field is set. */ boolean hasAuthor(); /** * optional string author = 4; * @return The author. */ java.lang.String getAuthor(); /** * optional string author = 4; * @return The bytes for author. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HistoryInfo(); } @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; * @return Whether the version field is set. */ @java.lang.Override public boolean hasVersion() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string version = 1; * @return The version. */ @java.lang.Override 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; * @return The bytes for version. */ @java.lang.Override 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; * @return Whether the date field is set. */ @java.lang.Override public boolean hasDate() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string date = 2; * @return The date. */ @java.lang.Override 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; * @return The bytes for date. */ @java.lang.Override 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; * @return Whether the message field is set. */ @java.lang.Override public boolean hasMessage() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string message = 3; * @return The message. */ @java.lang.Override 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; * @return The bytes for message. */ @java.lang.Override 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; * @return Whether the author field is set. */ @java.lang.Override public boolean hasAuthor() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string author = 4; * @return The author. */ @java.lang.Override 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; * @return The bytes for author. */ @java.lang.Override 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; * @return Whether the version field is set. */ public boolean hasVersion() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string version = 1; * @return The version. */ 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; * @return The bytes for version. */ 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; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; version_ = value; onChanged(); return this; } /** * optional string version = 1; * @return This builder for chaining. */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000001); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * optional string version = 1; * @param value The bytes for version to set. * @return This builder for chaining. */ 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; * @return Whether the date field is set. */ public boolean hasDate() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string date = 2; * @return The date. */ 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; * @return The bytes for date. */ 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; * @param value The date to set. * @return This builder for chaining. */ public Builder setDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; date_ = value; onChanged(); return this; } /** * optional string date = 2; * @return This builder for chaining. */ public Builder clearDate() { bitField0_ = (bitField0_ & ~0x00000002); date_ = getDefaultInstance().getDate(); onChanged(); return this; } /** * optional string date = 2; * @param value The bytes for date to set. * @return This builder for chaining. */ 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; * @return Whether the message field is set. */ public boolean hasMessage() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string message = 3; * @return The message. */ 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; * @return The bytes for message. */ 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; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; message_ = value; onChanged(); return this; } /** * optional string message = 3; * @return This builder for chaining. */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000004); message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * optional string message = 3; * @param value The bytes for message to set. * @return This builder for chaining. */ 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; * @return Whether the author field is set. */ public boolean hasAuthor() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string author = 4; * @return The author. */ 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; * @return The bytes for author. */ 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; * @param value The author to set. * @return This builder for chaining. */ public Builder setAuthor( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; author_ = value; onChanged(); return this; } /** * optional string author = 4; * @return This builder for chaining. */ public Builder clearAuthor() { bitField0_ = (bitField0_ & ~0x00000008); author_ = getDefaultInstance().getAuthor(); onChanged(); return this; } /** * optional string author = 4; * @param value The bytes for author to set. * @return This builder for chaining. */ 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; * @return Whether the unit field is set. */ boolean hasUnit(); /** * optional string unit = 1; * @return The unit. */ java.lang.String getUnit(); /** * optional string unit = 1; * @return The bytes for unit. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UnitInfo(); } @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; * @return Whether the unit field is set. */ @java.lang.Override public boolean hasUnit() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string unit = 1; * @return The unit. */ @java.lang.Override 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; * @return The bytes for unit. */ @java.lang.Override 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; * @return Whether the unit field is set. */ public boolean hasUnit() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string unit = 1; * @return The unit. */ 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; * @return The bytes for unit. */ 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; * @param value The unit to set. * @return This builder for chaining. */ public Builder setUnit( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; unit_ = value; onChanged(); return this; } /** * optional string unit = 1; * @return This builder for chaining. */ public Builder clearUnit() { bitField0_ = (bitField0_ & ~0x00000001); unit_ = getDefaultInstance().getUnit(); onChanged(); return this; } /** * optional string unit = 1; * @param value The bytes for unit to set. * @return This builder for chaining. */ 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; * @return Whether the level field is set. */ boolean hasLevel(); /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; * @return The level. */ org.yamcs.protobuf.Mdb.AlarmLevelType getLevel(); /** * optional double minInclusive = 2; * @return Whether the minInclusive field is set. */ boolean hasMinInclusive(); /** * optional double minInclusive = 2; * @return The minInclusive. */ double getMinInclusive(); /** * optional double maxInclusive = 3; * @return Whether the maxInclusive field is set. */ boolean hasMaxInclusive(); /** * optional double maxInclusive = 3; * @return The maxInclusive. */ double getMaxInclusive(); /** * optional double minExclusive = 4; * @return Whether the minExclusive field is set. */ boolean hasMinExclusive(); /** * optional double minExclusive = 4; * @return The minExclusive. */ double getMinExclusive(); /** * optional double maxExclusive = 5; * @return Whether the maxExclusive field is set. */ boolean hasMaxExclusive(); /** * optional double maxExclusive = 5; * @return The maxExclusive. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlarmRange(); } @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; * @return Whether the level field is set. */ @java.lang.Override public boolean hasLevel() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; * @return The level. */ @java.lang.Override 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; * @return Whether the minInclusive field is set. */ @java.lang.Override public boolean hasMinInclusive() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double minInclusive = 2; * @return The minInclusive. */ @java.lang.Override public double getMinInclusive() { return minInclusive_; } public static final int MAXINCLUSIVE_FIELD_NUMBER = 3; private double maxInclusive_; /** * optional double maxInclusive = 3; * @return Whether the maxInclusive field is set. */ @java.lang.Override public boolean hasMaxInclusive() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double maxInclusive = 3; * @return The maxInclusive. */ @java.lang.Override public double getMaxInclusive() { return maxInclusive_; } public static final int MINEXCLUSIVE_FIELD_NUMBER = 4; private double minExclusive_; /** * optional double minExclusive = 4; * @return Whether the minExclusive field is set. */ @java.lang.Override public boolean hasMinExclusive() { return ((bitField0_ & 0x00000008) != 0); } /** * optional double minExclusive = 4; * @return The minExclusive. */ @java.lang.Override public double getMinExclusive() { return minExclusive_; } public static final int MAXEXCLUSIVE_FIELD_NUMBER = 5; private double maxExclusive_; /** * optional double maxExclusive = 5; * @return Whether the maxExclusive field is set. */ @java.lang.Override public boolean hasMaxExclusive() { return ((bitField0_ & 0x00000010) != 0); } /** * optional double maxExclusive = 5; * @return The maxExclusive. */ @java.lang.Override 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; * @return Whether the level field is set. */ @java.lang.Override public boolean hasLevel() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; * @return The level. */ @java.lang.Override 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; * @param value The level to set. * @return This builder for chaining. */ 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; * @return This builder for chaining. */ public Builder clearLevel() { bitField0_ = (bitField0_ & ~0x00000001); level_ = 0; onChanged(); return this; } private double minInclusive_ ; /** * optional double minInclusive = 2; * @return Whether the minInclusive field is set. */ @java.lang.Override public boolean hasMinInclusive() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double minInclusive = 2; * @return The minInclusive. */ @java.lang.Override public double getMinInclusive() { return minInclusive_; } /** * optional double minInclusive = 2; * @param value The minInclusive to set. * @return This builder for chaining. */ public Builder setMinInclusive(double value) { bitField0_ |= 0x00000002; minInclusive_ = value; onChanged(); return this; } /** * optional double minInclusive = 2; * @return This builder for chaining. */ public Builder clearMinInclusive() { bitField0_ = (bitField0_ & ~0x00000002); minInclusive_ = 0D; onChanged(); return this; } private double maxInclusive_ ; /** * optional double maxInclusive = 3; * @return Whether the maxInclusive field is set. */ @java.lang.Override public boolean hasMaxInclusive() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double maxInclusive = 3; * @return The maxInclusive. */ @java.lang.Override public double getMaxInclusive() { return maxInclusive_; } /** * optional double maxInclusive = 3; * @param value The maxInclusive to set. * @return This builder for chaining. */ public Builder setMaxInclusive(double value) { bitField0_ |= 0x00000004; maxInclusive_ = value; onChanged(); return this; } /** * optional double maxInclusive = 3; * @return This builder for chaining. */ public Builder clearMaxInclusive() { bitField0_ = (bitField0_ & ~0x00000004); maxInclusive_ = 0D; onChanged(); return this; } private double minExclusive_ ; /** * optional double minExclusive = 4; * @return Whether the minExclusive field is set. */ @java.lang.Override public boolean hasMinExclusive() { return ((bitField0_ & 0x00000008) != 0); } /** * optional double minExclusive = 4; * @return The minExclusive. */ @java.lang.Override public double getMinExclusive() { return minExclusive_; } /** * optional double minExclusive = 4; * @param value The minExclusive to set. * @return This builder for chaining. */ public Builder setMinExclusive(double value) { bitField0_ |= 0x00000008; minExclusive_ = value; onChanged(); return this; } /** * optional double minExclusive = 4; * @return This builder for chaining. */ public Builder clearMinExclusive() { bitField0_ = (bitField0_ & ~0x00000008); minExclusive_ = 0D; onChanged(); return this; } private double maxExclusive_ ; /** * optional double maxExclusive = 5; * @return Whether the maxExclusive field is set. */ @java.lang.Override public boolean hasMaxExclusive() { return ((bitField0_ & 0x00000010) != 0); } /** * optional double maxExclusive = 5; * @return The maxExclusive. */ @java.lang.Override public double getMaxExclusive() { return maxExclusive_; } /** * optional double maxExclusive = 5; * @param value The maxExclusive to set. * @return This builder for chaining. */ public Builder setMaxExclusive(double value) { bitField0_ |= 0x00000010; maxExclusive_ = value; onChanged(); return this; } /** * optional double maxExclusive = 5; * @return This builder for chaining. */ 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; * @return Whether the level field is set. */ boolean hasLevel(); /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; * @return The level. */ org.yamcs.protobuf.Mdb.AlarmLevelType getLevel(); /** * optional string label = 3; * @return Whether the label field is set. */ boolean hasLabel(); /** * optional string label = 3; * @return The label. */ java.lang.String getLabel(); /** * optional string label = 3; * @return The bytes for label. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EnumerationAlarm(); } @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; * @return Whether the level field is set. */ @java.lang.Override public boolean hasLevel() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; * @return The level. */ @java.lang.Override 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 string label = 3; * @return Whether the label field is set. */ @java.lang.Override public boolean hasLabel() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string label = 3; * @return The label. */ @java.lang.Override 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 = 3; * @return The bytes for label. */ @java.lang.Override 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; * @return Whether the level field is set. */ @java.lang.Override public boolean hasLevel() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmLevelType level = 1; * @return The level. */ @java.lang.Override 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; * @param value The level to set. * @return This builder for chaining. */ 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; * @return This builder for chaining. */ public Builder clearLevel() { bitField0_ = (bitField0_ & ~0x00000001); level_ = 0; onChanged(); return this; } private java.lang.Object label_ = ""; /** * optional string label = 3; * @return Whether the label field is set. */ public boolean hasLabel() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string label = 3; * @return The label. */ 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 = 3; * @return The bytes for label. */ 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 = 3; * @param value The label to set. * @return This builder for chaining. */ public Builder setLabel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; label_ = value; onChanged(); return this; } /** * optional string label = 3; * @return This builder for chaining. */ public Builder clearLabel() { bitField0_ = (bitField0_ & ~0x00000002); label_ = getDefaultInstance().getLabel(); onChanged(); return this; } /** * optional string label = 3; * @param value The bytes for label to set. * @return This builder for chaining. */ 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; * @return Whether the minViolations field is set. */ boolean hasMinViolations(); /** * optional int32 minViolations = 1; * @return The minViolations. */ int getMinViolations(); /** *
     * Deprecated, use ``staticAlarmRanges`` instead
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated java.util.List getStaticAlarmRangeList(); /** *
     * Deprecated, use ``staticAlarmRanges`` instead
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated org.yamcs.protobuf.Mdb.AlarmRange getStaticAlarmRange(int index); /** *
     * Deprecated, use ``staticAlarmRanges`` instead
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated int getStaticAlarmRangeCount(); /** *
     * Deprecated, use ``staticAlarmRanges`` instead
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated java.util.List getStaticAlarmRangeOrBuilderList(); /** *
     * Deprecated, use ``staticAlarmRanges`` instead
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getStaticAlarmRangeOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ java.util.List getStaticAlarmRangesList(); /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ org.yamcs.protobuf.Mdb.AlarmRange getStaticAlarmRanges(int index); /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ int getStaticAlarmRangesCount(); /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ java.util.List getStaticAlarmRangesOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getStaticAlarmRangesOrBuilder( int index); /** *
     * Deprecated, use ``enumerationAlarms`` instead
     * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated java.util.List getEnumerationAlarmList(); /** *
     * Deprecated, use ``enumerationAlarms`` instead
     * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated org.yamcs.protobuf.Mdb.EnumerationAlarm getEnumerationAlarm(int index); /** *
     * Deprecated, use ``enumerationAlarms`` instead
     * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated int getEnumerationAlarmCount(); /** *
     * Deprecated, use ``enumerationAlarms`` instead
     * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated java.util.List getEnumerationAlarmOrBuilderList(); /** *
     * Deprecated, use ``enumerationAlarms`` instead
     * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder getEnumerationAlarmOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ java.util.List getEnumerationAlarmsList(); /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ org.yamcs.protobuf.Mdb.EnumerationAlarm getEnumerationAlarms(int index); /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ int getEnumerationAlarmsCount(); /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ java.util.List getEnumerationAlarmsOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder getEnumerationAlarmsOrBuilder( int index); /** *
     * only used for enumeration alarms - defines the alarm state if none of the condition above applies
     * as per XTCE description:
     *   defaults to "normal", which is almost always the case.
     *   Setting it to another alarm state permits a form of "inverted logic" where the alarm list can specify the normal states instead of the alarm states.
     * 
* * optional .yamcs.protobuf.mdb.AlarmLevelType defaultLevel = 6; * @return Whether the defaultLevel field is set. */ boolean hasDefaultLevel(); /** *
     * only used for enumeration alarms - defines the alarm state if none of the condition above applies
     * as per XTCE description:
     *   defaults to "normal", which is almost always the case.
     *   Setting it to another alarm state permits a form of "inverted logic" where the alarm list can specify the normal states instead of the alarm states.
     * 
* * optional .yamcs.protobuf.mdb.AlarmLevelType defaultLevel = 6; * @return The defaultLevel. */ org.yamcs.protobuf.Mdb.AlarmLevelType getDefaultLevel(); } /** * 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(); staticAlarmRanges_ = java.util.Collections.emptyList(); enumerationAlarm_ = java.util.Collections.emptyList(); enumerationAlarms_ = java.util.Collections.emptyList(); defaultLevel_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlarmInfo(); } @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_ & 0x00000008) != 0)) { enumerationAlarm_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } enumerationAlarm_.add( input.readMessage(org.yamcs.protobuf.Mdb.EnumerationAlarm.PARSER, extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { staticAlarmRanges_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } staticAlarmRanges_.add( input.readMessage(org.yamcs.protobuf.Mdb.AlarmRange.PARSER, extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { enumerationAlarms_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } enumerationAlarms_.add( input.readMessage(org.yamcs.protobuf.Mdb.EnumerationAlarm.PARSER, extensionRegistry)); break; } case 48: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlarmLevelType value = org.yamcs.protobuf.Mdb.AlarmLevelType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(6, rawValue); } else { bitField0_ |= 0x00000002; defaultLevel_ = 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 { if (((mutable_bitField0_ & 0x00000002) != 0)) { staticAlarmRange_ = java.util.Collections.unmodifiableList(staticAlarmRange_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { enumerationAlarm_ = java.util.Collections.unmodifiableList(enumerationAlarm_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { staticAlarmRanges_ = java.util.Collections.unmodifiableList(staticAlarmRanges_); } if (((mutable_bitField0_ & 0x00000010) != 0)) { enumerationAlarms_ = java.util.Collections.unmodifiableList(enumerationAlarms_); } 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; * @return Whether the minViolations field is set. */ @java.lang.Override public boolean hasMinViolations() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 minViolations = 1; * @return The minViolations. */ @java.lang.Override public int getMinViolations() { return minViolations_; } public static final int STATICALARMRANGE_FIELD_NUMBER = 2; private java.util.List staticAlarmRange_; /** *
     * Deprecated, use ``staticAlarmRanges`` instead
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getStaticAlarmRangeList() { return staticAlarmRange_; } /** *
     * Deprecated, use ``staticAlarmRanges`` instead
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getStaticAlarmRangeOrBuilderList() { return staticAlarmRange_; } /** *
     * Deprecated, use ``staticAlarmRanges`` instead
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public int getStaticAlarmRangeCount() { return staticAlarmRange_.size(); } /** *
     * Deprecated, use ``staticAlarmRanges`` instead
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public org.yamcs.protobuf.Mdb.AlarmRange getStaticAlarmRange(int index) { return staticAlarmRange_.get(index); } /** *
     * Deprecated, use ``staticAlarmRanges`` instead
     * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getStaticAlarmRangeOrBuilder( int index) { return staticAlarmRange_.get(index); } public static final int STATICALARMRANGES_FIELD_NUMBER = 4; private java.util.List staticAlarmRanges_; /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ @java.lang.Override public java.util.List getStaticAlarmRangesList() { return staticAlarmRanges_; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ @java.lang.Override public java.util.List getStaticAlarmRangesOrBuilderList() { return staticAlarmRanges_; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ @java.lang.Override public int getStaticAlarmRangesCount() { return staticAlarmRanges_.size(); } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmRange getStaticAlarmRanges(int index) { return staticAlarmRanges_.get(index); } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getStaticAlarmRangesOrBuilder( int index) { return staticAlarmRanges_.get(index); } public static final int ENUMERATIONALARM_FIELD_NUMBER = 3; private java.util.List enumerationAlarm_; /** *
     * Deprecated, use ``enumerationAlarms`` instead
     * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getEnumerationAlarmList() { return enumerationAlarm_; } /** *
     * Deprecated, use ``enumerationAlarms`` instead
     * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getEnumerationAlarmOrBuilderList() { return enumerationAlarm_; } /** *
     * Deprecated, use ``enumerationAlarms`` instead
     * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public int getEnumerationAlarmCount() { return enumerationAlarm_.size(); } /** *
     * Deprecated, use ``enumerationAlarms`` instead
     * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public org.yamcs.protobuf.Mdb.EnumerationAlarm getEnumerationAlarm(int index) { return enumerationAlarm_.get(index); } /** *
     * Deprecated, use ``enumerationAlarms`` instead
     * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder getEnumerationAlarmOrBuilder( int index) { return enumerationAlarm_.get(index); } public static final int ENUMERATIONALARMS_FIELD_NUMBER = 5; private java.util.List enumerationAlarms_; /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ @java.lang.Override public java.util.List getEnumerationAlarmsList() { return enumerationAlarms_; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ @java.lang.Override public java.util.List getEnumerationAlarmsOrBuilderList() { return enumerationAlarms_; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ @java.lang.Override public int getEnumerationAlarmsCount() { return enumerationAlarms_.size(); } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.EnumerationAlarm getEnumerationAlarms(int index) { return enumerationAlarms_.get(index); } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder getEnumerationAlarmsOrBuilder( int index) { return enumerationAlarms_.get(index); } public static final int DEFAULTLEVEL_FIELD_NUMBER = 6; private int defaultLevel_; /** *
     * only used for enumeration alarms - defines the alarm state if none of the condition above applies
     * as per XTCE description:
     *   defaults to "normal", which is almost always the case.
     *   Setting it to another alarm state permits a form of "inverted logic" where the alarm list can specify the normal states instead of the alarm states.
     * 
* * optional .yamcs.protobuf.mdb.AlarmLevelType defaultLevel = 6; * @return Whether the defaultLevel field is set. */ @java.lang.Override public boolean hasDefaultLevel() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * only used for enumeration alarms - defines the alarm state if none of the condition above applies
     * as per XTCE description:
     *   defaults to "normal", which is almost always the case.
     *   Setting it to another alarm state permits a form of "inverted logic" where the alarm list can specify the normal states instead of the alarm states.
     * 
* * optional .yamcs.protobuf.mdb.AlarmLevelType defaultLevel = 6; * @return The defaultLevel. */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmLevelType getDefaultLevel() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlarmLevelType result = org.yamcs.protobuf.Mdb.AlarmLevelType.valueOf(defaultLevel_); return result == null ? org.yamcs.protobuf.Mdb.AlarmLevelType.NORMAL : 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.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)); } for (int i = 0; i < staticAlarmRanges_.size(); i++) { output.writeMessage(4, staticAlarmRanges_.get(i)); } for (int i = 0; i < enumerationAlarms_.size(); i++) { output.writeMessage(5, enumerationAlarms_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeEnum(6, defaultLevel_); } 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)); } for (int i = 0; i < staticAlarmRanges_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, staticAlarmRanges_.get(i)); } for (int i = 0; i < enumerationAlarms_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, enumerationAlarms_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, defaultLevel_); } 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 (!getStaticAlarmRangesList() .equals(other.getStaticAlarmRangesList())) return false; if (!getEnumerationAlarmList() .equals(other.getEnumerationAlarmList())) return false; if (!getEnumerationAlarmsList() .equals(other.getEnumerationAlarmsList())) return false; if (hasDefaultLevel() != other.hasDefaultLevel()) return false; if (hasDefaultLevel()) { if (defaultLevel_ != other.defaultLevel_) 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 (getStaticAlarmRangesCount() > 0) { hash = (37 * hash) + STATICALARMRANGES_FIELD_NUMBER; hash = (53 * hash) + getStaticAlarmRangesList().hashCode(); } if (getEnumerationAlarmCount() > 0) { hash = (37 * hash) + ENUMERATIONALARM_FIELD_NUMBER; hash = (53 * hash) + getEnumerationAlarmList().hashCode(); } if (getEnumerationAlarmsCount() > 0) { hash = (37 * hash) + ENUMERATIONALARMS_FIELD_NUMBER; hash = (53 * hash) + getEnumerationAlarmsList().hashCode(); } if (hasDefaultLevel()) { hash = (37 * hash) + DEFAULTLEVEL_FIELD_NUMBER; hash = (53 * hash) + defaultLevel_; } 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(); getStaticAlarmRangesFieldBuilder(); getEnumerationAlarmFieldBuilder(); getEnumerationAlarmsFieldBuilder(); } } @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 (staticAlarmRangesBuilder_ == null) { staticAlarmRanges_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { staticAlarmRangesBuilder_.clear(); } if (enumerationAlarmBuilder_ == null) { enumerationAlarm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { enumerationAlarmBuilder_.clear(); } if (enumerationAlarmsBuilder_ == null) { enumerationAlarms_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { enumerationAlarmsBuilder_.clear(); } defaultLevel_ = 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_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 (staticAlarmRangesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { staticAlarmRanges_ = java.util.Collections.unmodifiableList(staticAlarmRanges_); bitField0_ = (bitField0_ & ~0x00000004); } result.staticAlarmRanges_ = staticAlarmRanges_; } else { result.staticAlarmRanges_ = staticAlarmRangesBuilder_.build(); } if (enumerationAlarmBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { enumerationAlarm_ = java.util.Collections.unmodifiableList(enumerationAlarm_); bitField0_ = (bitField0_ & ~0x00000008); } result.enumerationAlarm_ = enumerationAlarm_; } else { result.enumerationAlarm_ = enumerationAlarmBuilder_.build(); } if (enumerationAlarmsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { enumerationAlarms_ = java.util.Collections.unmodifiableList(enumerationAlarms_); bitField0_ = (bitField0_ & ~0x00000010); } result.enumerationAlarms_ = enumerationAlarms_; } else { result.enumerationAlarms_ = enumerationAlarmsBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000002; } result.defaultLevel_ = defaultLevel_; 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 (staticAlarmRangesBuilder_ == null) { if (!other.staticAlarmRanges_.isEmpty()) { if (staticAlarmRanges_.isEmpty()) { staticAlarmRanges_ = other.staticAlarmRanges_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureStaticAlarmRangesIsMutable(); staticAlarmRanges_.addAll(other.staticAlarmRanges_); } onChanged(); } } else { if (!other.staticAlarmRanges_.isEmpty()) { if (staticAlarmRangesBuilder_.isEmpty()) { staticAlarmRangesBuilder_.dispose(); staticAlarmRangesBuilder_ = null; staticAlarmRanges_ = other.staticAlarmRanges_; bitField0_ = (bitField0_ & ~0x00000004); staticAlarmRangesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStaticAlarmRangesFieldBuilder() : null; } else { staticAlarmRangesBuilder_.addAllMessages(other.staticAlarmRanges_); } } } if (enumerationAlarmBuilder_ == null) { if (!other.enumerationAlarm_.isEmpty()) { if (enumerationAlarm_.isEmpty()) { enumerationAlarm_ = other.enumerationAlarm_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureEnumerationAlarmIsMutable(); enumerationAlarm_.addAll(other.enumerationAlarm_); } onChanged(); } } else { if (!other.enumerationAlarm_.isEmpty()) { if (enumerationAlarmBuilder_.isEmpty()) { enumerationAlarmBuilder_.dispose(); enumerationAlarmBuilder_ = null; enumerationAlarm_ = other.enumerationAlarm_; bitField0_ = (bitField0_ & ~0x00000008); enumerationAlarmBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEnumerationAlarmFieldBuilder() : null; } else { enumerationAlarmBuilder_.addAllMessages(other.enumerationAlarm_); } } } if (enumerationAlarmsBuilder_ == null) { if (!other.enumerationAlarms_.isEmpty()) { if (enumerationAlarms_.isEmpty()) { enumerationAlarms_ = other.enumerationAlarms_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureEnumerationAlarmsIsMutable(); enumerationAlarms_.addAll(other.enumerationAlarms_); } onChanged(); } } else { if (!other.enumerationAlarms_.isEmpty()) { if (enumerationAlarmsBuilder_.isEmpty()) { enumerationAlarmsBuilder_.dispose(); enumerationAlarmsBuilder_ = null; enumerationAlarms_ = other.enumerationAlarms_; bitField0_ = (bitField0_ & ~0x00000010); enumerationAlarmsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEnumerationAlarmsFieldBuilder() : null; } else { enumerationAlarmsBuilder_.addAllMessages(other.enumerationAlarms_); } } } if (other.hasDefaultLevel()) { setDefaultLevel(other.getDefaultLevel()); } 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; * @return Whether the minViolations field is set. */ @java.lang.Override public boolean hasMinViolations() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 minViolations = 1; * @return The minViolations. */ @java.lang.Override public int getMinViolations() { return minViolations_; } /** * optional int32 minViolations = 1; * @param value The minViolations to set. * @return This builder for chaining. */ public Builder setMinViolations(int value) { bitField0_ |= 0x00000001; minViolations_ = value; onChanged(); return this; } /** * optional int32 minViolations = 1; * @return This builder for chaining. */ 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_; /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated public java.util.List getStaticAlarmRangeList() { if (staticAlarmRangeBuilder_ == null) { return java.util.Collections.unmodifiableList(staticAlarmRange_); } else { return staticAlarmRangeBuilder_.getMessageList(); } } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated public int getStaticAlarmRangeCount() { if (staticAlarmRangeBuilder_ == null) { return staticAlarmRange_.size(); } else { return staticAlarmRangeBuilder_.getCount(); } } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.AlarmRange getStaticAlarmRange(int index) { if (staticAlarmRangeBuilder_ == null) { return staticAlarmRange_.get(index); } else { return staticAlarmRangeBuilder_.getMessage(index); } } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated public Builder clearStaticAlarmRange() { if (staticAlarmRangeBuilder_ == null) { staticAlarmRange_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { staticAlarmRangeBuilder_.clear(); } return this; } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated public Builder removeStaticAlarmRange(int index) { if (staticAlarmRangeBuilder_ == null) { ensureStaticAlarmRangeIsMutable(); staticAlarmRange_.remove(index); onChanged(); } else { staticAlarmRangeBuilder_.remove(index); } return this; } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.AlarmRange.Builder getStaticAlarmRangeBuilder( int index) { return getStaticAlarmRangeFieldBuilder().getBuilder(index); } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getStaticAlarmRangeOrBuilder( int index) { if (staticAlarmRangeBuilder_ == null) { return staticAlarmRange_.get(index); } else { return staticAlarmRangeBuilder_.getMessageOrBuilder(index); } } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated public java.util.List getStaticAlarmRangeOrBuilderList() { if (staticAlarmRangeBuilder_ != null) { return staticAlarmRangeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(staticAlarmRange_); } } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.AlarmRange.Builder addStaticAlarmRangeBuilder() { return getStaticAlarmRangeFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.AlarmRange.getDefaultInstance()); } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.AlarmRange.Builder addStaticAlarmRangeBuilder( int index) { return getStaticAlarmRangeFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.AlarmRange.getDefaultInstance()); } /** *
       * Deprecated, use ``staticAlarmRanges`` instead
       * 
* * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRange = 2 [deprecated = true]; */ @java.lang.Deprecated 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 staticAlarmRanges_ = java.util.Collections.emptyList(); private void ensureStaticAlarmRangesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { staticAlarmRanges_ = new java.util.ArrayList(staticAlarmRanges_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmRange, org.yamcs.protobuf.Mdb.AlarmRange.Builder, org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder> staticAlarmRangesBuilder_; /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public java.util.List getStaticAlarmRangesList() { if (staticAlarmRangesBuilder_ == null) { return java.util.Collections.unmodifiableList(staticAlarmRanges_); } else { return staticAlarmRangesBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public int getStaticAlarmRangesCount() { if (staticAlarmRangesBuilder_ == null) { return staticAlarmRanges_.size(); } else { return staticAlarmRangesBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public org.yamcs.protobuf.Mdb.AlarmRange getStaticAlarmRanges(int index) { if (staticAlarmRangesBuilder_ == null) { return staticAlarmRanges_.get(index); } else { return staticAlarmRangesBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public Builder setStaticAlarmRanges( int index, org.yamcs.protobuf.Mdb.AlarmRange value) { if (staticAlarmRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStaticAlarmRangesIsMutable(); staticAlarmRanges_.set(index, value); onChanged(); } else { staticAlarmRangesBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public Builder setStaticAlarmRanges( int index, org.yamcs.protobuf.Mdb.AlarmRange.Builder builderForValue) { if (staticAlarmRangesBuilder_ == null) { ensureStaticAlarmRangesIsMutable(); staticAlarmRanges_.set(index, builderForValue.build()); onChanged(); } else { staticAlarmRangesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public Builder addStaticAlarmRanges(org.yamcs.protobuf.Mdb.AlarmRange value) { if (staticAlarmRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStaticAlarmRangesIsMutable(); staticAlarmRanges_.add(value); onChanged(); } else { staticAlarmRangesBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public Builder addStaticAlarmRanges( int index, org.yamcs.protobuf.Mdb.AlarmRange value) { if (staticAlarmRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStaticAlarmRangesIsMutable(); staticAlarmRanges_.add(index, value); onChanged(); } else { staticAlarmRangesBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public Builder addStaticAlarmRanges( org.yamcs.protobuf.Mdb.AlarmRange.Builder builderForValue) { if (staticAlarmRangesBuilder_ == null) { ensureStaticAlarmRangesIsMutable(); staticAlarmRanges_.add(builderForValue.build()); onChanged(); } else { staticAlarmRangesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public Builder addStaticAlarmRanges( int index, org.yamcs.protobuf.Mdb.AlarmRange.Builder builderForValue) { if (staticAlarmRangesBuilder_ == null) { ensureStaticAlarmRangesIsMutable(); staticAlarmRanges_.add(index, builderForValue.build()); onChanged(); } else { staticAlarmRangesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public Builder addAllStaticAlarmRanges( java.lang.Iterable values) { if (staticAlarmRangesBuilder_ == null) { ensureStaticAlarmRangesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, staticAlarmRanges_); onChanged(); } else { staticAlarmRangesBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public Builder clearStaticAlarmRanges() { if (staticAlarmRangesBuilder_ == null) { staticAlarmRanges_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { staticAlarmRangesBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public Builder removeStaticAlarmRanges(int index) { if (staticAlarmRangesBuilder_ == null) { ensureStaticAlarmRangesIsMutable(); staticAlarmRanges_.remove(index); onChanged(); } else { staticAlarmRangesBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public org.yamcs.protobuf.Mdb.AlarmRange.Builder getStaticAlarmRangesBuilder( int index) { return getStaticAlarmRangesFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder getStaticAlarmRangesOrBuilder( int index) { if (staticAlarmRangesBuilder_ == null) { return staticAlarmRanges_.get(index); } else { return staticAlarmRangesBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public java.util.List getStaticAlarmRangesOrBuilderList() { if (staticAlarmRangesBuilder_ != null) { return staticAlarmRangesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(staticAlarmRanges_); } } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public org.yamcs.protobuf.Mdb.AlarmRange.Builder addStaticAlarmRangesBuilder() { return getStaticAlarmRangesFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.AlarmRange.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public org.yamcs.protobuf.Mdb.AlarmRange.Builder addStaticAlarmRangesBuilder( int index) { return getStaticAlarmRangesFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.AlarmRange.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.AlarmRange staticAlarmRanges = 4; */ public java.util.List getStaticAlarmRangesBuilderList() { return getStaticAlarmRangesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmRange, org.yamcs.protobuf.Mdb.AlarmRange.Builder, org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder> getStaticAlarmRangesFieldBuilder() { if (staticAlarmRangesBuilder_ == null) { staticAlarmRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlarmRange, org.yamcs.protobuf.Mdb.AlarmRange.Builder, org.yamcs.protobuf.Mdb.AlarmRangeOrBuilder>( staticAlarmRanges_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); staticAlarmRanges_ = null; } return staticAlarmRangesBuilder_; } private java.util.List enumerationAlarm_ = java.util.Collections.emptyList(); private void ensureEnumerationAlarmIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { enumerationAlarm_ = new java.util.ArrayList(enumerationAlarm_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumerationAlarm, org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder, org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder> enumerationAlarmBuilder_; /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated public java.util.List getEnumerationAlarmList() { if (enumerationAlarmBuilder_ == null) { return java.util.Collections.unmodifiableList(enumerationAlarm_); } else { return enumerationAlarmBuilder_.getMessageList(); } } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated public int getEnumerationAlarmCount() { if (enumerationAlarmBuilder_ == null) { return enumerationAlarm_.size(); } else { return enumerationAlarmBuilder_.getCount(); } } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.EnumerationAlarm getEnumerationAlarm(int index) { if (enumerationAlarmBuilder_ == null) { return enumerationAlarm_.get(index); } else { return enumerationAlarmBuilder_.getMessage(index); } } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated public Builder clearEnumerationAlarm() { if (enumerationAlarmBuilder_ == null) { enumerationAlarm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { enumerationAlarmBuilder_.clear(); } return this; } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated public Builder removeEnumerationAlarm(int index) { if (enumerationAlarmBuilder_ == null) { ensureEnumerationAlarmIsMutable(); enumerationAlarm_.remove(index); onChanged(); } else { enumerationAlarmBuilder_.remove(index); } return this; } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder getEnumerationAlarmBuilder( int index) { return getEnumerationAlarmFieldBuilder().getBuilder(index); } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder getEnumerationAlarmOrBuilder( int index) { if (enumerationAlarmBuilder_ == null) { return enumerationAlarm_.get(index); } else { return enumerationAlarmBuilder_.getMessageOrBuilder(index); } } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated public java.util.List getEnumerationAlarmOrBuilderList() { if (enumerationAlarmBuilder_ != null) { return enumerationAlarmBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(enumerationAlarm_); } } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder addEnumerationAlarmBuilder() { return getEnumerationAlarmFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.EnumerationAlarm.getDefaultInstance()); } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder addEnumerationAlarmBuilder( int index) { return getEnumerationAlarmFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.EnumerationAlarm.getDefaultInstance()); } /** *
       * Deprecated, use ``enumerationAlarms`` instead
       * 
* * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarm = 3 [deprecated = true]; */ @java.lang.Deprecated 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_ & 0x00000008) != 0), getParentForChildren(), isClean()); enumerationAlarm_ = null; } return enumerationAlarmBuilder_; } private java.util.List enumerationAlarms_ = java.util.Collections.emptyList(); private void ensureEnumerationAlarmsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { enumerationAlarms_ = new java.util.ArrayList(enumerationAlarms_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumerationAlarm, org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder, org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder> enumerationAlarmsBuilder_; /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public java.util.List getEnumerationAlarmsList() { if (enumerationAlarmsBuilder_ == null) { return java.util.Collections.unmodifiableList(enumerationAlarms_); } else { return enumerationAlarmsBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public int getEnumerationAlarmsCount() { if (enumerationAlarmsBuilder_ == null) { return enumerationAlarms_.size(); } else { return enumerationAlarmsBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public org.yamcs.protobuf.Mdb.EnumerationAlarm getEnumerationAlarms(int index) { if (enumerationAlarmsBuilder_ == null) { return enumerationAlarms_.get(index); } else { return enumerationAlarmsBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public Builder setEnumerationAlarms( int index, org.yamcs.protobuf.Mdb.EnumerationAlarm value) { if (enumerationAlarmsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumerationAlarmsIsMutable(); enumerationAlarms_.set(index, value); onChanged(); } else { enumerationAlarmsBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public Builder setEnumerationAlarms( int index, org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder builderForValue) { if (enumerationAlarmsBuilder_ == null) { ensureEnumerationAlarmsIsMutable(); enumerationAlarms_.set(index, builderForValue.build()); onChanged(); } else { enumerationAlarmsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public Builder addEnumerationAlarms(org.yamcs.protobuf.Mdb.EnumerationAlarm value) { if (enumerationAlarmsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumerationAlarmsIsMutable(); enumerationAlarms_.add(value); onChanged(); } else { enumerationAlarmsBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public Builder addEnumerationAlarms( int index, org.yamcs.protobuf.Mdb.EnumerationAlarm value) { if (enumerationAlarmsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumerationAlarmsIsMutable(); enumerationAlarms_.add(index, value); onChanged(); } else { enumerationAlarmsBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public Builder addEnumerationAlarms( org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder builderForValue) { if (enumerationAlarmsBuilder_ == null) { ensureEnumerationAlarmsIsMutable(); enumerationAlarms_.add(builderForValue.build()); onChanged(); } else { enumerationAlarmsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public Builder addEnumerationAlarms( int index, org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder builderForValue) { if (enumerationAlarmsBuilder_ == null) { ensureEnumerationAlarmsIsMutable(); enumerationAlarms_.add(index, builderForValue.build()); onChanged(); } else { enumerationAlarmsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public Builder addAllEnumerationAlarms( java.lang.Iterable values) { if (enumerationAlarmsBuilder_ == null) { ensureEnumerationAlarmsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, enumerationAlarms_); onChanged(); } else { enumerationAlarmsBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public Builder clearEnumerationAlarms() { if (enumerationAlarmsBuilder_ == null) { enumerationAlarms_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { enumerationAlarmsBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public Builder removeEnumerationAlarms(int index) { if (enumerationAlarmsBuilder_ == null) { ensureEnumerationAlarmsIsMutable(); enumerationAlarms_.remove(index); onChanged(); } else { enumerationAlarmsBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder getEnumerationAlarmsBuilder( int index) { return getEnumerationAlarmsFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder getEnumerationAlarmsOrBuilder( int index) { if (enumerationAlarmsBuilder_ == null) { return enumerationAlarms_.get(index); } else { return enumerationAlarmsBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public java.util.List getEnumerationAlarmsOrBuilderList() { if (enumerationAlarmsBuilder_ != null) { return enumerationAlarmsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(enumerationAlarms_); } } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder addEnumerationAlarmsBuilder() { return getEnumerationAlarmsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.EnumerationAlarm.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder addEnumerationAlarmsBuilder( int index) { return getEnumerationAlarmsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.EnumerationAlarm.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.EnumerationAlarm enumerationAlarms = 5; */ public java.util.List getEnumerationAlarmsBuilderList() { return getEnumerationAlarmsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumerationAlarm, org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder, org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder> getEnumerationAlarmsFieldBuilder() { if (enumerationAlarmsBuilder_ == null) { enumerationAlarmsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumerationAlarm, org.yamcs.protobuf.Mdb.EnumerationAlarm.Builder, org.yamcs.protobuf.Mdb.EnumerationAlarmOrBuilder>( enumerationAlarms_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); enumerationAlarms_ = null; } return enumerationAlarmsBuilder_; } private int defaultLevel_ = 0; /** *
       * only used for enumeration alarms - defines the alarm state if none of the condition above applies
       * as per XTCE description:
       *   defaults to "normal", which is almost always the case.
       *   Setting it to another alarm state permits a form of "inverted logic" where the alarm list can specify the normal states instead of the alarm states.
       * 
* * optional .yamcs.protobuf.mdb.AlarmLevelType defaultLevel = 6; * @return Whether the defaultLevel field is set. */ @java.lang.Override public boolean hasDefaultLevel() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * only used for enumeration alarms - defines the alarm state if none of the condition above applies
       * as per XTCE description:
       *   defaults to "normal", which is almost always the case.
       *   Setting it to another alarm state permits a form of "inverted logic" where the alarm list can specify the normal states instead of the alarm states.
       * 
* * optional .yamcs.protobuf.mdb.AlarmLevelType defaultLevel = 6; * @return The defaultLevel. */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmLevelType getDefaultLevel() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlarmLevelType result = org.yamcs.protobuf.Mdb.AlarmLevelType.valueOf(defaultLevel_); return result == null ? org.yamcs.protobuf.Mdb.AlarmLevelType.NORMAL : result; } /** *
       * only used for enumeration alarms - defines the alarm state if none of the condition above applies
       * as per XTCE description:
       *   defaults to "normal", which is almost always the case.
       *   Setting it to another alarm state permits a form of "inverted logic" where the alarm list can specify the normal states instead of the alarm states.
       * 
* * optional .yamcs.protobuf.mdb.AlarmLevelType defaultLevel = 6; * @param value The defaultLevel to set. * @return This builder for chaining. */ public Builder setDefaultLevel(org.yamcs.protobuf.Mdb.AlarmLevelType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; defaultLevel_ = value.getNumber(); onChanged(); return this; } /** *
       * only used for enumeration alarms - defines the alarm state if none of the condition above applies
       * as per XTCE description:
       *   defaults to "normal", which is almost always the case.
       *   Setting it to another alarm state permits a form of "inverted logic" where the alarm list can specify the normal states instead of the alarm states.
       * 
* * optional .yamcs.protobuf.mdb.AlarmLevelType defaultLevel = 6; * @return This builder for chaining. */ public Builder clearDefaultLevel() { bitField0_ = (bitField0_ & ~0x00000020); defaultLevel_ = 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.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; * @return Whether the alarm field is set. */ boolean hasAlarm(); /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; * @return The alarm. */ org.yamcs.protobuf.Mdb.AlarmInfo getAlarm(); /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder getAlarmOrBuilder(); /** *
     * This can be used in UpdateParameterRequest to pass a context
     * that is parsed on the server, according to the rules in the
     * excel spreadsheet. Either this or a comparison has to be
     * used (not both at the same time)
     * 
* * optional string context = 3; * @return Whether the context field is set. */ boolean hasContext(); /** *
     * This can be used in UpdateParameterRequest to pass a context
     * that is parsed on the server, according to the rules in the
     * excel spreadsheet. Either this or a comparison has to be
     * used (not both at the same time)
     * 
* * optional string context = 3; * @return The context. */ java.lang.String getContext(); /** *
     * This can be used in UpdateParameterRequest to pass a context
     * that is parsed on the server, according to the rules in the
     * excel spreadsheet. Either this or a comparison has to be
     * used (not both at the same time)
     * 
* * optional string context = 3; * @return The bytes for context. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ContextAlarmInfo(); } @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; */ @java.lang.Override public java.util.List getComparisonList() { return comparison_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ @java.lang.Override public java.util.List getComparisonOrBuilderList() { return comparison_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ @java.lang.Override public int getComparisonCount() { return comparison_.size(); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ComparisonInfo getComparison(int index) { return comparison_.get(index); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ @java.lang.Override 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; * @return Whether the alarm field is set. */ @java.lang.Override public boolean hasAlarm() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; * @return The alarm. */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmInfo getAlarm() { return alarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : alarm_; } /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; */ @java.lang.Override 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 UpdateParameterRequest to pass a context
     * that is parsed on the server, according to the rules in the
     * excel spreadsheet. Either this or a comparison has to be
     * used (not both at the same time)
     * 
* * optional string context = 3; * @return Whether the context field is set. */ @java.lang.Override public boolean hasContext() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * This can be used in UpdateParameterRequest to pass a context
     * that is parsed on the server, according to the rules in the
     * excel spreadsheet. Either this or a comparison has to be
     * used (not both at the same time)
     * 
* * optional string context = 3; * @return The context. */ @java.lang.Override 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 UpdateParameterRequest to pass a context
     * that is parsed on the server, according to the rules in the
     * excel spreadsheet. Either this or a comparison has to be
     * used (not both at the same time)
     * 
* * optional string context = 3; * @return The bytes for context. */ @java.lang.Override 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; * @return Whether the alarm field is set. */ public boolean hasAlarm() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.AlarmInfo alarm = 2; * @return The alarm. */ 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 UpdateParameterRequest to pass a context
       * that is parsed on the server, according to the rules in the
       * excel spreadsheet. Either this or a comparison has to be
       * used (not both at the same time)
       * 
* * optional string context = 3; * @return Whether the context field is set. */ public boolean hasContext() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * This can be used in UpdateParameterRequest to pass a context
       * that is parsed on the server, according to the rules in the
       * excel spreadsheet. Either this or a comparison has to be
       * used (not both at the same time)
       * 
* * optional string context = 3; * @return The context. */ 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 UpdateParameterRequest to pass a context
       * that is parsed on the server, according to the rules in the
       * excel spreadsheet. Either this or a comparison has to be
       * used (not both at the same time)
       * 
* * optional string context = 3; * @return The bytes for context. */ 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 UpdateParameterRequest to pass a context
       * that is parsed on the server, according to the rules in the
       * excel spreadsheet. Either this or a comparison has to be
       * used (not both at the same time)
       * 
* * optional string context = 3; * @param value The context to set. * @return This builder for chaining. */ 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 UpdateParameterRequest to pass a context
       * that is parsed on the server, according to the rules in the
       * excel spreadsheet. Either this or a comparison has to be
       * used (not both at the same time)
       * 
* * optional string context = 3; * @return This builder for chaining. */ public Builder clearContext() { bitField0_ = (bitField0_ & ~0x00000004); context_ = getDefaultInstance().getContext(); onChanged(); return this; } /** *
       * This can be used in UpdateParameterRequest to pass a context
       * that is parsed on the server, according to the rules in the
       * excel spreadsheet. Either this or a comparison has to be
       * used (not both at the same time)
       * 
* * optional string context = 3; * @param value The bytes for context to set. * @return This builder for chaining. */ 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; * @return Whether the type field is set. */ boolean hasType(); /** * optional .yamcs.protobuf.mdb.DataEncodingInfo.Type type = 1; * @return The type. */ org.yamcs.protobuf.Mdb.DataEncodingInfo.Type getType(); /** * optional bool littleEndian = 2; * @return Whether the littleEndian field is set. */ boolean hasLittleEndian(); /** * optional bool littleEndian = 2; * @return The littleEndian. */ boolean getLittleEndian(); /** * optional int32 sizeInBits = 3; * @return Whether the sizeInBits field is set. */ boolean hasSizeInBits(); /** * optional int32 sizeInBits = 3; * @return The sizeInBits. */ int getSizeInBits(); /** * optional string encoding = 4; * @return Whether the encoding field is set. */ boolean hasEncoding(); /** * optional string encoding = 4; * @return The encoding. */ java.lang.String getEncoding(); /** * optional string encoding = 4; * @return The bytes for encoding. */ com.google.protobuf.ByteString getEncodingBytes(); /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; * @return Whether the defaultCalibrator field is set. */ boolean hasDefaultCalibrator(); /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; * @return The defaultCalibrator. */ org.yamcs.protobuf.Mdb.CalibratorInfo getDefaultCalibrator(); /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder getDefaultCalibratorOrBuilder(); /** *
     * Deprecated, use ``contextCalibrators`` instead
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated java.util.List getContextCalibratorList(); /** *
     * Deprecated, use ``contextCalibrators`` instead
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated org.yamcs.protobuf.Mdb.ContextCalibratorInfo getContextCalibrator(int index); /** *
     * Deprecated, use ``contextCalibrators`` instead
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated int getContextCalibratorCount(); /** *
     * Deprecated, use ``contextCalibrators`` instead
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated java.util.List getContextCalibratorOrBuilderList(); /** *
     * Deprecated, use ``contextCalibrators`` instead
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ java.util.List getContextCalibratorsList(); /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ org.yamcs.protobuf.Mdb.ContextCalibratorInfo getContextCalibrators(int index); /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ int getContextCalibratorsCount(); /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ java.util.List getContextCalibratorsOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorsOrBuilder( 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(); contextCalibrators_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DataEncodingInfo(); } @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; } case 66: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { contextCalibrators_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } contextCalibrators_.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_); } if (((mutable_bitField0_ & 0x00000040) != 0)) { contextCalibrators_ = java.util.Collections.unmodifiableList(contextCalibrators_); } 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; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Type valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static 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; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo.Type type = 1; * @return The type. */ @java.lang.Override 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; * @return Whether the littleEndian field is set. */ @java.lang.Override public boolean hasLittleEndian() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool littleEndian = 2; * @return The littleEndian. */ @java.lang.Override public boolean getLittleEndian() { return littleEndian_; } public static final int SIZEINBITS_FIELD_NUMBER = 3; private int sizeInBits_; /** * optional int32 sizeInBits = 3; * @return Whether the sizeInBits field is set. */ @java.lang.Override public boolean hasSizeInBits() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 sizeInBits = 3; * @return The sizeInBits. */ @java.lang.Override public int getSizeInBits() { return sizeInBits_; } public static final int ENCODING_FIELD_NUMBER = 4; private volatile java.lang.Object encoding_; /** * optional string encoding = 4; * @return Whether the encoding field is set. */ @java.lang.Override public boolean hasEncoding() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string encoding = 4; * @return The encoding. */ @java.lang.Override 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; * @return The bytes for encoding. */ @java.lang.Override 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; * @return Whether the defaultCalibrator field is set. */ @java.lang.Override public boolean hasDefaultCalibrator() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; * @return The defaultCalibrator. */ @java.lang.Override public org.yamcs.protobuf.Mdb.CalibratorInfo getDefaultCalibrator() { return defaultCalibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : defaultCalibrator_; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; */ @java.lang.Override 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_; /** *
     * Deprecated, use ``contextCalibrators`` instead
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getContextCalibratorList() { return contextCalibrator_; } /** *
     * Deprecated, use ``contextCalibrators`` instead
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getContextCalibratorOrBuilderList() { return contextCalibrator_; } /** *
     * Deprecated, use ``contextCalibrators`` instead
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public int getContextCalibratorCount() { return contextCalibrator_.size(); } /** *
     * Deprecated, use ``contextCalibrators`` instead
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public org.yamcs.protobuf.Mdb.ContextCalibratorInfo getContextCalibrator(int index) { return contextCalibrator_.get(index); } /** *
     * Deprecated, use ``contextCalibrators`` instead
     * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorOrBuilder( int index) { return contextCalibrator_.get(index); } public static final int CONTEXTCALIBRATORS_FIELD_NUMBER = 8; private java.util.List contextCalibrators_; /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ @java.lang.Override public java.util.List getContextCalibratorsList() { return contextCalibrators_; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ @java.lang.Override public java.util.List getContextCalibratorsOrBuilderList() { return contextCalibrators_; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ @java.lang.Override public int getContextCalibratorsCount() { return contextCalibrators_.size(); } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ContextCalibratorInfo getContextCalibrators(int index) { return contextCalibrators_.get(index); } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorsOrBuilder( int index) { return contextCalibrators_.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 < getContextCalibratorsCount(); i++) { if (!getContextCalibrators(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)); } for (int i = 0; i < contextCalibrators_.size(); i++) { output.writeMessage(8, contextCalibrators_.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)); } for (int i = 0; i < contextCalibrators_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, contextCalibrators_.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 (!getContextCalibratorsList() .equals(other.getContextCalibratorsList())) 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(); } if (getContextCalibratorsCount() > 0) { hash = (37 * hash) + CONTEXTCALIBRATORS_FIELD_NUMBER; hash = (53 * hash) + getContextCalibratorsList().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(); getContextCalibratorsFieldBuilder(); } } @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(); } if (contextCalibratorsBuilder_ == null) { contextCalibrators_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { contextCalibratorsBuilder_.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(); } if (contextCalibratorsBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { contextCalibrators_ = java.util.Collections.unmodifiableList(contextCalibrators_); bitField0_ = (bitField0_ & ~0x00000040); } result.contextCalibrators_ = contextCalibrators_; } else { result.contextCalibrators_ = contextCalibratorsBuilder_.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_); } } } if (contextCalibratorsBuilder_ == null) { if (!other.contextCalibrators_.isEmpty()) { if (contextCalibrators_.isEmpty()) { contextCalibrators_ = other.contextCalibrators_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureContextCalibratorsIsMutable(); contextCalibrators_.addAll(other.contextCalibrators_); } onChanged(); } } else { if (!other.contextCalibrators_.isEmpty()) { if (contextCalibratorsBuilder_.isEmpty()) { contextCalibratorsBuilder_.dispose(); contextCalibratorsBuilder_ = null; contextCalibrators_ = other.contextCalibrators_; bitField0_ = (bitField0_ & ~0x00000040); contextCalibratorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getContextCalibratorsFieldBuilder() : null; } else { contextCalibratorsBuilder_.addAllMessages(other.contextCalibrators_); } } } 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 < getContextCalibratorsCount(); i++) { if (!getContextCalibrators(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; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo.Type type = 1; * @return The type. */ @java.lang.Override 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; * @param value The type to set. * @return This builder for chaining. */ 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; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 0; onChanged(); return this; } private boolean littleEndian_ ; /** * optional bool littleEndian = 2; * @return Whether the littleEndian field is set. */ @java.lang.Override public boolean hasLittleEndian() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool littleEndian = 2; * @return The littleEndian. */ @java.lang.Override public boolean getLittleEndian() { return littleEndian_; } /** * optional bool littleEndian = 2; * @param value The littleEndian to set. * @return This builder for chaining. */ public Builder setLittleEndian(boolean value) { bitField0_ |= 0x00000002; littleEndian_ = value; onChanged(); return this; } /** * optional bool littleEndian = 2; * @return This builder for chaining. */ public Builder clearLittleEndian() { bitField0_ = (bitField0_ & ~0x00000002); littleEndian_ = false; onChanged(); return this; } private int sizeInBits_ ; /** * optional int32 sizeInBits = 3; * @return Whether the sizeInBits field is set. */ @java.lang.Override public boolean hasSizeInBits() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 sizeInBits = 3; * @return The sizeInBits. */ @java.lang.Override public int getSizeInBits() { return sizeInBits_; } /** * optional int32 sizeInBits = 3; * @param value The sizeInBits to set. * @return This builder for chaining. */ public Builder setSizeInBits(int value) { bitField0_ |= 0x00000004; sizeInBits_ = value; onChanged(); return this; } /** * optional int32 sizeInBits = 3; * @return This builder for chaining. */ public Builder clearSizeInBits() { bitField0_ = (bitField0_ & ~0x00000004); sizeInBits_ = 0; onChanged(); return this; } private java.lang.Object encoding_ = ""; /** * optional string encoding = 4; * @return Whether the encoding field is set. */ public boolean hasEncoding() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string encoding = 4; * @return The encoding. */ 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; * @return The bytes for encoding. */ 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; * @param value The encoding to set. * @return This builder for chaining. */ public Builder setEncoding( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; encoding_ = value; onChanged(); return this; } /** * optional string encoding = 4; * @return This builder for chaining. */ public Builder clearEncoding() { bitField0_ = (bitField0_ & ~0x00000008); encoding_ = getDefaultInstance().getEncoding(); onChanged(); return this; } /** * optional string encoding = 4; * @param value The bytes for encoding to set. * @return This builder for chaining. */ 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; * @return Whether the defaultCalibrator field is set. */ public boolean hasDefaultCalibrator() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo defaultCalibrator = 6; * @return The defaultCalibrator. */ 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_; /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated public java.util.List getContextCalibratorList() { if (contextCalibratorBuilder_ == null) { return java.util.Collections.unmodifiableList(contextCalibrator_); } else { return contextCalibratorBuilder_.getMessageList(); } } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated public int getContextCalibratorCount() { if (contextCalibratorBuilder_ == null) { return contextCalibrator_.size(); } else { return contextCalibratorBuilder_.getCount(); } } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.ContextCalibratorInfo getContextCalibrator(int index) { if (contextCalibratorBuilder_ == null) { return contextCalibrator_.get(index); } else { return contextCalibratorBuilder_.getMessage(index); } } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated public Builder clearContextCalibrator() { if (contextCalibratorBuilder_ == null) { contextCalibrator_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { contextCalibratorBuilder_.clear(); } return this; } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated public Builder removeContextCalibrator(int index) { if (contextCalibratorBuilder_ == null) { ensureContextCalibratorIsMutable(); contextCalibrator_.remove(index); onChanged(); } else { contextCalibratorBuilder_.remove(index); } return this; } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder getContextCalibratorBuilder( int index) { return getContextCalibratorFieldBuilder().getBuilder(index); } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorOrBuilder( int index) { if (contextCalibratorBuilder_ == null) { return contextCalibrator_.get(index); } else { return contextCalibratorBuilder_.getMessageOrBuilder(index); } } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated public java.util.List getContextCalibratorOrBuilderList() { if (contextCalibratorBuilder_ != null) { return contextCalibratorBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(contextCalibrator_); } } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder addContextCalibratorBuilder() { return getContextCalibratorFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ContextCalibratorInfo.getDefaultInstance()); } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder addContextCalibratorBuilder( int index) { return getContextCalibratorFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.getDefaultInstance()); } /** *
       * Deprecated, use ``contextCalibrators`` instead
       * 
* * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrator = 7 [deprecated = true]; */ @java.lang.Deprecated 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_; } private java.util.List contextCalibrators_ = java.util.Collections.emptyList(); private void ensureContextCalibratorsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { contextCalibrators_ = new java.util.ArrayList(contextCalibrators_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextCalibratorInfo, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder> contextCalibratorsBuilder_; /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public java.util.List getContextCalibratorsList() { if (contextCalibratorsBuilder_ == null) { return java.util.Collections.unmodifiableList(contextCalibrators_); } else { return contextCalibratorsBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public int getContextCalibratorsCount() { if (contextCalibratorsBuilder_ == null) { return contextCalibrators_.size(); } else { return contextCalibratorsBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo getContextCalibrators(int index) { if (contextCalibratorsBuilder_ == null) { return contextCalibrators_.get(index); } else { return contextCalibratorsBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public Builder setContextCalibrators( int index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo value) { if (contextCalibratorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextCalibratorsIsMutable(); contextCalibrators_.set(index, value); onChanged(); } else { contextCalibratorsBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public Builder setContextCalibrators( int index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder builderForValue) { if (contextCalibratorsBuilder_ == null) { ensureContextCalibratorsIsMutable(); contextCalibrators_.set(index, builderForValue.build()); onChanged(); } else { contextCalibratorsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public Builder addContextCalibrators(org.yamcs.protobuf.Mdb.ContextCalibratorInfo value) { if (contextCalibratorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextCalibratorsIsMutable(); contextCalibrators_.add(value); onChanged(); } else { contextCalibratorsBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public Builder addContextCalibrators( int index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo value) { if (contextCalibratorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextCalibratorsIsMutable(); contextCalibrators_.add(index, value); onChanged(); } else { contextCalibratorsBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public Builder addContextCalibrators( org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder builderForValue) { if (contextCalibratorsBuilder_ == null) { ensureContextCalibratorsIsMutable(); contextCalibrators_.add(builderForValue.build()); onChanged(); } else { contextCalibratorsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public Builder addContextCalibrators( int index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder builderForValue) { if (contextCalibratorsBuilder_ == null) { ensureContextCalibratorsIsMutable(); contextCalibrators_.add(index, builderForValue.build()); onChanged(); } else { contextCalibratorsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public Builder addAllContextCalibrators( java.lang.Iterable values) { if (contextCalibratorsBuilder_ == null) { ensureContextCalibratorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, contextCalibrators_); onChanged(); } else { contextCalibratorsBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public Builder clearContextCalibrators() { if (contextCalibratorsBuilder_ == null) { contextCalibrators_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { contextCalibratorsBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public Builder removeContextCalibrators(int index) { if (contextCalibratorsBuilder_ == null) { ensureContextCalibratorsIsMutable(); contextCalibrators_.remove(index); onChanged(); } else { contextCalibratorsBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder getContextCalibratorsBuilder( int index) { return getContextCalibratorsFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder getContextCalibratorsOrBuilder( int index) { if (contextCalibratorsBuilder_ == null) { return contextCalibrators_.get(index); } else { return contextCalibratorsBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public java.util.List getContextCalibratorsOrBuilderList() { if (contextCalibratorsBuilder_ != null) { return contextCalibratorsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(contextCalibrators_); } } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder addContextCalibratorsBuilder() { return getContextCalibratorsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ContextCalibratorInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder addContextCalibratorsBuilder( int index) { return getContextCalibratorsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ContextCalibratorInfo contextCalibrators = 8; */ public java.util.List getContextCalibratorsBuilderList() { return getContextCalibratorsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextCalibratorInfo, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder> getContextCalibratorsFieldBuilder() { if (contextCalibratorsBuilder_ == null) { contextCalibratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextCalibratorInfo, org.yamcs.protobuf.Mdb.ContextCalibratorInfo.Builder, org.yamcs.protobuf.Mdb.ContextCalibratorInfoOrBuilder>( contextCalibrators_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); contextCalibrators_ = null; } return contextCalibratorsBuilder_; } @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; * @return Whether the calibrator field is set. */ boolean hasCalibrator(); /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; * @return The calibrator. */ org.yamcs.protobuf.Mdb.CalibratorInfo getCalibrator(); /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ org.yamcs.protobuf.Mdb.CalibratorInfoOrBuilder getCalibratorOrBuilder(); /** *
     * This can be used in UpdateParameterRequest to pass a context
     * that is parsed on the server, according to the rules in the
     * excel spreadsheet. Either this or a comparison has to be
     * used (not both at the same time)
     * 
* * optional string context = 3; * @return Whether the context field is set. */ boolean hasContext(); /** *
     * This can be used in UpdateParameterRequest to pass a context
     * that is parsed on the server, according to the rules in the
     * excel spreadsheet. Either this or a comparison has to be
     * used (not both at the same time)
     * 
* * optional string context = 3; * @return The context. */ java.lang.String getContext(); /** *
     * This can be used in UpdateParameterRequest to pass a context
     * that is parsed on the server, according to the rules in the
     * excel spreadsheet. Either this or a comparison has to be
     * used (not both at the same time)
     * 
* * optional string context = 3; * @return The bytes for context. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ContextCalibratorInfo(); } @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; */ @java.lang.Override public java.util.List getComparisonList() { return comparison_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ @java.lang.Override public java.util.List getComparisonOrBuilderList() { return comparison_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ @java.lang.Override public int getComparisonCount() { return comparison_.size(); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ComparisonInfo getComparison(int index) { return comparison_.get(index); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo comparison = 1; */ @java.lang.Override 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; * @return Whether the calibrator field is set. */ @java.lang.Override public boolean hasCalibrator() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; * @return The calibrator. */ @java.lang.Override public org.yamcs.protobuf.Mdb.CalibratorInfo getCalibrator() { return calibrator_ == null ? org.yamcs.protobuf.Mdb.CalibratorInfo.getDefaultInstance() : calibrator_; } /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; */ @java.lang.Override 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 UpdateParameterRequest to pass a context
     * that is parsed on the server, according to the rules in the
     * excel spreadsheet. Either this or a comparison has to be
     * used (not both at the same time)
     * 
* * optional string context = 3; * @return Whether the context field is set. */ @java.lang.Override public boolean hasContext() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * This can be used in UpdateParameterRequest to pass a context
     * that is parsed on the server, according to the rules in the
     * excel spreadsheet. Either this or a comparison has to be
     * used (not both at the same time)
     * 
* * optional string context = 3; * @return The context. */ @java.lang.Override 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 UpdateParameterRequest to pass a context
     * that is parsed on the server, according to the rules in the
     * excel spreadsheet. Either this or a comparison has to be
     * used (not both at the same time)
     * 
* * optional string context = 3; * @return The bytes for context. */ @java.lang.Override 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; * @return Whether the calibrator field is set. */ public boolean hasCalibrator() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo calibrator = 2; * @return The calibrator. */ 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 UpdateParameterRequest to pass a context
       * that is parsed on the server, according to the rules in the
       * excel spreadsheet. Either this or a comparison has to be
       * used (not both at the same time)
       * 
* * optional string context = 3; * @return Whether the context field is set. */ public boolean hasContext() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * This can be used in UpdateParameterRequest to pass a context
       * that is parsed on the server, according to the rules in the
       * excel spreadsheet. Either this or a comparison has to be
       * used (not both at the same time)
       * 
* * optional string context = 3; * @return The context. */ 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 UpdateParameterRequest to pass a context
       * that is parsed on the server, according to the rules in the
       * excel spreadsheet. Either this or a comparison has to be
       * used (not both at the same time)
       * 
* * optional string context = 3; * @return The bytes for context. */ 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 UpdateParameterRequest to pass a context
       * that is parsed on the server, according to the rules in the
       * excel spreadsheet. Either this or a comparison has to be
       * used (not both at the same time)
       * 
* * optional string context = 3; * @param value The context to set. * @return This builder for chaining. */ 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 UpdateParameterRequest to pass a context
       * that is parsed on the server, according to the rules in the
       * excel spreadsheet. Either this or a comparison has to be
       * used (not both at the same time)
       * 
* * optional string context = 3; * @return This builder for chaining. */ public Builder clearContext() { bitField0_ = (bitField0_ & ~0x00000004); context_ = getDefaultInstance().getContext(); onChanged(); return this; } /** *
       * This can be used in UpdateParameterRequest to pass a context
       * that is parsed on the server, according to the rules in the
       * excel spreadsheet. Either this or a comparison has to be
       * used (not both at the same time)
       * 
* * optional string context = 3; * @param value The bytes for context to set. * @return This builder for chaining. */ 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 .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; * @return Whether the polynomialCalibrator field is set. */ boolean hasPolynomialCalibrator(); /** * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; * @return The polynomialCalibrator. */ org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo getPolynomialCalibrator(); /** * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ org.yamcs.protobuf.Mdb.PolynomialCalibratorInfoOrBuilder getPolynomialCalibratorOrBuilder(); /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; * @return Whether the splineCalibrator field is set. */ boolean hasSplineCalibrator(); /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; * @return The splineCalibrator. */ 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; * @return Whether the javaExpressionCalibrator field is set. */ boolean hasJavaExpressionCalibrator(); /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; * @return The javaExpressionCalibrator. */ 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; * @return Whether the type field is set. */ boolean hasType(); /** * optional .yamcs.protobuf.mdb.CalibratorInfo.Type type = 5; * @return The type. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CalibratorInfo(); } @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; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Type valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static 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 .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; * @return Whether the polynomialCalibrator field is set. */ @java.lang.Override public boolean hasPolynomialCalibrator() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; * @return The polynomialCalibrator. */ @java.lang.Override public org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo getPolynomialCalibrator() { return polynomialCalibrator_ == null ? org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.getDefaultInstance() : polynomialCalibrator_; } /** * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ @java.lang.Override 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; * @return Whether the splineCalibrator field is set. */ @java.lang.Override public boolean hasSplineCalibrator() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; * @return The splineCalibrator. */ @java.lang.Override public org.yamcs.protobuf.Mdb.SplineCalibratorInfo getSplineCalibrator() { return splineCalibrator_ == null ? org.yamcs.protobuf.Mdb.SplineCalibratorInfo.getDefaultInstance() : splineCalibrator_; } /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; */ @java.lang.Override 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; * @return Whether the javaExpressionCalibrator field is set. */ @java.lang.Override public boolean hasJavaExpressionCalibrator() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; * @return The javaExpressionCalibrator. */ @java.lang.Override public org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo getJavaExpressionCalibrator() { return javaExpressionCalibrator_ == null ? org.yamcs.protobuf.Mdb.JavaExpressionCalibratorInfo.getDefaultInstance() : javaExpressionCalibrator_; } /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; */ @java.lang.Override 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; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo.Type type = 5; * @return The type. */ @java.lang.Override 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 .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; * @return Whether the polynomialCalibrator field is set. */ public boolean hasPolynomialCalibrator() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; * @return The polynomialCalibrator. */ 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 .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 .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 .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 .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ public Builder clearPolynomialCalibrator() { if (polynomialCalibratorBuilder_ == null) { polynomialCalibrator_ = null; onChanged(); } else { polynomialCalibratorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .yamcs.protobuf.mdb.PolynomialCalibratorInfo polynomialCalibrator = 2; */ public org.yamcs.protobuf.Mdb.PolynomialCalibratorInfo.Builder getPolynomialCalibratorBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPolynomialCalibratorFieldBuilder().getBuilder(); } /** * 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 .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; * @return Whether the splineCalibrator field is set. */ public boolean hasSplineCalibrator() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.SplineCalibratorInfo splineCalibrator = 3; * @return The splineCalibrator. */ 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; * @return Whether the javaExpressionCalibrator field is set. */ public boolean hasJavaExpressionCalibrator() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .yamcs.protobuf.mdb.JavaExpressionCalibratorInfo javaExpressionCalibrator = 4; * @return The javaExpressionCalibrator. */ 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; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.CalibratorInfo.Type type = 5; * @return The type. */ @java.lang.Override 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; * @param value The type to set. * @return This builder for chaining. */ 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; * @return This builder for chaining. */ 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 { /** *
     * Deprecated, use ``coefficients`` instead
     * 
* * repeated double coefficient = 1 [deprecated = true]; * @deprecated * @return A list containing the coefficient. */ @java.lang.Deprecated java.util.List getCoefficientList(); /** *
     * Deprecated, use ``coefficients`` instead
     * 
* * repeated double coefficient = 1 [deprecated = true]; * @deprecated * @return The count of coefficient. */ @java.lang.Deprecated int getCoefficientCount(); /** *
     * Deprecated, use ``coefficients`` instead
     * 
* * repeated double coefficient = 1 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The coefficient at the given index. */ @java.lang.Deprecated double getCoefficient(int index); /** * repeated double coefficients = 2; * @return A list containing the coefficients. */ java.util.List getCoefficientsList(); /** * repeated double coefficients = 2; * @return The count of coefficients. */ int getCoefficientsCount(); /** * repeated double coefficients = 2; * @param index The index of the element to return. * @return The coefficients at the given index. */ double getCoefficients(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(); coefficients_ = emptyDoubleList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PolynomialCalibratorInfo(); } @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; } case 17: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { coefficients_ = newDoubleList(); mutable_bitField0_ |= 0x00000002; } coefficients_.addDouble(input.readDouble()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { coefficients_ = newDoubleList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { coefficients_.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 } if (((mutable_bitField0_ & 0x00000002) != 0)) { coefficients_.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_; /** *
     * Deprecated, use ``coefficients`` instead
     * 
* * repeated double coefficient = 1 [deprecated = true]; * @deprecated * @return A list containing the coefficient. */ @java.lang.Override @java.lang.Deprecated public java.util.List getCoefficientList() { return coefficient_; } /** *
     * Deprecated, use ``coefficients`` instead
     * 
* * repeated double coefficient = 1 [deprecated = true]; * @deprecated * @return The count of coefficient. */ @java.lang.Deprecated public int getCoefficientCount() { return coefficient_.size(); } /** *
     * Deprecated, use ``coefficients`` instead
     * 
* * repeated double coefficient = 1 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The coefficient at the given index. */ @java.lang.Deprecated public double getCoefficient(int index) { return coefficient_.getDouble(index); } public static final int COEFFICIENTS_FIELD_NUMBER = 2; private com.google.protobuf.Internal.DoubleList coefficients_; /** * repeated double coefficients = 2; * @return A list containing the coefficients. */ @java.lang.Override public java.util.List getCoefficientsList() { return coefficients_; } /** * repeated double coefficients = 2; * @return The count of coefficients. */ public int getCoefficientsCount() { return coefficients_.size(); } /** * repeated double coefficients = 2; * @param index The index of the element to return. * @return The coefficients at the given index. */ public double getCoefficients(int index) { return coefficients_.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)); } for (int i = 0; i < coefficients_.size(); i++) { output.writeDouble(2, coefficients_.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(); } { int dataSize = 0; dataSize = 8 * getCoefficientsList().size(); size += dataSize; size += 1 * getCoefficientsList().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 (!getCoefficientsList() .equals(other.getCoefficientsList())) 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(); } if (getCoefficientsCount() > 0) { hash = (37 * hash) + COEFFICIENTS_FIELD_NUMBER; hash = (53 * hash) + getCoefficientsList().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); coefficients_ = emptyDoubleList(); 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_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_; if (((bitField0_ & 0x00000002) != 0)) { coefficients_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.coefficients_ = coefficients_; 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(); } if (!other.coefficients_.isEmpty()) { if (coefficients_.isEmpty()) { coefficients_ = other.coefficients_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureCoefficientsIsMutable(); coefficients_.addAll(other.coefficients_); } 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; } } /** *
       * Deprecated, use ``coefficients`` instead
       * 
* * repeated double coefficient = 1 [deprecated = true]; * @deprecated * @return A list containing the coefficient. */ @java.lang.Deprecated public java.util.List getCoefficientList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(coefficient_) : coefficient_; } /** *
       * Deprecated, use ``coefficients`` instead
       * 
* * repeated double coefficient = 1 [deprecated = true]; * @deprecated * @return The count of coefficient. */ @java.lang.Deprecated public int getCoefficientCount() { return coefficient_.size(); } /** *
       * Deprecated, use ``coefficients`` instead
       * 
* * repeated double coefficient = 1 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The coefficient at the given index. */ @java.lang.Deprecated public double getCoefficient(int index) { return coefficient_.getDouble(index); } /** *
       * Deprecated, use ``coefficients`` instead
       * 
* * repeated double coefficient = 1 [deprecated = true]; * @deprecated * @param index The index to set the value at. * @param value The coefficient to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setCoefficient( int index, double value) { ensureCoefficientIsMutable(); coefficient_.setDouble(index, value); onChanged(); return this; } /** *
       * Deprecated, use ``coefficients`` instead
       * 
* * repeated double coefficient = 1 [deprecated = true]; * @deprecated * @param value The coefficient to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addCoefficient(double value) { ensureCoefficientIsMutable(); coefficient_.addDouble(value); onChanged(); return this; } /** *
       * Deprecated, use ``coefficients`` instead
       * 
* * repeated double coefficient = 1 [deprecated = true]; * @deprecated * @param values The coefficient to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllCoefficient( java.lang.Iterable values) { ensureCoefficientIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, coefficient_); onChanged(); return this; } /** *
       * Deprecated, use ``coefficients`` instead
       * 
* * repeated double coefficient = 1 [deprecated = true]; * @deprecated * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearCoefficient() { coefficient_ = emptyDoubleList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private com.google.protobuf.Internal.DoubleList coefficients_ = emptyDoubleList(); private void ensureCoefficientsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { coefficients_ = mutableCopy(coefficients_); bitField0_ |= 0x00000002; } } /** * repeated double coefficients = 2; * @return A list containing the coefficients. */ public java.util.List getCoefficientsList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(coefficients_) : coefficients_; } /** * repeated double coefficients = 2; * @return The count of coefficients. */ public int getCoefficientsCount() { return coefficients_.size(); } /** * repeated double coefficients = 2; * @param index The index of the element to return. * @return The coefficients at the given index. */ public double getCoefficients(int index) { return coefficients_.getDouble(index); } /** * repeated double coefficients = 2; * @param index The index to set the value at. * @param value The coefficients to set. * @return This builder for chaining. */ public Builder setCoefficients( int index, double value) { ensureCoefficientsIsMutable(); coefficients_.setDouble(index, value); onChanged(); return this; } /** * repeated double coefficients = 2; * @param value The coefficients to add. * @return This builder for chaining. */ public Builder addCoefficients(double value) { ensureCoefficientsIsMutable(); coefficients_.addDouble(value); onChanged(); return this; } /** * repeated double coefficients = 2; * @param values The coefficients to add. * @return This builder for chaining. */ public Builder addAllCoefficients( java.lang.Iterable values) { ensureCoefficientsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, coefficients_); onChanged(); return this; } /** * repeated double coefficients = 2; * @return This builder for chaining. */ public Builder clearCoefficients() { coefficients_ = emptyDoubleList(); bitField0_ = (bitField0_ & ~0x00000002); 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 { /** *
     * Deprecated, use ``points`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated java.util.List getPointList(); /** *
     * Deprecated, use ``points`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo getPoint(int index); /** *
     * Deprecated, use ``points`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated int getPointCount(); /** *
     * Deprecated, use ``points`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated java.util.List getPointOrBuilderList(); /** *
     * Deprecated, use ``points`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder getPointOrBuilder( int index); /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ java.util.List getPointsList(); /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo getPoints(int index); /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ int getPointsCount(); /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ java.util.List getPointsOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder getPointsOrBuilder( 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(); points_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SplineCalibratorInfo(); } @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; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { points_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } points_.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_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { points_ = java.util.Collections.unmodifiableList(points_); } 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; * @return Whether the raw field is set. */ boolean hasRaw(); /** * optional double raw = 1; * @return The raw. */ double getRaw(); /** * optional double calibrated = 2; * @return Whether the calibrated field is set. */ boolean hasCalibrated(); /** * optional double calibrated = 2; * @return The calibrated. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new 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; * @return Whether the raw field is set. */ @java.lang.Override public boolean hasRaw() { return ((bitField0_ & 0x00000001) != 0); } /** * optional double raw = 1; * @return The raw. */ @java.lang.Override public double getRaw() { return raw_; } public static final int CALIBRATED_FIELD_NUMBER = 2; private double calibrated_; /** * optional double calibrated = 2; * @return Whether the calibrated field is set. */ @java.lang.Override public boolean hasCalibrated() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double calibrated = 2; * @return The calibrated. */ @java.lang.Override 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; * @return Whether the raw field is set. */ @java.lang.Override public boolean hasRaw() { return ((bitField0_ & 0x00000001) != 0); } /** * optional double raw = 1; * @return The raw. */ @java.lang.Override public double getRaw() { return raw_; } /** * optional double raw = 1; * @param value The raw to set. * @return This builder for chaining. */ public Builder setRaw(double value) { bitField0_ |= 0x00000001; raw_ = value; onChanged(); return this; } /** * optional double raw = 1; * @return This builder for chaining. */ public Builder clearRaw() { bitField0_ = (bitField0_ & ~0x00000001); raw_ = 0D; onChanged(); return this; } private double calibrated_ ; /** * optional double calibrated = 2; * @return Whether the calibrated field is set. */ @java.lang.Override public boolean hasCalibrated() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double calibrated = 2; * @return The calibrated. */ @java.lang.Override public double getCalibrated() { return calibrated_; } /** * optional double calibrated = 2; * @param value The calibrated to set. * @return This builder for chaining. */ public Builder setCalibrated(double value) { bitField0_ |= 0x00000002; calibrated_ = value; onChanged(); return this; } /** * optional double calibrated = 2; * @return This builder for chaining. */ 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_; /** *
     * Deprecated, use ``points`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getPointList() { return point_; } /** *
     * Deprecated, use ``points`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getPointOrBuilderList() { return point_; } /** *
     * Deprecated, use ``points`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public int getPointCount() { return point_.size(); } /** *
     * Deprecated, use ``points`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo getPoint(int index) { return point_.get(index); } /** *
     * Deprecated, use ``points`` instead
     * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder getPointOrBuilder( int index) { return point_.get(index); } public static final int POINTS_FIELD_NUMBER = 2; private java.util.List points_; /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ @java.lang.Override public java.util.List getPointsList() { return points_; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ @java.lang.Override public java.util.List getPointsOrBuilderList() { return points_; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ @java.lang.Override public int getPointsCount() { return points_.size(); } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo getPoints(int index) { return points_.get(index); } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder getPointsOrBuilder( int index) { return points_.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)); } for (int i = 0; i < points_.size(); i++) { output.writeMessage(2, points_.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)); } for (int i = 0; i < points_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, points_.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 (!getPointsList() .equals(other.getPointsList())) 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(); } if (getPointsCount() > 0) { hash = (37 * hash) + POINTS_FIELD_NUMBER; hash = (53 * hash) + getPointsList().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(); getPointsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (pointBuilder_ == null) { point_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { pointBuilder_.clear(); } if (pointsBuilder_ == null) { points_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { pointsBuilder_.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(); } if (pointsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { points_ = java.util.Collections.unmodifiableList(points_); bitField0_ = (bitField0_ & ~0x00000002); } result.points_ = points_; } else { result.points_ = pointsBuilder_.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_); } } } if (pointsBuilder_ == null) { if (!other.points_.isEmpty()) { if (points_.isEmpty()) { points_ = other.points_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePointsIsMutable(); points_.addAll(other.points_); } onChanged(); } } else { if (!other.points_.isEmpty()) { if (pointsBuilder_.isEmpty()) { pointsBuilder_.dispose(); pointsBuilder_ = null; points_ = other.points_; bitField0_ = (bitField0_ & ~0x00000002); pointsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPointsFieldBuilder() : null; } else { pointsBuilder_.addAllMessages(other.points_); } } } 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_; /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated public java.util.List getPointList() { if (pointBuilder_ == null) { return java.util.Collections.unmodifiableList(point_); } else { return pointBuilder_.getMessageList(); } } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated public int getPointCount() { if (pointBuilder_ == null) { return point_.size(); } else { return pointBuilder_.getCount(); } } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo getPoint(int index) { if (pointBuilder_ == null) { return point_.get(index); } else { return pointBuilder_.getMessage(index); } } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated 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; } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated public Builder clearPoint() { if (pointBuilder_ == null) { point_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { pointBuilder_.clear(); } return this; } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated public Builder removePoint(int index) { if (pointBuilder_ == null) { ensurePointIsMutable(); point_.remove(index); onChanged(); } else { pointBuilder_.remove(index); } return this; } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder getPointBuilder( int index) { return getPointFieldBuilder().getBuilder(index); } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder getPointOrBuilder( int index) { if (pointBuilder_ == null) { return point_.get(index); } else { return pointBuilder_.getMessageOrBuilder(index); } } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated public java.util.List getPointOrBuilderList() { if (pointBuilder_ != null) { return pointBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(point_); } } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder addPointBuilder() { return getPointFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.getDefaultInstance()); } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder addPointBuilder( int index) { return getPointFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.getDefaultInstance()); } /** *
       * Deprecated, use ``points`` instead
       * 
* * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo point = 1 [deprecated = true]; */ @java.lang.Deprecated 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_; } private java.util.List points_ = java.util.Collections.emptyList(); private void ensurePointsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { points_ = new java.util.ArrayList(points_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder> pointsBuilder_; /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public java.util.List getPointsList() { if (pointsBuilder_ == null) { return java.util.Collections.unmodifiableList(points_); } else { return pointsBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public int getPointsCount() { if (pointsBuilder_ == null) { return points_.size(); } else { return pointsBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo getPoints(int index) { if (pointsBuilder_ == null) { return points_.get(index); } else { return pointsBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public Builder setPoints( int index, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePointsIsMutable(); points_.set(index, value); onChanged(); } else { pointsBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public Builder setPoints( int index, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder builderForValue) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); points_.set(index, builderForValue.build()); onChanged(); } else { pointsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public Builder addPoints(org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePointsIsMutable(); points_.add(value); onChanged(); } else { pointsBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public Builder addPoints( int index, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo value) { if (pointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePointsIsMutable(); points_.add(index, value); onChanged(); } else { pointsBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public Builder addPoints( org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder builderForValue) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); points_.add(builderForValue.build()); onChanged(); } else { pointsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public Builder addPoints( int index, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder builderForValue) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); points_.add(index, builderForValue.build()); onChanged(); } else { pointsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public Builder addAllPoints( java.lang.Iterable values) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, points_); onChanged(); } else { pointsBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public Builder clearPoints() { if (pointsBuilder_ == null) { points_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { pointsBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public Builder removePoints(int index) { if (pointsBuilder_ == null) { ensurePointsIsMutable(); points_.remove(index); onChanged(); } else { pointsBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder getPointsBuilder( int index) { return getPointsFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder getPointsOrBuilder( int index) { if (pointsBuilder_ == null) { return points_.get(index); } else { return pointsBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public java.util.List getPointsOrBuilderList() { if (pointsBuilder_ != null) { return pointsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(points_); } } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder addPointsBuilder() { return getPointsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder addPointsBuilder( int index) { return getPointsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.SplineCalibratorInfo.SplinePointInfo points = 2; */ public java.util.List getPointsBuilderList() { return getPointsFieldBuilder().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> getPointsFieldBuilder() { if (pointsBuilder_ == null) { pointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfo.Builder, org.yamcs.protobuf.Mdb.SplineCalibratorInfo.SplinePointInfoOrBuilder>( points_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); points_ = null; } return pointsBuilder_; } @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; * @return Whether the formula field is set. */ boolean hasFormula(); /** * optional string formula = 1; * @return The formula. */ java.lang.String getFormula(); /** * optional string formula = 1; * @return The bytes for formula. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JavaExpressionCalibratorInfo(); } @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; * @return Whether the formula field is set. */ @java.lang.Override public boolean hasFormula() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string formula = 1; * @return The formula. */ @java.lang.Override 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; * @return The bytes for formula. */ @java.lang.Override 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; * @return Whether the formula field is set. */ public boolean hasFormula() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string formula = 1; * @return The formula. */ 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; * @return The bytes for formula. */ 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; * @param value The formula to set. * @return This builder for chaining. */ public Builder setFormula( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; formula_ = value; onChanged(); return this; } /** * optional string formula = 1; * @return This builder for chaining. */ public Builder clearFormula() { bitField0_ = (bitField0_ & ~0x00000001); formula_ = getDefaultInstance().getFormula(); onChanged(); return this; } /** * optional string formula = 1; * @param value The bytes for formula to set. * @return This builder for chaining. */ 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; * @return Whether the value field is set. */ boolean hasValue(); /** * optional int64 value = 1; * @return The value. */ long getValue(); /** * optional string label = 2; * @return Whether the label field is set. */ boolean hasLabel(); /** * optional string label = 2; * @return The label. */ java.lang.String getLabel(); /** * optional string label = 2; * @return The bytes for label. */ com.google.protobuf.ByteString getLabelBytes(); /** * optional string description = 3; * @return Whether the description field is set. */ boolean hasDescription(); /** * optional string description = 3; * @return The description. */ java.lang.String getDescription(); /** * optional string description = 3; * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); } /** * 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_ = ""; description_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EnumValue(); } @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; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; description_ = 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; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 value = 1; * @return The value. */ @java.lang.Override public long getValue() { return value_; } public static final int LABEL_FIELD_NUMBER = 2; private volatile java.lang.Object label_; /** * optional string label = 2; * @return Whether the label field is set. */ @java.lang.Override public boolean hasLabel() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string label = 2; * @return The label. */ @java.lang.Override 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; * @return The bytes for label. */ @java.lang.Override 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; } } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** * optional string description = 3; * @return Whether the description field is set. */ @java.lang.Override public boolean hasDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string description = 3; * @return The description. */ @java.lang.Override 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 = 3; * @return The bytes for description. */ @java.lang.Override 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; } } 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_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } 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_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } 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 (hasDescription() != other.hasDescription()) return false; if (hasDescription()) { if (!getDescription() .equals(other.getDescription())) 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(); } if (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().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); description_ = ""; 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_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_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.description_ = description_; 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(); } if (other.hasDescription()) { bitField0_ |= 0x00000004; description_ = other.description_; 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; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 value = 1; * @return The value. */ @java.lang.Override public long getValue() { return value_; } /** * optional int64 value = 1; * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(long value) { bitField0_ |= 0x00000001; value_ = value; onChanged(); return this; } /** * optional int64 value = 1; * @return This builder for chaining. */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000001); value_ = 0L; onChanged(); return this; } private java.lang.Object label_ = ""; /** * optional string label = 2; * @return Whether the label field is set. */ public boolean hasLabel() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string label = 2; * @return The label. */ 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; * @return The bytes for label. */ 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; * @param value The label to set. * @return This builder for chaining. */ public Builder setLabel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; label_ = value; onChanged(); return this; } /** * optional string label = 2; * @return This builder for chaining. */ public Builder clearLabel() { bitField0_ = (bitField0_ & ~0x00000002); label_ = getDefaultInstance().getLabel(); onChanged(); return this; } /** * optional string label = 2; * @param value The bytes for label to set. * @return This builder for chaining. */ public Builder setLabelBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; label_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** * optional string description = 3; * @return Whether the description field is set. */ public boolean hasDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string description = 3; * @return The description. */ 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 = 3; * @return The bytes for description. */ 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 = 3; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; description_ = value; onChanged(); return this; } /** * optional string description = 3; * @return This builder for chaining. */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000004); description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** * optional string description = 3; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; description_ = 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 name = 16; * @return Whether the name field is set. */ boolean hasName(); /** * optional string name = 16; * @return The name. */ java.lang.String getName(); /** * optional string name = 16; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 17; * @return Whether the qualifiedName field is set. */ boolean hasQualifiedName(); /** * optional string qualifiedName = 17; * @return The qualifiedName. */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 17; * @return The bytes for qualifiedName. */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** * optional string shortDescription = 18; * @return Whether the shortDescription field is set. */ boolean hasShortDescription(); /** * optional string shortDescription = 18; * @return The shortDescription. */ java.lang.String getShortDescription(); /** * optional string shortDescription = 18; * @return The bytes for shortDescription. */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 19; * @return Whether the longDescription field is set. */ boolean hasLongDescription(); /** * optional string longDescription = 19; * @return The longDescription. */ java.lang.String getLongDescription(); /** * optional string longDescription = 19; * @return The bytes for longDescription. */ com.google.protobuf.ByteString getLongDescriptionBytes(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ java.util.List getAliasList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index); /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ int getAliasCount(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ java.util.List getAliasOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index); /** *
     * Engineering type
     * 
* * optional string engType = 1; * @return Whether the engType field is set. */ boolean hasEngType(); /** *
     * Engineering type
     * 
* * optional string engType = 1; * @return The engType. */ java.lang.String getEngType(); /** *
     * Engineering type
     * 
* * optional string engType = 1; * @return The bytes for engType. */ com.google.protobuf.ByteString getEngTypeBytes(); /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; * @return Whether the dataEncoding field is set. */ boolean hasDataEncoding(); /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; * @return The dataEncoding. */ 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); /** *
     * Default Alarm, effective when no contextual alarm takes precedence.
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; * @return Whether the defaultAlarm field is set. */ boolean hasDefaultAlarm(); /** *
     * Default Alarm, effective when no contextual alarm takes precedence.
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; * @return The defaultAlarm. */ org.yamcs.protobuf.Mdb.AlarmInfo getDefaultAlarm(); /** *
     * Default Alarm, effective when no contextual alarm takes precedence.
     * 
* * 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; * @return Whether the absoluteTimeInfo field is set. */ boolean hasAbsoluteTimeInfo(); /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; * @return The absoluteTimeInfo. */ org.yamcs.protobuf.Mdb.AbsoluteTimeInfo getAbsoluteTimeInfo(); /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ org.yamcs.protobuf.Mdb.AbsoluteTimeInfoOrBuilder getAbsoluteTimeInfoOrBuilder(); /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ java.util.List getContextAlarmList(); /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ org.yamcs.protobuf.Mdb.ContextAlarmInfo getContextAlarm(int index); /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ int getContextAlarmCount(); /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ java.util.List getContextAlarmOrBuilderList(); /** *
     * Contextual alarms
     * 
* * 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; * @return Whether the arrayInfo field is set. */ boolean hasArrayInfo(); /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; * @return The arrayInfo. */ org.yamcs.protobuf.Mdb.ArrayInfo getArrayInfo(); /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ org.yamcs.protobuf.Mdb.ArrayInfoOrBuilder getArrayInfoOrBuilder(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ int getAncillaryDataCount(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ boolean containsAncillaryData( java.lang.String key); /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Deprecated java.util.Map getAncillaryData(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ java.util.Map getAncillaryDataMap(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key); /** *
     * Provides hints on how to format the engineering
     * value as a string.
     * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; * @return Whether the numberFormat field is set. */ boolean hasNumberFormat(); /** *
     * Provides hints on how to format the engineering
     * value as a string.
     * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; * @return The numberFormat. */ org.yamcs.protobuf.Mdb.NumberFormatTypeInfo getNumberFormat(); /** *
     * Provides hints on how to format the engineering
     * value as a string.
     * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; */ org.yamcs.protobuf.Mdb.NumberFormatTypeInfoOrBuilder getNumberFormatOrBuilder(); /** *
     * True if the engineering type supports signed representation.
     * (only used by integer parameter types)
     * 
* * optional bool signed = 12; * @return Whether the signed field is set. */ boolean hasSigned(); /** *
     * True if the engineering type supports signed representation.
     * (only used by integer parameter types)
     * 
* * optional bool signed = 12; * @return The signed. */ boolean getSigned(); /** *
     * Hint about the range of allowed engineering values
     * 
* * optional int32 sizeInBits = 21; * @return Whether the sizeInBits field is set. */ boolean hasSizeInBits(); /** *
     * Hint about the range of allowed engineering values
     * 
* * optional int32 sizeInBits = 21; * @return The sizeInBits. */ int getSizeInBits(); /** *
     * String representation of a boolean zero (only used by boolean types)
     * 
* * optional string zeroStringValue = 13; * @return Whether the zeroStringValue field is set. */ boolean hasZeroStringValue(); /** *
     * String representation of a boolean zero (only used by boolean types)
     * 
* * optional string zeroStringValue = 13; * @return The zeroStringValue. */ java.lang.String getZeroStringValue(); /** *
     * String representation of a boolean zero (only used by boolean types)
     * 
* * optional string zeroStringValue = 13; * @return The bytes for zeroStringValue. */ com.google.protobuf.ByteString getZeroStringValueBytes(); /** *
     * String representation of a boolean one (only used by boolean types)
     * 
* * optional string oneStringValue = 14; * @return Whether the oneStringValue field is set. */ boolean hasOneStringValue(); /** *
     * String representation of a boolean one (only used by boolean types)
     * 
* * optional string oneStringValue = 14; * @return The oneStringValue. */ java.lang.String getOneStringValue(); /** *
     * String representation of a boolean one (only used by boolean types)
     * 
* * optional string oneStringValue = 14; * @return The bytes for oneStringValue. */ com.google.protobuf.ByteString getOneStringValueBytes(); /** *
     * Which parameters this type is used by. This field is only
     * populated when requesting directly a single parameter type.
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ java.util.List getUsedByList(); /** *
     * Which parameters this type is used by. This field is only
     * populated when requesting directly a single parameter type.
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ org.yamcs.protobuf.Mdb.ParameterInfo getUsedBy(int index); /** *
     * Which parameters this type is used by. This field is only
     * populated when requesting directly a single parameter type.
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ int getUsedByCount(); /** *
     * Which parameters this type is used by. This field is only
     * populated when requesting directly a single parameter type.
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ java.util.List getUsedByOrBuilderList(); /** *
     * Which parameters this type is used by. This field is only
     * populated when requesting directly a single parameter type.
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getUsedByOrBuilder( int index); } /** * 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() { name_ = ""; qualifiedName_ = ""; shortDescription_ = ""; longDescription_ = ""; alias_ = java.util.Collections.emptyList(); engType_ = ""; unitSet_ = java.util.Collections.emptyList(); enumValue_ = java.util.Collections.emptyList(); contextAlarm_ = java.util.Collections.emptyList(); member_ = java.util.Collections.emptyList(); zeroStringValue_ = ""; oneStringValue_ = ""; usedBy_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ParameterTypeInfo(); } @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_ |= 0x00000010; engType_ = bs; break; } case 18: { org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000020) != 0)) { subBuilder = dataEncoding_.toBuilder(); } dataEncoding_ = input.readMessage(org.yamcs.protobuf.Mdb.DataEncodingInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dataEncoding_); dataEncoding_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 26: { if (!((mutable_bitField0_ & 0x00000080) != 0)) { unitSet_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } unitSet_.add( input.readMessage(org.yamcs.protobuf.Mdb.UnitInfo.PARSER, extensionRegistry)); break; } case 34: { org.yamcs.protobuf.Mdb.AlarmInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000040) != 0)) { subBuilder = defaultAlarm_.toBuilder(); } defaultAlarm_ = input.readMessage(org.yamcs.protobuf.Mdb.AlarmInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(defaultAlarm_); defaultAlarm_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 42: { if (!((mutable_bitField0_ & 0x00000200) != 0)) { enumValue_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } enumValue_.add( input.readMessage(org.yamcs.protobuf.Mdb.EnumValue.PARSER, extensionRegistry)); break; } case 50: { org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000080) != 0)) { subBuilder = absoluteTimeInfo_.toBuilder(); } absoluteTimeInfo_ = input.readMessage(org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(absoluteTimeInfo_); absoluteTimeInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 58: { if (!((mutable_bitField0_ & 0x00000800) != 0)) { contextAlarm_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000800; } contextAlarm_.add( input.readMessage(org.yamcs.protobuf.Mdb.ContextAlarmInfo.PARSER, extensionRegistry)); break; } case 66: { if (!((mutable_bitField0_ & 0x00001000) != 0)) { member_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00001000; } member_.add( input.readMessage(org.yamcs.protobuf.Mdb.MemberInfo.PARSER, extensionRegistry)); break; } case 74: { org.yamcs.protobuf.Mdb.ArrayInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000100) != 0)) { subBuilder = arrayInfo_.toBuilder(); } arrayInfo_ = input.readMessage(org.yamcs.protobuf.Mdb.ArrayInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(arrayInfo_); arrayInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 82: { if (!((mutable_bitField0_ & 0x00004000) != 0)) { ancillaryData_ = com.google.protobuf.MapField.newMapField( AncillaryDataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00004000; } com.google.protobuf.MapEntry ancillaryData__ = input.readMessage( AncillaryDataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); ancillaryData_.getMutableMap().put( ancillaryData__.getKey(), ancillaryData__.getValue()); break; } case 90: { org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000200) != 0)) { subBuilder = numberFormat_.toBuilder(); } numberFormat_ = input.readMessage(org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(numberFormat_); numberFormat_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000200; break; } case 96: { bitField0_ |= 0x00000400; signed_ = input.readBool(); break; } case 106: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00001000; zeroStringValue_ = bs; break; } case 114: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00002000; oneStringValue_ = bs; break; } case 122: { if (!((mutable_bitField0_ & 0x00100000) != 0)) { usedBy_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00100000; } usedBy_.add( input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry)); break; } case 130: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 138: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; qualifiedName_ = bs; break; } case 146: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; shortDescription_ = bs; break; } case 154: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; longDescription_ = bs; break; } case 162: { 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 168: { bitField0_ |= 0x00000800; 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 { if (((mutable_bitField0_ & 0x00000080) != 0)) { unitSet_ = java.util.Collections.unmodifiableList(unitSet_); } if (((mutable_bitField0_ & 0x00000200) != 0)) { enumValue_ = java.util.Collections.unmodifiableList(enumValue_); } if (((mutable_bitField0_ & 0x00000800) != 0)) { contextAlarm_ = java.util.Collections.unmodifiableList(contextAlarm_); } if (((mutable_bitField0_ & 0x00001000) != 0)) { member_ = java.util.Collections.unmodifiableList(member_); } if (((mutable_bitField0_ & 0x00100000) != 0)) { usedBy_ = java.util.Collections.unmodifiableList(usedBy_); } 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_ParameterTypeInfo_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 10: return internalGetAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @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 NAME_FIELD_NUMBER = 16; private volatile java.lang.Object name_; /** * optional string name = 16; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 16; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 16; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 17; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 17; * @return Whether the qualifiedName field is set. */ @java.lang.Override public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 17; * @return The qualifiedName. */ @java.lang.Override 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 = 17; * @return The bytes for qualifiedName. */ @java.lang.Override 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 = 18; private volatile java.lang.Object shortDescription_; /** * optional string shortDescription = 18; * @return Whether the shortDescription field is set. */ @java.lang.Override public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 18; * @return The shortDescription. */ @java.lang.Override 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 = 18; * @return The bytes for shortDescription. */ @java.lang.Override 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 = 19; private volatile java.lang.Object longDescription_; /** * optional string longDescription = 19; * @return Whether the longDescription field is set. */ @java.lang.Override public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 19; * @return The longDescription. */ @java.lang.Override 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 = 19; * @return The bytes for longDescription. */ @java.lang.Override 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 = 20; private java.util.List alias_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ @java.lang.Override public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ @java.lang.Override public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ @java.lang.Override public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { return alias_.get(index); } public static final int ENGTYPE_FIELD_NUMBER = 1; private volatile java.lang.Object engType_; /** *
     * Engineering type
     * 
* * optional string engType = 1; * @return Whether the engType field is set. */ @java.lang.Override public boolean hasEngType() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Engineering type
     * 
* * optional string engType = 1; * @return The engType. */ @java.lang.Override 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; } } /** *
     * Engineering type
     * 
* * optional string engType = 1; * @return The bytes for engType. */ @java.lang.Override 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; * @return Whether the dataEncoding field is set. */ @java.lang.Override public boolean hasDataEncoding() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; * @return The dataEncoding. */ @java.lang.Override public org.yamcs.protobuf.Mdb.DataEncodingInfo getDataEncoding() { return dataEncoding_ == null ? org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance() : dataEncoding_; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getUnitSetList() { return unitSet_; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ @java.lang.Override public java.util.List getUnitSetOrBuilderList() { return unitSet_; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ @java.lang.Override public int getUnitSetCount() { return unitSet_.size(); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ @java.lang.Override public org.yamcs.protobuf.Mdb.UnitInfo getUnitSet(int index) { return unitSet_.get(index); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ @java.lang.Override 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_; /** *
     * Default Alarm, effective when no contextual alarm takes precedence.
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; * @return Whether the defaultAlarm field is set. */ @java.lang.Override public boolean hasDefaultAlarm() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Default Alarm, effective when no contextual alarm takes precedence.
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; * @return The defaultAlarm. */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmInfo getDefaultAlarm() { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } /** *
     * Default Alarm, effective when no contextual alarm takes precedence.
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getEnumValueList() { return enumValue_; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ @java.lang.Override public java.util.List getEnumValueOrBuilderList() { return enumValue_; } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ @java.lang.Override public int getEnumValueCount() { return enumValue_.size(); } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.EnumValue getEnumValue(int index) { return enumValue_.get(index); } /** * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ @java.lang.Override 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; * @return Whether the absoluteTimeInfo field is set. */ @java.lang.Override public boolean hasAbsoluteTimeInfo() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; * @return The absoluteTimeInfo. */ @java.lang.Override public org.yamcs.protobuf.Mdb.AbsoluteTimeInfo getAbsoluteTimeInfo() { return absoluteTimeInfo_ == null ? org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.getDefaultInstance() : absoluteTimeInfo_; } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ @java.lang.Override 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_; /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ @java.lang.Override public java.util.List getContextAlarmList() { return contextAlarm_; } /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ @java.lang.Override public java.util.List getContextAlarmOrBuilderList() { return contextAlarm_; } /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ @java.lang.Override public int getContextAlarmCount() { return contextAlarm_.size(); } /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ContextAlarmInfo getContextAlarm(int index) { return contextAlarm_.get(index); } /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getMemberList() { return member_; } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ @java.lang.Override public java.util.List getMemberOrBuilderList() { return member_; } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ @java.lang.Override public int getMemberCount() { return member_.size(); } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ @java.lang.Override public org.yamcs.protobuf.Mdb.MemberInfo getMember(int index) { return member_.get(index); } /** * repeated .yamcs.protobuf.mdb.MemberInfo member = 8; */ @java.lang.Override 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; * @return Whether the arrayInfo field is set. */ @java.lang.Override public boolean hasArrayInfo() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; * @return The arrayInfo. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArrayInfo getArrayInfo() { return arrayInfo_ == null ? org.yamcs.protobuf.Mdb.ArrayInfo.getDefaultInstance() : arrayInfo_; } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArrayInfoOrBuilder getArrayInfoOrBuilder() { return arrayInfo_ == null ? org.yamcs.protobuf.Mdb.ArrayInfo.getDefaultInstance() : arrayInfo_; } public static final int ANCILLARYDATA_FIELD_NUMBER = 10; private static final class AncillaryDataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_AncillaryDataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, org.yamcs.protobuf.Mdb.AncillaryDataInfo.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> ancillaryData_; private com.google.protobuf.MapField internalGetAncillaryData() { if (ancillaryData_ == null) { return com.google.protobuf.MapField.emptyMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } return ancillaryData_; } public int getAncillaryDataCount() { return internalGetAncillaryData().getMap().size(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ @java.lang.Override public boolean containsAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAncillaryData().getMap().containsKey(key); } /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAncillaryData() { return getAncillaryDataMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ @java.lang.Override public java.util.Map getAncillaryDataMap() { return internalGetAncillaryData().getMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int NUMBERFORMAT_FIELD_NUMBER = 11; private org.yamcs.protobuf.Mdb.NumberFormatTypeInfo numberFormat_; /** *
     * Provides hints on how to format the engineering
     * value as a string.
     * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; * @return Whether the numberFormat field is set. */ @java.lang.Override public boolean hasNumberFormat() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * Provides hints on how to format the engineering
     * value as a string.
     * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; * @return The numberFormat. */ @java.lang.Override public org.yamcs.protobuf.Mdb.NumberFormatTypeInfo getNumberFormat() { return numberFormat_ == null ? org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.getDefaultInstance() : numberFormat_; } /** *
     * Provides hints on how to format the engineering
     * value as a string.
     * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; */ @java.lang.Override public org.yamcs.protobuf.Mdb.NumberFormatTypeInfoOrBuilder getNumberFormatOrBuilder() { return numberFormat_ == null ? org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.getDefaultInstance() : numberFormat_; } public static final int SIGNED_FIELD_NUMBER = 12; private boolean signed_; /** *
     * True if the engineering type supports signed representation.
     * (only used by integer parameter types)
     * 
* * optional bool signed = 12; * @return Whether the signed field is set. */ @java.lang.Override public boolean hasSigned() { return ((bitField0_ & 0x00000400) != 0); } /** *
     * True if the engineering type supports signed representation.
     * (only used by integer parameter types)
     * 
* * optional bool signed = 12; * @return The signed. */ @java.lang.Override public boolean getSigned() { return signed_; } public static final int SIZEINBITS_FIELD_NUMBER = 21; private int sizeInBits_; /** *
     * Hint about the range of allowed engineering values
     * 
* * optional int32 sizeInBits = 21; * @return Whether the sizeInBits field is set. */ @java.lang.Override public boolean hasSizeInBits() { return ((bitField0_ & 0x00000800) != 0); } /** *
     * Hint about the range of allowed engineering values
     * 
* * optional int32 sizeInBits = 21; * @return The sizeInBits. */ @java.lang.Override public int getSizeInBits() { return sizeInBits_; } public static final int ZEROSTRINGVALUE_FIELD_NUMBER = 13; private volatile java.lang.Object zeroStringValue_; /** *
     * String representation of a boolean zero (only used by boolean types)
     * 
* * optional string zeroStringValue = 13; * @return Whether the zeroStringValue field is set. */ @java.lang.Override public boolean hasZeroStringValue() { return ((bitField0_ & 0x00001000) != 0); } /** *
     * String representation of a boolean zero (only used by boolean types)
     * 
* * optional string zeroStringValue = 13; * @return The zeroStringValue. */ @java.lang.Override public java.lang.String getZeroStringValue() { java.lang.Object ref = zeroStringValue_; 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()) { zeroStringValue_ = s; } return s; } } /** *
     * String representation of a boolean zero (only used by boolean types)
     * 
* * optional string zeroStringValue = 13; * @return The bytes for zeroStringValue. */ @java.lang.Override public com.google.protobuf.ByteString getZeroStringValueBytes() { java.lang.Object ref = zeroStringValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); zeroStringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ONESTRINGVALUE_FIELD_NUMBER = 14; private volatile java.lang.Object oneStringValue_; /** *
     * String representation of a boolean one (only used by boolean types)
     * 
* * optional string oneStringValue = 14; * @return Whether the oneStringValue field is set. */ @java.lang.Override public boolean hasOneStringValue() { return ((bitField0_ & 0x00002000) != 0); } /** *
     * String representation of a boolean one (only used by boolean types)
     * 
* * optional string oneStringValue = 14; * @return The oneStringValue. */ @java.lang.Override public java.lang.String getOneStringValue() { java.lang.Object ref = oneStringValue_; 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()) { oneStringValue_ = s; } return s; } } /** *
     * String representation of a boolean one (only used by boolean types)
     * 
* * optional string oneStringValue = 14; * @return The bytes for oneStringValue. */ @java.lang.Override public com.google.protobuf.ByteString getOneStringValueBytes() { java.lang.Object ref = oneStringValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); oneStringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USEDBY_FIELD_NUMBER = 15; private java.util.List usedBy_; /** *
     * Which parameters this type is used by. This field is only
     * populated when requesting directly a single parameter type.
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ @java.lang.Override public java.util.List getUsedByList() { return usedBy_; } /** *
     * Which parameters this type is used by. This field is only
     * populated when requesting directly a single parameter type.
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ @java.lang.Override public java.util.List getUsedByOrBuilderList() { return usedBy_; } /** *
     * Which parameters this type is used by. This field is only
     * populated when requesting directly a single parameter type.
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ @java.lang.Override public int getUsedByCount() { return usedBy_.size(); } /** *
     * Which parameters this type is used by. This field is only
     * populated when requesting directly a single parameter type.
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getUsedBy(int index) { return usedBy_.get(index); } /** *
     * Which parameters this type is used by. This field is only
     * populated when requesting directly a single parameter type.
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getUsedByOrBuilder( int index) { return usedBy_.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 (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; } } for (int i = 0; i < getUsedByCount(); i++) { if (!getUsedBy(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_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, engType_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(2, getDataEncoding()); } for (int i = 0; i < unitSet_.size(); i++) { output.writeMessage(3, unitSet_.get(i)); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(4, getDefaultAlarm()); } for (int i = 0; i < enumValue_.size(); i++) { output.writeMessage(5, enumValue_.get(i)); } if (((bitField0_ & 0x00000080) != 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_ & 0x00000100) != 0)) { output.writeMessage(9, getArrayInfo()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAncillaryData(), AncillaryDataDefaultEntryHolder.defaultEntry, 10); if (((bitField0_ & 0x00000200) != 0)) { output.writeMessage(11, getNumberFormat()); } if (((bitField0_ & 0x00000400) != 0)) { output.writeBool(12, signed_); } if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, zeroStringValue_); } if (((bitField0_ & 0x00002000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, oneStringValue_); } for (int i = 0; i < usedBy_.size(); i++) { output.writeMessage(15, usedBy_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, name_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, longDescription_); } for (int i = 0; i < alias_.size(); i++) { output.writeMessage(20, alias_.get(i)); } if (((bitField0_ & 0x00000800) != 0)) { output.writeInt32(21, sizeInBits_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, engType_); } if (((bitField0_ & 0x00000020) != 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_ & 0x00000040) != 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_ & 0x00000080) != 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_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getArrayInfo()); } for (java.util.Map.Entry entry : internalGetAncillaryData().getMap().entrySet()) { com.google.protobuf.MapEntry ancillaryData__ = AncillaryDataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, ancillaryData__); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getNumberFormat()); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(12, signed_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, zeroStringValue_); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, oneStringValue_); } for (int i = 0; i < usedBy_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, usedBy_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, qualifiedName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, longDescription_); } for (int i = 0; i < alias_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, alias_.get(i)); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(21, 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.ParameterTypeInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ParameterTypeInfo other = (org.yamcs.protobuf.Mdb.ParameterTypeInfo) 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 (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 (!internalGetAncillaryData().equals( other.internalGetAncillaryData())) return false; if (hasNumberFormat() != other.hasNumberFormat()) return false; if (hasNumberFormat()) { if (!getNumberFormat() .equals(other.getNumberFormat())) return false; } if (hasSigned() != other.hasSigned()) return false; if (hasSigned()) { if (getSigned() != other.getSigned()) return false; } if (hasSizeInBits() != other.hasSizeInBits()) return false; if (hasSizeInBits()) { if (getSizeInBits() != other.getSizeInBits()) return false; } if (hasZeroStringValue() != other.hasZeroStringValue()) return false; if (hasZeroStringValue()) { if (!getZeroStringValue() .equals(other.getZeroStringValue())) return false; } if (hasOneStringValue() != other.hasOneStringValue()) return false; if (hasOneStringValue()) { if (!getOneStringValue() .equals(other.getOneStringValue())) return false; } if (!getUsedByList() .equals(other.getUsedByList())) 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 (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(); } if (!internalGetAncillaryData().getMap().isEmpty()) { hash = (37 * hash) + ANCILLARYDATA_FIELD_NUMBER; hash = (53 * hash) + internalGetAncillaryData().hashCode(); } if (hasNumberFormat()) { hash = (37 * hash) + NUMBERFORMAT_FIELD_NUMBER; hash = (53 * hash) + getNumberFormat().hashCode(); } if (hasSigned()) { hash = (37 * hash) + SIGNED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSigned()); } if (hasSizeInBits()) { hash = (37 * hash) + SIZEINBITS_FIELD_NUMBER; hash = (53 * hash) + getSizeInBits(); } if (hasZeroStringValue()) { hash = (37 * hash) + ZEROSTRINGVALUE_FIELD_NUMBER; hash = (53 * hash) + getZeroStringValue().hashCode(); } if (hasOneStringValue()) { hash = (37 * hash) + ONESTRINGVALUE_FIELD_NUMBER; hash = (53 * hash) + getOneStringValue().hashCode(); } if (getUsedByCount() > 0) { hash = (37 * hash) + USEDBY_FIELD_NUMBER; hash = (53 * hash) + getUsedByList().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; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 10: return internalGetAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 10: return internalGetMutableAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @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) { getAliasFieldBuilder(); getDataEncodingFieldBuilder(); getUnitSetFieldBuilder(); getDefaultAlarmFieldBuilder(); getEnumValueFieldBuilder(); getAbsoluteTimeInfoFieldBuilder(); getContextAlarmFieldBuilder(); getMemberFieldBuilder(); getArrayInfoFieldBuilder(); getNumberFormatFieldBuilder(); 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(); } engType_ = ""; bitField0_ = (bitField0_ & ~0x00000020); if (dataEncodingBuilder_ == null) { dataEncoding_ = null; } else { dataEncodingBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); if (unitSetBuilder_ == null) { unitSet_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { unitSetBuilder_.clear(); } if (defaultAlarmBuilder_ == null) { defaultAlarm_ = null; } else { defaultAlarmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); if (enumValueBuilder_ == null) { enumValue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); } else { enumValueBuilder_.clear(); } if (absoluteTimeInfoBuilder_ == null) { absoluteTimeInfo_ = null; } else { absoluteTimeInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); if (contextAlarmBuilder_ == null) { contextAlarm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); } else { contextAlarmBuilder_.clear(); } if (memberBuilder_ == null) { member_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); } else { memberBuilder_.clear(); } if (arrayInfoBuilder_ == null) { arrayInfo_ = null; } else { arrayInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00002000); internalGetMutableAncillaryData().clear(); if (numberFormatBuilder_ == null) { numberFormat_ = null; } else { numberFormatBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00008000); signed_ = false; bitField0_ = (bitField0_ & ~0x00010000); sizeInBits_ = 0; bitField0_ = (bitField0_ & ~0x00020000); zeroStringValue_ = ""; bitField0_ = (bitField0_ & ~0x00040000); oneStringValue_ = ""; bitField0_ = (bitField0_ & ~0x00080000); if (usedByBuilder_ == null) { usedBy_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00100000); } else { usedByBuilder_.clear(); } 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.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.engType_ = engType_; if (((from_bitField0_ & 0x00000040) != 0)) { if (dataEncodingBuilder_ == null) { result.dataEncoding_ = dataEncoding_; } else { result.dataEncoding_ = dataEncodingBuilder_.build(); } to_bitField0_ |= 0x00000020; } if (unitSetBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { unitSet_ = java.util.Collections.unmodifiableList(unitSet_); bitField0_ = (bitField0_ & ~0x00000080); } result.unitSet_ = unitSet_; } else { result.unitSet_ = unitSetBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { if (defaultAlarmBuilder_ == null) { result.defaultAlarm_ = defaultAlarm_; } else { result.defaultAlarm_ = defaultAlarmBuilder_.build(); } to_bitField0_ |= 0x00000040; } if (enumValueBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { enumValue_ = java.util.Collections.unmodifiableList(enumValue_); bitField0_ = (bitField0_ & ~0x00000200); } result.enumValue_ = enumValue_; } else { result.enumValue_ = enumValueBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { if (absoluteTimeInfoBuilder_ == null) { result.absoluteTimeInfo_ = absoluteTimeInfo_; } else { result.absoluteTimeInfo_ = absoluteTimeInfoBuilder_.build(); } to_bitField0_ |= 0x00000080; } if (contextAlarmBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { contextAlarm_ = java.util.Collections.unmodifiableList(contextAlarm_); bitField0_ = (bitField0_ & ~0x00000800); } result.contextAlarm_ = contextAlarm_; } else { result.contextAlarm_ = contextAlarmBuilder_.build(); } if (memberBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0)) { member_ = java.util.Collections.unmodifiableList(member_); bitField0_ = (bitField0_ & ~0x00001000); } result.member_ = member_; } else { result.member_ = memberBuilder_.build(); } if (((from_bitField0_ & 0x00002000) != 0)) { if (arrayInfoBuilder_ == null) { result.arrayInfo_ = arrayInfo_; } else { result.arrayInfo_ = arrayInfoBuilder_.build(); } to_bitField0_ |= 0x00000100; } result.ancillaryData_ = internalGetAncillaryData(); result.ancillaryData_.makeImmutable(); if (((from_bitField0_ & 0x00008000) != 0)) { if (numberFormatBuilder_ == null) { result.numberFormat_ = numberFormat_; } else { result.numberFormat_ = numberFormatBuilder_.build(); } to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00010000) != 0)) { result.signed_ = signed_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00020000) != 0)) { result.sizeInBits_ = sizeInBits_; to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00040000) != 0)) { to_bitField0_ |= 0x00001000; } result.zeroStringValue_ = zeroStringValue_; if (((from_bitField0_ & 0x00080000) != 0)) { to_bitField0_ |= 0x00002000; } result.oneStringValue_ = oneStringValue_; if (usedByBuilder_ == null) { if (((bitField0_ & 0x00100000) != 0)) { usedBy_ = java.util.Collections.unmodifiableList(usedBy_); bitField0_ = (bitField0_ & ~0x00100000); } result.usedBy_ = usedBy_; } else { result.usedBy_ = usedByBuilder_.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.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.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.hasEngType()) { bitField0_ |= 0x00000020; 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_ & ~0x00000080); } else { ensureUnitSetIsMutable(); unitSet_.addAll(other.unitSet_); } onChanged(); } } else { if (!other.unitSet_.isEmpty()) { if (unitSetBuilder_.isEmpty()) { unitSetBuilder_.dispose(); unitSetBuilder_ = null; unitSet_ = other.unitSet_; bitField0_ = (bitField0_ & ~0x00000080); 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_ & ~0x00000200); } else { ensureEnumValueIsMutable(); enumValue_.addAll(other.enumValue_); } onChanged(); } } else { if (!other.enumValue_.isEmpty()) { if (enumValueBuilder_.isEmpty()) { enumValueBuilder_.dispose(); enumValueBuilder_ = null; enumValue_ = other.enumValue_; bitField0_ = (bitField0_ & ~0x00000200); 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_ & ~0x00000800); } else { ensureContextAlarmIsMutable(); contextAlarm_.addAll(other.contextAlarm_); } onChanged(); } } else { if (!other.contextAlarm_.isEmpty()) { if (contextAlarmBuilder_.isEmpty()) { contextAlarmBuilder_.dispose(); contextAlarmBuilder_ = null; contextAlarm_ = other.contextAlarm_; bitField0_ = (bitField0_ & ~0x00000800); 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_ & ~0x00001000); } else { ensureMemberIsMutable(); member_.addAll(other.member_); } onChanged(); } } else { if (!other.member_.isEmpty()) { if (memberBuilder_.isEmpty()) { memberBuilder_.dispose(); memberBuilder_ = null; member_ = other.member_; bitField0_ = (bitField0_ & ~0x00001000); memberBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMemberFieldBuilder() : null; } else { memberBuilder_.addAllMessages(other.member_); } } } if (other.hasArrayInfo()) { mergeArrayInfo(other.getArrayInfo()); } internalGetMutableAncillaryData().mergeFrom( other.internalGetAncillaryData()); if (other.hasNumberFormat()) { mergeNumberFormat(other.getNumberFormat()); } if (other.hasSigned()) { setSigned(other.getSigned()); } if (other.hasSizeInBits()) { setSizeInBits(other.getSizeInBits()); } if (other.hasZeroStringValue()) { bitField0_ |= 0x00040000; zeroStringValue_ = other.zeroStringValue_; onChanged(); } if (other.hasOneStringValue()) { bitField0_ |= 0x00080000; oneStringValue_ = other.oneStringValue_; onChanged(); } if (usedByBuilder_ == null) { if (!other.usedBy_.isEmpty()) { if (usedBy_.isEmpty()) { usedBy_ = other.usedBy_; bitField0_ = (bitField0_ & ~0x00100000); } else { ensureUsedByIsMutable(); usedBy_.addAll(other.usedBy_); } onChanged(); } } else { if (!other.usedBy_.isEmpty()) { if (usedByBuilder_.isEmpty()) { usedByBuilder_.dispose(); usedByBuilder_ = null; usedBy_ = other.usedBy_; bitField0_ = (bitField0_ & ~0x00100000); usedByBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUsedByFieldBuilder() : null; } else { usedByBuilder_.addAllMessages(other.usedBy_); } } } 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 (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; } } for (int i = 0; i < getUsedByCount(); i++) { if (!getUsedBy(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.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 name_ = ""; /** * optional string name = 16; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 16; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 16; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 16; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 16; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 16; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 17; * @return Whether the qualifiedName field is set. */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 17; * @return The qualifiedName. */ 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 = 17; * @return The bytes for qualifiedName. */ 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 = 17; * @param value The qualifiedName to set. * @return This builder for chaining. */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 17; * @return This builder for chaining. */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 17; * @param value The bytes for qualifiedName to set. * @return This builder for chaining. */ 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 = 18; * @return Whether the shortDescription field is set. */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 18; * @return The shortDescription. */ 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 = 18; * @return The bytes for shortDescription. */ 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 = 18; * @param value The shortDescription to set. * @return This builder for chaining. */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 18; * @return This builder for chaining. */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 18; * @param value The bytes for shortDescription to set. * @return This builder for chaining. */ 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 = 19; * @return Whether the longDescription field is set. */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 19; * @return The longDescription. */ 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 = 19; * @return The bytes for longDescription. */ 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 = 19; * @param value The longDescription to set. * @return This builder for chaining. */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 19; * @return This builder for chaining. */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 19; * @param value The bytes for longDescription to set. * @return This builder for chaining. */ 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 = 20; */ public java.util.List getAliasList() { if (aliasBuilder_ == null) { return java.util.Collections.unmodifiableList(alias_); } else { return aliasBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ public int getAliasCount() { if (aliasBuilder_ == null) { return alias_.size(); } else { return aliasBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ 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 = 20; */ 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 = 20; */ 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 = 20; */ 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 = 20; */ 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 = 20; */ 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 = 20; */ 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 = 20; */ 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 = 20; */ 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 = 20; */ public Builder removeAlias(int index) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.remove(index); onChanged(); } else { aliasBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getAliasBuilder( int index) { return getAliasFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ 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 = 20; */ public java.util.List getAliasOrBuilderList() { if (aliasBuilder_ != null) { return aliasBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(alias_); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder() { return getAliasFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 20; */ 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 = 20; */ 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 java.lang.Object engType_ = ""; /** *
       * Engineering type
       * 
* * optional string engType = 1; * @return Whether the engType field is set. */ public boolean hasEngType() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Engineering type
       * 
* * optional string engType = 1; * @return The engType. */ 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; } } /** *
       * Engineering type
       * 
* * optional string engType = 1; * @return The bytes for engType. */ 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; } } /** *
       * Engineering type
       * 
* * optional string engType = 1; * @param value The engType to set. * @return This builder for chaining. */ public Builder setEngType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; engType_ = value; onChanged(); return this; } /** *
       * Engineering type
       * 
* * optional string engType = 1; * @return This builder for chaining. */ public Builder clearEngType() { bitField0_ = (bitField0_ & ~0x00000020); engType_ = getDefaultInstance().getEngType(); onChanged(); return this; } /** *
       * Engineering type
       * 
* * optional string engType = 1; * @param value The bytes for engType to set. * @return This builder for chaining. */ public Builder setEngTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; 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; * @return Whether the dataEncoding field is set. */ public boolean hasDataEncoding() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; * @return The dataEncoding. */ 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_ |= 0x00000040; 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_ |= 0x00000040; return this; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public Builder mergeDataEncoding(org.yamcs.protobuf.Mdb.DataEncodingInfo value) { if (dataEncodingBuilder_ == null) { if (((bitField0_ & 0x00000040) != 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_ |= 0x00000040; return this; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public Builder clearDataEncoding() { if (dataEncodingBuilder_ == null) { dataEncoding_ = null; onChanged(); } else { dataEncodingBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ public org.yamcs.protobuf.Mdb.DataEncodingInfo.Builder getDataEncodingBuilder() { bitField0_ |= 0x00000040; 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_ & 0x00000080) != 0)) { unitSet_ = new java.util.ArrayList(unitSet_); bitField0_ |= 0x00000080; } } 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_ & ~0x00000080); 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_ & 0x00000080) != 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_; /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; * @return Whether the defaultAlarm field is set. */ public boolean hasDefaultAlarm() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; * @return The defaultAlarm. */ public org.yamcs.protobuf.Mdb.AlarmInfo getDefaultAlarm() { if (defaultAlarmBuilder_ == null) { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } else { return defaultAlarmBuilder_.getMessage(); } } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * 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_ |= 0x00000100; return this; } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * 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_ |= 0x00000100; return this; } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public Builder mergeDefaultAlarm(org.yamcs.protobuf.Mdb.AlarmInfo value) { if (defaultAlarmBuilder_ == null) { if (((bitField0_ & 0x00000100) != 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_ |= 0x00000100; return this; } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public Builder clearDefaultAlarm() { if (defaultAlarmBuilder_ == null) { defaultAlarm_ = null; onChanged(); } else { defaultAlarmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 4; */ public org.yamcs.protobuf.Mdb.AlarmInfo.Builder getDefaultAlarmBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDefaultAlarmFieldBuilder().getBuilder(); } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * 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_; } } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * 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_ & 0x00000200) != 0)) { enumValue_ = new java.util.ArrayList(enumValue_); bitField0_ |= 0x00000200; } } 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_ & ~0x00000200); 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_ & 0x00000200) != 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; * @return Whether the absoluteTimeInfo field is set. */ public boolean hasAbsoluteTimeInfo() { return ((bitField0_ & 0x00000400) != 0); } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; * @return The absoluteTimeInfo. */ 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_ |= 0x00000400; 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_ |= 0x00000400; return this; } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public Builder mergeAbsoluteTimeInfo(org.yamcs.protobuf.Mdb.AbsoluteTimeInfo value) { if (absoluteTimeInfoBuilder_ == null) { if (((bitField0_ & 0x00000400) != 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_ |= 0x00000400; return this; } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public Builder clearAbsoluteTimeInfo() { if (absoluteTimeInfoBuilder_ == null) { absoluteTimeInfo_ = null; onChanged(); } else { absoluteTimeInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); return this; } /** * optional .yamcs.protobuf.mdb.AbsoluteTimeInfo absoluteTimeInfo = 6; */ public org.yamcs.protobuf.Mdb.AbsoluteTimeInfo.Builder getAbsoluteTimeInfoBuilder() { bitField0_ |= 0x00000400; 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_ & 0x00000800) != 0)) { contextAlarm_ = new java.util.ArrayList(contextAlarm_); bitField0_ |= 0x00000800; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextAlarmInfo, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder, org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder> contextAlarmBuilder_; /** *
       * Contextual alarms
       * 
* * 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(); } } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public int getContextAlarmCount() { if (contextAlarmBuilder_ == null) { return contextAlarm_.size(); } else { return contextAlarmBuilder_.getCount(); } } /** *
       * Contextual alarms
       * 
* * 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); } } /** *
       * Contextual alarms
       * 
* * 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; } /** *
       * Contextual alarms
       * 
* * 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; } /** *
       * Contextual alarms
       * 
* * 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; } /** *
       * Contextual alarms
       * 
* * 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; } /** *
       * Contextual alarms
       * 
* * 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; } /** *
       * Contextual alarms
       * 
* * 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; } /** *
       * Contextual alarms
       * 
* * 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; } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public Builder clearContextAlarm() { if (contextAlarmBuilder_ == null) { contextAlarm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); } else { contextAlarmBuilder_.clear(); } return this; } /** *
       * Contextual alarms
       * 
* * 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; } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder getContextAlarmBuilder( int index) { return getContextAlarmFieldBuilder().getBuilder(index); } /** *
       * Contextual alarms
       * 
* * 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); } } /** *
       * Contextual alarms
       * 
* * 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_); } } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarm = 7; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder addContextAlarmBuilder() { return getContextAlarmFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ContextAlarmInfo.getDefaultInstance()); } /** *
       * Contextual alarms
       * 
* * 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()); } /** *
       * Contextual alarms
       * 
* * 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_ & 0x00000800) != 0), getParentForChildren(), isClean()); contextAlarm_ = null; } return contextAlarmBuilder_; } private java.util.List member_ = java.util.Collections.emptyList(); private void ensureMemberIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { member_ = new java.util.ArrayList(member_); bitField0_ |= 0x00001000; } } 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_ & ~0x00001000); 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_ & 0x00001000) != 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; * @return Whether the arrayInfo field is set. */ public boolean hasArrayInfo() { return ((bitField0_ & 0x00002000) != 0); } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; * @return The arrayInfo. */ 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_ |= 0x00002000; 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_ |= 0x00002000; return this; } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public Builder mergeArrayInfo(org.yamcs.protobuf.Mdb.ArrayInfo value) { if (arrayInfoBuilder_ == null) { if (((bitField0_ & 0x00002000) != 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_ |= 0x00002000; return this; } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public Builder clearArrayInfo() { if (arrayInfoBuilder_ == null) { arrayInfo_ = null; onChanged(); } else { arrayInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00002000); return this; } /** * optional .yamcs.protobuf.mdb.ArrayInfo arrayInfo = 9; */ public org.yamcs.protobuf.Mdb.ArrayInfo.Builder getArrayInfoBuilder() { bitField0_ |= 0x00002000; 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_; } private com.google.protobuf.MapField< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> ancillaryData_; private com.google.protobuf.MapField internalGetAncillaryData() { if (ancillaryData_ == null) { return com.google.protobuf.MapField.emptyMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } return ancillaryData_; } private com.google.protobuf.MapField internalGetMutableAncillaryData() { onChanged();; if (ancillaryData_ == null) { ancillaryData_ = com.google.protobuf.MapField.newMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } if (!ancillaryData_.isMutable()) { ancillaryData_ = ancillaryData_.copy(); } return ancillaryData_; } public int getAncillaryDataCount() { return internalGetAncillaryData().getMap().size(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ @java.lang.Override public boolean containsAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAncillaryData().getMap().containsKey(key); } /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAncillaryData() { return getAncillaryDataMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ @java.lang.Override public java.util.Map getAncillaryDataMap() { return internalGetAncillaryData().getMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAncillaryData() { internalGetMutableAncillaryData().getMutableMap() .clear(); return this; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ public Builder removeAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAncillaryData().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAncillaryData() { return internalGetMutableAncillaryData().getMutableMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ public Builder putAncillaryData( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAncillaryData().getMutableMap() .put(key, value); return this; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 10; */ public Builder putAllAncillaryData( java.util.Map values) { internalGetMutableAncillaryData().getMutableMap() .putAll(values); return this; } private org.yamcs.protobuf.Mdb.NumberFormatTypeInfo numberFormat_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.NumberFormatTypeInfo, org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.Builder, org.yamcs.protobuf.Mdb.NumberFormatTypeInfoOrBuilder> numberFormatBuilder_; /** *
       * Provides hints on how to format the engineering
       * value as a string.
       * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; * @return Whether the numberFormat field is set. */ public boolean hasNumberFormat() { return ((bitField0_ & 0x00008000) != 0); } /** *
       * Provides hints on how to format the engineering
       * value as a string.
       * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; * @return The numberFormat. */ public org.yamcs.protobuf.Mdb.NumberFormatTypeInfo getNumberFormat() { if (numberFormatBuilder_ == null) { return numberFormat_ == null ? org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.getDefaultInstance() : numberFormat_; } else { return numberFormatBuilder_.getMessage(); } } /** *
       * Provides hints on how to format the engineering
       * value as a string.
       * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; */ public Builder setNumberFormat(org.yamcs.protobuf.Mdb.NumberFormatTypeInfo value) { if (numberFormatBuilder_ == null) { if (value == null) { throw new NullPointerException(); } numberFormat_ = value; onChanged(); } else { numberFormatBuilder_.setMessage(value); } bitField0_ |= 0x00008000; return this; } /** *
       * Provides hints on how to format the engineering
       * value as a string.
       * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; */ public Builder setNumberFormat( org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.Builder builderForValue) { if (numberFormatBuilder_ == null) { numberFormat_ = builderForValue.build(); onChanged(); } else { numberFormatBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00008000; return this; } /** *
       * Provides hints on how to format the engineering
       * value as a string.
       * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; */ public Builder mergeNumberFormat(org.yamcs.protobuf.Mdb.NumberFormatTypeInfo value) { if (numberFormatBuilder_ == null) { if (((bitField0_ & 0x00008000) != 0) && numberFormat_ != null && numberFormat_ != org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.getDefaultInstance()) { numberFormat_ = org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.newBuilder(numberFormat_).mergeFrom(value).buildPartial(); } else { numberFormat_ = value; } onChanged(); } else { numberFormatBuilder_.mergeFrom(value); } bitField0_ |= 0x00008000; return this; } /** *
       * Provides hints on how to format the engineering
       * value as a string.
       * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; */ public Builder clearNumberFormat() { if (numberFormatBuilder_ == null) { numberFormat_ = null; onChanged(); } else { numberFormatBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00008000); return this; } /** *
       * Provides hints on how to format the engineering
       * value as a string.
       * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; */ public org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.Builder getNumberFormatBuilder() { bitField0_ |= 0x00008000; onChanged(); return getNumberFormatFieldBuilder().getBuilder(); } /** *
       * Provides hints on how to format the engineering
       * value as a string.
       * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; */ public org.yamcs.protobuf.Mdb.NumberFormatTypeInfoOrBuilder getNumberFormatOrBuilder() { if (numberFormatBuilder_ != null) { return numberFormatBuilder_.getMessageOrBuilder(); } else { return numberFormat_ == null ? org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.getDefaultInstance() : numberFormat_; } } /** *
       * Provides hints on how to format the engineering
       * value as a string.
       * 
* * optional .yamcs.protobuf.mdb.NumberFormatTypeInfo numberFormat = 11; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.NumberFormatTypeInfo, org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.Builder, org.yamcs.protobuf.Mdb.NumberFormatTypeInfoOrBuilder> getNumberFormatFieldBuilder() { if (numberFormatBuilder_ == null) { numberFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.NumberFormatTypeInfo, org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.Builder, org.yamcs.protobuf.Mdb.NumberFormatTypeInfoOrBuilder>( getNumberFormat(), getParentForChildren(), isClean()); numberFormat_ = null; } return numberFormatBuilder_; } private boolean signed_ ; /** *
       * True if the engineering type supports signed representation.
       * (only used by integer parameter types)
       * 
* * optional bool signed = 12; * @return Whether the signed field is set. */ @java.lang.Override public boolean hasSigned() { return ((bitField0_ & 0x00010000) != 0); } /** *
       * True if the engineering type supports signed representation.
       * (only used by integer parameter types)
       * 
* * optional bool signed = 12; * @return The signed. */ @java.lang.Override public boolean getSigned() { return signed_; } /** *
       * True if the engineering type supports signed representation.
       * (only used by integer parameter types)
       * 
* * optional bool signed = 12; * @param value The signed to set. * @return This builder for chaining. */ public Builder setSigned(boolean value) { bitField0_ |= 0x00010000; signed_ = value; onChanged(); return this; } /** *
       * True if the engineering type supports signed representation.
       * (only used by integer parameter types)
       * 
* * optional bool signed = 12; * @return This builder for chaining. */ public Builder clearSigned() { bitField0_ = (bitField0_ & ~0x00010000); signed_ = false; onChanged(); return this; } private int sizeInBits_ ; /** *
       * Hint about the range of allowed engineering values
       * 
* * optional int32 sizeInBits = 21; * @return Whether the sizeInBits field is set. */ @java.lang.Override public boolean hasSizeInBits() { return ((bitField0_ & 0x00020000) != 0); } /** *
       * Hint about the range of allowed engineering values
       * 
* * optional int32 sizeInBits = 21; * @return The sizeInBits. */ @java.lang.Override public int getSizeInBits() { return sizeInBits_; } /** *
       * Hint about the range of allowed engineering values
       * 
* * optional int32 sizeInBits = 21; * @param value The sizeInBits to set. * @return This builder for chaining. */ public Builder setSizeInBits(int value) { bitField0_ |= 0x00020000; sizeInBits_ = value; onChanged(); return this; } /** *
       * Hint about the range of allowed engineering values
       * 
* * optional int32 sizeInBits = 21; * @return This builder for chaining. */ public Builder clearSizeInBits() { bitField0_ = (bitField0_ & ~0x00020000); sizeInBits_ = 0; onChanged(); return this; } private java.lang.Object zeroStringValue_ = ""; /** *
       * String representation of a boolean zero (only used by boolean types)
       * 
* * optional string zeroStringValue = 13; * @return Whether the zeroStringValue field is set. */ public boolean hasZeroStringValue() { return ((bitField0_ & 0x00040000) != 0); } /** *
       * String representation of a boolean zero (only used by boolean types)
       * 
* * optional string zeroStringValue = 13; * @return The zeroStringValue. */ public java.lang.String getZeroStringValue() { java.lang.Object ref = zeroStringValue_; 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()) { zeroStringValue_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * String representation of a boolean zero (only used by boolean types)
       * 
* * optional string zeroStringValue = 13; * @return The bytes for zeroStringValue. */ public com.google.protobuf.ByteString getZeroStringValueBytes() { java.lang.Object ref = zeroStringValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); zeroStringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * String representation of a boolean zero (only used by boolean types)
       * 
* * optional string zeroStringValue = 13; * @param value The zeroStringValue to set. * @return This builder for chaining. */ public Builder setZeroStringValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00040000; zeroStringValue_ = value; onChanged(); return this; } /** *
       * String representation of a boolean zero (only used by boolean types)
       * 
* * optional string zeroStringValue = 13; * @return This builder for chaining. */ public Builder clearZeroStringValue() { bitField0_ = (bitField0_ & ~0x00040000); zeroStringValue_ = getDefaultInstance().getZeroStringValue(); onChanged(); return this; } /** *
       * String representation of a boolean zero (only used by boolean types)
       * 
* * optional string zeroStringValue = 13; * @param value The bytes for zeroStringValue to set. * @return This builder for chaining. */ public Builder setZeroStringValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00040000; zeroStringValue_ = value; onChanged(); return this; } private java.lang.Object oneStringValue_ = ""; /** *
       * String representation of a boolean one (only used by boolean types)
       * 
* * optional string oneStringValue = 14; * @return Whether the oneStringValue field is set. */ public boolean hasOneStringValue() { return ((bitField0_ & 0x00080000) != 0); } /** *
       * String representation of a boolean one (only used by boolean types)
       * 
* * optional string oneStringValue = 14; * @return The oneStringValue. */ public java.lang.String getOneStringValue() { java.lang.Object ref = oneStringValue_; 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()) { oneStringValue_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * String representation of a boolean one (only used by boolean types)
       * 
* * optional string oneStringValue = 14; * @return The bytes for oneStringValue. */ public com.google.protobuf.ByteString getOneStringValueBytes() { java.lang.Object ref = oneStringValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); oneStringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * String representation of a boolean one (only used by boolean types)
       * 
* * optional string oneStringValue = 14; * @param value The oneStringValue to set. * @return This builder for chaining. */ public Builder setOneStringValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; oneStringValue_ = value; onChanged(); return this; } /** *
       * String representation of a boolean one (only used by boolean types)
       * 
* * optional string oneStringValue = 14; * @return This builder for chaining. */ public Builder clearOneStringValue() { bitField0_ = (bitField0_ & ~0x00080000); oneStringValue_ = getDefaultInstance().getOneStringValue(); onChanged(); return this; } /** *
       * String representation of a boolean one (only used by boolean types)
       * 
* * optional string oneStringValue = 14; * @param value The bytes for oneStringValue to set. * @return This builder for chaining. */ public Builder setOneStringValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00080000; oneStringValue_ = value; onChanged(); return this; } private java.util.List usedBy_ = java.util.Collections.emptyList(); private void ensureUsedByIsMutable() { if (!((bitField0_ & 0x00100000) != 0)) { usedBy_ = new java.util.ArrayList(usedBy_); bitField0_ |= 0x00100000; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> usedByBuilder_; /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public java.util.List getUsedByList() { if (usedByBuilder_ == null) { return java.util.Collections.unmodifiableList(usedBy_); } else { return usedByBuilder_.getMessageList(); } } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public int getUsedByCount() { if (usedByBuilder_ == null) { return usedBy_.size(); } else { return usedByBuilder_.getCount(); } } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public org.yamcs.protobuf.Mdb.ParameterInfo getUsedBy(int index) { if (usedByBuilder_ == null) { return usedBy_.get(index); } else { return usedByBuilder_.getMessage(index); } } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public Builder setUsedBy( int index, org.yamcs.protobuf.Mdb.ParameterInfo value) { if (usedByBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUsedByIsMutable(); usedBy_.set(index, value); onChanged(); } else { usedByBuilder_.setMessage(index, value); } return this; } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public Builder setUsedBy( int index, org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (usedByBuilder_ == null) { ensureUsedByIsMutable(); usedBy_.set(index, builderForValue.build()); onChanged(); } else { usedByBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public Builder addUsedBy(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (usedByBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUsedByIsMutable(); usedBy_.add(value); onChanged(); } else { usedByBuilder_.addMessage(value); } return this; } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public Builder addUsedBy( int index, org.yamcs.protobuf.Mdb.ParameterInfo value) { if (usedByBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUsedByIsMutable(); usedBy_.add(index, value); onChanged(); } else { usedByBuilder_.addMessage(index, value); } return this; } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public Builder addUsedBy( org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (usedByBuilder_ == null) { ensureUsedByIsMutable(); usedBy_.add(builderForValue.build()); onChanged(); } else { usedByBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public Builder addUsedBy( int index, org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (usedByBuilder_ == null) { ensureUsedByIsMutable(); usedBy_.add(index, builderForValue.build()); onChanged(); } else { usedByBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public Builder addAllUsedBy( java.lang.Iterable values) { if (usedByBuilder_ == null) { ensureUsedByIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, usedBy_); onChanged(); } else { usedByBuilder_.addAllMessages(values); } return this; } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public Builder clearUsedBy() { if (usedByBuilder_ == null) { usedBy_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00100000); onChanged(); } else { usedByBuilder_.clear(); } return this; } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public Builder removeUsedBy(int index) { if (usedByBuilder_ == null) { ensureUsedByIsMutable(); usedBy_.remove(index); onChanged(); } else { usedByBuilder_.remove(index); } return this; } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getUsedByBuilder( int index) { return getUsedByFieldBuilder().getBuilder(index); } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getUsedByOrBuilder( int index) { if (usedByBuilder_ == null) { return usedBy_.get(index); } else { return usedByBuilder_.getMessageOrBuilder(index); } } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public java.util.List getUsedByOrBuilderList() { if (usedByBuilder_ != null) { return usedByBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(usedBy_); } } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder addUsedByBuilder() { return getUsedByFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()); } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder addUsedByBuilder( int index) { return getUsedByFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()); } /** *
       * Which parameters this type is used by. This field is only
       * populated when requesting directly a single parameter type.
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo usedBy = 15; */ public java.util.List getUsedByBuilderList() { return getUsedByFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> getUsedByFieldBuilder() { if (usedByBuilder_ == null) { usedByBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder>( usedBy_, ((bitField0_ & 0x00100000) != 0), 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.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 NumberFormatTypeInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.NumberFormatTypeInfo) com.google.protobuf.MessageOrBuilder { /** * optional string numberBase = 1; * @return Whether the numberBase field is set. */ boolean hasNumberBase(); /** * optional string numberBase = 1; * @return The numberBase. */ java.lang.String getNumberBase(); /** * optional string numberBase = 1; * @return The bytes for numberBase. */ com.google.protobuf.ByteString getNumberBaseBytes(); /** * optional int32 minimumFractionDigits = 2; * @return Whether the minimumFractionDigits field is set. */ boolean hasMinimumFractionDigits(); /** * optional int32 minimumFractionDigits = 2; * @return The minimumFractionDigits. */ int getMinimumFractionDigits(); /** * optional int32 maximumFractionDigits = 3; * @return Whether the maximumFractionDigits field is set. */ boolean hasMaximumFractionDigits(); /** * optional int32 maximumFractionDigits = 3; * @return The maximumFractionDigits. */ int getMaximumFractionDigits(); /** * optional int32 minimumIntegerDigits = 4; * @return Whether the minimumIntegerDigits field is set. */ boolean hasMinimumIntegerDigits(); /** * optional int32 minimumIntegerDigits = 4; * @return The minimumIntegerDigits. */ int getMinimumIntegerDigits(); /** * optional int32 maximumIntegerDigits = 5; * @return Whether the maximumIntegerDigits field is set. */ boolean hasMaximumIntegerDigits(); /** * optional int32 maximumIntegerDigits = 5; * @return The maximumIntegerDigits. */ int getMaximumIntegerDigits(); /** * optional string negativeSuffix = 6; * @return Whether the negativeSuffix field is set. */ boolean hasNegativeSuffix(); /** * optional string negativeSuffix = 6; * @return The negativeSuffix. */ java.lang.String getNegativeSuffix(); /** * optional string negativeSuffix = 6; * @return The bytes for negativeSuffix. */ com.google.protobuf.ByteString getNegativeSuffixBytes(); /** * optional string positiveSuffix = 7; * @return Whether the positiveSuffix field is set. */ boolean hasPositiveSuffix(); /** * optional string positiveSuffix = 7; * @return The positiveSuffix. */ java.lang.String getPositiveSuffix(); /** * optional string positiveSuffix = 7; * @return The bytes for positiveSuffix. */ com.google.protobuf.ByteString getPositiveSuffixBytes(); /** * optional string negativePrefix = 8; * @return Whether the negativePrefix field is set. */ boolean hasNegativePrefix(); /** * optional string negativePrefix = 8; * @return The negativePrefix. */ java.lang.String getNegativePrefix(); /** * optional string negativePrefix = 8; * @return The bytes for negativePrefix. */ com.google.protobuf.ByteString getNegativePrefixBytes(); /** * optional string positivePrefix = 9; * @return Whether the positivePrefix field is set. */ boolean hasPositivePrefix(); /** * optional string positivePrefix = 9; * @return The positivePrefix. */ java.lang.String getPositivePrefix(); /** * optional string positivePrefix = 9; * @return The bytes for positivePrefix. */ com.google.protobuf.ByteString getPositivePrefixBytes(); /** * optional bool showThousandsGrouping = 10; * @return Whether the showThousandsGrouping field is set. */ boolean hasShowThousandsGrouping(); /** * optional bool showThousandsGrouping = 10; * @return The showThousandsGrouping. */ boolean getShowThousandsGrouping(); /** * optional string notation = 11; * @return Whether the notation field is set. */ boolean hasNotation(); /** * optional string notation = 11; * @return The notation. */ java.lang.String getNotation(); /** * optional string notation = 11; * @return The bytes for notation. */ com.google.protobuf.ByteString getNotationBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.NumberFormatTypeInfo} */ public static final class NumberFormatTypeInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.NumberFormatTypeInfo) NumberFormatTypeInfoOrBuilder { private static final long serialVersionUID = 0L; // Use NumberFormatTypeInfo.newBuilder() to construct. private NumberFormatTypeInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NumberFormatTypeInfo() { numberBase_ = ""; negativeSuffix_ = ""; positiveSuffix_ = ""; negativePrefix_ = ""; positivePrefix_ = ""; notation_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NumberFormatTypeInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private NumberFormatTypeInfo( 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; numberBase_ = bs; break; } case 16: { bitField0_ |= 0x00000002; minimumFractionDigits_ = input.readInt32(); break; } case 24: { bitField0_ |= 0x00000004; maximumFractionDigits_ = input.readInt32(); break; } case 32: { bitField0_ |= 0x00000008; minimumIntegerDigits_ = input.readInt32(); break; } case 40: { bitField0_ |= 0x00000010; maximumIntegerDigits_ = input.readInt32(); break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; negativeSuffix_ = bs; break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000040; positiveSuffix_ = bs; break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; negativePrefix_ = bs; break; } case 74: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000100; positivePrefix_ = bs; break; } case 80: { bitField0_ |= 0x00000200; showThousandsGrouping_ = input.readBool(); break; } case 90: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000400; notation_ = 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_NumberFormatTypeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_NumberFormatTypeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.class, org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.Builder.class); } private int bitField0_; public static final int NUMBERBASE_FIELD_NUMBER = 1; private volatile java.lang.Object numberBase_; /** * optional string numberBase = 1; * @return Whether the numberBase field is set. */ @java.lang.Override public boolean hasNumberBase() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string numberBase = 1; * @return The numberBase. */ @java.lang.Override public java.lang.String getNumberBase() { java.lang.Object ref = numberBase_; 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()) { numberBase_ = s; } return s; } } /** * optional string numberBase = 1; * @return The bytes for numberBase. */ @java.lang.Override public com.google.protobuf.ByteString getNumberBaseBytes() { java.lang.Object ref = numberBase_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); numberBase_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MINIMUMFRACTIONDIGITS_FIELD_NUMBER = 2; private int minimumFractionDigits_; /** * optional int32 minimumFractionDigits = 2; * @return Whether the minimumFractionDigits field is set. */ @java.lang.Override public boolean hasMinimumFractionDigits() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 minimumFractionDigits = 2; * @return The minimumFractionDigits. */ @java.lang.Override public int getMinimumFractionDigits() { return minimumFractionDigits_; } public static final int MAXIMUMFRACTIONDIGITS_FIELD_NUMBER = 3; private int maximumFractionDigits_; /** * optional int32 maximumFractionDigits = 3; * @return Whether the maximumFractionDigits field is set. */ @java.lang.Override public boolean hasMaximumFractionDigits() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 maximumFractionDigits = 3; * @return The maximumFractionDigits. */ @java.lang.Override public int getMaximumFractionDigits() { return maximumFractionDigits_; } public static final int MINIMUMINTEGERDIGITS_FIELD_NUMBER = 4; private int minimumIntegerDigits_; /** * optional int32 minimumIntegerDigits = 4; * @return Whether the minimumIntegerDigits field is set. */ @java.lang.Override public boolean hasMinimumIntegerDigits() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 minimumIntegerDigits = 4; * @return The minimumIntegerDigits. */ @java.lang.Override public int getMinimumIntegerDigits() { return minimumIntegerDigits_; } public static final int MAXIMUMINTEGERDIGITS_FIELD_NUMBER = 5; private int maximumIntegerDigits_; /** * optional int32 maximumIntegerDigits = 5; * @return Whether the maximumIntegerDigits field is set. */ @java.lang.Override public boolean hasMaximumIntegerDigits() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 maximumIntegerDigits = 5; * @return The maximumIntegerDigits. */ @java.lang.Override public int getMaximumIntegerDigits() { return maximumIntegerDigits_; } public static final int NEGATIVESUFFIX_FIELD_NUMBER = 6; private volatile java.lang.Object negativeSuffix_; /** * optional string negativeSuffix = 6; * @return Whether the negativeSuffix field is set. */ @java.lang.Override public boolean hasNegativeSuffix() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string negativeSuffix = 6; * @return The negativeSuffix. */ @java.lang.Override public java.lang.String getNegativeSuffix() { java.lang.Object ref = negativeSuffix_; 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()) { negativeSuffix_ = s; } return s; } } /** * optional string negativeSuffix = 6; * @return The bytes for negativeSuffix. */ @java.lang.Override public com.google.protobuf.ByteString getNegativeSuffixBytes() { java.lang.Object ref = negativeSuffix_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); negativeSuffix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int POSITIVESUFFIX_FIELD_NUMBER = 7; private volatile java.lang.Object positiveSuffix_; /** * optional string positiveSuffix = 7; * @return Whether the positiveSuffix field is set. */ @java.lang.Override public boolean hasPositiveSuffix() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string positiveSuffix = 7; * @return The positiveSuffix. */ @java.lang.Override public java.lang.String getPositiveSuffix() { java.lang.Object ref = positiveSuffix_; 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()) { positiveSuffix_ = s; } return s; } } /** * optional string positiveSuffix = 7; * @return The bytes for positiveSuffix. */ @java.lang.Override public com.google.protobuf.ByteString getPositiveSuffixBytes() { java.lang.Object ref = positiveSuffix_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); positiveSuffix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEGATIVEPREFIX_FIELD_NUMBER = 8; private volatile java.lang.Object negativePrefix_; /** * optional string negativePrefix = 8; * @return Whether the negativePrefix field is set. */ @java.lang.Override public boolean hasNegativePrefix() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string negativePrefix = 8; * @return The negativePrefix. */ @java.lang.Override public java.lang.String getNegativePrefix() { java.lang.Object ref = negativePrefix_; 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()) { negativePrefix_ = s; } return s; } } /** * optional string negativePrefix = 8; * @return The bytes for negativePrefix. */ @java.lang.Override public com.google.protobuf.ByteString getNegativePrefixBytes() { java.lang.Object ref = negativePrefix_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); negativePrefix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int POSITIVEPREFIX_FIELD_NUMBER = 9; private volatile java.lang.Object positivePrefix_; /** * optional string positivePrefix = 9; * @return Whether the positivePrefix field is set. */ @java.lang.Override public boolean hasPositivePrefix() { return ((bitField0_ & 0x00000100) != 0); } /** * optional string positivePrefix = 9; * @return The positivePrefix. */ @java.lang.Override public java.lang.String getPositivePrefix() { java.lang.Object ref = positivePrefix_; 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()) { positivePrefix_ = s; } return s; } } /** * optional string positivePrefix = 9; * @return The bytes for positivePrefix. */ @java.lang.Override public com.google.protobuf.ByteString getPositivePrefixBytes() { java.lang.Object ref = positivePrefix_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); positivePrefix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHOWTHOUSANDSGROUPING_FIELD_NUMBER = 10; private boolean showThousandsGrouping_; /** * optional bool showThousandsGrouping = 10; * @return Whether the showThousandsGrouping field is set. */ @java.lang.Override public boolean hasShowThousandsGrouping() { return ((bitField0_ & 0x00000200) != 0); } /** * optional bool showThousandsGrouping = 10; * @return The showThousandsGrouping. */ @java.lang.Override public boolean getShowThousandsGrouping() { return showThousandsGrouping_; } public static final int NOTATION_FIELD_NUMBER = 11; private volatile java.lang.Object notation_; /** * optional string notation = 11; * @return Whether the notation field is set. */ @java.lang.Override public boolean hasNotation() { return ((bitField0_ & 0x00000400) != 0); } /** * optional string notation = 11; * @return The notation. */ @java.lang.Override public java.lang.String getNotation() { java.lang.Object ref = notation_; 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()) { notation_ = s; } return s; } } /** * optional string notation = 11; * @return The bytes for notation. */ @java.lang.Override public com.google.protobuf.ByteString getNotationBytes() { java.lang.Object ref = notation_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); notation_ = 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, numberBase_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, minimumFractionDigits_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(3, maximumFractionDigits_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(4, minimumIntegerDigits_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(5, maximumIntegerDigits_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, negativeSuffix_); } if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, positiveSuffix_); } if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, negativePrefix_); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, positivePrefix_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeBool(10, showThousandsGrouping_); } if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, notation_); } 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, numberBase_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, minimumFractionDigits_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, maximumFractionDigits_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, minimumIntegerDigits_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, maximumIntegerDigits_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, negativeSuffix_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, positiveSuffix_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, negativePrefix_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, positivePrefix_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, showThousandsGrouping_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, notation_); } 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.NumberFormatTypeInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.NumberFormatTypeInfo other = (org.yamcs.protobuf.Mdb.NumberFormatTypeInfo) obj; if (hasNumberBase() != other.hasNumberBase()) return false; if (hasNumberBase()) { if (!getNumberBase() .equals(other.getNumberBase())) return false; } if (hasMinimumFractionDigits() != other.hasMinimumFractionDigits()) return false; if (hasMinimumFractionDigits()) { if (getMinimumFractionDigits() != other.getMinimumFractionDigits()) return false; } if (hasMaximumFractionDigits() != other.hasMaximumFractionDigits()) return false; if (hasMaximumFractionDigits()) { if (getMaximumFractionDigits() != other.getMaximumFractionDigits()) return false; } if (hasMinimumIntegerDigits() != other.hasMinimumIntegerDigits()) return false; if (hasMinimumIntegerDigits()) { if (getMinimumIntegerDigits() != other.getMinimumIntegerDigits()) return false; } if (hasMaximumIntegerDigits() != other.hasMaximumIntegerDigits()) return false; if (hasMaximumIntegerDigits()) { if (getMaximumIntegerDigits() != other.getMaximumIntegerDigits()) return false; } if (hasNegativeSuffix() != other.hasNegativeSuffix()) return false; if (hasNegativeSuffix()) { if (!getNegativeSuffix() .equals(other.getNegativeSuffix())) return false; } if (hasPositiveSuffix() != other.hasPositiveSuffix()) return false; if (hasPositiveSuffix()) { if (!getPositiveSuffix() .equals(other.getPositiveSuffix())) return false; } if (hasNegativePrefix() != other.hasNegativePrefix()) return false; if (hasNegativePrefix()) { if (!getNegativePrefix() .equals(other.getNegativePrefix())) return false; } if (hasPositivePrefix() != other.hasPositivePrefix()) return false; if (hasPositivePrefix()) { if (!getPositivePrefix() .equals(other.getPositivePrefix())) return false; } if (hasShowThousandsGrouping() != other.hasShowThousandsGrouping()) return false; if (hasShowThousandsGrouping()) { if (getShowThousandsGrouping() != other.getShowThousandsGrouping()) return false; } if (hasNotation() != other.hasNotation()) return false; if (hasNotation()) { if (!getNotation() .equals(other.getNotation())) 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 (hasNumberBase()) { hash = (37 * hash) + NUMBERBASE_FIELD_NUMBER; hash = (53 * hash) + getNumberBase().hashCode(); } if (hasMinimumFractionDigits()) { hash = (37 * hash) + MINIMUMFRACTIONDIGITS_FIELD_NUMBER; hash = (53 * hash) + getMinimumFractionDigits(); } if (hasMaximumFractionDigits()) { hash = (37 * hash) + MAXIMUMFRACTIONDIGITS_FIELD_NUMBER; hash = (53 * hash) + getMaximumFractionDigits(); } if (hasMinimumIntegerDigits()) { hash = (37 * hash) + MINIMUMINTEGERDIGITS_FIELD_NUMBER; hash = (53 * hash) + getMinimumIntegerDigits(); } if (hasMaximumIntegerDigits()) { hash = (37 * hash) + MAXIMUMINTEGERDIGITS_FIELD_NUMBER; hash = (53 * hash) + getMaximumIntegerDigits(); } if (hasNegativeSuffix()) { hash = (37 * hash) + NEGATIVESUFFIX_FIELD_NUMBER; hash = (53 * hash) + getNegativeSuffix().hashCode(); } if (hasPositiveSuffix()) { hash = (37 * hash) + POSITIVESUFFIX_FIELD_NUMBER; hash = (53 * hash) + getPositiveSuffix().hashCode(); } if (hasNegativePrefix()) { hash = (37 * hash) + NEGATIVEPREFIX_FIELD_NUMBER; hash = (53 * hash) + getNegativePrefix().hashCode(); } if (hasPositivePrefix()) { hash = (37 * hash) + POSITIVEPREFIX_FIELD_NUMBER; hash = (53 * hash) + getPositivePrefix().hashCode(); } if (hasShowThousandsGrouping()) { hash = (37 * hash) + SHOWTHOUSANDSGROUPING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getShowThousandsGrouping()); } if (hasNotation()) { hash = (37 * hash) + NOTATION_FIELD_NUMBER; hash = (53 * hash) + getNotation().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.NumberFormatTypeInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.NumberFormatTypeInfo 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.NumberFormatTypeInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.NumberFormatTypeInfo 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.NumberFormatTypeInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.NumberFormatTypeInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.NumberFormatTypeInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.NumberFormatTypeInfo 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.NumberFormatTypeInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.NumberFormatTypeInfo 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.NumberFormatTypeInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.NumberFormatTypeInfo 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.NumberFormatTypeInfo 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.NumberFormatTypeInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.NumberFormatTypeInfo) org.yamcs.protobuf.Mdb.NumberFormatTypeInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_NumberFormatTypeInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_NumberFormatTypeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.class, org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.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(); numberBase_ = ""; bitField0_ = (bitField0_ & ~0x00000001); minimumFractionDigits_ = 0; bitField0_ = (bitField0_ & ~0x00000002); maximumFractionDigits_ = 0; bitField0_ = (bitField0_ & ~0x00000004); minimumIntegerDigits_ = 0; bitField0_ = (bitField0_ & ~0x00000008); maximumIntegerDigits_ = 0; bitField0_ = (bitField0_ & ~0x00000010); negativeSuffix_ = ""; bitField0_ = (bitField0_ & ~0x00000020); positiveSuffix_ = ""; bitField0_ = (bitField0_ & ~0x00000040); negativePrefix_ = ""; bitField0_ = (bitField0_ & ~0x00000080); positivePrefix_ = ""; bitField0_ = (bitField0_ & ~0x00000100); showThousandsGrouping_ = false; bitField0_ = (bitField0_ & ~0x00000200); notation_ = ""; 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_NumberFormatTypeInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.NumberFormatTypeInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.NumberFormatTypeInfo build() { org.yamcs.protobuf.Mdb.NumberFormatTypeInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.NumberFormatTypeInfo buildPartial() { org.yamcs.protobuf.Mdb.NumberFormatTypeInfo result = new org.yamcs.protobuf.Mdb.NumberFormatTypeInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.numberBase_ = numberBase_; if (((from_bitField0_ & 0x00000002) != 0)) { result.minimumFractionDigits_ = minimumFractionDigits_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.maximumFractionDigits_ = maximumFractionDigits_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.minimumIntegerDigits_ = minimumIntegerDigits_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.maximumIntegerDigits_ = maximumIntegerDigits_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.negativeSuffix_ = negativeSuffix_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000040; } result.positiveSuffix_ = positiveSuffix_; if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.negativePrefix_ = negativePrefix_; if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000100; } result.positivePrefix_ = positivePrefix_; if (((from_bitField0_ & 0x00000200) != 0)) { result.showThousandsGrouping_ = showThousandsGrouping_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { to_bitField0_ |= 0x00000400; } result.notation_ = notation_; 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.NumberFormatTypeInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.NumberFormatTypeInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.NumberFormatTypeInfo other) { if (other == org.yamcs.protobuf.Mdb.NumberFormatTypeInfo.getDefaultInstance()) return this; if (other.hasNumberBase()) { bitField0_ |= 0x00000001; numberBase_ = other.numberBase_; onChanged(); } if (other.hasMinimumFractionDigits()) { setMinimumFractionDigits(other.getMinimumFractionDigits()); } if (other.hasMaximumFractionDigits()) { setMaximumFractionDigits(other.getMaximumFractionDigits()); } if (other.hasMinimumIntegerDigits()) { setMinimumIntegerDigits(other.getMinimumIntegerDigits()); } if (other.hasMaximumIntegerDigits()) { setMaximumIntegerDigits(other.getMaximumIntegerDigits()); } if (other.hasNegativeSuffix()) { bitField0_ |= 0x00000020; negativeSuffix_ = other.negativeSuffix_; onChanged(); } if (other.hasPositiveSuffix()) { bitField0_ |= 0x00000040; positiveSuffix_ = other.positiveSuffix_; onChanged(); } if (other.hasNegativePrefix()) { bitField0_ |= 0x00000080; negativePrefix_ = other.negativePrefix_; onChanged(); } if (other.hasPositivePrefix()) { bitField0_ |= 0x00000100; positivePrefix_ = other.positivePrefix_; onChanged(); } if (other.hasShowThousandsGrouping()) { setShowThousandsGrouping(other.getShowThousandsGrouping()); } if (other.hasNotation()) { bitField0_ |= 0x00000400; notation_ = other.notation_; 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.NumberFormatTypeInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.NumberFormatTypeInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object numberBase_ = ""; /** * optional string numberBase = 1; * @return Whether the numberBase field is set. */ public boolean hasNumberBase() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string numberBase = 1; * @return The numberBase. */ public java.lang.String getNumberBase() { java.lang.Object ref = numberBase_; 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()) { numberBase_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string numberBase = 1; * @return The bytes for numberBase. */ public com.google.protobuf.ByteString getNumberBaseBytes() { java.lang.Object ref = numberBase_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); numberBase_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string numberBase = 1; * @param value The numberBase to set. * @return This builder for chaining. */ public Builder setNumberBase( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; numberBase_ = value; onChanged(); return this; } /** * optional string numberBase = 1; * @return This builder for chaining. */ public Builder clearNumberBase() { bitField0_ = (bitField0_ & ~0x00000001); numberBase_ = getDefaultInstance().getNumberBase(); onChanged(); return this; } /** * optional string numberBase = 1; * @param value The bytes for numberBase to set. * @return This builder for chaining. */ public Builder setNumberBaseBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; numberBase_ = value; onChanged(); return this; } private int minimumFractionDigits_ ; /** * optional int32 minimumFractionDigits = 2; * @return Whether the minimumFractionDigits field is set. */ @java.lang.Override public boolean hasMinimumFractionDigits() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 minimumFractionDigits = 2; * @return The minimumFractionDigits. */ @java.lang.Override public int getMinimumFractionDigits() { return minimumFractionDigits_; } /** * optional int32 minimumFractionDigits = 2; * @param value The minimumFractionDigits to set. * @return This builder for chaining. */ public Builder setMinimumFractionDigits(int value) { bitField0_ |= 0x00000002; minimumFractionDigits_ = value; onChanged(); return this; } /** * optional int32 minimumFractionDigits = 2; * @return This builder for chaining. */ public Builder clearMinimumFractionDigits() { bitField0_ = (bitField0_ & ~0x00000002); minimumFractionDigits_ = 0; onChanged(); return this; } private int maximumFractionDigits_ ; /** * optional int32 maximumFractionDigits = 3; * @return Whether the maximumFractionDigits field is set. */ @java.lang.Override public boolean hasMaximumFractionDigits() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 maximumFractionDigits = 3; * @return The maximumFractionDigits. */ @java.lang.Override public int getMaximumFractionDigits() { return maximumFractionDigits_; } /** * optional int32 maximumFractionDigits = 3; * @param value The maximumFractionDigits to set. * @return This builder for chaining. */ public Builder setMaximumFractionDigits(int value) { bitField0_ |= 0x00000004; maximumFractionDigits_ = value; onChanged(); return this; } /** * optional int32 maximumFractionDigits = 3; * @return This builder for chaining. */ public Builder clearMaximumFractionDigits() { bitField0_ = (bitField0_ & ~0x00000004); maximumFractionDigits_ = 0; onChanged(); return this; } private int minimumIntegerDigits_ ; /** * optional int32 minimumIntegerDigits = 4; * @return Whether the minimumIntegerDigits field is set. */ @java.lang.Override public boolean hasMinimumIntegerDigits() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 minimumIntegerDigits = 4; * @return The minimumIntegerDigits. */ @java.lang.Override public int getMinimumIntegerDigits() { return minimumIntegerDigits_; } /** * optional int32 minimumIntegerDigits = 4; * @param value The minimumIntegerDigits to set. * @return This builder for chaining. */ public Builder setMinimumIntegerDigits(int value) { bitField0_ |= 0x00000008; minimumIntegerDigits_ = value; onChanged(); return this; } /** * optional int32 minimumIntegerDigits = 4; * @return This builder for chaining. */ public Builder clearMinimumIntegerDigits() { bitField0_ = (bitField0_ & ~0x00000008); minimumIntegerDigits_ = 0; onChanged(); return this; } private int maximumIntegerDigits_ ; /** * optional int32 maximumIntegerDigits = 5; * @return Whether the maximumIntegerDigits field is set. */ @java.lang.Override public boolean hasMaximumIntegerDigits() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 maximumIntegerDigits = 5; * @return The maximumIntegerDigits. */ @java.lang.Override public int getMaximumIntegerDigits() { return maximumIntegerDigits_; } /** * optional int32 maximumIntegerDigits = 5; * @param value The maximumIntegerDigits to set. * @return This builder for chaining. */ public Builder setMaximumIntegerDigits(int value) { bitField0_ |= 0x00000010; maximumIntegerDigits_ = value; onChanged(); return this; } /** * optional int32 maximumIntegerDigits = 5; * @return This builder for chaining. */ public Builder clearMaximumIntegerDigits() { bitField0_ = (bitField0_ & ~0x00000010); maximumIntegerDigits_ = 0; onChanged(); return this; } private java.lang.Object negativeSuffix_ = ""; /** * optional string negativeSuffix = 6; * @return Whether the negativeSuffix field is set. */ public boolean hasNegativeSuffix() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string negativeSuffix = 6; * @return The negativeSuffix. */ public java.lang.String getNegativeSuffix() { java.lang.Object ref = negativeSuffix_; 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()) { negativeSuffix_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string negativeSuffix = 6; * @return The bytes for negativeSuffix. */ public com.google.protobuf.ByteString getNegativeSuffixBytes() { java.lang.Object ref = negativeSuffix_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); negativeSuffix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string negativeSuffix = 6; * @param value The negativeSuffix to set. * @return This builder for chaining. */ public Builder setNegativeSuffix( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; negativeSuffix_ = value; onChanged(); return this; } /** * optional string negativeSuffix = 6; * @return This builder for chaining. */ public Builder clearNegativeSuffix() { bitField0_ = (bitField0_ & ~0x00000020); negativeSuffix_ = getDefaultInstance().getNegativeSuffix(); onChanged(); return this; } /** * optional string negativeSuffix = 6; * @param value The bytes for negativeSuffix to set. * @return This builder for chaining. */ public Builder setNegativeSuffixBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; negativeSuffix_ = value; onChanged(); return this; } private java.lang.Object positiveSuffix_ = ""; /** * optional string positiveSuffix = 7; * @return Whether the positiveSuffix field is set. */ public boolean hasPositiveSuffix() { return ((bitField0_ & 0x00000040) != 0); } /** * optional string positiveSuffix = 7; * @return The positiveSuffix. */ public java.lang.String getPositiveSuffix() { java.lang.Object ref = positiveSuffix_; 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()) { positiveSuffix_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string positiveSuffix = 7; * @return The bytes for positiveSuffix. */ public com.google.protobuf.ByteString getPositiveSuffixBytes() { java.lang.Object ref = positiveSuffix_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); positiveSuffix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string positiveSuffix = 7; * @param value The positiveSuffix to set. * @return This builder for chaining. */ public Builder setPositiveSuffix( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; positiveSuffix_ = value; onChanged(); return this; } /** * optional string positiveSuffix = 7; * @return This builder for chaining. */ public Builder clearPositiveSuffix() { bitField0_ = (bitField0_ & ~0x00000040); positiveSuffix_ = getDefaultInstance().getPositiveSuffix(); onChanged(); return this; } /** * optional string positiveSuffix = 7; * @param value The bytes for positiveSuffix to set. * @return This builder for chaining. */ public Builder setPositiveSuffixBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; positiveSuffix_ = value; onChanged(); return this; } private java.lang.Object negativePrefix_ = ""; /** * optional string negativePrefix = 8; * @return Whether the negativePrefix field is set. */ public boolean hasNegativePrefix() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string negativePrefix = 8; * @return The negativePrefix. */ public java.lang.String getNegativePrefix() { java.lang.Object ref = negativePrefix_; 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()) { negativePrefix_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string negativePrefix = 8; * @return The bytes for negativePrefix. */ public com.google.protobuf.ByteString getNegativePrefixBytes() { java.lang.Object ref = negativePrefix_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); negativePrefix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string negativePrefix = 8; * @param value The negativePrefix to set. * @return This builder for chaining. */ public Builder setNegativePrefix( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; negativePrefix_ = value; onChanged(); return this; } /** * optional string negativePrefix = 8; * @return This builder for chaining. */ public Builder clearNegativePrefix() { bitField0_ = (bitField0_ & ~0x00000080); negativePrefix_ = getDefaultInstance().getNegativePrefix(); onChanged(); return this; } /** * optional string negativePrefix = 8; * @param value The bytes for negativePrefix to set. * @return This builder for chaining. */ public Builder setNegativePrefixBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; negativePrefix_ = value; onChanged(); return this; } private java.lang.Object positivePrefix_ = ""; /** * optional string positivePrefix = 9; * @return Whether the positivePrefix field is set. */ public boolean hasPositivePrefix() { return ((bitField0_ & 0x00000100) != 0); } /** * optional string positivePrefix = 9; * @return The positivePrefix. */ public java.lang.String getPositivePrefix() { java.lang.Object ref = positivePrefix_; 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()) { positivePrefix_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string positivePrefix = 9; * @return The bytes for positivePrefix. */ public com.google.protobuf.ByteString getPositivePrefixBytes() { java.lang.Object ref = positivePrefix_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); positivePrefix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string positivePrefix = 9; * @param value The positivePrefix to set. * @return This builder for chaining. */ public Builder setPositivePrefix( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; positivePrefix_ = value; onChanged(); return this; } /** * optional string positivePrefix = 9; * @return This builder for chaining. */ public Builder clearPositivePrefix() { bitField0_ = (bitField0_ & ~0x00000100); positivePrefix_ = getDefaultInstance().getPositivePrefix(); onChanged(); return this; } /** * optional string positivePrefix = 9; * @param value The bytes for positivePrefix to set. * @return This builder for chaining. */ public Builder setPositivePrefixBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; positivePrefix_ = value; onChanged(); return this; } private boolean showThousandsGrouping_ ; /** * optional bool showThousandsGrouping = 10; * @return Whether the showThousandsGrouping field is set. */ @java.lang.Override public boolean hasShowThousandsGrouping() { return ((bitField0_ & 0x00000200) != 0); } /** * optional bool showThousandsGrouping = 10; * @return The showThousandsGrouping. */ @java.lang.Override public boolean getShowThousandsGrouping() { return showThousandsGrouping_; } /** * optional bool showThousandsGrouping = 10; * @param value The showThousandsGrouping to set. * @return This builder for chaining. */ public Builder setShowThousandsGrouping(boolean value) { bitField0_ |= 0x00000200; showThousandsGrouping_ = value; onChanged(); return this; } /** * optional bool showThousandsGrouping = 10; * @return This builder for chaining. */ public Builder clearShowThousandsGrouping() { bitField0_ = (bitField0_ & ~0x00000200); showThousandsGrouping_ = false; onChanged(); return this; } private java.lang.Object notation_ = ""; /** * optional string notation = 11; * @return Whether the notation field is set. */ public boolean hasNotation() { return ((bitField0_ & 0x00000400) != 0); } /** * optional string notation = 11; * @return The notation. */ public java.lang.String getNotation() { java.lang.Object ref = notation_; 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()) { notation_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string notation = 11; * @return The bytes for notation. */ public com.google.protobuf.ByteString getNotationBytes() { java.lang.Object ref = notation_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); notation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string notation = 11; * @param value The notation to set. * @return This builder for chaining. */ public Builder setNotation( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; notation_ = value; onChanged(); return this; } /** * optional string notation = 11; * @return This builder for chaining. */ public Builder clearNotation() { bitField0_ = (bitField0_ & ~0x00000400); notation_ = getDefaultInstance().getNotation(); onChanged(); return this; } /** * optional string notation = 11; * @param value The bytes for notation to set. * @return This builder for chaining. */ public Builder setNotationBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; notation_ = 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.NumberFormatTypeInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.NumberFormatTypeInfo) private static final org.yamcs.protobuf.Mdb.NumberFormatTypeInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.NumberFormatTypeInfo(); } public static org.yamcs.protobuf.Mdb.NumberFormatTypeInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NumberFormatTypeInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new NumberFormatTypeInfo(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.NumberFormatTypeInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetContainerRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.GetContainerRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * Container name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ boolean hasName(); /** *
     * Container name.
     * 
* * optional string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * Container name.
     * 
* * optional string name = 2; * @return The bytes for name. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetContainerRequest(); } @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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Container name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Container name.
     * 
* * optional string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * Container name.
     * 
* * optional string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Container name.
       * 
* * optional string name = 2; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Container name.
       * 
* * optional string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Container name.
       * 
* * optional string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Container name.
       * 
* * optional string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       * Container name.
       * 
* * optional string name = 2; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Container name.
       * 
* * optional string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } @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 GetParameterTypeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.GetParameterTypeRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * Parameter type name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ boolean hasName(); /** *
     * Parameter type name.
     * 
* * optional string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * Parameter type name.
     * 
* * optional string name = 2; * @return The bytes for name. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetParameterTypeRequest(); } @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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Parameter type name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Parameter type name.
     * 
* * optional string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * Parameter type name.
     * 
* * optional string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Parameter type name.
       * 
* * optional string name = 2; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Parameter type name.
       * 
* * optional string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Parameter type name.
       * 
* * optional string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Parameter type name.
       * 
* * optional string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       * Parameter type name.
       * 
* * optional string name = 2; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Parameter type name.
       * 
* * optional string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } @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 AbsoluteTimeInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.AbsoluteTimeInfo) com.google.protobuf.MessageOrBuilder { /** * optional string initialValue = 1; * @return Whether the initialValue field is set. */ boolean hasInitialValue(); /** * optional string initialValue = 1; * @return The initialValue. */ java.lang.String getInitialValue(); /** * optional string initialValue = 1; * @return The bytes for initialValue. */ com.google.protobuf.ByteString getInitialValueBytes(); /** * optional double scale = 2; * @return Whether the scale field is set. */ boolean hasScale(); /** * optional double scale = 2; * @return The scale. */ double getScale(); /** * optional double offset = 3; * @return Whether the offset field is set. */ boolean hasOffset(); /** * optional double offset = 3; * @return The offset. */ double getOffset(); /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; * @return Whether the offsetFrom field is set. */ boolean hasOffsetFrom(); /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; * @return The offsetFrom. */ org.yamcs.protobuf.Mdb.ParameterInfo getOffsetFrom(); /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getOffsetFromOrBuilder(); /** * optional string epoch = 5; * @return Whether the epoch field is set. */ boolean hasEpoch(); /** * optional string epoch = 5; * @return The epoch. */ java.lang.String getEpoch(); /** * optional string epoch = 5; * @return The bytes for epoch. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AbsoluteTimeInfo(); } @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; * @return Whether the initialValue field is set. */ @java.lang.Override public boolean hasInitialValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string initialValue = 1; * @return The initialValue. */ @java.lang.Override 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; * @return The bytes for initialValue. */ @java.lang.Override 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; * @return Whether the scale field is set. */ @java.lang.Override public boolean hasScale() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double scale = 2; * @return The scale. */ @java.lang.Override public double getScale() { return scale_; } public static final int OFFSET_FIELD_NUMBER = 3; private double offset_; /** * optional double offset = 3; * @return Whether the offset field is set. */ @java.lang.Override public boolean hasOffset() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double offset = 3; * @return The offset. */ @java.lang.Override 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; * @return Whether the offsetFrom field is set. */ @java.lang.Override public boolean hasOffsetFrom() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; * @return The offsetFrom. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getOffsetFrom() { return offsetFrom_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : offsetFrom_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; */ @java.lang.Override 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; * @return Whether the epoch field is set. */ @java.lang.Override public boolean hasEpoch() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string epoch = 5; * @return The epoch. */ @java.lang.Override 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; * @return The bytes for epoch. */ @java.lang.Override 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; * @return Whether the initialValue field is set. */ public boolean hasInitialValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string initialValue = 1; * @return The initialValue. */ 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; * @return The bytes for initialValue. */ 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; * @param value The initialValue to set. * @return This builder for chaining. */ public Builder setInitialValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; initialValue_ = value; onChanged(); return this; } /** * optional string initialValue = 1; * @return This builder for chaining. */ public Builder clearInitialValue() { bitField0_ = (bitField0_ & ~0x00000001); initialValue_ = getDefaultInstance().getInitialValue(); onChanged(); return this; } /** * optional string initialValue = 1; * @param value The bytes for initialValue to set. * @return This builder for chaining. */ 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; * @return Whether the scale field is set. */ @java.lang.Override public boolean hasScale() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double scale = 2; * @return The scale. */ @java.lang.Override public double getScale() { return scale_; } /** * optional double scale = 2; * @param value The scale to set. * @return This builder for chaining. */ public Builder setScale(double value) { bitField0_ |= 0x00000002; scale_ = value; onChanged(); return this; } /** * optional double scale = 2; * @return This builder for chaining. */ public Builder clearScale() { bitField0_ = (bitField0_ & ~0x00000002); scale_ = 0D; onChanged(); return this; } private double offset_ ; /** * optional double offset = 3; * @return Whether the offset field is set. */ @java.lang.Override public boolean hasOffset() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double offset = 3; * @return The offset. */ @java.lang.Override public double getOffset() { return offset_; } /** * optional double offset = 3; * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(double value) { bitField0_ |= 0x00000004; offset_ = value; onChanged(); return this; } /** * optional double offset = 3; * @return This builder for chaining. */ 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; * @return Whether the offsetFrom field is set. */ public boolean hasOffsetFrom() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo offsetFrom = 4; * @return The offsetFrom. */ 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; * @return Whether the epoch field is set. */ public boolean hasEpoch() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string epoch = 5; * @return The epoch. */ 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; * @return The bytes for epoch. */ 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; * @param value The epoch to set. * @return This builder for chaining. */ public Builder setEpoch( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; epoch_ = value; onChanged(); return this; } /** * optional string epoch = 5; * @return This builder for chaining. */ public Builder clearEpoch() { bitField0_ = (bitField0_ & ~0x00000010); epoch_ = getDefaultInstance().getEpoch(); onChanged(); return this; } /** * optional string epoch = 5; * @param value The bytes for epoch to set. * @return This builder for chaining. */ 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; * @return Whether the name field is set. */ boolean hasName(); /** * optional string name = 1; * @return The name. */ java.lang.String getName(); /** * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ boolean hasShortDescription(); /** * optional string shortDescription = 3; * @return The shortDescription. */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; * @return The bytes for shortDescription. */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; * @return Whether the longDescription field is set. */ boolean hasLongDescription(); /** * optional string longDescription = 4; * @return The longDescription. */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; * @return The bytes for longDescription. */ 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; * @return Whether the type field is set. */ boolean hasType(); /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; * @return The type. */ 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_ = ""; shortDescription_ = ""; longDescription_ = ""; alias_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MemberInfo(); } @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 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; shortDescription_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; longDescription_ = bs; break; } case 42: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { alias_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } alias_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 50: { org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = type_.toBuilder(); } type_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterTypeInfo.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 { if (((mutable_bitField0_ & 0x00000008) != 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; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHORTDESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object shortDescription_; /** * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ @java.lang.Override public boolean hasShortDescription() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ @java.lang.Override 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; * @return The bytes for shortDescription. */ @java.lang.Override 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; * @return Whether the longDescription field is set. */ @java.lang.Override public boolean hasLongDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ @java.lang.Override 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; * @return The bytes for longDescription. */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override 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; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; * @return The type. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterTypeInfo getType() { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ @java.lang.Override 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, 3, shortDescription_); } if (((bitField0_ & 0x00000004) != 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_ & 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(3, shortDescription_); } if (((bitField0_ & 0x00000004) != 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_ & 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.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 (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 (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); shortDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000002); longDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000004); if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { aliasBuilder_.clear(); } if (typeBuilder_ == null) { type_ = null; } else { typeBuilder_.clear(); } 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_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.shortDescription_ = shortDescription_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.longDescription_ = longDescription_; if (aliasBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); bitField0_ = (bitField0_ & ~0x00000008); } result.alias_ = alias_; } else { result.alias_ = aliasBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 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.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.hasShortDescription()) { bitField0_ |= 0x00000002; shortDescription_ = other.shortDescription_; onChanged(); } if (other.hasLongDescription()) { bitField0_ |= 0x00000004; longDescription_ = other.longDescription_; onChanged(); } if (aliasBuilder_ == null) { if (!other.alias_.isEmpty()) { if (alias_.isEmpty()) { alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureAliasIsMutable(); alias_.addAll(other.alias_); } onChanged(); } } else { if (!other.alias_.isEmpty()) { if (aliasBuilder_.isEmpty()) { aliasBuilder_.dispose(); aliasBuilder_ = null; alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000008); 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; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object shortDescription_ = ""; /** * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ 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; * @return The bytes for shortDescription. */ 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; * @param value The shortDescription to set. * @return This builder for chaining. */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; * @return This builder for chaining. */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000002); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; * @param value The bytes for shortDescription to set. * @return This builder for chaining. */ public Builder setShortDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; shortDescription_ = value; onChanged(); return this; } private java.lang.Object longDescription_ = ""; /** * optional string longDescription = 4; * @return Whether the longDescription field is set. */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ 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; * @return The bytes for longDescription. */ 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; * @param value The longDescription to set. * @return This builder for chaining. */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; * @return This builder for chaining. */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000004); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; * @param value The bytes for longDescription to set. * @return This builder for chaining. */ public Builder setLongDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; longDescription_ = value; onChanged(); return this; } private java.util.List alias_ = java.util.Collections.emptyList(); private void ensureAliasIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { alias_ = new java.util.ArrayList(alias_); bitField0_ |= 0x00000008; } } 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_ & ~0x00000008); 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_ & 0x00000008) != 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; * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; * @return The type. */ 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_ |= 0x00000010; 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_ |= 0x00000010; return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public Builder mergeType(org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (typeBuilder_ == null) { if (((bitField0_ & 0x00000010) != 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_ |= 0x00000010; return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public Builder clearType() { if (typeBuilder_ == null) { type_ = null; onChanged(); } else { typeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder getTypeBuilder() { bitField0_ |= 0x00000010; 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 ArgumentMemberInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ArgumentMemberInfo) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; * @return Whether the name field is set. */ boolean hasName(); /** * optional string name = 1; * @return The name. */ java.lang.String getName(); /** * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ boolean hasShortDescription(); /** * optional string shortDescription = 3; * @return The shortDescription. */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; * @return The bytes for shortDescription. */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; * @return Whether the longDescription field is set. */ boolean hasLongDescription(); /** * optional string longDescription = 4; * @return The longDescription. */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; * @return The bytes for longDescription. */ 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.ArgumentTypeInfo type = 6; * @return Whether the type field is set. */ boolean hasType(); /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; * @return The type. */ org.yamcs.protobuf.Mdb.ArgumentTypeInfo getType(); /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder getTypeOrBuilder(); /** * optional string initialValue = 7; * @return Whether the initialValue field is set. */ boolean hasInitialValue(); /** * optional string initialValue = 7; * @return The initialValue. */ java.lang.String getInitialValue(); /** * optional string initialValue = 7; * @return The bytes for initialValue. */ com.google.protobuf.ByteString getInitialValueBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ArgumentMemberInfo} */ public static final class ArgumentMemberInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ArgumentMemberInfo) ArgumentMemberInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ArgumentMemberInfo.newBuilder() to construct. private ArgumentMemberInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ArgumentMemberInfo() { name_ = ""; shortDescription_ = ""; longDescription_ = ""; alias_ = java.util.Collections.emptyList(); initialValue_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ArgumentMemberInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ArgumentMemberInfo( 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 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; shortDescription_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; longDescription_ = bs; break; } case 42: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { alias_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } alias_.add( input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); 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; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; initialValue_ = 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)) { 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_ArgumentMemberInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentMemberInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ArgumentMemberInfo.class, org.yamcs.protobuf.Mdb.ArgumentMemberInfo.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHORTDESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object shortDescription_; /** * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ @java.lang.Override public boolean hasShortDescription() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ @java.lang.Override 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; * @return The bytes for shortDescription. */ @java.lang.Override 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; * @return Whether the longDescription field is set. */ @java.lang.Override public boolean hasLongDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ @java.lang.Override 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; * @return The bytes for longDescription. */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override 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.ArgumentTypeInfo type_; /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; * @return The type. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentTypeInfo getType() { return type_ == null ? org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance() : type_; } /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder getTypeOrBuilder() { return type_ == null ? org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance() : type_; } public static final int INITIALVALUE_FIELD_NUMBER = 7; private volatile java.lang.Object initialValue_; /** * optional string initialValue = 7; * @return Whether the initialValue field is set. */ @java.lang.Override public boolean hasInitialValue() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string initialValue = 7; * @return The initialValue. */ @java.lang.Override 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 = 7; * @return The bytes for initialValue. */ @java.lang.Override 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; } } 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, 3, shortDescription_); } if (((bitField0_ & 0x00000004) != 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_ & 0x00000008) != 0)) { output.writeMessage(6, getType()); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, initialValue_); } 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(3, shortDescription_); } if (((bitField0_ & 0x00000004) != 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_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getType()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, initialValue_); } 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.ArgumentMemberInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ArgumentMemberInfo other = (org.yamcs.protobuf.Mdb.ArgumentMemberInfo) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) 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 (hasInitialValue() != other.hasInitialValue()) return false; if (hasInitialValue()) { if (!getInitialValue() .equals(other.getInitialValue())) 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 (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 (hasInitialValue()) { hash = (37 * hash) + INITIALVALUE_FIELD_NUMBER; hash = (53 * hash) + getInitialValue().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ArgumentMemberInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentMemberInfo 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.ArgumentMemberInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentMemberInfo 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.ArgumentMemberInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentMemberInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ArgumentMemberInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentMemberInfo 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.ArgumentMemberInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentMemberInfo 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.ArgumentMemberInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentMemberInfo 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.ArgumentMemberInfo 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.ArgumentMemberInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ArgumentMemberInfo) org.yamcs.protobuf.Mdb.ArgumentMemberInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentMemberInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentMemberInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ArgumentMemberInfo.class, org.yamcs.protobuf.Mdb.ArgumentMemberInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ArgumentMemberInfo.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); shortDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000002); longDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000004); if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { aliasBuilder_.clear(); } if (typeBuilder_ == null) { type_ = null; } else { typeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); initialValue_ = ""; 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_ArgumentMemberInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentMemberInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ArgumentMemberInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentMemberInfo build() { org.yamcs.protobuf.Mdb.ArgumentMemberInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentMemberInfo buildPartial() { org.yamcs.protobuf.Mdb.ArgumentMemberInfo result = new org.yamcs.protobuf.Mdb.ArgumentMemberInfo(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.shortDescription_ = shortDescription_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.longDescription_ = longDescription_; if (aliasBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); bitField0_ = (bitField0_ & ~0x00000008); } result.alias_ = alias_; } else { result.alias_ = aliasBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { if (typeBuilder_ == null) { result.type_ = type_; } else { result.type_ = typeBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000010; } result.initialValue_ = initialValue_; 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.ArgumentMemberInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.ArgumentMemberInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ArgumentMemberInfo other) { if (other == org.yamcs.protobuf.Mdb.ArgumentMemberInfo.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasShortDescription()) { bitField0_ |= 0x00000002; shortDescription_ = other.shortDescription_; onChanged(); } if (other.hasLongDescription()) { bitField0_ |= 0x00000004; longDescription_ = other.longDescription_; onChanged(); } if (aliasBuilder_ == null) { if (!other.alias_.isEmpty()) { if (alias_.isEmpty()) { alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureAliasIsMutable(); alias_.addAll(other.alias_); } onChanged(); } } else { if (!other.alias_.isEmpty()) { if (aliasBuilder_.isEmpty()) { aliasBuilder_.dispose(); aliasBuilder_ = null; alias_ = other.alias_; bitField0_ = (bitField0_ & ~0x00000008); aliasBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAliasFieldBuilder() : null; } else { aliasBuilder_.addAllMessages(other.alias_); } } } if (other.hasType()) { mergeType(other.getType()); } if (other.hasInitialValue()) { bitField0_ |= 0x00000020; initialValue_ = other.initialValue_; 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; } } 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.ArgumentMemberInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ArgumentMemberInfo) 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; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object shortDescription_ = ""; /** * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ 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; * @return The bytes for shortDescription. */ 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; * @param value The shortDescription to set. * @return This builder for chaining. */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; * @return This builder for chaining. */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000002); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; * @param value The bytes for shortDescription to set. * @return This builder for chaining. */ public Builder setShortDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; shortDescription_ = value; onChanged(); return this; } private java.lang.Object longDescription_ = ""; /** * optional string longDescription = 4; * @return Whether the longDescription field is set. */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ 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; * @return The bytes for longDescription. */ 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; * @param value The longDescription to set. * @return This builder for chaining. */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; * @return This builder for chaining. */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000004); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; * @param value The bytes for longDescription to set. * @return This builder for chaining. */ public Builder setLongDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; longDescription_ = value; onChanged(); return this; } private java.util.List alias_ = java.util.Collections.emptyList(); private void ensureAliasIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { alias_ = new java.util.ArrayList(alias_); bitField0_ |= 0x00000008; } } 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_ & ~0x00000008); 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_ & 0x00000008) != 0), getParentForChildren(), isClean()); alias_ = null; } return aliasBuilder_; } 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_; /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; * @return The type. */ public org.yamcs.protobuf.Mdb.ArgumentTypeInfo getType() { if (typeBuilder_ == null) { return type_ == null ? org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** * 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_ |= 0x00000010; return this; } /** * 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_ |= 0x00000010; return this; } /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public Builder mergeType(org.yamcs.protobuf.Mdb.ArgumentTypeInfo value) { if (typeBuilder_ == null) { if (((bitField0_ & 0x00000010) != 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_ |= 0x00000010; return this; } /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public Builder clearType() { if (typeBuilder_ == null) { type_ = null; onChanged(); } else { typeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder getTypeBuilder() { bitField0_ |= 0x00000010; onChanged(); return getTypeFieldBuilder().getBuilder(); } /** * 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_; } } /** * 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_; } private java.lang.Object initialValue_ = ""; /** * optional string initialValue = 7; * @return Whether the initialValue field is set. */ public boolean hasInitialValue() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string initialValue = 7; * @return The initialValue. */ 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 = 7; * @return The bytes for initialValue. */ 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 = 7; * @param value The initialValue to set. * @return This builder for chaining. */ public Builder setInitialValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; initialValue_ = value; onChanged(); return this; } /** * optional string initialValue = 7; * @return This builder for chaining. */ public Builder clearInitialValue() { bitField0_ = (bitField0_ & ~0x00000020); initialValue_ = getDefaultInstance().getInitialValue(); onChanged(); return this; } /** * optional string initialValue = 7; * @param value The bytes for initialValue to set. * @return This builder for chaining. */ public Builder setInitialValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; initialValue_ = 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.ArgumentMemberInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ArgumentMemberInfo) private static final org.yamcs.protobuf.Mdb.ArgumentMemberInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ArgumentMemberInfo(); } public static org.yamcs.protobuf.Mdb.ArgumentMemberInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ArgumentMemberInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ArgumentMemberInfo(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.ArgumentMemberInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ParameterDimensionInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ParameterDimensionInfo) com.google.protobuf.MessageOrBuilder { /** * optional int64 fixedValue = 1; * @return Whether the fixedValue field is set. */ boolean hasFixedValue(); /** * optional int64 fixedValue = 1; * @return The fixedValue. */ long getFixedValue(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return Whether the parameter field is set. */ boolean hasParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return The parameter. */ org.yamcs.protobuf.Mdb.ParameterInfo getParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(); /** * optional int64 slope = 3; * @return Whether the slope field is set. */ boolean hasSlope(); /** * optional int64 slope = 3; * @return The slope. */ long getSlope(); /** * optional int64 intercept = 4; * @return Whether the intercept field is set. */ boolean hasIntercept(); /** * optional int64 intercept = 4; * @return The intercept. */ long getIntercept(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ParameterDimensionInfo} */ public static final class ParameterDimensionInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ParameterDimensionInfo) ParameterDimensionInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ParameterDimensionInfo.newBuilder() to construct. private ParameterDimensionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ParameterDimensionInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ParameterDimensionInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ParameterDimensionInfo( 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; fixedValue_ = input.readInt64(); 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; } case 24: { bitField0_ |= 0x00000004; slope_ = input.readInt64(); break; } case 32: { bitField0_ |= 0x00000008; intercept_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterDimensionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterDimensionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ParameterDimensionInfo.class, org.yamcs.protobuf.Mdb.ParameterDimensionInfo.Builder.class); } private int bitField0_; public static final int FIXEDVALUE_FIELD_NUMBER = 1; private long fixedValue_; /** * optional int64 fixedValue = 1; * @return Whether the fixedValue field is set. */ @java.lang.Override public boolean hasFixedValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 fixedValue = 1; * @return The fixedValue. */ @java.lang.Override public long getFixedValue() { return fixedValue_; } public static final int PARAMETER_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.ParameterInfo parameter_; /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return Whether the parameter field is set. */ @java.lang.Override public boolean hasParameter() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return The parameter. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } public static final int SLOPE_FIELD_NUMBER = 3; private long slope_; /** * optional int64 slope = 3; * @return Whether the slope field is set. */ @java.lang.Override public boolean hasSlope() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 slope = 3; * @return The slope. */ @java.lang.Override public long getSlope() { return slope_; } public static final int INTERCEPT_FIELD_NUMBER = 4; private long intercept_; /** * optional int64 intercept = 4; * @return Whether the intercept field is set. */ @java.lang.Override public boolean hasIntercept() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int64 intercept = 4; * @return The intercept. */ @java.lang.Override public long getIntercept() { return intercept_; } 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.writeInt64(1, fixedValue_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getParameter()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(3, slope_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt64(4, intercept_); } 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, fixedValue_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getParameter()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, slope_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, intercept_); } 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.ParameterDimensionInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ParameterDimensionInfo other = (org.yamcs.protobuf.Mdb.ParameterDimensionInfo) obj; if (hasFixedValue() != other.hasFixedValue()) return false; if (hasFixedValue()) { if (getFixedValue() != other.getFixedValue()) return false; } if (hasParameter() != other.hasParameter()) return false; if (hasParameter()) { if (!getParameter() .equals(other.getParameter())) return false; } if (hasSlope() != other.hasSlope()) return false; if (hasSlope()) { if (getSlope() != other.getSlope()) return false; } if (hasIntercept() != other.hasIntercept()) return false; if (hasIntercept()) { if (getIntercept() != other.getIntercept()) 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 (hasFixedValue()) { hash = (37 * hash) + FIXEDVALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFixedValue()); } if (hasParameter()) { hash = (37 * hash) + PARAMETER_FIELD_NUMBER; hash = (53 * hash) + getParameter().hashCode(); } if (hasSlope()) { hash = (37 * hash) + SLOPE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSlope()); } if (hasIntercept()) { hash = (37 * hash) + INTERCEPT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getIntercept()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ParameterDimensionInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ParameterDimensionInfo 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.ParameterDimensionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ParameterDimensionInfo 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.ParameterDimensionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ParameterDimensionInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ParameterDimensionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ParameterDimensionInfo 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.ParameterDimensionInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ParameterDimensionInfo 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.ParameterDimensionInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ParameterDimensionInfo 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.ParameterDimensionInfo 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.ParameterDimensionInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ParameterDimensionInfo) org.yamcs.protobuf.Mdb.ParameterDimensionInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterDimensionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterDimensionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ParameterDimensionInfo.class, org.yamcs.protobuf.Mdb.ParameterDimensionInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ParameterDimensionInfo.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(); fixedValue_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); if (parameterBuilder_ == null) { parameter_ = null; } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); slope_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); intercept_ = 0L; 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_ParameterDimensionInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterDimensionInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ParameterDimensionInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterDimensionInfo build() { org.yamcs.protobuf.Mdb.ParameterDimensionInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterDimensionInfo buildPartial() { org.yamcs.protobuf.Mdb.ParameterDimensionInfo result = new org.yamcs.protobuf.Mdb.ParameterDimensionInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.fixedValue_ = fixedValue_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (parameterBuilder_ == null) { result.parameter_ = parameter_; } else { result.parameter_ = parameterBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.slope_ = slope_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.intercept_ = intercept_; 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.ParameterDimensionInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.ParameterDimensionInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ParameterDimensionInfo other) { if (other == org.yamcs.protobuf.Mdb.ParameterDimensionInfo.getDefaultInstance()) return this; if (other.hasFixedValue()) { setFixedValue(other.getFixedValue()); } if (other.hasParameter()) { mergeParameter(other.getParameter()); } if (other.hasSlope()) { setSlope(other.getSlope()); } if (other.hasIntercept()) { setIntercept(other.getIntercept()); } 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.ParameterDimensionInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ParameterDimensionInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long fixedValue_ ; /** * optional int64 fixedValue = 1; * @return Whether the fixedValue field is set. */ @java.lang.Override public boolean hasFixedValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 fixedValue = 1; * @return The fixedValue. */ @java.lang.Override public long getFixedValue() { return fixedValue_; } /** * optional int64 fixedValue = 1; * @param value The fixedValue to set. * @return This builder for chaining. */ public Builder setFixedValue(long value) { bitField0_ |= 0x00000001; fixedValue_ = value; onChanged(); return this; } /** * optional int64 fixedValue = 1; * @return This builder for chaining. */ public Builder clearFixedValue() { bitField0_ = (bitField0_ & ~0x00000001); fixedValue_ = 0L; onChanged(); return this; } 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; * @return Whether the parameter field is set. */ public boolean hasParameter() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return The parameter. */ 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_; } private long slope_ ; /** * optional int64 slope = 3; * @return Whether the slope field is set. */ @java.lang.Override public boolean hasSlope() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 slope = 3; * @return The slope. */ @java.lang.Override public long getSlope() { return slope_; } /** * optional int64 slope = 3; * @param value The slope to set. * @return This builder for chaining. */ public Builder setSlope(long value) { bitField0_ |= 0x00000004; slope_ = value; onChanged(); return this; } /** * optional int64 slope = 3; * @return This builder for chaining. */ public Builder clearSlope() { bitField0_ = (bitField0_ & ~0x00000004); slope_ = 0L; onChanged(); return this; } private long intercept_ ; /** * optional int64 intercept = 4; * @return Whether the intercept field is set. */ @java.lang.Override public boolean hasIntercept() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int64 intercept = 4; * @return The intercept. */ @java.lang.Override public long getIntercept() { return intercept_; } /** * optional int64 intercept = 4; * @param value The intercept to set. * @return This builder for chaining. */ public Builder setIntercept(long value) { bitField0_ |= 0x00000008; intercept_ = value; onChanged(); return this; } /** * optional int64 intercept = 4; * @return This builder for chaining. */ public Builder clearIntercept() { bitField0_ = (bitField0_ & ~0x00000008); intercept_ = 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.ParameterDimensionInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ParameterDimensionInfo) private static final org.yamcs.protobuf.Mdb.ParameterDimensionInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ParameterDimensionInfo(); } public static org.yamcs.protobuf.Mdb.ParameterDimensionInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ParameterDimensionInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ParameterDimensionInfo(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.ParameterDimensionInfo 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; * @return Whether the type field is set. */ boolean hasType(); /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; * @return The type. */ org.yamcs.protobuf.Mdb.ParameterTypeInfo getType(); /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypeOrBuilder(); /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ java.util.List getDimensionsList(); /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ org.yamcs.protobuf.Mdb.ParameterDimensionInfo getDimensions(int index); /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ int getDimensionsCount(); /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ java.util.List getDimensionsOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ org.yamcs.protobuf.Mdb.ParameterDimensionInfoOrBuilder getDimensionsOrBuilder( int index); } /** * 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() { dimensions_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new 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 26: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { dimensions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } dimensions_.add( input.readMessage(org.yamcs.protobuf.Mdb.ParameterDimensionInfo.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)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); } 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; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; * @return The type. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterTypeInfo getType() { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getTypeOrBuilder() { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } public static final int DIMENSIONS_FIELD_NUMBER = 3; private java.util.List dimensions_; /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ @java.lang.Override public java.util.List getDimensionsList() { return dimensions_; } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ @java.lang.Override public java.util.List getDimensionsOrBuilderList() { return dimensions_; } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ @java.lang.Override public int getDimensionsCount() { return dimensions_.size(); } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterDimensionInfo getDimensions(int index) { return dimensions_.get(index); } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterDimensionInfoOrBuilder getDimensionsOrBuilder( int index) { return dimensions_.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; if (hasType()) { if (!getType().isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getDimensionsCount(); i++) { if (!getDimensions(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.writeMessage(1, getType()); } for (int i = 0; i < dimensions_.size(); i++) { output.writeMessage(3, dimensions_.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 .computeMessageSize(1, getType()); } for (int i = 0; i < dimensions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, dimensions_.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.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 (!getDimensionsList() .equals(other.getDimensionsList())) 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 (getDimensionsCount() > 0) { hash = (37 * hash) + DIMENSIONS_FIELD_NUMBER; hash = (53 * hash) + getDimensionsList().hashCode(); } 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(); getDimensionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (typeBuilder_ == null) { type_ = null; } else { typeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (dimensionsBuilder_ == null) { dimensions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { dimensionsBuilder_.clear(); } 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 (dimensionsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); bitField0_ = (bitField0_ & ~0x00000002); } result.dimensions_ = dimensions_; } else { result.dimensions_ = dimensionsBuilder_.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.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 (dimensionsBuilder_ == null) { if (!other.dimensions_.isEmpty()) { if (dimensions_.isEmpty()) { dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDimensionsIsMutable(); dimensions_.addAll(other.dimensions_); } onChanged(); } } else { if (!other.dimensions_.isEmpty()) { if (dimensionsBuilder_.isEmpty()) { dimensionsBuilder_.dispose(); dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00000002); dimensionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDimensionsFieldBuilder() : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasType()) { if (!getType().isInitialized()) { return false; } } for (int i = 0; i < getDimensionsCount(); i++) { if (!getDimensions(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.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; * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 1; * @return The type. */ 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 java.util.List dimensions_ = java.util.Collections.emptyList(); private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { dimensions_ = new java.util.ArrayList(dimensions_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterDimensionInfo, org.yamcs.protobuf.Mdb.ParameterDimensionInfo.Builder, org.yamcs.protobuf.Mdb.ParameterDimensionInfoOrBuilder> dimensionsBuilder_; /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public java.util.List getDimensionsList() { if (dimensionsBuilder_ == null) { return java.util.Collections.unmodifiableList(dimensions_); } else { return dimensionsBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public int getDimensionsCount() { if (dimensionsBuilder_ == null) { return dimensions_.size(); } else { return dimensionsBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public org.yamcs.protobuf.Mdb.ParameterDimensionInfo getDimensions(int index) { if (dimensionsBuilder_ == null) { return dimensions_.get(index); } else { return dimensionsBuilder_.getMessage(index); } } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public Builder setDimensions( int index, org.yamcs.protobuf.Mdb.ParameterDimensionInfo value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDimensionsIsMutable(); dimensions_.set(index, value); onChanged(); } else { dimensionsBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public Builder setDimensions( int index, org.yamcs.protobuf.Mdb.ParameterDimensionInfo.Builder builderForValue) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); dimensions_.set(index, builderForValue.build()); onChanged(); } else { dimensionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public Builder addDimensions(org.yamcs.protobuf.Mdb.ParameterDimensionInfo value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDimensionsIsMutable(); dimensions_.add(value); onChanged(); } else { dimensionsBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public Builder addDimensions( int index, org.yamcs.protobuf.Mdb.ParameterDimensionInfo value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDimensionsIsMutable(); dimensions_.add(index, value); onChanged(); } else { dimensionsBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public Builder addDimensions( org.yamcs.protobuf.Mdb.ParameterDimensionInfo.Builder builderForValue) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); dimensions_.add(builderForValue.build()); onChanged(); } else { dimensionsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public Builder addDimensions( int index, org.yamcs.protobuf.Mdb.ParameterDimensionInfo.Builder builderForValue) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); dimensions_.add(index, builderForValue.build()); onChanged(); } else { dimensionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public Builder addAllDimensions( java.lang.Iterable values) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dimensions_); onChanged(); } else { dimensionsBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public Builder clearDimensions() { if (dimensionsBuilder_ == null) { dimensions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { dimensionsBuilder_.clear(); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public Builder removeDimensions(int index) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); dimensions_.remove(index); onChanged(); } else { dimensionsBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public org.yamcs.protobuf.Mdb.ParameterDimensionInfo.Builder getDimensionsBuilder( int index) { return getDimensionsFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public org.yamcs.protobuf.Mdb.ParameterDimensionInfoOrBuilder getDimensionsOrBuilder( int index) { if (dimensionsBuilder_ == null) { return dimensions_.get(index); } else { return dimensionsBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public java.util.List getDimensionsOrBuilderList() { if (dimensionsBuilder_ != null) { return dimensionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dimensions_); } } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public org.yamcs.protobuf.Mdb.ParameterDimensionInfo.Builder addDimensionsBuilder() { return getDimensionsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ParameterDimensionInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public org.yamcs.protobuf.Mdb.ParameterDimensionInfo.Builder addDimensionsBuilder( int index) { return getDimensionsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ParameterDimensionInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ParameterDimensionInfo dimensions = 3; */ public java.util.List getDimensionsBuilderList() { return getDimensionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterDimensionInfo, org.yamcs.protobuf.Mdb.ParameterDimensionInfo.Builder, org.yamcs.protobuf.Mdb.ParameterDimensionInfoOrBuilder> getDimensionsFieldBuilder() { if (dimensionsBuilder_ == null) { dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterDimensionInfo, org.yamcs.protobuf.Mdb.ParameterDimensionInfo.Builder, org.yamcs.protobuf.Mdb.ParameterDimensionInfoOrBuilder>( dimensions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); dimensions_ = null; } return dimensionsBuilder_; } @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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UsedByInfo(); } @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; */ @java.lang.Override public java.util.List getAlgorithmList() { return algorithm_; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ @java.lang.Override public java.util.List getAlgorithmOrBuilderList() { return algorithm_; } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ @java.lang.Override public int getAlgorithmCount() { return algorithm_.size(); } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm(int index) { return algorithm_.get(index); } /** * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 1; */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getContainerList() { return container_; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ @java.lang.Override public java.util.List getContainerOrBuilderList() { return container_; } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ @java.lang.Override public int getContainerCount() { return container_.size(); } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ContainerInfo getContainer(int index) { return container_.get(index); } /** * repeated .yamcs.protobuf.mdb.ContainerInfo container = 2; */ @java.lang.Override 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; * @return Whether the name field is set. */ boolean hasName(); /** * optional string name = 1; * @return The name. */ java.lang.String getName(); /** * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ boolean hasQualifiedName(); /** * optional string qualifiedName = 2; * @return The qualifiedName. */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 2; * @return The bytes for qualifiedName. */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ boolean hasShortDescription(); /** * optional string shortDescription = 3; * @return The shortDescription. */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; * @return The bytes for shortDescription. */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; * @return Whether the longDescription field is set. */ boolean hasLongDescription(); /** * optional string longDescription = 4; * @return The longDescription. */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; * @return The bytes for longDescription. */ 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; * @return Whether the type field is set. */ boolean hasType(); /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; * @return The type. */ 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; * @return Whether the dataSource field is set. */ boolean hasDataSource(); /** * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 7; * @return The dataSource. */ org.yamcs.protobuf.Mdb.DataSourceType getDataSource(); /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; * @return Whether the usedBy field is set. */ boolean hasUsedBy(); /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; * @return The usedBy. */ org.yamcs.protobuf.Mdb.UsedByInfo getUsedBy(); /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder getUsedByOrBuilder(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ int getAncillaryDataCount(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ boolean containsAncillaryData( java.lang.String key); /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Deprecated java.util.Map getAncillaryData(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ java.util.Map getAncillaryDataMap(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key); /** *
     * Operations that return aggregate members or array entries
     * may use this field to indicate the path within the parameter.   
     * 
* * repeated string path = 10; * @return A list containing the path. */ java.util.List getPathList(); /** *
     * Operations that return aggregate members or array entries
     * may use this field to indicate the path within the parameter.   
     * 
* * repeated string path = 10; * @return The count of path. */ int getPathCount(); /** *
     * Operations that return aggregate members or array entries
     * may use this field to indicate the path within the parameter.   
     * 
* * repeated string path = 10; * @param index The index of the element to return. * @return The path at the given index. */ java.lang.String getPath(int index); /** *
     * Operations that return aggregate members or array entries
     * may use this field to indicate the path within the parameter.   
     * 
* * repeated string path = 10; * @param index The index of the value to return. * @return The bytes of the path at the given index. */ com.google.protobuf.ByteString getPathBytes(int index); } /** * 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; path_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ParameterInfo(); } @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; } case 74: { if (!((mutable_bitField0_ & 0x00000100) != 0)) { ancillaryData_ = com.google.protobuf.MapField.newMapField( AncillaryDataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000100; } com.google.protobuf.MapEntry ancillaryData__ = input.readMessage( AncillaryDataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); ancillaryData_.getMutableMap().put( ancillaryData__.getKey(), ancillaryData__.getValue()); break; } case 82: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000200) != 0)) { path_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000200; } path_.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_ & 0x00000010) != 0)) { alias_ = java.util.Collections.unmodifiableList(alias_); } if (((mutable_bitField0_ & 0x00000200) != 0)) { path_ = path_.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_ParameterInfo_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 9: return internalGetAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @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; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 2; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ @java.lang.Override public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; * @return The qualifiedName. */ @java.lang.Override 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; * @return The bytes for qualifiedName. */ @java.lang.Override 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; * @return Whether the shortDescription field is set. */ @java.lang.Override public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ @java.lang.Override 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; * @return The bytes for shortDescription. */ @java.lang.Override 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; * @return Whether the longDescription field is set. */ @java.lang.Override public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ @java.lang.Override 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; * @return The bytes for longDescription. */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override 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; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; * @return The type. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterTypeInfo getType() { return type_ == null ? org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance() : type_; } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; */ @java.lang.Override 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; * @return Whether the dataSource field is set. */ @java.lang.Override public boolean hasDataSource() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 7; * @return The dataSource. */ @java.lang.Override 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; * @return Whether the usedBy field is set. */ @java.lang.Override public boolean hasUsedBy() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; * @return The usedBy. */ @java.lang.Override public org.yamcs.protobuf.Mdb.UsedByInfo getUsedBy() { return usedBy_ == null ? org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance() : usedBy_; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; */ @java.lang.Override public org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder getUsedByOrBuilder() { return usedBy_ == null ? org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance() : usedBy_; } public static final int ANCILLARYDATA_FIELD_NUMBER = 9; private static final class AncillaryDataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ParameterInfo_AncillaryDataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, org.yamcs.protobuf.Mdb.AncillaryDataInfo.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> ancillaryData_; private com.google.protobuf.MapField internalGetAncillaryData() { if (ancillaryData_ == null) { return com.google.protobuf.MapField.emptyMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } return ancillaryData_; } public int getAncillaryDataCount() { return internalGetAncillaryData().getMap().size(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ @java.lang.Override public boolean containsAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAncillaryData().getMap().containsKey(key); } /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAncillaryData() { return getAncillaryDataMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ @java.lang.Override public java.util.Map getAncillaryDataMap() { return internalGetAncillaryData().getMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int PATH_FIELD_NUMBER = 10; private com.google.protobuf.LazyStringList path_; /** *
     * Operations that return aggregate members or array entries
     * may use this field to indicate the path within the parameter.   
     * 
* * repeated string path = 10; * @return A list containing the path. */ public com.google.protobuf.ProtocolStringList getPathList() { return path_; } /** *
     * Operations that return aggregate members or array entries
     * may use this field to indicate the path within the parameter.   
     * 
* * repeated string path = 10; * @return The count of path. */ public int getPathCount() { return path_.size(); } /** *
     * Operations that return aggregate members or array entries
     * may use this field to indicate the path within the parameter.   
     * 
* * repeated string path = 10; * @param index The index of the element to return. * @return The path at the given index. */ public java.lang.String getPath(int index) { return path_.get(index); } /** *
     * Operations that return aggregate members or array entries
     * may use this field to indicate the path within the parameter.   
     * 
* * repeated string path = 10; * @param index The index of the value to return. * @return The bytes of the path at the given index. */ public com.google.protobuf.ByteString getPathBytes(int index) { return path_.getByteString(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 (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()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAncillaryData(), AncillaryDataDefaultEntryHolder.defaultEntry, 9); for (int i = 0; i < path_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, path_.getRaw(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, 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()); } for (java.util.Map.Entry entry : internalGetAncillaryData().getMap().entrySet()) { com.google.protobuf.MapEntry ancillaryData__ = AncillaryDataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, ancillaryData__); } { int dataSize = 0; for (int i = 0; i < path_.size(); i++) { dataSize += computeStringSizeNoTag(path_.getRaw(i)); } size += dataSize; size += 1 * getPathList().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.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 (!internalGetAncillaryData().equals( other.internalGetAncillaryData())) return false; if (!getPathList() .equals(other.getPathList())) 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(); } if (!internalGetAncillaryData().getMap().isEmpty()) { hash = (37 * hash) + ANCILLARYDATA_FIELD_NUMBER; hash = (53 * hash) + internalGetAncillaryData().hashCode(); } if (getPathCount() > 0) { hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPathList().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; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 9: return internalGetAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 9: return internalGetMutableAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @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); internalGetMutableAncillaryData().clear(); path_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000200); 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.ancillaryData_ = internalGetAncillaryData(); result.ancillaryData_.makeImmutable(); if (((bitField0_ & 0x00000200) != 0)) { path_ = path_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000200); } result.path_ = path_; 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()); } internalGetMutableAncillaryData().mergeFrom( other.internalGetAncillaryData()); if (!other.path_.isEmpty()) { if (path_.isEmpty()) { path_ = other.path_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensurePathIsMutable(); path_.addAll(other.path_); } 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; } } 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; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; * @return The qualifiedName. */ 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; * @return The bytes for qualifiedName. */ 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; * @param value The qualifiedName to set. * @return This builder for chaining. */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 2; * @return This builder for chaining. */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 2; * @param value The bytes for qualifiedName to set. * @return This builder for chaining. */ 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; * @return Whether the shortDescription field is set. */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ 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; * @return The bytes for shortDescription. */ 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; * @param value The shortDescription to set. * @return This builder for chaining. */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; * @return This builder for chaining. */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; * @param value The bytes for shortDescription to set. * @return This builder for chaining. */ 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; * @return Whether the longDescription field is set. */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ 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; * @return The bytes for longDescription. */ 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; * @param value The longDescription to set. * @return This builder for chaining. */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; * @return This builder for chaining. */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; * @param value The bytes for longDescription to set. * @return This builder for chaining. */ 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; * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterTypeInfo type = 6; * @return The type. */ 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; * @return Whether the dataSource field is set. */ @java.lang.Override public boolean hasDataSource() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 7; * @return The dataSource. */ @java.lang.Override 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; * @param value The dataSource to set. * @return This builder for chaining. */ 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; * @return This builder for chaining. */ 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; * @return Whether the usedBy field is set. */ public boolean hasUsedBy() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 8; * @return The usedBy. */ 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_; } private com.google.protobuf.MapField< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> ancillaryData_; private com.google.protobuf.MapField internalGetAncillaryData() { if (ancillaryData_ == null) { return com.google.protobuf.MapField.emptyMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } return ancillaryData_; } private com.google.protobuf.MapField internalGetMutableAncillaryData() { onChanged();; if (ancillaryData_ == null) { ancillaryData_ = com.google.protobuf.MapField.newMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } if (!ancillaryData_.isMutable()) { ancillaryData_ = ancillaryData_.copy(); } return ancillaryData_; } public int getAncillaryDataCount() { return internalGetAncillaryData().getMap().size(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ @java.lang.Override public boolean containsAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAncillaryData().getMap().containsKey(key); } /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAncillaryData() { return getAncillaryDataMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ @java.lang.Override public java.util.Map getAncillaryDataMap() { return internalGetAncillaryData().getMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAncillaryData() { internalGetMutableAncillaryData().getMutableMap() .clear(); return this; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ public Builder removeAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAncillaryData().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAncillaryData() { return internalGetMutableAncillaryData().getMutableMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ public Builder putAncillaryData( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAncillaryData().getMutableMap() .put(key, value); return this; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 9; */ public Builder putAllAncillaryData( java.util.Map values) { internalGetMutableAncillaryData().getMutableMap() .putAll(values); return this; } private com.google.protobuf.LazyStringList path_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePathIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { path_ = new com.google.protobuf.LazyStringArrayList(path_); bitField0_ |= 0x00000200; } } /** *
       * Operations that return aggregate members or array entries
       * may use this field to indicate the path within the parameter.   
       * 
* * repeated string path = 10; * @return A list containing the path. */ public com.google.protobuf.ProtocolStringList getPathList() { return path_.getUnmodifiableView(); } /** *
       * Operations that return aggregate members or array entries
       * may use this field to indicate the path within the parameter.   
       * 
* * repeated string path = 10; * @return The count of path. */ public int getPathCount() { return path_.size(); } /** *
       * Operations that return aggregate members or array entries
       * may use this field to indicate the path within the parameter.   
       * 
* * repeated string path = 10; * @param index The index of the element to return. * @return The path at the given index. */ public java.lang.String getPath(int index) { return path_.get(index); } /** *
       * Operations that return aggregate members or array entries
       * may use this field to indicate the path within the parameter.   
       * 
* * repeated string path = 10; * @param index The index of the value to return. * @return The bytes of the path at the given index. */ public com.google.protobuf.ByteString getPathBytes(int index) { return path_.getByteString(index); } /** *
       * Operations that return aggregate members or array entries
       * may use this field to indicate the path within the parameter.   
       * 
* * repeated string path = 10; * @param index The index to set the value at. * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePathIsMutable(); path_.set(index, value); onChanged(); return this; } /** *
       * Operations that return aggregate members or array entries
       * may use this field to indicate the path within the parameter.   
       * 
* * repeated string path = 10; * @param value The path to add. * @return This builder for chaining. */ public Builder addPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePathIsMutable(); path_.add(value); onChanged(); return this; } /** *
       * Operations that return aggregate members or array entries
       * may use this field to indicate the path within the parameter.   
       * 
* * repeated string path = 10; * @param values The path to add. * @return This builder for chaining. */ public Builder addAllPath( java.lang.Iterable values) { ensurePathIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, path_); onChanged(); return this; } /** *
       * Operations that return aggregate members or array entries
       * may use this field to indicate the path within the parameter.   
       * 
* * repeated string path = 10; * @return This builder for chaining. */ public Builder clearPath() { path_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } /** *
       * Operations that return aggregate members or array entries
       * may use this field to indicate the path within the parameter.   
       * 
* * repeated string path = 10; * @param value The bytes of the path to add. * @return This builder for chaining. */ public Builder addPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePathIsMutable(); path_.add(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.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 AncillaryDataInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.AncillaryDataInfo) com.google.protobuf.MessageOrBuilder { /** * optional string value = 1; * @return Whether the value field is set. */ boolean hasValue(); /** * optional string value = 1; * @return The value. */ java.lang.String getValue(); /** * optional string value = 1; * @return The bytes for value. */ com.google.protobuf.ByteString getValueBytes(); /** * optional string mimeType = 2; * @return Whether the mimeType field is set. */ boolean hasMimeType(); /** * optional string mimeType = 2; * @return The mimeType. */ java.lang.String getMimeType(); /** * optional string mimeType = 2; * @return The bytes for mimeType. */ com.google.protobuf.ByteString getMimeTypeBytes(); /** * optional string href = 3; * @return Whether the href field is set. */ boolean hasHref(); /** * optional string href = 3; * @return The href. */ java.lang.String getHref(); /** * optional string href = 3; * @return The bytes for href. */ com.google.protobuf.ByteString getHrefBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.AncillaryDataInfo} */ public static final class AncillaryDataInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.AncillaryDataInfo) AncillaryDataInfoOrBuilder { private static final long serialVersionUID = 0L; // Use AncillaryDataInfo.newBuilder() to construct. private AncillaryDataInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AncillaryDataInfo() { value_ = ""; mimeType_ = ""; href_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AncillaryDataInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AncillaryDataInfo( 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; value_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; mimeType_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; href_ = 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_AncillaryDataInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AncillaryDataInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.AncillaryDataInfo.class, org.yamcs.protobuf.Mdb.AncillaryDataInfo.Builder.class); } private int bitField0_; public static final int VALUE_FIELD_NUMBER = 1; private volatile java.lang.Object value_; /** * optional string value = 1; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string value = 1; * @return The value. */ @java.lang.Override 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 = 1; * @return The bytes for value. */ @java.lang.Override 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; } } public static final int MIMETYPE_FIELD_NUMBER = 2; private volatile java.lang.Object mimeType_; /** * optional string mimeType = 2; * @return Whether the mimeType field is set. */ @java.lang.Override public boolean hasMimeType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string mimeType = 2; * @return The mimeType. */ @java.lang.Override public java.lang.String getMimeType() { java.lang.Object ref = mimeType_; 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()) { mimeType_ = s; } return s; } } /** * optional string mimeType = 2; * @return The bytes for mimeType. */ @java.lang.Override public com.google.protobuf.ByteString getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mimeType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HREF_FIELD_NUMBER = 3; private volatile java.lang.Object href_; /** * optional string href = 3; * @return Whether the href field is set. */ @java.lang.Override public boolean hasHref() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string href = 3; * @return The href. */ @java.lang.Override public java.lang.String getHref() { java.lang.Object ref = href_; 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()) { href_ = s; } return s; } } /** * optional string href = 3; * @return The bytes for href. */ @java.lang.Override public com.google.protobuf.ByteString getHrefBytes() { java.lang.Object ref = href_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); href_ = 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, value_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, mimeType_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, href_); } 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, value_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, mimeType_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, href_); } 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.AncillaryDataInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.AncillaryDataInfo other = (org.yamcs.protobuf.Mdb.AncillaryDataInfo) obj; if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (!getValue() .equals(other.getValue())) return false; } if (hasMimeType() != other.hasMimeType()) return false; if (hasMimeType()) { if (!getMimeType() .equals(other.getMimeType())) return false; } if (hasHref() != other.hasHref()) return false; if (hasHref()) { if (!getHref() .equals(other.getHref())) 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) + getValue().hashCode(); } if (hasMimeType()) { hash = (37 * hash) + MIMETYPE_FIELD_NUMBER; hash = (53 * hash) + getMimeType().hashCode(); } if (hasHref()) { hash = (37 * hash) + HREF_FIELD_NUMBER; hash = (53 * hash) + getHref().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.AncillaryDataInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AncillaryDataInfo 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.AncillaryDataInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AncillaryDataInfo 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.AncillaryDataInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.AncillaryDataInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.AncillaryDataInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AncillaryDataInfo 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.AncillaryDataInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AncillaryDataInfo 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.AncillaryDataInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.AncillaryDataInfo 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.AncillaryDataInfo 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.AncillaryDataInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.AncillaryDataInfo) org.yamcs.protobuf.Mdb.AncillaryDataInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AncillaryDataInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_AncillaryDataInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.AncillaryDataInfo.class, org.yamcs.protobuf.Mdb.AncillaryDataInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.AncillaryDataInfo.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_ = ""; bitField0_ = (bitField0_ & ~0x00000001); mimeType_ = ""; bitField0_ = (bitField0_ & ~0x00000002); href_ = ""; 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_AncillaryDataInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.AncillaryDataInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo build() { org.yamcs.protobuf.Mdb.AncillaryDataInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo buildPartial() { org.yamcs.protobuf.Mdb.AncillaryDataInfo result = new org.yamcs.protobuf.Mdb.AncillaryDataInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.value_ = value_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.mimeType_ = mimeType_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.href_ = href_; 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.AncillaryDataInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.AncillaryDataInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.AncillaryDataInfo other) { if (other == org.yamcs.protobuf.Mdb.AncillaryDataInfo.getDefaultInstance()) return this; if (other.hasValue()) { bitField0_ |= 0x00000001; value_ = other.value_; onChanged(); } if (other.hasMimeType()) { bitField0_ |= 0x00000002; mimeType_ = other.mimeType_; onChanged(); } if (other.hasHref()) { bitField0_ |= 0x00000004; href_ = other.href_; 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.AncillaryDataInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.AncillaryDataInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object value_ = ""; /** * optional string value = 1; * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string value = 1; * @return The value. */ 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 = 1; * @return The bytes for value. */ 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 = 1; * @param value The value to set. * @return This builder for chaining. */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; value_ = value; onChanged(); return this; } /** * optional string value = 1; * @return This builder for chaining. */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000001); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** * optional string value = 1; * @param value The bytes for value to set. * @return This builder for chaining. */ public Builder setValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; value_ = value; onChanged(); return this; } private java.lang.Object mimeType_ = ""; /** * optional string mimeType = 2; * @return Whether the mimeType field is set. */ public boolean hasMimeType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string mimeType = 2; * @return The mimeType. */ public java.lang.String getMimeType() { java.lang.Object ref = mimeType_; 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()) { mimeType_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string mimeType = 2; * @return The bytes for mimeType. */ public com.google.protobuf.ByteString getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mimeType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string mimeType = 2; * @param value The mimeType to set. * @return This builder for chaining. */ public Builder setMimeType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; mimeType_ = value; onChanged(); return this; } /** * optional string mimeType = 2; * @return This builder for chaining. */ public Builder clearMimeType() { bitField0_ = (bitField0_ & ~0x00000002); mimeType_ = getDefaultInstance().getMimeType(); onChanged(); return this; } /** * optional string mimeType = 2; * @param value The bytes for mimeType to set. * @return This builder for chaining. */ public Builder setMimeTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; mimeType_ = value; onChanged(); return this; } private java.lang.Object href_ = ""; /** * optional string href = 3; * @return Whether the href field is set. */ public boolean hasHref() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string href = 3; * @return The href. */ public java.lang.String getHref() { java.lang.Object ref = href_; 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()) { href_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string href = 3; * @return The bytes for href. */ public com.google.protobuf.ByteString getHrefBytes() { java.lang.Object ref = href_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); href_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string href = 3; * @param value The href to set. * @return This builder for chaining. */ public Builder setHref( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; href_ = value; onChanged(); return this; } /** * optional string href = 3; * @return This builder for chaining. */ public Builder clearHref() { bitField0_ = (bitField0_ & ~0x00000004); href_ = getDefaultInstance().getHref(); onChanged(); return this; } /** * optional string href = 3; * @param value The bytes for href to set. * @return This builder for chaining. */ public Builder setHrefBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; href_ = 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.AncillaryDataInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.AncillaryDataInfo) private static final org.yamcs.protobuf.Mdb.AncillaryDataInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.AncillaryDataInfo(); } public static org.yamcs.protobuf.Mdb.AncillaryDataInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AncillaryDataInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AncillaryDataInfo(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.AncillaryDataInfo 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; * @return Whether the engType field is set. */ boolean hasEngType(); /** * optional string engType = 1; * @return The engType. */ java.lang.String getEngType(); /** * optional string engType = 1; * @return The bytes for engType. */ com.google.protobuf.ByteString getEngTypeBytes(); /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; * @return Whether the dataEncoding field is set. */ boolean hasDataEncoding(); /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; * @return The dataEncoding. */ 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); /** *
     * Enumeration states (only used by enumerated arguments)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ java.util.List getEnumValueList(); /** *
     * Enumeration states (only used by enumerated arguments)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ org.yamcs.protobuf.Mdb.EnumValue getEnumValue(int index); /** *
     * Enumeration states (only used by enumerated arguments)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ int getEnumValueCount(); /** *
     * Enumeration states (only used by enumerated arguments)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ java.util.List getEnumValueOrBuilderList(); /** *
     * Enumeration states (only used by enumerated arguments)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ org.yamcs.protobuf.Mdb.EnumValueOrBuilder getEnumValueOrBuilder( int index); /** *
     * Minimum value (only used by integer and float arguments)
     * 
* * optional double rangeMin = 6; * @return Whether the rangeMin field is set. */ boolean hasRangeMin(); /** *
     * Minimum value (only used by integer and float arguments)
     * 
* * optional double rangeMin = 6; * @return The rangeMin. */ double getRangeMin(); /** *
     * Maximum value (only used by integer and float arguments)
     * 
* * optional double rangeMax = 7; * @return Whether the rangeMax field is set. */ boolean hasRangeMax(); /** *
     * Maximum value (only used by integer and float arguments)
     * 
* * optional double rangeMax = 7; * @return The rangeMax. */ double getRangeMax(); /** *
     * Member information (only used by aggregate arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ java.util.List getMemberList(); /** *
     * Member information (only used by aggregate arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ org.yamcs.protobuf.Mdb.ArgumentMemberInfo getMember(int index); /** *
     * Member information (only used by aggregate arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ int getMemberCount(); /** *
     * Member information (only used by aggregate arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ java.util.List getMemberOrBuilderList(); /** *
     * Member information (only used by aggregate arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ org.yamcs.protobuf.Mdb.ArgumentMemberInfoOrBuilder getMemberOrBuilder( int index); /** *
     * String representation of a boolean zero (only used by boolean arguments)
     * 
* * optional string zeroStringValue = 9; * @return Whether the zeroStringValue field is set. */ boolean hasZeroStringValue(); /** *
     * String representation of a boolean zero (only used by boolean arguments)
     * 
* * optional string zeroStringValue = 9; * @return The zeroStringValue. */ java.lang.String getZeroStringValue(); /** *
     * String representation of a boolean zero (only used by boolean arguments)
     * 
* * optional string zeroStringValue = 9; * @return The bytes for zeroStringValue. */ com.google.protobuf.ByteString getZeroStringValueBytes(); /** *
     * String representation of a boolean one (only used by boolean arguments)
     * 
* * optional string oneStringValue = 10; * @return Whether the oneStringValue field is set. */ boolean hasOneStringValue(); /** *
     * String representation of a boolean one (only used by boolean arguments)
     * 
* * optional string oneStringValue = 10; * @return The oneStringValue. */ java.lang.String getOneStringValue(); /** *
     * String representation of a boolean one (only used by boolean arguments)
     * 
* * optional string oneStringValue = 10; * @return The bytes for oneStringValue. */ com.google.protobuf.ByteString getOneStringValueBytes(); /** *
     * Minimum character count (only used by string arguments)
     * 
* * optional int32 minChars = 11; * @return Whether the minChars field is set. */ boolean hasMinChars(); /** *
     * Minimum character count (only used by string arguments)
     * 
* * optional int32 minChars = 11; * @return The minChars. */ int getMinChars(); /** *
     * Maximum character count (only used by string arguments)
     * 
* * optional int32 maxChars = 12; * @return Whether the maxChars field is set. */ boolean hasMaxChars(); /** *
     * Maximum character count (only used by string arguments)
     * 
* * optional int32 maxChars = 12; * @return The maxChars. */ int getMaxChars(); /** *
     * True if the engineering type supports signed representation.
     * (only used by integer arguments)
     * 
* * optional bool signed = 13; * @return Whether the signed field is set. */ boolean hasSigned(); /** *
     * True if the engineering type supports signed representation.
     * (only used by integer arguments)
     * 
* * optional bool signed = 13; * @return The signed. */ boolean getSigned(); /** *
     * Minimum byte count (only used by binary arguments)
     * 
* * optional int32 minBytes = 14; * @return Whether the minBytes field is set. */ boolean hasMinBytes(); /** *
     * Minimum byte count (only used by binary arguments)
     * 
* * optional int32 minBytes = 14; * @return The minBytes. */ int getMinBytes(); /** *
     * Maximum character count (only used by binary arguments)
     * 
* * optional int32 maxBytes = 15; * @return Whether the maxBytes field is set. */ boolean hasMaxBytes(); /** *
     * Maximum character count (only used by binary arguments)
     * 
* * optional int32 maxBytes = 15; * @return The maxBytes. */ int getMaxBytes(); /** *
     * Length of each dimension (only used by array arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ java.util.List getDimensionsList(); /** *
     * Length of each dimension (only used by array arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ org.yamcs.protobuf.Mdb.ArgumentDimensionInfo getDimensions(int index); /** *
     * Length of each dimension (only used by array arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ int getDimensionsCount(); /** *
     * Length of each dimension (only used by array arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ java.util.List getDimensionsOrBuilderList(); /** *
     * Length of each dimension (only used by array arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ org.yamcs.protobuf.Mdb.ArgumentDimensionInfoOrBuilder getDimensionsOrBuilder( int index); /** *
     * Type of array entries (only used by array arguments)
     * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; * @return Whether the elementType field is set. */ boolean hasElementType(); /** *
     * Type of array entries (only used by array arguments)
     * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; * @return The elementType. */ org.yamcs.protobuf.Mdb.ArgumentTypeInfo getElementType(); /** *
     * Type of array entries (only used by array arguments)
     * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; */ org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder getElementTypeOrBuilder(); /** *
     * Name of the parameter type
     * 
* * optional string name = 18; * @return Whether the name field is set. */ boolean hasName(); /** *
     * Name of the parameter type
     * 
* * optional string name = 18; * @return The name. */ java.lang.String getName(); /** *
     * Name of the parameter type
     * 
* * optional string name = 18; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } /** * 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(); member_ = java.util.Collections.emptyList(); zeroStringValue_ = ""; oneStringValue_ = ""; dimensions_ = java.util.Collections.emptyList(); name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ArgumentTypeInfo(); } @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; } case 66: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { member_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } member_.add( input.readMessage(org.yamcs.protobuf.Mdb.ArgumentMemberInfo.PARSER, extensionRegistry)); break; } case 74: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; zeroStringValue_ = bs; break; } case 82: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; oneStringValue_ = bs; break; } case 88: { bitField0_ |= 0x00000040; minChars_ = input.readInt32(); break; } case 96: { bitField0_ |= 0x00000080; maxChars_ = input.readInt32(); break; } case 104: { bitField0_ |= 0x00000100; signed_ = input.readBool(); break; } case 112: { bitField0_ |= 0x00000200; minBytes_ = input.readInt32(); break; } case 120: { bitField0_ |= 0x00000400; maxBytes_ = input.readInt32(); break; } case 130: { if (!((mutable_bitField0_ & 0x00004000) != 0)) { dimensions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00004000; } dimensions_.add( input.readMessage(org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.PARSER, extensionRegistry)); break; } case 138: { org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000800) != 0)) { subBuilder = elementType_.toBuilder(); } elementType_ = input.readMessage(org.yamcs.protobuf.Mdb.ArgumentTypeInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(elementType_); elementType_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000800; break; } case 146: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00001000; 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 { if (((mutable_bitField0_ & 0x00000004) != 0)) { unitSet_ = java.util.Collections.unmodifiableList(unitSet_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { enumValue_ = java.util.Collections.unmodifiableList(enumValue_); } if (((mutable_bitField0_ & 0x00000040) != 0)) { member_ = java.util.Collections.unmodifiableList(member_); } if (((mutable_bitField0_ & 0x00004000) != 0)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); } 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; * @return Whether the engType field is set. */ @java.lang.Override public boolean hasEngType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string engType = 1; * @return The engType. */ @java.lang.Override 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; * @return The bytes for engType. */ @java.lang.Override 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; * @return Whether the dataEncoding field is set. */ @java.lang.Override public boolean hasDataEncoding() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; * @return The dataEncoding. */ @java.lang.Override public org.yamcs.protobuf.Mdb.DataEncodingInfo getDataEncoding() { return dataEncoding_ == null ? org.yamcs.protobuf.Mdb.DataEncodingInfo.getDefaultInstance() : dataEncoding_; } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getUnitSetList() { return unitSet_; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ @java.lang.Override public java.util.List getUnitSetOrBuilderList() { return unitSet_; } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ @java.lang.Override public int getUnitSetCount() { return unitSet_.size(); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ @java.lang.Override public org.yamcs.protobuf.Mdb.UnitInfo getUnitSet(int index) { return unitSet_.get(index); } /** * repeated .yamcs.protobuf.mdb.UnitInfo unitSet = 3; */ @java.lang.Override 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_; /** *
     * Enumeration states (only used by enumerated arguments)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ @java.lang.Override public java.util.List getEnumValueList() { return enumValue_; } /** *
     * Enumeration states (only used by enumerated arguments)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ @java.lang.Override public java.util.List getEnumValueOrBuilderList() { return enumValue_; } /** *
     * Enumeration states (only used by enumerated arguments)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ @java.lang.Override public int getEnumValueCount() { return enumValue_.size(); } /** *
     * Enumeration states (only used by enumerated arguments)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.EnumValue getEnumValue(int index) { return enumValue_.get(index); } /** *
     * Enumeration states (only used by enumerated arguments)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.EnumValueOrBuilder getEnumValueOrBuilder( int index) { return enumValue_.get(index); } public static final int RANGEMIN_FIELD_NUMBER = 6; private double rangeMin_; /** *
     * Minimum value (only used by integer and float arguments)
     * 
* * optional double rangeMin = 6; * @return Whether the rangeMin field is set. */ @java.lang.Override public boolean hasRangeMin() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Minimum value (only used by integer and float arguments)
     * 
* * optional double rangeMin = 6; * @return The rangeMin. */ @java.lang.Override public double getRangeMin() { return rangeMin_; } public static final int RANGEMAX_FIELD_NUMBER = 7; private double rangeMax_; /** *
     * Maximum value (only used by integer and float arguments)
     * 
* * optional double rangeMax = 7; * @return Whether the rangeMax field is set. */ @java.lang.Override public boolean hasRangeMax() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Maximum value (only used by integer and float arguments)
     * 
* * optional double rangeMax = 7; * @return The rangeMax. */ @java.lang.Override public double getRangeMax() { return rangeMax_; } public static final int MEMBER_FIELD_NUMBER = 8; private java.util.List member_; /** *
     * Member information (only used by aggregate arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ @java.lang.Override public java.util.List getMemberList() { return member_; } /** *
     * Member information (only used by aggregate arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ @java.lang.Override public java.util.List getMemberOrBuilderList() { return member_; } /** *
     * Member information (only used by aggregate arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ @java.lang.Override public int getMemberCount() { return member_.size(); } /** *
     * Member information (only used by aggregate arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentMemberInfo getMember(int index) { return member_.get(index); } /** *
     * Member information (only used by aggregate arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentMemberInfoOrBuilder getMemberOrBuilder( int index) { return member_.get(index); } public static final int ZEROSTRINGVALUE_FIELD_NUMBER = 9; private volatile java.lang.Object zeroStringValue_; /** *
     * String representation of a boolean zero (only used by boolean arguments)
     * 
* * optional string zeroStringValue = 9; * @return Whether the zeroStringValue field is set. */ @java.lang.Override public boolean hasZeroStringValue() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * String representation of a boolean zero (only used by boolean arguments)
     * 
* * optional string zeroStringValue = 9; * @return The zeroStringValue. */ @java.lang.Override public java.lang.String getZeroStringValue() { java.lang.Object ref = zeroStringValue_; 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()) { zeroStringValue_ = s; } return s; } } /** *
     * String representation of a boolean zero (only used by boolean arguments)
     * 
* * optional string zeroStringValue = 9; * @return The bytes for zeroStringValue. */ @java.lang.Override public com.google.protobuf.ByteString getZeroStringValueBytes() { java.lang.Object ref = zeroStringValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); zeroStringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ONESTRINGVALUE_FIELD_NUMBER = 10; private volatile java.lang.Object oneStringValue_; /** *
     * String representation of a boolean one (only used by boolean arguments)
     * 
* * optional string oneStringValue = 10; * @return Whether the oneStringValue field is set. */ @java.lang.Override public boolean hasOneStringValue() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * String representation of a boolean one (only used by boolean arguments)
     * 
* * optional string oneStringValue = 10; * @return The oneStringValue. */ @java.lang.Override public java.lang.String getOneStringValue() { java.lang.Object ref = oneStringValue_; 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()) { oneStringValue_ = s; } return s; } } /** *
     * String representation of a boolean one (only used by boolean arguments)
     * 
* * optional string oneStringValue = 10; * @return The bytes for oneStringValue. */ @java.lang.Override public com.google.protobuf.ByteString getOneStringValueBytes() { java.lang.Object ref = oneStringValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); oneStringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MINCHARS_FIELD_NUMBER = 11; private int minChars_; /** *
     * Minimum character count (only used by string arguments)
     * 
* * optional int32 minChars = 11; * @return Whether the minChars field is set. */ @java.lang.Override public boolean hasMinChars() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Minimum character count (only used by string arguments)
     * 
* * optional int32 minChars = 11; * @return The minChars. */ @java.lang.Override public int getMinChars() { return minChars_; } public static final int MAXCHARS_FIELD_NUMBER = 12; private int maxChars_; /** *
     * Maximum character count (only used by string arguments)
     * 
* * optional int32 maxChars = 12; * @return Whether the maxChars field is set. */ @java.lang.Override public boolean hasMaxChars() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Maximum character count (only used by string arguments)
     * 
* * optional int32 maxChars = 12; * @return The maxChars. */ @java.lang.Override public int getMaxChars() { return maxChars_; } public static final int SIGNED_FIELD_NUMBER = 13; private boolean signed_; /** *
     * True if the engineering type supports signed representation.
     * (only used by integer arguments)
     * 
* * optional bool signed = 13; * @return Whether the signed field is set. */ @java.lang.Override public boolean hasSigned() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * True if the engineering type supports signed representation.
     * (only used by integer arguments)
     * 
* * optional bool signed = 13; * @return The signed. */ @java.lang.Override public boolean getSigned() { return signed_; } public static final int MINBYTES_FIELD_NUMBER = 14; private int minBytes_; /** *
     * Minimum byte count (only used by binary arguments)
     * 
* * optional int32 minBytes = 14; * @return Whether the minBytes field is set. */ @java.lang.Override public boolean hasMinBytes() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * Minimum byte count (only used by binary arguments)
     * 
* * optional int32 minBytes = 14; * @return The minBytes. */ @java.lang.Override public int getMinBytes() { return minBytes_; } public static final int MAXBYTES_FIELD_NUMBER = 15; private int maxBytes_; /** *
     * Maximum character count (only used by binary arguments)
     * 
* * optional int32 maxBytes = 15; * @return Whether the maxBytes field is set. */ @java.lang.Override public boolean hasMaxBytes() { return ((bitField0_ & 0x00000400) != 0); } /** *
     * Maximum character count (only used by binary arguments)
     * 
* * optional int32 maxBytes = 15; * @return The maxBytes. */ @java.lang.Override public int getMaxBytes() { return maxBytes_; } public static final int DIMENSIONS_FIELD_NUMBER = 16; private java.util.List dimensions_; /** *
     * Length of each dimension (only used by array arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ @java.lang.Override public java.util.List getDimensionsList() { return dimensions_; } /** *
     * Length of each dimension (only used by array arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ @java.lang.Override public java.util.List getDimensionsOrBuilderList() { return dimensions_; } /** *
     * Length of each dimension (only used by array arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ @java.lang.Override public int getDimensionsCount() { return dimensions_.size(); } /** *
     * Length of each dimension (only used by array arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentDimensionInfo getDimensions(int index) { return dimensions_.get(index); } /** *
     * Length of each dimension (only used by array arguments)
     * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentDimensionInfoOrBuilder getDimensionsOrBuilder( int index) { return dimensions_.get(index); } public static final int ELEMENTTYPE_FIELD_NUMBER = 17; private org.yamcs.protobuf.Mdb.ArgumentTypeInfo elementType_; /** *
     * Type of array entries (only used by array arguments)
     * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; * @return Whether the elementType field is set. */ @java.lang.Override public boolean hasElementType() { return ((bitField0_ & 0x00000800) != 0); } /** *
     * Type of array entries (only used by array arguments)
     * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; * @return The elementType. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentTypeInfo getElementType() { return elementType_ == null ? org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance() : elementType_; } /** *
     * Type of array entries (only used by array arguments)
     * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder getElementTypeOrBuilder() { return elementType_ == null ? org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance() : elementType_; } public static final int NAME_FIELD_NUMBER = 18; private volatile java.lang.Object name_; /** *
     * Name of the parameter type
     * 
* * optional string name = 18; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00001000) != 0); } /** *
     * Name of the parameter type
     * 
* * optional string name = 18; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * Name of the parameter type
     * 
* * optional string name = 18; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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; } } for (int i = 0; i < getMemberCount(); i++) { if (!getMember(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getDimensionsCount(); i++) { if (!getDimensions(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasElementType()) { if (!getElementType().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_); } for (int i = 0; i < member_.size(); i++) { output.writeMessage(8, member_.get(i)); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, zeroStringValue_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, oneStringValue_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeInt32(11, minChars_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeInt32(12, maxChars_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeBool(13, signed_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeInt32(14, minBytes_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeInt32(15, maxBytes_); } for (int i = 0; i < dimensions_.size(); i++) { output.writeMessage(16, dimensions_.get(i)); } if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(17, getElementType()); } if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, 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, 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_); } 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.GeneratedMessageV3.computeStringSize(9, zeroStringValue_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, oneStringValue_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(11, minChars_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(12, maxChars_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, signed_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(14, minBytes_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(15, maxBytes_); } for (int i = 0; i < dimensions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, dimensions_.get(i)); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getElementType()); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, 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.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 (!getMemberList() .equals(other.getMemberList())) return false; if (hasZeroStringValue() != other.hasZeroStringValue()) return false; if (hasZeroStringValue()) { if (!getZeroStringValue() .equals(other.getZeroStringValue())) return false; } if (hasOneStringValue() != other.hasOneStringValue()) return false; if (hasOneStringValue()) { if (!getOneStringValue() .equals(other.getOneStringValue())) return false; } if (hasMinChars() != other.hasMinChars()) return false; if (hasMinChars()) { if (getMinChars() != other.getMinChars()) return false; } if (hasMaxChars() != other.hasMaxChars()) return false; if (hasMaxChars()) { if (getMaxChars() != other.getMaxChars()) return false; } if (hasSigned() != other.hasSigned()) return false; if (hasSigned()) { if (getSigned() != other.getSigned()) return false; } if (hasMinBytes() != other.hasMinBytes()) return false; if (hasMinBytes()) { if (getMinBytes() != other.getMinBytes()) return false; } if (hasMaxBytes() != other.hasMaxBytes()) return false; if (hasMaxBytes()) { if (getMaxBytes() != other.getMaxBytes()) return false; } if (!getDimensionsList() .equals(other.getDimensionsList())) return false; if (hasElementType() != other.hasElementType()) return false; if (hasElementType()) { if (!getElementType() .equals(other.getElementType())) 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 (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())); } if (getMemberCount() > 0) { hash = (37 * hash) + MEMBER_FIELD_NUMBER; hash = (53 * hash) + getMemberList().hashCode(); } if (hasZeroStringValue()) { hash = (37 * hash) + ZEROSTRINGVALUE_FIELD_NUMBER; hash = (53 * hash) + getZeroStringValue().hashCode(); } if (hasOneStringValue()) { hash = (37 * hash) + ONESTRINGVALUE_FIELD_NUMBER; hash = (53 * hash) + getOneStringValue().hashCode(); } if (hasMinChars()) { hash = (37 * hash) + MINCHARS_FIELD_NUMBER; hash = (53 * hash) + getMinChars(); } if (hasMaxChars()) { hash = (37 * hash) + MAXCHARS_FIELD_NUMBER; hash = (53 * hash) + getMaxChars(); } if (hasSigned()) { hash = (37 * hash) + SIGNED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSigned()); } if (hasMinBytes()) { hash = (37 * hash) + MINBYTES_FIELD_NUMBER; hash = (53 * hash) + getMinBytes(); } if (hasMaxBytes()) { hash = (37 * hash) + MAXBYTES_FIELD_NUMBER; hash = (53 * hash) + getMaxBytes(); } if (getDimensionsCount() > 0) { hash = (37 * hash) + DIMENSIONS_FIELD_NUMBER; hash = (53 * hash) + getDimensionsList().hashCode(); } if (hasElementType()) { hash = (37 * hash) + ELEMENTTYPE_FIELD_NUMBER; hash = (53 * hash) + getElementType().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.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(); getMemberFieldBuilder(); getDimensionsFieldBuilder(); getElementTypeFieldBuilder(); } } @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); if (memberBuilder_ == null) { member_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { memberBuilder_.clear(); } zeroStringValue_ = ""; bitField0_ = (bitField0_ & ~0x00000080); oneStringValue_ = ""; bitField0_ = (bitField0_ & ~0x00000100); minChars_ = 0; bitField0_ = (bitField0_ & ~0x00000200); maxChars_ = 0; bitField0_ = (bitField0_ & ~0x00000400); signed_ = false; bitField0_ = (bitField0_ & ~0x00000800); minBytes_ = 0; bitField0_ = (bitField0_ & ~0x00001000); maxBytes_ = 0; bitField0_ = (bitField0_ & ~0x00002000); if (dimensionsBuilder_ == null) { dimensions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); } else { dimensionsBuilder_.clear(); } if (elementTypeBuilder_ == null) { elementType_ = null; } else { elementTypeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00008000); name_ = ""; bitField0_ = (bitField0_ & ~0x00010000); 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; } if (memberBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { member_ = java.util.Collections.unmodifiableList(member_); bitField0_ = (bitField0_ & ~0x00000040); } result.member_ = member_; } else { result.member_ = memberBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000010; } result.zeroStringValue_ = zeroStringValue_; if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000020; } result.oneStringValue_ = oneStringValue_; if (((from_bitField0_ & 0x00000200) != 0)) { result.minChars_ = minChars_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000400) != 0)) { result.maxChars_ = maxChars_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000800) != 0)) { result.signed_ = signed_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00001000) != 0)) { result.minBytes_ = minBytes_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00002000) != 0)) { result.maxBytes_ = maxBytes_; to_bitField0_ |= 0x00000400; } if (dimensionsBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); bitField0_ = (bitField0_ & ~0x00004000); } result.dimensions_ = dimensions_; } else { result.dimensions_ = dimensionsBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { if (elementTypeBuilder_ == null) { result.elementType_ = elementType_; } else { result.elementType_ = elementTypeBuilder_.build(); } to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00010000) != 0)) { to_bitField0_ |= 0x00001000; } 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.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()); } if (memberBuilder_ == null) { if (!other.member_.isEmpty()) { if (member_.isEmpty()) { member_ = other.member_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureMemberIsMutable(); member_.addAll(other.member_); } onChanged(); } } else { if (!other.member_.isEmpty()) { if (memberBuilder_.isEmpty()) { memberBuilder_.dispose(); memberBuilder_ = null; member_ = other.member_; bitField0_ = (bitField0_ & ~0x00000040); memberBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMemberFieldBuilder() : null; } else { memberBuilder_.addAllMessages(other.member_); } } } if (other.hasZeroStringValue()) { bitField0_ |= 0x00000080; zeroStringValue_ = other.zeroStringValue_; onChanged(); } if (other.hasOneStringValue()) { bitField0_ |= 0x00000100; oneStringValue_ = other.oneStringValue_; onChanged(); } if (other.hasMinChars()) { setMinChars(other.getMinChars()); } if (other.hasMaxChars()) { setMaxChars(other.getMaxChars()); } if (other.hasSigned()) { setSigned(other.getSigned()); } if (other.hasMinBytes()) { setMinBytes(other.getMinBytes()); } if (other.hasMaxBytes()) { setMaxBytes(other.getMaxBytes()); } if (dimensionsBuilder_ == null) { if (!other.dimensions_.isEmpty()) { if (dimensions_.isEmpty()) { dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00004000); } else { ensureDimensionsIsMutable(); dimensions_.addAll(other.dimensions_); } onChanged(); } } else { if (!other.dimensions_.isEmpty()) { if (dimensionsBuilder_.isEmpty()) { dimensionsBuilder_.dispose(); dimensionsBuilder_ = null; dimensions_ = other.dimensions_; bitField0_ = (bitField0_ & ~0x00004000); dimensionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDimensionsFieldBuilder() : null; } else { dimensionsBuilder_.addAllMessages(other.dimensions_); } } } if (other.hasElementType()) { mergeElementType(other.getElementType()); } if (other.hasName()) { bitField0_ |= 0x00010000; name_ = other.name_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasDataEncoding()) { if (!getDataEncoding().isInitialized()) { return false; } } for (int i = 0; i < getMemberCount(); i++) { if (!getMember(i).isInitialized()) { return false; } } for (int i = 0; i < getDimensionsCount(); i++) { if (!getDimensions(i).isInitialized()) { return false; } } if (hasElementType()) { if (!getElementType().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; * @return Whether the engType field is set. */ public boolean hasEngType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string engType = 1; * @return The engType. */ 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; * @return The bytes for engType. */ 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; * @param value The engType to set. * @return This builder for chaining. */ public Builder setEngType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; engType_ = value; onChanged(); return this; } /** * optional string engType = 1; * @return This builder for chaining. */ public Builder clearEngType() { bitField0_ = (bitField0_ & ~0x00000001); engType_ = getDefaultInstance().getEngType(); onChanged(); return this; } /** * optional string engType = 1; * @param value The bytes for engType to set. * @return This builder for chaining. */ 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; * @return Whether the dataEncoding field is set. */ public boolean hasDataEncoding() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.DataEncodingInfo dataEncoding = 2; * @return The dataEncoding. */ 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_; /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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(); } } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public int getEnumValueCount() { if (enumValueBuilder_ == null) { return enumValue_.size(); } else { return enumValueBuilder_.getCount(); } } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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); } } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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; } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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; } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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; } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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; } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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; } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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; } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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; } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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; } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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; } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValue.Builder getEnumValueBuilder( int index) { return getEnumValueFieldBuilder().getBuilder(index); } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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); } } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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_); } } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumValue = 5; */ public org.yamcs.protobuf.Mdb.EnumValue.Builder addEnumValueBuilder() { return getEnumValueFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.EnumValue.getDefaultInstance()); } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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()); } /** *
       * Enumeration states (only used by enumerated arguments)
       * 
* * 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_ ; /** *
       * Minimum value (only used by integer and float arguments)
       * 
* * optional double rangeMin = 6; * @return Whether the rangeMin field is set. */ @java.lang.Override public boolean hasRangeMin() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Minimum value (only used by integer and float arguments)
       * 
* * optional double rangeMin = 6; * @return The rangeMin. */ @java.lang.Override public double getRangeMin() { return rangeMin_; } /** *
       * Minimum value (only used by integer and float arguments)
       * 
* * optional double rangeMin = 6; * @param value The rangeMin to set. * @return This builder for chaining. */ public Builder setRangeMin(double value) { bitField0_ |= 0x00000010; rangeMin_ = value; onChanged(); return this; } /** *
       * Minimum value (only used by integer and float arguments)
       * 
* * optional double rangeMin = 6; * @return This builder for chaining. */ public Builder clearRangeMin() { bitField0_ = (bitField0_ & ~0x00000010); rangeMin_ = 0D; onChanged(); return this; } private double rangeMax_ ; /** *
       * Maximum value (only used by integer and float arguments)
       * 
* * optional double rangeMax = 7; * @return Whether the rangeMax field is set. */ @java.lang.Override public boolean hasRangeMax() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Maximum value (only used by integer and float arguments)
       * 
* * optional double rangeMax = 7; * @return The rangeMax. */ @java.lang.Override public double getRangeMax() { return rangeMax_; } /** *
       * Maximum value (only used by integer and float arguments)
       * 
* * optional double rangeMax = 7; * @param value The rangeMax to set. * @return This builder for chaining. */ public Builder setRangeMax(double value) { bitField0_ |= 0x00000020; rangeMax_ = value; onChanged(); return this; } /** *
       * Maximum value (only used by integer and float arguments)
       * 
* * optional double rangeMax = 7; * @return This builder for chaining. */ public Builder clearRangeMax() { bitField0_ = (bitField0_ & ~0x00000020); rangeMax_ = 0D; onChanged(); return this; } private java.util.List member_ = java.util.Collections.emptyList(); private void ensureMemberIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { member_ = new java.util.ArrayList(member_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentMemberInfo, org.yamcs.protobuf.Mdb.ArgumentMemberInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentMemberInfoOrBuilder> memberBuilder_; /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public java.util.List getMemberList() { if (memberBuilder_ == null) { return java.util.Collections.unmodifiableList(member_); } else { return memberBuilder_.getMessageList(); } } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public int getMemberCount() { if (memberBuilder_ == null) { return member_.size(); } else { return memberBuilder_.getCount(); } } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public org.yamcs.protobuf.Mdb.ArgumentMemberInfo getMember(int index) { if (memberBuilder_ == null) { return member_.get(index); } else { return memberBuilder_.getMessage(index); } } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public Builder setMember( int index, org.yamcs.protobuf.Mdb.ArgumentMemberInfo value) { if (memberBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMemberIsMutable(); member_.set(index, value); onChanged(); } else { memberBuilder_.setMessage(index, value); } return this; } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public Builder setMember( int index, org.yamcs.protobuf.Mdb.ArgumentMemberInfo.Builder builderForValue) { if (memberBuilder_ == null) { ensureMemberIsMutable(); member_.set(index, builderForValue.build()); onChanged(); } else { memberBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public Builder addMember(org.yamcs.protobuf.Mdb.ArgumentMemberInfo value) { if (memberBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMemberIsMutable(); member_.add(value); onChanged(); } else { memberBuilder_.addMessage(value); } return this; } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public Builder addMember( int index, org.yamcs.protobuf.Mdb.ArgumentMemberInfo value) { if (memberBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMemberIsMutable(); member_.add(index, value); onChanged(); } else { memberBuilder_.addMessage(index, value); } return this; } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public Builder addMember( org.yamcs.protobuf.Mdb.ArgumentMemberInfo.Builder builderForValue) { if (memberBuilder_ == null) { ensureMemberIsMutable(); member_.add(builderForValue.build()); onChanged(); } else { memberBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public Builder addMember( int index, org.yamcs.protobuf.Mdb.ArgumentMemberInfo.Builder builderForValue) { if (memberBuilder_ == null) { ensureMemberIsMutable(); member_.add(index, builderForValue.build()); onChanged(); } else { memberBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo 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; } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public Builder clearMember() { if (memberBuilder_ == null) { member_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { memberBuilder_.clear(); } return this; } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public Builder removeMember(int index) { if (memberBuilder_ == null) { ensureMemberIsMutable(); member_.remove(index); onChanged(); } else { memberBuilder_.remove(index); } return this; } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public org.yamcs.protobuf.Mdb.ArgumentMemberInfo.Builder getMemberBuilder( int index) { return getMemberFieldBuilder().getBuilder(index); } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public org.yamcs.protobuf.Mdb.ArgumentMemberInfoOrBuilder getMemberOrBuilder( int index) { if (memberBuilder_ == null) { return member_.get(index); } else { return memberBuilder_.getMessageOrBuilder(index); } } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public java.util.List getMemberOrBuilderList() { if (memberBuilder_ != null) { return memberBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(member_); } } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public org.yamcs.protobuf.Mdb.ArgumentMemberInfo.Builder addMemberBuilder() { return getMemberFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ArgumentMemberInfo.getDefaultInstance()); } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public org.yamcs.protobuf.Mdb.ArgumentMemberInfo.Builder addMemberBuilder( int index) { return getMemberFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ArgumentMemberInfo.getDefaultInstance()); } /** *
       * Member information (only used by aggregate arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentMemberInfo member = 8; */ public java.util.List getMemberBuilderList() { return getMemberFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentMemberInfo, org.yamcs.protobuf.Mdb.ArgumentMemberInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentMemberInfoOrBuilder> getMemberFieldBuilder() { if (memberBuilder_ == null) { memberBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentMemberInfo, org.yamcs.protobuf.Mdb.ArgumentMemberInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentMemberInfoOrBuilder>( member_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); member_ = null; } return memberBuilder_; } private java.lang.Object zeroStringValue_ = ""; /** *
       * String representation of a boolean zero (only used by boolean arguments)
       * 
* * optional string zeroStringValue = 9; * @return Whether the zeroStringValue field is set. */ public boolean hasZeroStringValue() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * String representation of a boolean zero (only used by boolean arguments)
       * 
* * optional string zeroStringValue = 9; * @return The zeroStringValue. */ public java.lang.String getZeroStringValue() { java.lang.Object ref = zeroStringValue_; 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()) { zeroStringValue_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * String representation of a boolean zero (only used by boolean arguments)
       * 
* * optional string zeroStringValue = 9; * @return The bytes for zeroStringValue. */ public com.google.protobuf.ByteString getZeroStringValueBytes() { java.lang.Object ref = zeroStringValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); zeroStringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * String representation of a boolean zero (only used by boolean arguments)
       * 
* * optional string zeroStringValue = 9; * @param value The zeroStringValue to set. * @return This builder for chaining. */ public Builder setZeroStringValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; zeroStringValue_ = value; onChanged(); return this; } /** *
       * String representation of a boolean zero (only used by boolean arguments)
       * 
* * optional string zeroStringValue = 9; * @return This builder for chaining. */ public Builder clearZeroStringValue() { bitField0_ = (bitField0_ & ~0x00000080); zeroStringValue_ = getDefaultInstance().getZeroStringValue(); onChanged(); return this; } /** *
       * String representation of a boolean zero (only used by boolean arguments)
       * 
* * optional string zeroStringValue = 9; * @param value The bytes for zeroStringValue to set. * @return This builder for chaining. */ public Builder setZeroStringValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; zeroStringValue_ = value; onChanged(); return this; } private java.lang.Object oneStringValue_ = ""; /** *
       * String representation of a boolean one (only used by boolean arguments)
       * 
* * optional string oneStringValue = 10; * @return Whether the oneStringValue field is set. */ public boolean hasOneStringValue() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * String representation of a boolean one (only used by boolean arguments)
       * 
* * optional string oneStringValue = 10; * @return The oneStringValue. */ public java.lang.String getOneStringValue() { java.lang.Object ref = oneStringValue_; 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()) { oneStringValue_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * String representation of a boolean one (only used by boolean arguments)
       * 
* * optional string oneStringValue = 10; * @return The bytes for oneStringValue. */ public com.google.protobuf.ByteString getOneStringValueBytes() { java.lang.Object ref = oneStringValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); oneStringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * String representation of a boolean one (only used by boolean arguments)
       * 
* * optional string oneStringValue = 10; * @param value The oneStringValue to set. * @return This builder for chaining. */ public Builder setOneStringValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; oneStringValue_ = value; onChanged(); return this; } /** *
       * String representation of a boolean one (only used by boolean arguments)
       * 
* * optional string oneStringValue = 10; * @return This builder for chaining. */ public Builder clearOneStringValue() { bitField0_ = (bitField0_ & ~0x00000100); oneStringValue_ = getDefaultInstance().getOneStringValue(); onChanged(); return this; } /** *
       * String representation of a boolean one (only used by boolean arguments)
       * 
* * optional string oneStringValue = 10; * @param value The bytes for oneStringValue to set. * @return This builder for chaining. */ public Builder setOneStringValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; oneStringValue_ = value; onChanged(); return this; } private int minChars_ ; /** *
       * Minimum character count (only used by string arguments)
       * 
* * optional int32 minChars = 11; * @return Whether the minChars field is set. */ @java.lang.Override public boolean hasMinChars() { return ((bitField0_ & 0x00000200) != 0); } /** *
       * Minimum character count (only used by string arguments)
       * 
* * optional int32 minChars = 11; * @return The minChars. */ @java.lang.Override public int getMinChars() { return minChars_; } /** *
       * Minimum character count (only used by string arguments)
       * 
* * optional int32 minChars = 11; * @param value The minChars to set. * @return This builder for chaining. */ public Builder setMinChars(int value) { bitField0_ |= 0x00000200; minChars_ = value; onChanged(); return this; } /** *
       * Minimum character count (only used by string arguments)
       * 
* * optional int32 minChars = 11; * @return This builder for chaining. */ public Builder clearMinChars() { bitField0_ = (bitField0_ & ~0x00000200); minChars_ = 0; onChanged(); return this; } private int maxChars_ ; /** *
       * Maximum character count (only used by string arguments)
       * 
* * optional int32 maxChars = 12; * @return Whether the maxChars field is set. */ @java.lang.Override public boolean hasMaxChars() { return ((bitField0_ & 0x00000400) != 0); } /** *
       * Maximum character count (only used by string arguments)
       * 
* * optional int32 maxChars = 12; * @return The maxChars. */ @java.lang.Override public int getMaxChars() { return maxChars_; } /** *
       * Maximum character count (only used by string arguments)
       * 
* * optional int32 maxChars = 12; * @param value The maxChars to set. * @return This builder for chaining. */ public Builder setMaxChars(int value) { bitField0_ |= 0x00000400; maxChars_ = value; onChanged(); return this; } /** *
       * Maximum character count (only used by string arguments)
       * 
* * optional int32 maxChars = 12; * @return This builder for chaining. */ public Builder clearMaxChars() { bitField0_ = (bitField0_ & ~0x00000400); maxChars_ = 0; onChanged(); return this; } private boolean signed_ ; /** *
       * True if the engineering type supports signed representation.
       * (only used by integer arguments)
       * 
* * optional bool signed = 13; * @return Whether the signed field is set. */ @java.lang.Override public boolean hasSigned() { return ((bitField0_ & 0x00000800) != 0); } /** *
       * True if the engineering type supports signed representation.
       * (only used by integer arguments)
       * 
* * optional bool signed = 13; * @return The signed. */ @java.lang.Override public boolean getSigned() { return signed_; } /** *
       * True if the engineering type supports signed representation.
       * (only used by integer arguments)
       * 
* * optional bool signed = 13; * @param value The signed to set. * @return This builder for chaining. */ public Builder setSigned(boolean value) { bitField0_ |= 0x00000800; signed_ = value; onChanged(); return this; } /** *
       * True if the engineering type supports signed representation.
       * (only used by integer arguments)
       * 
* * optional bool signed = 13; * @return This builder for chaining. */ public Builder clearSigned() { bitField0_ = (bitField0_ & ~0x00000800); signed_ = false; onChanged(); return this; } private int minBytes_ ; /** *
       * Minimum byte count (only used by binary arguments)
       * 
* * optional int32 minBytes = 14; * @return Whether the minBytes field is set. */ @java.lang.Override public boolean hasMinBytes() { return ((bitField0_ & 0x00001000) != 0); } /** *
       * Minimum byte count (only used by binary arguments)
       * 
* * optional int32 minBytes = 14; * @return The minBytes. */ @java.lang.Override public int getMinBytes() { return minBytes_; } /** *
       * Minimum byte count (only used by binary arguments)
       * 
* * optional int32 minBytes = 14; * @param value The minBytes to set. * @return This builder for chaining. */ public Builder setMinBytes(int value) { bitField0_ |= 0x00001000; minBytes_ = value; onChanged(); return this; } /** *
       * Minimum byte count (only used by binary arguments)
       * 
* * optional int32 minBytes = 14; * @return This builder for chaining. */ public Builder clearMinBytes() { bitField0_ = (bitField0_ & ~0x00001000); minBytes_ = 0; onChanged(); return this; } private int maxBytes_ ; /** *
       * Maximum character count (only used by binary arguments)
       * 
* * optional int32 maxBytes = 15; * @return Whether the maxBytes field is set. */ @java.lang.Override public boolean hasMaxBytes() { return ((bitField0_ & 0x00002000) != 0); } /** *
       * Maximum character count (only used by binary arguments)
       * 
* * optional int32 maxBytes = 15; * @return The maxBytes. */ @java.lang.Override public int getMaxBytes() { return maxBytes_; } /** *
       * Maximum character count (only used by binary arguments)
       * 
* * optional int32 maxBytes = 15; * @param value The maxBytes to set. * @return This builder for chaining. */ public Builder setMaxBytes(int value) { bitField0_ |= 0x00002000; maxBytes_ = value; onChanged(); return this; } /** *
       * Maximum character count (only used by binary arguments)
       * 
* * optional int32 maxBytes = 15; * @return This builder for chaining. */ public Builder clearMaxBytes() { bitField0_ = (bitField0_ & ~0x00002000); maxBytes_ = 0; onChanged(); return this; } private java.util.List dimensions_ = java.util.Collections.emptyList(); private void ensureDimensionsIsMutable() { if (!((bitField0_ & 0x00004000) != 0)) { dimensions_ = new java.util.ArrayList(dimensions_); bitField0_ |= 0x00004000; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentDimensionInfo, org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentDimensionInfoOrBuilder> dimensionsBuilder_; /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public java.util.List getDimensionsList() { if (dimensionsBuilder_ == null) { return java.util.Collections.unmodifiableList(dimensions_); } else { return dimensionsBuilder_.getMessageList(); } } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public int getDimensionsCount() { if (dimensionsBuilder_ == null) { return dimensions_.size(); } else { return dimensionsBuilder_.getCount(); } } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public org.yamcs.protobuf.Mdb.ArgumentDimensionInfo getDimensions(int index) { if (dimensionsBuilder_ == null) { return dimensions_.get(index); } else { return dimensionsBuilder_.getMessage(index); } } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public Builder setDimensions( int index, org.yamcs.protobuf.Mdb.ArgumentDimensionInfo value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDimensionsIsMutable(); dimensions_.set(index, value); onChanged(); } else { dimensionsBuilder_.setMessage(index, value); } return this; } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public Builder setDimensions( int index, org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.Builder builderForValue) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); dimensions_.set(index, builderForValue.build()); onChanged(); } else { dimensionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public Builder addDimensions(org.yamcs.protobuf.Mdb.ArgumentDimensionInfo value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDimensionsIsMutable(); dimensions_.add(value); onChanged(); } else { dimensionsBuilder_.addMessage(value); } return this; } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public Builder addDimensions( int index, org.yamcs.protobuf.Mdb.ArgumentDimensionInfo value) { if (dimensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDimensionsIsMutable(); dimensions_.add(index, value); onChanged(); } else { dimensionsBuilder_.addMessage(index, value); } return this; } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public Builder addDimensions( org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.Builder builderForValue) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); dimensions_.add(builderForValue.build()); onChanged(); } else { dimensionsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public Builder addDimensions( int index, org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.Builder builderForValue) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); dimensions_.add(index, builderForValue.build()); onChanged(); } else { dimensionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public Builder addAllDimensions( java.lang.Iterable values) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dimensions_); onChanged(); } else { dimensionsBuilder_.addAllMessages(values); } return this; } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public Builder clearDimensions() { if (dimensionsBuilder_ == null) { dimensions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); onChanged(); } else { dimensionsBuilder_.clear(); } return this; } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public Builder removeDimensions(int index) { if (dimensionsBuilder_ == null) { ensureDimensionsIsMutable(); dimensions_.remove(index); onChanged(); } else { dimensionsBuilder_.remove(index); } return this; } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.Builder getDimensionsBuilder( int index) { return getDimensionsFieldBuilder().getBuilder(index); } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public org.yamcs.protobuf.Mdb.ArgumentDimensionInfoOrBuilder getDimensionsOrBuilder( int index) { if (dimensionsBuilder_ == null) { return dimensions_.get(index); } else { return dimensionsBuilder_.getMessageOrBuilder(index); } } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public java.util.List getDimensionsOrBuilderList() { if (dimensionsBuilder_ != null) { return dimensionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dimensions_); } } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.Builder addDimensionsBuilder() { return getDimensionsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.getDefaultInstance()); } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.Builder addDimensionsBuilder( int index) { return getDimensionsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.getDefaultInstance()); } /** *
       * Length of each dimension (only used by array arguments)
       * 
* * repeated .yamcs.protobuf.mdb.ArgumentDimensionInfo dimensions = 16; */ public java.util.List getDimensionsBuilderList() { return getDimensionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentDimensionInfo, org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentDimensionInfoOrBuilder> getDimensionsFieldBuilder() { if (dimensionsBuilder_ == null) { dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentDimensionInfo, org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentDimensionInfoOrBuilder>( dimensions_, ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); dimensions_ = null; } return dimensionsBuilder_; } private org.yamcs.protobuf.Mdb.ArgumentTypeInfo elementType_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentTypeInfo, org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder> elementTypeBuilder_; /** *
       * Type of array entries (only used by array arguments)
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; * @return Whether the elementType field is set. */ public boolean hasElementType() { return ((bitField0_ & 0x00008000) != 0); } /** *
       * Type of array entries (only used by array arguments)
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; * @return The elementType. */ public org.yamcs.protobuf.Mdb.ArgumentTypeInfo getElementType() { if (elementTypeBuilder_ == null) { return elementType_ == null ? org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance() : elementType_; } else { return elementTypeBuilder_.getMessage(); } } /** *
       * Type of array entries (only used by array arguments)
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; */ public Builder setElementType(org.yamcs.protobuf.Mdb.ArgumentTypeInfo value) { if (elementTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } elementType_ = value; onChanged(); } else { elementTypeBuilder_.setMessage(value); } bitField0_ |= 0x00008000; return this; } /** *
       * Type of array entries (only used by array arguments)
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; */ public Builder setElementType( org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder builderForValue) { if (elementTypeBuilder_ == null) { elementType_ = builderForValue.build(); onChanged(); } else { elementTypeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00008000; return this; } /** *
       * Type of array entries (only used by array arguments)
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; */ public Builder mergeElementType(org.yamcs.protobuf.Mdb.ArgumentTypeInfo value) { if (elementTypeBuilder_ == null) { if (((bitField0_ & 0x00008000) != 0) && elementType_ != null && elementType_ != org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance()) { elementType_ = org.yamcs.protobuf.Mdb.ArgumentTypeInfo.newBuilder(elementType_).mergeFrom(value).buildPartial(); } else { elementType_ = value; } onChanged(); } else { elementTypeBuilder_.mergeFrom(value); } bitField0_ |= 0x00008000; return this; } /** *
       * Type of array entries (only used by array arguments)
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; */ public Builder clearElementType() { if (elementTypeBuilder_ == null) { elementType_ = null; onChanged(); } else { elementTypeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00008000); return this; } /** *
       * Type of array entries (only used by array arguments)
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; */ public org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder getElementTypeBuilder() { bitField0_ |= 0x00008000; onChanged(); return getElementTypeFieldBuilder().getBuilder(); } /** *
       * Type of array entries (only used by array arguments)
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; */ public org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder getElementTypeOrBuilder() { if (elementTypeBuilder_ != null) { return elementTypeBuilder_.getMessageOrBuilder(); } else { return elementType_ == null ? org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance() : elementType_; } } /** *
       * Type of array entries (only used by array arguments)
       * 
* * optional .yamcs.protobuf.mdb.ArgumentTypeInfo elementType = 17; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentTypeInfo, org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder> getElementTypeFieldBuilder() { if (elementTypeBuilder_ == null) { elementTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ArgumentTypeInfo, org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder, org.yamcs.protobuf.Mdb.ArgumentTypeInfoOrBuilder>( getElementType(), getParentForChildren(), isClean()); elementType_ = null; } return elementTypeBuilder_; } private java.lang.Object name_ = ""; /** *
       * Name of the parameter type
       * 
* * optional string name = 18; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00010000) != 0); } /** *
       * Name of the parameter type
       * 
* * optional string name = 18; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the parameter type
       * 
* * optional string name = 18; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the parameter type
       * 
* * optional string name = 18; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; name_ = value; onChanged(); return this; } /** *
       * Name of the parameter type
       * 
* * optional string name = 18; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00010000); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Name of the parameter type
       * 
* * optional string name = 18; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; 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.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 ArgumentDimensionInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ArgumentDimensionInfo) com.google.protobuf.MessageOrBuilder { /** *
     * Use a fixed integer value. If set, no other options are applicable.
     * This value describes the length.
     * 
* * optional int64 fixedValue = 1; * @return Whether the fixedValue field is set. */ boolean hasFixedValue(); /** *
     * Use a fixed integer value. If set, no other options are applicable.
     * This value describes the length.
     * 
* * optional int64 fixedValue = 1; * @return The fixedValue. */ long getFixedValue(); /** *
     * Use the value of the referenced parameter.
     * The value describes the zero-based ending index (length - 1)
     * For a value ``v``, the dimension's length is determined
     * as: ``(v * slope) + intercept``. 
     * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return Whether the parameter field is set. */ boolean hasParameter(); /** *
     * Use the value of the referenced parameter.
     * The value describes the zero-based ending index (length - 1)
     * For a value ``v``, the dimension's length is determined
     * as: ``(v * slope) + intercept``. 
     * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return The parameter. */ org.yamcs.protobuf.Mdb.ParameterInfo getParameter(); /** *
     * Use the value of the referenced parameter.
     * The value describes the zero-based ending index (length - 1)
     * For a value ``v``, the dimension's length is determined
     * as: ``(v * slope) + intercept``. 
     * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(); /** *
     * Use the value of the referenced argument.
     * The value describes the zero-based ending index (length - 1)
     * For a value ``v``, the dimension's length is determined
     * as: ``(v * slope) + intercept``.
     * 
* * optional string argument = 3; * @return Whether the argument field is set. */ boolean hasArgument(); /** *
     * Use the value of the referenced argument.
     * The value describes the zero-based ending index (length - 1)
     * For a value ``v``, the dimension's length is determined
     * as: ``(v * slope) + intercept``.
     * 
* * optional string argument = 3; * @return The argument. */ java.lang.String getArgument(); /** *
     * Use the value of the referenced argument.
     * The value describes the zero-based ending index (length - 1)
     * For a value ``v``, the dimension's length is determined
     * as: ``(v * slope) + intercept``.
     * 
* * optional string argument = 3; * @return The bytes for argument. */ com.google.protobuf.ByteString getArgumentBytes(); /** *
     * Scale the value obtained from a parameter or argument reference.
     * 
* * optional int64 slope = 4; * @return Whether the slope field is set. */ boolean hasSlope(); /** *
     * Scale the value obtained from a parameter or argument reference.
     * 
* * optional int64 slope = 4; * @return The slope. */ long getSlope(); /** *
     * Shift the value obtained from a parameter or argument reference.
     * 
* * optional int64 intercept = 5; * @return Whether the intercept field is set. */ boolean hasIntercept(); /** *
     * Shift the value obtained from a parameter or argument reference.
     * 
* * optional int64 intercept = 5; * @return The intercept. */ long getIntercept(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ArgumentDimensionInfo} */ public static final class ArgumentDimensionInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ArgumentDimensionInfo) ArgumentDimensionInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ArgumentDimensionInfo.newBuilder() to construct. private ArgumentDimensionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ArgumentDimensionInfo() { argument_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ArgumentDimensionInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ArgumentDimensionInfo( 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; fixedValue_ = input.readInt64(); 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; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; argument_ = bs; break; } case 32: { bitField0_ |= 0x00000008; slope_ = input.readInt64(); break; } case 40: { bitField0_ |= 0x00000010; intercept_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentDimensionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentDimensionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.class, org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.Builder.class); } private int bitField0_; public static final int FIXEDVALUE_FIELD_NUMBER = 1; private long fixedValue_; /** *
     * Use a fixed integer value. If set, no other options are applicable.
     * This value describes the length.
     * 
* * optional int64 fixedValue = 1; * @return Whether the fixedValue field is set. */ @java.lang.Override public boolean hasFixedValue() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Use a fixed integer value. If set, no other options are applicable.
     * This value describes the length.
     * 
* * optional int64 fixedValue = 1; * @return The fixedValue. */ @java.lang.Override public long getFixedValue() { return fixedValue_; } public static final int PARAMETER_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.ParameterInfo parameter_; /** *
     * Use the value of the referenced parameter.
     * The value describes the zero-based ending index (length - 1)
     * For a value ``v``, the dimension's length is determined
     * as: ``(v * slope) + intercept``. 
     * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return Whether the parameter field is set. */ @java.lang.Override public boolean hasParameter() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Use the value of the referenced parameter.
     * The value describes the zero-based ending index (length - 1)
     * For a value ``v``, the dimension's length is determined
     * as: ``(v * slope) + intercept``. 
     * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return The parameter. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** *
     * Use the value of the referenced parameter.
     * The value describes the zero-based ending index (length - 1)
     * For a value ``v``, the dimension's length is determined
     * as: ``(v * slope) + intercept``. 
     * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } public static final int ARGUMENT_FIELD_NUMBER = 3; private volatile java.lang.Object argument_; /** *
     * Use the value of the referenced argument.
     * The value describes the zero-based ending index (length - 1)
     * For a value ``v``, the dimension's length is determined
     * as: ``(v * slope) + intercept``.
     * 
* * optional string argument = 3; * @return Whether the argument field is set. */ @java.lang.Override public boolean hasArgument() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Use the value of the referenced argument.
     * The value describes the zero-based ending index (length - 1)
     * For a value ``v``, the dimension's length is determined
     * as: ``(v * slope) + intercept``.
     * 
* * optional string argument = 3; * @return The argument. */ @java.lang.Override public java.lang.String getArgument() { java.lang.Object ref = argument_; 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()) { argument_ = s; } return s; } } /** *
     * Use the value of the referenced argument.
     * The value describes the zero-based ending index (length - 1)
     * For a value ``v``, the dimension's length is determined
     * as: ``(v * slope) + intercept``.
     * 
* * optional string argument = 3; * @return The bytes for argument. */ @java.lang.Override public com.google.protobuf.ByteString getArgumentBytes() { java.lang.Object ref = argument_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); argument_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SLOPE_FIELD_NUMBER = 4; private long slope_; /** *
     * Scale the value obtained from a parameter or argument reference.
     * 
* * optional int64 slope = 4; * @return Whether the slope field is set. */ @java.lang.Override public boolean hasSlope() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Scale the value obtained from a parameter or argument reference.
     * 
* * optional int64 slope = 4; * @return The slope. */ @java.lang.Override public long getSlope() { return slope_; } public static final int INTERCEPT_FIELD_NUMBER = 5; private long intercept_; /** *
     * Shift the value obtained from a parameter or argument reference.
     * 
* * optional int64 intercept = 5; * @return Whether the intercept field is set. */ @java.lang.Override public boolean hasIntercept() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Shift the value obtained from a parameter or argument reference.
     * 
* * optional int64 intercept = 5; * @return The intercept. */ @java.lang.Override public long getIntercept() { return intercept_; } 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.writeInt64(1, fixedValue_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getParameter()); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, argument_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt64(4, slope_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt64(5, intercept_); } 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, fixedValue_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getParameter()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, argument_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, slope_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, intercept_); } 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.ArgumentDimensionInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ArgumentDimensionInfo other = (org.yamcs.protobuf.Mdb.ArgumentDimensionInfo) obj; if (hasFixedValue() != other.hasFixedValue()) return false; if (hasFixedValue()) { if (getFixedValue() != other.getFixedValue()) 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 (hasSlope() != other.hasSlope()) return false; if (hasSlope()) { if (getSlope() != other.getSlope()) return false; } if (hasIntercept() != other.hasIntercept()) return false; if (hasIntercept()) { if (getIntercept() != other.getIntercept()) 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 (hasFixedValue()) { hash = (37 * hash) + FIXEDVALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFixedValue()); } 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 (hasSlope()) { hash = (37 * hash) + SLOPE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSlope()); } if (hasIntercept()) { hash = (37 * hash) + INTERCEPT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getIntercept()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.ArgumentDimensionInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentDimensionInfo 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.ArgumentDimensionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentDimensionInfo 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.ArgumentDimensionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ArgumentDimensionInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ArgumentDimensionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentDimensionInfo 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.ArgumentDimensionInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentDimensionInfo 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.ArgumentDimensionInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ArgumentDimensionInfo 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.ArgumentDimensionInfo 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.ArgumentDimensionInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ArgumentDimensionInfo) org.yamcs.protobuf.Mdb.ArgumentDimensionInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentDimensionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ArgumentDimensionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.class, org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.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(); fixedValue_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); if (parameterBuilder_ == null) { parameter_ = null; } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); argument_ = ""; bitField0_ = (bitField0_ & ~0x00000004); slope_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); intercept_ = 0L; 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_ArgumentDimensionInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentDimensionInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentDimensionInfo build() { org.yamcs.protobuf.Mdb.ArgumentDimensionInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentDimensionInfo buildPartial() { org.yamcs.protobuf.Mdb.ArgumentDimensionInfo result = new org.yamcs.protobuf.Mdb.ArgumentDimensionInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.fixedValue_ = fixedValue_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (parameterBuilder_ == null) { result.parameter_ = parameter_; } else { result.parameter_ = parameterBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.argument_ = argument_; if (((from_bitField0_ & 0x00000008) != 0)) { result.slope_ = slope_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.intercept_ = intercept_; 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.ArgumentDimensionInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.ArgumentDimensionInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ArgumentDimensionInfo other) { if (other == org.yamcs.protobuf.Mdb.ArgumentDimensionInfo.getDefaultInstance()) return this; if (other.hasFixedValue()) { setFixedValue(other.getFixedValue()); } if (other.hasParameter()) { mergeParameter(other.getParameter()); } if (other.hasArgument()) { bitField0_ |= 0x00000004; argument_ = other.argument_; onChanged(); } if (other.hasSlope()) { setSlope(other.getSlope()); } if (other.hasIntercept()) { setIntercept(other.getIntercept()); } 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.ArgumentDimensionInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ArgumentDimensionInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long fixedValue_ ; /** *
       * Use a fixed integer value. If set, no other options are applicable.
       * This value describes the length.
       * 
* * optional int64 fixedValue = 1; * @return Whether the fixedValue field is set. */ @java.lang.Override public boolean hasFixedValue() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Use a fixed integer value. If set, no other options are applicable.
       * This value describes the length.
       * 
* * optional int64 fixedValue = 1; * @return The fixedValue. */ @java.lang.Override public long getFixedValue() { return fixedValue_; } /** *
       * Use a fixed integer value. If set, no other options are applicable.
       * This value describes the length.
       * 
* * optional int64 fixedValue = 1; * @param value The fixedValue to set. * @return This builder for chaining. */ public Builder setFixedValue(long value) { bitField0_ |= 0x00000001; fixedValue_ = value; onChanged(); return this; } /** *
       * Use a fixed integer value. If set, no other options are applicable.
       * This value describes the length.
       * 
* * optional int64 fixedValue = 1; * @return This builder for chaining. */ public Builder clearFixedValue() { bitField0_ = (bitField0_ & ~0x00000001); fixedValue_ = 0L; onChanged(); return this; } 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_; /** *
       * Use the value of the referenced parameter.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``. 
       * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return Whether the parameter field is set. */ public boolean hasParameter() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Use the value of the referenced parameter.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``. 
       * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return The parameter. */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { if (parameterBuilder_ == null) { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } else { return parameterBuilder_.getMessage(); } } /** *
       * Use the value of the referenced parameter.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``. 
       * 
* * 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; } /** *
       * Use the value of the referenced parameter.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``. 
       * 
* * 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; } /** *
       * Use the value of the referenced parameter.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``. 
       * 
* * 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; } /** *
       * Use the value of the referenced parameter.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``. 
       * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ public Builder clearParameter() { if (parameterBuilder_ == null) { parameter_ = null; onChanged(); } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       * Use the value of the referenced parameter.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``. 
       * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getParameterBuilder() { bitField0_ |= 0x00000002; onChanged(); return getParameterFieldBuilder().getBuilder(); } /** *
       * Use the value of the referenced parameter.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``. 
       * 
* * 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_; } } /** *
       * Use the value of the referenced parameter.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``. 
       * 
* * 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_; } private java.lang.Object argument_ = ""; /** *
       * Use the value of the referenced argument.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``.
       * 
* * optional string argument = 3; * @return Whether the argument field is set. */ public boolean hasArgument() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Use the value of the referenced argument.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``.
       * 
* * optional string argument = 3; * @return The argument. */ public java.lang.String getArgument() { java.lang.Object ref = argument_; 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()) { argument_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Use the value of the referenced argument.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``.
       * 
* * optional string argument = 3; * @return The bytes for argument. */ public com.google.protobuf.ByteString getArgumentBytes() { java.lang.Object ref = argument_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); argument_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Use the value of the referenced argument.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``.
       * 
* * optional string argument = 3; * @param value The argument to set. * @return This builder for chaining. */ public Builder setArgument( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; argument_ = value; onChanged(); return this; } /** *
       * Use the value of the referenced argument.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``.
       * 
* * optional string argument = 3; * @return This builder for chaining. */ public Builder clearArgument() { bitField0_ = (bitField0_ & ~0x00000004); argument_ = getDefaultInstance().getArgument(); onChanged(); return this; } /** *
       * Use the value of the referenced argument.
       * The value describes the zero-based ending index (length - 1)
       * For a value ``v``, the dimension's length is determined
       * as: ``(v * slope) + intercept``.
       * 
* * optional string argument = 3; * @param value The bytes for argument to set. * @return This builder for chaining. */ public Builder setArgumentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; argument_ = value; onChanged(); return this; } private long slope_ ; /** *
       * Scale the value obtained from a parameter or argument reference.
       * 
* * optional int64 slope = 4; * @return Whether the slope field is set. */ @java.lang.Override public boolean hasSlope() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Scale the value obtained from a parameter or argument reference.
       * 
* * optional int64 slope = 4; * @return The slope. */ @java.lang.Override public long getSlope() { return slope_; } /** *
       * Scale the value obtained from a parameter or argument reference.
       * 
* * optional int64 slope = 4; * @param value The slope to set. * @return This builder for chaining. */ public Builder setSlope(long value) { bitField0_ |= 0x00000008; slope_ = value; onChanged(); return this; } /** *
       * Scale the value obtained from a parameter or argument reference.
       * 
* * optional int64 slope = 4; * @return This builder for chaining. */ public Builder clearSlope() { bitField0_ = (bitField0_ & ~0x00000008); slope_ = 0L; onChanged(); return this; } private long intercept_ ; /** *
       * Shift the value obtained from a parameter or argument reference.
       * 
* * optional int64 intercept = 5; * @return Whether the intercept field is set. */ @java.lang.Override public boolean hasIntercept() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Shift the value obtained from a parameter or argument reference.
       * 
* * optional int64 intercept = 5; * @return The intercept. */ @java.lang.Override public long getIntercept() { return intercept_; } /** *
       * Shift the value obtained from a parameter or argument reference.
       * 
* * optional int64 intercept = 5; * @param value The intercept to set. * @return This builder for chaining. */ public Builder setIntercept(long value) { bitField0_ |= 0x00000010; intercept_ = value; onChanged(); return this; } /** *
       * Shift the value obtained from a parameter or argument reference.
       * 
* * optional int64 intercept = 5; * @return This builder for chaining. */ public Builder clearIntercept() { bitField0_ = (bitField0_ & ~0x00000010); intercept_ = 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.ArgumentDimensionInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ArgumentDimensionInfo) private static final org.yamcs.protobuf.Mdb.ArgumentDimensionInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ArgumentDimensionInfo(); } public static org.yamcs.protobuf.Mdb.ArgumentDimensionInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ArgumentDimensionInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ArgumentDimensionInfo(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.ArgumentDimensionInfo 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; * @return Whether the name field is set. */ boolean hasName(); /** * optional string name = 1; * @return The name. */ java.lang.String getName(); /** * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * optional string description = 2; * @return Whether the description field is set. */ boolean hasDescription(); /** * optional string description = 2; * @return The description. */ java.lang.String getDescription(); /** * optional string description = 2; * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * optional string initialValue = 4; * @return Whether the initialValue field is set. */ boolean hasInitialValue(); /** * optional string initialValue = 4; * @return The initialValue. */ java.lang.String getInitialValue(); /** * optional string initialValue = 4; * @return The bytes for initialValue. */ com.google.protobuf.ByteString getInitialValueBytes(); /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; * @return Whether the type field is set. */ boolean hasType(); /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; * @return The type. */ org.yamcs.protobuf.Mdb.ArgumentTypeInfo getType(); /** * 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ArgumentInfo(); } @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; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** * optional string description = 2; * @return Whether the description field is set. */ @java.lang.Override public boolean hasDescription() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string description = 2; * @return The description. */ @java.lang.Override 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; * @return The bytes for description. */ @java.lang.Override 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 initialValue = 4; * @return Whether the initialValue field is set. */ @java.lang.Override public boolean hasInitialValue() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string initialValue = 4; * @return The initialValue. */ @java.lang.Override 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 = 4; * @return The bytes for initialValue. */ @java.lang.Override 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_; /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; * @return The type. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentTypeInfo getType() { return type_ == null ? org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance() : type_; } /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ @java.lang.Override 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; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** * optional string description = 2; * @return Whether the description field is set. */ public boolean hasDescription() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string description = 2; * @return The description. */ 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; * @return The bytes for description. */ 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; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; description_ = value; onChanged(); return this; } /** * optional string description = 2; * @return This builder for chaining. */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000002); description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** * optional string description = 2; * @param value The bytes for description to set. * @return This builder for chaining. */ 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 initialValue = 4; * @return Whether the initialValue field is set. */ public boolean hasInitialValue() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string initialValue = 4; * @return The initialValue. */ 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 = 4; * @return The bytes for initialValue. */ 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 = 4; * @param value The initialValue to set. * @return This builder for chaining. */ public Builder setInitialValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; initialValue_ = value; onChanged(); return this; } /** * optional string initialValue = 4; * @return This builder for chaining. */ public Builder clearInitialValue() { bitField0_ = (bitField0_ & ~0x00000004); initialValue_ = getDefaultInstance().getInitialValue(); onChanged(); return this; } /** * optional string initialValue = 4; * @param value The bytes for initialValue to set. * @return This builder for chaining. */ 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_; /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; * @return The type. */ public org.yamcs.protobuf.Mdb.ArgumentTypeInfo getType() { if (typeBuilder_ == null) { return type_ == null ? org.yamcs.protobuf.Mdb.ArgumentTypeInfo.getDefaultInstance() : type_; } else { return typeBuilder_.getMessage(); } } /** * 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; } /** * 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; } /** * 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; } /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public Builder clearType() { if (typeBuilder_ == null) { type_ = null; onChanged(); } else { typeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .yamcs.protobuf.mdb.ArgumentTypeInfo type = 6; */ public org.yamcs.protobuf.Mdb.ArgumentTypeInfo.Builder getTypeBuilder() { bitField0_ |= 0x00000008; onChanged(); return getTypeFieldBuilder().getBuilder(); } /** * 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_; } } /** * 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; * @return Whether the name field is set. */ boolean hasName(); /** * optional string name = 1; * @return The name. */ java.lang.String getName(); /** * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * optional string value = 2; * @return Whether the value field is set. */ boolean hasValue(); /** * optional string value = 2; * @return The value. */ java.lang.String getValue(); /** * optional string value = 2; * @return The bytes for value. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ArgumentAssignmentInfo(); } @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; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object value_; /** * optional string value = 2; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string value = 2; * @return The value. */ @java.lang.Override 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; * @return The bytes for value. */ @java.lang.Override 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; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object value_ = ""; /** * optional string value = 2; * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string value = 2; * @return The value. */ 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; * @return The bytes for value. */ 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; * @param value The value to set. * @return This builder for chaining. */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } /** * optional string value = 2; * @return This builder for chaining. */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** * optional string value = 2; * @param value The bytes for value to set. * @return This builder for chaining. */ 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; * @return Whether the consequenceLevel field is set. */ boolean hasConsequenceLevel(); /** * optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType consequenceLevel = 1; * @return The consequenceLevel. */ org.yamcs.protobuf.Mdb.SignificanceInfo.SignificanceLevelType getConsequenceLevel(); /** * optional string reasonForWarning = 2; * @return Whether the reasonForWarning field is set. */ boolean hasReasonForWarning(); /** * optional string reasonForWarning = 2; * @return The reasonForWarning. */ java.lang.String getReasonForWarning(); /** * optional string reasonForWarning = 2; * @return The bytes for reasonForWarning. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SignificanceInfo(); } @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; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static SignificanceLevelType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static 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; * @return Whether the consequenceLevel field is set. */ @java.lang.Override public boolean hasConsequenceLevel() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType consequenceLevel = 1; * @return The consequenceLevel. */ @java.lang.Override 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; * @return Whether the reasonForWarning field is set. */ @java.lang.Override public boolean hasReasonForWarning() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string reasonForWarning = 2; * @return The reasonForWarning. */ @java.lang.Override 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; * @return The bytes for reasonForWarning. */ @java.lang.Override 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; * @return Whether the consequenceLevel field is set. */ @java.lang.Override public boolean hasConsequenceLevel() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType consequenceLevel = 1; * @return The consequenceLevel. */ @java.lang.Override 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; * @param value The consequenceLevel to set. * @return This builder for chaining. */ 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; * @return This builder for chaining. */ public Builder clearConsequenceLevel() { bitField0_ = (bitField0_ & ~0x00000001); consequenceLevel_ = 1; onChanged(); return this; } private java.lang.Object reasonForWarning_ = ""; /** * optional string reasonForWarning = 2; * @return Whether the reasonForWarning field is set. */ public boolean hasReasonForWarning() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string reasonForWarning = 2; * @return The reasonForWarning. */ 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; * @return The bytes for reasonForWarning. */ 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; * @param value The reasonForWarning to set. * @return This builder for chaining. */ public Builder setReasonForWarning( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; reasonForWarning_ = value; onChanged(); return this; } /** * optional string reasonForWarning = 2; * @return This builder for chaining. */ public Builder clearReasonForWarning() { bitField0_ = (bitField0_ & ~0x00000002); reasonForWarning_ = getDefaultInstance().getReasonForWarning(); onChanged(); return this; } /** * optional string reasonForWarning = 2; * @param value The bytes for reasonForWarning to set. * @return This builder for chaining. */ 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; * @return Whether the parameter field is set. */ boolean hasParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; * @return The parameter. */ 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; * @return Whether the operator field is set. */ boolean hasOperator(); /** * optional .yamcs.protobuf.mdb.ComparisonInfo.OperatorType operator = 2; * @return The operator. */ org.yamcs.protobuf.Mdb.ComparisonInfo.OperatorType getOperator(); /** * optional string value = 3; * @return Whether the value field is set. */ boolean hasValue(); /** * optional string value = 3; * @return The value. */ java.lang.String getValue(); /** * optional string value = 3; * @return The bytes for value. */ com.google.protobuf.ByteString getValueBytes(); /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; * @return Whether the argument field is set. */ boolean hasArgument(); /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; * @return The argument. */ org.yamcs.protobuf.Mdb.ArgumentInfo getArgument(); /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; */ org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder getArgumentOrBuilder(); } /** * 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ComparisonInfo(); } @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; } case 34: { org.yamcs.protobuf.Mdb.ArgumentInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = argument_.toBuilder(); } argument_ = input.readMessage(org.yamcs.protobuf.Mdb.ArgumentInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(argument_); argument_ = 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_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; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static OperatorType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static 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; * @return Whether the parameter field is set. */ @java.lang.Override public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; * @return The parameter. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ @java.lang.Override 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; * @return Whether the operator field is set. */ @java.lang.Override public boolean hasOperator() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ComparisonInfo.OperatorType operator = 2; * @return The operator. */ @java.lang.Override 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; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string value = 3; * @return The value. */ @java.lang.Override 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; * @return The bytes for value. */ @java.lang.Override 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; } } public static final int ARGUMENT_FIELD_NUMBER = 4; private org.yamcs.protobuf.Mdb.ArgumentInfo argument_; /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; * @return Whether the argument field is set. */ @java.lang.Override public boolean hasArgument() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; * @return The argument. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentInfo getArgument() { return argument_ == null ? org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance() : argument_; } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder getArgumentOrBuilder() { return argument_ == null ? org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance() : argument_; } 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; } } if (hasArgument()) { if (!getArgument().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_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getArgument()); } 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_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getArgument()); } 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 (hasArgument() != other.hasArgument()) return false; if (hasArgument()) { if (!getArgument() .equals(other.getArgument())) 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(); } if (hasArgument()) { hash = (37 * hash) + ARGUMENT_FIELD_NUMBER; hash = (53 * hash) + getArgument().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(); getArgumentFieldBuilder(); } } @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); if (argumentBuilder_ == null) { argument_ = null; } else { argumentBuilder_.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_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_; if (((from_bitField0_ & 0x00000008) != 0)) { if (argumentBuilder_ == null) { result.argument_ = argument_; } else { result.argument_ = argumentBuilder_.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.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(); } if (other.hasArgument()) { mergeArgument(other.getArgument()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasParameter()) { if (!getParameter().isInitialized()) { return false; } } if (hasArgument()) { if (!getArgument().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; * @return Whether the parameter field is set. */ public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; * @return The parameter. */ 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; * @return Whether the operator field is set. */ @java.lang.Override public boolean hasOperator() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ComparisonInfo.OperatorType operator = 2; * @return The operator. */ @java.lang.Override 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; * @param value The operator to set. * @return This builder for chaining. */ 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; * @return This builder for chaining. */ public Builder clearOperator() { bitField0_ = (bitField0_ & ~0x00000002); operator_ = 1; onChanged(); return this; } private java.lang.Object value_ = ""; /** * optional string value = 3; * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string value = 3; * @return The value. */ 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; * @return The bytes for value. */ 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; * @param value The value to set. * @return This builder for chaining. */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; value_ = value; onChanged(); return this; } /** * optional string value = 3; * @return This builder for chaining. */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000004); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** * optional string value = 3; * @param value The bytes for value to set. * @return This builder for chaining. */ public Builder setValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; value_ = value; onChanged(); return this; } 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_; /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; * @return Whether the argument field is set. */ public boolean hasArgument() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; * @return The argument. */ public org.yamcs.protobuf.Mdb.ArgumentInfo getArgument() { if (argumentBuilder_ == null) { return argument_ == null ? org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance() : argument_; } else { return argumentBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; */ 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_ |= 0x00000008; return this; } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; */ public Builder setArgument( org.yamcs.protobuf.Mdb.ArgumentInfo.Builder builderForValue) { if (argumentBuilder_ == null) { argument_ = builderForValue.build(); onChanged(); } else { argumentBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; */ public Builder mergeArgument(org.yamcs.protobuf.Mdb.ArgumentInfo value) { if (argumentBuilder_ == null) { if (((bitField0_ & 0x00000008) != 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_ |= 0x00000008; return this; } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; */ public Builder clearArgument() { if (argumentBuilder_ == null) { argument_ = null; onChanged(); } else { argumentBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; */ public org.yamcs.protobuf.Mdb.ArgumentInfo.Builder getArgumentBuilder() { bitField0_ |= 0x00000008; onChanged(); return getArgumentFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; */ public org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder getArgumentOrBuilder() { if (argumentBuilder_ != null) { return argumentBuilder_.getMessageOrBuilder(); } else { return argument_ == null ? org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance() : argument_; } } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 4; */ 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_; } @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 { /** * optional string expression = 3; * @return Whether the expression field is set. */ boolean hasExpression(); /** * optional string expression = 3; * @return The expression. */ java.lang.String getExpression(); /** * optional string expression = 3; * @return The bytes for expression. */ com.google.protobuf.ByteString getExpressionBytes(); /** * optional int64 timeout = 2; * @return Whether the timeout field is set. */ boolean hasTimeout(); /** * optional int64 timeout = 2; * @return The timeout. */ 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() { expression_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TransmissionConstraintInfo(); } @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 16: { bitField0_ |= 0x00000002; timeout_ = input.readInt64(); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; expression_ = 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_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 EXPRESSION_FIELD_NUMBER = 3; private volatile java.lang.Object expression_; /** * optional string expression = 3; * @return Whether the expression field is set. */ @java.lang.Override public boolean hasExpression() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string expression = 3; * @return The expression. */ @java.lang.Override public java.lang.String getExpression() { java.lang.Object ref = expression_; 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()) { expression_ = s; } return s; } } /** * optional string expression = 3; * @return The bytes for expression. */ @java.lang.Override public com.google.protobuf.ByteString getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); expression_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIMEOUT_FIELD_NUMBER = 2; private long timeout_; /** * optional int64 timeout = 2; * @return Whether the timeout field is set. */ @java.lang.Override public boolean hasTimeout() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 timeout = 2; * @return The timeout. */ @java.lang.Override 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; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, timeout_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, expression_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, timeout_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, expression_); } 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 (hasExpression() != other.hasExpression()) return false; if (hasExpression()) { if (!getExpression() .equals(other.getExpression())) 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 (hasExpression()) { hash = (37 * hash) + EXPRESSION_FIELD_NUMBER; hash = (53 * hash) + getExpression().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) { } } @java.lang.Override public Builder clear() { super.clear(); expression_ = ""; bitField0_ = (bitField0_ & ~0x00000001); 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 (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.expression_ = expression_; if (((from_bitField0_ & 0x00000002) != 0)) { result.timeout_ = timeout_; 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.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 (other.hasExpression()) { bitField0_ |= 0x00000001; expression_ = other.expression_; onChanged(); } if (other.hasTimeout()) { setTimeout(other.getTimeout()); } 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.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.lang.Object expression_ = ""; /** * optional string expression = 3; * @return Whether the expression field is set. */ public boolean hasExpression() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string expression = 3; * @return The expression. */ public java.lang.String getExpression() { java.lang.Object ref = expression_; 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()) { expression_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string expression = 3; * @return The bytes for expression. */ public com.google.protobuf.ByteString getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); expression_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string expression = 3; * @param value The expression to set. * @return This builder for chaining. */ public Builder setExpression( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; expression_ = value; onChanged(); return this; } /** * optional string expression = 3; * @return This builder for chaining. */ public Builder clearExpression() { bitField0_ = (bitField0_ & ~0x00000001); expression_ = getDefaultInstance().getExpression(); onChanged(); return this; } /** * optional string expression = 3; * @param value The bytes for expression to set. * @return This builder for chaining. */ public Builder setExpressionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; expression_ = value; onChanged(); return this; } private long timeout_ ; /** * optional int64 timeout = 2; * @return Whether the timeout field is set. */ @java.lang.Override public boolean hasTimeout() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 timeout = 2; * @return The timeout. */ @java.lang.Override public long getTimeout() { return timeout_; } /** * optional int64 timeout = 2; * @param value The timeout to set. * @return This builder for chaining. */ public Builder setTimeout(long value) { bitField0_ |= 0x00000002; timeout_ = value; onChanged(); return this; } /** * optional int64 timeout = 2; * @return This builder for chaining. */ 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; * @return Whether the name field is set. */ boolean hasName(); /** * optional string name = 1; * @return The name. */ java.lang.String getName(); /** * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ boolean hasQualifiedName(); /** * optional string qualifiedName = 2; * @return The qualifiedName. */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 2; * @return The bytes for qualifiedName. */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ boolean hasShortDescription(); /** * optional string shortDescription = 3; * @return The shortDescription. */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; * @return The bytes for shortDescription. */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; * @return Whether the longDescription field is set. */ boolean hasLongDescription(); /** * optional string longDescription = 4; * @return The longDescription. */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; * @return The bytes for longDescription. */ 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; * @return Whether the baseCommand field is set. */ boolean hasBaseCommand(); /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; * @return The baseCommand. */ org.yamcs.protobuf.Mdb.CommandInfo getBaseCommand(); /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getBaseCommandOrBuilder(); /** * optional bool abstract = 7; * @return Whether the abstract field is set. */ boolean hasAbstract(); /** * optional bool abstract = 7; * @return The abstract. */ 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); /** *
     * Command significance.
     * This is the significance defined specifically for this command.
     * If unset, there may still be a significance inherited from
     * a base command.
     * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; * @return Whether the significance field is set. */ boolean hasSignificance(); /** *
     * Command significance.
     * This is the significance defined specifically for this command.
     * If unset, there may still be a significance inherited from
     * a base command.
     * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; * @return The significance. */ org.yamcs.protobuf.Mdb.SignificanceInfo getSignificance(); /** *
     * Command significance.
     * This is the significance defined specifically for this command.
     * If unset, there may still be a significance inherited from
     * a base command.
     * 
* * 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; * @return Whether the commandContainer field is set. */ boolean hasCommandContainer(); /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; * @return The commandContainer. */ 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); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ int getAncillaryDataCount(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ boolean containsAncillaryData( java.lang.String key); /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Deprecated java.util.Map getAncillaryData(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ java.util.Map getAncillaryDataMap(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key); /** *
     * Effective command significance.
     * This is the significance obtained by looking up the first defined
     * significance either in this command, or the nearest base command.
     * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; * @return Whether the effectiveSignificance field is set. */ boolean hasEffectiveSignificance(); /** *
     * Effective command significance.
     * This is the significance obtained by looking up the first defined
     * significance either in this command, or the nearest base command.
     * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; * @return The effectiveSignificance. */ org.yamcs.protobuf.Mdb.SignificanceInfo getEffectiveSignificance(); /** *
     * Effective command significance.
     * This is the significance obtained by looking up the first defined
     * significance either in this command, or the nearest base command.
     * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; */ org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder getEffectiveSignificanceOrBuilder(); } /** * 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CommandInfo(); } @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; } case 122: { if (!((mutable_bitField0_ & 0x00002000) != 0)) { ancillaryData_ = com.google.protobuf.MapField.newMapField( AncillaryDataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00002000; } com.google.protobuf.MapEntry ancillaryData__ = input.readMessage( AncillaryDataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); ancillaryData_.getMutableMap().put( ancillaryData__.getKey(), ancillaryData__.getValue()); break; } case 130: { org.yamcs.protobuf.Mdb.SignificanceInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000100) != 0)) { subBuilder = effectiveSignificance_.toBuilder(); } effectiveSignificance_ = input.readMessage(org.yamcs.protobuf.Mdb.SignificanceInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(effectiveSignificance_); effectiveSignificance_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; 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; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 15: return internalGetAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @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; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 2; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ @java.lang.Override public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; * @return The qualifiedName. */ @java.lang.Override 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; * @return The bytes for qualifiedName. */ @java.lang.Override 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; * @return Whether the shortDescription field is set. */ @java.lang.Override public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ @java.lang.Override 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; * @return The bytes for shortDescription. */ @java.lang.Override 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; * @return Whether the longDescription field is set. */ @java.lang.Override public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ @java.lang.Override 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; * @return The bytes for longDescription. */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override 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; * @return Whether the baseCommand field is set. */ @java.lang.Override public boolean hasBaseCommand() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; * @return The baseCommand. */ @java.lang.Override public org.yamcs.protobuf.Mdb.CommandInfo getBaseCommand() { return baseCommand_ == null ? org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance() : baseCommand_; } /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; */ @java.lang.Override 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; * @return Whether the abstract field is set. */ @java.lang.Override public boolean hasAbstract() { return ((bitField0_ & 0x00000020) != 0); } /** * optional bool abstract = 7; * @return The abstract. */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getArgumentList() { return argument_; } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ @java.lang.Override public java.util.List getArgumentOrBuilderList() { return argument_; } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ @java.lang.Override public int getArgumentCount() { return argument_.size(); } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentInfo getArgument(int index) { return argument_.get(index); } /** * repeated .yamcs.protobuf.mdb.ArgumentInfo argument = 8; */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getArgumentAssignmentList() { return argumentAssignment_; } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ @java.lang.Override public java.util.List getArgumentAssignmentOrBuilderList() { return argumentAssignment_; } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ @java.lang.Override public int getArgumentAssignmentCount() { return argumentAssignment_.size(); } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentAssignmentInfo getArgumentAssignment(int index) { return argumentAssignment_.get(index); } /** * repeated .yamcs.protobuf.mdb.ArgumentAssignmentInfo argumentAssignment = 9; */ @java.lang.Override 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_; /** *
     * Command significance.
     * This is the significance defined specifically for this command.
     * If unset, there may still be a significance inherited from
     * a base command.
     * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; * @return Whether the significance field is set. */ @java.lang.Override public boolean hasSignificance() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Command significance.
     * This is the significance defined specifically for this command.
     * If unset, there may still be a significance inherited from
     * a base command.
     * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; * @return The significance. */ @java.lang.Override public org.yamcs.protobuf.Mdb.SignificanceInfo getSignificance() { return significance_ == null ? org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance() : significance_; } /** *
     * Command significance.
     * This is the significance defined specifically for this command.
     * If unset, there may still be a significance inherited from
     * a base command.
     * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getConstraintList() { return constraint_; } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ @java.lang.Override public java.util.List getConstraintOrBuilderList() { return constraint_; } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ @java.lang.Override public int getConstraintCount() { return constraint_.size(); } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ @java.lang.Override public org.yamcs.protobuf.Mdb.TransmissionConstraintInfo getConstraint(int index) { return constraint_.get(index); } /** * repeated .yamcs.protobuf.mdb.TransmissionConstraintInfo constraint = 11; */ @java.lang.Override 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; * @return Whether the commandContainer field is set. */ @java.lang.Override public boolean hasCommandContainer() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; * @return The commandContainer. */ @java.lang.Override public org.yamcs.protobuf.Mdb.CommandContainerInfo getCommandContainer() { return commandContainer_ == null ? org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance() : commandContainer_; } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getVerifierList() { return verifier_; } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ @java.lang.Override public java.util.List getVerifierOrBuilderList() { return verifier_; } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ @java.lang.Override public int getVerifierCount() { return verifier_.size(); } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ @java.lang.Override public org.yamcs.protobuf.Mdb.VerifierInfo getVerifier(int index) { return verifier_.get(index); } /** * repeated .yamcs.protobuf.mdb.VerifierInfo verifier = 14; */ @java.lang.Override public org.yamcs.protobuf.Mdb.VerifierInfoOrBuilder getVerifierOrBuilder( int index) { return verifier_.get(index); } public static final int ANCILLARYDATA_FIELD_NUMBER = 15; private static final class AncillaryDataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CommandInfo_AncillaryDataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, org.yamcs.protobuf.Mdb.AncillaryDataInfo.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> ancillaryData_; private com.google.protobuf.MapField internalGetAncillaryData() { if (ancillaryData_ == null) { return com.google.protobuf.MapField.emptyMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } return ancillaryData_; } public int getAncillaryDataCount() { return internalGetAncillaryData().getMap().size(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ @java.lang.Override public boolean containsAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAncillaryData().getMap().containsKey(key); } /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAncillaryData() { return getAncillaryDataMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ @java.lang.Override public java.util.Map getAncillaryDataMap() { return internalGetAncillaryData().getMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int EFFECTIVESIGNIFICANCE_FIELD_NUMBER = 16; private org.yamcs.protobuf.Mdb.SignificanceInfo effectiveSignificance_; /** *
     * Effective command significance.
     * This is the significance obtained by looking up the first defined
     * significance either in this command, or the nearest base command.
     * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; * @return Whether the effectiveSignificance field is set. */ @java.lang.Override public boolean hasEffectiveSignificance() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * Effective command significance.
     * This is the significance obtained by looking up the first defined
     * significance either in this command, or the nearest base command.
     * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; * @return The effectiveSignificance. */ @java.lang.Override public org.yamcs.protobuf.Mdb.SignificanceInfo getEffectiveSignificance() { return effectiveSignificance_ == null ? org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance() : effectiveSignificance_; } /** *
     * Effective command significance.
     * This is the significance obtained by looking up the first defined
     * significance either in this command, or the nearest base command.
     * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder getEffectiveSignificanceOrBuilder() { return effectiveSignificance_ == null ? org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance() : effectiveSignificance_; } 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; } } 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)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAncillaryData(), AncillaryDataDefaultEntryHolder.defaultEntry, 15); if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(16, getEffectiveSignificance()); } 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)); } for (java.util.Map.Entry entry : internalGetAncillaryData().getMap().entrySet()) { com.google.protobuf.MapEntry ancillaryData__ = AncillaryDataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, ancillaryData__); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getEffectiveSignificance()); } 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 (!internalGetAncillaryData().equals( other.internalGetAncillaryData())) return false; if (hasEffectiveSignificance() != other.hasEffectiveSignificance()) return false; if (hasEffectiveSignificance()) { if (!getEffectiveSignificance() .equals(other.getEffectiveSignificance())) 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(); } if (!internalGetAncillaryData().getMap().isEmpty()) { hash = (37 * hash) + ANCILLARYDATA_FIELD_NUMBER; hash = (53 * hash) + internalGetAncillaryData().hashCode(); } if (hasEffectiveSignificance()) { hash = (37 * hash) + EFFECTIVESIGNIFICANCE_FIELD_NUMBER; hash = (53 * hash) + getEffectiveSignificance().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; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 15: return internalGetAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 15: return internalGetMutableAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @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(); getEffectiveSignificanceFieldBuilder(); } } @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(); } internalGetMutableAncillaryData().clear(); if (effectiveSignificanceBuilder_ == null) { effectiveSignificance_ = null; } else { effectiveSignificanceBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00004000); 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.ancillaryData_ = internalGetAncillaryData(); result.ancillaryData_.makeImmutable(); if (((from_bitField0_ & 0x00004000) != 0)) { if (effectiveSignificanceBuilder_ == null) { result.effectiveSignificance_ = effectiveSignificance_; } else { result.effectiveSignificance_ = effectiveSignificanceBuilder_.build(); } to_bitField0_ |= 0x00000100; } 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_); } } } internalGetMutableAncillaryData().mergeFrom( other.internalGetAncillaryData()); if (other.hasEffectiveSignificance()) { mergeEffectiveSignificance(other.getEffectiveSignificance()); } 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; } } 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; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; * @return The qualifiedName. */ 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; * @return The bytes for qualifiedName. */ 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; * @param value The qualifiedName to set. * @return This builder for chaining. */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 2; * @return This builder for chaining. */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 2; * @param value The bytes for qualifiedName to set. * @return This builder for chaining. */ 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; * @return Whether the shortDescription field is set. */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ 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; * @return The bytes for shortDescription. */ 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; * @param value The shortDescription to set. * @return This builder for chaining. */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; * @return This builder for chaining. */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; * @param value The bytes for shortDescription to set. * @return This builder for chaining. */ 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; * @return Whether the longDescription field is set. */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ 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; * @return The bytes for longDescription. */ 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; * @param value The longDescription to set. * @return This builder for chaining. */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; * @return This builder for chaining. */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; * @param value The bytes for longDescription to set. * @return This builder for chaining. */ 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; * @return Whether the baseCommand field is set. */ public boolean hasBaseCommand() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.CommandInfo baseCommand = 6; * @return The baseCommand. */ 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; * @return Whether the abstract field is set. */ @java.lang.Override public boolean hasAbstract() { return ((bitField0_ & 0x00000040) != 0); } /** * optional bool abstract = 7; * @return The abstract. */ @java.lang.Override public boolean getAbstract() { return abstract_; } /** * optional bool abstract = 7; * @param value The abstract to set. * @return This builder for chaining. */ public Builder setAbstract(boolean value) { bitField0_ |= 0x00000040; abstract_ = value; onChanged(); return this; } /** * optional bool abstract = 7; * @return This builder for chaining. */ 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_; /** *
       * Command significance.
       * This is the significance defined specifically for this command.
       * If unset, there may still be a significance inherited from
       * a base command.
       * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; * @return Whether the significance field is set. */ public boolean hasSignificance() { return ((bitField0_ & 0x00000200) != 0); } /** *
       * Command significance.
       * This is the significance defined specifically for this command.
       * If unset, there may still be a significance inherited from
       * a base command.
       * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; * @return The significance. */ public org.yamcs.protobuf.Mdb.SignificanceInfo getSignificance() { if (significanceBuilder_ == null) { return significance_ == null ? org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance() : significance_; } else { return significanceBuilder_.getMessage(); } } /** *
       * Command significance.
       * This is the significance defined specifically for this command.
       * If unset, there may still be a significance inherited from
       * a base command.
       * 
* * 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; } /** *
       * Command significance.
       * This is the significance defined specifically for this command.
       * If unset, there may still be a significance inherited from
       * a base command.
       * 
* * 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; } /** *
       * Command significance.
       * This is the significance defined specifically for this command.
       * If unset, there may still be a significance inherited from
       * a base command.
       * 
* * 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; } /** *
       * Command significance.
       * This is the significance defined specifically for this command.
       * If unset, there may still be a significance inherited from
       * a base command.
       * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ public Builder clearSignificance() { if (significanceBuilder_ == null) { significance_ = null; onChanged(); } else { significanceBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); return this; } /** *
       * Command significance.
       * This is the significance defined specifically for this command.
       * If unset, there may still be a significance inherited from
       * a base command.
       * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo significance = 10; */ public org.yamcs.protobuf.Mdb.SignificanceInfo.Builder getSignificanceBuilder() { bitField0_ |= 0x00000200; onChanged(); return getSignificanceFieldBuilder().getBuilder(); } /** *
       * Command significance.
       * This is the significance defined specifically for this command.
       * If unset, there may still be a significance inherited from
       * a base command.
       * 
* * 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_; } } /** *
       * Command significance.
       * This is the significance defined specifically for this command.
       * If unset, there may still be a significance inherited from
       * a base command.
       * 
* * 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; * @return Whether the commandContainer field is set. */ public boolean hasCommandContainer() { return ((bitField0_ & 0x00000800) != 0); } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo commandContainer = 13; * @return The commandContainer. */ 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_; } private com.google.protobuf.MapField< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> ancillaryData_; private com.google.protobuf.MapField internalGetAncillaryData() { if (ancillaryData_ == null) { return com.google.protobuf.MapField.emptyMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } return ancillaryData_; } private com.google.protobuf.MapField internalGetMutableAncillaryData() { onChanged();; if (ancillaryData_ == null) { ancillaryData_ = com.google.protobuf.MapField.newMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } if (!ancillaryData_.isMutable()) { ancillaryData_ = ancillaryData_.copy(); } return ancillaryData_; } public int getAncillaryDataCount() { return internalGetAncillaryData().getMap().size(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ @java.lang.Override public boolean containsAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAncillaryData().getMap().containsKey(key); } /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAncillaryData() { return getAncillaryDataMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ @java.lang.Override public java.util.Map getAncillaryDataMap() { return internalGetAncillaryData().getMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAncillaryData() { internalGetMutableAncillaryData().getMutableMap() .clear(); return this; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ public Builder removeAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAncillaryData().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAncillaryData() { return internalGetMutableAncillaryData().getMutableMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ public Builder putAncillaryData( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAncillaryData().getMutableMap() .put(key, value); return this; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 15; */ public Builder putAllAncillaryData( java.util.Map values) { internalGetMutableAncillaryData().getMutableMap() .putAll(values); return this; } private org.yamcs.protobuf.Mdb.SignificanceInfo effectiveSignificance_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.SignificanceInfo, org.yamcs.protobuf.Mdb.SignificanceInfo.Builder, org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder> effectiveSignificanceBuilder_; /** *
       * Effective command significance.
       * This is the significance obtained by looking up the first defined
       * significance either in this command, or the nearest base command.
       * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; * @return Whether the effectiveSignificance field is set. */ public boolean hasEffectiveSignificance() { return ((bitField0_ & 0x00004000) != 0); } /** *
       * Effective command significance.
       * This is the significance obtained by looking up the first defined
       * significance either in this command, or the nearest base command.
       * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; * @return The effectiveSignificance. */ public org.yamcs.protobuf.Mdb.SignificanceInfo getEffectiveSignificance() { if (effectiveSignificanceBuilder_ == null) { return effectiveSignificance_ == null ? org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance() : effectiveSignificance_; } else { return effectiveSignificanceBuilder_.getMessage(); } } /** *
       * Effective command significance.
       * This is the significance obtained by looking up the first defined
       * significance either in this command, or the nearest base command.
       * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; */ public Builder setEffectiveSignificance(org.yamcs.protobuf.Mdb.SignificanceInfo value) { if (effectiveSignificanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } effectiveSignificance_ = value; onChanged(); } else { effectiveSignificanceBuilder_.setMessage(value); } bitField0_ |= 0x00004000; return this; } /** *
       * Effective command significance.
       * This is the significance obtained by looking up the first defined
       * significance either in this command, or the nearest base command.
       * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; */ public Builder setEffectiveSignificance( org.yamcs.protobuf.Mdb.SignificanceInfo.Builder builderForValue) { if (effectiveSignificanceBuilder_ == null) { effectiveSignificance_ = builderForValue.build(); onChanged(); } else { effectiveSignificanceBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00004000; return this; } /** *
       * Effective command significance.
       * This is the significance obtained by looking up the first defined
       * significance either in this command, or the nearest base command.
       * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; */ public Builder mergeEffectiveSignificance(org.yamcs.protobuf.Mdb.SignificanceInfo value) { if (effectiveSignificanceBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0) && effectiveSignificance_ != null && effectiveSignificance_ != org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance()) { effectiveSignificance_ = org.yamcs.protobuf.Mdb.SignificanceInfo.newBuilder(effectiveSignificance_).mergeFrom(value).buildPartial(); } else { effectiveSignificance_ = value; } onChanged(); } else { effectiveSignificanceBuilder_.mergeFrom(value); } bitField0_ |= 0x00004000; return this; } /** *
       * Effective command significance.
       * This is the significance obtained by looking up the first defined
       * significance either in this command, or the nearest base command.
       * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; */ public Builder clearEffectiveSignificance() { if (effectiveSignificanceBuilder_ == null) { effectiveSignificance_ = null; onChanged(); } else { effectiveSignificanceBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00004000); return this; } /** *
       * Effective command significance.
       * This is the significance obtained by looking up the first defined
       * significance either in this command, or the nearest base command.
       * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; */ public org.yamcs.protobuf.Mdb.SignificanceInfo.Builder getEffectiveSignificanceBuilder() { bitField0_ |= 0x00004000; onChanged(); return getEffectiveSignificanceFieldBuilder().getBuilder(); } /** *
       * Effective command significance.
       * This is the significance obtained by looking up the first defined
       * significance either in this command, or the nearest base command.
       * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; */ public org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder getEffectiveSignificanceOrBuilder() { if (effectiveSignificanceBuilder_ != null) { return effectiveSignificanceBuilder_.getMessageOrBuilder(); } else { return effectiveSignificance_ == null ? org.yamcs.protobuf.Mdb.SignificanceInfo.getDefaultInstance() : effectiveSignificance_; } } /** *
       * Effective command significance.
       * This is the significance obtained by looking up the first defined
       * significance either in this command, or the nearest base command.
       * 
* * optional .yamcs.protobuf.mdb.SignificanceInfo effectiveSignificance = 16; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.SignificanceInfo, org.yamcs.protobuf.Mdb.SignificanceInfo.Builder, org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder> getEffectiveSignificanceFieldBuilder() { if (effectiveSignificanceBuilder_ == null) { effectiveSignificanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.SignificanceInfo, org.yamcs.protobuf.Mdb.SignificanceInfo.Builder, org.yamcs.protobuf.Mdb.SignificanceInfoOrBuilder>( getEffectiveSignificance(), getParentForChildren(), isClean()); effectiveSignificance_ = null; } return effectiveSignificanceBuilder_; } @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; * @return Whether the stage field is set. */ boolean hasStage(); /** * optional string stage = 1; * @return The stage. */ java.lang.String getStage(); /** * optional string stage = 1; * @return The bytes for stage. */ com.google.protobuf.ByteString getStageBytes(); /** *
     * Container update that is checked
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; * @return Whether the container field is set. */ boolean hasContainer(); /** *
     * Container update that is checked
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; * @return The container. */ org.yamcs.protobuf.Mdb.ContainerInfo getContainer(); /** *
     * Container update that is checked
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder(); /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; * @return Whether the algorithm field is set. */ boolean hasAlgorithm(); /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; * @return The algorithm. */ org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm(); /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder(); /** *
     * What action to take when a check succeeds
     * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; * @return Whether the onSuccess field is set. */ boolean hasOnSuccess(); /** *
     * What action to take when a check succeeds
     * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; * @return The onSuccess. */ org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType getOnSuccess(); /** *
     * What action to take when a check fails
     * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; * @return Whether the onFail field is set. */ boolean hasOnFail(); /** *
     * What action to take when a check fails
     * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; * @return The onFail. */ org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType getOnFail(); /** *
     * What action to take when a check times out
     * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; * @return Whether the onTimeout field is set. */ boolean hasOnTimeout(); /** *
     * What action to take when a check times out
     * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; * @return The onTimeout. */ org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType getOnTimeout(); /** *
     * Time window during which a check is executed
     * 
* * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; * @return Whether the checkWindow field is set. */ boolean hasCheckWindow(); /** *
     * Time window during which a check is executed
     * 
* * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; * @return The checkWindow. */ org.yamcs.protobuf.Mdb.CheckWindowInfo getCheckWindow(); /** *
     * Time window during which a check is executed
     * 
* * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ org.yamcs.protobuf.Mdb.CheckWindowInfoOrBuilder getCheckWindowOrBuilder(); /** *
     * Expression used to check this verifier
     * 
* * optional string expression = 8; * @return Whether the expression field is set. */ boolean hasExpression(); /** *
     * Expression used to check this verifier
     * 
* * optional string expression = 8; * @return The expression. */ java.lang.String getExpression(); /** *
     * Expression used to check this verifier
     * 
* * optional string expression = 8; * @return The bytes for expression. */ com.google.protobuf.ByteString getExpressionBytes(); } /** * 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; expression_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new VerifierInfo(); } @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; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; expression_ = 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_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; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TerminationActionType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static 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; * @return Whether the stage field is set. */ @java.lang.Override public boolean hasStage() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string stage = 1; * @return The stage. */ @java.lang.Override 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; * @return The bytes for stage. */ @java.lang.Override 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_; /** *
     * Container update that is checked
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; * @return Whether the container field is set. */ @java.lang.Override public boolean hasContainer() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Container update that is checked
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; * @return The container. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ContainerInfo getContainer() { return container_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : container_; } /** *
     * Container update that is checked
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ @java.lang.Override 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; * @return Whether the algorithm field is set. */ @java.lang.Override public boolean hasAlgorithm() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; * @return The algorithm. */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm() { return algorithm_ == null ? org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance() : algorithm_; } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; */ @java.lang.Override 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_; /** *
     * What action to take when a check succeeds
     * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; * @return Whether the onSuccess field is set. */ @java.lang.Override public boolean hasOnSuccess() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * What action to take when a check succeeds
     * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; * @return The onSuccess. */ @java.lang.Override 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_; /** *
     * What action to take when a check fails
     * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; * @return Whether the onFail field is set. */ @java.lang.Override public boolean hasOnFail() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * What action to take when a check fails
     * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; * @return The onFail. */ @java.lang.Override 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_; /** *
     * What action to take when a check times out
     * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; * @return Whether the onTimeout field is set. */ @java.lang.Override public boolean hasOnTimeout() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * What action to take when a check times out
     * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; * @return The onTimeout. */ @java.lang.Override 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_; /** *
     * Time window during which a check is executed
     * 
* * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; * @return Whether the checkWindow field is set. */ @java.lang.Override public boolean hasCheckWindow() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Time window during which a check is executed
     * 
* * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; * @return The checkWindow. */ @java.lang.Override public org.yamcs.protobuf.Mdb.CheckWindowInfo getCheckWindow() { return checkWindow_ == null ? org.yamcs.protobuf.Mdb.CheckWindowInfo.getDefaultInstance() : checkWindow_; } /** *
     * Time window during which a check is executed
     * 
* * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ @java.lang.Override public org.yamcs.protobuf.Mdb.CheckWindowInfoOrBuilder getCheckWindowOrBuilder() { return checkWindow_ == null ? org.yamcs.protobuf.Mdb.CheckWindowInfo.getDefaultInstance() : checkWindow_; } public static final int EXPRESSION_FIELD_NUMBER = 8; private volatile java.lang.Object expression_; /** *
     * Expression used to check this verifier
     * 
* * optional string expression = 8; * @return Whether the expression field is set. */ @java.lang.Override public boolean hasExpression() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Expression used to check this verifier
     * 
* * optional string expression = 8; * @return The expression. */ @java.lang.Override public java.lang.String getExpression() { java.lang.Object ref = expression_; 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()) { expression_ = s; } return s; } } /** *
     * Expression used to check this verifier
     * 
* * optional string expression = 8; * @return The bytes for expression. */ @java.lang.Override public com.google.protobuf.ByteString getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); expression_ = 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 (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()); } if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, expression_); } 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()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, expression_); } 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 (hasExpression() != other.hasExpression()) return false; if (hasExpression()) { if (!getExpression() .equals(other.getExpression())) 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(); } if (hasExpression()) { hash = (37 * hash) + EXPRESSION_FIELD_NUMBER; hash = (53 * hash) + getExpression().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); expression_ = ""; 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_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; } if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.expression_ = expression_; 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()); } if (other.hasExpression()) { bitField0_ |= 0x00000080; expression_ = other.expression_; onChanged(); } 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; * @return Whether the stage field is set. */ public boolean hasStage() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string stage = 1; * @return The stage. */ 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; * @return The bytes for stage. */ 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; * @param value The stage to set. * @return This builder for chaining. */ public Builder setStage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; stage_ = value; onChanged(); return this; } /** * optional string stage = 1; * @return This builder for chaining. */ public Builder clearStage() { bitField0_ = (bitField0_ & ~0x00000001); stage_ = getDefaultInstance().getStage(); onChanged(); return this; } /** * optional string stage = 1; * @param value The bytes for stage to set. * @return This builder for chaining. */ 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_; /** *
       * Container update that is checked
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; * @return Whether the container field is set. */ public boolean hasContainer() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Container update that is checked
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; * @return The container. */ public org.yamcs.protobuf.Mdb.ContainerInfo getContainer() { if (containerBuilder_ == null) { return container_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : container_; } else { return containerBuilder_.getMessage(); } } /** *
       * Container update that is checked
       * 
* * 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; } /** *
       * Container update that is checked
       * 
* * 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; } /** *
       * Container update that is checked
       * 
* * 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; } /** *
       * Container update that is checked
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder clearContainer() { if (containerBuilder_ == null) { container_ = null; onChanged(); } else { containerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       * Container update that is checked
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder getContainerBuilder() { bitField0_ |= 0x00000002; onChanged(); return getContainerFieldBuilder().getBuilder(); } /** *
       * Container update that is checked
       * 
* * 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_; } } /** *
       * Container update that is checked
       * 
* * 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; * @return Whether the algorithm field is set. */ public boolean hasAlgorithm() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 3; * @return The algorithm. */ 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; /** *
       * What action to take when a check succeeds
       * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; * @return Whether the onSuccess field is set. */ @java.lang.Override public boolean hasOnSuccess() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * What action to take when a check succeeds
       * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; * @return The onSuccess. */ @java.lang.Override 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; } /** *
       * What action to take when a check succeeds
       * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; * @param value The onSuccess to set. * @return This builder for chaining. */ public Builder setOnSuccess(org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; onSuccess_ = value.getNumber(); onChanged(); return this; } /** *
       * What action to take when a check succeeds
       * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onSuccess = 4; * @return This builder for chaining. */ public Builder clearOnSuccess() { bitField0_ = (bitField0_ & ~0x00000008); onSuccess_ = 1; onChanged(); return this; } private int onFail_ = 1; /** *
       * What action to take when a check fails
       * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; * @return Whether the onFail field is set. */ @java.lang.Override public boolean hasOnFail() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * What action to take when a check fails
       * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; * @return The onFail. */ @java.lang.Override 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; } /** *
       * What action to take when a check fails
       * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; * @param value The onFail to set. * @return This builder for chaining. */ public Builder setOnFail(org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; onFail_ = value.getNumber(); onChanged(); return this; } /** *
       * What action to take when a check fails
       * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onFail = 5; * @return This builder for chaining. */ public Builder clearOnFail() { bitField0_ = (bitField0_ & ~0x00000010); onFail_ = 1; onChanged(); return this; } private int onTimeout_ = 1; /** *
       * What action to take when a check times out
       * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; * @return Whether the onTimeout field is set. */ @java.lang.Override public boolean hasOnTimeout() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * What action to take when a check times out
       * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; * @return The onTimeout. */ @java.lang.Override 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; } /** *
       * What action to take when a check times out
       * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; * @param value The onTimeout to set. * @return This builder for chaining. */ public Builder setOnTimeout(org.yamcs.protobuf.Mdb.VerifierInfo.TerminationActionType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; onTimeout_ = value.getNumber(); onChanged(); return this; } /** *
       * What action to take when a check times out
       * 
* * optional .yamcs.protobuf.mdb.VerifierInfo.TerminationActionType onTimeout = 6; * @return This builder for chaining. */ 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_; /** *
       * Time window during which a check is executed
       * 
* * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; * @return Whether the checkWindow field is set. */ public boolean hasCheckWindow() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * Time window during which a check is executed
       * 
* * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; * @return The checkWindow. */ public org.yamcs.protobuf.Mdb.CheckWindowInfo getCheckWindow() { if (checkWindowBuilder_ == null) { return checkWindow_ == null ? org.yamcs.protobuf.Mdb.CheckWindowInfo.getDefaultInstance() : checkWindow_; } else { return checkWindowBuilder_.getMessage(); } } /** *
       * Time window during which a check is executed
       * 
* * 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; } /** *
       * Time window during which a check is executed
       * 
* * 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; } /** *
       * Time window during which a check is executed
       * 
* * 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; } /** *
       * Time window during which a check is executed
       * 
* * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ public Builder clearCheckWindow() { if (checkWindowBuilder_ == null) { checkWindow_ = null; onChanged(); } else { checkWindowBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** *
       * Time window during which a check is executed
       * 
* * optional .yamcs.protobuf.mdb.CheckWindowInfo checkWindow = 7; */ public org.yamcs.protobuf.Mdb.CheckWindowInfo.Builder getCheckWindowBuilder() { bitField0_ |= 0x00000040; onChanged(); return getCheckWindowFieldBuilder().getBuilder(); } /** *
       * Time window during which a check is executed
       * 
* * 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_; } } /** *
       * Time window during which a check is executed
       * 
* * 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_; } private java.lang.Object expression_ = ""; /** *
       * Expression used to check this verifier
       * 
* * optional string expression = 8; * @return Whether the expression field is set. */ public boolean hasExpression() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Expression used to check this verifier
       * 
* * optional string expression = 8; * @return The expression. */ public java.lang.String getExpression() { java.lang.Object ref = expression_; 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()) { expression_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Expression used to check this verifier
       * 
* * optional string expression = 8; * @return The bytes for expression. */ public com.google.protobuf.ByteString getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); expression_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Expression used to check this verifier
       * 
* * optional string expression = 8; * @param value The expression to set. * @return This builder for chaining. */ public Builder setExpression( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; expression_ = value; onChanged(); return this; } /** *
       * Expression used to check this verifier
       * 
* * optional string expression = 8; * @return This builder for chaining. */ public Builder clearExpression() { bitField0_ = (bitField0_ & ~0x00000080); expression_ = getDefaultInstance().getExpression(); onChanged(); return this; } /** *
       * Expression used to check this verifier
       * 
* * optional string expression = 8; * @param value The bytes for expression to set. * @return This builder for chaining. */ public Builder setExpressionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; expression_ = 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.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 { /** *
     * Delay in milliseconds before starting to check
     * 
* * optional int64 timeToStartChecking = 1; * @return Whether the timeToStartChecking field is set. */ boolean hasTimeToStartChecking(); /** *
     * Delay in milliseconds before starting to check
     * 
* * optional int64 timeToStartChecking = 1; * @return The timeToStartChecking. */ long getTimeToStartChecking(); /** *
     * Duration in milliseconds of the check window
     * 
* * optional int64 timeToStopChecking = 2; * @return Whether the timeToStopChecking field is set. */ boolean hasTimeToStopChecking(); /** *
     * Duration in milliseconds of the check window
     * 
* * optional int64 timeToStopChecking = 2; * @return The timeToStopChecking. */ long getTimeToStopChecking(); /** *
     * Reference time for starting the check window
     * 
* * optional string relativeTo = 3; * @return Whether the relativeTo field is set. */ boolean hasRelativeTo(); /** *
     * Reference time for starting the check window
     * 
* * optional string relativeTo = 3; * @return The relativeTo. */ java.lang.String getRelativeTo(); /** *
     * Reference time for starting the check window
     * 
* * optional string relativeTo = 3; * @return The bytes for relativeTo. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CheckWindowInfo(); } @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_; /** *
     * Delay in milliseconds before starting to check
     * 
* * optional int64 timeToStartChecking = 1; * @return Whether the timeToStartChecking field is set. */ @java.lang.Override public boolean hasTimeToStartChecking() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Delay in milliseconds before starting to check
     * 
* * optional int64 timeToStartChecking = 1; * @return The timeToStartChecking. */ @java.lang.Override public long getTimeToStartChecking() { return timeToStartChecking_; } public static final int TIMETOSTOPCHECKING_FIELD_NUMBER = 2; private long timeToStopChecking_; /** *
     * Duration in milliseconds of the check window
     * 
* * optional int64 timeToStopChecking = 2; * @return Whether the timeToStopChecking field is set. */ @java.lang.Override public boolean hasTimeToStopChecking() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Duration in milliseconds of the check window
     * 
* * optional int64 timeToStopChecking = 2; * @return The timeToStopChecking. */ @java.lang.Override public long getTimeToStopChecking() { return timeToStopChecking_; } public static final int RELATIVETO_FIELD_NUMBER = 3; private volatile java.lang.Object relativeTo_; /** *
     * Reference time for starting the check window
     * 
* * optional string relativeTo = 3; * @return Whether the relativeTo field is set. */ @java.lang.Override public boolean hasRelativeTo() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Reference time for starting the check window
     * 
* * optional string relativeTo = 3; * @return The relativeTo. */ @java.lang.Override 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; } } /** *
     * Reference time for starting the check window
     * 
* * optional string relativeTo = 3; * @return The bytes for relativeTo. */ @java.lang.Override 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_ ; /** *
       * Delay in milliseconds before starting to check
       * 
* * optional int64 timeToStartChecking = 1; * @return Whether the timeToStartChecking field is set. */ @java.lang.Override public boolean hasTimeToStartChecking() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Delay in milliseconds before starting to check
       * 
* * optional int64 timeToStartChecking = 1; * @return The timeToStartChecking. */ @java.lang.Override public long getTimeToStartChecking() { return timeToStartChecking_; } /** *
       * Delay in milliseconds before starting to check
       * 
* * optional int64 timeToStartChecking = 1; * @param value The timeToStartChecking to set. * @return This builder for chaining. */ public Builder setTimeToStartChecking(long value) { bitField0_ |= 0x00000001; timeToStartChecking_ = value; onChanged(); return this; } /** *
       * Delay in milliseconds before starting to check
       * 
* * optional int64 timeToStartChecking = 1; * @return This builder for chaining. */ public Builder clearTimeToStartChecking() { bitField0_ = (bitField0_ & ~0x00000001); timeToStartChecking_ = 0L; onChanged(); return this; } private long timeToStopChecking_ ; /** *
       * Duration in milliseconds of the check window
       * 
* * optional int64 timeToStopChecking = 2; * @return Whether the timeToStopChecking field is set. */ @java.lang.Override public boolean hasTimeToStopChecking() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Duration in milliseconds of the check window
       * 
* * optional int64 timeToStopChecking = 2; * @return The timeToStopChecking. */ @java.lang.Override public long getTimeToStopChecking() { return timeToStopChecking_; } /** *
       * Duration in milliseconds of the check window
       * 
* * optional int64 timeToStopChecking = 2; * @param value The timeToStopChecking to set. * @return This builder for chaining. */ public Builder setTimeToStopChecking(long value) { bitField0_ |= 0x00000002; timeToStopChecking_ = value; onChanged(); return this; } /** *
       * Duration in milliseconds of the check window
       * 
* * optional int64 timeToStopChecking = 2; * @return This builder for chaining. */ public Builder clearTimeToStopChecking() { bitField0_ = (bitField0_ & ~0x00000002); timeToStopChecking_ = 0L; onChanged(); return this; } private java.lang.Object relativeTo_ = ""; /** *
       * Reference time for starting the check window
       * 
* * optional string relativeTo = 3; * @return Whether the relativeTo field is set. */ public boolean hasRelativeTo() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Reference time for starting the check window
       * 
* * optional string relativeTo = 3; * @return The relativeTo. */ 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; } } /** *
       * Reference time for starting the check window
       * 
* * optional string relativeTo = 3; * @return The bytes for relativeTo. */ 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; } } /** *
       * Reference time for starting the check window
       * 
* * optional string relativeTo = 3; * @param value The relativeTo to set. * @return This builder for chaining. */ public Builder setRelativeTo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; relativeTo_ = value; onChanged(); return this; } /** *
       * Reference time for starting the check window
       * 
* * optional string relativeTo = 3; * @return This builder for chaining. */ public Builder clearRelativeTo() { bitField0_ = (bitField0_ & ~0x00000004); relativeTo_ = getDefaultInstance().getRelativeTo(); onChanged(); return this; } /** *
       * Reference time for starting the check window
       * 
* * optional string relativeTo = 3; * @param value The bytes for relativeTo to set. * @return This builder for chaining. */ 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; * @return Whether the fixedCount field is set. */ boolean hasFixedCount(); /** * optional int64 fixedCount = 1; * @return The fixedCount. */ long getFixedCount(); /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; * @return Whether the dynamicCount field is set. */ boolean hasDynamicCount(); /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; * @return The dynamicCount. */ org.yamcs.protobuf.Mdb.ParameterInfo getDynamicCount(); /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getDynamicCountOrBuilder(); /** * optional int32 bitsBetween = 3; * @return Whether the bitsBetween field is set. */ boolean hasBitsBetween(); /** * optional int32 bitsBetween = 3; * @return The bitsBetween. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new 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; * @return Whether the fixedCount field is set. */ @java.lang.Override public boolean hasFixedCount() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 fixedCount = 1; * @return The fixedCount. */ @java.lang.Override 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; * @return Whether the dynamicCount field is set. */ @java.lang.Override public boolean hasDynamicCount() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; * @return The dynamicCount. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getDynamicCount() { return dynamicCount_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : dynamicCount_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; */ @java.lang.Override 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; * @return Whether the bitsBetween field is set. */ @java.lang.Override public boolean hasBitsBetween() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 bitsBetween = 3; * @return The bitsBetween. */ @java.lang.Override 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; * @return Whether the fixedCount field is set. */ @java.lang.Override public boolean hasFixedCount() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 fixedCount = 1; * @return The fixedCount. */ @java.lang.Override public long getFixedCount() { return fixedCount_; } /** * optional int64 fixedCount = 1; * @param value The fixedCount to set. * @return This builder for chaining. */ public Builder setFixedCount(long value) { bitField0_ |= 0x00000001; fixedCount_ = value; onChanged(); return this; } /** * optional int64 fixedCount = 1; * @return This builder for chaining. */ 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; * @return Whether the dynamicCount field is set. */ public boolean hasDynamicCount() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo dynamicCount = 2; * @return The dynamicCount. */ 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; * @return Whether the bitsBetween field is set. */ @java.lang.Override public boolean hasBitsBetween() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 bitsBetween = 3; * @return The bitsBetween. */ @java.lang.Override public int getBitsBetween() { return bitsBetween_; } /** * optional int32 bitsBetween = 3; * @param value The bitsBetween to set. * @return This builder for chaining. */ public Builder setBitsBetween(int value) { bitField0_ |= 0x00000004; bitsBetween_ = value; onChanged(); return this; } /** * optional int32 bitsBetween = 3; * @return This builder for chaining. */ 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; * @return Whether the locationInBits field is set. */ boolean hasLocationInBits(); /** * optional int32 locationInBits = 1; * @return The locationInBits. */ int getLocationInBits(); /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; * @return Whether the referenceLocation field is set. */ boolean hasReferenceLocation(); /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; * @return The referenceLocation. */ org.yamcs.protobuf.Mdb.SequenceEntryInfo.ReferenceLocationType getReferenceLocation(); /** *
     * For use in sequence containers
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; * @return Whether the container field is set. */ boolean hasContainer(); /** *
     * For use in sequence containers
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; * @return The container. */ 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; * @return Whether the parameter field is set. */ boolean hasParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; * @return The parameter. */ 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; * @return Whether the argument field is set. */ boolean hasArgument(); /** *
     * For use in command containers
     * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; * @return The argument. */ 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; * @return Whether the fixedValue field is set. */ boolean hasFixedValue(); /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; * @return The fixedValue. */ 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; * @return Whether the repeat field is set. */ boolean hasRepeat(); /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; * @return The repeat. */ org.yamcs.protobuf.Mdb.RepeatInfo getRepeat(); /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ org.yamcs.protobuf.Mdb.RepeatInfoOrBuilder getRepeatOrBuilder(); /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; * @return Whether the indirectParameterRef field is set. */ boolean hasIndirectParameterRef(); /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; * @return The indirectParameterRef. */ org.yamcs.protobuf.Mdb.IndirectParameterRefInfo getIndirectParameterRef(); /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; */ org.yamcs.protobuf.Mdb.IndirectParameterRefInfoOrBuilder getIndirectParameterRefOrBuilder(); } /** * 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SequenceEntryInfo(); } @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; } case 66: { org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000080) != 0)) { subBuilder = indirectParameterRef_.toBuilder(); } indirectParameterRef_ = input.readMessage(org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(indirectParameterRef_); indirectParameterRef_ = 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 { 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; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ReferenceLocationType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static 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; * @return Whether the locationInBits field is set. */ @java.lang.Override public boolean hasLocationInBits() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 locationInBits = 1; * @return The locationInBits. */ @java.lang.Override public int getLocationInBits() { return locationInBits_; } public static final int REFERENCELOCATION_FIELD_NUMBER = 2; private int referenceLocation_; /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; * @return Whether the referenceLocation field is set. */ @java.lang.Override public boolean hasReferenceLocation() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; * @return The referenceLocation. */ @java.lang.Override 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; * @return Whether the container field is set. */ @java.lang.Override public boolean hasContainer() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * For use in sequence containers
     * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; * @return The container. */ @java.lang.Override 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; */ @java.lang.Override 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; * @return Whether the parameter field is set. */ @java.lang.Override public boolean hasParameter() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; * @return The parameter. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ @java.lang.Override 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; * @return Whether the argument field is set. */ @java.lang.Override public boolean hasArgument() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * For use in command containers
     * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; * @return The argument. */ @java.lang.Override 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; */ @java.lang.Override 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; * @return Whether the fixedValue field is set. */ @java.lang.Override public boolean hasFixedValue() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; * @return The fixedValue. */ @java.lang.Override public org.yamcs.protobuf.Mdb.FixedValueInfo getFixedValue() { return fixedValue_ == null ? org.yamcs.protobuf.Mdb.FixedValueInfo.getDefaultInstance() : fixedValue_; } /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; */ @java.lang.Override 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; * @return Whether the repeat field is set. */ @java.lang.Override public boolean hasRepeat() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; * @return The repeat. */ @java.lang.Override public org.yamcs.protobuf.Mdb.RepeatInfo getRepeat() { return repeat_ == null ? org.yamcs.protobuf.Mdb.RepeatInfo.getDefaultInstance() : repeat_; } /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.RepeatInfoOrBuilder getRepeatOrBuilder() { return repeat_ == null ? org.yamcs.protobuf.Mdb.RepeatInfo.getDefaultInstance() : repeat_; } public static final int INDIRECTPARAMETERREF_FIELD_NUMBER = 8; private org.yamcs.protobuf.Mdb.IndirectParameterRefInfo indirectParameterRef_; /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; * @return Whether the indirectParameterRef field is set. */ @java.lang.Override public boolean hasIndirectParameterRef() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; * @return The indirectParameterRef. */ @java.lang.Override public org.yamcs.protobuf.Mdb.IndirectParameterRefInfo getIndirectParameterRef() { return indirectParameterRef_ == null ? org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.getDefaultInstance() : indirectParameterRef_; } /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; */ @java.lang.Override public org.yamcs.protobuf.Mdb.IndirectParameterRefInfoOrBuilder getIndirectParameterRefOrBuilder() { return indirectParameterRef_ == null ? org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.getDefaultInstance() : indirectParameterRef_; } 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; } } if (hasIndirectParameterRef()) { if (!getIndirectParameterRef().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()); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(8, getIndirectParameterRef()); } 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()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getIndirectParameterRef()); } 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 (hasIndirectParameterRef() != other.hasIndirectParameterRef()) return false; if (hasIndirectParameterRef()) { if (!getIndirectParameterRef() .equals(other.getIndirectParameterRef())) 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(); } if (hasIndirectParameterRef()) { hash = (37 * hash) + INDIRECTPARAMETERREF_FIELD_NUMBER; hash = (53 * hash) + getIndirectParameterRef().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(); getIndirectParameterRefFieldBuilder(); } } @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); if (indirectParameterRefBuilder_ == null) { indirectParameterRef_ = null; } else { indirectParameterRefBuilder_.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_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; } if (((from_bitField0_ & 0x00000080) != 0)) { if (indirectParameterRefBuilder_ == null) { result.indirectParameterRef_ = indirectParameterRef_; } else { result.indirectParameterRef_ = indirectParameterRefBuilder_.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.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()); } if (other.hasIndirectParameterRef()) { mergeIndirectParameterRef(other.getIndirectParameterRef()); } 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; } } if (hasIndirectParameterRef()) { if (!getIndirectParameterRef().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; * @return Whether the locationInBits field is set. */ @java.lang.Override public boolean hasLocationInBits() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 locationInBits = 1; * @return The locationInBits. */ @java.lang.Override public int getLocationInBits() { return locationInBits_; } /** * optional int32 locationInBits = 1; * @param value The locationInBits to set. * @return This builder for chaining. */ public Builder setLocationInBits(int value) { bitField0_ |= 0x00000001; locationInBits_ = value; onChanged(); return this; } /** * optional int32 locationInBits = 1; * @return This builder for chaining. */ public Builder clearLocationInBits() { bitField0_ = (bitField0_ & ~0x00000001); locationInBits_ = 0; onChanged(); return this; } private int referenceLocation_ = 1; /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; * @return Whether the referenceLocation field is set. */ @java.lang.Override public boolean hasReferenceLocation() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.SequenceEntryInfo.ReferenceLocationType referenceLocation = 2; * @return The referenceLocation. */ @java.lang.Override 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; * @param value The referenceLocation to set. * @return This builder for chaining. */ 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; * @return This builder for chaining. */ 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; * @return Whether the container field is set. */ public boolean hasContainer() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * For use in sequence containers
       * 
* * optional .yamcs.protobuf.mdb.ContainerInfo container = 3; * @return The container. */ 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; * @return Whether the parameter field is set. */ public boolean hasParameter() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; * @return The parameter. */ 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; * @return Whether the argument field is set. */ public boolean hasArgument() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * For use in command containers
       * 
* * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 6; * @return The argument. */ 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; * @return Whether the fixedValue field is set. */ public boolean hasFixedValue() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.FixedValueInfo fixedValue = 7; * @return The fixedValue. */ 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; * @return Whether the repeat field is set. */ public boolean hasRepeat() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.RepeatInfo repeat = 5; * @return The repeat. */ 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_; } private org.yamcs.protobuf.Mdb.IndirectParameterRefInfo indirectParameterRef_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.IndirectParameterRefInfo, org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.Builder, org.yamcs.protobuf.Mdb.IndirectParameterRefInfoOrBuilder> indirectParameterRefBuilder_; /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; * @return Whether the indirectParameterRef field is set. */ public boolean hasIndirectParameterRef() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; * @return The indirectParameterRef. */ public org.yamcs.protobuf.Mdb.IndirectParameterRefInfo getIndirectParameterRef() { if (indirectParameterRefBuilder_ == null) { return indirectParameterRef_ == null ? org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.getDefaultInstance() : indirectParameterRef_; } else { return indirectParameterRefBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; */ public Builder setIndirectParameterRef(org.yamcs.protobuf.Mdb.IndirectParameterRefInfo value) { if (indirectParameterRefBuilder_ == null) { if (value == null) { throw new NullPointerException(); } indirectParameterRef_ = value; onChanged(); } else { indirectParameterRefBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; */ public Builder setIndirectParameterRef( org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.Builder builderForValue) { if (indirectParameterRefBuilder_ == null) { indirectParameterRef_ = builderForValue.build(); onChanged(); } else { indirectParameterRefBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; */ public Builder mergeIndirectParameterRef(org.yamcs.protobuf.Mdb.IndirectParameterRefInfo value) { if (indirectParameterRefBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && indirectParameterRef_ != null && indirectParameterRef_ != org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.getDefaultInstance()) { indirectParameterRef_ = org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.newBuilder(indirectParameterRef_).mergeFrom(value).buildPartial(); } else { indirectParameterRef_ = value; } onChanged(); } else { indirectParameterRefBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; */ public Builder clearIndirectParameterRef() { if (indirectParameterRefBuilder_ == null) { indirectParameterRef_ = null; onChanged(); } else { indirectParameterRefBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; */ public org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.Builder getIndirectParameterRefBuilder() { bitField0_ |= 0x00000080; onChanged(); return getIndirectParameterRefFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; */ public org.yamcs.protobuf.Mdb.IndirectParameterRefInfoOrBuilder getIndirectParameterRefOrBuilder() { if (indirectParameterRefBuilder_ != null) { return indirectParameterRefBuilder_.getMessageOrBuilder(); } else { return indirectParameterRef_ == null ? org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.getDefaultInstance() : indirectParameterRef_; } } /** * optional .yamcs.protobuf.mdb.IndirectParameterRefInfo indirectParameterRef = 8; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.IndirectParameterRefInfo, org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.Builder, org.yamcs.protobuf.Mdb.IndirectParameterRefInfoOrBuilder> getIndirectParameterRefFieldBuilder() { if (indirectParameterRefBuilder_ == null) { indirectParameterRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.IndirectParameterRefInfo, org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.Builder, org.yamcs.protobuf.Mdb.IndirectParameterRefInfoOrBuilder>( getIndirectParameterRef(), getParentForChildren(), isClean()); indirectParameterRef_ = null; } return indirectParameterRefBuilder_; } @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; * @return Whether the name field is set. */ boolean hasName(); /** * optional string name = 1; * @return The name. */ java.lang.String getName(); /** * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * optional string hexValue = 2; * @return Whether the hexValue field is set. */ boolean hasHexValue(); /** * optional string hexValue = 2; * @return The hexValue. */ java.lang.String getHexValue(); /** * optional string hexValue = 2; * @return The bytes for hexValue. */ com.google.protobuf.ByteString getHexValueBytes(); /** * optional int32 sizeInBits = 3; * @return Whether the sizeInBits field is set. */ boolean hasSizeInBits(); /** * optional int32 sizeInBits = 3; * @return The sizeInBits. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FixedValueInfo(); } @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; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HEXVALUE_FIELD_NUMBER = 2; private volatile java.lang.Object hexValue_; /** * optional string hexValue = 2; * @return Whether the hexValue field is set. */ @java.lang.Override public boolean hasHexValue() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string hexValue = 2; * @return The hexValue. */ @java.lang.Override 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; * @return The bytes for hexValue. */ @java.lang.Override 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; * @return Whether the sizeInBits field is set. */ @java.lang.Override public boolean hasSizeInBits() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 sizeInBits = 3; * @return The sizeInBits. */ @java.lang.Override 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; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object hexValue_ = ""; /** * optional string hexValue = 2; * @return Whether the hexValue field is set. */ public boolean hasHexValue() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string hexValue = 2; * @return The hexValue. */ 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; * @return The bytes for hexValue. */ 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; * @param value The hexValue to set. * @return This builder for chaining. */ public Builder setHexValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; hexValue_ = value; onChanged(); return this; } /** * optional string hexValue = 2; * @return This builder for chaining. */ public Builder clearHexValue() { bitField0_ = (bitField0_ & ~0x00000002); hexValue_ = getDefaultInstance().getHexValue(); onChanged(); return this; } /** * optional string hexValue = 2; * @param value The bytes for hexValue to set. * @return This builder for chaining. */ 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; * @return Whether the sizeInBits field is set. */ @java.lang.Override public boolean hasSizeInBits() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 sizeInBits = 3; * @return The sizeInBits. */ @java.lang.Override public int getSizeInBits() { return sizeInBits_; } /** * optional int32 sizeInBits = 3; * @param value The sizeInBits to set. * @return This builder for chaining. */ public Builder setSizeInBits(int value) { bitField0_ |= 0x00000004; sizeInBits_ = value; onChanged(); return this; } /** * optional int32 sizeInBits = 3; * @return This builder for chaining. */ 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; * @return Whether the name field is set. */ boolean hasName(); /** * optional string name = 1; * @return The name. */ java.lang.String getName(); /** * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ boolean hasQualifiedName(); /** * optional string qualifiedName = 2; * @return The qualifiedName. */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 2; * @return The bytes for qualifiedName. */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ boolean hasShortDescription(); /** * optional string shortDescription = 3; * @return The shortDescription. */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; * @return The bytes for shortDescription. */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; * @return Whether the longDescription field is set. */ boolean hasLongDescription(); /** * optional string longDescription = 4; * @return The longDescription. */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; * @return The bytes for longDescription. */ 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; * @return Whether the sizeInBits field is set. */ boolean hasSizeInBits(); /** * optional int32 sizeInBits = 6; * @return The sizeInBits. */ int getSizeInBits(); /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; * @return Whether the baseContainer field is set. */ boolean hasBaseContainer(); /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; * @return The baseContainer. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CommandContainerInfo(); } @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; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 2; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ @java.lang.Override public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; * @return The qualifiedName. */ @java.lang.Override 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; * @return The bytes for qualifiedName. */ @java.lang.Override 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; * @return Whether the shortDescription field is set. */ @java.lang.Override public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ @java.lang.Override 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; * @return The bytes for shortDescription. */ @java.lang.Override 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; * @return Whether the longDescription field is set. */ @java.lang.Override public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ @java.lang.Override 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; * @return The bytes for longDescription. */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override 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; * @return Whether the sizeInBits field is set. */ @java.lang.Override public boolean hasSizeInBits() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 sizeInBits = 6; * @return The sizeInBits. */ @java.lang.Override 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; * @return Whether the baseContainer field is set. */ @java.lang.Override public boolean hasBaseContainer() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; * @return The baseContainer. */ @java.lang.Override public org.yamcs.protobuf.Mdb.CommandContainerInfo getBaseContainer() { return baseContainer_ == null ? org.yamcs.protobuf.Mdb.CommandContainerInfo.getDefaultInstance() : baseContainer_; } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getEntryList() { return entry_; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ @java.lang.Override public java.util.List getEntryOrBuilderList() { return entry_; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ @java.lang.Override public int getEntryCount() { return entry_.size(); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SequenceEntryInfo getEntry(int index) { return entry_.get(index); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 8; */ @java.lang.Override 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; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; * @return The qualifiedName. */ 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; * @return The bytes for qualifiedName. */ 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; * @param value The qualifiedName to set. * @return This builder for chaining. */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 2; * @return This builder for chaining. */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 2; * @param value The bytes for qualifiedName to set. * @return This builder for chaining. */ 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; * @return Whether the shortDescription field is set. */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ 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; * @return The bytes for shortDescription. */ 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; * @param value The shortDescription to set. * @return This builder for chaining. */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; * @return This builder for chaining. */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; * @param value The bytes for shortDescription to set. * @return This builder for chaining. */ 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; * @return Whether the longDescription field is set. */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ 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; * @return The bytes for longDescription. */ 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; * @param value The longDescription to set. * @return This builder for chaining. */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; * @return This builder for chaining. */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; * @param value The bytes for longDescription to set. * @return This builder for chaining. */ 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; * @return Whether the sizeInBits field is set. */ @java.lang.Override public boolean hasSizeInBits() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 sizeInBits = 6; * @return The sizeInBits. */ @java.lang.Override public int getSizeInBits() { return sizeInBits_; } /** * optional int32 sizeInBits = 6; * @param value The sizeInBits to set. * @return This builder for chaining. */ public Builder setSizeInBits(int value) { bitField0_ |= 0x00000020; sizeInBits_ = value; onChanged(); return this; } /** * optional int32 sizeInBits = 6; * @return This builder for chaining. */ 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; * @return Whether the baseContainer field is set. */ public boolean hasBaseContainer() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.CommandContainerInfo baseContainer = 7; * @return The baseContainer. */ 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 IndirectParameterRefInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.IndirectParameterRefInfo) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; * @return Whether the parameter field is set. */ boolean hasParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; * @return The parameter. */ org.yamcs.protobuf.Mdb.ParameterInfo getParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(); /** * optional string aliasNamespace = 2; * @return Whether the aliasNamespace field is set. */ boolean hasAliasNamespace(); /** * optional string aliasNamespace = 2; * @return The aliasNamespace. */ java.lang.String getAliasNamespace(); /** * optional string aliasNamespace = 2; * @return The bytes for aliasNamespace. */ com.google.protobuf.ByteString getAliasNamespaceBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.IndirectParameterRefInfo} */ public static final class IndirectParameterRefInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.IndirectParameterRefInfo) IndirectParameterRefInfoOrBuilder { private static final long serialVersionUID = 0L; // Use IndirectParameterRefInfo.newBuilder() to construct. private IndirectParameterRefInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IndirectParameterRefInfo() { aliasNamespace_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IndirectParameterRefInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IndirectParameterRefInfo( 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; aliasNamespace_ = 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_IndirectParameterRefInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_IndirectParameterRefInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.class, org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.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; * @return Whether the parameter field is set. */ @java.lang.Override public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; * @return The parameter. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } public static final int ALIASNAMESPACE_FIELD_NUMBER = 2; private volatile java.lang.Object aliasNamespace_; /** * optional string aliasNamespace = 2; * @return Whether the aliasNamespace field is set. */ @java.lang.Override public boolean hasAliasNamespace() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string aliasNamespace = 2; * @return The aliasNamespace. */ @java.lang.Override public java.lang.String getAliasNamespace() { java.lang.Object ref = aliasNamespace_; 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()) { aliasNamespace_ = s; } return s; } } /** * optional string aliasNamespace = 2; * @return The bytes for aliasNamespace. */ @java.lang.Override public com.google.protobuf.ByteString getAliasNamespaceBytes() { java.lang.Object ref = aliasNamespace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); aliasNamespace_ = 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, aliasNamespace_); } 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, aliasNamespace_); } 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.IndirectParameterRefInfo)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.IndirectParameterRefInfo other = (org.yamcs.protobuf.Mdb.IndirectParameterRefInfo) obj; if (hasParameter() != other.hasParameter()) return false; if (hasParameter()) { if (!getParameter() .equals(other.getParameter())) return false; } if (hasAliasNamespace() != other.hasAliasNamespace()) return false; if (hasAliasNamespace()) { if (!getAliasNamespace() .equals(other.getAliasNamespace())) 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 (hasAliasNamespace()) { hash = (37 * hash) + ALIASNAMESPACE_FIELD_NUMBER; hash = (53 * hash) + getAliasNamespace().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.IndirectParameterRefInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.IndirectParameterRefInfo 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.IndirectParameterRefInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.IndirectParameterRefInfo 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.IndirectParameterRefInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.IndirectParameterRefInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.IndirectParameterRefInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.IndirectParameterRefInfo 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.IndirectParameterRefInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.IndirectParameterRefInfo 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.IndirectParameterRefInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.IndirectParameterRefInfo 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.IndirectParameterRefInfo 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.IndirectParameterRefInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.IndirectParameterRefInfo) org.yamcs.protobuf.Mdb.IndirectParameterRefInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_IndirectParameterRefInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_IndirectParameterRefInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.class, org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.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); aliasNamespace_ = ""; 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_IndirectParameterRefInfo_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.IndirectParameterRefInfo getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.IndirectParameterRefInfo build() { org.yamcs.protobuf.Mdb.IndirectParameterRefInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.IndirectParameterRefInfo buildPartial() { org.yamcs.protobuf.Mdb.IndirectParameterRefInfo result = new org.yamcs.protobuf.Mdb.IndirectParameterRefInfo(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.aliasNamespace_ = aliasNamespace_; 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.IndirectParameterRefInfo) { return mergeFrom((org.yamcs.protobuf.Mdb.IndirectParameterRefInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.IndirectParameterRefInfo other) { if (other == org.yamcs.protobuf.Mdb.IndirectParameterRefInfo.getDefaultInstance()) return this; if (other.hasParameter()) { mergeParameter(other.getParameter()); } if (other.hasAliasNamespace()) { bitField0_ |= 0x00000002; aliasNamespace_ = other.aliasNamespace_; 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.IndirectParameterRefInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.IndirectParameterRefInfo) 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; * @return Whether the parameter field is set. */ public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; * @return The parameter. */ 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 aliasNamespace_ = ""; /** * optional string aliasNamespace = 2; * @return Whether the aliasNamespace field is set. */ public boolean hasAliasNamespace() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string aliasNamespace = 2; * @return The aliasNamespace. */ public java.lang.String getAliasNamespace() { java.lang.Object ref = aliasNamespace_; 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()) { aliasNamespace_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string aliasNamespace = 2; * @return The bytes for aliasNamespace. */ public com.google.protobuf.ByteString getAliasNamespaceBytes() { java.lang.Object ref = aliasNamespace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); aliasNamespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string aliasNamespace = 2; * @param value The aliasNamespace to set. * @return This builder for chaining. */ public Builder setAliasNamespace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; aliasNamespace_ = value; onChanged(); return this; } /** * optional string aliasNamespace = 2; * @return This builder for chaining. */ public Builder clearAliasNamespace() { bitField0_ = (bitField0_ & ~0x00000002); aliasNamespace_ = getDefaultInstance().getAliasNamespace(); onChanged(); return this; } /** * optional string aliasNamespace = 2; * @param value The bytes for aliasNamespace to set. * @return This builder for chaining. */ public Builder setAliasNamespaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; aliasNamespace_ = 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.IndirectParameterRefInfo) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.IndirectParameterRefInfo) private static final org.yamcs.protobuf.Mdb.IndirectParameterRefInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.IndirectParameterRefInfo(); } public static org.yamcs.protobuf.Mdb.IndirectParameterRefInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IndirectParameterRefInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new IndirectParameterRefInfo(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.IndirectParameterRefInfo 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; * @return Whether the name field is set. */ boolean hasName(); /** * optional string name = 1; * @return The name. */ java.lang.String getName(); /** * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ boolean hasQualifiedName(); /** * optional string qualifiedName = 2; * @return The qualifiedName. */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 2; * @return The bytes for qualifiedName. */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ boolean hasShortDescription(); /** * optional string shortDescription = 3; * @return The shortDescription. */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; * @return The bytes for shortDescription. */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; * @return Whether the longDescription field is set. */ boolean hasLongDescription(); /** * optional string longDescription = 4; * @return The longDescription. */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; * @return The bytes for longDescription. */ 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; * @return Whether the maxInterval field is set. */ boolean hasMaxInterval(); /** * optional int64 maxInterval = 6; * @return The maxInterval. */ long getMaxInterval(); /** * optional int32 sizeInBits = 7; * @return Whether the sizeInBits field is set. */ boolean hasSizeInBits(); /** * optional int32 sizeInBits = 7; * @return The sizeInBits. */ int getSizeInBits(); /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; * @return Whether the baseContainer field is set. */ boolean hasBaseContainer(); /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; * @return The baseContainer. */ 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 [deprecated = true]; */ @java.lang.Deprecated java.util.List getRestrictionCriteriaList(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9 [deprecated = true]; */ @java.lang.Deprecated org.yamcs.protobuf.Mdb.ComparisonInfo getRestrictionCriteria(int index); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9 [deprecated = true]; */ @java.lang.Deprecated int getRestrictionCriteriaCount(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9 [deprecated = true]; */ @java.lang.Deprecated java.util.List getRestrictionCriteriaOrBuilderList(); /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9 [deprecated = true]; */ @java.lang.Deprecated org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getRestrictionCriteriaOrBuilder( int index); /** * optional string restrictionCriteriaExpression = 13; * @return Whether the restrictionCriteriaExpression field is set. */ boolean hasRestrictionCriteriaExpression(); /** * optional string restrictionCriteriaExpression = 13; * @return The restrictionCriteriaExpression. */ java.lang.String getRestrictionCriteriaExpression(); /** * optional string restrictionCriteriaExpression = 13; * @return The bytes for restrictionCriteriaExpression. */ com.google.protobuf.ByteString getRestrictionCriteriaExpressionBytes(); /** * 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; * @return Whether the usedBy field is set. */ boolean hasUsedBy(); /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; * @return The usedBy. */ org.yamcs.protobuf.Mdb.UsedByInfo getUsedBy(); /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder getUsedByOrBuilder(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ int getAncillaryDataCount(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ boolean containsAncillaryData( java.lang.String key); /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Deprecated java.util.Map getAncillaryData(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ java.util.Map getAncillaryDataMap(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key); /** * optional bool archivePartition = 14; * @return Whether the archivePartition field is set. */ boolean hasArchivePartition(); /** * optional bool archivePartition = 14; * @return The archivePartition. */ boolean getArchivePartition(); } /** * 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(); restrictionCriteriaExpression_ = ""; entry_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ContainerInfo(); } @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_ & 0x00000400) != 0)) { entry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000400; } entry_.add( input.readMessage(org.yamcs.protobuf.Mdb.SequenceEntryInfo.PARSER, extensionRegistry)); break; } case 90: { org.yamcs.protobuf.Mdb.UsedByInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000100) != 0)) { subBuilder = usedBy_.toBuilder(); } usedBy_ = input.readMessage(org.yamcs.protobuf.Mdb.UsedByInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(usedBy_); usedBy_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 98: { if (!((mutable_bitField0_ & 0x00001000) != 0)) { ancillaryData_ = com.google.protobuf.MapField.newMapField( AncillaryDataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00001000; } com.google.protobuf.MapEntry ancillaryData__ = input.readMessage( AncillaryDataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); ancillaryData_.getMutableMap().put( ancillaryData__.getKey(), ancillaryData__.getValue()); break; } case 106: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; restrictionCriteriaExpression_ = bs; break; } case 112: { bitField0_ |= 0x00000200; archivePartition_ = 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 { 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_ & 0x00000400) != 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; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 12: return internalGetAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @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; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 2; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ @java.lang.Override public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; * @return The qualifiedName. */ @java.lang.Override 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; * @return The bytes for qualifiedName. */ @java.lang.Override 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; * @return Whether the shortDescription field is set. */ @java.lang.Override public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ @java.lang.Override 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; * @return The bytes for shortDescription. */ @java.lang.Override 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; * @return Whether the longDescription field is set. */ @java.lang.Override public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ @java.lang.Override 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; * @return The bytes for longDescription. */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override 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; * @return Whether the maxInterval field is set. */ @java.lang.Override public boolean hasMaxInterval() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int64 maxInterval = 6; * @return The maxInterval. */ @java.lang.Override public long getMaxInterval() { return maxInterval_; } public static final int SIZEINBITS_FIELD_NUMBER = 7; private int sizeInBits_; /** * optional int32 sizeInBits = 7; * @return Whether the sizeInBits field is set. */ @java.lang.Override public boolean hasSizeInBits() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 sizeInBits = 7; * @return The sizeInBits. */ @java.lang.Override 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; * @return Whether the baseContainer field is set. */ @java.lang.Override public boolean hasBaseContainer() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; * @return The baseContainer. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ContainerInfo getBaseContainer() { return baseContainer_ == null ? org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance() : baseContainer_; } /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; */ @java.lang.Override 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 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getRestrictionCriteriaList() { return restrictionCriteria_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getRestrictionCriteriaOrBuilderList() { return restrictionCriteria_; } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public int getRestrictionCriteriaCount() { return restrictionCriteria_.size(); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public org.yamcs.protobuf.Mdb.ComparisonInfo getRestrictionCriteria(int index) { return restrictionCriteria_.get(index); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public org.yamcs.protobuf.Mdb.ComparisonInfoOrBuilder getRestrictionCriteriaOrBuilder( int index) { return restrictionCriteria_.get(index); } public static final int RESTRICTIONCRITERIAEXPRESSION_FIELD_NUMBER = 13; private volatile java.lang.Object restrictionCriteriaExpression_; /** * optional string restrictionCriteriaExpression = 13; * @return Whether the restrictionCriteriaExpression field is set. */ @java.lang.Override public boolean hasRestrictionCriteriaExpression() { return ((bitField0_ & 0x00000080) != 0); } /** * optional string restrictionCriteriaExpression = 13; * @return The restrictionCriteriaExpression. */ @java.lang.Override public java.lang.String getRestrictionCriteriaExpression() { java.lang.Object ref = restrictionCriteriaExpression_; 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()) { restrictionCriteriaExpression_ = s; } return s; } } /** * optional string restrictionCriteriaExpression = 13; * @return The bytes for restrictionCriteriaExpression. */ @java.lang.Override public com.google.protobuf.ByteString getRestrictionCriteriaExpressionBytes() { java.lang.Object ref = restrictionCriteriaExpression_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); restrictionCriteriaExpression_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENTRY_FIELD_NUMBER = 10; private java.util.List entry_; /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ @java.lang.Override public java.util.List getEntryList() { return entry_; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ @java.lang.Override public java.util.List getEntryOrBuilderList() { return entry_; } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ @java.lang.Override public int getEntryCount() { return entry_.size(); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SequenceEntryInfo getEntry(int index) { return entry_.get(index); } /** * repeated .yamcs.protobuf.mdb.SequenceEntryInfo entry = 10; */ @java.lang.Override 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; * @return Whether the usedBy field is set. */ @java.lang.Override public boolean hasUsedBy() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; * @return The usedBy. */ @java.lang.Override public org.yamcs.protobuf.Mdb.UsedByInfo getUsedBy() { return usedBy_ == null ? org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance() : usedBy_; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ @java.lang.Override public org.yamcs.protobuf.Mdb.UsedByInfoOrBuilder getUsedByOrBuilder() { return usedBy_ == null ? org.yamcs.protobuf.Mdb.UsedByInfo.getDefaultInstance() : usedBy_; } public static final int ANCILLARYDATA_FIELD_NUMBER = 12; private static final class AncillaryDataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ContainerInfo_AncillaryDataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, org.yamcs.protobuf.Mdb.AncillaryDataInfo.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> ancillaryData_; private com.google.protobuf.MapField internalGetAncillaryData() { if (ancillaryData_ == null) { return com.google.protobuf.MapField.emptyMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } return ancillaryData_; } public int getAncillaryDataCount() { return internalGetAncillaryData().getMap().size(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ @java.lang.Override public boolean containsAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAncillaryData().getMap().containsKey(key); } /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAncillaryData() { return getAncillaryDataMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ @java.lang.Override public java.util.Map getAncillaryDataMap() { return internalGetAncillaryData().getMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int ARCHIVEPARTITION_FIELD_NUMBER = 14; private boolean archivePartition_; /** * optional bool archivePartition = 14; * @return Whether the archivePartition field is set. */ @java.lang.Override public boolean hasArchivePartition() { return ((bitField0_ & 0x00000200) != 0); } /** * optional bool archivePartition = 14; * @return The archivePartition. */ @java.lang.Override public boolean getArchivePartition() { return archivePartition_; } 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_ & 0x00000100) != 0)) { output.writeMessage(11, getUsedBy()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAncillaryData(), AncillaryDataDefaultEntryHolder.defaultEntry, 12); if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, restrictionCriteriaExpression_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeBool(14, archivePartition_); } 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_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getUsedBy()); } for (java.util.Map.Entry entry : internalGetAncillaryData().getMap().entrySet()) { com.google.protobuf.MapEntry ancillaryData__ = AncillaryDataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, ancillaryData__); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, restrictionCriteriaExpression_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(14, archivePartition_); } 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 (hasRestrictionCriteriaExpression() != other.hasRestrictionCriteriaExpression()) return false; if (hasRestrictionCriteriaExpression()) { if (!getRestrictionCriteriaExpression() .equals(other.getRestrictionCriteriaExpression())) 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 (!internalGetAncillaryData().equals( other.internalGetAncillaryData())) return false; if (hasArchivePartition() != other.hasArchivePartition()) return false; if (hasArchivePartition()) { if (getArchivePartition() != other.getArchivePartition()) 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 (hasRestrictionCriteriaExpression()) { hash = (37 * hash) + RESTRICTIONCRITERIAEXPRESSION_FIELD_NUMBER; hash = (53 * hash) + getRestrictionCriteriaExpression().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(); } if (!internalGetAncillaryData().getMap().isEmpty()) { hash = (37 * hash) + ANCILLARYDATA_FIELD_NUMBER; hash = (53 * hash) + internalGetAncillaryData().hashCode(); } if (hasArchivePartition()) { hash = (37 * hash) + ARCHIVEPARTITION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getArchivePartition()); } 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; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 12: return internalGetAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 12: return internalGetMutableAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @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(); } restrictionCriteriaExpression_ = ""; bitField0_ = (bitField0_ & ~0x00000200); if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); } else { entryBuilder_.clear(); } if (usedByBuilder_ == null) { usedBy_ = null; } else { usedByBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); internalGetMutableAncillaryData().clear(); archivePartition_ = false; bitField0_ = (bitField0_ & ~0x00002000); 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 (((from_bitField0_ & 0x00000200) != 0)) { to_bitField0_ |= 0x00000080; } result.restrictionCriteriaExpression_ = restrictionCriteriaExpression_; if (entryBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { entry_ = java.util.Collections.unmodifiableList(entry_); bitField0_ = (bitField0_ & ~0x00000400); } result.entry_ = entry_; } else { result.entry_ = entryBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { if (usedByBuilder_ == null) { result.usedBy_ = usedBy_; } else { result.usedBy_ = usedByBuilder_.build(); } to_bitField0_ |= 0x00000100; } result.ancillaryData_ = internalGetAncillaryData(); result.ancillaryData_.makeImmutable(); if (((from_bitField0_ & 0x00002000) != 0)) { result.archivePartition_ = archivePartition_; to_bitField0_ |= 0x00000200; } 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 (other.hasRestrictionCriteriaExpression()) { bitField0_ |= 0x00000200; restrictionCriteriaExpression_ = other.restrictionCriteriaExpression_; onChanged(); } if (entryBuilder_ == null) { if (!other.entry_.isEmpty()) { if (entry_.isEmpty()) { entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000400); } else { ensureEntryIsMutable(); entry_.addAll(other.entry_); } onChanged(); } } else { if (!other.entry_.isEmpty()) { if (entryBuilder_.isEmpty()) { entryBuilder_.dispose(); entryBuilder_ = null; entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000400); entryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntryFieldBuilder() : null; } else { entryBuilder_.addAllMessages(other.entry_); } } } if (other.hasUsedBy()) { mergeUsedBy(other.getUsedBy()); } internalGetMutableAncillaryData().mergeFrom( other.internalGetAncillaryData()); if (other.hasArchivePartition()) { setArchivePartition(other.getArchivePartition()); } 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; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; * @return The qualifiedName. */ 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; * @return The bytes for qualifiedName. */ 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; * @param value The qualifiedName to set. * @return This builder for chaining. */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 2; * @return This builder for chaining. */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 2; * @param value The bytes for qualifiedName to set. * @return This builder for chaining. */ 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; * @return Whether the shortDescription field is set. */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ 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; * @return The bytes for shortDescription. */ 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; * @param value The shortDescription to set. * @return This builder for chaining. */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; * @return This builder for chaining. */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; * @param value The bytes for shortDescription to set. * @return This builder for chaining. */ 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; * @return Whether the longDescription field is set. */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ 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; * @return The bytes for longDescription. */ 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; * @param value The longDescription to set. * @return This builder for chaining. */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; * @return This builder for chaining. */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; * @param value The bytes for longDescription to set. * @return This builder for chaining. */ 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; * @return Whether the maxInterval field is set. */ @java.lang.Override public boolean hasMaxInterval() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int64 maxInterval = 6; * @return The maxInterval. */ @java.lang.Override public long getMaxInterval() { return maxInterval_; } /** * optional int64 maxInterval = 6; * @param value The maxInterval to set. * @return This builder for chaining. */ public Builder setMaxInterval(long value) { bitField0_ |= 0x00000020; maxInterval_ = value; onChanged(); return this; } /** * optional int64 maxInterval = 6; * @return This builder for chaining. */ public Builder clearMaxInterval() { bitField0_ = (bitField0_ & ~0x00000020); maxInterval_ = 0L; onChanged(); return this; } private int sizeInBits_ ; /** * optional int32 sizeInBits = 7; * @return Whether the sizeInBits field is set. */ @java.lang.Override public boolean hasSizeInBits() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int32 sizeInBits = 7; * @return The sizeInBits. */ @java.lang.Override public int getSizeInBits() { return sizeInBits_; } /** * optional int32 sizeInBits = 7; * @param value The sizeInBits to set. * @return This builder for chaining. */ public Builder setSizeInBits(int value) { bitField0_ |= 0x00000040; sizeInBits_ = value; onChanged(); return this; } /** * optional int32 sizeInBits = 7; * @return This builder for chaining. */ 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; * @return Whether the baseContainer field is set. */ public boolean hasBaseContainer() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .yamcs.protobuf.mdb.ContainerInfo baseContainer = 8; * @return The baseContainer. */ 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 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated public int getRestrictionCriteriaCount() { if (restrictionCriteriaBuilder_ == null) { return restrictionCriteria_.size(); } else { return restrictionCriteriaBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder getRestrictionCriteriaBuilder( int index) { return getRestrictionCriteriaFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated public org.yamcs.protobuf.Mdb.ComparisonInfo.Builder addRestrictionCriteriaBuilder() { return getRestrictionCriteriaFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ComparisonInfo.getDefaultInstance()); } /** * repeated .yamcs.protobuf.mdb.ComparisonInfo restrictionCriteria = 9 [deprecated = true]; */ @java.lang.Deprecated 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 [deprecated = true]; */ @java.lang.Deprecated 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.lang.Object restrictionCriteriaExpression_ = ""; /** * optional string restrictionCriteriaExpression = 13; * @return Whether the restrictionCriteriaExpression field is set. */ public boolean hasRestrictionCriteriaExpression() { return ((bitField0_ & 0x00000200) != 0); } /** * optional string restrictionCriteriaExpression = 13; * @return The restrictionCriteriaExpression. */ public java.lang.String getRestrictionCriteriaExpression() { java.lang.Object ref = restrictionCriteriaExpression_; 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()) { restrictionCriteriaExpression_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string restrictionCriteriaExpression = 13; * @return The bytes for restrictionCriteriaExpression. */ public com.google.protobuf.ByteString getRestrictionCriteriaExpressionBytes() { java.lang.Object ref = restrictionCriteriaExpression_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); restrictionCriteriaExpression_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string restrictionCriteriaExpression = 13; * @param value The restrictionCriteriaExpression to set. * @return This builder for chaining. */ public Builder setRestrictionCriteriaExpression( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; restrictionCriteriaExpression_ = value; onChanged(); return this; } /** * optional string restrictionCriteriaExpression = 13; * @return This builder for chaining. */ public Builder clearRestrictionCriteriaExpression() { bitField0_ = (bitField0_ & ~0x00000200); restrictionCriteriaExpression_ = getDefaultInstance().getRestrictionCriteriaExpression(); onChanged(); return this; } /** * optional string restrictionCriteriaExpression = 13; * @param value The bytes for restrictionCriteriaExpression to set. * @return This builder for chaining. */ public Builder setRestrictionCriteriaExpressionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; restrictionCriteriaExpression_ = value; onChanged(); return this; } private java.util.List entry_ = java.util.Collections.emptyList(); private void ensureEntryIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { entry_ = new java.util.ArrayList(entry_); bitField0_ |= 0x00000400; } } 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_ & ~0x00000400); 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_ & 0x00000400) != 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; * @return Whether the usedBy field is set. */ public boolean hasUsedBy() { return ((bitField0_ & 0x00000800) != 0); } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; * @return The usedBy. */ 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_ |= 0x00000800; 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_ |= 0x00000800; return this; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public Builder mergeUsedBy(org.yamcs.protobuf.Mdb.UsedByInfo value) { if (usedByBuilder_ == null) { if (((bitField0_ & 0x00000800) != 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_ |= 0x00000800; return this; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public Builder clearUsedBy() { if (usedByBuilder_ == null) { usedBy_ = null; onChanged(); } else { usedByBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } /** * optional .yamcs.protobuf.mdb.UsedByInfo usedBy = 11; */ public org.yamcs.protobuf.Mdb.UsedByInfo.Builder getUsedByBuilder() { bitField0_ |= 0x00000800; 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_; } private com.google.protobuf.MapField< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> ancillaryData_; private com.google.protobuf.MapField internalGetAncillaryData() { if (ancillaryData_ == null) { return com.google.protobuf.MapField.emptyMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } return ancillaryData_; } private com.google.protobuf.MapField internalGetMutableAncillaryData() { onChanged();; if (ancillaryData_ == null) { ancillaryData_ = com.google.protobuf.MapField.newMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } if (!ancillaryData_.isMutable()) { ancillaryData_ = ancillaryData_.copy(); } return ancillaryData_; } public int getAncillaryDataCount() { return internalGetAncillaryData().getMap().size(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ @java.lang.Override public boolean containsAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAncillaryData().getMap().containsKey(key); } /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAncillaryData() { return getAncillaryDataMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ @java.lang.Override public java.util.Map getAncillaryDataMap() { return internalGetAncillaryData().getMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAncillaryData() { internalGetMutableAncillaryData().getMutableMap() .clear(); return this; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ public Builder removeAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAncillaryData().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAncillaryData() { return internalGetMutableAncillaryData().getMutableMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ public Builder putAncillaryData( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAncillaryData().getMutableMap() .put(key, value); return this; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 12; */ public Builder putAllAncillaryData( java.util.Map values) { internalGetMutableAncillaryData().getMutableMap() .putAll(values); return this; } private boolean archivePartition_ ; /** * optional bool archivePartition = 14; * @return Whether the archivePartition field is set. */ @java.lang.Override public boolean hasArchivePartition() { return ((bitField0_ & 0x00002000) != 0); } /** * optional bool archivePartition = 14; * @return The archivePartition. */ @java.lang.Override public boolean getArchivePartition() { return archivePartition_; } /** * optional bool archivePartition = 14; * @param value The archivePartition to set. * @return This builder for chaining. */ public Builder setArchivePartition(boolean value) { bitField0_ |= 0x00002000; archivePartition_ = value; onChanged(); return this; } /** * optional bool archivePartition = 14; * @return This builder for chaining. */ public Builder clearArchivePartition() { bitField0_ = (bitField0_ & ~0x00002000); archivePartition_ = 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.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; * @return Whether the parameter field is set. */ boolean hasParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; * @return The parameter. */ org.yamcs.protobuf.Mdb.ParameterInfo getParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(); /** * optional string inputName = 2; * @return Whether the inputName field is set. */ boolean hasInputName(); /** * optional string inputName = 2; * @return The inputName. */ java.lang.String getInputName(); /** * optional string inputName = 2; * @return The bytes for inputName. */ com.google.protobuf.ByteString getInputNameBytes(); /** * optional int32 parameterInstance = 3; * @return Whether the parameterInstance field is set. */ boolean hasParameterInstance(); /** * optional int32 parameterInstance = 3; * @return The parameterInstance. */ int getParameterInstance(); /** * optional bool mandatory = 4; * @return Whether the mandatory field is set. */ boolean hasMandatory(); /** * optional bool mandatory = 4; * @return The mandatory. */ boolean getMandatory(); /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; * @return Whether the argument field is set. */ boolean hasArgument(); /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; * @return The argument. */ org.yamcs.protobuf.Mdb.ArgumentInfo getArgument(); /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; */ org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder getArgumentOrBuilder(); } /** * 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InputParameterInfo(); } @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; } case 42: { 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; } 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; * @return Whether the parameter field is set. */ @java.lang.Override public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; * @return The parameter. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ @java.lang.Override 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; * @return Whether the inputName field is set. */ @java.lang.Override public boolean hasInputName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string inputName = 2; * @return The inputName. */ @java.lang.Override 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; * @return The bytes for inputName. */ @java.lang.Override 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; * @return Whether the parameterInstance field is set. */ @java.lang.Override public boolean hasParameterInstance() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 parameterInstance = 3; * @return The parameterInstance. */ @java.lang.Override public int getParameterInstance() { return parameterInstance_; } public static final int MANDATORY_FIELD_NUMBER = 4; private boolean mandatory_; /** * optional bool mandatory = 4; * @return Whether the mandatory field is set. */ @java.lang.Override public boolean hasMandatory() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool mandatory = 4; * @return The mandatory. */ @java.lang.Override public boolean getMandatory() { return mandatory_; } public static final int ARGUMENT_FIELD_NUMBER = 5; private org.yamcs.protobuf.Mdb.ArgumentInfo argument_; /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; * @return Whether the argument field is set. */ @java.lang.Override public boolean hasArgument() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; * @return The argument. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentInfo getArgument() { return argument_ == null ? org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance() : argument_; } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder getArgumentOrBuilder() { return argument_ == null ? org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance() : argument_; } 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; } } if (hasArgument()) { if (!getArgument().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_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getArgument()); } 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_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getArgument()); } 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 (hasArgument() != other.hasArgument()) return false; if (hasArgument()) { if (!getArgument() .equals(other.getArgument())) 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()); } if (hasArgument()) { hash = (37 * hash) + ARGUMENT_FIELD_NUMBER; hash = (53 * hash) + getArgument().hashCode(); } 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(); getArgumentFieldBuilder(); } } @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); if (argumentBuilder_ == null) { argument_ = null; } else { argumentBuilder_.clear(); } 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_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; } if (((from_bitField0_ & 0x00000010) != 0)) { if (argumentBuilder_ == null) { result.argument_ = argument_; } else { result.argument_ = argumentBuilder_.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.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()); } if (other.hasArgument()) { mergeArgument(other.getArgument()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasParameter()) { if (!getParameter().isInitialized()) { return false; } } if (hasArgument()) { if (!getArgument().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; * @return Whether the parameter field is set. */ public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; * @return The parameter. */ 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; * @return Whether the inputName field is set. */ public boolean hasInputName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string inputName = 2; * @return The inputName. */ 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; * @return The bytes for inputName. */ 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; * @param value The inputName to set. * @return This builder for chaining. */ public Builder setInputName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; inputName_ = value; onChanged(); return this; } /** * optional string inputName = 2; * @return This builder for chaining. */ public Builder clearInputName() { bitField0_ = (bitField0_ & ~0x00000002); inputName_ = getDefaultInstance().getInputName(); onChanged(); return this; } /** * optional string inputName = 2; * @param value The bytes for inputName to set. * @return This builder for chaining. */ 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; * @return Whether the parameterInstance field is set. */ @java.lang.Override public boolean hasParameterInstance() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 parameterInstance = 3; * @return The parameterInstance. */ @java.lang.Override public int getParameterInstance() { return parameterInstance_; } /** * optional int32 parameterInstance = 3; * @param value The parameterInstance to set. * @return This builder for chaining. */ public Builder setParameterInstance(int value) { bitField0_ |= 0x00000004; parameterInstance_ = value; onChanged(); return this; } /** * optional int32 parameterInstance = 3; * @return This builder for chaining. */ public Builder clearParameterInstance() { bitField0_ = (bitField0_ & ~0x00000004); parameterInstance_ = 0; onChanged(); return this; } private boolean mandatory_ ; /** * optional bool mandatory = 4; * @return Whether the mandatory field is set. */ @java.lang.Override public boolean hasMandatory() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool mandatory = 4; * @return The mandatory. */ @java.lang.Override public boolean getMandatory() { return mandatory_; } /** * optional bool mandatory = 4; * @param value The mandatory to set. * @return This builder for chaining. */ public Builder setMandatory(boolean value) { bitField0_ |= 0x00000008; mandatory_ = value; onChanged(); return this; } /** * optional bool mandatory = 4; * @return This builder for chaining. */ public Builder clearMandatory() { bitField0_ = (bitField0_ & ~0x00000008); mandatory_ = false; onChanged(); return this; } 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_; /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; * @return Whether the argument field is set. */ public boolean hasArgument() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; * @return The argument. */ public org.yamcs.protobuf.Mdb.ArgumentInfo getArgument() { if (argumentBuilder_ == null) { return argument_ == null ? org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance() : argument_; } else { return argumentBuilder_.getMessage(); } } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; */ 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; } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; */ 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; } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; */ 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; } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; */ public Builder clearArgument() { if (argumentBuilder_ == null) { argument_ = null; onChanged(); } else { argumentBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; */ public org.yamcs.protobuf.Mdb.ArgumentInfo.Builder getArgumentBuilder() { bitField0_ |= 0x00000010; onChanged(); return getArgumentFieldBuilder().getBuilder(); } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; */ public org.yamcs.protobuf.Mdb.ArgumentInfoOrBuilder getArgumentOrBuilder() { if (argumentBuilder_ != null) { return argumentBuilder_.getMessageOrBuilder(); } else { return argument_ == null ? org.yamcs.protobuf.Mdb.ArgumentInfo.getDefaultInstance() : argument_; } } /** * optional .yamcs.protobuf.mdb.ArgumentInfo argument = 5; */ 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_; } @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; * @return Whether the parameter field is set. */ boolean hasParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; * @return The parameter. */ org.yamcs.protobuf.Mdb.ParameterInfo getParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(); /** * optional string outputName = 2; * @return Whether the outputName field is set. */ boolean hasOutputName(); /** * optional string outputName = 2; * @return The outputName. */ java.lang.String getOutputName(); /** * optional string outputName = 2; * @return The bytes for outputName. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OutputParameterInfo(); } @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; * @return Whether the parameter field is set. */ @java.lang.Override public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; * @return The parameter. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; */ @java.lang.Override 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; * @return Whether the outputName field is set. */ @java.lang.Override public boolean hasOutputName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string outputName = 2; * @return The outputName. */ @java.lang.Override 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; * @return The bytes for outputName. */ @java.lang.Override 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; * @return Whether the parameter field is set. */ public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 1; * @return The parameter. */ 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; * @return Whether the outputName field is set. */ public boolean hasOutputName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string outputName = 2; * @return The outputName. */ 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; * @return The bytes for outputName. */ 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; * @param value The outputName to set. * @return This builder for chaining. */ public Builder setOutputName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; outputName_ = value; onChanged(); return this; } /** * optional string outputName = 2; * @return This builder for chaining. */ public Builder clearOutputName() { bitField0_ = (bitField0_ & ~0x00000002); outputName_ = getDefaultInstance().getOutputName(); onChanged(); return this; } /** * optional string outputName = 2; * @param value The bytes for outputName to set. * @return This builder for chaining. */ 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 MathElementOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.MathElement) com.google.protobuf.MessageOrBuilder { /** *
     * Type of element, either an operand kind or an operator.
     * 
* * optional .yamcs.protobuf.mdb.MathElement.Type type = 1; * @return Whether the type field is set. */ boolean hasType(); /** *
     * Type of element, either an operand kind or an operator.
     * 
* * optional .yamcs.protobuf.mdb.MathElement.Type type = 1; * @return The type. */ org.yamcs.protobuf.Mdb.MathElement.Type getType(); /** *
     * Operator symbol if type ``OPERATOR``.
     * 
* * optional string operator = 2; * @return Whether the operator field is set. */ boolean hasOperator(); /** *
     * Operator symbol if type ``OPERATOR``.
     * 
* * optional string operator = 2; * @return The operator. */ java.lang.String getOperator(); /** *
     * Operator symbol if type ``OPERATOR``.
     * 
* * optional string operator = 2; * @return The bytes for operator. */ com.google.protobuf.ByteString getOperatorBytes(); /** *
     * Constant if type ``VALUE_OPERAND``.
     * 
* * optional double value = 3; * @return Whether the value field is set. */ boolean hasValue(); /** *
     * Constant if type ``VALUE_OPERAND``.
     * 
* * optional double value = 3; * @return The value. */ double getValue(); /** *
     * Parameter whose value is used if type ``PARAMETER``.
     * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; * @return Whether the parameter field is set. */ boolean hasParameter(); /** *
     * Parameter whose value is used if type ``PARAMETER``.
     * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; * @return The parameter. */ org.yamcs.protobuf.Mdb.ParameterInfo getParameter(); /** *
     * Parameter whose value is used if type ``PARAMETER``.
     * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(); /** *
     * Parameter instance specifier
     * 
* * optional int32 parameterInstance = 5; * @return Whether the parameterInstance field is set. */ boolean hasParameterInstance(); /** *
     * Parameter instance specifier
     * 
* * optional int32 parameterInstance = 5; * @return The parameterInstance. */ int getParameterInstance(); } /** * Protobuf type {@code yamcs.protobuf.mdb.MathElement} */ public static final class MathElement extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.MathElement) MathElementOrBuilder { private static final long serialVersionUID = 0L; // Use MathElement.newBuilder() to construct. private MathElement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MathElement() { type_ = 1; operator_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MathElement(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MathElement( 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.MathElement.Type value = org.yamcs.protobuf.Mdb.MathElement.Type.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; type_ = rawValue; } break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; operator_ = bs; break; } case 25: { bitField0_ |= 0x00000004; value_ = input.readDouble(); 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 40: { bitField0_ |= 0x00000010; parameterInstance_ = 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_MathElement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MathElement_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.MathElement.class, org.yamcs.protobuf.Mdb.MathElement.Builder.class); } /** * Protobuf enum {@code yamcs.protobuf.mdb.MathElement.Type} */ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * VALUE_OPERAND = 1; */ VALUE_OPERAND(1), /** * THIS_PARAMETER_OPERAND = 2; */ THIS_PARAMETER_OPERAND(2), /** * OPERATOR = 3; */ OPERATOR(3), /** * PARAMETER = 4; */ PARAMETER(4), ; /** * VALUE_OPERAND = 1; */ public static final int VALUE_OPERAND_VALUE = 1; /** * THIS_PARAMETER_OPERAND = 2; */ public static final int THIS_PARAMETER_OPERAND_VALUE = 2; /** * OPERATOR = 3; */ public static final int OPERATOR_VALUE = 3; /** * PARAMETER = 4; */ public static final int PARAMETER_VALUE = 4; public final int getNumber() { return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Type valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Type forNumber(int value) { switch (value) { case 1: return VALUE_OPERAND; case 2: return THIS_PARAMETER_OPERAND; case 3: return OPERATOR; case 4: return PARAMETER; 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.MathElement.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.MathElement.Type) } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** *
     * Type of element, either an operand kind or an operator.
     * 
* * optional .yamcs.protobuf.mdb.MathElement.Type type = 1; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Type of element, either an operand kind or an operator.
     * 
* * optional .yamcs.protobuf.mdb.MathElement.Type type = 1; * @return The type. */ @java.lang.Override public org.yamcs.protobuf.Mdb.MathElement.Type getType() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.MathElement.Type result = org.yamcs.protobuf.Mdb.MathElement.Type.valueOf(type_); return result == null ? org.yamcs.protobuf.Mdb.MathElement.Type.VALUE_OPERAND : result; } public static final int OPERATOR_FIELD_NUMBER = 2; private volatile java.lang.Object operator_; /** *
     * Operator symbol if type ``OPERATOR``.
     * 
* * optional string operator = 2; * @return Whether the operator field is set. */ @java.lang.Override public boolean hasOperator() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Operator symbol if type ``OPERATOR``.
     * 
* * optional string operator = 2; * @return The operator. */ @java.lang.Override public java.lang.String getOperator() { java.lang.Object ref = operator_; 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()) { operator_ = s; } return s; } } /** *
     * Operator symbol if type ``OPERATOR``.
     * 
* * optional string operator = 2; * @return The bytes for operator. */ @java.lang.Override public com.google.protobuf.ByteString getOperatorBytes() { java.lang.Object ref = operator_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 3; private double value_; /** *
     * Constant if type ``VALUE_OPERAND``.
     * 
* * optional double value = 3; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Constant if type ``VALUE_OPERAND``.
     * 
* * optional double value = 3; * @return The value. */ @java.lang.Override public double getValue() { return value_; } public static final int PARAMETER_FIELD_NUMBER = 4; private org.yamcs.protobuf.Mdb.ParameterInfo parameter_; /** *
     * Parameter whose value is used if type ``PARAMETER``.
     * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; * @return Whether the parameter field is set. */ @java.lang.Override public boolean hasParameter() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Parameter whose value is used if type ``PARAMETER``.
     * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; * @return The parameter. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** *
     * Parameter whose value is used if type ``PARAMETER``.
     * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } public static final int PARAMETERINSTANCE_FIELD_NUMBER = 5; private int parameterInstance_; /** *
     * Parameter instance specifier
     * 
* * optional int32 parameterInstance = 5; * @return Whether the parameterInstance field is set. */ @java.lang.Override public boolean hasParameterInstance() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Parameter instance specifier
     * 
* * optional int32 parameterInstance = 5; * @return The parameterInstance. */ @java.lang.Override public int getParameterInstance() { return parameterInstance_; } 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.writeEnum(1, type_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, operator_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(3, value_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getParameter()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(5, parameterInstance_); } 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.GeneratedMessageV3.computeStringSize(2, operator_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, value_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getParameter()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, parameterInstance_); } 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.MathElement)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.MathElement other = (org.yamcs.protobuf.Mdb.MathElement) obj; if (hasType() != other.hasType()) return false; if (hasType()) { if (type_ != other.type_) return false; } if (hasOperator() != other.hasOperator()) return false; if (hasOperator()) { if (!getOperator() .equals(other.getOperator())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (java.lang.Double.doubleToLongBits(getValue()) != java.lang.Double.doubleToLongBits( other.getValue())) return false; } if (hasParameter() != other.hasParameter()) return false; if (hasParameter()) { if (!getParameter() .equals(other.getParameter())) return false; } if (hasParameterInstance() != other.hasParameterInstance()) return false; if (hasParameterInstance()) { if (getParameterInstance() != other.getParameterInstance()) 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 (hasOperator()) { hash = (37 * hash) + OPERATOR_FIELD_NUMBER; hash = (53 * hash) + getOperator().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getValue())); } if (hasParameter()) { hash = (37 * hash) + PARAMETER_FIELD_NUMBER; hash = (53 * hash) + getParameter().hashCode(); } if (hasParameterInstance()) { hash = (37 * hash) + PARAMETERINSTANCE_FIELD_NUMBER; hash = (53 * hash) + getParameterInstance(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.MathElement parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.MathElement 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.MathElement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.MathElement 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.MathElement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.MathElement parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.MathElement parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.MathElement 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.MathElement parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.MathElement 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.MathElement parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.MathElement 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.MathElement 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.MathElement} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.MathElement) org.yamcs.protobuf.Mdb.MathElementOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MathElement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MathElement_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.MathElement.class, org.yamcs.protobuf.Mdb.MathElement.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.MathElement.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(); type_ = 1; bitField0_ = (bitField0_ & ~0x00000001); operator_ = ""; bitField0_ = (bitField0_ & ~0x00000002); value_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); if (parameterBuilder_ == null) { parameter_ = null; } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); parameterInstance_ = 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_MathElement_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.MathElement getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.MathElement.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.MathElement build() { org.yamcs.protobuf.Mdb.MathElement result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.MathElement buildPartial() { org.yamcs.protobuf.Mdb.MathElement result = new org.yamcs.protobuf.Mdb.MathElement(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)) { to_bitField0_ |= 0x00000002; } result.operator_ = operator_; if (((from_bitField0_ & 0x00000004) != 0)) { result.value_ = value_; 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)) { result.parameterInstance_ = parameterInstance_; 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.MathElement) { return mergeFrom((org.yamcs.protobuf.Mdb.MathElement)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.MathElement other) { if (other == org.yamcs.protobuf.Mdb.MathElement.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasOperator()) { bitField0_ |= 0x00000002; operator_ = other.operator_; onChanged(); } if (other.hasValue()) { setValue(other.getValue()); } if (other.hasParameter()) { mergeParameter(other.getParameter()); } if (other.hasParameterInstance()) { setParameterInstance(other.getParameterInstance()); } 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.MathElement parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.MathElement) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int type_ = 1; /** *
       * Type of element, either an operand kind or an operator.
       * 
* * optional .yamcs.protobuf.mdb.MathElement.Type type = 1; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Type of element, either an operand kind or an operator.
       * 
* * optional .yamcs.protobuf.mdb.MathElement.Type type = 1; * @return The type. */ @java.lang.Override public org.yamcs.protobuf.Mdb.MathElement.Type getType() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.MathElement.Type result = org.yamcs.protobuf.Mdb.MathElement.Type.valueOf(type_); return result == null ? org.yamcs.protobuf.Mdb.MathElement.Type.VALUE_OPERAND : result; } /** *
       * Type of element, either an operand kind or an operator.
       * 
* * optional .yamcs.protobuf.mdb.MathElement.Type type = 1; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(org.yamcs.protobuf.Mdb.MathElement.Type value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value.getNumber(); onChanged(); return this; } /** *
       * Type of element, either an operand kind or an operator.
       * 
* * optional .yamcs.protobuf.mdb.MathElement.Type type = 1; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 1; onChanged(); return this; } private java.lang.Object operator_ = ""; /** *
       * Operator symbol if type ``OPERATOR``.
       * 
* * optional string operator = 2; * @return Whether the operator field is set. */ public boolean hasOperator() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Operator symbol if type ``OPERATOR``.
       * 
* * optional string operator = 2; * @return The operator. */ public java.lang.String getOperator() { java.lang.Object ref = operator_; 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()) { operator_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Operator symbol if type ``OPERATOR``.
       * 
* * optional string operator = 2; * @return The bytes for operator. */ public com.google.protobuf.ByteString getOperatorBytes() { java.lang.Object ref = operator_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Operator symbol if type ``OPERATOR``.
       * 
* * optional string operator = 2; * @param value The operator to set. * @return This builder for chaining. */ public Builder setOperator( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; operator_ = value; onChanged(); return this; } /** *
       * Operator symbol if type ``OPERATOR``.
       * 
* * optional string operator = 2; * @return This builder for chaining. */ public Builder clearOperator() { bitField0_ = (bitField0_ & ~0x00000002); operator_ = getDefaultInstance().getOperator(); onChanged(); return this; } /** *
       * Operator symbol if type ``OPERATOR``.
       * 
* * optional string operator = 2; * @param value The bytes for operator to set. * @return This builder for chaining. */ public Builder setOperatorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; operator_ = value; onChanged(); return this; } private double value_ ; /** *
       * Constant if type ``VALUE_OPERAND``.
       * 
* * optional double value = 3; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Constant if type ``VALUE_OPERAND``.
       * 
* * optional double value = 3; * @return The value. */ @java.lang.Override public double getValue() { return value_; } /** *
       * Constant if type ``VALUE_OPERAND``.
       * 
* * optional double value = 3; * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(double value) { bitField0_ |= 0x00000004; value_ = value; onChanged(); return this; } /** *
       * Constant if type ``VALUE_OPERAND``.
       * 
* * optional double value = 3; * @return This builder for chaining. */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000004); value_ = 0D; onChanged(); return this; } 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_; /** *
       * Parameter whose value is used if type ``PARAMETER``.
       * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; * @return Whether the parameter field is set. */ public boolean hasParameter() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Parameter whose value is used if type ``PARAMETER``.
       * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; * @return The parameter. */ public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { if (parameterBuilder_ == null) { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } else { return parameterBuilder_.getMessage(); } } /** *
       * Parameter whose value is used if type ``PARAMETER``.
       * 
* * 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; } /** *
       * Parameter whose value is used if type ``PARAMETER``.
       * 
* * 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; } /** *
       * Parameter whose value is used if type ``PARAMETER``.
       * 
* * 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; } /** *
       * Parameter whose value is used if type ``PARAMETER``.
       * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ public Builder clearParameter() { if (parameterBuilder_ == null) { parameter_ = null; onChanged(); } else { parameterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** *
       * Parameter whose value is used if type ``PARAMETER``.
       * 
* * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 4; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getParameterBuilder() { bitField0_ |= 0x00000008; onChanged(); return getParameterFieldBuilder().getBuilder(); } /** *
       * Parameter whose value is used if type ``PARAMETER``.
       * 
* * 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_; } } /** *
       * Parameter whose value is used if type ``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 int parameterInstance_ ; /** *
       * Parameter instance specifier
       * 
* * optional int32 parameterInstance = 5; * @return Whether the parameterInstance field is set. */ @java.lang.Override public boolean hasParameterInstance() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Parameter instance specifier
       * 
* * optional int32 parameterInstance = 5; * @return The parameterInstance. */ @java.lang.Override public int getParameterInstance() { return parameterInstance_; } /** *
       * Parameter instance specifier
       * 
* * optional int32 parameterInstance = 5; * @param value The parameterInstance to set. * @return This builder for chaining. */ public Builder setParameterInstance(int value) { bitField0_ |= 0x00000010; parameterInstance_ = value; onChanged(); return this; } /** *
       * Parameter instance specifier
       * 
* * optional int32 parameterInstance = 5; * @return This builder for chaining. */ public Builder clearParameterInstance() { bitField0_ = (bitField0_ & ~0x00000010); parameterInstance_ = 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.MathElement) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.MathElement) private static final org.yamcs.protobuf.Mdb.MathElement DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.MathElement(); } public static org.yamcs.protobuf.Mdb.MathElement getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MathElement parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MathElement(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.MathElement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlgorithmInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.AlgorithmInfo) com.google.protobuf.MessageOrBuilder { /** *
     * Algorithm name
     * 
* * optional string name = 1; * @return Whether the name field is set. */ boolean hasName(); /** *
     * Algorithm name
     * 
* * optional string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Algorithm name
     * 
* * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ boolean hasQualifiedName(); /** * optional string qualifiedName = 2; * @return The qualifiedName. */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 2; * @return The bytes for qualifiedName. */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ boolean hasShortDescription(); /** * optional string shortDescription = 3; * @return The shortDescription. */ java.lang.String getShortDescription(); /** * optional string shortDescription = 3; * @return The bytes for shortDescription. */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** * optional string longDescription = 4; * @return Whether the longDescription field is set. */ boolean hasLongDescription(); /** * optional string longDescription = 4; * @return The longDescription. */ java.lang.String getLongDescription(); /** * optional string longDescription = 4; * @return The bytes for longDescription. */ 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; * @return Whether the scope field is set. */ boolean hasScope(); /** * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 6; * @return The scope. */ org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope getScope(); /** *
     * Type of algorithm
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Type type = 13; * @return Whether the type field is set. */ boolean hasType(); /** *
     * Type of algorithm
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Type type = 13; * @return The type. */ org.yamcs.protobuf.Mdb.AlgorithmInfo.Type getType(); /** *
     * Language if this is a custom algorithm
     * 
* * optional string language = 7; * @return Whether the language field is set. */ boolean hasLanguage(); /** *
     * Language if this is a custom algorithm
     * 
* * optional string language = 7; * @return The language. */ java.lang.String getLanguage(); /** *
     * Language if this is a custom algorithm
     * 
* * optional string language = 7; * @return The bytes for language. */ com.google.protobuf.ByteString getLanguageBytes(); /** *
     * Code if this is a custom algorithm
     * 
* * optional string text = 8; * @return Whether the text field is set. */ boolean hasText(); /** *
     * Code if this is a custom algorithm
     * 
* * optional string text = 8; * @return The text. */ java.lang.String getText(); /** *
     * Code if this is a custom algorithm
     * 
* * optional string text = 8; * @return The bytes for text. */ 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; * @return A list containing the onPeriodicRate. */ java.util.List getOnPeriodicRateList(); /** * repeated int64 onPeriodicRate = 12; * @return The count of onPeriodicRate. */ int getOnPeriodicRateCount(); /** * repeated int64 onPeriodicRate = 12; * @param index The index of the element to return. * @return The onPeriodicRate at the given index. */ long getOnPeriodicRate(int index); /** *
     * Operands and operators in Reverse Polish Notation if type ``MATH``.
     * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ java.util.List getMathElementsList(); /** *
     * Operands and operators in Reverse Polish Notation if type ``MATH``.
     * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ org.yamcs.protobuf.Mdb.MathElement getMathElements(int index); /** *
     * Operands and operators in Reverse Polish Notation if type ``MATH``.
     * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ int getMathElementsCount(); /** *
     * Operands and operators in Reverse Polish Notation if type ``MATH``.
     * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ java.util.List getMathElementsOrBuilderList(); /** *
     * Operands and operators in Reverse Polish Notation if type ``MATH``.
     * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ org.yamcs.protobuf.Mdb.MathElementOrBuilder getMathElementsOrBuilder( 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; type_ = 1; language_ = ""; text_ = ""; inputParameter_ = java.util.Collections.emptyList(); outputParameter_ = java.util.Collections.emptyList(); onParameterUpdate_ = java.util.Collections.emptyList(); onPeriodicRate_ = emptyLongList(); mathElements_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlgorithmInfo(); } @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_ |= 0x00000040; language_ = bs; break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; text_ = bs; break; } case 74: { if (!((mutable_bitField0_ & 0x00000200) != 0)) { inputParameter_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } inputParameter_.add( input.readMessage(org.yamcs.protobuf.Mdb.InputParameterInfo.PARSER, extensionRegistry)); break; } case 82: { if (!((mutable_bitField0_ & 0x00000400) != 0)) { outputParameter_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000400; } outputParameter_.add( input.readMessage(org.yamcs.protobuf.Mdb.OutputParameterInfo.PARSER, extensionRegistry)); break; } case 90: { if (!((mutable_bitField0_ & 0x00000800) != 0)) { onParameterUpdate_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000800; } onParameterUpdate_.add( input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry)); break; } case 96: { if (!((mutable_bitField0_ & 0x00001000) != 0)) { onPeriodicRate_ = newLongList(); mutable_bitField0_ |= 0x00001000; } onPeriodicRate_.addLong(input.readInt64()); break; } case 98: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00001000) != 0) && input.getBytesUntilLimit() > 0) { onPeriodicRate_ = newLongList(); mutable_bitField0_ |= 0x00001000; } while (input.getBytesUntilLimit() > 0) { onPeriodicRate_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 104: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlgorithmInfo.Type value = org.yamcs.protobuf.Mdb.AlgorithmInfo.Type.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(13, rawValue); } else { bitField0_ |= 0x00000020; type_ = rawValue; } break; } case 114: { if (!((mutable_bitField0_ & 0x00002000) != 0)) { mathElements_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00002000; } mathElements_.add( input.readMessage(org.yamcs.protobuf.Mdb.MathElement.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_ & 0x00000200) != 0)) { inputParameter_ = java.util.Collections.unmodifiableList(inputParameter_); } if (((mutable_bitField0_ & 0x00000400) != 0)) { outputParameter_ = java.util.Collections.unmodifiableList(outputParameter_); } if (((mutable_bitField0_ & 0x00000800) != 0)) { onParameterUpdate_ = java.util.Collections.unmodifiableList(onParameterUpdate_); } if (((mutable_bitField0_ & 0x00001000) != 0)) { onPeriodicRate_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00002000) != 0)) { mathElements_ = java.util.Collections.unmodifiableList(mathElements_); } 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.Type} */ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * CUSTOM = 1; */ CUSTOM(1), /** * MATH = 2; */ MATH(2), ; /** * CUSTOM = 1; */ public static final int CUSTOM_VALUE = 1; /** * MATH = 2; */ public static final int MATH_VALUE = 2; public final int getNumber() { return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Type valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Type forNumber(int value) { switch (value) { case 1: return CUSTOM; case 2: return MATH; 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.AlgorithmInfo.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.AlgorithmInfo.Type) } /** * 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; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Scope valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static 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(1); } 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_; /** *
     * Algorithm name
     * 
* * optional string name = 1; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Algorithm name
     * 
* * optional string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * Algorithm name
     * 
* * optional string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 2; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ @java.lang.Override public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; * @return The qualifiedName. */ @java.lang.Override 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; * @return The bytes for qualifiedName. */ @java.lang.Override 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; * @return Whether the shortDescription field is set. */ @java.lang.Override public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ @java.lang.Override 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; * @return The bytes for shortDescription. */ @java.lang.Override 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; * @return Whether the longDescription field is set. */ @java.lang.Override public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ @java.lang.Override 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; * @return The bytes for longDescription. */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 5; */ @java.lang.Override 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; * @return Whether the scope field is set. */ @java.lang.Override public boolean hasScope() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 6; * @return The scope. */ @java.lang.Override 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 TYPE_FIELD_NUMBER = 13; private int type_; /** *
     * Type of algorithm
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Type type = 13; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Type of algorithm
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Type type = 13; * @return The type. */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlgorithmInfo.Type getType() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlgorithmInfo.Type result = org.yamcs.protobuf.Mdb.AlgorithmInfo.Type.valueOf(type_); return result == null ? org.yamcs.protobuf.Mdb.AlgorithmInfo.Type.CUSTOM : result; } public static final int LANGUAGE_FIELD_NUMBER = 7; private volatile java.lang.Object language_; /** *
     * Language if this is a custom algorithm
     * 
* * optional string language = 7; * @return Whether the language field is set. */ @java.lang.Override public boolean hasLanguage() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Language if this is a custom algorithm
     * 
* * optional string language = 7; * @return The language. */ @java.lang.Override 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; } } /** *
     * Language if this is a custom algorithm
     * 
* * optional string language = 7; * @return The bytes for language. */ @java.lang.Override 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_; /** *
     * Code if this is a custom algorithm
     * 
* * optional string text = 8; * @return Whether the text field is set. */ @java.lang.Override public boolean hasText() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Code if this is a custom algorithm
     * 
* * optional string text = 8; * @return The text. */ @java.lang.Override 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; } } /** *
     * Code if this is a custom algorithm
     * 
* * optional string text = 8; * @return The bytes for text. */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getInputParameterList() { return inputParameter_; } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ @java.lang.Override public java.util.List getInputParameterOrBuilderList() { return inputParameter_; } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ @java.lang.Override public int getInputParameterCount() { return inputParameter_.size(); } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ @java.lang.Override public org.yamcs.protobuf.Mdb.InputParameterInfo getInputParameter(int index) { return inputParameter_.get(index); } /** * repeated .yamcs.protobuf.mdb.InputParameterInfo inputParameter = 9; */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getOutputParameterList() { return outputParameter_; } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ @java.lang.Override public java.util.List getOutputParameterOrBuilderList() { return outputParameter_; } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ @java.lang.Override public int getOutputParameterCount() { return outputParameter_.size(); } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ @java.lang.Override public org.yamcs.protobuf.Mdb.OutputParameterInfo getOutputParameter(int index) { return outputParameter_.get(index); } /** * repeated .yamcs.protobuf.mdb.OutputParameterInfo outputParameter = 10; */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getOnParameterUpdateList() { return onParameterUpdate_; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ @java.lang.Override public java.util.List getOnParameterUpdateOrBuilderList() { return onParameterUpdate_; } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ @java.lang.Override public int getOnParameterUpdateCount() { return onParameterUpdate_.size(); } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getOnParameterUpdate(int index) { return onParameterUpdate_.get(index); } /** * repeated .yamcs.protobuf.mdb.ParameterInfo onParameterUpdate = 11; */ @java.lang.Override 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; * @return A list containing the onPeriodicRate. */ @java.lang.Override public java.util.List getOnPeriodicRateList() { return onPeriodicRate_; } /** * repeated int64 onPeriodicRate = 12; * @return The count of onPeriodicRate. */ public int getOnPeriodicRateCount() { return onPeriodicRate_.size(); } /** * repeated int64 onPeriodicRate = 12; * @param index The index of the element to return. * @return The onPeriodicRate at the given index. */ public long getOnPeriodicRate(int index) { return onPeriodicRate_.getLong(index); } public static final int MATHELEMENTS_FIELD_NUMBER = 14; private java.util.List mathElements_; /** *
     * Operands and operators in Reverse Polish Notation if type ``MATH``.
     * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ @java.lang.Override public java.util.List getMathElementsList() { return mathElements_; } /** *
     * Operands and operators in Reverse Polish Notation if type ``MATH``.
     * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ @java.lang.Override public java.util.List getMathElementsOrBuilderList() { return mathElements_; } /** *
     * Operands and operators in Reverse Polish Notation if type ``MATH``.
     * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ @java.lang.Override public int getMathElementsCount() { return mathElements_.size(); } /** *
     * Operands and operators in Reverse Polish Notation if type ``MATH``.
     * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ @java.lang.Override public org.yamcs.protobuf.Mdb.MathElement getMathElements(int index) { return mathElements_.get(index); } /** *
     * Operands and operators in Reverse Polish Notation if type ``MATH``.
     * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ @java.lang.Override public org.yamcs.protobuf.Mdb.MathElementOrBuilder getMathElementsOrBuilder( int index) { return mathElements_.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; } } 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; } } for (int i = 0; i < getMathElementsCount(); i++) { if (!getMathElements(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_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, language_); } if (((bitField0_ & 0x00000080) != 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)); } if (((bitField0_ & 0x00000020) != 0)) { output.writeEnum(13, type_); } for (int i = 0; i < mathElements_.size(); i++) { output.writeMessage(14, mathElements_.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 .computeEnumSize(6, scope_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, language_); } if (((bitField0_ & 0x00000080) != 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(); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(13, type_); } for (int i = 0; i < mathElements_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, mathElements_.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.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 (hasType() != other.hasType()) return false; if (hasType()) { if (type_ != other.type_) 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 (!getMathElementsList() .equals(other.getMathElementsList())) 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 (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; } 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(); } if (getMathElementsCount() > 0) { hash = (37 * hash) + MATHELEMENTS_FIELD_NUMBER; hash = (53 * hash) + getMathElementsList().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(); getMathElementsFieldBuilder(); } } @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); type_ = 1; bitField0_ = (bitField0_ & ~0x00000040); language_ = ""; bitField0_ = (bitField0_ & ~0x00000080); text_ = ""; bitField0_ = (bitField0_ & ~0x00000100); if (inputParameterBuilder_ == null) { inputParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); } else { inputParameterBuilder_.clear(); } if (outputParameterBuilder_ == null) { outputParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); } else { outputParameterBuilder_.clear(); } if (onParameterUpdateBuilder_ == null) { onParameterUpdate_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); } else { onParameterUpdateBuilder_.clear(); } onPeriodicRate_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00001000); if (mathElementsBuilder_ == null) { mathElements_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00002000); } else { mathElementsBuilder_.clear(); } 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.type_ = type_; if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000040; } result.language_ = language_; if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000080; } result.text_ = text_; if (inputParameterBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { inputParameter_ = java.util.Collections.unmodifiableList(inputParameter_); bitField0_ = (bitField0_ & ~0x00000200); } result.inputParameter_ = inputParameter_; } else { result.inputParameter_ = inputParameterBuilder_.build(); } if (outputParameterBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { outputParameter_ = java.util.Collections.unmodifiableList(outputParameter_); bitField0_ = (bitField0_ & ~0x00000400); } result.outputParameter_ = outputParameter_; } else { result.outputParameter_ = outputParameterBuilder_.build(); } if (onParameterUpdateBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { onParameterUpdate_ = java.util.Collections.unmodifiableList(onParameterUpdate_); bitField0_ = (bitField0_ & ~0x00000800); } result.onParameterUpdate_ = onParameterUpdate_; } else { result.onParameterUpdate_ = onParameterUpdateBuilder_.build(); } if (((bitField0_ & 0x00001000) != 0)) { onPeriodicRate_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00001000); } result.onPeriodicRate_ = onPeriodicRate_; if (mathElementsBuilder_ == null) { if (((bitField0_ & 0x00002000) != 0)) { mathElements_ = java.util.Collections.unmodifiableList(mathElements_); bitField0_ = (bitField0_ & ~0x00002000); } result.mathElements_ = mathElements_; } else { result.mathElements_ = mathElementsBuilder_.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.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.hasType()) { setType(other.getType()); } if (other.hasLanguage()) { bitField0_ |= 0x00000080; language_ = other.language_; onChanged(); } if (other.hasText()) { bitField0_ |= 0x00000100; text_ = other.text_; onChanged(); } if (inputParameterBuilder_ == null) { if (!other.inputParameter_.isEmpty()) { if (inputParameter_.isEmpty()) { inputParameter_ = other.inputParameter_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureInputParameterIsMutable(); inputParameter_.addAll(other.inputParameter_); } onChanged(); } } else { if (!other.inputParameter_.isEmpty()) { if (inputParameterBuilder_.isEmpty()) { inputParameterBuilder_.dispose(); inputParameterBuilder_ = null; inputParameter_ = other.inputParameter_; bitField0_ = (bitField0_ & ~0x00000200); 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_ & ~0x00000400); } else { ensureOutputParameterIsMutable(); outputParameter_.addAll(other.outputParameter_); } onChanged(); } } else { if (!other.outputParameter_.isEmpty()) { if (outputParameterBuilder_.isEmpty()) { outputParameterBuilder_.dispose(); outputParameterBuilder_ = null; outputParameter_ = other.outputParameter_; bitField0_ = (bitField0_ & ~0x00000400); 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_ & ~0x00000800); } else { ensureOnParameterUpdateIsMutable(); onParameterUpdate_.addAll(other.onParameterUpdate_); } onChanged(); } } else { if (!other.onParameterUpdate_.isEmpty()) { if (onParameterUpdateBuilder_.isEmpty()) { onParameterUpdateBuilder_.dispose(); onParameterUpdateBuilder_ = null; onParameterUpdate_ = other.onParameterUpdate_; bitField0_ = (bitField0_ & ~0x00000800); 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_ & ~0x00001000); } else { ensureOnPeriodicRateIsMutable(); onPeriodicRate_.addAll(other.onPeriodicRate_); } onChanged(); } if (mathElementsBuilder_ == null) { if (!other.mathElements_.isEmpty()) { if (mathElements_.isEmpty()) { mathElements_ = other.mathElements_; bitField0_ = (bitField0_ & ~0x00002000); } else { ensureMathElementsIsMutable(); mathElements_.addAll(other.mathElements_); } onChanged(); } } else { if (!other.mathElements_.isEmpty()) { if (mathElementsBuilder_.isEmpty()) { mathElementsBuilder_.dispose(); mathElementsBuilder_ = null; mathElements_ = other.mathElements_; bitField0_ = (bitField0_ & ~0x00002000); mathElementsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMathElementsFieldBuilder() : null; } else { mathElementsBuilder_.addAllMessages(other.mathElements_); } } } 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; } } for (int i = 0; i < getMathElementsCount(); i++) { if (!getMathElements(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_ = ""; /** *
       * Algorithm name
       * 
* * optional string name = 1; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Algorithm name
       * 
* * optional string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Algorithm name
       * 
* * optional string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Algorithm name
       * 
* * optional string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** *
       * Algorithm name
       * 
* * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Algorithm name
       * 
* * optional string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; * @return The qualifiedName. */ 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; * @return The bytes for qualifiedName. */ 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; * @param value The qualifiedName to set. * @return This builder for chaining. */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 2; * @return This builder for chaining. */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 2; * @param value The bytes for qualifiedName to set. * @return This builder for chaining. */ 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; * @return Whether the shortDescription field is set. */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string shortDescription = 3; * @return The shortDescription. */ 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; * @return The bytes for shortDescription. */ 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; * @param value The shortDescription to set. * @return This builder for chaining. */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** * optional string shortDescription = 3; * @return This builder for chaining. */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** * optional string shortDescription = 3; * @param value The bytes for shortDescription to set. * @return This builder for chaining. */ 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; * @return Whether the longDescription field is set. */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string longDescription = 4; * @return The longDescription. */ 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; * @return The bytes for longDescription. */ 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; * @param value The longDescription to set. * @return This builder for chaining. */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** * optional string longDescription = 4; * @return This builder for chaining. */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** * optional string longDescription = 4; * @param value The bytes for longDescription to set. * @return This builder for chaining. */ 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; * @return Whether the scope field is set. */ @java.lang.Override public boolean hasScope() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 6; * @return The scope. */ @java.lang.Override 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; * @param value The scope to set. * @return This builder for chaining. */ 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; * @return This builder for chaining. */ public Builder clearScope() { bitField0_ = (bitField0_ & ~0x00000020); scope_ = 0; onChanged(); return this; } private int type_ = 1; /** *
       * Type of algorithm
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Type type = 13; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * Type of algorithm
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Type type = 13; * @return The type. */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlgorithmInfo.Type getType() { @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.AlgorithmInfo.Type result = org.yamcs.protobuf.Mdb.AlgorithmInfo.Type.valueOf(type_); return result == null ? org.yamcs.protobuf.Mdb.AlgorithmInfo.Type.CUSTOM : result; } /** *
       * Type of algorithm
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Type type = 13; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(org.yamcs.protobuf.Mdb.AlgorithmInfo.Type value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; type_ = value.getNumber(); onChanged(); return this; } /** *
       * Type of algorithm
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Type type = 13; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000040); type_ = 1; onChanged(); return this; } private java.lang.Object language_ = ""; /** *
       * Language if this is a custom algorithm
       * 
* * optional string language = 7; * @return Whether the language field is set. */ public boolean hasLanguage() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Language if this is a custom algorithm
       * 
* * optional string language = 7; * @return The language. */ 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; } } /** *
       * Language if this is a custom algorithm
       * 
* * optional string language = 7; * @return The bytes for language. */ 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; } } /** *
       * Language if this is a custom algorithm
       * 
* * optional string language = 7; * @param value The language to set. * @return This builder for chaining. */ public Builder setLanguage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; language_ = value; onChanged(); return this; } /** *
       * Language if this is a custom algorithm
       * 
* * optional string language = 7; * @return This builder for chaining. */ public Builder clearLanguage() { bitField0_ = (bitField0_ & ~0x00000080); language_ = getDefaultInstance().getLanguage(); onChanged(); return this; } /** *
       * Language if this is a custom algorithm
       * 
* * optional string language = 7; * @param value The bytes for language to set. * @return This builder for chaining. */ public Builder setLanguageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; language_ = value; onChanged(); return this; } private java.lang.Object text_ = ""; /** *
       * Code if this is a custom algorithm
       * 
* * optional string text = 8; * @return Whether the text field is set. */ public boolean hasText() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * Code if this is a custom algorithm
       * 
* * optional string text = 8; * @return The text. */ 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; } } /** *
       * Code if this is a custom algorithm
       * 
* * optional string text = 8; * @return The bytes for text. */ 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; } } /** *
       * Code if this is a custom algorithm
       * 
* * optional string text = 8; * @param value The text to set. * @return This builder for chaining. */ public Builder setText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; text_ = value; onChanged(); return this; } /** *
       * Code if this is a custom algorithm
       * 
* * optional string text = 8; * @return This builder for chaining. */ public Builder clearText() { bitField0_ = (bitField0_ & ~0x00000100); text_ = getDefaultInstance().getText(); onChanged(); return this; } /** *
       * Code if this is a custom algorithm
       * 
* * optional string text = 8; * @param value The bytes for text to set. * @return This builder for chaining. */ public Builder setTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; text_ = value; onChanged(); return this; } private java.util.List inputParameter_ = java.util.Collections.emptyList(); private void ensureInputParameterIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { inputParameter_ = new java.util.ArrayList(inputParameter_); bitField0_ |= 0x00000200; } } 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_ & ~0x00000200); 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_ & 0x00000200) != 0), getParentForChildren(), isClean()); inputParameter_ = null; } return inputParameterBuilder_; } private java.util.List outputParameter_ = java.util.Collections.emptyList(); private void ensureOutputParameterIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { outputParameter_ = new java.util.ArrayList(outputParameter_); bitField0_ |= 0x00000400; } } 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_ & ~0x00000400); 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_ & 0x00000400) != 0), getParentForChildren(), isClean()); outputParameter_ = null; } return outputParameterBuilder_; } private java.util.List onParameterUpdate_ = java.util.Collections.emptyList(); private void ensureOnParameterUpdateIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { onParameterUpdate_ = new java.util.ArrayList(onParameterUpdate_); bitField0_ |= 0x00000800; } } 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_ & ~0x00000800); 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_ & 0x00000800) != 0), getParentForChildren(), isClean()); onParameterUpdate_ = null; } return onParameterUpdateBuilder_; } private com.google.protobuf.Internal.LongList onPeriodicRate_ = emptyLongList(); private void ensureOnPeriodicRateIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { onPeriodicRate_ = mutableCopy(onPeriodicRate_); bitField0_ |= 0x00001000; } } /** * repeated int64 onPeriodicRate = 12; * @return A list containing the onPeriodicRate. */ public java.util.List getOnPeriodicRateList() { return ((bitField0_ & 0x00001000) != 0) ? java.util.Collections.unmodifiableList(onPeriodicRate_) : onPeriodicRate_; } /** * repeated int64 onPeriodicRate = 12; * @return The count of onPeriodicRate. */ public int getOnPeriodicRateCount() { return onPeriodicRate_.size(); } /** * repeated int64 onPeriodicRate = 12; * @param index The index of the element to return. * @return The onPeriodicRate at the given index. */ public long getOnPeriodicRate(int index) { return onPeriodicRate_.getLong(index); } /** * repeated int64 onPeriodicRate = 12; * @param index The index to set the value at. * @param value The onPeriodicRate to set. * @return This builder for chaining. */ public Builder setOnPeriodicRate( int index, long value) { ensureOnPeriodicRateIsMutable(); onPeriodicRate_.setLong(index, value); onChanged(); return this; } /** * repeated int64 onPeriodicRate = 12; * @param value The onPeriodicRate to add. * @return This builder for chaining. */ public Builder addOnPeriodicRate(long value) { ensureOnPeriodicRateIsMutable(); onPeriodicRate_.addLong(value); onChanged(); return this; } /** * repeated int64 onPeriodicRate = 12; * @param values The onPeriodicRate to add. * @return This builder for chaining. */ public Builder addAllOnPeriodicRate( java.lang.Iterable values) { ensureOnPeriodicRateIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, onPeriodicRate_); onChanged(); return this; } /** * repeated int64 onPeriodicRate = 12; * @return This builder for chaining. */ public Builder clearOnPeriodicRate() { onPeriodicRate_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } private java.util.List mathElements_ = java.util.Collections.emptyList(); private void ensureMathElementsIsMutable() { if (!((bitField0_ & 0x00002000) != 0)) { mathElements_ = new java.util.ArrayList(mathElements_); bitField0_ |= 0x00002000; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.MathElement, org.yamcs.protobuf.Mdb.MathElement.Builder, org.yamcs.protobuf.Mdb.MathElementOrBuilder> mathElementsBuilder_; /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public java.util.List getMathElementsList() { if (mathElementsBuilder_ == null) { return java.util.Collections.unmodifiableList(mathElements_); } else { return mathElementsBuilder_.getMessageList(); } } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public int getMathElementsCount() { if (mathElementsBuilder_ == null) { return mathElements_.size(); } else { return mathElementsBuilder_.getCount(); } } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public org.yamcs.protobuf.Mdb.MathElement getMathElements(int index) { if (mathElementsBuilder_ == null) { return mathElements_.get(index); } else { return mathElementsBuilder_.getMessage(index); } } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public Builder setMathElements( int index, org.yamcs.protobuf.Mdb.MathElement value) { if (mathElementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMathElementsIsMutable(); mathElements_.set(index, value); onChanged(); } else { mathElementsBuilder_.setMessage(index, value); } return this; } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public Builder setMathElements( int index, org.yamcs.protobuf.Mdb.MathElement.Builder builderForValue) { if (mathElementsBuilder_ == null) { ensureMathElementsIsMutable(); mathElements_.set(index, builderForValue.build()); onChanged(); } else { mathElementsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public Builder addMathElements(org.yamcs.protobuf.Mdb.MathElement value) { if (mathElementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMathElementsIsMutable(); mathElements_.add(value); onChanged(); } else { mathElementsBuilder_.addMessage(value); } return this; } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public Builder addMathElements( int index, org.yamcs.protobuf.Mdb.MathElement value) { if (mathElementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMathElementsIsMutable(); mathElements_.add(index, value); onChanged(); } else { mathElementsBuilder_.addMessage(index, value); } return this; } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public Builder addMathElements( org.yamcs.protobuf.Mdb.MathElement.Builder builderForValue) { if (mathElementsBuilder_ == null) { ensureMathElementsIsMutable(); mathElements_.add(builderForValue.build()); onChanged(); } else { mathElementsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public Builder addMathElements( int index, org.yamcs.protobuf.Mdb.MathElement.Builder builderForValue) { if (mathElementsBuilder_ == null) { ensureMathElementsIsMutable(); mathElements_.add(index, builderForValue.build()); onChanged(); } else { mathElementsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public Builder addAllMathElements( java.lang.Iterable values) { if (mathElementsBuilder_ == null) { ensureMathElementsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, mathElements_); onChanged(); } else { mathElementsBuilder_.addAllMessages(values); } return this; } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public Builder clearMathElements() { if (mathElementsBuilder_ == null) { mathElements_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); } else { mathElementsBuilder_.clear(); } return this; } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public Builder removeMathElements(int index) { if (mathElementsBuilder_ == null) { ensureMathElementsIsMutable(); mathElements_.remove(index); onChanged(); } else { mathElementsBuilder_.remove(index); } return this; } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public org.yamcs.protobuf.Mdb.MathElement.Builder getMathElementsBuilder( int index) { return getMathElementsFieldBuilder().getBuilder(index); } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public org.yamcs.protobuf.Mdb.MathElementOrBuilder getMathElementsOrBuilder( int index) { if (mathElementsBuilder_ == null) { return mathElements_.get(index); } else { return mathElementsBuilder_.getMessageOrBuilder(index); } } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public java.util.List getMathElementsOrBuilderList() { if (mathElementsBuilder_ != null) { return mathElementsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(mathElements_); } } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public org.yamcs.protobuf.Mdb.MathElement.Builder addMathElementsBuilder() { return getMathElementsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.MathElement.getDefaultInstance()); } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public org.yamcs.protobuf.Mdb.MathElement.Builder addMathElementsBuilder( int index) { return getMathElementsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.MathElement.getDefaultInstance()); } /** *
       * Operands and operators in Reverse Polish Notation if type ``MATH``.
       * 
* * repeated .yamcs.protobuf.mdb.MathElement mathElements = 14; */ public java.util.List getMathElementsBuilderList() { return getMathElementsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.MathElement, org.yamcs.protobuf.Mdb.MathElement.Builder, org.yamcs.protobuf.Mdb.MathElementOrBuilder> getMathElementsFieldBuilder() { if (mathElementsBuilder_ == null) { mathElementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.MathElement, org.yamcs.protobuf.Mdb.MathElement.Builder, org.yamcs.protobuf.Mdb.MathElementOrBuilder>( mathElements_, ((bitField0_ & 0x00002000) != 0), getParentForChildren(), isClean()); mathElements_ = null; } return mathElementsBuilder_; } @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 { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return Whether the q field is set. */ boolean hasQ(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The q. */ java.lang.String getQ(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The bytes for q. */ com.google.protobuf.ByteString getQBytes(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return Whether the next field is set. */ boolean hasNext(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The next. */ java.lang.String getNext(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The bytes for next. */ com.google.protobuf.ByteString getNextBytes(); /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ boolean hasPos(); /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return The pos. */ int getPos(); /** *
     * The maximum number of returned systems per page. Choose this value too high
     * and you risk hitting the maximum response size limit enforced by the server.
     * Default: ``100``
     * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ boolean hasLimit(); /** *
     * The maximum number of returned systems per page. Choose this value too high
     * and you risk hitting the maximum response size limit enforced by the server.
     * Default: ``100``
     * 
* * optional int32 limit = 9; * @return The limit. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListSpaceSystemsRequest(); } @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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 2; private volatile java.lang.Object q_; /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return Whether the q field is set. */ @java.lang.Override public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The q. */ @java.lang.Override 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; } } /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The bytes for q. */ @java.lang.Override 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_; /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return Whether the next field is set. */ @java.lang.Override public boolean hasNext() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The next. */ @java.lang.Override 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; } } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The bytes for next. */ @java.lang.Override 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_; /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ @java.lang.Override public boolean hasPos() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return The pos. */ @java.lang.Override public int getPos() { return pos_; } public static final int LIMIT_FIELD_NUMBER = 9; private int limit_; /** *
     * The maximum number of returned systems per page. Choose this value too high
     * and you risk hitting the maximum response size limit enforced by the server.
     * Default: ``100``
     * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * The maximum number of returned systems per page. Choose this value too high
     * and you risk hitting the maximum response size limit enforced by the server.
     * Default: ``100``
     * 
* * optional int32 limit = 9; * @return The limit. */ @java.lang.Override 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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return Whether the q field is set. */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return The q. */ 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; } } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return The bytes for q. */ 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; } } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @param value The q to set. * @return This builder for chaining. */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return This builder for chaining. */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000002); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @param value The bytes for q to set. * @return This builder for chaining. */ 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_ = ""; /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return Whether the next field is set. */ public boolean hasNext() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return The next. */ 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; } } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return The bytes for next. */ 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; } } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @param value The next to set. * @return This builder for chaining. */ public Builder setNext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; next_ = value; onChanged(); return this; } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return This builder for chaining. */ public Builder clearNext() { bitField0_ = (bitField0_ & ~0x00000004); next_ = getDefaultInstance().getNext(); onChanged(); return this; } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @param value The bytes for next to set. * @return This builder for chaining. */ public Builder setNextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; next_ = value; onChanged(); return this; } private int pos_ ; /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ @java.lang.Override public boolean hasPos() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return The pos. */ @java.lang.Override public int getPos() { return pos_; } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @param value The pos to set. * @return This builder for chaining. */ public Builder setPos(int value) { bitField0_ |= 0x00000008; pos_ = value; onChanged(); return this; } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return This builder for chaining. */ public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000008); pos_ = 0; onChanged(); return this; } private int limit_ ; /** *
       * The maximum number of returned systems per page. Choose this value too high
       * and you risk hitting the maximum response size limit enforced by the server.
       * Default: ``100``
       * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The maximum number of returned systems per page. Choose this value too high
       * and you risk hitting the maximum response size limit enforced by the server.
       * Default: ``100``
       * 
* * optional int32 limit = 9; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } /** *
       * The maximum number of returned systems per page. Choose this value too high
       * and you risk hitting the maximum response size limit enforced by the server.
       * Default: ``100``
       * 
* * optional int32 limit = 9; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { bitField0_ |= 0x00000010; limit_ = value; onChanged(); return this; } /** *
       * The maximum number of returned systems per page. Choose this value too high
       * and you risk hitting the maximum response size limit enforced by the server.
       * Default: ``100``
       * 
* * optional int32 limit = 9; * @return This builder for chaining. */ 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 ListContainersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListContainersRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return Whether the q field is set. */ boolean hasQ(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The q. */ java.lang.String getQ(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The bytes for q. */ com.google.protobuf.ByteString getQBytes(); /** *
     * List only direct child sub-systems or containers of the specified system.
     * For example when querying the system "/a" against an MDB with containers
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * container "/a/c".
     * When ``system`` and ``q`` are used together, matching containers at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return Whether the system field is set. */ boolean hasSystem(); /** *
     * List only direct child sub-systems or containers of the specified system.
     * For example when querying the system "/a" against an MDB with containers
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * container "/a/c".
     * When ``system`` and ``q`` are used together, matching containers at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return The system. */ java.lang.String getSystem(); /** *
     * List only direct child sub-systems or containers of the specified system.
     * For example when querying the system "/a" against an MDB with containers
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * container "/a/c".
     * When ``system`` and ``q`` are used together, matching containers at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return The bytes for system. */ com.google.protobuf.ByteString getSystemBytes(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return Whether the next field is set. */ boolean hasNext(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The next. */ java.lang.String getNext(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The bytes for next. */ com.google.protobuf.ByteString getNextBytes(); /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ boolean hasPos(); /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return The pos. */ int getPos(); /** *
     * The maximum number of returned containers per page. Choose this value too high
     * and you risk hitting the maximum response size limit enforced by the server.
     * Default: ``100``
     * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ boolean hasLimit(); /** *
     * The maximum number of returned containers per page. Choose this value too high
     * and you risk hitting the maximum response size limit enforced by the server.
     * Default: ``100``
     * 
* * optional int32 limit = 9; * @return The limit. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListContainersRequest(); } @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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 2; private volatile java.lang.Object q_; /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return Whether the q field is set. */ @java.lang.Override public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The q. */ @java.lang.Override 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; } } /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The bytes for q. */ @java.lang.Override 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_; /** *
     * List only direct child sub-systems or containers of the specified system.
     * For example when querying the system "/a" against an MDB with containers
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * container "/a/c".
     * When ``system`` and ``q`` are used together, matching containers at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return Whether the system field is set. */ @java.lang.Override public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * List only direct child sub-systems or containers of the specified system.
     * For example when querying the system "/a" against an MDB with containers
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * container "/a/c".
     * When ``system`` and ``q`` are used together, matching containers at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return The system. */ @java.lang.Override 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; } } /** *
     * List only direct child sub-systems or containers of the specified system.
     * For example when querying the system "/a" against an MDB with containers
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * container "/a/c".
     * When ``system`` and ``q`` are used together, matching containers at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return The bytes for system. */ @java.lang.Override 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_; /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return Whether the next field is set. */ @java.lang.Override public boolean hasNext() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The next. */ @java.lang.Override 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; } } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The bytes for next. */ @java.lang.Override 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_; /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ @java.lang.Override public boolean hasPos() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return The pos. */ @java.lang.Override public int getPos() { return pos_; } public static final int LIMIT_FIELD_NUMBER = 9; private int limit_; /** *
     * The maximum number of returned containers per page. Choose this value too high
     * and you risk hitting the maximum response size limit enforced by the server.
     * Default: ``100``
     * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * The maximum number of returned containers per page. Choose this value too high
     * and you risk hitting the maximum response size limit enforced by the server.
     * Default: ``100``
     * 
* * optional int32 limit = 9; * @return The limit. */ @java.lang.Override 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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return Whether the q field is set. */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return The q. */ 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; } } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return The bytes for q. */ 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; } } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @param value The q to set. * @return This builder for chaining. */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return This builder for chaining. */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000002); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @param value The bytes for q to set. * @return This builder for chaining. */ 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_ = ""; /** *
       * List only direct child sub-systems or containers of the specified system.
       * For example when querying the system "/a" against an MDB with containers
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * container "/a/c".
       * When ``system`` and ``q`` are used together, matching containers at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @return Whether the system field is set. */ public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * List only direct child sub-systems or containers of the specified system.
       * For example when querying the system "/a" against an MDB with containers
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * container "/a/c".
       * When ``system`` and ``q`` are used together, matching containers at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @return The system. */ 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; } } /** *
       * List only direct child sub-systems or containers of the specified system.
       * For example when querying the system "/a" against an MDB with containers
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * container "/a/c".
       * When ``system`` and ``q`` are used together, matching containers at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @return The bytes for system. */ 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; } } /** *
       * List only direct child sub-systems or containers of the specified system.
       * For example when querying the system "/a" against an MDB with containers
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * container "/a/c".
       * When ``system`` and ``q`` are used together, matching containers at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @param value The system to set. * @return This builder for chaining. */ public Builder setSystem( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; system_ = value; onChanged(); return this; } /** *
       * List only direct child sub-systems or containers of the specified system.
       * For example when querying the system "/a" against an MDB with containers
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * container "/a/c".
       * When ``system`` and ``q`` are used together, matching containers at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @return This builder for chaining. */ public Builder clearSystem() { bitField0_ = (bitField0_ & ~0x00000004); system_ = getDefaultInstance().getSystem(); onChanged(); return this; } /** *
       * List only direct child sub-systems or containers of the specified system.
       * For example when querying the system "/a" against an MDB with containers
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * container "/a/c".
       * When ``system`` and ``q`` are used together, matching containers at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @param value The bytes for system to set. * @return This builder for chaining. */ 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_ = ""; /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return Whether the next field is set. */ public boolean hasNext() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return The next. */ 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; } } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return The bytes for next. */ 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; } } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @param value The next to set. * @return This builder for chaining. */ public Builder setNext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; next_ = value; onChanged(); return this; } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return This builder for chaining. */ public Builder clearNext() { bitField0_ = (bitField0_ & ~0x00000008); next_ = getDefaultInstance().getNext(); onChanged(); return this; } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @param value The bytes for next to set. * @return This builder for chaining. */ public Builder setNextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; next_ = value; onChanged(); return this; } private int pos_ ; /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ @java.lang.Override public boolean hasPos() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return The pos. */ @java.lang.Override public int getPos() { return pos_; } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @param value The pos to set. * @return This builder for chaining. */ public Builder setPos(int value) { bitField0_ |= 0x00000010; pos_ = value; onChanged(); return this; } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return This builder for chaining. */ public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000010); pos_ = 0; onChanged(); return this; } private int limit_ ; /** *
       * The maximum number of returned containers per page. Choose this value too high
       * and you risk hitting the maximum response size limit enforced by the server.
       * Default: ``100``
       * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * The maximum number of returned containers per page. Choose this value too high
       * and you risk hitting the maximum response size limit enforced by the server.
       * Default: ``100``
       * 
* * optional int32 limit = 9; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } /** *
       * The maximum number of returned containers per page. Choose this value too high
       * and you risk hitting the maximum response size limit enforced by the server.
       * Default: ``100``
       * 
* * optional int32 limit = 9; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { bitField0_ |= 0x00000020; limit_ = value; onChanged(); return this; } /** *
       * The maximum number of returned containers per page. Choose this value too high
       * and you risk hitting the maximum response size limit enforced by the server.
       * Default: ``100``
       * 
* * optional int32 limit = 9; * @return This builder for chaining. */ 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 ListParameterTypesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListParameterTypesRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return Whether the q field is set. */ boolean hasQ(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The q. */ java.lang.String getQ(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The bytes for q. */ com.google.protobuf.ByteString getQBytes(); /** *
     * List only direct child sub-systems or parameter types of the specified system.
     * For example when querying the system "/a" against an MDB with parameter types
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * parameter type "/a/c".
     * When ``system`` and ``q`` are used together, matching containers at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return Whether the system field is set. */ boolean hasSystem(); /** *
     * List only direct child sub-systems or parameter types of the specified system.
     * For example when querying the system "/a" against an MDB with parameter types
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * parameter type "/a/c".
     * When ``system`` and ``q`` are used together, matching containers at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return The system. */ java.lang.String getSystem(); /** *
     * List only direct child sub-systems or parameter types of the specified system.
     * For example when querying the system "/a" against an MDB with parameter types
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * parameter type "/a/c".
     * When ``system`` and ``q`` are used together, matching containers at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return The bytes for system. */ com.google.protobuf.ByteString getSystemBytes(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return Whether the next field is set. */ boolean hasNext(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The next. */ java.lang.String getNext(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The bytes for next. */ com.google.protobuf.ByteString getNextBytes(); /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ boolean hasPos(); /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return The pos. */ int getPos(); /** *
     * The maximum number of returned items per page. Choose this value too high
     * and you risk hitting the maximum response size limit enforced by the server.
     * Default: ``100``
     * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ boolean hasLimit(); /** *
     * The maximum number of returned items per page. Choose this value too high
     * and you risk hitting the maximum response size limit enforced by the server.
     * Default: ``100``
     * 
* * optional int32 limit = 9; * @return The limit. */ 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_ = ""; system_ = ""; next_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListParameterTypesRequest(); } @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 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_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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 2; private volatile java.lang.Object q_; /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return Whether the q field is set. */ @java.lang.Override public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The q. */ @java.lang.Override 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; } } /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The bytes for q. */ @java.lang.Override 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_; /** *
     * List only direct child sub-systems or parameter types of the specified system.
     * For example when querying the system "/a" against an MDB with parameter types
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * parameter type "/a/c".
     * When ``system`` and ``q`` are used together, matching containers at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return Whether the system field is set. */ @java.lang.Override public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * List only direct child sub-systems or parameter types of the specified system.
     * For example when querying the system "/a" against an MDB with parameter types
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * parameter type "/a/c".
     * When ``system`` and ``q`` are used together, matching containers at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return The system. */ @java.lang.Override 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; } } /** *
     * List only direct child sub-systems or parameter types of the specified system.
     * For example when querying the system "/a" against an MDB with parameter types
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * parameter type "/a/c".
     * When ``system`` and ``q`` are used together, matching containers at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return The bytes for system. */ @java.lang.Override 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_; /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return Whether the next field is set. */ @java.lang.Override public boolean hasNext() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The next. */ @java.lang.Override 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; } } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The bytes for next. */ @java.lang.Override 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_; /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ @java.lang.Override public boolean hasPos() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return The pos. */ @java.lang.Override public int getPos() { return pos_; } public static final int LIMIT_FIELD_NUMBER = 9; private int limit_; /** *
     * The maximum number of returned items per page. Choose this value too high
     * and you risk hitting the maximum response size limit enforced by the server.
     * Default: ``100``
     * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * The maximum number of returned items per page. Choose this value too high
     * and you risk hitting the maximum response size limit enforced by the server.
     * Default: ``100``
     * 
* * optional int32 limit = 9; * @return The limit. */ @java.lang.Override 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.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 (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.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); 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_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)) { 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.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.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.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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return Whether the q field is set. */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return The q. */ 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; } } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return The bytes for q. */ 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; } } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @param value The q to set. * @return This builder for chaining. */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return This builder for chaining. */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000002); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @param value The bytes for q to set. * @return This builder for chaining. */ 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_ = ""; /** *
       * List only direct child sub-systems or parameter types of the specified system.
       * For example when querying the system "/a" against an MDB with parameter types
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * parameter type "/a/c".
       * When ``system`` and ``q`` are used together, matching containers at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @return Whether the system field is set. */ public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * List only direct child sub-systems or parameter types of the specified system.
       * For example when querying the system "/a" against an MDB with parameter types
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * parameter type "/a/c".
       * When ``system`` and ``q`` are used together, matching containers at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @return The system. */ 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; } } /** *
       * List only direct child sub-systems or parameter types of the specified system.
       * For example when querying the system "/a" against an MDB with parameter types
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * parameter type "/a/c".
       * When ``system`` and ``q`` are used together, matching containers at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @return The bytes for system. */ 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; } } /** *
       * List only direct child sub-systems or parameter types of the specified system.
       * For example when querying the system "/a" against an MDB with parameter types
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * parameter type "/a/c".
       * When ``system`` and ``q`` are used together, matching containers at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @param value The system to set. * @return This builder for chaining. */ public Builder setSystem( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; system_ = value; onChanged(); return this; } /** *
       * List only direct child sub-systems or parameter types of the specified system.
       * For example when querying the system "/a" against an MDB with parameter types
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * parameter type "/a/c".
       * When ``system`` and ``q`` are used together, matching containers at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @return This builder for chaining. */ public Builder clearSystem() { bitField0_ = (bitField0_ & ~0x00000004); system_ = getDefaultInstance().getSystem(); onChanged(); return this; } /** *
       * List only direct child sub-systems or parameter types of the specified system.
       * For example when querying the system "/a" against an MDB with parameter types
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * parameter type "/a/c".
       * When ``system`` and ``q`` are used together, matching containers at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @param value The bytes for system to set. * @return This builder for chaining. */ 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_ = ""; /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return Whether the next field is set. */ public boolean hasNext() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return The next. */ 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; } } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return The bytes for next. */ 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; } } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @param value The next to set. * @return This builder for chaining. */ public Builder setNext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; next_ = value; onChanged(); return this; } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return This builder for chaining. */ public Builder clearNext() { bitField0_ = (bitField0_ & ~0x00000008); next_ = getDefaultInstance().getNext(); onChanged(); return this; } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @param value The bytes for next to set. * @return This builder for chaining. */ public Builder setNextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; next_ = value; onChanged(); return this; } private int pos_ ; /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ @java.lang.Override public boolean hasPos() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return The pos. */ @java.lang.Override public int getPos() { return pos_; } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @param value The pos to set. * @return This builder for chaining. */ public Builder setPos(int value) { bitField0_ |= 0x00000010; pos_ = value; onChanged(); return this; } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return This builder for chaining. */ public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000010); pos_ = 0; onChanged(); return this; } private int limit_ ; /** *
       * The maximum number of returned items per page. Choose this value too high
       * and you risk hitting the maximum response size limit enforced by the server.
       * Default: ``100``
       * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * The maximum number of returned items per page. Choose this value too high
       * and you risk hitting the maximum response size limit enforced by the server.
       * Default: ``100``
       * 
* * optional int32 limit = 9; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } /** *
       * The maximum number of returned items per page. Choose this value too high
       * and you risk hitting the maximum response size limit enforced by the server.
       * Default: ``100``
       * 
* * optional int32 limit = 9; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { bitField0_ |= 0x00000020; limit_ = value; onChanged(); return this; } /** *
       * The maximum number of returned items per page. Choose this value too high
       * and you risk hitting the maximum response size limit enforced by the server.
       * Default: ``100``
       * 
* * optional int32 limit = 9; * @return This builder for chaining. */ 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 ListAlgorithmsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListAlgorithmsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return Whether the q field is set. */ boolean hasQ(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The q. */ java.lang.String getQ(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The bytes for q. */ com.google.protobuf.ByteString getQBytes(); /** *
     * List only direct child sub-systems or algorithms of the specified system.
     * For example when querying the system "/a" against an MDB with algorithms
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * algorithm "/a/c".
     * When ``system`` and ``q`` are used together, matching algorithms at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return Whether the system field is set. */ boolean hasSystem(); /** *
     * List only direct child sub-systems or algorithms of the specified system.
     * For example when querying the system "/a" against an MDB with algorithms
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * algorithm "/a/c".
     * When ``system`` and ``q`` are used together, matching algorithms at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return The system. */ java.lang.String getSystem(); /** *
     * List only direct child sub-systems or algorithms of the specified system.
     * For example when querying the system "/a" against an MDB with algorithms
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * algorithm "/a/c".
     * When ``system`` and ``q`` are used together, matching algorithms at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return The bytes for system. */ com.google.protobuf.ByteString getSystemBytes(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return Whether the next field is set. */ boolean hasNext(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The next. */ java.lang.String getNext(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The bytes for next. */ com.google.protobuf.ByteString getNextBytes(); /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ boolean hasPos(); /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return The pos. */ int getPos(); /** *
     * The maximum number of returned algorithms per page. Choose this value too
     * high and you risk hitting the maximum response size limit enforced by
     * the server. Default: ``100``
     * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ boolean hasLimit(); /** *
     * The maximum number of returned algorithms per page. Choose this value too
     * high and you risk hitting the maximum response size limit enforced by
     * the server. Default: ``100``
     * 
* * optional int32 limit = 9; * @return The limit. */ int getLimit(); /** *
     * Include only algorithms of the specified scope
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 11; * @return Whether the scope field is set. */ boolean hasScope(); /** *
     * Include only algorithms of the specified scope
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 11; * @return The scope. */ org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope getScope(); } /** * 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_ = ""; scope_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListAlgorithmsRequest(); } @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; } case 88: { 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(11, rawValue); } else { bitField0_ |= 0x00000040; scope_ = 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_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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 2; private volatile java.lang.Object q_; /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return Whether the q field is set. */ @java.lang.Override public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The q. */ @java.lang.Override 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; } } /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The bytes for q. */ @java.lang.Override 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_; /** *
     * List only direct child sub-systems or algorithms of the specified system.
     * For example when querying the system "/a" against an MDB with algorithms
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * algorithm "/a/c".
     * When ``system`` and ``q`` are used together, matching algorithms at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return Whether the system field is set. */ @java.lang.Override public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * List only direct child sub-systems or algorithms of the specified system.
     * For example when querying the system "/a" against an MDB with algorithms
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * algorithm "/a/c".
     * When ``system`` and ``q`` are used together, matching algorithms at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return The system. */ @java.lang.Override 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; } } /** *
     * List only direct child sub-systems or algorithms of the specified system.
     * For example when querying the system "/a" against an MDB with algorithms
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * algorithm "/a/c".
     * When ``system`` and ``q`` are used together, matching algorithms at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 10; * @return The bytes for system. */ @java.lang.Override 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_; /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return Whether the next field is set. */ @java.lang.Override public boolean hasNext() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The next. */ @java.lang.Override 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; } } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The bytes for next. */ @java.lang.Override 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_; /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ @java.lang.Override public boolean hasPos() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return The pos. */ @java.lang.Override public int getPos() { return pos_; } public static final int LIMIT_FIELD_NUMBER = 9; private int limit_; /** *
     * The maximum number of returned algorithms per page. Choose this value too
     * high and you risk hitting the maximum response size limit enforced by
     * the server. Default: ``100``
     * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * The maximum number of returned algorithms per page. Choose this value too
     * high and you risk hitting the maximum response size limit enforced by
     * the server. Default: ``100``
     * 
* * optional int32 limit = 9; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } public static final int SCOPE_FIELD_NUMBER = 11; private int scope_; /** *
     * Include only algorithms of the specified scope
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 11; * @return Whether the scope field is set. */ @java.lang.Override public boolean hasScope() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Include only algorithms of the specified scope
     * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 11; * @return The scope. */ @java.lang.Override 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; } 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_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeEnum(11, scope_); } 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_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(11, scope_); } 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 (hasScope() != other.hasScope()) return false; if (hasScope()) { if (scope_ != other.scope_) 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(); } if (hasScope()) { hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + scope_; } 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); scope_ = 0; 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_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; } if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000040; } result.scope_ = scope_; 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()); } if (other.hasScope()) { setScope(other.getScope()); } 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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return Whether the q field is set. */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return The q. */ 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; } } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return The bytes for q. */ 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; } } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @param value The q to set. * @return This builder for chaining. */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return This builder for chaining. */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000002); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @param value The bytes for q to set. * @return This builder for chaining. */ 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_ = ""; /** *
       * List only direct child sub-systems or algorithms of the specified system.
       * For example when querying the system "/a" against an MDB with algorithms
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * algorithm "/a/c".
       * When ``system`` and ``q`` are used together, matching algorithms at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @return Whether the system field is set. */ public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * List only direct child sub-systems or algorithms of the specified system.
       * For example when querying the system "/a" against an MDB with algorithms
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * algorithm "/a/c".
       * When ``system`` and ``q`` are used together, matching algorithms at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @return The system. */ 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; } } /** *
       * List only direct child sub-systems or algorithms of the specified system.
       * For example when querying the system "/a" against an MDB with algorithms
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * algorithm "/a/c".
       * When ``system`` and ``q`` are used together, matching algorithms at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @return The bytes for system. */ 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; } } /** *
       * List only direct child sub-systems or algorithms of the specified system.
       * For example when querying the system "/a" against an MDB with algorithms
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * algorithm "/a/c".
       * When ``system`` and ``q`` are used together, matching algorithms at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @param value The system to set. * @return This builder for chaining. */ public Builder setSystem( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; system_ = value; onChanged(); return this; } /** *
       * List only direct child sub-systems or algorithms of the specified system.
       * For example when querying the system "/a" against an MDB with algorithms
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * algorithm "/a/c".
       * When ``system`` and ``q`` are used together, matching algorithms at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @return This builder for chaining. */ public Builder clearSystem() { bitField0_ = (bitField0_ & ~0x00000004); system_ = getDefaultInstance().getSystem(); onChanged(); return this; } /** *
       * List only direct child sub-systems or algorithms of the specified system.
       * For example when querying the system "/a" against an MDB with algorithms
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * algorithm "/a/c".
       * When ``system`` and ``q`` are used together, matching algorithms at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 10; * @param value The bytes for system to set. * @return This builder for chaining. */ 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_ = ""; /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return Whether the next field is set. */ public boolean hasNext() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return The next. */ 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; } } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return The bytes for next. */ 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; } } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @param value The next to set. * @return This builder for chaining. */ public Builder setNext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; next_ = value; onChanged(); return this; } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return This builder for chaining. */ public Builder clearNext() { bitField0_ = (bitField0_ & ~0x00000008); next_ = getDefaultInstance().getNext(); onChanged(); return this; } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @param value The bytes for next to set. * @return This builder for chaining. */ public Builder setNextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; next_ = value; onChanged(); return this; } private int pos_ ; /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ @java.lang.Override public boolean hasPos() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return The pos. */ @java.lang.Override public int getPos() { return pos_; } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @param value The pos to set. * @return This builder for chaining. */ public Builder setPos(int value) { bitField0_ |= 0x00000010; pos_ = value; onChanged(); return this; } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return This builder for chaining. */ public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000010); pos_ = 0; onChanged(); return this; } private int limit_ ; /** *
       * The maximum number of returned algorithms per page. Choose this value too
       * high and you risk hitting the maximum response size limit enforced by
       * the server. Default: ``100``
       * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * The maximum number of returned algorithms per page. Choose this value too
       * high and you risk hitting the maximum response size limit enforced by
       * the server. Default: ``100``
       * 
* * optional int32 limit = 9; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } /** *
       * The maximum number of returned algorithms per page. Choose this value too
       * high and you risk hitting the maximum response size limit enforced by
       * the server. Default: ``100``
       * 
* * optional int32 limit = 9; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { bitField0_ |= 0x00000020; limit_ = value; onChanged(); return this; } /** *
       * The maximum number of returned algorithms per page. Choose this value too
       * high and you risk hitting the maximum response size limit enforced by
       * the server. Default: ``100``
       * 
* * optional int32 limit = 9; * @return This builder for chaining. */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000020); limit_ = 0; onChanged(); return this; } private int scope_ = 0; /** *
       * Include only algorithms of the specified scope
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 11; * @return Whether the scope field is set. */ @java.lang.Override public boolean hasScope() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * Include only algorithms of the specified scope
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 11; * @return The scope. */ @java.lang.Override 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; } /** *
       * Include only algorithms of the specified scope
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 11; * @param value The scope to set. * @return This builder for chaining. */ public Builder setScope(org.yamcs.protobuf.Mdb.AlgorithmInfo.Scope value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; scope_ = value.getNumber(); onChanged(); return this; } /** *
       * Include only algorithms of the specified scope
       * 
* * optional .yamcs.protobuf.mdb.AlgorithmInfo.Scope scope = 11; * @return This builder for chaining. */ public Builder clearScope() { bitField0_ = (bitField0_ & ~0x00000040); scope_ = 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 { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return Whether the q field is set. */ boolean hasQ(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The q. */ java.lang.String getQ(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The bytes for q. */ com.google.protobuf.ByteString getQBytes(); /** *
     * List only direct child sub-systems or commands of the specified system.
     * For example when querying the system "/a" against an MDB with commands
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * command "/a/c".
     * When ``system`` and ``q`` are used together, matching commands at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 11; * @return Whether the system field is set. */ boolean hasSystem(); /** *
     * List only direct child sub-systems or commands of the specified system.
     * For example when querying the system "/a" against an MDB with commands
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * command "/a/c".
     * When ``system`` and ``q`` are used together, matching commands at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 11; * @return The system. */ java.lang.String getSystem(); /** *
     * List only direct child sub-systems or commands of the specified system.
     * For example when querying the system "/a" against an MDB with commands
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * command "/a/c".
     * When ``system`` and ``q`` are used together, matching commands at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 11; * @return The bytes for system. */ com.google.protobuf.ByteString getSystemBytes(); /** * optional bool details = 4; * @return Whether the details field is set. */ boolean hasDetails(); /** * optional bool details = 4; * @return The details. */ boolean getDetails(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return Whether the next field is set. */ boolean hasNext(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The next. */ java.lang.String getNext(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The bytes for next. */ com.google.protobuf.ByteString getNextBytes(); /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ boolean hasPos(); /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return The pos. */ int getPos(); /** *
     * The maximum number of returned commands per page. Choose this value too
     * high and you risk hitting the maximum response size limit enforced by
     * the server. Default: ``100``
     * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ boolean hasLimit(); /** *
     * The maximum number of returned commands per page. Choose this value too
     * high and you risk hitting the maximum response size limit enforced by
     * the server. Default: ``100``
     * 
* * optional int32 limit = 9; * @return The limit. */ int getLimit(); /** *
     * Exclude abstract commands
     * 
* * optional bool noAbstract = 10; * @return Whether the noAbstract field is set. */ boolean hasNoAbstract(); /** *
     * Exclude abstract commands
     * 
* * optional bool noAbstract = 10; * @return The noAbstract. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListCommandsRequest(); } @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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 2; private volatile java.lang.Object q_; /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return Whether the q field is set. */ @java.lang.Override public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The q. */ @java.lang.Override 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; } } /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The bytes for q. */ @java.lang.Override 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_; /** *
     * List only direct child sub-systems or commands of the specified system.
     * For example when querying the system "/a" against an MDB with commands
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * command "/a/c".
     * When ``system`` and ``q`` are used together, matching commands at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 11; * @return Whether the system field is set. */ @java.lang.Override public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * List only direct child sub-systems or commands of the specified system.
     * For example when querying the system "/a" against an MDB with commands
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * command "/a/c".
     * When ``system`` and ``q`` are used together, matching commands at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 11; * @return The system. */ @java.lang.Override 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; } } /** *
     * List only direct child sub-systems or commands of the specified system.
     * For example when querying the system "/a" against an MDB with commands
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * command "/a/c".
     * When ``system`` and ``q`` are used together, matching commands at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 11; * @return The bytes for system. */ @java.lang.Override 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; * @return Whether the details field is set. */ @java.lang.Override public boolean hasDetails() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool details = 4; * @return The details. */ @java.lang.Override public boolean getDetails() { return details_; } public static final int NEXT_FIELD_NUMBER = 7; private volatile java.lang.Object next_; /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return Whether the next field is set. */ @java.lang.Override public boolean hasNext() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The next. */ @java.lang.Override 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; } } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The bytes for next. */ @java.lang.Override 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_; /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ @java.lang.Override public boolean hasPos() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return The pos. */ @java.lang.Override public int getPos() { return pos_; } public static final int LIMIT_FIELD_NUMBER = 9; private int limit_; /** *
     * The maximum number of returned commands per page. Choose this value too
     * high and you risk hitting the maximum response size limit enforced by
     * the server. Default: ``100``
     * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * The maximum number of returned commands per page. Choose this value too
     * high and you risk hitting the maximum response size limit enforced by
     * the server. Default: ``100``
     * 
* * optional int32 limit = 9; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } public static final int NOABSTRACT_FIELD_NUMBER = 10; private boolean noAbstract_; /** *
     * Exclude abstract commands
     * 
* * optional bool noAbstract = 10; * @return Whether the noAbstract field is set. */ @java.lang.Override public boolean hasNoAbstract() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Exclude abstract commands
     * 
* * optional bool noAbstract = 10; * @return The noAbstract. */ @java.lang.Override 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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return Whether the q field is set. */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return The q. */ 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; } } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return The bytes for q. */ 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; } } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @param value The q to set. * @return This builder for chaining. */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return This builder for chaining. */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000002); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @param value The bytes for q to set. * @return This builder for chaining. */ 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_ = ""; /** *
       * List only direct child sub-systems or commands of the specified system.
       * For example when querying the system "/a" against an MDB with commands
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * command "/a/c".
       * When ``system`` and ``q`` are used together, matching commands at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 11; * @return Whether the system field is set. */ public boolean hasSystem() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * List only direct child sub-systems or commands of the specified system.
       * For example when querying the system "/a" against an MDB with commands
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * command "/a/c".
       * When ``system`` and ``q`` are used together, matching commands at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 11; * @return The system. */ 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; } } /** *
       * List only direct child sub-systems or commands of the specified system.
       * For example when querying the system "/a" against an MDB with commands
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * command "/a/c".
       * When ``system`` and ``q`` are used together, matching commands at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 11; * @return The bytes for system. */ 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; } } /** *
       * List only direct child sub-systems or commands of the specified system.
       * For example when querying the system "/a" against an MDB with commands
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * command "/a/c".
       * When ``system`` and ``q`` are used together, matching commands at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 11; * @param value The system to set. * @return This builder for chaining. */ public Builder setSystem( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; system_ = value; onChanged(); return this; } /** *
       * List only direct child sub-systems or commands of the specified system.
       * For example when querying the system "/a" against an MDB with commands
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * command "/a/c".
       * When ``system`` and ``q`` are used together, matching commands at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 11; * @return This builder for chaining. */ public Builder clearSystem() { bitField0_ = (bitField0_ & ~0x00000004); system_ = getDefaultInstance().getSystem(); onChanged(); return this; } /** *
       * List only direct child sub-systems or commands of the specified system.
       * For example when querying the system "/a" against an MDB with commands
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * command "/a/c".
       * When ``system`` and ``q`` are used together, matching commands at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 11; * @param value The bytes for system to set. * @return This builder for chaining. */ 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; * @return Whether the details field is set. */ @java.lang.Override public boolean hasDetails() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool details = 4; * @return The details. */ @java.lang.Override public boolean getDetails() { return details_; } /** * optional bool details = 4; * @param value The details to set. * @return This builder for chaining. */ public Builder setDetails(boolean value) { bitField0_ |= 0x00000008; details_ = value; onChanged(); return this; } /** * optional bool details = 4; * @return This builder for chaining. */ public Builder clearDetails() { bitField0_ = (bitField0_ & ~0x00000008); details_ = false; onChanged(); return this; } private java.lang.Object next_ = ""; /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return Whether the next field is set. */ public boolean hasNext() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return The next. */ 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; } } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return The bytes for next. */ 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; } } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @param value The next to set. * @return This builder for chaining. */ public Builder setNext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; next_ = value; onChanged(); return this; } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return This builder for chaining. */ public Builder clearNext() { bitField0_ = (bitField0_ & ~0x00000010); next_ = getDefaultInstance().getNext(); onChanged(); return this; } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @param value The bytes for next to set. * @return This builder for chaining. */ public Builder setNextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; next_ = value; onChanged(); return this; } private int pos_ ; /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ @java.lang.Override public boolean hasPos() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return The pos. */ @java.lang.Override public int getPos() { return pos_; } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @param value The pos to set. * @return This builder for chaining. */ public Builder setPos(int value) { bitField0_ |= 0x00000020; pos_ = value; onChanged(); return this; } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return This builder for chaining. */ public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000020); pos_ = 0; onChanged(); return this; } private int limit_ ; /** *
       * The maximum number of returned commands per page. Choose this value too
       * high and you risk hitting the maximum response size limit enforced by
       * the server. Default: ``100``
       * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * The maximum number of returned commands per page. Choose this value too
       * high and you risk hitting the maximum response size limit enforced by
       * the server. Default: ``100``
       * 
* * optional int32 limit = 9; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } /** *
       * The maximum number of returned commands per page. Choose this value too
       * high and you risk hitting the maximum response size limit enforced by
       * the server. Default: ``100``
       * 
* * optional int32 limit = 9; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { bitField0_ |= 0x00000040; limit_ = value; onChanged(); return this; } /** *
       * The maximum number of returned commands per page. Choose this value too
       * high and you risk hitting the maximum response size limit enforced by
       * the server. Default: ``100``
       * 
* * optional int32 limit = 9; * @return This builder for chaining. */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000040); limit_ = 0; onChanged(); return this; } private boolean noAbstract_ ; /** *
       * Exclude abstract commands
       * 
* * optional bool noAbstract = 10; * @return Whether the noAbstract field is set. */ @java.lang.Override public boolean hasNoAbstract() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Exclude abstract commands
       * 
* * optional bool noAbstract = 10; * @return The noAbstract. */ @java.lang.Override public boolean getNoAbstract() { return noAbstract_; } /** *
       * Exclude abstract commands
       * 
* * optional bool noAbstract = 10; * @param value The noAbstract to set. * @return This builder for chaining. */ public Builder setNoAbstract(boolean value) { bitField0_ |= 0x00000080; noAbstract_ = value; onChanged(); return this; } /** *
       * Exclude abstract commands
       * 
* * optional bool noAbstract = 10; * @return This builder for chaining. */ 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 { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * Parameter name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ boolean hasName(); /** *
     * Parameter name.
     * 
* * optional string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * Parameter name.
     * 
* * optional string name = 2; * @return The bytes for name. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetParameterRequest(); } @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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Parameter name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Parameter name.
     * 
* * optional string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * Parameter name.
     * 
* * optional string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Parameter name.
       * 
* * optional string name = 2; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Parameter name.
       * 
* * optional string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Parameter name.
       * 
* * optional string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Parameter name.
       * 
* * optional string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       * Parameter name.
       * 
* * optional string name = 2; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Parameter name.
       * 
* * optional string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } @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 { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return Whether the q field is set. */ boolean hasQ(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The q. */ java.lang.String getQ(); /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The bytes for q. */ com.google.protobuf.ByteString getQBytes(); /** *
     * When used together with ``q``, include also aggregate members (at any depth)
     * in the search.
     * Note that this method returns only parameters. Members are part of the type definition.
     * 
* * optional bool searchMembers = 12; * @return Whether the searchMembers field is set. */ boolean hasSearchMembers(); /** *
     * When used together with ``q``, include also aggregate members (at any depth)
     * in the search.
     * Note that this method returns only parameters. Members are part of the type definition.
     * 
* * optional bool searchMembers = 12; * @return The searchMembers. */ boolean getSearchMembers(); /** *
     * Include details on each returned parameter (this includes long
     * descriptions, aliases, and detailed type information).
     * If unset, only summary information is returned.
     * 
* * optional bool details = 4; * @return Whether the details field is set. */ boolean hasDetails(); /** *
     * Include details on each returned parameter (this includes long
     * descriptions, aliases, and detailed type information).
     * If unset, only summary information is returned.
     * 
* * optional bool details = 4; * @return The details. */ boolean getDetails(); /** *
     * The parameter types to be included in the result. Valid types are ``boolean``,
     * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
     * If unspecified, parameters of all types will be included.
     * 
* * repeated string type = 5; * @return A list containing the type. */ java.util.List getTypeList(); /** *
     * The parameter types to be included in the result. Valid types are ``boolean``,
     * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
     * If unspecified, parameters of all types will be included.
     * 
* * repeated string type = 5; * @return The count of type. */ int getTypeCount(); /** *
     * The parameter types to be included in the result. Valid types are ``boolean``,
     * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
     * If unspecified, parameters of all types will be included.
     * 
* * repeated string type = 5; * @param index The index of the element to return. * @return The type at the given index. */ java.lang.String getType(int index); /** *
     * The parameter types to be included in the result. Valid types are ``boolean``,
     * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
     * If unspecified, parameters of all types will be included.
     * 
* * repeated string type = 5; * @param index The index of the value to return. * @return The bytes of the type at the given index. */ com.google.protobuf.ByteString getTypeBytes(int index); /** *
     * Include only parameters of the specified source.
     * 
* * optional .yamcs.protobuf.mdb.DataSourceType source = 10; * @return Whether the source field is set. */ boolean hasSource(); /** *
     * Include only parameters of the specified source.
     * 
* * optional .yamcs.protobuf.mdb.DataSourceType source = 10; * @return The source. */ org.yamcs.protobuf.Mdb.DataSourceType getSource(); /** *
     * List only direct child sub-systems or parameters of the specified system.
     * For example when querying the system "/a" against an MDB with parameters
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * parameter "/a/c".
     * When ``system`` and ``q`` are used together, matching parameters at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 11; * @return Whether the system field is set. */ boolean hasSystem(); /** *
     * List only direct child sub-systems or parameters of the specified system.
     * For example when querying the system "/a" against an MDB with parameters
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * parameter "/a/c".
     * When ``system`` and ``q`` are used together, matching parameters at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 11; * @return The system. */ java.lang.String getSystem(); /** *
     * List only direct child sub-systems or parameters of the specified system.
     * For example when querying the system "/a" against an MDB with parameters
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * parameter "/a/c".
     * When ``system`` and ``q`` are used together, matching parameters at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 11; * @return The bytes for system. */ com.google.protobuf.ByteString getSystemBytes(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return Whether the next field is set. */ boolean hasNext(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The next. */ java.lang.String getNext(); /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The bytes for next. */ com.google.protobuf.ByteString getNextBytes(); /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ boolean hasPos(); /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return The pos. */ int getPos(); /** *
     * The maximum number of returned parameters per page. Choose this value too
     * high and you risk hitting the maximum response size limit enforced by the
     * server. Default: ``100``
     * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ boolean hasLimit(); /** *
     * The maximum number of returned parameters per page. Choose this value too
     * high and you risk hitting the maximum response size limit enforced by the
     * server. Default: ``100``
     * 
* * optional int32 limit = 9; * @return The limit. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListParametersRequest(); } @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_ |= 0x00000008; details_ = input.readBool(); break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000010) != 0)) { type_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000010; } type_.add(bs); break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000040; next_ = bs; break; } case 64: { bitField0_ |= 0x00000080; pos_ = input.readInt32(); break; } case 72: { bitField0_ |= 0x00000100; 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_ |= 0x00000010; source_ = rawValue; } break; } case 90: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; system_ = bs; break; } case 96: { bitField0_ |= 0x00000004; searchMembers_ = 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 { if (((mutable_bitField0_ & 0x00000010) != 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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 2; private volatile java.lang.Object q_; /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return Whether the q field is set. */ @java.lang.Override public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The q. */ @java.lang.Override 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; } } /** *
     * The search keywords. This supports searching on qualified name or alias.
     * 
* * optional string q = 2; * @return The bytes for q. */ @java.lang.Override 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 SEARCHMEMBERS_FIELD_NUMBER = 12; private boolean searchMembers_; /** *
     * When used together with ``q``, include also aggregate members (at any depth)
     * in the search.
     * Note that this method returns only parameters. Members are part of the type definition.
     * 
* * optional bool searchMembers = 12; * @return Whether the searchMembers field is set. */ @java.lang.Override public boolean hasSearchMembers() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * When used together with ``q``, include also aggregate members (at any depth)
     * in the search.
     * Note that this method returns only parameters. Members are part of the type definition.
     * 
* * optional bool searchMembers = 12; * @return The searchMembers. */ @java.lang.Override public boolean getSearchMembers() { return searchMembers_; } public static final int DETAILS_FIELD_NUMBER = 4; private boolean details_; /** *
     * Include details on each returned parameter (this includes long
     * descriptions, aliases, and detailed type information).
     * If unset, only summary information is returned.
     * 
* * optional bool details = 4; * @return Whether the details field is set. */ @java.lang.Override public boolean hasDetails() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Include details on each returned parameter (this includes long
     * descriptions, aliases, and detailed type information).
     * If unset, only summary information is returned.
     * 
* * optional bool details = 4; * @return The details. */ @java.lang.Override public boolean getDetails() { return details_; } public static final int TYPE_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList type_; /** *
     * The parameter types to be included in the result. Valid types are ``boolean``,
     * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
     * If unspecified, parameters of all types will be included.
     * 
* * repeated string type = 5; * @return A list containing the type. */ public com.google.protobuf.ProtocolStringList getTypeList() { return type_; } /** *
     * The parameter types to be included in the result. Valid types are ``boolean``,
     * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
     * If unspecified, parameters of all types will be included.
     * 
* * repeated string type = 5; * @return The count of type. */ public int getTypeCount() { return type_.size(); } /** *
     * The parameter types to be included in the result. Valid types are ``boolean``,
     * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
     * If unspecified, parameters of all types will be included.
     * 
* * repeated string type = 5; * @param index The index of the element to return. * @return The type at the given index. */ public java.lang.String getType(int index) { return type_.get(index); } /** *
     * The parameter types to be included in the result. Valid types are ``boolean``,
     * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
     * If unspecified, parameters of all types will be included.
     * 
* * repeated string type = 5; * @param index The index of the value to return. * @return The bytes of the type at the given index. */ public com.google.protobuf.ByteString getTypeBytes(int index) { return type_.getByteString(index); } public static final int SOURCE_FIELD_NUMBER = 10; private int source_; /** *
     * Include only parameters of the specified source.
     * 
* * optional .yamcs.protobuf.mdb.DataSourceType source = 10; * @return Whether the source field is set. */ @java.lang.Override public boolean hasSource() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Include only parameters of the specified source.
     * 
* * optional .yamcs.protobuf.mdb.DataSourceType source = 10; * @return The source. */ @java.lang.Override 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_; /** *
     * List only direct child sub-systems or parameters of the specified system.
     * For example when querying the system "/a" against an MDB with parameters
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * parameter "/a/c".
     * When ``system`` and ``q`` are used together, matching parameters at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 11; * @return Whether the system field is set. */ @java.lang.Override public boolean hasSystem() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * List only direct child sub-systems or parameters of the specified system.
     * For example when querying the system "/a" against an MDB with parameters
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * parameter "/a/c".
     * When ``system`` and ``q`` are used together, matching parameters at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 11; * @return The system. */ @java.lang.Override 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; } } /** *
     * List only direct child sub-systems or parameters of the specified system.
     * For example when querying the system "/a" against an MDB with parameters
     * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
     * parameter "/a/c".
     * When ``system`` and ``q`` are used together, matching parameters at any
     * depth are returned, starting from the specified space system.
     * 
* * optional string system = 11; * @return The bytes for system. */ @java.lang.Override 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_; /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return Whether the next field is set. */ @java.lang.Override public boolean hasNext() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The next. */ @java.lang.Override 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; } } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 7; * @return The bytes for next. */ @java.lang.Override 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_; /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ @java.lang.Override public boolean hasPos() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * The zero-based row number at which to start outputting results. Default: ``0``
     * 
* * optional int32 pos = 8; * @return The pos. */ @java.lang.Override public int getPos() { return pos_; } public static final int LIMIT_FIELD_NUMBER = 9; private int limit_; /** *
     * The maximum number of returned parameters per page. Choose this value too
     * high and you risk hitting the maximum response size limit enforced by the
     * server. Default: ``100``
     * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * The maximum number of returned parameters per page. Choose this value too
     * high and you risk hitting the maximum response size limit enforced by the
     * server. Default: ``100``
     * 
* * optional int32 limit = 9; * @return The limit. */ @java.lang.Override 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)) { output.writeBool(4, details_); } for (int i = 0; i < type_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, type_.getRaw(i)); } if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, next_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeInt32(8, pos_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeInt32(9, limit_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeEnum(10, source_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, system_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(12, searchMembers_); } 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_); } { int dataSize = 0; for (int i = 0; i < type_.size(); i++) { dataSize += computeStringSizeNoTag(type_.getRaw(i)); } size += dataSize; size += 1 * getTypeList().size(); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, next_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, pos_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, limit_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(10, source_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, system_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(12, searchMembers_); } 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 (hasSearchMembers() != other.hasSearchMembers()) return false; if (hasSearchMembers()) { if (getSearchMembers() != other.getSearchMembers()) 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 (hasSearchMembers()) { hash = (37 * hash) + SEARCHMEMBERS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSearchMembers()); } 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); searchMembers_ = false; bitField0_ = (bitField0_ & ~0x00000004); details_ = false; bitField0_ = (bitField0_ & ~0x00000008); type_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); source_ = 0; bitField0_ = (bitField0_ & ~0x00000020); system_ = ""; bitField0_ = (bitField0_ & ~0x00000040); next_ = ""; bitField0_ = (bitField0_ & ~0x00000080); pos_ = 0; bitField0_ = (bitField0_ & ~0x00000100); limit_ = 0; bitField0_ = (bitField0_ & ~0x00000200); 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.searchMembers_ = searchMembers_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.details_ = details_; to_bitField0_ |= 0x00000008; } if (((bitField0_ & 0x00000010) != 0)) { type_ = type_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); } result.type_ = type_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000010; } result.source_ = source_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000020; } result.system_ = system_; if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000040; } result.next_ = next_; if (((from_bitField0_ & 0x00000100) != 0)) { result.pos_ = pos_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000200) != 0)) { result.limit_ = limit_; to_bitField0_ |= 0x00000100; } 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.hasSearchMembers()) { setSearchMembers(other.getSearchMembers()); } if (other.hasDetails()) { setDetails(other.getDetails()); } if (!other.type_.isEmpty()) { if (type_.isEmpty()) { type_ = other.type_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureTypeIsMutable(); type_.addAll(other.type_); } onChanged(); } if (other.hasSource()) { setSource(other.getSource()); } if (other.hasSystem()) { bitField0_ |= 0x00000040; system_ = other.system_; onChanged(); } if (other.hasNext()) { bitField0_ |= 0x00000080; 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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return Whether the q field is set. */ public boolean hasQ() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return The q. */ 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; } } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return The bytes for q. */ 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; } } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @param value The q to set. * @return This builder for chaining. */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @return This builder for chaining. */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000002); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** *
       * The search keywords. This supports searching on qualified name or alias.
       * 
* * optional string q = 2; * @param value The bytes for q to set. * @return This builder for chaining. */ public Builder setQBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; q_ = value; onChanged(); return this; } private boolean searchMembers_ ; /** *
       * When used together with ``q``, include also aggregate members (at any depth)
       * in the search.
       * Note that this method returns only parameters. Members are part of the type definition.
       * 
* * optional bool searchMembers = 12; * @return Whether the searchMembers field is set. */ @java.lang.Override public boolean hasSearchMembers() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * When used together with ``q``, include also aggregate members (at any depth)
       * in the search.
       * Note that this method returns only parameters. Members are part of the type definition.
       * 
* * optional bool searchMembers = 12; * @return The searchMembers. */ @java.lang.Override public boolean getSearchMembers() { return searchMembers_; } /** *
       * When used together with ``q``, include also aggregate members (at any depth)
       * in the search.
       * Note that this method returns only parameters. Members are part of the type definition.
       * 
* * optional bool searchMembers = 12; * @param value The searchMembers to set. * @return This builder for chaining. */ public Builder setSearchMembers(boolean value) { bitField0_ |= 0x00000004; searchMembers_ = value; onChanged(); return this; } /** *
       * When used together with ``q``, include also aggregate members (at any depth)
       * in the search.
       * Note that this method returns only parameters. Members are part of the type definition.
       * 
* * optional bool searchMembers = 12; * @return This builder for chaining. */ public Builder clearSearchMembers() { bitField0_ = (bitField0_ & ~0x00000004); searchMembers_ = false; onChanged(); return this; } private boolean details_ ; /** *
       * Include details on each returned parameter (this includes long
       * descriptions, aliases, and detailed type information).
       * If unset, only summary information is returned.
       * 
* * optional bool details = 4; * @return Whether the details field is set. */ @java.lang.Override public boolean hasDetails() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Include details on each returned parameter (this includes long
       * descriptions, aliases, and detailed type information).
       * If unset, only summary information is returned.
       * 
* * optional bool details = 4; * @return The details. */ @java.lang.Override public boolean getDetails() { return details_; } /** *
       * Include details on each returned parameter (this includes long
       * descriptions, aliases, and detailed type information).
       * If unset, only summary information is returned.
       * 
* * optional bool details = 4; * @param value The details to set. * @return This builder for chaining. */ public Builder setDetails(boolean value) { bitField0_ |= 0x00000008; details_ = value; onChanged(); return this; } /** *
       * Include details on each returned parameter (this includes long
       * descriptions, aliases, and detailed type information).
       * If unset, only summary information is returned.
       * 
* * optional bool details = 4; * @return This builder for chaining. */ public Builder clearDetails() { bitField0_ = (bitField0_ & ~0x00000008); details_ = false; onChanged(); return this; } private com.google.protobuf.LazyStringList type_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTypeIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { type_ = new com.google.protobuf.LazyStringArrayList(type_); bitField0_ |= 0x00000010; } } /** *
       * The parameter types to be included in the result. Valid types are ``boolean``,
       * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       * If unspecified, parameters of all types will be included.
       * 
* * repeated string type = 5; * @return A list containing the type. */ public com.google.protobuf.ProtocolStringList getTypeList() { return type_.getUnmodifiableView(); } /** *
       * The parameter types to be included in the result. Valid types are ``boolean``,
       * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       * If unspecified, parameters of all types will be included.
       * 
* * repeated string type = 5; * @return The count of type. */ public int getTypeCount() { return type_.size(); } /** *
       * The parameter types to be included in the result. Valid types are ``boolean``,
       * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       * If unspecified, parameters of all types will be included.
       * 
* * repeated string type = 5; * @param index The index of the element to return. * @return The type at the given index. */ public java.lang.String getType(int index) { return type_.get(index); } /** *
       * The parameter types to be included in the result. Valid types are ``boolean``,
       * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       * If unspecified, parameters of all types will be included.
       * 
* * repeated string type = 5; * @param index The index of the value to return. * @return The bytes of the type at the given index. */ public com.google.protobuf.ByteString getTypeBytes(int index) { return type_.getByteString(index); } /** *
       * The parameter types to be included in the result. Valid types are ``boolean``,
       * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       * If unspecified, parameters of all types will be included.
       * 
* * repeated string type = 5; * @param index The index to set the value at. * @param value The type to set. * @return This builder for chaining. */ public Builder setType( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.set(index, value); onChanged(); return this; } /** *
       * The parameter types to be included in the result. Valid types are ``boolean``,
       * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       * If unspecified, parameters of all types will be included.
       * 
* * repeated string type = 5; * @param value The type to add. * @return This builder for chaining. */ public Builder addType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.add(value); onChanged(); return this; } /** *
       * The parameter types to be included in the result. Valid types are ``boolean``,
       * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       * If unspecified, parameters of all types will be included.
       * 
* * repeated string type = 5; * @param values The type to add. * @return This builder for chaining. */ public Builder addAllType( java.lang.Iterable values) { ensureTypeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, type_); onChanged(); return this; } /** *
       * The parameter types to be included in the result. Valid types are ``boolean``,
       * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       * If unspecified, parameters of all types will be included.
       * 
* * repeated string type = 5; * @return This builder for chaining. */ public Builder clearType() { type_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
       * The parameter types to be included in the result. Valid types are ``boolean``,
       * ``binary``, ``enumeration``, ``float``, ``integer`` or ``string``.
       * If unspecified, parameters of all types will be included.
       * 
* * repeated string type = 5; * @param value The bytes of the type to add. * @return This builder for chaining. */ 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; /** *
       * Include only parameters of the specified source.
       * 
* * optional .yamcs.protobuf.mdb.DataSourceType source = 10; * @return Whether the source field is set. */ @java.lang.Override public boolean hasSource() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Include only parameters of the specified source.
       * 
* * optional .yamcs.protobuf.mdb.DataSourceType source = 10; * @return The source. */ @java.lang.Override 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; } /** *
       * Include only parameters of the specified source.
       * 
* * optional .yamcs.protobuf.mdb.DataSourceType source = 10; * @param value The source to set. * @return This builder for chaining. */ public Builder setSource(org.yamcs.protobuf.Mdb.DataSourceType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; source_ = value.getNumber(); onChanged(); return this; } /** *
       * Include only parameters of the specified source.
       * 
* * optional .yamcs.protobuf.mdb.DataSourceType source = 10; * @return This builder for chaining. */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000020); source_ = 0; onChanged(); return this; } private java.lang.Object system_ = ""; /** *
       * List only direct child sub-systems or parameters of the specified system.
       * For example when querying the system "/a" against an MDB with parameters
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * parameter "/a/c".
       * When ``system`` and ``q`` are used together, matching parameters at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 11; * @return Whether the system field is set. */ public boolean hasSystem() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * List only direct child sub-systems or parameters of the specified system.
       * For example when querying the system "/a" against an MDB with parameters
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * parameter "/a/c".
       * When ``system`` and ``q`` are used together, matching parameters at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 11; * @return The system. */ 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; } } /** *
       * List only direct child sub-systems or parameters of the specified system.
       * For example when querying the system "/a" against an MDB with parameters
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * parameter "/a/c".
       * When ``system`` and ``q`` are used together, matching parameters at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 11; * @return The bytes for system. */ 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; } } /** *
       * List only direct child sub-systems or parameters of the specified system.
       * For example when querying the system "/a" against an MDB with parameters
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * parameter "/a/c".
       * When ``system`` and ``q`` are used together, matching parameters at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 11; * @param value The system to set. * @return This builder for chaining. */ public Builder setSystem( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; system_ = value; onChanged(); return this; } /** *
       * List only direct child sub-systems or parameters of the specified system.
       * For example when querying the system "/a" against an MDB with parameters
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * parameter "/a/c".
       * When ``system`` and ``q`` are used together, matching parameters at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 11; * @return This builder for chaining. */ public Builder clearSystem() { bitField0_ = (bitField0_ & ~0x00000040); system_ = getDefaultInstance().getSystem(); onChanged(); return this; } /** *
       * List only direct child sub-systems or parameters of the specified system.
       * For example when querying the system "/a" against an MDB with parameters
       * "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the
       * parameter "/a/c".
       * When ``system`` and ``q`` are used together, matching parameters at any
       * depth are returned, starting from the specified space system.
       * 
* * optional string system = 11; * @param value The bytes for system to set. * @return This builder for chaining. */ public Builder setSystemBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; system_ = value; onChanged(); return this; } private java.lang.Object next_ = ""; /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return Whether the next field is set. */ public boolean hasNext() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return The next. */ 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; } } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return The bytes for next. */ 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; } } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @param value The next to set. * @return This builder for chaining. */ public Builder setNext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; next_ = value; onChanged(); return this; } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @return This builder for chaining. */ public Builder clearNext() { bitField0_ = (bitField0_ & ~0x00000080); next_ = getDefaultInstance().getNext(); onChanged(); return this; } /** *
       * Continuation token returned by a previous page response.
       * 
* * optional string next = 7; * @param value The bytes for next to set. * @return This builder for chaining. */ public Builder setNextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; next_ = value; onChanged(); return this; } private int pos_ ; /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return Whether the pos field is set. */ @java.lang.Override public boolean hasPos() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return The pos. */ @java.lang.Override public int getPos() { return pos_; } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @param value The pos to set. * @return This builder for chaining. */ public Builder setPos(int value) { bitField0_ |= 0x00000100; pos_ = value; onChanged(); return this; } /** *
       * The zero-based row number at which to start outputting results. Default: ``0``
       * 
* * optional int32 pos = 8; * @return This builder for chaining. */ public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000100); pos_ = 0; onChanged(); return this; } private int limit_ ; /** *
       * The maximum number of returned parameters per page. Choose this value too
       * high and you risk hitting the maximum response size limit enforced by the
       * server. Default: ``100``
       * 
* * optional int32 limit = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000200) != 0); } /** *
       * The maximum number of returned parameters per page. Choose this value too
       * high and you risk hitting the maximum response size limit enforced by the
       * server. Default: ``100``
       * 
* * optional int32 limit = 9; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } /** *
       * The maximum number of returned parameters per page. Choose this value too
       * high and you risk hitting the maximum response size limit enforced by the
       * server. Default: ``100``
       * 
* * optional int32 limit = 9; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { bitField0_ |= 0x00000200; limit_ = value; onChanged(); return this; } /** *
       * The maximum number of returned parameters per page. Choose this value too
       * high and you risk hitting the maximum response size limit enforced by the
       * server. Default: ``100``
       * 
* * optional int32 limit = 9; * @return This builder for chaining. */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000200); 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 { /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ java.util.List getSystemsList(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ int getSystemsCount(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ java.util.List getSystemsOrBuilderList(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated java.util.List getSpaceSystemsList(); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated int getSpaceSystemsCount(); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated java.lang.String getSpaceSystems(int index); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getSpaceSystemsBytes(int index); /** *
     * Matching parameters
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ java.util.List getParametersList(); /** *
     * Matching parameters
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ org.yamcs.protobuf.Mdb.ParameterInfo getParameters(int index); /** *
     * Matching parameters
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ int getParametersCount(); /** *
     * Matching parameters
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ java.util.List getParametersOrBuilderList(); /** *
     * Matching parameters
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParametersOrBuilder( int index); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ boolean hasContinuationToken(); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The continuationToken. */ java.lang.String getContinuationToken(); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ com.google.protobuf.ByteString getContinuationTokenBytes(); /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ boolean hasTotalSize(); /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return The totalSize. */ 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() { systems_ = java.util.Collections.emptyList(); spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; parameters_ = java.util.Collections.emptyList(); continuationToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListParametersResponse(); } @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_ & 0x00000004) != 0)) { parameters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } 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_ & 0x00000002) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } spaceSystems_.add(bs); break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { systems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } systems_.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_ & 0x00000004) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000001) != 0)) { systems_ = java.util.Collections.unmodifiableList(systems_); } 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 SYSTEMS_FIELD_NUMBER = 5; private java.util.List systems_; /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public java.util.List getSystemsList() { return systems_; } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public java.util.List getSystemsOrBuilderList() { return systems_; } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public int getSystemsCount() { return systems_.size(); } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index) { return systems_.get(index); } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index) { return systems_.get(index); } public static final int SPACESYSTEMS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList spaceSystems_; /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_; } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated 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_; /** *
     * Matching parameters
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ @java.lang.Override public java.util.List getParametersList() { return parameters_; } /** *
     * Matching parameters
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ @java.lang.Override public java.util.List getParametersOrBuilderList() { return parameters_; } /** *
     * Matching parameters
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ @java.lang.Override public int getParametersCount() { return parameters_.size(); } /** *
     * Matching parameters
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getParameters(int index) { return parameters_.get(index); } /** *
     * Matching parameters
     * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ @java.lang.Override 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_; /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ @java.lang.Override public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The continuationToken. */ @java.lang.Override 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; } } /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ @java.lang.Override 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_; /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return The totalSize. */ @java.lang.Override 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 < getSystemsCount(); i++) { if (!getSystems(i).isInitialized()) { memoizedIsInitialized = 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)); } for (int i = 0; i < systems_.size(); i++) { output.writeMessage(5, systems_.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 < 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(); } for (int i = 0; i < systems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, systems_.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.ListParametersResponse)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListParametersResponse other = (org.yamcs.protobuf.Mdb.ListParametersResponse) obj; if (!getSystemsList() .equals(other.getSystemsList())) return false; 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 (getSystemsCount() > 0) { hash = (37 * hash) + SYSTEMS_FIELD_NUMBER; hash = (53 * hash) + getSystemsList().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) { getSystemsFieldBuilder(); getParametersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (systemsBuilder_ == null) { systems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { systemsBuilder_.clear(); } spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); if (parametersBuilder_ == null) { parameters_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { parametersBuilder_.clear(); } continuationToken_ = ""; bitField0_ = (bitField0_ & ~0x00000008); totalSize_ = 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_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 (systemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { systems_ = java.util.Collections.unmodifiableList(systems_); bitField0_ = (bitField0_ & ~0x00000001); } result.systems_ = systems_; } else { result.systems_ = systemsBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.spaceSystems_ = spaceSystems_; if (parametersBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); bitField0_ = (bitField0_ & ~0x00000004); } result.parameters_ = parameters_; } else { result.parameters_ = parametersBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000001; } result.continuationToken_ = continuationToken_; if (((from_bitField0_ & 0x00000010) != 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 (systemsBuilder_ == null) { if (!other.systems_.isEmpty()) { if (systems_.isEmpty()) { systems_ = other.systems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSystemsIsMutable(); systems_.addAll(other.systems_); } onChanged(); } } else { if (!other.systems_.isEmpty()) { if (systemsBuilder_.isEmpty()) { systemsBuilder_.dispose(); systemsBuilder_ = null; systems_ = other.systems_; bitField0_ = (bitField0_ & ~0x00000001); systemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSystemsFieldBuilder() : null; } else { systemsBuilder_.addAllMessages(other.systems_); } } } if (!other.spaceSystems_.isEmpty()) { if (spaceSystems_.isEmpty()) { spaceSystems_ = other.spaceSystems_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSpaceSystemsIsMutable(); spaceSystems_.addAll(other.spaceSystems_); } onChanged(); } if (parametersBuilder_ == null) { if (!other.parameters_.isEmpty()) { if (parameters_.isEmpty()) { parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureParametersIsMutable(); parameters_.addAll(other.parameters_); } onChanged(); } } else { if (!other.parameters_.isEmpty()) { if (parametersBuilder_.isEmpty()) { parametersBuilder_.dispose(); parametersBuilder_ = null; parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000004); parametersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getParametersFieldBuilder() : null; } else { parametersBuilder_.addAllMessages(other.parameters_); } } } if (other.hasContinuationToken()) { bitField0_ |= 0x00000008; 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 < getSystemsCount(); i++) { if (!getSystems(i).isInitialized()) { return false; } } 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 java.util.List systems_ = java.util.Collections.emptyList(); private void ensureSystemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { systems_ = new java.util.ArrayList(systems_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> systemsBuilder_; /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsList() { if (systemsBuilder_ == null) { return java.util.Collections.unmodifiableList(systems_); } else { return systemsBuilder_.getMessageList(); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public int getSystemsCount() { if (systemsBuilder_ == null) { return systems_.size(); } else { return systemsBuilder_.getCount(); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index) { if (systemsBuilder_ == null) { return systems_.get(index); } else { return systemsBuilder_.getMessage(index); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder setSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.set(index, value); onChanged(); } else { systemsBuilder_.setMessage(index, value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder setSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.set(index, builderForValue.build()); onChanged(); } else { systemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems(org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.add(value); onChanged(); } else { systemsBuilder_.addMessage(value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.add(index, value); onChanged(); } else { systemsBuilder_.addMessage(index, value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.add(builderForValue.build()); onChanged(); } else { systemsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.add(index, builderForValue.build()); onChanged(); } else { systemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addAllSystems( java.lang.Iterable values) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, systems_); onChanged(); } else { systemsBuilder_.addAllMessages(values); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder clearSystems() { if (systemsBuilder_ == null) { systems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { systemsBuilder_.clear(); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder removeSystems(int index) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.remove(index); onChanged(); } else { systemsBuilder_.remove(index); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder getSystemsBuilder( int index) { return getSystemsFieldBuilder().getBuilder(index); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index) { if (systemsBuilder_ == null) { return systems_.get(index); } else { return systemsBuilder_.getMessageOrBuilder(index); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsOrBuilderList() { if (systemsBuilder_ != null) { return systemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(systems_); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSystemsBuilder() { return getSystemsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSystemsBuilder( int index) { return getSystemsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsBuilderList() { return getSystemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> getSystemsFieldBuilder() { if (systemsBuilder_ == null) { systemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder>( systems_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); systems_ = null; } return systemsBuilder_; } private com.google.protobuf.LazyStringList spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSpaceSystemsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(spaceSystems_); bitField0_ |= 0x00000002; } } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_.getUnmodifiableView(); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index to set the value at. * @param value The spaceSystems to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setSpaceSystems( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.set(index, value); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param value The spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addSpaceSystems( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param values The spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllSpaceSystems( java.lang.Iterable values) { ensureSpaceSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, spaceSystems_); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSpaceSystems() { spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param value The bytes of the spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated 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_ & 0x00000004) != 0)) { parameters_ = new java.util.ArrayList(parameters_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> parametersBuilder_; /** *
       * Matching parameters
       * 
* * 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(); } } /** *
       * Matching parameters
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public int getParametersCount() { if (parametersBuilder_ == null) { return parameters_.size(); } else { return parametersBuilder_.getCount(); } } /** *
       * Matching parameters
       * 
* * 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); } } /** *
       * Matching parameters
       * 
* * 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; } /** *
       * Matching parameters
       * 
* * 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; } /** *
       * Matching parameters
       * 
* * 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; } /** *
       * Matching parameters
       * 
* * 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; } /** *
       * Matching parameters
       * 
* * 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; } /** *
       * Matching parameters
       * 
* * 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; } /** *
       * Matching parameters
       * 
* * 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; } /** *
       * Matching parameters
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public Builder clearParameters() { if (parametersBuilder_ == null) { parameters_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { parametersBuilder_.clear(); } return this; } /** *
       * Matching parameters
       * 
* * 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; } /** *
       * Matching parameters
       * 
* * repeated .yamcs.protobuf.mdb.ParameterInfo parameters = 1; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getParametersBuilder( int index) { return getParametersFieldBuilder().getBuilder(index); } /** *
       * Matching parameters
       * 
* * 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); } } /** *
       * Matching parameters
       * 
* * 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_); } } /** *
       * Matching 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()); } /** *
       * Matching parameters
       * 
* * 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()); } /** *
       * Matching parameters
       * 
* * 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_ & 0x00000004) != 0), getParentForChildren(), isClean()); parameters_ = null; } return parametersBuilder_; } private java.lang.Object continuationToken_ = ""; /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return The continuationToken. */ 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; } } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ 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; } } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @param value The continuationToken to set. * @return This builder for chaining. */ public Builder setContinuationToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; continuationToken_ = value; onChanged(); return this; } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return This builder for chaining. */ public Builder clearContinuationToken() { bitField0_ = (bitField0_ & ~0x00000008); continuationToken_ = getDefaultInstance().getContinuationToken(); onChanged(); return this; } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @param value The bytes for continuationToken to set. * @return This builder for chaining. */ public Builder setContinuationTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; continuationToken_ = value; onChanged(); return this; } private int totalSize_ ; /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return The totalSize. */ @java.lang.Override public int getTotalSize() { return totalSize_; } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { bitField0_ |= 0x00000010; totalSize_ = value; onChanged(); return this; } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return This builder for chaining. */ public Builder clearTotalSize() { bitField0_ = (bitField0_ & ~0x00000010); 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 BatchGetParametersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.BatchGetParametersRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 2; * @return Whether the instance field is set. */ boolean hasInstance(); /** * optional string instance = 2; * @return The instance. */ java.lang.String getInstance(); /** * optional string instance = 2; * @return The bytes for instance. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BatchGetParametersRequest(); } @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; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 2; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 2; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ID_FIELD_NUMBER = 1; private java.util.List id_; /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ @java.lang.Override public java.util.List getIdList() { return id_; } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ @java.lang.Override public java.util.List getIdOrBuilderList() { return id_; } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ @java.lang.Override public int getIdCount() { return id_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getId(int index) { return id_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId id = 1; */ @java.lang.Override 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; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string instance = 2; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 2; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 2; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 2; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 2; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BatchGetParametersResponse(); } @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; * @return Whether the id field is set. */ boolean hasId(); /** * optional .yamcs.protobuf.NamedObjectId id = 1; * @return The id. */ 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; * @return Whether the parameter field is set. */ boolean hasParameter(); /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return The parameter. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new 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; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.NamedObjectId id = 1; * @return The id. */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getId() { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } /** * optional .yamcs.protobuf.NamedObjectId id = 1; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder() { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } public static final int PARAMETER_FIELD_NUMBER = 2; private org.yamcs.protobuf.Mdb.ParameterInfo parameter_; /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return Whether the parameter field is set. */ @java.lang.Override public boolean hasParameter() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return The parameter. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { return parameter_ == null ? org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance() : parameter_; } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; */ @java.lang.Override 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; * @return Whether the id field is set. */ public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .yamcs.protobuf.NamedObjectId id = 1; * @return The id. */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId() { if (idBuilder_ == null) { return id_ == null ? org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance() : id_; } else { return idBuilder_.getMessage(); } } /** * 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; * @return Whether the parameter field is set. */ public boolean hasParameter() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .yamcs.protobuf.mdb.ParameterInfo parameter = 2; * @return The parameter. */ 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; */ @java.lang.Override public java.util.List getResponseList() { return response_; } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ @java.lang.Override public java.util.List getResponseOrBuilderList() { return response_; } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ @java.lang.Override public int getResponseCount() { return response_.size(); } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.BatchGetParametersResponse.GetParameterResponse getResponse(int index) { return response_.get(index); } /** * repeated .yamcs.protobuf.mdb.BatchGetParametersResponse.GetParameterResponse response = 1; */ @java.lang.Override 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 { /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ java.util.List getSystemsList(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ int getSystemsCount(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ java.util.List getSystemsOrBuilderList(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated java.util.List getSpaceSystemsList(); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated int getSpaceSystemsCount(); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated java.lang.String getSpaceSystems(int index); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getSpaceSystemsBytes(int index); /** *
     * Matching containers
     * 
* * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ java.util.List getContainersList(); /** *
     * Matching containers
     * 
* * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ org.yamcs.protobuf.Mdb.ContainerInfo getContainers(int index); /** *
     * Matching containers
     * 
* * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ int getContainersCount(); /** *
     * Matching containers
     * 
* * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ java.util.List getContainersOrBuilderList(); /** *
     * Matching containers
     * 
* * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainersOrBuilder( int index); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ boolean hasContinuationToken(); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The continuationToken. */ java.lang.String getContinuationToken(); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ com.google.protobuf.ByteString getContinuationTokenBytes(); /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ boolean hasTotalSize(); /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return The totalSize. */ 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() { systems_ = java.util.Collections.emptyList(); spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; containers_ = java.util.Collections.emptyList(); continuationToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListContainersResponse(); } @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_ & 0x00000004) != 0)) { containers_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } 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_ & 0x00000002) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } spaceSystems_.add(bs); break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { systems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } systems_.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_ & 0x00000004) != 0)) { containers_ = java.util.Collections.unmodifiableList(containers_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000001) != 0)) { systems_ = java.util.Collections.unmodifiableList(systems_); } 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 SYSTEMS_FIELD_NUMBER = 5; private java.util.List systems_; /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public java.util.List getSystemsList() { return systems_; } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public java.util.List getSystemsOrBuilderList() { return systems_; } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public int getSystemsCount() { return systems_.size(); } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index) { return systems_.get(index); } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index) { return systems_.get(index); } public static final int SPACESYSTEMS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList spaceSystems_; /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_; } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated 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_; /** *
     * Matching containers
     * 
* * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ @java.lang.Override public java.util.List getContainersList() { return containers_; } /** *
     * Matching containers
     * 
* * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ @java.lang.Override public java.util.List getContainersOrBuilderList() { return containers_; } /** *
     * Matching containers
     * 
* * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ @java.lang.Override public int getContainersCount() { return containers_.size(); } /** *
     * Matching containers
     * 
* * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ContainerInfo getContainers(int index) { return containers_.get(index); } /** *
     * Matching containers
     * 
* * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ @java.lang.Override 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_; /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ @java.lang.Override public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The continuationToken. */ @java.lang.Override 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; } } /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ @java.lang.Override 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_; /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return The totalSize. */ @java.lang.Override 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 < getSystemsCount(); i++) { if (!getSystems(i).isInitialized()) { memoizedIsInitialized = 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)); } for (int i = 0; i < systems_.size(); i++) { output.writeMessage(5, systems_.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 < 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(); } for (int i = 0; i < systems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, systems_.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.ListContainersResponse)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListContainersResponse other = (org.yamcs.protobuf.Mdb.ListContainersResponse) obj; if (!getSystemsList() .equals(other.getSystemsList())) return false; 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 (getSystemsCount() > 0) { hash = (37 * hash) + SYSTEMS_FIELD_NUMBER; hash = (53 * hash) + getSystemsList().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) { getSystemsFieldBuilder(); getContainersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (systemsBuilder_ == null) { systems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { systemsBuilder_.clear(); } spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); if (containersBuilder_ == null) { containers_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { containersBuilder_.clear(); } continuationToken_ = ""; bitField0_ = (bitField0_ & ~0x00000008); totalSize_ = 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_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 (systemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { systems_ = java.util.Collections.unmodifiableList(systems_); bitField0_ = (bitField0_ & ~0x00000001); } result.systems_ = systems_; } else { result.systems_ = systemsBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.spaceSystems_ = spaceSystems_; if (containersBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { containers_ = java.util.Collections.unmodifiableList(containers_); bitField0_ = (bitField0_ & ~0x00000004); } result.containers_ = containers_; } else { result.containers_ = containersBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000001; } result.continuationToken_ = continuationToken_; if (((from_bitField0_ & 0x00000010) != 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 (systemsBuilder_ == null) { if (!other.systems_.isEmpty()) { if (systems_.isEmpty()) { systems_ = other.systems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSystemsIsMutable(); systems_.addAll(other.systems_); } onChanged(); } } else { if (!other.systems_.isEmpty()) { if (systemsBuilder_.isEmpty()) { systemsBuilder_.dispose(); systemsBuilder_ = null; systems_ = other.systems_; bitField0_ = (bitField0_ & ~0x00000001); systemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSystemsFieldBuilder() : null; } else { systemsBuilder_.addAllMessages(other.systems_); } } } if (!other.spaceSystems_.isEmpty()) { if (spaceSystems_.isEmpty()) { spaceSystems_ = other.spaceSystems_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSpaceSystemsIsMutable(); spaceSystems_.addAll(other.spaceSystems_); } onChanged(); } if (containersBuilder_ == null) { if (!other.containers_.isEmpty()) { if (containers_.isEmpty()) { containers_ = other.containers_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureContainersIsMutable(); containers_.addAll(other.containers_); } onChanged(); } } else { if (!other.containers_.isEmpty()) { if (containersBuilder_.isEmpty()) { containersBuilder_.dispose(); containersBuilder_ = null; containers_ = other.containers_; bitField0_ = (bitField0_ & ~0x00000004); containersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getContainersFieldBuilder() : null; } else { containersBuilder_.addAllMessages(other.containers_); } } } if (other.hasContinuationToken()) { bitField0_ |= 0x00000008; 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 < getSystemsCount(); i++) { if (!getSystems(i).isInitialized()) { return false; } } 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 java.util.List systems_ = java.util.Collections.emptyList(); private void ensureSystemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { systems_ = new java.util.ArrayList(systems_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> systemsBuilder_; /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsList() { if (systemsBuilder_ == null) { return java.util.Collections.unmodifiableList(systems_); } else { return systemsBuilder_.getMessageList(); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public int getSystemsCount() { if (systemsBuilder_ == null) { return systems_.size(); } else { return systemsBuilder_.getCount(); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index) { if (systemsBuilder_ == null) { return systems_.get(index); } else { return systemsBuilder_.getMessage(index); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder setSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.set(index, value); onChanged(); } else { systemsBuilder_.setMessage(index, value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder setSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.set(index, builderForValue.build()); onChanged(); } else { systemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems(org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.add(value); onChanged(); } else { systemsBuilder_.addMessage(value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.add(index, value); onChanged(); } else { systemsBuilder_.addMessage(index, value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.add(builderForValue.build()); onChanged(); } else { systemsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.add(index, builderForValue.build()); onChanged(); } else { systemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addAllSystems( java.lang.Iterable values) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, systems_); onChanged(); } else { systemsBuilder_.addAllMessages(values); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder clearSystems() { if (systemsBuilder_ == null) { systems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { systemsBuilder_.clear(); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder removeSystems(int index) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.remove(index); onChanged(); } else { systemsBuilder_.remove(index); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder getSystemsBuilder( int index) { return getSystemsFieldBuilder().getBuilder(index); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index) { if (systemsBuilder_ == null) { return systems_.get(index); } else { return systemsBuilder_.getMessageOrBuilder(index); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsOrBuilderList() { if (systemsBuilder_ != null) { return systemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(systems_); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSystemsBuilder() { return getSystemsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSystemsBuilder( int index) { return getSystemsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsBuilderList() { return getSystemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> getSystemsFieldBuilder() { if (systemsBuilder_ == null) { systemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder>( systems_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); systems_ = null; } return systemsBuilder_; } private com.google.protobuf.LazyStringList spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSpaceSystemsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(spaceSystems_); bitField0_ |= 0x00000002; } } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_.getUnmodifiableView(); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index to set the value at. * @param value The spaceSystems to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setSpaceSystems( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.set(index, value); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param value The spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addSpaceSystems( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param values The spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllSpaceSystems( java.lang.Iterable values) { ensureSpaceSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, spaceSystems_); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSpaceSystems() { spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param value The bytes of the spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated 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_ & 0x00000004) != 0)) { containers_ = new java.util.ArrayList(containers_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> containersBuilder_; /** *
       * Matching containers
       * 
* * 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(); } } /** *
       * Matching containers
       * 
* * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public int getContainersCount() { if (containersBuilder_ == null) { return containers_.size(); } else { return containersBuilder_.getCount(); } } /** *
       * Matching containers
       * 
* * 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); } } /** *
       * Matching containers
       * 
* * 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; } /** *
       * Matching containers
       * 
* * 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; } /** *
       * Matching containers
       * 
* * 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; } /** *
       * Matching containers
       * 
* * 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; } /** *
       * Matching containers
       * 
* * 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; } /** *
       * Matching containers
       * 
* * 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; } /** *
       * Matching containers
       * 
* * 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; } /** *
       * Matching containers
       * 
* * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public Builder clearContainers() { if (containersBuilder_ == null) { containers_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { containersBuilder_.clear(); } return this; } /** *
       * Matching containers
       * 
* * 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; } /** *
       * Matching containers
       * 
* * repeated .yamcs.protobuf.mdb.ContainerInfo containers = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder getContainersBuilder( int index) { return getContainersFieldBuilder().getBuilder(index); } /** *
       * Matching containers
       * 
* * 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); } } /** *
       * Matching containers
       * 
* * 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_); } } /** *
       * Matching 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()); } /** *
       * Matching containers
       * 
* * 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()); } /** *
       * Matching containers
       * 
* * 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_ & 0x00000004) != 0), getParentForChildren(), isClean()); containers_ = null; } return containersBuilder_; } private java.lang.Object continuationToken_ = ""; /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return The continuationToken. */ 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; } } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ 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; } } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @param value The continuationToken to set. * @return This builder for chaining. */ public Builder setContinuationToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; continuationToken_ = value; onChanged(); return this; } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return This builder for chaining. */ public Builder clearContinuationToken() { bitField0_ = (bitField0_ & ~0x00000008); continuationToken_ = getDefaultInstance().getContinuationToken(); onChanged(); return this; } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @param value The bytes for continuationToken to set. * @return This builder for chaining. */ public Builder setContinuationTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; continuationToken_ = value; onChanged(); return this; } private int totalSize_ ; /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return The totalSize. */ @java.lang.Override public int getTotalSize() { return totalSize_; } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { bitField0_ |= 0x00000010; totalSize_ = value; onChanged(); return this; } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return This builder for chaining. */ public Builder clearTotalSize() { bitField0_ = (bitField0_ & ~0x00000010); 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 ListParameterTypesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListParameterTypesResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ java.util.List getSystemsList(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ int getSystemsCount(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ java.util.List getSystemsOrBuilderList(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated java.util.List getSpaceSystemsList(); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated int getSpaceSystemsCount(); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated java.lang.String getSpaceSystems(int index); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getSpaceSystemsBytes(int index); /** *
     * Matching parameter types
     * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ java.util.List getParameterTypesList(); /** *
     * Matching parameter types
     * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ org.yamcs.protobuf.Mdb.ParameterTypeInfo getParameterTypes(int index); /** *
     * Matching parameter types
     * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ int getParameterTypesCount(); /** *
     * Matching parameter types
     * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ java.util.List getParameterTypesOrBuilderList(); /** *
     * Matching parameter types
     * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getParameterTypesOrBuilder( int index); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ boolean hasContinuationToken(); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The continuationToken. */ java.lang.String getContinuationToken(); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ com.google.protobuf.ByteString getContinuationTokenBytes(); /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ boolean hasTotalSize(); /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return The totalSize. */ 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() { systems_ = java.util.Collections.emptyList(); spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; parameterTypes_ = java.util.Collections.emptyList(); continuationToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListParameterTypesResponse(); } @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_ & 0x00000004) != 0)) { parameterTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } parameterTypes_.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; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } spaceSystems_.add(bs); break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { systems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } systems_.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_ & 0x00000004) != 0)) { parameterTypes_ = java.util.Collections.unmodifiableList(parameterTypes_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000001) != 0)) { systems_ = java.util.Collections.unmodifiableList(systems_); } 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 SYSTEMS_FIELD_NUMBER = 5; private java.util.List systems_; /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public java.util.List getSystemsList() { return systems_; } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public java.util.List getSystemsOrBuilderList() { return systems_; } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public int getSystemsCount() { return systems_.size(); } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index) { return systems_.get(index); } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index) { return systems_.get(index); } public static final int SPACESYSTEMS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList spaceSystems_; /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_; } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } public static final int PARAMETERTYPES_FIELD_NUMBER = 1; private java.util.List parameterTypes_; /** *
     * Matching parameter types
     * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ @java.lang.Override public java.util.List getParameterTypesList() { return parameterTypes_; } /** *
     * Matching parameter types
     * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ @java.lang.Override public java.util.List getParameterTypesOrBuilderList() { return parameterTypes_; } /** *
     * Matching parameter types
     * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ @java.lang.Override public int getParameterTypesCount() { return parameterTypes_.size(); } /** *
     * Matching parameter types
     * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterTypeInfo getParameterTypes(int index) { return parameterTypes_.get(index); } /** *
     * Matching parameter types
     * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getParameterTypesOrBuilder( int index) { return parameterTypes_.get(index); } public static final int CONTINUATIONTOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object continuationToken_; /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ @java.lang.Override public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The continuationToken. */ @java.lang.Override 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; } } /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ @java.lang.Override 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_; /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return The totalSize. */ @java.lang.Override 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 < getSystemsCount(); i++) { if (!getSystems(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getParameterTypesCount(); i++) { if (!getParameterTypes(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 < parameterTypes_.size(); i++) { output.writeMessage(1, parameterTypes_.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)); } for (int i = 0; i < systems_.size(); i++) { output.writeMessage(5, systems_.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 < parameterTypes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, parameterTypes_.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(); } for (int i = 0; i < systems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, systems_.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.ListParameterTypesResponse)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListParameterTypesResponse other = (org.yamcs.protobuf.Mdb.ListParameterTypesResponse) obj; if (!getSystemsList() .equals(other.getSystemsList())) return false; if (!getSpaceSystemsList() .equals(other.getSpaceSystemsList())) return false; if (!getParameterTypesList() .equals(other.getParameterTypesList())) 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 (getSystemsCount() > 0) { hash = (37 * hash) + SYSTEMS_FIELD_NUMBER; hash = (53 * hash) + getSystemsList().hashCode(); } if (getSpaceSystemsCount() > 0) { hash = (37 * hash) + SPACESYSTEMS_FIELD_NUMBER; hash = (53 * hash) + getSpaceSystemsList().hashCode(); } if (getParameterTypesCount() > 0) { hash = (37 * hash) + PARAMETERTYPES_FIELD_NUMBER; hash = (53 * hash) + getParameterTypesList().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) { getSystemsFieldBuilder(); getParameterTypesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (systemsBuilder_ == null) { systems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { systemsBuilder_.clear(); } spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); if (parameterTypesBuilder_ == null) { parameterTypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { parameterTypesBuilder_.clear(); } continuationToken_ = ""; bitField0_ = (bitField0_ & ~0x00000008); totalSize_ = 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_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 (systemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { systems_ = java.util.Collections.unmodifiableList(systems_); bitField0_ = (bitField0_ & ~0x00000001); } result.systems_ = systems_; } else { result.systems_ = systemsBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.spaceSystems_ = spaceSystems_; if (parameterTypesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { parameterTypes_ = java.util.Collections.unmodifiableList(parameterTypes_); bitField0_ = (bitField0_ & ~0x00000004); } result.parameterTypes_ = parameterTypes_; } else { result.parameterTypes_ = parameterTypesBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000001; } result.continuationToken_ = continuationToken_; if (((from_bitField0_ & 0x00000010) != 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 (systemsBuilder_ == null) { if (!other.systems_.isEmpty()) { if (systems_.isEmpty()) { systems_ = other.systems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSystemsIsMutable(); systems_.addAll(other.systems_); } onChanged(); } } else { if (!other.systems_.isEmpty()) { if (systemsBuilder_.isEmpty()) { systemsBuilder_.dispose(); systemsBuilder_ = null; systems_ = other.systems_; bitField0_ = (bitField0_ & ~0x00000001); systemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSystemsFieldBuilder() : null; } else { systemsBuilder_.addAllMessages(other.systems_); } } } if (!other.spaceSystems_.isEmpty()) { if (spaceSystems_.isEmpty()) { spaceSystems_ = other.spaceSystems_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSpaceSystemsIsMutable(); spaceSystems_.addAll(other.spaceSystems_); } onChanged(); } if (parameterTypesBuilder_ == null) { if (!other.parameterTypes_.isEmpty()) { if (parameterTypes_.isEmpty()) { parameterTypes_ = other.parameterTypes_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureParameterTypesIsMutable(); parameterTypes_.addAll(other.parameterTypes_); } onChanged(); } } else { if (!other.parameterTypes_.isEmpty()) { if (parameterTypesBuilder_.isEmpty()) { parameterTypesBuilder_.dispose(); parameterTypesBuilder_ = null; parameterTypes_ = other.parameterTypes_; bitField0_ = (bitField0_ & ~0x00000004); parameterTypesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getParameterTypesFieldBuilder() : null; } else { parameterTypesBuilder_.addAllMessages(other.parameterTypes_); } } } if (other.hasContinuationToken()) { bitField0_ |= 0x00000008; 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 < getSystemsCount(); i++) { if (!getSystems(i).isInitialized()) { return false; } } for (int i = 0; i < getParameterTypesCount(); i++) { if (!getParameterTypes(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 systems_ = java.util.Collections.emptyList(); private void ensureSystemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { systems_ = new java.util.ArrayList(systems_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> systemsBuilder_; /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsList() { if (systemsBuilder_ == null) { return java.util.Collections.unmodifiableList(systems_); } else { return systemsBuilder_.getMessageList(); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public int getSystemsCount() { if (systemsBuilder_ == null) { return systems_.size(); } else { return systemsBuilder_.getCount(); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index) { if (systemsBuilder_ == null) { return systems_.get(index); } else { return systemsBuilder_.getMessage(index); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder setSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.set(index, value); onChanged(); } else { systemsBuilder_.setMessage(index, value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder setSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.set(index, builderForValue.build()); onChanged(); } else { systemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems(org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.add(value); onChanged(); } else { systemsBuilder_.addMessage(value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.add(index, value); onChanged(); } else { systemsBuilder_.addMessage(index, value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.add(builderForValue.build()); onChanged(); } else { systemsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.add(index, builderForValue.build()); onChanged(); } else { systemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addAllSystems( java.lang.Iterable values) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, systems_); onChanged(); } else { systemsBuilder_.addAllMessages(values); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder clearSystems() { if (systemsBuilder_ == null) { systems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { systemsBuilder_.clear(); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder removeSystems(int index) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.remove(index); onChanged(); } else { systemsBuilder_.remove(index); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder getSystemsBuilder( int index) { return getSystemsFieldBuilder().getBuilder(index); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index) { if (systemsBuilder_ == null) { return systems_.get(index); } else { return systemsBuilder_.getMessageOrBuilder(index); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsOrBuilderList() { if (systemsBuilder_ != null) { return systemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(systems_); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSystemsBuilder() { return getSystemsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSystemsBuilder( int index) { return getSystemsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsBuilderList() { return getSystemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> getSystemsFieldBuilder() { if (systemsBuilder_ == null) { systemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder>( systems_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); systems_ = null; } return systemsBuilder_; } private com.google.protobuf.LazyStringList spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSpaceSystemsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(spaceSystems_); bitField0_ |= 0x00000002; } } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_.getUnmodifiableView(); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index to set the value at. * @param value The spaceSystems to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setSpaceSystems( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.set(index, value); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param value The spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addSpaceSystems( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param values The spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllSpaceSystems( java.lang.Iterable values) { ensureSpaceSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, spaceSystems_); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSpaceSystems() { spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param value The bytes of the spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated 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 parameterTypes_ = java.util.Collections.emptyList(); private void ensureParameterTypesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { parameterTypes_ = new java.util.ArrayList(parameterTypes_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder> parameterTypesBuilder_; /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public java.util.List getParameterTypesList() { if (parameterTypesBuilder_ == null) { return java.util.Collections.unmodifiableList(parameterTypes_); } else { return parameterTypesBuilder_.getMessageList(); } } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public int getParameterTypesCount() { if (parameterTypesBuilder_ == null) { return parameterTypes_.size(); } else { return parameterTypesBuilder_.getCount(); } } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo getParameterTypes(int index) { if (parameterTypesBuilder_ == null) { return parameterTypes_.get(index); } else { return parameterTypesBuilder_.getMessage(index); } } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public Builder setParameterTypes( int index, org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (parameterTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParameterTypesIsMutable(); parameterTypes_.set(index, value); onChanged(); } else { parameterTypesBuilder_.setMessage(index, value); } return this; } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public Builder setParameterTypes( int index, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder builderForValue) { if (parameterTypesBuilder_ == null) { ensureParameterTypesIsMutable(); parameterTypes_.set(index, builderForValue.build()); onChanged(); } else { parameterTypesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public Builder addParameterTypes(org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (parameterTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParameterTypesIsMutable(); parameterTypes_.add(value); onChanged(); } else { parameterTypesBuilder_.addMessage(value); } return this; } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public Builder addParameterTypes( int index, org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (parameterTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureParameterTypesIsMutable(); parameterTypes_.add(index, value); onChanged(); } else { parameterTypesBuilder_.addMessage(index, value); } return this; } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public Builder addParameterTypes( org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder builderForValue) { if (parameterTypesBuilder_ == null) { ensureParameterTypesIsMutable(); parameterTypes_.add(builderForValue.build()); onChanged(); } else { parameterTypesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public Builder addParameterTypes( int index, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder builderForValue) { if (parameterTypesBuilder_ == null) { ensureParameterTypesIsMutable(); parameterTypes_.add(index, builderForValue.build()); onChanged(); } else { parameterTypesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public Builder addAllParameterTypes( java.lang.Iterable values) { if (parameterTypesBuilder_ == null) { ensureParameterTypesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, parameterTypes_); onChanged(); } else { parameterTypesBuilder_.addAllMessages(values); } return this; } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public Builder clearParameterTypes() { if (parameterTypesBuilder_ == null) { parameterTypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { parameterTypesBuilder_.clear(); } return this; } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public Builder removeParameterTypes(int index) { if (parameterTypesBuilder_ == null) { ensureParameterTypesIsMutable(); parameterTypes_.remove(index); onChanged(); } else { parameterTypesBuilder_.remove(index); } return this; } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder getParameterTypesBuilder( int index) { return getParameterTypesFieldBuilder().getBuilder(index); } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getParameterTypesOrBuilder( int index) { if (parameterTypesBuilder_ == null) { return parameterTypes_.get(index); } else { return parameterTypesBuilder_.getMessageOrBuilder(index); } } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public java.util.List getParameterTypesOrBuilderList() { if (parameterTypesBuilder_ != null) { return parameterTypesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(parameterTypes_); } } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder addParameterTypesBuilder() { return getParameterTypesFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance()); } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder addParameterTypesBuilder( int index) { return getParameterTypesFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance()); } /** *
       * Matching parameter types
       * 
* * repeated .yamcs.protobuf.mdb.ParameterTypeInfo parameterTypes = 1; */ public java.util.List getParameterTypesBuilderList() { return getParameterTypesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder> getParameterTypesFieldBuilder() { if (parameterTypesBuilder_ == null) { parameterTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder>( parameterTypes_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); parameterTypes_ = null; } return parameterTypesBuilder_; } private java.lang.Object continuationToken_ = ""; /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return The continuationToken. */ 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; } } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ 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; } } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @param value The continuationToken to set. * @return This builder for chaining. */ public Builder setContinuationToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; continuationToken_ = value; onChanged(); return this; } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return This builder for chaining. */ public Builder clearContinuationToken() { bitField0_ = (bitField0_ & ~0x00000008); continuationToken_ = getDefaultInstance().getContinuationToken(); onChanged(); return this; } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @param value The bytes for continuationToken to set. * @return This builder for chaining. */ public Builder setContinuationTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; continuationToken_ = value; onChanged(); return this; } private int totalSize_ ; /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return The totalSize. */ @java.lang.Override public int getTotalSize() { return totalSize_; } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { bitField0_ |= 0x00000010; totalSize_ = value; onChanged(); return this; } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return This builder for chaining. */ public Builder clearTotalSize() { bitField0_ = (bitField0_ & ~0x00000010); 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 ListCommandsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListCommandsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ java.util.List getSystemsList(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ int getSystemsCount(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ java.util.List getSystemsOrBuilderList(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated java.util.List getSpaceSystemsList(); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated int getSpaceSystemsCount(); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated java.lang.String getSpaceSystems(int index); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getSpaceSystemsBytes(int index); /** *
     * Matching commands
     * 
* * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ java.util.List getCommandsList(); /** *
     * Matching commands
     * 
* * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ org.yamcs.protobuf.Mdb.CommandInfo getCommands(int index); /** *
     * Matching commands
     * 
* * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ int getCommandsCount(); /** *
     * Matching commands
     * 
* * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ java.util.List getCommandsOrBuilderList(); /** *
     * Matching commands
     * 
* * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getCommandsOrBuilder( int index); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ boolean hasContinuationToken(); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The continuationToken. */ java.lang.String getContinuationToken(); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ com.google.protobuf.ByteString getContinuationTokenBytes(); /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ boolean hasTotalSize(); /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return The totalSize. */ 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() { systems_ = java.util.Collections.emptyList(); spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; commands_ = java.util.Collections.emptyList(); continuationToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListCommandsResponse(); } @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_ & 0x00000004) != 0)) { commands_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } 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_ & 0x00000002) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } spaceSystems_.add(bs); break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { systems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } systems_.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_ & 0x00000004) != 0)) { commands_ = java.util.Collections.unmodifiableList(commands_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000001) != 0)) { systems_ = java.util.Collections.unmodifiableList(systems_); } 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 SYSTEMS_FIELD_NUMBER = 5; private java.util.List systems_; /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public java.util.List getSystemsList() { return systems_; } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public java.util.List getSystemsOrBuilderList() { return systems_; } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public int getSystemsCount() { return systems_.size(); } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index) { return systems_.get(index); } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index) { return systems_.get(index); } public static final int SPACESYSTEMS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList spaceSystems_; /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_; } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated 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_; /** *
     * Matching commands
     * 
* * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ @java.lang.Override public java.util.List getCommandsList() { return commands_; } /** *
     * Matching commands
     * 
* * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ @java.lang.Override public java.util.List getCommandsOrBuilderList() { return commands_; } /** *
     * Matching commands
     * 
* * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ @java.lang.Override public int getCommandsCount() { return commands_.size(); } /** *
     * Matching commands
     * 
* * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.CommandInfo getCommands(int index) { return commands_.get(index); } /** *
     * Matching commands
     * 
* * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ @java.lang.Override 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_; /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ @java.lang.Override public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The continuationToken. */ @java.lang.Override 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; } } /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ @java.lang.Override 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_; /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return The totalSize. */ @java.lang.Override 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 < getSystemsCount(); i++) { if (!getSystems(i).isInitialized()) { memoizedIsInitialized = 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)); } for (int i = 0; i < systems_.size(); i++) { output.writeMessage(5, systems_.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 < 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(); } for (int i = 0; i < systems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, systems_.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.ListCommandsResponse)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListCommandsResponse other = (org.yamcs.protobuf.Mdb.ListCommandsResponse) obj; if (!getSystemsList() .equals(other.getSystemsList())) return false; 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 (getSystemsCount() > 0) { hash = (37 * hash) + SYSTEMS_FIELD_NUMBER; hash = (53 * hash) + getSystemsList().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) { getSystemsFieldBuilder(); getCommandsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (systemsBuilder_ == null) { systems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { systemsBuilder_.clear(); } spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); if (commandsBuilder_ == null) { commands_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { commandsBuilder_.clear(); } continuationToken_ = ""; bitField0_ = (bitField0_ & ~0x00000008); totalSize_ = 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_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 (systemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { systems_ = java.util.Collections.unmodifiableList(systems_); bitField0_ = (bitField0_ & ~0x00000001); } result.systems_ = systems_; } else { result.systems_ = systemsBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.spaceSystems_ = spaceSystems_; if (commandsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { commands_ = java.util.Collections.unmodifiableList(commands_); bitField0_ = (bitField0_ & ~0x00000004); } result.commands_ = commands_; } else { result.commands_ = commandsBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000001; } result.continuationToken_ = continuationToken_; if (((from_bitField0_ & 0x00000010) != 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 (systemsBuilder_ == null) { if (!other.systems_.isEmpty()) { if (systems_.isEmpty()) { systems_ = other.systems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSystemsIsMutable(); systems_.addAll(other.systems_); } onChanged(); } } else { if (!other.systems_.isEmpty()) { if (systemsBuilder_.isEmpty()) { systemsBuilder_.dispose(); systemsBuilder_ = null; systems_ = other.systems_; bitField0_ = (bitField0_ & ~0x00000001); systemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSystemsFieldBuilder() : null; } else { systemsBuilder_.addAllMessages(other.systems_); } } } if (!other.spaceSystems_.isEmpty()) { if (spaceSystems_.isEmpty()) { spaceSystems_ = other.spaceSystems_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSpaceSystemsIsMutable(); spaceSystems_.addAll(other.spaceSystems_); } onChanged(); } if (commandsBuilder_ == null) { if (!other.commands_.isEmpty()) { if (commands_.isEmpty()) { commands_ = other.commands_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureCommandsIsMutable(); commands_.addAll(other.commands_); } onChanged(); } } else { if (!other.commands_.isEmpty()) { if (commandsBuilder_.isEmpty()) { commandsBuilder_.dispose(); commandsBuilder_ = null; commands_ = other.commands_; bitField0_ = (bitField0_ & ~0x00000004); commandsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCommandsFieldBuilder() : null; } else { commandsBuilder_.addAllMessages(other.commands_); } } } if (other.hasContinuationToken()) { bitField0_ |= 0x00000008; 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 < getSystemsCount(); i++) { if (!getSystems(i).isInitialized()) { return false; } } 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 java.util.List systems_ = java.util.Collections.emptyList(); private void ensureSystemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { systems_ = new java.util.ArrayList(systems_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> systemsBuilder_; /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsList() { if (systemsBuilder_ == null) { return java.util.Collections.unmodifiableList(systems_); } else { return systemsBuilder_.getMessageList(); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public int getSystemsCount() { if (systemsBuilder_ == null) { return systems_.size(); } else { return systemsBuilder_.getCount(); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index) { if (systemsBuilder_ == null) { return systems_.get(index); } else { return systemsBuilder_.getMessage(index); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder setSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.set(index, value); onChanged(); } else { systemsBuilder_.setMessage(index, value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder setSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.set(index, builderForValue.build()); onChanged(); } else { systemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems(org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.add(value); onChanged(); } else { systemsBuilder_.addMessage(value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.add(index, value); onChanged(); } else { systemsBuilder_.addMessage(index, value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.add(builderForValue.build()); onChanged(); } else { systemsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.add(index, builderForValue.build()); onChanged(); } else { systemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addAllSystems( java.lang.Iterable values) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, systems_); onChanged(); } else { systemsBuilder_.addAllMessages(values); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder clearSystems() { if (systemsBuilder_ == null) { systems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { systemsBuilder_.clear(); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder removeSystems(int index) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.remove(index); onChanged(); } else { systemsBuilder_.remove(index); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder getSystemsBuilder( int index) { return getSystemsFieldBuilder().getBuilder(index); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index) { if (systemsBuilder_ == null) { return systems_.get(index); } else { return systemsBuilder_.getMessageOrBuilder(index); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsOrBuilderList() { if (systemsBuilder_ != null) { return systemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(systems_); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSystemsBuilder() { return getSystemsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSystemsBuilder( int index) { return getSystemsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsBuilderList() { return getSystemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> getSystemsFieldBuilder() { if (systemsBuilder_ == null) { systemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder>( systems_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); systems_ = null; } return systemsBuilder_; } private com.google.protobuf.LazyStringList spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSpaceSystemsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(spaceSystems_); bitField0_ |= 0x00000002; } } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_.getUnmodifiableView(); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index to set the value at. * @param value The spaceSystems to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setSpaceSystems( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.set(index, value); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param value The spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addSpaceSystems( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param values The spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllSpaceSystems( java.lang.Iterable values) { ensureSpaceSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, spaceSystems_); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSpaceSystems() { spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param value The bytes of the spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated 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_ & 0x00000004) != 0)) { commands_ = new java.util.ArrayList(commands_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandInfo, org.yamcs.protobuf.Mdb.CommandInfo.Builder, org.yamcs.protobuf.Mdb.CommandInfoOrBuilder> commandsBuilder_; /** *
       * Matching commands
       * 
* * 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(); } } /** *
       * Matching commands
       * 
* * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public int getCommandsCount() { if (commandsBuilder_ == null) { return commands_.size(); } else { return commandsBuilder_.getCount(); } } /** *
       * Matching commands
       * 
* * 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); } } /** *
       * Matching commands
       * 
* * 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; } /** *
       * Matching commands
       * 
* * 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; } /** *
       * Matching commands
       * 
* * 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; } /** *
       * Matching commands
       * 
* * 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; } /** *
       * Matching commands
       * 
* * 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; } /** *
       * Matching commands
       * 
* * 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; } /** *
       * Matching commands
       * 
* * 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; } /** *
       * Matching commands
       * 
* * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public Builder clearCommands() { if (commandsBuilder_ == null) { commands_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { commandsBuilder_.clear(); } return this; } /** *
       * Matching commands
       * 
* * 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; } /** *
       * Matching commands
       * 
* * repeated .yamcs.protobuf.mdb.CommandInfo commands = 1; */ public org.yamcs.protobuf.Mdb.CommandInfo.Builder getCommandsBuilder( int index) { return getCommandsFieldBuilder().getBuilder(index); } /** *
       * Matching commands
       * 
* * 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); } } /** *
       * Matching commands
       * 
* * 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_); } } /** *
       * Matching 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()); } /** *
       * Matching commands
       * 
* * 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()); } /** *
       * Matching commands
       * 
* * 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_ & 0x00000004) != 0), getParentForChildren(), isClean()); commands_ = null; } return commandsBuilder_; } private java.lang.Object continuationToken_ = ""; /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return The continuationToken. */ 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; } } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ 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; } } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @param value The continuationToken to set. * @return This builder for chaining. */ public Builder setContinuationToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; continuationToken_ = value; onChanged(); return this; } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return This builder for chaining. */ public Builder clearContinuationToken() { bitField0_ = (bitField0_ & ~0x00000008); continuationToken_ = getDefaultInstance().getContinuationToken(); onChanged(); return this; } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @param value The bytes for continuationToken to set. * @return This builder for chaining. */ public Builder setContinuationTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; continuationToken_ = value; onChanged(); return this; } private int totalSize_ ; /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return The totalSize. */ @java.lang.Override public int getTotalSize() { return totalSize_; } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { bitField0_ |= 0x00000010; totalSize_ = value; onChanged(); return this; } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return This builder for chaining. */ public Builder clearTotalSize() { bitField0_ = (bitField0_ & ~0x00000010); 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 { /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ java.util.List getSystemsList(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ int getSystemsCount(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ java.util.List getSystemsOrBuilderList(); /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated java.util.List getSpaceSystemsList(); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated int getSpaceSystemsCount(); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated java.lang.String getSpaceSystems(int index); /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getSpaceSystemsBytes(int index); /** *
     * Matching algorithms
     * 
* * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ java.util.List getAlgorithmsList(); /** *
     * Matching algorithms
     * 
* * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithms(int index); /** *
     * Matching algorithms
     * 
* * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ int getAlgorithmsCount(); /** *
     * Matching algorithms
     * 
* * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ java.util.List getAlgorithmsOrBuilderList(); /** *
     * Matching algorithms
     * 
* * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmsOrBuilder( int index); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ boolean hasContinuationToken(); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The continuationToken. */ java.lang.String getContinuationToken(); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ com.google.protobuf.ByteString getContinuationTokenBytes(); /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ boolean hasTotalSize(); /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return The totalSize. */ 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() { systems_ = java.util.Collections.emptyList(); spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; algorithms_ = java.util.Collections.emptyList(); continuationToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListAlgorithmsResponse(); } @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_ & 0x00000004) != 0)) { algorithms_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } 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_ & 0x00000002) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } spaceSystems_.add(bs); break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { systems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } systems_.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_ & 0x00000004) != 0)) { algorithms_ = java.util.Collections.unmodifiableList(algorithms_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000001) != 0)) { systems_ = java.util.Collections.unmodifiableList(systems_); } 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 SYSTEMS_FIELD_NUMBER = 5; private java.util.List systems_; /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public java.util.List getSystemsList() { return systems_; } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public java.util.List getSystemsOrBuilderList() { return systems_; } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public int getSystemsCount() { return systems_.size(); } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index) { return systems_.get(index); } /** *
     * Matching subsystems when the ``system`` option was specified
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index) { return systems_.get(index); } public static final int SPACESYSTEMS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList spaceSystems_; /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_; } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** *
     * Deprecated. Use ``systems`` instead
     * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated 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_; /** *
     * Matching algorithms
     * 
* * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ @java.lang.Override public java.util.List getAlgorithmsList() { return algorithms_; } /** *
     * Matching algorithms
     * 
* * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ @java.lang.Override public java.util.List getAlgorithmsOrBuilderList() { return algorithms_; } /** *
     * Matching algorithms
     * 
* * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ @java.lang.Override public int getAlgorithmsCount() { return algorithms_.size(); } /** *
     * Matching algorithms
     * 
* * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithms(int index) { return algorithms_.get(index); } /** *
     * Matching algorithms
     * 
* * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ @java.lang.Override 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_; /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ @java.lang.Override public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The continuationToken. */ @java.lang.Override 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; } } /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ @java.lang.Override 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_; /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return The totalSize. */ @java.lang.Override 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 < getSystemsCount(); i++) { if (!getSystems(i).isInitialized()) { memoizedIsInitialized = 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)); } for (int i = 0; i < systems_.size(); i++) { output.writeMessage(5, systems_.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 < 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(); } for (int i = 0; i < systems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, systems_.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.ListAlgorithmsResponse)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ListAlgorithmsResponse other = (org.yamcs.protobuf.Mdb.ListAlgorithmsResponse) obj; if (!getSystemsList() .equals(other.getSystemsList())) return false; 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 (getSystemsCount() > 0) { hash = (37 * hash) + SYSTEMS_FIELD_NUMBER; hash = (53 * hash) + getSystemsList().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) { getSystemsFieldBuilder(); getAlgorithmsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (systemsBuilder_ == null) { systems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { systemsBuilder_.clear(); } spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); if (algorithmsBuilder_ == null) { algorithms_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { algorithmsBuilder_.clear(); } continuationToken_ = ""; bitField0_ = (bitField0_ & ~0x00000008); totalSize_ = 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_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 (systemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { systems_ = java.util.Collections.unmodifiableList(systems_); bitField0_ = (bitField0_ & ~0x00000001); } result.systems_ = systems_; } else { result.systems_ = systemsBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { spaceSystems_ = spaceSystems_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.spaceSystems_ = spaceSystems_; if (algorithmsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { algorithms_ = java.util.Collections.unmodifiableList(algorithms_); bitField0_ = (bitField0_ & ~0x00000004); } result.algorithms_ = algorithms_; } else { result.algorithms_ = algorithmsBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000001; } result.continuationToken_ = continuationToken_; if (((from_bitField0_ & 0x00000010) != 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 (systemsBuilder_ == null) { if (!other.systems_.isEmpty()) { if (systems_.isEmpty()) { systems_ = other.systems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSystemsIsMutable(); systems_.addAll(other.systems_); } onChanged(); } } else { if (!other.systems_.isEmpty()) { if (systemsBuilder_.isEmpty()) { systemsBuilder_.dispose(); systemsBuilder_ = null; systems_ = other.systems_; bitField0_ = (bitField0_ & ~0x00000001); systemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSystemsFieldBuilder() : null; } else { systemsBuilder_.addAllMessages(other.systems_); } } } if (!other.spaceSystems_.isEmpty()) { if (spaceSystems_.isEmpty()) { spaceSystems_ = other.spaceSystems_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSpaceSystemsIsMutable(); spaceSystems_.addAll(other.spaceSystems_); } onChanged(); } if (algorithmsBuilder_ == null) { if (!other.algorithms_.isEmpty()) { if (algorithms_.isEmpty()) { algorithms_ = other.algorithms_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureAlgorithmsIsMutable(); algorithms_.addAll(other.algorithms_); } onChanged(); } } else { if (!other.algorithms_.isEmpty()) { if (algorithmsBuilder_.isEmpty()) { algorithmsBuilder_.dispose(); algorithmsBuilder_ = null; algorithms_ = other.algorithms_; bitField0_ = (bitField0_ & ~0x00000004); algorithmsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAlgorithmsFieldBuilder() : null; } else { algorithmsBuilder_.addAllMessages(other.algorithms_); } } } if (other.hasContinuationToken()) { bitField0_ |= 0x00000008; 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 < getSystemsCount(); i++) { if (!getSystems(i).isInitialized()) { return false; } } 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 java.util.List systems_ = java.util.Collections.emptyList(); private void ensureSystemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { systems_ = new java.util.ArrayList(systems_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> systemsBuilder_; /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsList() { if (systemsBuilder_ == null) { return java.util.Collections.unmodifiableList(systems_); } else { return systemsBuilder_.getMessageList(); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public int getSystemsCount() { if (systemsBuilder_ == null) { return systems_.size(); } else { return systemsBuilder_.getCount(); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSystems(int index) { if (systemsBuilder_ == null) { return systems_.get(index); } else { return systemsBuilder_.getMessage(index); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder setSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.set(index, value); onChanged(); } else { systemsBuilder_.setMessage(index, value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder setSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.set(index, builderForValue.build()); onChanged(); } else { systemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems(org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.add(value); onChanged(); } else { systemsBuilder_.addMessage(value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (systemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSystemsIsMutable(); systems_.add(index, value); onChanged(); } else { systemsBuilder_.addMessage(index, value); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.add(builderForValue.build()); onChanged(); } else { systemsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addSystems( int index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.add(index, builderForValue.build()); onChanged(); } else { systemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder addAllSystems( java.lang.Iterable values) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, systems_); onChanged(); } else { systemsBuilder_.addAllMessages(values); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder clearSystems() { if (systemsBuilder_ == null) { systems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { systemsBuilder_.clear(); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public Builder removeSystems(int index) { if (systemsBuilder_ == null) { ensureSystemsIsMutable(); systems_.remove(index); onChanged(); } else { systemsBuilder_.remove(index); } return this; } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder getSystemsBuilder( int index) { return getSystemsFieldBuilder().getBuilder(index); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder( int index) { if (systemsBuilder_ == null) { return systems_.get(index); } else { return systemsBuilder_.getMessageOrBuilder(index); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsOrBuilderList() { if (systemsBuilder_ != null) { return systemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(systems_); } } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSystemsBuilder() { return getSystemsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSystemsBuilder( int index) { return getSystemsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** *
       * Matching subsystems when the ``system`` option was specified
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5; */ public java.util.List getSystemsBuilderList() { return getSystemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> getSystemsFieldBuilder() { if (systemsBuilder_ == null) { systemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder>( systems_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); systems_ = null; } return systemsBuilder_; } private com.google.protobuf.LazyStringList spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSpaceSystemsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { spaceSystems_ = new com.google.protobuf.LazyStringArrayList(spaceSystems_); bitField0_ |= 0x00000002; } } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return A list containing the spaceSystems. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getSpaceSystemsList() { return spaceSystems_.getUnmodifiableView(); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return The count of spaceSystems. */ @java.lang.Deprecated public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the element to return. * @return The spaceSystems at the given index. */ @java.lang.Deprecated public java.lang.String getSpaceSystems(int index) { return spaceSystems_.get(index); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index of the value to return. * @return The bytes of the spaceSystems at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getSpaceSystemsBytes(int index) { return spaceSystems_.getByteString(index); } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param index The index to set the value at. * @param value The spaceSystems to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setSpaceSystems( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.set(index, value); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param value The spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addSpaceSystems( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemsIsMutable(); spaceSystems_.add(value); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param values The spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllSpaceSystems( java.lang.Iterable values) { ensureSpaceSystemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, spaceSystems_); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSpaceSystems() { spaceSystems_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * Deprecated. Use ``systems`` instead
       * 
* * repeated string spaceSystems = 4 [deprecated = true]; * @deprecated * @param value The bytes of the spaceSystems to add. * @return This builder for chaining. */ @java.lang.Deprecated 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_ & 0x00000004) != 0)) { algorithms_ = new java.util.ArrayList(algorithms_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder> algorithmsBuilder_; /** *
       * Matching algorithms
       * 
* * 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(); } } /** *
       * Matching algorithms
       * 
* * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public int getAlgorithmsCount() { if (algorithmsBuilder_ == null) { return algorithms_.size(); } else { return algorithmsBuilder_.getCount(); } } /** *
       * Matching algorithms
       * 
* * 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); } } /** *
       * Matching algorithms
       * 
* * 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; } /** *
       * Matching algorithms
       * 
* * 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; } /** *
       * Matching algorithms
       * 
* * 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; } /** *
       * Matching algorithms
       * 
* * 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; } /** *
       * Matching algorithms
       * 
* * 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; } /** *
       * Matching algorithms
       * 
* * 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; } /** *
       * Matching algorithms
       * 
* * 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; } /** *
       * Matching algorithms
       * 
* * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public Builder clearAlgorithms() { if (algorithmsBuilder_ == null) { algorithms_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { algorithmsBuilder_.clear(); } return this; } /** *
       * Matching algorithms
       * 
* * 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; } /** *
       * Matching algorithms
       * 
* * repeated .yamcs.protobuf.mdb.AlgorithmInfo algorithms = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder getAlgorithmsBuilder( int index) { return getAlgorithmsFieldBuilder().getBuilder(index); } /** *
       * Matching algorithms
       * 
* * 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); } } /** *
       * Matching algorithms
       * 
* * 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_); } } /** *
       * Matching 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()); } /** *
       * Matching algorithms
       * 
* * 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()); } /** *
       * Matching algorithms
       * 
* * 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_ & 0x00000004) != 0), getParentForChildren(), isClean()); algorithms_ = null; } return algorithmsBuilder_; } private java.lang.Object continuationToken_ = ""; /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return The continuationToken. */ 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; } } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ 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; } } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @param value The continuationToken to set. * @return This builder for chaining. */ public Builder setContinuationToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; continuationToken_ = value; onChanged(); return this; } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return This builder for chaining. */ public Builder clearContinuationToken() { bitField0_ = (bitField0_ & ~0x00000008); continuationToken_ = getDefaultInstance().getContinuationToken(); onChanged(); return this; } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @param value The bytes for continuationToken to set. * @return This builder for chaining. */ public Builder setContinuationTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; continuationToken_ = value; onChanged(); return this; } private int totalSize_ ; /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return The totalSize. */ @java.lang.Override public int getTotalSize() { return totalSize_; } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { bitField0_ |= 0x00000010; totalSize_ = value; onChanged(); return this; } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return This builder for chaining. */ public Builder clearTotalSize() { bitField0_ = (bitField0_ & ~0x00000010); 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 { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * Algorithm name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ boolean hasName(); /** *
     * Algorithm name.
     * 
* * optional string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * Algorithm name.
     * 
* * optional string name = 2; * @return The bytes for name. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetAlgorithmRequest(); } @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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Algorithm name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Algorithm name.
     * 
* * optional string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * Algorithm name.
     * 
* * optional string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Algorithm name.
       * 
* * optional string name = 2; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Algorithm name.
       * 
* * optional string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Algorithm name.
       * 
* * optional string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Algorithm name.
       * 
* * optional string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       * Algorithm name.
       * 
* * optional string name = 2; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Algorithm name.
       * 
* * optional string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } @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 CreateParameterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.CreateParameterRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * Fully qualified parameter name
     * 
* * optional string name = 2; * @return Whether the name field is set. */ boolean hasName(); /** *
     * Fully qualified parameter name
     * 
* * optional string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * Fully qualified parameter name
     * 
* * optional string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ boolean hasShortDescription(); /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return The shortDescription. */ java.lang.String getShortDescription(); /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return The bytes for shortDescription. */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return Whether the longDescription field is set. */ boolean hasLongDescription(); /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return The longDescription. */ java.lang.String getLongDescription(); /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return The bytes for longDescription. */ com.google.protobuf.ByteString getLongDescriptionBytes(); /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ int getAliasesCount(); /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ boolean containsAliases( java.lang.String key); /** * Use {@link #getAliasesMap()} instead. */ @java.lang.Deprecated java.util.Map getAliases(); /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ java.util.Map getAliasesMap(); /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ java.lang.String getAliasesOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ java.lang.String getAliasesOrThrow( java.lang.String key); /** *
     * Type of datasource.
     * One of TELEMETERED, DERIVED, CONSTANT, LOCAL, SYSTEM, COMMAND, COMMAND_HISTORY,
     * EXTERNAL1, EXTERNAL2, or EXTERNAL3
     * 
* * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 6; * @return Whether the dataSource field is set. */ boolean hasDataSource(); /** *
     * Type of datasource.
     * One of TELEMETERED, DERIVED, CONSTANT, LOCAL, SYSTEM, COMMAND, COMMAND_HISTORY,
     * EXTERNAL1, EXTERNAL2, or EXTERNAL3
     * 
* * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 6; * @return The dataSource. */ org.yamcs.protobuf.Mdb.DataSourceType getDataSource(); /** *
     * Fully qualified name of a parameter type
     * 
* * optional string parameterType = 7; * @return Whether the parameterType field is set. */ boolean hasParameterType(); /** *
     * Fully qualified name of a parameter type
     * 
* * optional string parameterType = 7; * @return The parameterType. */ java.lang.String getParameterType(); /** *
     * Fully qualified name of a parameter type
     * 
* * optional string parameterType = 7; * @return The bytes for parameterType. */ com.google.protobuf.ByteString getParameterTypeBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.CreateParameterRequest} */ public static final class CreateParameterRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.CreateParameterRequest) CreateParameterRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CreateParameterRequest.newBuilder() to construct. private CreateParameterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateParameterRequest() { instance_ = ""; name_ = ""; shortDescription_ = ""; longDescription_ = ""; dataSource_ = 0; parameterType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateParameterRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateParameterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } case 26: { com.google.protobuf.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)) { aliases_ = com.google.protobuf.MapField.newMapField( AliasesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000010; } com.google.protobuf.MapEntry aliases__ = input.readMessage( AliasesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); aliases_.getMutableMap().put( aliases__.getKey(), aliases__.getValue()); break; } case 48: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.yamcs.protobuf.Mdb.DataSourceType value = org.yamcs.protobuf.Mdb.DataSourceType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(6, rawValue); } else { bitField0_ |= 0x00000010; dataSource_ = rawValue; } break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; parameterType_ = 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_CreateParameterRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetAliases(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CreateParameterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.CreateParameterRequest.class, org.yamcs.protobuf.Mdb.CreateParameterRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Fully qualified parameter name
     * 
* * optional string name = 2; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Fully qualified parameter name
     * 
* * optional string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * Fully qualified parameter name
     * 
* * optional string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHORTDESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object shortDescription_; /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ @java.lang.Override public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return The shortDescription. */ @java.lang.Override 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; } } /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return The bytes for shortDescription. */ @java.lang.Override 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_; /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return Whether the longDescription field is set. */ @java.lang.Override public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return The longDescription. */ @java.lang.Override 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; } } /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return The bytes for longDescription. */ @java.lang.Override 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 ALIASES_FIELD_NUMBER = 5; private static final class AliasesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CreateParameterRequest_AliasesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> aliases_; private com.google.protobuf.MapField internalGetAliases() { if (aliases_ == null) { return com.google.protobuf.MapField.emptyMapField( AliasesDefaultEntryHolder.defaultEntry); } return aliases_; } public int getAliasesCount() { return internalGetAliases().getMap().size(); } /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ @java.lang.Override public boolean containsAliases( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAliases().getMap().containsKey(key); } /** * Use {@link #getAliasesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAliases() { return getAliasesMap(); } /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ @java.lang.Override public java.util.Map getAliasesMap() { return internalGetAliases().getMap(); } /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ @java.lang.Override public java.lang.String getAliasesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAliases().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ @java.lang.Override public java.lang.String getAliasesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAliases().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int DATASOURCE_FIELD_NUMBER = 6; private int dataSource_; /** *
     * Type of datasource.
     * One of TELEMETERED, DERIVED, CONSTANT, LOCAL, SYSTEM, COMMAND, COMMAND_HISTORY,
     * EXTERNAL1, EXTERNAL2, or EXTERNAL3
     * 
* * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 6; * @return Whether the dataSource field is set. */ @java.lang.Override public boolean hasDataSource() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Type of datasource.
     * One of TELEMETERED, DERIVED, CONSTANT, LOCAL, SYSTEM, COMMAND, COMMAND_HISTORY,
     * EXTERNAL1, EXTERNAL2, or EXTERNAL3
     * 
* * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 6; * @return The dataSource. */ @java.lang.Override 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 PARAMETERTYPE_FIELD_NUMBER = 7; private volatile java.lang.Object parameterType_; /** *
     * Fully qualified name of a parameter type
     * 
* * optional string parameterType = 7; * @return Whether the parameterType field is set. */ @java.lang.Override public boolean hasParameterType() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Fully qualified name of a parameter type
     * 
* * optional string parameterType = 7; * @return The parameterType. */ @java.lang.Override public java.lang.String getParameterType() { java.lang.Object ref = parameterType_; 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()) { parameterType_ = s; } return s; } } /** *
     * Fully qualified name of a parameter type
     * 
* * optional string parameterType = 7; * @return The bytes for parameterType. */ @java.lang.Override public com.google.protobuf.ByteString getParameterTypeBytes() { java.lang.Object ref = parameterType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); parameterType_ = 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_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, longDescription_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAliases(), AliasesDefaultEntryHolder.defaultEntry, 5); if (((bitField0_ & 0x00000010) != 0)) { output.writeEnum(6, dataSource_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, parameterType_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, longDescription_); } for (java.util.Map.Entry entry : internalGetAliases().getMap().entrySet()) { com.google.protobuf.MapEntry aliases__ = AliasesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, aliases__); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, dataSource_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, parameterType_); } 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.CreateParameterRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.CreateParameterRequest other = (org.yamcs.protobuf.Mdb.CreateParameterRequest) 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 (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 (!internalGetAliases().equals( other.internalGetAliases())) return false; if (hasDataSource() != other.hasDataSource()) return false; if (hasDataSource()) { if (dataSource_ != other.dataSource_) return false; } if (hasParameterType() != other.hasParameterType()) return false; if (hasParameterType()) { if (!getParameterType() .equals(other.getParameterType())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (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 (!internalGetAliases().getMap().isEmpty()) { hash = (37 * hash) + ALIASES_FIELD_NUMBER; hash = (53 * hash) + internalGetAliases().hashCode(); } if (hasDataSource()) { hash = (37 * hash) + DATASOURCE_FIELD_NUMBER; hash = (53 * hash) + dataSource_; } if (hasParameterType()) { hash = (37 * hash) + PARAMETERTYPE_FIELD_NUMBER; hash = (53 * hash) + getParameterType().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.CreateParameterRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CreateParameterRequest 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.CreateParameterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CreateParameterRequest 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.CreateParameterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CreateParameterRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.CreateParameterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CreateParameterRequest 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.CreateParameterRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CreateParameterRequest 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.CreateParameterRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CreateParameterRequest 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.CreateParameterRequest 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.CreateParameterRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.CreateParameterRequest) org.yamcs.protobuf.Mdb.CreateParameterRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CreateParameterRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetAliases(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 5: return internalGetMutableAliases(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CreateParameterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.CreateParameterRequest.class, org.yamcs.protobuf.Mdb.CreateParameterRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.CreateParameterRequest.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); shortDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000004); longDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000008); internalGetMutableAliases().clear(); dataSource_ = 0; bitField0_ = (bitField0_ & ~0x00000020); parameterType_ = ""; 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_CreateParameterRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.CreateParameterRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.CreateParameterRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.CreateParameterRequest build() { org.yamcs.protobuf.Mdb.CreateParameterRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.CreateParameterRequest buildPartial() { org.yamcs.protobuf.Mdb.CreateParameterRequest result = new org.yamcs.protobuf.Mdb.CreateParameterRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.shortDescription_ = shortDescription_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.longDescription_ = longDescription_; result.aliases_ = internalGetAliases(); result.aliases_.makeImmutable(); if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000010; } result.dataSource_ = dataSource_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000020; } result.parameterType_ = parameterType_; 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.CreateParameterRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.CreateParameterRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.CreateParameterRequest other) { if (other == org.yamcs.protobuf.Mdb.CreateParameterRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } if (other.hasShortDescription()) { bitField0_ |= 0x00000004; shortDescription_ = other.shortDescription_; onChanged(); } if (other.hasLongDescription()) { bitField0_ |= 0x00000008; longDescription_ = other.longDescription_; onChanged(); } internalGetMutableAliases().mergeFrom( other.internalGetAliases()); if (other.hasDataSource()) { setDataSource(other.getDataSource()); } if (other.hasParameterType()) { bitField0_ |= 0x00000040; parameterType_ = other.parameterType_; 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.CreateParameterRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.CreateParameterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** *
       * Yamcs instance name
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Fully qualified parameter name
       * 
* * optional string name = 2; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Fully qualified parameter name
       * 
* * optional string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Fully qualified parameter name
       * 
* * optional string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Fully qualified parameter name
       * 
* * optional string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       * Fully qualified parameter name
       * 
* * optional string name = 2; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Fully qualified parameter name
       * 
* * optional string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } private java.lang.Object shortDescription_ = ""; /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @return The shortDescription. */ 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; } } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @return The bytes for shortDescription. */ 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; } } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @param value The shortDescription to set. * @return This builder for chaining. */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @return This builder for chaining. */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @param value The bytes for shortDescription to set. * @return This builder for chaining. */ 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_ = ""; /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @return Whether the longDescription field is set. */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @return The longDescription. */ 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; } } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @return The bytes for longDescription. */ 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; } } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @param value The longDescription to set. * @return This builder for chaining. */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @return This builder for chaining. */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @param value The bytes for longDescription to set. * @return This builder for chaining. */ public Builder setLongDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> aliases_; private com.google.protobuf.MapField internalGetAliases() { if (aliases_ == null) { return com.google.protobuf.MapField.emptyMapField( AliasesDefaultEntryHolder.defaultEntry); } return aliases_; } private com.google.protobuf.MapField internalGetMutableAliases() { onChanged();; if (aliases_ == null) { aliases_ = com.google.protobuf.MapField.newMapField( AliasesDefaultEntryHolder.defaultEntry); } if (!aliases_.isMutable()) { aliases_ = aliases_.copy(); } return aliases_; } public int getAliasesCount() { return internalGetAliases().getMap().size(); } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ @java.lang.Override public boolean containsAliases( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAliases().getMap().containsKey(key); } /** * Use {@link #getAliasesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAliases() { return getAliasesMap(); } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ @java.lang.Override public java.util.Map getAliasesMap() { return internalGetAliases().getMap(); } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ @java.lang.Override public java.lang.String getAliasesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAliases().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ @java.lang.Override public java.lang.String getAliasesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAliases().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAliases() { internalGetMutableAliases().getMutableMap() .clear(); return this; } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ public Builder removeAliases( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAliases().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAliases() { return internalGetMutableAliases().getMutableMap(); } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ public Builder putAliases( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAliases().getMutableMap() .put(key, value); return this; } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ public Builder putAllAliases( java.util.Map values) { internalGetMutableAliases().getMutableMap() .putAll(values); return this; } private int dataSource_ = 0; /** *
       * Type of datasource.
       * One of TELEMETERED, DERIVED, CONSTANT, LOCAL, SYSTEM, COMMAND, COMMAND_HISTORY,
       * EXTERNAL1, EXTERNAL2, or EXTERNAL3
       * 
* * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 6; * @return Whether the dataSource field is set. */ @java.lang.Override public boolean hasDataSource() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Type of datasource.
       * One of TELEMETERED, DERIVED, CONSTANT, LOCAL, SYSTEM, COMMAND, COMMAND_HISTORY,
       * EXTERNAL1, EXTERNAL2, or EXTERNAL3
       * 
* * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 6; * @return The dataSource. */ @java.lang.Override 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; } /** *
       * Type of datasource.
       * One of TELEMETERED, DERIVED, CONSTANT, LOCAL, SYSTEM, COMMAND, COMMAND_HISTORY,
       * EXTERNAL1, EXTERNAL2, or EXTERNAL3
       * 
* * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 6; * @param value The dataSource to set. * @return This builder for chaining. */ public Builder setDataSource(org.yamcs.protobuf.Mdb.DataSourceType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; dataSource_ = value.getNumber(); onChanged(); return this; } /** *
       * Type of datasource.
       * One of TELEMETERED, DERIVED, CONSTANT, LOCAL, SYSTEM, COMMAND, COMMAND_HISTORY,
       * EXTERNAL1, EXTERNAL2, or EXTERNAL3
       * 
* * optional .yamcs.protobuf.mdb.DataSourceType dataSource = 6; * @return This builder for chaining. */ public Builder clearDataSource() { bitField0_ = (bitField0_ & ~0x00000020); dataSource_ = 0; onChanged(); return this; } private java.lang.Object parameterType_ = ""; /** *
       * Fully qualified name of a parameter type
       * 
* * optional string parameterType = 7; * @return Whether the parameterType field is set. */ public boolean hasParameterType() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * Fully qualified name of a parameter type
       * 
* * optional string parameterType = 7; * @return The parameterType. */ public java.lang.String getParameterType() { java.lang.Object ref = parameterType_; 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()) { parameterType_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Fully qualified name of a parameter type
       * 
* * optional string parameterType = 7; * @return The bytes for parameterType. */ public com.google.protobuf.ByteString getParameterTypeBytes() { java.lang.Object ref = parameterType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); parameterType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Fully qualified name of a parameter type
       * 
* * optional string parameterType = 7; * @param value The parameterType to set. * @return This builder for chaining. */ public Builder setParameterType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; parameterType_ = value; onChanged(); return this; } /** *
       * Fully qualified name of a parameter type
       * 
* * optional string parameterType = 7; * @return This builder for chaining. */ public Builder clearParameterType() { bitField0_ = (bitField0_ & ~0x00000040); parameterType_ = getDefaultInstance().getParameterType(); onChanged(); return this; } /** *
       * Fully qualified name of a parameter type
       * 
* * optional string parameterType = 7; * @param value The bytes for parameterType to set. * @return This builder for chaining. */ public Builder setParameterTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; parameterType_ = 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.CreateParameterRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.CreateParameterRequest) private static final org.yamcs.protobuf.Mdb.CreateParameterRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.CreateParameterRequest(); } public static org.yamcs.protobuf.Mdb.CreateParameterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateParameterRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateParameterRequest(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.CreateParameterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateParameterTypeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.CreateParameterTypeRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * Fully qualified parameter type name
     * 
* * optional string name = 2; * @return Whether the name field is set. */ boolean hasName(); /** *
     * Fully qualified parameter type name
     * 
* * optional string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * Fully qualified parameter type name
     * 
* * optional string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ boolean hasShortDescription(); /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return The shortDescription. */ java.lang.String getShortDescription(); /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return The bytes for shortDescription. */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return Whether the longDescription field is set. */ boolean hasLongDescription(); /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return The longDescription. */ java.lang.String getLongDescription(); /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return The bytes for longDescription. */ com.google.protobuf.ByteString getLongDescriptionBytes(); /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ int getAliasesCount(); /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ boolean containsAliases( java.lang.String key); /** * Use {@link #getAliasesMap()} instead. */ @java.lang.Deprecated java.util.Map getAliases(); /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ java.util.Map getAliasesMap(); /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ java.lang.String getAliasesOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ java.lang.String getAliasesOrThrow( java.lang.String key); /** *
     * Engineering type. One of ``float``, ``integer``, ``enumeration``,
     * ``binary``, ``boolean`` or ``string``.
     * 
* * optional string engType = 6; * @return Whether the engType field is set. */ boolean hasEngType(); /** *
     * Engineering type. One of ``float``, ``integer``, ``enumeration``,
     * ``binary``, ``boolean`` or ``string``.
     * 
* * optional string engType = 6; * @return The engType. */ java.lang.String getEngType(); /** *
     * Engineering type. One of ``float``, ``integer``, ``enumeration``,
     * ``binary``, ``boolean`` or ``string``.
     * 
* * optional string engType = 6; * @return The bytes for engType. */ com.google.protobuf.ByteString getEngTypeBytes(); /** *
     * Engineering unit
     * 
* * optional string unit = 7; * @return Whether the unit field is set. */ boolean hasUnit(); /** *
     * Engineering unit
     * 
* * optional string unit = 7; * @return The unit. */ java.lang.String getUnit(); /** *
     * Engineering unit
     * 
* * optional string unit = 7; * @return The bytes for unit. */ com.google.protobuf.ByteString getUnitBytes(); /** *
     * Set to true if the engineering type supports signed representation.
     * (only used with ``integer`` parameter types)
     * 
* * optional bool signed = 8; * @return Whether the signed field is set. */ boolean hasSigned(); /** *
     * Set to true if the engineering type supports signed representation.
     * (only used with ``integer`` parameter types)
     * 
* * optional bool signed = 8; * @return The signed. */ boolean getSigned(); /** *
     * Default Alarm, effective when no contextual alarm takes precedence.
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; * @return Whether the defaultAlarm field is set. */ boolean hasDefaultAlarm(); /** *
     * Default Alarm, effective when no contextual alarm takes precedence.
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; * @return The defaultAlarm. */ org.yamcs.protobuf.Mdb.AlarmInfo getDefaultAlarm(); /** *
     * Default Alarm, effective when no contextual alarm takes precedence.
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; */ org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder getDefaultAlarmOrBuilder(); /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ java.util.List getContextAlarmsList(); /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ org.yamcs.protobuf.Mdb.ContextAlarmInfo getContextAlarms(int index); /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ int getContextAlarmsCount(); /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ java.util.List getContextAlarmsOrBuilderList(); /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder getContextAlarmsOrBuilder( int index); /** *
     * Enumeration values.
     * (only used with ``enumeration`` parameter types)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ java.util.List getEnumerationValuesList(); /** *
     * Enumeration values.
     * (only used with ``enumeration`` parameter types)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ org.yamcs.protobuf.Mdb.EnumValue getEnumerationValues(int index); /** *
     * Enumeration values.
     * (only used with ``enumeration`` parameter types)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ int getEnumerationValuesCount(); /** *
     * Enumeration values.
     * (only used with ``enumeration`` parameter types)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ java.util.List getEnumerationValuesOrBuilderList(); /** *
     * Enumeration values.
     * (only used with ``enumeration`` parameter types)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ org.yamcs.protobuf.Mdb.EnumValueOrBuilder getEnumerationValuesOrBuilder( int index); /** *
     * String representation of a boolean zero.
     * (only used with ``boolean`` parameter types)
     * 
* * optional string zeroStringValue = 12; * @return Whether the zeroStringValue field is set. */ boolean hasZeroStringValue(); /** *
     * String representation of a boolean zero.
     * (only used with ``boolean`` parameter types)
     * 
* * optional string zeroStringValue = 12; * @return The zeroStringValue. */ java.lang.String getZeroStringValue(); /** *
     * String representation of a boolean zero.
     * (only used with ``boolean`` parameter types)
     * 
* * optional string zeroStringValue = 12; * @return The bytes for zeroStringValue. */ com.google.protobuf.ByteString getZeroStringValueBytes(); /** *
     * String representation of a boolean one.
     * (only used with ``boolean`` parameter types)
     * 
* * optional string oneStringValue = 13; * @return Whether the oneStringValue field is set. */ boolean hasOneStringValue(); /** *
     * String representation of a boolean one.
     * (only used with ``boolean`` parameter types)
     * 
* * optional string oneStringValue = 13; * @return The oneStringValue. */ java.lang.String getOneStringValue(); /** *
     * String representation of a boolean one.
     * (only used with ``boolean`` parameter types)
     * 
* * optional string oneStringValue = 13; * @return The bytes for oneStringValue. */ com.google.protobuf.ByteString getOneStringValueBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.CreateParameterTypeRequest} */ public static final class CreateParameterTypeRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.CreateParameterTypeRequest) CreateParameterTypeRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CreateParameterTypeRequest.newBuilder() to construct. private CreateParameterTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateParameterTypeRequest() { instance_ = ""; name_ = ""; shortDescription_ = ""; longDescription_ = ""; engType_ = ""; unit_ = ""; contextAlarms_ = java.util.Collections.emptyList(); enumerationValues_ = java.util.Collections.emptyList(); zeroStringValue_ = ""; oneStringValue_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateParameterTypeRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateParameterTypeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } case 26: { com.google.protobuf.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)) { aliases_ = com.google.protobuf.MapField.newMapField( AliasesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000010; } com.google.protobuf.MapEntry aliases__ = input.readMessage( AliasesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); aliases_.getMutableMap().put( aliases__.getKey(), aliases__.getValue()); break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; engType_ = bs; break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; unit_ = bs; break; } case 64: { bitField0_ |= 0x00000040; signed_ = input.readBool(); break; } case 74: { org.yamcs.protobuf.Mdb.AlarmInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000080) != 0)) { subBuilder = defaultAlarm_.toBuilder(); } defaultAlarm_ = input.readMessage(org.yamcs.protobuf.Mdb.AlarmInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(defaultAlarm_); defaultAlarm_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 82: { if (!((mutable_bitField0_ & 0x00000200) != 0)) { contextAlarms_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } contextAlarms_.add( input.readMessage(org.yamcs.protobuf.Mdb.ContextAlarmInfo.PARSER, extensionRegistry)); break; } case 90: { if (!((mutable_bitField0_ & 0x00000400) != 0)) { enumerationValues_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000400; } enumerationValues_.add( input.readMessage(org.yamcs.protobuf.Mdb.EnumValue.PARSER, extensionRegistry)); break; } case 98: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000100; zeroStringValue_ = bs; break; } case 106: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000200; oneStringValue_ = 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_ & 0x00000200) != 0)) { contextAlarms_ = java.util.Collections.unmodifiableList(contextAlarms_); } if (((mutable_bitField0_ & 0x00000400) != 0)) { enumerationValues_ = java.util.Collections.unmodifiableList(enumerationValues_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetAliases(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.CreateParameterTypeRequest.class, org.yamcs.protobuf.Mdb.CreateParameterTypeRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Fully qualified parameter type name
     * 
* * optional string name = 2; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Fully qualified parameter type name
     * 
* * optional string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * Fully qualified parameter type name
     * 
* * optional string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SHORTDESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object shortDescription_; /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ @java.lang.Override public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return The shortDescription. */ @java.lang.Override 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; } } /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return The bytes for shortDescription. */ @java.lang.Override 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_; /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return Whether the longDescription field is set. */ @java.lang.Override public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return The longDescription. */ @java.lang.Override 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; } } /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return The bytes for longDescription. */ @java.lang.Override 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 ALIASES_FIELD_NUMBER = 5; private static final class AliasesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_AliasesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> aliases_; private com.google.protobuf.MapField internalGetAliases() { if (aliases_ == null) { return com.google.protobuf.MapField.emptyMapField( AliasesDefaultEntryHolder.defaultEntry); } return aliases_; } public int getAliasesCount() { return internalGetAliases().getMap().size(); } /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ @java.lang.Override public boolean containsAliases( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAliases().getMap().containsKey(key); } /** * Use {@link #getAliasesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAliases() { return getAliasesMap(); } /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ @java.lang.Override public java.util.Map getAliasesMap() { return internalGetAliases().getMap(); } /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ @java.lang.Override public java.lang.String getAliasesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAliases().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Aliases, keyed by namespace
     * 
* * map<string, string> aliases = 5; */ @java.lang.Override public java.lang.String getAliasesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAliases().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int ENGTYPE_FIELD_NUMBER = 6; private volatile java.lang.Object engType_; /** *
     * Engineering type. One of ``float``, ``integer``, ``enumeration``,
     * ``binary``, ``boolean`` or ``string``.
     * 
* * optional string engType = 6; * @return Whether the engType field is set. */ @java.lang.Override public boolean hasEngType() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Engineering type. One of ``float``, ``integer``, ``enumeration``,
     * ``binary``, ``boolean`` or ``string``.
     * 
* * optional string engType = 6; * @return The engType. */ @java.lang.Override 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; } } /** *
     * Engineering type. One of ``float``, ``integer``, ``enumeration``,
     * ``binary``, ``boolean`` or ``string``.
     * 
* * optional string engType = 6; * @return The bytes for engType. */ @java.lang.Override 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 UNIT_FIELD_NUMBER = 7; private volatile java.lang.Object unit_; /** *
     * Engineering unit
     * 
* * optional string unit = 7; * @return Whether the unit field is set. */ @java.lang.Override public boolean hasUnit() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Engineering unit
     * 
* * optional string unit = 7; * @return The unit. */ @java.lang.Override 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; } } /** *
     * Engineering unit
     * 
* * optional string unit = 7; * @return The bytes for unit. */ @java.lang.Override 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; } } public static final int SIGNED_FIELD_NUMBER = 8; private boolean signed_; /** *
     * Set to true if the engineering type supports signed representation.
     * (only used with ``integer`` parameter types)
     * 
* * optional bool signed = 8; * @return Whether the signed field is set. */ @java.lang.Override public boolean hasSigned() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Set to true if the engineering type supports signed representation.
     * (only used with ``integer`` parameter types)
     * 
* * optional bool signed = 8; * @return The signed. */ @java.lang.Override public boolean getSigned() { return signed_; } public static final int DEFAULTALARM_FIELD_NUMBER = 9; private org.yamcs.protobuf.Mdb.AlarmInfo defaultAlarm_; /** *
     * Default Alarm, effective when no contextual alarm takes precedence.
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; * @return Whether the defaultAlarm field is set. */ @java.lang.Override public boolean hasDefaultAlarm() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Default Alarm, effective when no contextual alarm takes precedence.
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; * @return The defaultAlarm. */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmInfo getDefaultAlarm() { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } /** *
     * Default Alarm, effective when no contextual alarm takes precedence.
     * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder getDefaultAlarmOrBuilder() { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } public static final int CONTEXTALARMS_FIELD_NUMBER = 10; private java.util.List contextAlarms_; /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ @java.lang.Override public java.util.List getContextAlarmsList() { return contextAlarms_; } /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ @java.lang.Override public java.util.List getContextAlarmsOrBuilderList() { return contextAlarms_; } /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ @java.lang.Override public int getContextAlarmsCount() { return contextAlarms_.size(); } /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ContextAlarmInfo getContextAlarms(int index) { return contextAlarms_.get(index); } /** *
     * Contextual alarms
     * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder getContextAlarmsOrBuilder( int index) { return contextAlarms_.get(index); } public static final int ENUMERATIONVALUES_FIELD_NUMBER = 11; private java.util.List enumerationValues_; /** *
     * Enumeration values.
     * (only used with ``enumeration`` parameter types)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ @java.lang.Override public java.util.List getEnumerationValuesList() { return enumerationValues_; } /** *
     * Enumeration values.
     * (only used with ``enumeration`` parameter types)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ @java.lang.Override public java.util.List getEnumerationValuesOrBuilderList() { return enumerationValues_; } /** *
     * Enumeration values.
     * (only used with ``enumeration`` parameter types)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ @java.lang.Override public int getEnumerationValuesCount() { return enumerationValues_.size(); } /** *
     * Enumeration values.
     * (only used with ``enumeration`` parameter types)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ @java.lang.Override public org.yamcs.protobuf.Mdb.EnumValue getEnumerationValues(int index) { return enumerationValues_.get(index); } /** *
     * Enumeration values.
     * (only used with ``enumeration`` parameter types)
     * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ @java.lang.Override public org.yamcs.protobuf.Mdb.EnumValueOrBuilder getEnumerationValuesOrBuilder( int index) { return enumerationValues_.get(index); } public static final int ZEROSTRINGVALUE_FIELD_NUMBER = 12; private volatile java.lang.Object zeroStringValue_; /** *
     * String representation of a boolean zero.
     * (only used with ``boolean`` parameter types)
     * 
* * optional string zeroStringValue = 12; * @return Whether the zeroStringValue field is set. */ @java.lang.Override public boolean hasZeroStringValue() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * String representation of a boolean zero.
     * (only used with ``boolean`` parameter types)
     * 
* * optional string zeroStringValue = 12; * @return The zeroStringValue. */ @java.lang.Override public java.lang.String getZeroStringValue() { java.lang.Object ref = zeroStringValue_; 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()) { zeroStringValue_ = s; } return s; } } /** *
     * String representation of a boolean zero.
     * (only used with ``boolean`` parameter types)
     * 
* * optional string zeroStringValue = 12; * @return The bytes for zeroStringValue. */ @java.lang.Override public com.google.protobuf.ByteString getZeroStringValueBytes() { java.lang.Object ref = zeroStringValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); zeroStringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ONESTRINGVALUE_FIELD_NUMBER = 13; private volatile java.lang.Object oneStringValue_; /** *
     * String representation of a boolean one.
     * (only used with ``boolean`` parameter types)
     * 
* * optional string oneStringValue = 13; * @return Whether the oneStringValue field is set. */ @java.lang.Override public boolean hasOneStringValue() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * String representation of a boolean one.
     * (only used with ``boolean`` parameter types)
     * 
* * optional string oneStringValue = 13; * @return The oneStringValue. */ @java.lang.Override public java.lang.String getOneStringValue() { java.lang.Object ref = oneStringValue_; 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()) { oneStringValue_ = s; } return s; } } /** *
     * String representation of a boolean one.
     * (only used with ``boolean`` parameter types)
     * 
* * optional string oneStringValue = 13; * @return The bytes for oneStringValue. */ @java.lang.Override public com.google.protobuf.ByteString getOneStringValueBytes() { java.lang.Object ref = oneStringValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); oneStringValue_ = 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 < getContextAlarmsCount(); i++) { if (!getContextAlarms(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, instance_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, longDescription_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAliases(), AliasesDefaultEntryHolder.defaultEntry, 5); if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, engType_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, unit_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(8, signed_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(9, getDefaultAlarm()); } for (int i = 0; i < contextAlarms_.size(); i++) { output.writeMessage(10, contextAlarms_.get(i)); } for (int i = 0; i < enumerationValues_.size(); i++) { output.writeMessage(11, enumerationValues_.get(i)); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, zeroStringValue_); } if (((bitField0_ & 0x00000200) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, oneStringValue_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, shortDescription_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, longDescription_); } for (java.util.Map.Entry entry : internalGetAliases().getMap().entrySet()) { com.google.protobuf.MapEntry aliases__ = AliasesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, aliases__); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, engType_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, unit_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, signed_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getDefaultAlarm()); } for (int i = 0; i < contextAlarms_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, contextAlarms_.get(i)); } for (int i = 0; i < enumerationValues_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, enumerationValues_.get(i)); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, zeroStringValue_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, oneStringValue_); } 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.CreateParameterTypeRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.CreateParameterTypeRequest other = (org.yamcs.protobuf.Mdb.CreateParameterTypeRequest) 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 (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 (!internalGetAliases().equals( other.internalGetAliases())) return false; if (hasEngType() != other.hasEngType()) return false; if (hasEngType()) { if (!getEngType() .equals(other.getEngType())) return false; } if (hasUnit() != other.hasUnit()) return false; if (hasUnit()) { if (!getUnit() .equals(other.getUnit())) return false; } if (hasSigned() != other.hasSigned()) return false; if (hasSigned()) { if (getSigned() != other.getSigned()) return false; } if (hasDefaultAlarm() != other.hasDefaultAlarm()) return false; if (hasDefaultAlarm()) { if (!getDefaultAlarm() .equals(other.getDefaultAlarm())) return false; } if (!getContextAlarmsList() .equals(other.getContextAlarmsList())) return false; if (!getEnumerationValuesList() .equals(other.getEnumerationValuesList())) return false; if (hasZeroStringValue() != other.hasZeroStringValue()) return false; if (hasZeroStringValue()) { if (!getZeroStringValue() .equals(other.getZeroStringValue())) return false; } if (hasOneStringValue() != other.hasOneStringValue()) return false; if (hasOneStringValue()) { if (!getOneStringValue() .equals(other.getOneStringValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (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 (!internalGetAliases().getMap().isEmpty()) { hash = (37 * hash) + ALIASES_FIELD_NUMBER; hash = (53 * hash) + internalGetAliases().hashCode(); } if (hasEngType()) { hash = (37 * hash) + ENGTYPE_FIELD_NUMBER; hash = (53 * hash) + getEngType().hashCode(); } if (hasUnit()) { hash = (37 * hash) + UNIT_FIELD_NUMBER; hash = (53 * hash) + getUnit().hashCode(); } if (hasSigned()) { hash = (37 * hash) + SIGNED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSigned()); } if (hasDefaultAlarm()) { hash = (37 * hash) + DEFAULTALARM_FIELD_NUMBER; hash = (53 * hash) + getDefaultAlarm().hashCode(); } if (getContextAlarmsCount() > 0) { hash = (37 * hash) + CONTEXTALARMS_FIELD_NUMBER; hash = (53 * hash) + getContextAlarmsList().hashCode(); } if (getEnumerationValuesCount() > 0) { hash = (37 * hash) + ENUMERATIONVALUES_FIELD_NUMBER; hash = (53 * hash) + getEnumerationValuesList().hashCode(); } if (hasZeroStringValue()) { hash = (37 * hash) + ZEROSTRINGVALUE_FIELD_NUMBER; hash = (53 * hash) + getZeroStringValue().hashCode(); } if (hasOneStringValue()) { hash = (37 * hash) + ONESTRINGVALUE_FIELD_NUMBER; hash = (53 * hash) + getOneStringValue().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.CreateParameterTypeRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CreateParameterTypeRequest 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.CreateParameterTypeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CreateParameterTypeRequest 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.CreateParameterTypeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.CreateParameterTypeRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.CreateParameterTypeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CreateParameterTypeRequest 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.CreateParameterTypeRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CreateParameterTypeRequest 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.CreateParameterTypeRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.CreateParameterTypeRequest 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.CreateParameterTypeRequest 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.CreateParameterTypeRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.CreateParameterTypeRequest) org.yamcs.protobuf.Mdb.CreateParameterTypeRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetAliases(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 5: return internalGetMutableAliases(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.CreateParameterTypeRequest.class, org.yamcs.protobuf.Mdb.CreateParameterTypeRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.CreateParameterTypeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDefaultAlarmFieldBuilder(); getContextAlarmsFieldBuilder(); getEnumerationValuesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); shortDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000004); longDescription_ = ""; bitField0_ = (bitField0_ & ~0x00000008); internalGetMutableAliases().clear(); engType_ = ""; bitField0_ = (bitField0_ & ~0x00000020); unit_ = ""; bitField0_ = (bitField0_ & ~0x00000040); signed_ = false; bitField0_ = (bitField0_ & ~0x00000080); if (defaultAlarmBuilder_ == null) { defaultAlarm_ = null; } else { defaultAlarmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); if (contextAlarmsBuilder_ == null) { contextAlarms_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); } else { contextAlarmsBuilder_.clear(); } if (enumerationValuesBuilder_ == null) { enumerationValues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); } else { enumerationValuesBuilder_.clear(); } zeroStringValue_ = ""; bitField0_ = (bitField0_ & ~0x00000800); oneStringValue_ = ""; bitField0_ = (bitField0_ & ~0x00001000); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.CreateParameterTypeRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.CreateParameterTypeRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.CreateParameterTypeRequest build() { org.yamcs.protobuf.Mdb.CreateParameterTypeRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.CreateParameterTypeRequest buildPartial() { org.yamcs.protobuf.Mdb.CreateParameterTypeRequest result = new org.yamcs.protobuf.Mdb.CreateParameterTypeRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.shortDescription_ = shortDescription_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.longDescription_ = longDescription_; result.aliases_ = internalGetAliases(); result.aliases_.makeImmutable(); if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000010; } result.engType_ = engType_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000020; } result.unit_ = unit_; if (((from_bitField0_ & 0x00000080) != 0)) { result.signed_ = signed_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000100) != 0)) { if (defaultAlarmBuilder_ == null) { result.defaultAlarm_ = defaultAlarm_; } else { result.defaultAlarm_ = defaultAlarmBuilder_.build(); } to_bitField0_ |= 0x00000080; } if (contextAlarmsBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { contextAlarms_ = java.util.Collections.unmodifiableList(contextAlarms_); bitField0_ = (bitField0_ & ~0x00000200); } result.contextAlarms_ = contextAlarms_; } else { result.contextAlarms_ = contextAlarmsBuilder_.build(); } if (enumerationValuesBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { enumerationValues_ = java.util.Collections.unmodifiableList(enumerationValues_); bitField0_ = (bitField0_ & ~0x00000400); } result.enumerationValues_ = enumerationValues_; } else { result.enumerationValues_ = enumerationValuesBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { to_bitField0_ |= 0x00000100; } result.zeroStringValue_ = zeroStringValue_; if (((from_bitField0_ & 0x00001000) != 0)) { to_bitField0_ |= 0x00000200; } result.oneStringValue_ = oneStringValue_; 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.CreateParameterTypeRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.CreateParameterTypeRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.CreateParameterTypeRequest other) { if (other == org.yamcs.protobuf.Mdb.CreateParameterTypeRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } if (other.hasShortDescription()) { bitField0_ |= 0x00000004; shortDescription_ = other.shortDescription_; onChanged(); } if (other.hasLongDescription()) { bitField0_ |= 0x00000008; longDescription_ = other.longDescription_; onChanged(); } internalGetMutableAliases().mergeFrom( other.internalGetAliases()); if (other.hasEngType()) { bitField0_ |= 0x00000020; engType_ = other.engType_; onChanged(); } if (other.hasUnit()) { bitField0_ |= 0x00000040; unit_ = other.unit_; onChanged(); } if (other.hasSigned()) { setSigned(other.getSigned()); } if (other.hasDefaultAlarm()) { mergeDefaultAlarm(other.getDefaultAlarm()); } if (contextAlarmsBuilder_ == null) { if (!other.contextAlarms_.isEmpty()) { if (contextAlarms_.isEmpty()) { contextAlarms_ = other.contextAlarms_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureContextAlarmsIsMutable(); contextAlarms_.addAll(other.contextAlarms_); } onChanged(); } } else { if (!other.contextAlarms_.isEmpty()) { if (contextAlarmsBuilder_.isEmpty()) { contextAlarmsBuilder_.dispose(); contextAlarmsBuilder_ = null; contextAlarms_ = other.contextAlarms_; bitField0_ = (bitField0_ & ~0x00000200); contextAlarmsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getContextAlarmsFieldBuilder() : null; } else { contextAlarmsBuilder_.addAllMessages(other.contextAlarms_); } } } if (enumerationValuesBuilder_ == null) { if (!other.enumerationValues_.isEmpty()) { if (enumerationValues_.isEmpty()) { enumerationValues_ = other.enumerationValues_; bitField0_ = (bitField0_ & ~0x00000400); } else { ensureEnumerationValuesIsMutable(); enumerationValues_.addAll(other.enumerationValues_); } onChanged(); } } else { if (!other.enumerationValues_.isEmpty()) { if (enumerationValuesBuilder_.isEmpty()) { enumerationValuesBuilder_.dispose(); enumerationValuesBuilder_ = null; enumerationValues_ = other.enumerationValues_; bitField0_ = (bitField0_ & ~0x00000400); enumerationValuesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEnumerationValuesFieldBuilder() : null; } else { enumerationValuesBuilder_.addAllMessages(other.enumerationValues_); } } } if (other.hasZeroStringValue()) { bitField0_ |= 0x00000800; zeroStringValue_ = other.zeroStringValue_; onChanged(); } if (other.hasOneStringValue()) { bitField0_ |= 0x00001000; oneStringValue_ = other.oneStringValue_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getContextAlarmsCount(); i++) { if (!getContextAlarms(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.CreateParameterTypeRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.CreateParameterTypeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** *
       * Yamcs instance name
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Fully qualified parameter type name
       * 
* * optional string name = 2; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Fully qualified parameter type name
       * 
* * optional string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Fully qualified parameter type name
       * 
* * optional string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Fully qualified parameter type name
       * 
* * optional string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       * Fully qualified parameter type name
       * 
* * optional string name = 2; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Fully qualified parameter type name
       * 
* * optional string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } private java.lang.Object shortDescription_ = ""; /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @return The shortDescription. */ 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; } } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @return The bytes for shortDescription. */ 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; } } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @param value The shortDescription to set. * @return This builder for chaining. */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @return This builder for chaining. */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @param value The bytes for shortDescription to set. * @return This builder for chaining. */ 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_ = ""; /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @return Whether the longDescription field is set. */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @return The longDescription. */ 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; } } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @return The bytes for longDescription. */ 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; } } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @param value The longDescription to set. * @return This builder for chaining. */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @return This builder for chaining. */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @param value The bytes for longDescription to set. * @return This builder for chaining. */ public Builder setLongDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> aliases_; private com.google.protobuf.MapField internalGetAliases() { if (aliases_ == null) { return com.google.protobuf.MapField.emptyMapField( AliasesDefaultEntryHolder.defaultEntry); } return aliases_; } private com.google.protobuf.MapField internalGetMutableAliases() { onChanged();; if (aliases_ == null) { aliases_ = com.google.protobuf.MapField.newMapField( AliasesDefaultEntryHolder.defaultEntry); } if (!aliases_.isMutable()) { aliases_ = aliases_.copy(); } return aliases_; } public int getAliasesCount() { return internalGetAliases().getMap().size(); } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ @java.lang.Override public boolean containsAliases( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAliases().getMap().containsKey(key); } /** * Use {@link #getAliasesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAliases() { return getAliasesMap(); } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ @java.lang.Override public java.util.Map getAliasesMap() { return internalGetAliases().getMap(); } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ @java.lang.Override public java.lang.String getAliasesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAliases().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ @java.lang.Override public java.lang.String getAliasesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAliases().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAliases() { internalGetMutableAliases().getMutableMap() .clear(); return this; } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ public Builder removeAliases( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAliases().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAliases() { return internalGetMutableAliases().getMutableMap(); } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ public Builder putAliases( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAliases().getMutableMap() .put(key, value); return this; } /** *
       * Aliases, keyed by namespace
       * 
* * map<string, string> aliases = 5; */ public Builder putAllAliases( java.util.Map values) { internalGetMutableAliases().getMutableMap() .putAll(values); return this; } private java.lang.Object engType_ = ""; /** *
       * Engineering type. One of ``float``, ``integer``, ``enumeration``,
       * ``binary``, ``boolean`` or ``string``.
       * 
* * optional string engType = 6; * @return Whether the engType field is set. */ public boolean hasEngType() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Engineering type. One of ``float``, ``integer``, ``enumeration``,
       * ``binary``, ``boolean`` or ``string``.
       * 
* * optional string engType = 6; * @return The engType. */ 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; } } /** *
       * Engineering type. One of ``float``, ``integer``, ``enumeration``,
       * ``binary``, ``boolean`` or ``string``.
       * 
* * optional string engType = 6; * @return The bytes for engType. */ 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; } } /** *
       * Engineering type. One of ``float``, ``integer``, ``enumeration``,
       * ``binary``, ``boolean`` or ``string``.
       * 
* * optional string engType = 6; * @param value The engType to set. * @return This builder for chaining. */ public Builder setEngType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; engType_ = value; onChanged(); return this; } /** *
       * Engineering type. One of ``float``, ``integer``, ``enumeration``,
       * ``binary``, ``boolean`` or ``string``.
       * 
* * optional string engType = 6; * @return This builder for chaining. */ public Builder clearEngType() { bitField0_ = (bitField0_ & ~0x00000020); engType_ = getDefaultInstance().getEngType(); onChanged(); return this; } /** *
       * Engineering type. One of ``float``, ``integer``, ``enumeration``,
       * ``binary``, ``boolean`` or ``string``.
       * 
* * optional string engType = 6; * @param value The bytes for engType to set. * @return This builder for chaining. */ public Builder setEngTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; engType_ = value; onChanged(); return this; } private java.lang.Object unit_ = ""; /** *
       * Engineering unit
       * 
* * optional string unit = 7; * @return Whether the unit field is set. */ public boolean hasUnit() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * Engineering unit
       * 
* * optional string unit = 7; * @return The unit. */ 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; } } /** *
       * Engineering unit
       * 
* * optional string unit = 7; * @return The bytes for unit. */ 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; } } /** *
       * Engineering unit
       * 
* * optional string unit = 7; * @param value The unit to set. * @return This builder for chaining. */ public Builder setUnit( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; unit_ = value; onChanged(); return this; } /** *
       * Engineering unit
       * 
* * optional string unit = 7; * @return This builder for chaining. */ public Builder clearUnit() { bitField0_ = (bitField0_ & ~0x00000040); unit_ = getDefaultInstance().getUnit(); onChanged(); return this; } /** *
       * Engineering unit
       * 
* * optional string unit = 7; * @param value The bytes for unit to set. * @return This builder for chaining. */ public Builder setUnitBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; unit_ = value; onChanged(); return this; } private boolean signed_ ; /** *
       * Set to true if the engineering type supports signed representation.
       * (only used with ``integer`` parameter types)
       * 
* * optional bool signed = 8; * @return Whether the signed field is set. */ @java.lang.Override public boolean hasSigned() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * Set to true if the engineering type supports signed representation.
       * (only used with ``integer`` parameter types)
       * 
* * optional bool signed = 8; * @return The signed. */ @java.lang.Override public boolean getSigned() { return signed_; } /** *
       * Set to true if the engineering type supports signed representation.
       * (only used with ``integer`` parameter types)
       * 
* * optional bool signed = 8; * @param value The signed to set. * @return This builder for chaining. */ public Builder setSigned(boolean value) { bitField0_ |= 0x00000080; signed_ = value; onChanged(); return this; } /** *
       * Set to true if the engineering type supports signed representation.
       * (only used with ``integer`` parameter types)
       * 
* * optional bool signed = 8; * @return This builder for chaining. */ public Builder clearSigned() { bitField0_ = (bitField0_ & ~0x00000080); signed_ = false; onChanged(); return this; } 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_; /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; * @return Whether the defaultAlarm field is set. */ public boolean hasDefaultAlarm() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; * @return The defaultAlarm. */ public org.yamcs.protobuf.Mdb.AlarmInfo getDefaultAlarm() { if (defaultAlarmBuilder_ == null) { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } else { return defaultAlarmBuilder_.getMessage(); } } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; */ 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_ |= 0x00000100; return this; } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; */ public Builder setDefaultAlarm( org.yamcs.protobuf.Mdb.AlarmInfo.Builder builderForValue) { if (defaultAlarmBuilder_ == null) { defaultAlarm_ = builderForValue.build(); onChanged(); } else { defaultAlarmBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; */ public Builder mergeDefaultAlarm(org.yamcs.protobuf.Mdb.AlarmInfo value) { if (defaultAlarmBuilder_ == null) { if (((bitField0_ & 0x00000100) != 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_ |= 0x00000100; return this; } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; */ public Builder clearDefaultAlarm() { if (defaultAlarmBuilder_ == null) { defaultAlarm_ = null; onChanged(); } else { defaultAlarmBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; */ public org.yamcs.protobuf.Mdb.AlarmInfo.Builder getDefaultAlarmBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDefaultAlarmFieldBuilder().getBuilder(); } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; */ public org.yamcs.protobuf.Mdb.AlarmInfoOrBuilder getDefaultAlarmOrBuilder() { if (defaultAlarmBuilder_ != null) { return defaultAlarmBuilder_.getMessageOrBuilder(); } else { return defaultAlarm_ == null ? org.yamcs.protobuf.Mdb.AlarmInfo.getDefaultInstance() : defaultAlarm_; } } /** *
       * Default Alarm, effective when no contextual alarm takes precedence.
       * 
* * optional .yamcs.protobuf.mdb.AlarmInfo defaultAlarm = 9; */ 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 contextAlarms_ = java.util.Collections.emptyList(); private void ensureContextAlarmsIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { contextAlarms_ = new java.util.ArrayList(contextAlarms_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextAlarmInfo, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder, org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder> contextAlarmsBuilder_; /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public java.util.List getContextAlarmsList() { if (contextAlarmsBuilder_ == null) { return java.util.Collections.unmodifiableList(contextAlarms_); } else { return contextAlarmsBuilder_.getMessageList(); } } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public int getContextAlarmsCount() { if (contextAlarmsBuilder_ == null) { return contextAlarms_.size(); } else { return contextAlarmsBuilder_.getCount(); } } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo getContextAlarms(int index) { if (contextAlarmsBuilder_ == null) { return contextAlarms_.get(index); } else { return contextAlarmsBuilder_.getMessage(index); } } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public Builder setContextAlarms( int index, org.yamcs.protobuf.Mdb.ContextAlarmInfo value) { if (contextAlarmsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextAlarmsIsMutable(); contextAlarms_.set(index, value); onChanged(); } else { contextAlarmsBuilder_.setMessage(index, value); } return this; } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public Builder setContextAlarms( int index, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder builderForValue) { if (contextAlarmsBuilder_ == null) { ensureContextAlarmsIsMutable(); contextAlarms_.set(index, builderForValue.build()); onChanged(); } else { contextAlarmsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public Builder addContextAlarms(org.yamcs.protobuf.Mdb.ContextAlarmInfo value) { if (contextAlarmsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextAlarmsIsMutable(); contextAlarms_.add(value); onChanged(); } else { contextAlarmsBuilder_.addMessage(value); } return this; } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public Builder addContextAlarms( int index, org.yamcs.protobuf.Mdb.ContextAlarmInfo value) { if (contextAlarmsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextAlarmsIsMutable(); contextAlarms_.add(index, value); onChanged(); } else { contextAlarmsBuilder_.addMessage(index, value); } return this; } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public Builder addContextAlarms( org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder builderForValue) { if (contextAlarmsBuilder_ == null) { ensureContextAlarmsIsMutable(); contextAlarms_.add(builderForValue.build()); onChanged(); } else { contextAlarmsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public Builder addContextAlarms( int index, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder builderForValue) { if (contextAlarmsBuilder_ == null) { ensureContextAlarmsIsMutable(); contextAlarms_.add(index, builderForValue.build()); onChanged(); } else { contextAlarmsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public Builder addAllContextAlarms( java.lang.Iterable values) { if (contextAlarmsBuilder_ == null) { ensureContextAlarmsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, contextAlarms_); onChanged(); } else { contextAlarmsBuilder_.addAllMessages(values); } return this; } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public Builder clearContextAlarms() { if (contextAlarmsBuilder_ == null) { contextAlarms_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { contextAlarmsBuilder_.clear(); } return this; } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public Builder removeContextAlarms(int index) { if (contextAlarmsBuilder_ == null) { ensureContextAlarmsIsMutable(); contextAlarms_.remove(index); onChanged(); } else { contextAlarmsBuilder_.remove(index); } return this; } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder getContextAlarmsBuilder( int index) { return getContextAlarmsFieldBuilder().getBuilder(index); } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder getContextAlarmsOrBuilder( int index) { if (contextAlarmsBuilder_ == null) { return contextAlarms_.get(index); } else { return contextAlarmsBuilder_.getMessageOrBuilder(index); } } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public java.util.List getContextAlarmsOrBuilderList() { if (contextAlarmsBuilder_ != null) { return contextAlarmsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(contextAlarms_); } } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder addContextAlarmsBuilder() { return getContextAlarmsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ContextAlarmInfo.getDefaultInstance()); } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder addContextAlarmsBuilder( int index) { return getContextAlarmsFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ContextAlarmInfo.getDefaultInstance()); } /** *
       * Contextual alarms
       * 
* * repeated .yamcs.protobuf.mdb.ContextAlarmInfo contextAlarms = 10; */ public java.util.List getContextAlarmsBuilderList() { return getContextAlarmsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextAlarmInfo, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder, org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder> getContextAlarmsFieldBuilder() { if (contextAlarmsBuilder_ == null) { contextAlarmsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.ContextAlarmInfo, org.yamcs.protobuf.Mdb.ContextAlarmInfo.Builder, org.yamcs.protobuf.Mdb.ContextAlarmInfoOrBuilder>( contextAlarms_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); contextAlarms_ = null; } return contextAlarmsBuilder_; } private java.util.List enumerationValues_ = java.util.Collections.emptyList(); private void ensureEnumerationValuesIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { enumerationValues_ = new java.util.ArrayList(enumerationValues_); bitField0_ |= 0x00000400; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumValue, org.yamcs.protobuf.Mdb.EnumValue.Builder, org.yamcs.protobuf.Mdb.EnumValueOrBuilder> enumerationValuesBuilder_; /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public java.util.List getEnumerationValuesList() { if (enumerationValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(enumerationValues_); } else { return enumerationValuesBuilder_.getMessageList(); } } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public int getEnumerationValuesCount() { if (enumerationValuesBuilder_ == null) { return enumerationValues_.size(); } else { return enumerationValuesBuilder_.getCount(); } } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public org.yamcs.protobuf.Mdb.EnumValue getEnumerationValues(int index) { if (enumerationValuesBuilder_ == null) { return enumerationValues_.get(index); } else { return enumerationValuesBuilder_.getMessage(index); } } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public Builder setEnumerationValues( int index, org.yamcs.protobuf.Mdb.EnumValue value) { if (enumerationValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumerationValuesIsMutable(); enumerationValues_.set(index, value); onChanged(); } else { enumerationValuesBuilder_.setMessage(index, value); } return this; } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public Builder setEnumerationValues( int index, org.yamcs.protobuf.Mdb.EnumValue.Builder builderForValue) { if (enumerationValuesBuilder_ == null) { ensureEnumerationValuesIsMutable(); enumerationValues_.set(index, builderForValue.build()); onChanged(); } else { enumerationValuesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public Builder addEnumerationValues(org.yamcs.protobuf.Mdb.EnumValue value) { if (enumerationValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumerationValuesIsMutable(); enumerationValues_.add(value); onChanged(); } else { enumerationValuesBuilder_.addMessage(value); } return this; } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public Builder addEnumerationValues( int index, org.yamcs.protobuf.Mdb.EnumValue value) { if (enumerationValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEnumerationValuesIsMutable(); enumerationValues_.add(index, value); onChanged(); } else { enumerationValuesBuilder_.addMessage(index, value); } return this; } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public Builder addEnumerationValues( org.yamcs.protobuf.Mdb.EnumValue.Builder builderForValue) { if (enumerationValuesBuilder_ == null) { ensureEnumerationValuesIsMutable(); enumerationValues_.add(builderForValue.build()); onChanged(); } else { enumerationValuesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public Builder addEnumerationValues( int index, org.yamcs.protobuf.Mdb.EnumValue.Builder builderForValue) { if (enumerationValuesBuilder_ == null) { ensureEnumerationValuesIsMutable(); enumerationValues_.add(index, builderForValue.build()); onChanged(); } else { enumerationValuesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public Builder addAllEnumerationValues( java.lang.Iterable values) { if (enumerationValuesBuilder_ == null) { ensureEnumerationValuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, enumerationValues_); onChanged(); } else { enumerationValuesBuilder_.addAllMessages(values); } return this; } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public Builder clearEnumerationValues() { if (enumerationValuesBuilder_ == null) { enumerationValues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); } else { enumerationValuesBuilder_.clear(); } return this; } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public Builder removeEnumerationValues(int index) { if (enumerationValuesBuilder_ == null) { ensureEnumerationValuesIsMutable(); enumerationValues_.remove(index); onChanged(); } else { enumerationValuesBuilder_.remove(index); } return this; } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public org.yamcs.protobuf.Mdb.EnumValue.Builder getEnumerationValuesBuilder( int index) { return getEnumerationValuesFieldBuilder().getBuilder(index); } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public org.yamcs.protobuf.Mdb.EnumValueOrBuilder getEnumerationValuesOrBuilder( int index) { if (enumerationValuesBuilder_ == null) { return enumerationValues_.get(index); } else { return enumerationValuesBuilder_.getMessageOrBuilder(index); } } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public java.util.List getEnumerationValuesOrBuilderList() { if (enumerationValuesBuilder_ != null) { return enumerationValuesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(enumerationValues_); } } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public org.yamcs.protobuf.Mdb.EnumValue.Builder addEnumerationValuesBuilder() { return getEnumerationValuesFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.EnumValue.getDefaultInstance()); } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public org.yamcs.protobuf.Mdb.EnumValue.Builder addEnumerationValuesBuilder( int index) { return getEnumerationValuesFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.EnumValue.getDefaultInstance()); } /** *
       * Enumeration values.
       * (only used with ``enumeration`` parameter types)
       * 
* * repeated .yamcs.protobuf.mdb.EnumValue enumerationValues = 11; */ public java.util.List getEnumerationValuesBuilderList() { return getEnumerationValuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumValue, org.yamcs.protobuf.Mdb.EnumValue.Builder, org.yamcs.protobuf.Mdb.EnumValueOrBuilder> getEnumerationValuesFieldBuilder() { if (enumerationValuesBuilder_ == null) { enumerationValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.Mdb.EnumValue, org.yamcs.protobuf.Mdb.EnumValue.Builder, org.yamcs.protobuf.Mdb.EnumValueOrBuilder>( enumerationValues_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); enumerationValues_ = null; } return enumerationValuesBuilder_; } private java.lang.Object zeroStringValue_ = ""; /** *
       * String representation of a boolean zero.
       * (only used with ``boolean`` parameter types)
       * 
* * optional string zeroStringValue = 12; * @return Whether the zeroStringValue field is set. */ public boolean hasZeroStringValue() { return ((bitField0_ & 0x00000800) != 0); } /** *
       * String representation of a boolean zero.
       * (only used with ``boolean`` parameter types)
       * 
* * optional string zeroStringValue = 12; * @return The zeroStringValue. */ public java.lang.String getZeroStringValue() { java.lang.Object ref = zeroStringValue_; 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()) { zeroStringValue_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * String representation of a boolean zero.
       * (only used with ``boolean`` parameter types)
       * 
* * optional string zeroStringValue = 12; * @return The bytes for zeroStringValue. */ public com.google.protobuf.ByteString getZeroStringValueBytes() { java.lang.Object ref = zeroStringValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); zeroStringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * String representation of a boolean zero.
       * (only used with ``boolean`` parameter types)
       * 
* * optional string zeroStringValue = 12; * @param value The zeroStringValue to set. * @return This builder for chaining. */ public Builder setZeroStringValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; zeroStringValue_ = value; onChanged(); return this; } /** *
       * String representation of a boolean zero.
       * (only used with ``boolean`` parameter types)
       * 
* * optional string zeroStringValue = 12; * @return This builder for chaining. */ public Builder clearZeroStringValue() { bitField0_ = (bitField0_ & ~0x00000800); zeroStringValue_ = getDefaultInstance().getZeroStringValue(); onChanged(); return this; } /** *
       * String representation of a boolean zero.
       * (only used with ``boolean`` parameter types)
       * 
* * optional string zeroStringValue = 12; * @param value The bytes for zeroStringValue to set. * @return This builder for chaining. */ public Builder setZeroStringValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; zeroStringValue_ = value; onChanged(); return this; } private java.lang.Object oneStringValue_ = ""; /** *
       * String representation of a boolean one.
       * (only used with ``boolean`` parameter types)
       * 
* * optional string oneStringValue = 13; * @return Whether the oneStringValue field is set. */ public boolean hasOneStringValue() { return ((bitField0_ & 0x00001000) != 0); } /** *
       * String representation of a boolean one.
       * (only used with ``boolean`` parameter types)
       * 
* * optional string oneStringValue = 13; * @return The oneStringValue. */ public java.lang.String getOneStringValue() { java.lang.Object ref = oneStringValue_; 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()) { oneStringValue_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * String representation of a boolean one.
       * (only used with ``boolean`` parameter types)
       * 
* * optional string oneStringValue = 13; * @return The bytes for oneStringValue. */ public com.google.protobuf.ByteString getOneStringValueBytes() { java.lang.Object ref = oneStringValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); oneStringValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * String representation of a boolean one.
       * (only used with ``boolean`` parameter types)
       * 
* * optional string oneStringValue = 13; * @param value The oneStringValue to set. * @return This builder for chaining. */ public Builder setOneStringValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; oneStringValue_ = value; onChanged(); return this; } /** *
       * String representation of a boolean one.
       * (only used with ``boolean`` parameter types)
       * 
* * optional string oneStringValue = 13; * @return This builder for chaining. */ public Builder clearOneStringValue() { bitField0_ = (bitField0_ & ~0x00001000); oneStringValue_ = getDefaultInstance().getOneStringValue(); onChanged(); return this; } /** *
       * String representation of a boolean one.
       * (only used with ``boolean`` parameter types)
       * 
* * optional string oneStringValue = 13; * @param value The bytes for oneStringValue to set. * @return This builder for chaining. */ public Builder setOneStringValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; oneStringValue_ = 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.CreateParameterTypeRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.CreateParameterTypeRequest) private static final org.yamcs.protobuf.Mdb.CreateParameterTypeRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.CreateParameterTypeRequest(); } public static org.yamcs.protobuf.Mdb.CreateParameterTypeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateParameterTypeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateParameterTypeRequest(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.CreateParameterTypeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetMissionDatabaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.GetMissionDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetMissionDatabaseRequest(); } @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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } @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 { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportJavaMissionDatabaseRequest(); } @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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } @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 StreamMissionDatabaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.StreamMissionDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * Stream space systems. Default: ``true``
     * 
* * optional bool includeSpaceSystems = 2; * @return Whether the includeSpaceSystems field is set. */ boolean hasIncludeSpaceSystems(); /** *
     * Stream space systems. Default: ``true``
     * 
* * optional bool includeSpaceSystems = 2; * @return The includeSpaceSystems. */ boolean getIncludeSpaceSystems(); /** *
     * Stream containers. Default: ``true``
     * 
* * optional bool includeContainers = 3; * @return Whether the includeContainers field is set. */ boolean hasIncludeContainers(); /** *
     * Stream containers. Default: ``true``
     * 
* * optional bool includeContainers = 3; * @return The includeContainers. */ boolean getIncludeContainers(); /** *
     * Stream parameters. Default: ``true``
     * 
* * optional bool includeParameters = 4; * @return Whether the includeParameters field is set. */ boolean hasIncludeParameters(); /** *
     * Stream parameters. Default: ``true``
     * 
* * optional bool includeParameters = 4; * @return The includeParameters. */ boolean getIncludeParameters(); /** *
     * Stream parameter types. Default: ``true``
     * 
* * optional bool includeParameterTypes = 5; * @return Whether the includeParameterTypes field is set. */ boolean hasIncludeParameterTypes(); /** *
     * Stream parameter types. Default: ``true``
     * 
* * optional bool includeParameterTypes = 5; * @return The includeParameterTypes. */ boolean getIncludeParameterTypes(); /** *
     * Stream commands. Default: ``true``
     * 
* * optional bool includeCommands = 6; * @return Whether the includeCommands field is set. */ boolean hasIncludeCommands(); /** *
     * Stream commands. Default: ``true``
     * 
* * optional bool includeCommands = 6; * @return The includeCommands. */ boolean getIncludeCommands(); /** *
     * Stream algorithms. Default: ``true``
     * 
* * optional bool includeAlgorithms = 7; * @return Whether the includeAlgorithms field is set. */ boolean hasIncludeAlgorithms(); /** *
     * Stream algorithms. Default: ``true``
     * 
* * optional bool includeAlgorithms = 7; * @return The includeAlgorithms. */ boolean getIncludeAlgorithms(); } /** * Protobuf type {@code yamcs.protobuf.mdb.StreamMissionDatabaseRequest} */ public static final class StreamMissionDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.StreamMissionDatabaseRequest) StreamMissionDatabaseRequestOrBuilder { private static final long serialVersionUID = 0L; // Use StreamMissionDatabaseRequest.newBuilder() to construct. private StreamMissionDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StreamMissionDatabaseRequest() { instance_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StreamMissionDatabaseRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StreamMissionDatabaseRequest( 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 16: { bitField0_ |= 0x00000002; includeSpaceSystems_ = input.readBool(); break; } case 24: { bitField0_ |= 0x00000004; includeContainers_ = input.readBool(); break; } case 32: { bitField0_ |= 0x00000008; includeParameters_ = input.readBool(); break; } case 40: { bitField0_ |= 0x00000010; includeParameterTypes_ = input.readBool(); break; } case 48: { bitField0_ |= 0x00000020; includeCommands_ = input.readBool(); break; } case 56: { bitField0_ |= 0x00000040; includeAlgorithms_ = 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_StreamMissionDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_StreamMissionDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest.class, org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INCLUDESPACESYSTEMS_FIELD_NUMBER = 2; private boolean includeSpaceSystems_; /** *
     * Stream space systems. Default: ``true``
     * 
* * optional bool includeSpaceSystems = 2; * @return Whether the includeSpaceSystems field is set. */ @java.lang.Override public boolean hasIncludeSpaceSystems() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Stream space systems. Default: ``true``
     * 
* * optional bool includeSpaceSystems = 2; * @return The includeSpaceSystems. */ @java.lang.Override public boolean getIncludeSpaceSystems() { return includeSpaceSystems_; } public static final int INCLUDECONTAINERS_FIELD_NUMBER = 3; private boolean includeContainers_; /** *
     * Stream containers. Default: ``true``
     * 
* * optional bool includeContainers = 3; * @return Whether the includeContainers field is set. */ @java.lang.Override public boolean hasIncludeContainers() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Stream containers. Default: ``true``
     * 
* * optional bool includeContainers = 3; * @return The includeContainers. */ @java.lang.Override public boolean getIncludeContainers() { return includeContainers_; } public static final int INCLUDEPARAMETERS_FIELD_NUMBER = 4; private boolean includeParameters_; /** *
     * Stream parameters. Default: ``true``
     * 
* * optional bool includeParameters = 4; * @return Whether the includeParameters field is set. */ @java.lang.Override public boolean hasIncludeParameters() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Stream parameters. Default: ``true``
     * 
* * optional bool includeParameters = 4; * @return The includeParameters. */ @java.lang.Override public boolean getIncludeParameters() { return includeParameters_; } public static final int INCLUDEPARAMETERTYPES_FIELD_NUMBER = 5; private boolean includeParameterTypes_; /** *
     * Stream parameter types. Default: ``true``
     * 
* * optional bool includeParameterTypes = 5; * @return Whether the includeParameterTypes field is set. */ @java.lang.Override public boolean hasIncludeParameterTypes() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Stream parameter types. Default: ``true``
     * 
* * optional bool includeParameterTypes = 5; * @return The includeParameterTypes. */ @java.lang.Override public boolean getIncludeParameterTypes() { return includeParameterTypes_; } public static final int INCLUDECOMMANDS_FIELD_NUMBER = 6; private boolean includeCommands_; /** *
     * Stream commands. Default: ``true``
     * 
* * optional bool includeCommands = 6; * @return Whether the includeCommands field is set. */ @java.lang.Override public boolean hasIncludeCommands() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Stream commands. Default: ``true``
     * 
* * optional bool includeCommands = 6; * @return The includeCommands. */ @java.lang.Override public boolean getIncludeCommands() { return includeCommands_; } public static final int INCLUDEALGORITHMS_FIELD_NUMBER = 7; private boolean includeAlgorithms_; /** *
     * Stream algorithms. Default: ``true``
     * 
* * optional bool includeAlgorithms = 7; * @return Whether the includeAlgorithms field is set. */ @java.lang.Override public boolean hasIncludeAlgorithms() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Stream algorithms. Default: ``true``
     * 
* * optional bool includeAlgorithms = 7; * @return The includeAlgorithms. */ @java.lang.Override public boolean getIncludeAlgorithms() { return includeAlgorithms_; } 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)) { output.writeBool(2, includeSpaceSystems_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, includeContainers_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, includeParameters_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeBool(5, includeParameterTypes_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBool(6, includeCommands_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(7, includeAlgorithms_); } 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.CodedOutputStream .computeBoolSize(2, includeSpaceSystems_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, includeContainers_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, includeParameters_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, includeParameterTypes_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, includeCommands_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, includeAlgorithms_); } 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.StreamMissionDatabaseRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest other = (org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasIncludeSpaceSystems() != other.hasIncludeSpaceSystems()) return false; if (hasIncludeSpaceSystems()) { if (getIncludeSpaceSystems() != other.getIncludeSpaceSystems()) return false; } if (hasIncludeContainers() != other.hasIncludeContainers()) return false; if (hasIncludeContainers()) { if (getIncludeContainers() != other.getIncludeContainers()) return false; } if (hasIncludeParameters() != other.hasIncludeParameters()) return false; if (hasIncludeParameters()) { if (getIncludeParameters() != other.getIncludeParameters()) return false; } if (hasIncludeParameterTypes() != other.hasIncludeParameterTypes()) return false; if (hasIncludeParameterTypes()) { if (getIncludeParameterTypes() != other.getIncludeParameterTypes()) return false; } if (hasIncludeCommands() != other.hasIncludeCommands()) return false; if (hasIncludeCommands()) { if (getIncludeCommands() != other.getIncludeCommands()) return false; } if (hasIncludeAlgorithms() != other.hasIncludeAlgorithms()) return false; if (hasIncludeAlgorithms()) { if (getIncludeAlgorithms() != other.getIncludeAlgorithms()) 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 (hasIncludeSpaceSystems()) { hash = (37 * hash) + INCLUDESPACESYSTEMS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeSpaceSystems()); } if (hasIncludeContainers()) { hash = (37 * hash) + INCLUDECONTAINERS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeContainers()); } if (hasIncludeParameters()) { hash = (37 * hash) + INCLUDEPARAMETERS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeParameters()); } if (hasIncludeParameterTypes()) { hash = (37 * hash) + INCLUDEPARAMETERTYPES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeParameterTypes()); } if (hasIncludeCommands()) { hash = (37 * hash) + INCLUDECOMMANDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeCommands()); } if (hasIncludeAlgorithms()) { hash = (37 * hash) + INCLUDEALGORITHMS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeAlgorithms()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest 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.StreamMissionDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest 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.StreamMissionDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest 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.StreamMissionDatabaseRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest 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.StreamMissionDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest 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.StreamMissionDatabaseRequest 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.StreamMissionDatabaseRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.StreamMissionDatabaseRequest) org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_StreamMissionDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_StreamMissionDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest.class, org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest.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); includeSpaceSystems_ = false; bitField0_ = (bitField0_ & ~0x00000002); includeContainers_ = false; bitField0_ = (bitField0_ & ~0x00000004); includeParameters_ = false; bitField0_ = (bitField0_ & ~0x00000008); includeParameterTypes_ = false; bitField0_ = (bitField0_ & ~0x00000010); includeCommands_ = false; bitField0_ = (bitField0_ & ~0x00000020); includeAlgorithms_ = false; 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_StreamMissionDatabaseRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest build() { org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest buildPartial() { org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest result = new org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest(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)) { result.includeSpaceSystems_ = includeSpaceSystems_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.includeContainers_ = includeContainers_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.includeParameters_ = includeParameters_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.includeParameterTypes_ = includeParameterTypes_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.includeCommands_ = includeCommands_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.includeAlgorithms_ = includeAlgorithms_; 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.StreamMissionDatabaseRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest other) { if (other == org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasIncludeSpaceSystems()) { setIncludeSpaceSystems(other.getIncludeSpaceSystems()); } if (other.hasIncludeContainers()) { setIncludeContainers(other.getIncludeContainers()); } if (other.hasIncludeParameters()) { setIncludeParameters(other.getIncludeParameters()); } if (other.hasIncludeParameterTypes()) { setIncludeParameterTypes(other.getIncludeParameterTypes()); } if (other.hasIncludeCommands()) { setIncludeCommands(other.getIncludeCommands()); } if (other.hasIncludeAlgorithms()) { setIncludeAlgorithms(other.getIncludeAlgorithms()); } 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.StreamMissionDatabaseRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private boolean includeSpaceSystems_ ; /** *
       * Stream space systems. Default: ``true``
       * 
* * optional bool includeSpaceSystems = 2; * @return Whether the includeSpaceSystems field is set. */ @java.lang.Override public boolean hasIncludeSpaceSystems() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Stream space systems. Default: ``true``
       * 
* * optional bool includeSpaceSystems = 2; * @return The includeSpaceSystems. */ @java.lang.Override public boolean getIncludeSpaceSystems() { return includeSpaceSystems_; } /** *
       * Stream space systems. Default: ``true``
       * 
* * optional bool includeSpaceSystems = 2; * @param value The includeSpaceSystems to set. * @return This builder for chaining. */ public Builder setIncludeSpaceSystems(boolean value) { bitField0_ |= 0x00000002; includeSpaceSystems_ = value; onChanged(); return this; } /** *
       * Stream space systems. Default: ``true``
       * 
* * optional bool includeSpaceSystems = 2; * @return This builder for chaining. */ public Builder clearIncludeSpaceSystems() { bitField0_ = (bitField0_ & ~0x00000002); includeSpaceSystems_ = false; onChanged(); return this; } private boolean includeContainers_ ; /** *
       * Stream containers. Default: ``true``
       * 
* * optional bool includeContainers = 3; * @return Whether the includeContainers field is set. */ @java.lang.Override public boolean hasIncludeContainers() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Stream containers. Default: ``true``
       * 
* * optional bool includeContainers = 3; * @return The includeContainers. */ @java.lang.Override public boolean getIncludeContainers() { return includeContainers_; } /** *
       * Stream containers. Default: ``true``
       * 
* * optional bool includeContainers = 3; * @param value The includeContainers to set. * @return This builder for chaining. */ public Builder setIncludeContainers(boolean value) { bitField0_ |= 0x00000004; includeContainers_ = value; onChanged(); return this; } /** *
       * Stream containers. Default: ``true``
       * 
* * optional bool includeContainers = 3; * @return This builder for chaining. */ public Builder clearIncludeContainers() { bitField0_ = (bitField0_ & ~0x00000004); includeContainers_ = false; onChanged(); return this; } private boolean includeParameters_ ; /** *
       * Stream parameters. Default: ``true``
       * 
* * optional bool includeParameters = 4; * @return Whether the includeParameters field is set. */ @java.lang.Override public boolean hasIncludeParameters() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Stream parameters. Default: ``true``
       * 
* * optional bool includeParameters = 4; * @return The includeParameters. */ @java.lang.Override public boolean getIncludeParameters() { return includeParameters_; } /** *
       * Stream parameters. Default: ``true``
       * 
* * optional bool includeParameters = 4; * @param value The includeParameters to set. * @return This builder for chaining. */ public Builder setIncludeParameters(boolean value) { bitField0_ |= 0x00000008; includeParameters_ = value; onChanged(); return this; } /** *
       * Stream parameters. Default: ``true``
       * 
* * optional bool includeParameters = 4; * @return This builder for chaining. */ public Builder clearIncludeParameters() { bitField0_ = (bitField0_ & ~0x00000008); includeParameters_ = false; onChanged(); return this; } private boolean includeParameterTypes_ ; /** *
       * Stream parameter types. Default: ``true``
       * 
* * optional bool includeParameterTypes = 5; * @return Whether the includeParameterTypes field is set. */ @java.lang.Override public boolean hasIncludeParameterTypes() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Stream parameter types. Default: ``true``
       * 
* * optional bool includeParameterTypes = 5; * @return The includeParameterTypes. */ @java.lang.Override public boolean getIncludeParameterTypes() { return includeParameterTypes_; } /** *
       * Stream parameter types. Default: ``true``
       * 
* * optional bool includeParameterTypes = 5; * @param value The includeParameterTypes to set. * @return This builder for chaining. */ public Builder setIncludeParameterTypes(boolean value) { bitField0_ |= 0x00000010; includeParameterTypes_ = value; onChanged(); return this; } /** *
       * Stream parameter types. Default: ``true``
       * 
* * optional bool includeParameterTypes = 5; * @return This builder for chaining. */ public Builder clearIncludeParameterTypes() { bitField0_ = (bitField0_ & ~0x00000010); includeParameterTypes_ = false; onChanged(); return this; } private boolean includeCommands_ ; /** *
       * Stream commands. Default: ``true``
       * 
* * optional bool includeCommands = 6; * @return Whether the includeCommands field is set. */ @java.lang.Override public boolean hasIncludeCommands() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * Stream commands. Default: ``true``
       * 
* * optional bool includeCommands = 6; * @return The includeCommands. */ @java.lang.Override public boolean getIncludeCommands() { return includeCommands_; } /** *
       * Stream commands. Default: ``true``
       * 
* * optional bool includeCommands = 6; * @param value The includeCommands to set. * @return This builder for chaining. */ public Builder setIncludeCommands(boolean value) { bitField0_ |= 0x00000020; includeCommands_ = value; onChanged(); return this; } /** *
       * Stream commands. Default: ``true``
       * 
* * optional bool includeCommands = 6; * @return This builder for chaining. */ public Builder clearIncludeCommands() { bitField0_ = (bitField0_ & ~0x00000020); includeCommands_ = false; onChanged(); return this; } private boolean includeAlgorithms_ ; /** *
       * Stream algorithms. Default: ``true``
       * 
* * optional bool includeAlgorithms = 7; * @return Whether the includeAlgorithms field is set. */ @java.lang.Override public boolean hasIncludeAlgorithms() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * Stream algorithms. Default: ``true``
       * 
* * optional bool includeAlgorithms = 7; * @return The includeAlgorithms. */ @java.lang.Override public boolean getIncludeAlgorithms() { return includeAlgorithms_; } /** *
       * Stream algorithms. Default: ``true``
       * 
* * optional bool includeAlgorithms = 7; * @param value The includeAlgorithms to set. * @return This builder for chaining. */ public Builder setIncludeAlgorithms(boolean value) { bitField0_ |= 0x00000040; includeAlgorithms_ = value; onChanged(); return this; } /** *
       * Stream algorithms. Default: ``true``
       * 
* * optional bool includeAlgorithms = 7; * @return This builder for chaining. */ public Builder clearIncludeAlgorithms() { bitField0_ = (bitField0_ & ~0x00000040); includeAlgorithms_ = 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.StreamMissionDatabaseRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.StreamMissionDatabaseRequest) private static final org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest(); } public static org.yamcs.protobuf.Mdb.StreamMissionDatabaseRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StreamMissionDatabaseRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StreamMissionDatabaseRequest(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.StreamMissionDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MissionDatabaseItemOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.MissionDatabaseItem) com.google.protobuf.MessageOrBuilder { /** *
     * A space system
     * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; * @return Whether the spaceSystem field is set. */ boolean hasSpaceSystem(); /** *
     * A space system
     * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; * @return The spaceSystem. */ org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystem(); /** *
     * A space system
     * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; */ org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemOrBuilder(); /** *
     * A container
     * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; * @return Whether the container field is set. */ boolean hasContainer(); /** *
     * A container
     * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; * @return The container. */ org.yamcs.protobuf.Mdb.ContainerInfo getContainer(); /** *
     * A container
     * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; */ org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder(); /** *
     * A parameter
     * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; * @return Whether the parameter field is set. */ boolean hasParameter(); /** *
     * A parameter
     * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; * @return The parameter. */ org.yamcs.protobuf.Mdb.ParameterInfo getParameter(); /** *
     * A parameter
     * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; */ org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(); /** *
     * A parameter type
     * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; * @return Whether the parameterType field is set. */ boolean hasParameterType(); /** *
     * A parameter type
     * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; * @return The parameterType. */ org.yamcs.protobuf.Mdb.ParameterTypeInfo getParameterType(); /** *
     * A parameter type
     * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; */ org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getParameterTypeOrBuilder(); /** *
     * A command
     * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; * @return Whether the command field is set. */ boolean hasCommand(); /** *
     * A command
     * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; * @return The command. */ org.yamcs.protobuf.Mdb.CommandInfo getCommand(); /** *
     * A command
     * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; */ org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getCommandOrBuilder(); /** *
     * An algorithm
     * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; * @return Whether the algorithm field is set. */ boolean hasAlgorithm(); /** *
     * An algorithm
     * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; * @return The algorithm. */ org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm(); /** *
     * An algorithm
     * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; */ org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder(); public org.yamcs.protobuf.Mdb.MissionDatabaseItem.ItemCase getItemCase(); } /** * Protobuf type {@code yamcs.protobuf.mdb.MissionDatabaseItem} */ public static final class MissionDatabaseItem extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.MissionDatabaseItem) MissionDatabaseItemOrBuilder { private static final long serialVersionUID = 0L; // Use MissionDatabaseItem.newBuilder() to construct. private MissionDatabaseItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MissionDatabaseItem() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MissionDatabaseItem(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MissionDatabaseItem( 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.SpaceSystemInfo.Builder subBuilder = null; if (itemCase_ == 1) { subBuilder = ((org.yamcs.protobuf.Mdb.SpaceSystemInfo) item_).toBuilder(); } item_ = input.readMessage(org.yamcs.protobuf.Mdb.SpaceSystemInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.yamcs.protobuf.Mdb.SpaceSystemInfo) item_); item_ = subBuilder.buildPartial(); } itemCase_ = 1; break; } case 18: { org.yamcs.protobuf.Mdb.ContainerInfo.Builder subBuilder = null; if (itemCase_ == 2) { subBuilder = ((org.yamcs.protobuf.Mdb.ContainerInfo) item_).toBuilder(); } item_ = input.readMessage(org.yamcs.protobuf.Mdb.ContainerInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.yamcs.protobuf.Mdb.ContainerInfo) item_); item_ = subBuilder.buildPartial(); } itemCase_ = 2; break; } case 26: { org.yamcs.protobuf.Mdb.ParameterInfo.Builder subBuilder = null; if (itemCase_ == 3) { subBuilder = ((org.yamcs.protobuf.Mdb.ParameterInfo) item_).toBuilder(); } item_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.yamcs.protobuf.Mdb.ParameterInfo) item_); item_ = subBuilder.buildPartial(); } itemCase_ = 3; break; } case 34: { org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder subBuilder = null; if (itemCase_ == 4) { subBuilder = ((org.yamcs.protobuf.Mdb.ParameterTypeInfo) item_).toBuilder(); } item_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterTypeInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.yamcs.protobuf.Mdb.ParameterTypeInfo) item_); item_ = subBuilder.buildPartial(); } itemCase_ = 4; break; } case 42: { org.yamcs.protobuf.Mdb.CommandInfo.Builder subBuilder = null; if (itemCase_ == 5) { subBuilder = ((org.yamcs.protobuf.Mdb.CommandInfo) item_).toBuilder(); } item_ = input.readMessage(org.yamcs.protobuf.Mdb.CommandInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.yamcs.protobuf.Mdb.CommandInfo) item_); item_ = subBuilder.buildPartial(); } itemCase_ = 5; break; } case 50: { org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder subBuilder = null; if (itemCase_ == 6) { subBuilder = ((org.yamcs.protobuf.Mdb.AlgorithmInfo) item_).toBuilder(); } item_ = input.readMessage(org.yamcs.protobuf.Mdb.AlgorithmInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.yamcs.protobuf.Mdb.AlgorithmInfo) item_); item_ = subBuilder.buildPartial(); } itemCase_ = 6; 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_MissionDatabaseItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MissionDatabaseItem_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.MissionDatabaseItem.class, org.yamcs.protobuf.Mdb.MissionDatabaseItem.Builder.class); } private int bitField0_; private int itemCase_ = 0; private java.lang.Object item_; public enum ItemCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SPACESYSTEM(1), CONTAINER(2), PARAMETER(3), PARAMETERTYPE(4), COMMAND(5), ALGORITHM(6), ITEM_NOT_SET(0); private final int value; private ItemCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ItemCase valueOf(int value) { return forNumber(value); } public static ItemCase forNumber(int value) { switch (value) { case 1: return SPACESYSTEM; case 2: return CONTAINER; case 3: return PARAMETER; case 4: return PARAMETERTYPE; case 5: return COMMAND; case 6: return ALGORITHM; case 0: return ITEM_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ItemCase getItemCase() { return ItemCase.forNumber( itemCase_); } public static final int SPACESYSTEM_FIELD_NUMBER = 1; /** *
     * A space system
     * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; * @return Whether the spaceSystem field is set. */ @java.lang.Override public boolean hasSpaceSystem() { return itemCase_ == 1; } /** *
     * A space system
     * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; * @return The spaceSystem. */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystem() { if (itemCase_ == 1) { return (org.yamcs.protobuf.Mdb.SpaceSystemInfo) item_; } return org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance(); } /** *
     * A space system
     * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemOrBuilder() { if (itemCase_ == 1) { return (org.yamcs.protobuf.Mdb.SpaceSystemInfo) item_; } return org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance(); } public static final int CONTAINER_FIELD_NUMBER = 2; /** *
     * A container
     * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; * @return Whether the container field is set. */ @java.lang.Override public boolean hasContainer() { return itemCase_ == 2; } /** *
     * A container
     * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; * @return The container. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ContainerInfo getContainer() { if (itemCase_ == 2) { return (org.yamcs.protobuf.Mdb.ContainerInfo) item_; } return org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance(); } /** *
     * A container
     * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder() { if (itemCase_ == 2) { return (org.yamcs.protobuf.Mdb.ContainerInfo) item_; } return org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance(); } public static final int PARAMETER_FIELD_NUMBER = 3; /** *
     * A parameter
     * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; * @return Whether the parameter field is set. */ @java.lang.Override public boolean hasParameter() { return itemCase_ == 3; } /** *
     * A parameter
     * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; * @return The parameter. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { if (itemCase_ == 3) { return (org.yamcs.protobuf.Mdb.ParameterInfo) item_; } return org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance(); } /** *
     * A parameter
     * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { if (itemCase_ == 3) { return (org.yamcs.protobuf.Mdb.ParameterInfo) item_; } return org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance(); } public static final int PARAMETERTYPE_FIELD_NUMBER = 4; /** *
     * A parameter type
     * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; * @return Whether the parameterType field is set. */ @java.lang.Override public boolean hasParameterType() { return itemCase_ == 4; } /** *
     * A parameter type
     * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; * @return The parameterType. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterTypeInfo getParameterType() { if (itemCase_ == 4) { return (org.yamcs.protobuf.Mdb.ParameterTypeInfo) item_; } return org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance(); } /** *
     * A parameter type
     * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getParameterTypeOrBuilder() { if (itemCase_ == 4) { return (org.yamcs.protobuf.Mdb.ParameterTypeInfo) item_; } return org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance(); } public static final int COMMAND_FIELD_NUMBER = 5; /** *
     * A command
     * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; * @return Whether the command field is set. */ @java.lang.Override public boolean hasCommand() { return itemCase_ == 5; } /** *
     * A command
     * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; * @return The command. */ @java.lang.Override public org.yamcs.protobuf.Mdb.CommandInfo getCommand() { if (itemCase_ == 5) { return (org.yamcs.protobuf.Mdb.CommandInfo) item_; } return org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance(); } /** *
     * A command
     * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getCommandOrBuilder() { if (itemCase_ == 5) { return (org.yamcs.protobuf.Mdb.CommandInfo) item_; } return org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance(); } public static final int ALGORITHM_FIELD_NUMBER = 6; /** *
     * An algorithm
     * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; * @return Whether the algorithm field is set. */ @java.lang.Override public boolean hasAlgorithm() { return itemCase_ == 6; } /** *
     * An algorithm
     * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; * @return The algorithm. */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm() { if (itemCase_ == 6) { return (org.yamcs.protobuf.Mdb.AlgorithmInfo) item_; } return org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance(); } /** *
     * An algorithm
     * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder() { if (itemCase_ == 6) { return (org.yamcs.protobuf.Mdb.AlgorithmInfo) item_; } return org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance(); } 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 (hasSpaceSystem()) { if (!getSpaceSystem().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasContainer()) { if (!getContainer().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasParameter()) { if (!getParameter().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasParameterType()) { if (!getParameterType().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasCommand()) { if (!getCommand().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 (itemCase_ == 1) { output.writeMessage(1, (org.yamcs.protobuf.Mdb.SpaceSystemInfo) item_); } if (itemCase_ == 2) { output.writeMessage(2, (org.yamcs.protobuf.Mdb.ContainerInfo) item_); } if (itemCase_ == 3) { output.writeMessage(3, (org.yamcs.protobuf.Mdb.ParameterInfo) item_); } if (itemCase_ == 4) { output.writeMessage(4, (org.yamcs.protobuf.Mdb.ParameterTypeInfo) item_); } if (itemCase_ == 5) { output.writeMessage(5, (org.yamcs.protobuf.Mdb.CommandInfo) item_); } if (itemCase_ == 6) { output.writeMessage(6, (org.yamcs.protobuf.Mdb.AlgorithmInfo) item_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (itemCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (org.yamcs.protobuf.Mdb.SpaceSystemInfo) item_); } if (itemCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (org.yamcs.protobuf.Mdb.ContainerInfo) item_); } if (itemCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (org.yamcs.protobuf.Mdb.ParameterInfo) item_); } if (itemCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (org.yamcs.protobuf.Mdb.ParameterTypeInfo) item_); } if (itemCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (org.yamcs.protobuf.Mdb.CommandInfo) item_); } if (itemCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, (org.yamcs.protobuf.Mdb.AlgorithmInfo) item_); } 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.MissionDatabaseItem)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.MissionDatabaseItem other = (org.yamcs.protobuf.Mdb.MissionDatabaseItem) obj; if (!getItemCase().equals(other.getItemCase())) return false; switch (itemCase_) { case 1: if (!getSpaceSystem() .equals(other.getSpaceSystem())) return false; break; case 2: if (!getContainer() .equals(other.getContainer())) return false; break; case 3: if (!getParameter() .equals(other.getParameter())) return false; break; case 4: if (!getParameterType() .equals(other.getParameterType())) return false; break; case 5: if (!getCommand() .equals(other.getCommand())) return false; break; case 6: if (!getAlgorithm() .equals(other.getAlgorithm())) return false; break; case 0: default: } 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(); switch (itemCase_) { case 1: hash = (37 * hash) + SPACESYSTEM_FIELD_NUMBER; hash = (53 * hash) + getSpaceSystem().hashCode(); break; case 2: hash = (37 * hash) + CONTAINER_FIELD_NUMBER; hash = (53 * hash) + getContainer().hashCode(); break; case 3: hash = (37 * hash) + PARAMETER_FIELD_NUMBER; hash = (53 * hash) + getParameter().hashCode(); break; case 4: hash = (37 * hash) + PARAMETERTYPE_FIELD_NUMBER; hash = (53 * hash) + getParameterType().hashCode(); break; case 5: hash = (37 * hash) + COMMAND_FIELD_NUMBER; hash = (53 * hash) + getCommand().hashCode(); break; case 6: hash = (37 * hash) + ALGORITHM_FIELD_NUMBER; hash = (53 * hash) + getAlgorithm().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.Mdb.MissionDatabaseItem parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.MissionDatabaseItem 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.MissionDatabaseItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.MissionDatabaseItem 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.MissionDatabaseItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.MissionDatabaseItem parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.MissionDatabaseItem parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.MissionDatabaseItem 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.MissionDatabaseItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.MissionDatabaseItem 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.MissionDatabaseItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.MissionDatabaseItem 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.MissionDatabaseItem 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.MissionDatabaseItem} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.MissionDatabaseItem) org.yamcs.protobuf.Mdb.MissionDatabaseItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MissionDatabaseItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MissionDatabaseItem_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.MissionDatabaseItem.class, org.yamcs.protobuf.Mdb.MissionDatabaseItem.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.MissionDatabaseItem.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(); itemCase_ = 0; item_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_MissionDatabaseItem_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.MissionDatabaseItem getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.MissionDatabaseItem.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.MissionDatabaseItem build() { org.yamcs.protobuf.Mdb.MissionDatabaseItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.MissionDatabaseItem buildPartial() { org.yamcs.protobuf.Mdb.MissionDatabaseItem result = new org.yamcs.protobuf.Mdb.MissionDatabaseItem(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (itemCase_ == 1) { if (spaceSystemBuilder_ == null) { result.item_ = item_; } else { result.item_ = spaceSystemBuilder_.build(); } } if (itemCase_ == 2) { if (containerBuilder_ == null) { result.item_ = item_; } else { result.item_ = containerBuilder_.build(); } } if (itemCase_ == 3) { if (parameterBuilder_ == null) { result.item_ = item_; } else { result.item_ = parameterBuilder_.build(); } } if (itemCase_ == 4) { if (parameterTypeBuilder_ == null) { result.item_ = item_; } else { result.item_ = parameterTypeBuilder_.build(); } } if (itemCase_ == 5) { if (commandBuilder_ == null) { result.item_ = item_; } else { result.item_ = commandBuilder_.build(); } } if (itemCase_ == 6) { if (algorithmBuilder_ == null) { result.item_ = item_; } else { result.item_ = algorithmBuilder_.build(); } } result.bitField0_ = to_bitField0_; result.itemCase_ = itemCase_; 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.MissionDatabaseItem) { return mergeFrom((org.yamcs.protobuf.Mdb.MissionDatabaseItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.MissionDatabaseItem other) { if (other == org.yamcs.protobuf.Mdb.MissionDatabaseItem.getDefaultInstance()) return this; switch (other.getItemCase()) { case SPACESYSTEM: { mergeSpaceSystem(other.getSpaceSystem()); break; } case CONTAINER: { mergeContainer(other.getContainer()); break; } case PARAMETER: { mergeParameter(other.getParameter()); break; } case PARAMETERTYPE: { mergeParameterType(other.getParameterType()); break; } case COMMAND: { mergeCommand(other.getCommand()); break; } case ALGORITHM: { mergeAlgorithm(other.getAlgorithm()); break; } case ITEM_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasSpaceSystem()) { if (!getSpaceSystem().isInitialized()) { return false; } } if (hasContainer()) { if (!getContainer().isInitialized()) { return false; } } if (hasParameter()) { if (!getParameter().isInitialized()) { return false; } } if (hasParameterType()) { if (!getParameterType().isInitialized()) { return false; } } if (hasCommand()) { if (!getCommand().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.MissionDatabaseItem parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.MissionDatabaseItem) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int itemCase_ = 0; private java.lang.Object item_; public ItemCase getItemCase() { return ItemCase.forNumber( itemCase_); } public Builder clearItem() { itemCase_ = 0; item_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> spaceSystemBuilder_; /** *
       * A space system
       * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; * @return Whether the spaceSystem field is set. */ @java.lang.Override public boolean hasSpaceSystem() { return itemCase_ == 1; } /** *
       * A space system
       * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; * @return The spaceSystem. */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystem() { if (spaceSystemBuilder_ == null) { if (itemCase_ == 1) { return (org.yamcs.protobuf.Mdb.SpaceSystemInfo) item_; } return org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance(); } else { if (itemCase_ == 1) { return spaceSystemBuilder_.getMessage(); } return org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance(); } } /** *
       * A space system
       * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; */ public Builder setSpaceSystem(org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (spaceSystemBuilder_ == null) { if (value == null) { throw new NullPointerException(); } item_ = value; onChanged(); } else { spaceSystemBuilder_.setMessage(value); } itemCase_ = 1; return this; } /** *
       * A space system
       * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; */ public Builder setSpaceSystem( org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder builderForValue) { if (spaceSystemBuilder_ == null) { item_ = builderForValue.build(); onChanged(); } else { spaceSystemBuilder_.setMessage(builderForValue.build()); } itemCase_ = 1; return this; } /** *
       * A space system
       * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; */ public Builder mergeSpaceSystem(org.yamcs.protobuf.Mdb.SpaceSystemInfo value) { if (spaceSystemBuilder_ == null) { if (itemCase_ == 1 && item_ != org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()) { item_ = org.yamcs.protobuf.Mdb.SpaceSystemInfo.newBuilder((org.yamcs.protobuf.Mdb.SpaceSystemInfo) item_) .mergeFrom(value).buildPartial(); } else { item_ = value; } onChanged(); } else { if (itemCase_ == 1) { spaceSystemBuilder_.mergeFrom(value); } spaceSystemBuilder_.setMessage(value); } itemCase_ = 1; return this; } /** *
       * A space system
       * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; */ public Builder clearSpaceSystem() { if (spaceSystemBuilder_ == null) { if (itemCase_ == 1) { itemCase_ = 0; item_ = null; onChanged(); } } else { if (itemCase_ == 1) { itemCase_ = 0; item_ = null; } spaceSystemBuilder_.clear(); } return this; } /** *
       * A space system
       * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder getSpaceSystemBuilder() { return getSpaceSystemFieldBuilder().getBuilder(); } /** *
       * A space system
       * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemOrBuilder() { if ((itemCase_ == 1) && (spaceSystemBuilder_ != null)) { return spaceSystemBuilder_.getMessageOrBuilder(); } else { if (itemCase_ == 1) { return (org.yamcs.protobuf.Mdb.SpaceSystemInfo) item_; } return org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance(); } } /** *
       * A space system
       * 
* * .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystem = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder> getSpaceSystemFieldBuilder() { if (spaceSystemBuilder_ == null) { if (!(itemCase_ == 1)) { item_ = org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance(); } spaceSystemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.SpaceSystemInfo, org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder, org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder>( (org.yamcs.protobuf.Mdb.SpaceSystemInfo) item_, getParentForChildren(), isClean()); item_ = null; } itemCase_ = 1; onChanged();; return spaceSystemBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> containerBuilder_; /** *
       * A container
       * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; * @return Whether the container field is set. */ @java.lang.Override public boolean hasContainer() { return itemCase_ == 2; } /** *
       * A container
       * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; * @return The container. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ContainerInfo getContainer() { if (containerBuilder_ == null) { if (itemCase_ == 2) { return (org.yamcs.protobuf.Mdb.ContainerInfo) item_; } return org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance(); } else { if (itemCase_ == 2) { return containerBuilder_.getMessage(); } return org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance(); } } /** *
       * A container
       * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder setContainer(org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } item_ = value; onChanged(); } else { containerBuilder_.setMessage(value); } itemCase_ = 2; return this; } /** *
       * A container
       * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder setContainer( org.yamcs.protobuf.Mdb.ContainerInfo.Builder builderForValue) { if (containerBuilder_ == null) { item_ = builderForValue.build(); onChanged(); } else { containerBuilder_.setMessage(builderForValue.build()); } itemCase_ = 2; return this; } /** *
       * A container
       * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder mergeContainer(org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containerBuilder_ == null) { if (itemCase_ == 2 && item_ != org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance()) { item_ = org.yamcs.protobuf.Mdb.ContainerInfo.newBuilder((org.yamcs.protobuf.Mdb.ContainerInfo) item_) .mergeFrom(value).buildPartial(); } else { item_ = value; } onChanged(); } else { if (itemCase_ == 2) { containerBuilder_.mergeFrom(value); } containerBuilder_.setMessage(value); } itemCase_ = 2; return this; } /** *
       * A container
       * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public Builder clearContainer() { if (containerBuilder_ == null) { if (itemCase_ == 2) { itemCase_ = 0; item_ = null; onChanged(); } } else { if (itemCase_ == 2) { itemCase_ = 0; item_ = null; } containerBuilder_.clear(); } return this; } /** *
       * A container
       * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder getContainerBuilder() { return getContainerFieldBuilder().getBuilder(); } /** *
       * A container
       * 
* * .yamcs.protobuf.mdb.ContainerInfo container = 2; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder() { if ((itemCase_ == 2) && (containerBuilder_ != null)) { return containerBuilder_.getMessageOrBuilder(); } else { if (itemCase_ == 2) { return (org.yamcs.protobuf.Mdb.ContainerInfo) item_; } return org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance(); } } /** *
       * A container
       * 
* * .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) { if (!(itemCase_ == 2)) { item_ = org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance(); } containerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder>( (org.yamcs.protobuf.Mdb.ContainerInfo) item_, getParentForChildren(), isClean()); item_ = null; } itemCase_ = 2; onChanged();; return containerBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> parameterBuilder_; /** *
       * A parameter
       * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; * @return Whether the parameter field is set. */ @java.lang.Override public boolean hasParameter() { return itemCase_ == 3; } /** *
       * A parameter
       * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; * @return The parameter. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() { if (parameterBuilder_ == null) { if (itemCase_ == 3) { return (org.yamcs.protobuf.Mdb.ParameterInfo) item_; } return org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance(); } else { if (itemCase_ == 3) { return parameterBuilder_.getMessage(); } return org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance(); } } /** *
       * A parameter
       * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; */ public Builder setParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } item_ = value; onChanged(); } else { parameterBuilder_.setMessage(value); } itemCase_ = 3; return this; } /** *
       * A parameter
       * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; */ public Builder setParameter( org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) { if (parameterBuilder_ == null) { item_ = builderForValue.build(); onChanged(); } else { parameterBuilder_.setMessage(builderForValue.build()); } itemCase_ = 3; return this; } /** *
       * A parameter
       * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; */ public Builder mergeParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) { if (parameterBuilder_ == null) { if (itemCase_ == 3 && item_ != org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()) { item_ = org.yamcs.protobuf.Mdb.ParameterInfo.newBuilder((org.yamcs.protobuf.Mdb.ParameterInfo) item_) .mergeFrom(value).buildPartial(); } else { item_ = value; } onChanged(); } else { if (itemCase_ == 3) { parameterBuilder_.mergeFrom(value); } parameterBuilder_.setMessage(value); } itemCase_ = 3; return this; } /** *
       * A parameter
       * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; */ public Builder clearParameter() { if (parameterBuilder_ == null) { if (itemCase_ == 3) { itemCase_ = 0; item_ = null; onChanged(); } } else { if (itemCase_ == 3) { itemCase_ = 0; item_ = null; } parameterBuilder_.clear(); } return this; } /** *
       * A parameter
       * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; */ public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getParameterBuilder() { return getParameterFieldBuilder().getBuilder(); } /** *
       * A parameter
       * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() { if ((itemCase_ == 3) && (parameterBuilder_ != null)) { return parameterBuilder_.getMessageOrBuilder(); } else { if (itemCase_ == 3) { return (org.yamcs.protobuf.Mdb.ParameterInfo) item_; } return org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance(); } } /** *
       * A parameter
       * 
* * .yamcs.protobuf.mdb.ParameterInfo parameter = 3; */ 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) { if (!(itemCase_ == 3)) { item_ = org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance(); } parameterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder>( (org.yamcs.protobuf.Mdb.ParameterInfo) item_, getParentForChildren(), isClean()); item_ = null; } itemCase_ = 3; onChanged();; return parameterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder> parameterTypeBuilder_; /** *
       * A parameter type
       * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; * @return Whether the parameterType field is set. */ @java.lang.Override public boolean hasParameterType() { return itemCase_ == 4; } /** *
       * A parameter type
       * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; * @return The parameterType. */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterTypeInfo getParameterType() { if (parameterTypeBuilder_ == null) { if (itemCase_ == 4) { return (org.yamcs.protobuf.Mdb.ParameterTypeInfo) item_; } return org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance(); } else { if (itemCase_ == 4) { return parameterTypeBuilder_.getMessage(); } return org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance(); } } /** *
       * A parameter type
       * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; */ public Builder setParameterType(org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (parameterTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } item_ = value; onChanged(); } else { parameterTypeBuilder_.setMessage(value); } itemCase_ = 4; return this; } /** *
       * A parameter type
       * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; */ public Builder setParameterType( org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder builderForValue) { if (parameterTypeBuilder_ == null) { item_ = builderForValue.build(); onChanged(); } else { parameterTypeBuilder_.setMessage(builderForValue.build()); } itemCase_ = 4; return this; } /** *
       * A parameter type
       * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; */ public Builder mergeParameterType(org.yamcs.protobuf.Mdb.ParameterTypeInfo value) { if (parameterTypeBuilder_ == null) { if (itemCase_ == 4 && item_ != org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance()) { item_ = org.yamcs.protobuf.Mdb.ParameterTypeInfo.newBuilder((org.yamcs.protobuf.Mdb.ParameterTypeInfo) item_) .mergeFrom(value).buildPartial(); } else { item_ = value; } onChanged(); } else { if (itemCase_ == 4) { parameterTypeBuilder_.mergeFrom(value); } parameterTypeBuilder_.setMessage(value); } itemCase_ = 4; return this; } /** *
       * A parameter type
       * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; */ public Builder clearParameterType() { if (parameterTypeBuilder_ == null) { if (itemCase_ == 4) { itemCase_ = 0; item_ = null; onChanged(); } } else { if (itemCase_ == 4) { itemCase_ = 0; item_ = null; } parameterTypeBuilder_.clear(); } return this; } /** *
       * A parameter type
       * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; */ public org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder getParameterTypeBuilder() { return getParameterTypeFieldBuilder().getBuilder(); } /** *
       * A parameter type
       * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; */ @java.lang.Override public org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder getParameterTypeOrBuilder() { if ((itemCase_ == 4) && (parameterTypeBuilder_ != null)) { return parameterTypeBuilder_.getMessageOrBuilder(); } else { if (itemCase_ == 4) { return (org.yamcs.protobuf.Mdb.ParameterTypeInfo) item_; } return org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance(); } } /** *
       * A parameter type
       * 
* * .yamcs.protobuf.mdb.ParameterTypeInfo parameterType = 4; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder> getParameterTypeFieldBuilder() { if (parameterTypeBuilder_ == null) { if (!(itemCase_ == 4)) { item_ = org.yamcs.protobuf.Mdb.ParameterTypeInfo.getDefaultInstance(); } parameterTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.ParameterTypeInfo, org.yamcs.protobuf.Mdb.ParameterTypeInfo.Builder, org.yamcs.protobuf.Mdb.ParameterTypeInfoOrBuilder>( (org.yamcs.protobuf.Mdb.ParameterTypeInfo) item_, getParentForChildren(), isClean()); item_ = null; } itemCase_ = 4; onChanged();; return parameterTypeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandInfo, org.yamcs.protobuf.Mdb.CommandInfo.Builder, org.yamcs.protobuf.Mdb.CommandInfoOrBuilder> commandBuilder_; /** *
       * A command
       * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; * @return Whether the command field is set. */ @java.lang.Override public boolean hasCommand() { return itemCase_ == 5; } /** *
       * A command
       * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; * @return The command. */ @java.lang.Override public org.yamcs.protobuf.Mdb.CommandInfo getCommand() { if (commandBuilder_ == null) { if (itemCase_ == 5) { return (org.yamcs.protobuf.Mdb.CommandInfo) item_; } return org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance(); } else { if (itemCase_ == 5) { return commandBuilder_.getMessage(); } return org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance(); } } /** *
       * A command
       * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; */ public Builder setCommand(org.yamcs.protobuf.Mdb.CommandInfo value) { if (commandBuilder_ == null) { if (value == null) { throw new NullPointerException(); } item_ = value; onChanged(); } else { commandBuilder_.setMessage(value); } itemCase_ = 5; return this; } /** *
       * A command
       * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; */ public Builder setCommand( org.yamcs.protobuf.Mdb.CommandInfo.Builder builderForValue) { if (commandBuilder_ == null) { item_ = builderForValue.build(); onChanged(); } else { commandBuilder_.setMessage(builderForValue.build()); } itemCase_ = 5; return this; } /** *
       * A command
       * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; */ public Builder mergeCommand(org.yamcs.protobuf.Mdb.CommandInfo value) { if (commandBuilder_ == null) { if (itemCase_ == 5 && item_ != org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance()) { item_ = org.yamcs.protobuf.Mdb.CommandInfo.newBuilder((org.yamcs.protobuf.Mdb.CommandInfo) item_) .mergeFrom(value).buildPartial(); } else { item_ = value; } onChanged(); } else { if (itemCase_ == 5) { commandBuilder_.mergeFrom(value); } commandBuilder_.setMessage(value); } itemCase_ = 5; return this; } /** *
       * A command
       * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; */ public Builder clearCommand() { if (commandBuilder_ == null) { if (itemCase_ == 5) { itemCase_ = 0; item_ = null; onChanged(); } } else { if (itemCase_ == 5) { itemCase_ = 0; item_ = null; } commandBuilder_.clear(); } return this; } /** *
       * A command
       * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; */ public org.yamcs.protobuf.Mdb.CommandInfo.Builder getCommandBuilder() { return getCommandFieldBuilder().getBuilder(); } /** *
       * A command
       * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; */ @java.lang.Override public org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getCommandOrBuilder() { if ((itemCase_ == 5) && (commandBuilder_ != null)) { return commandBuilder_.getMessageOrBuilder(); } else { if (itemCase_ == 5) { return (org.yamcs.protobuf.Mdb.CommandInfo) item_; } return org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance(); } } /** *
       * A command
       * 
* * .yamcs.protobuf.mdb.CommandInfo command = 5; */ private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandInfo, org.yamcs.protobuf.Mdb.CommandInfo.Builder, org.yamcs.protobuf.Mdb.CommandInfoOrBuilder> getCommandFieldBuilder() { if (commandBuilder_ == null) { if (!(itemCase_ == 5)) { item_ = org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance(); } commandBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.CommandInfo, org.yamcs.protobuf.Mdb.CommandInfo.Builder, org.yamcs.protobuf.Mdb.CommandInfoOrBuilder>( (org.yamcs.protobuf.Mdb.CommandInfo) item_, getParentForChildren(), isClean()); item_ = null; } itemCase_ = 5; onChanged();; return commandBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder> algorithmBuilder_; /** *
       * An algorithm
       * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; * @return Whether the algorithm field is set. */ @java.lang.Override public boolean hasAlgorithm() { return itemCase_ == 6; } /** *
       * An algorithm
       * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; * @return The algorithm. */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm() { if (algorithmBuilder_ == null) { if (itemCase_ == 6) { return (org.yamcs.protobuf.Mdb.AlgorithmInfo) item_; } return org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance(); } else { if (itemCase_ == 6) { return algorithmBuilder_.getMessage(); } return org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance(); } } /** *
       * An algorithm
       * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; */ public Builder setAlgorithm(org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } item_ = value; onChanged(); } else { algorithmBuilder_.setMessage(value); } itemCase_ = 6; return this; } /** *
       * An algorithm
       * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; */ public Builder setAlgorithm( org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder builderForValue) { if (algorithmBuilder_ == null) { item_ = builderForValue.build(); onChanged(); } else { algorithmBuilder_.setMessage(builderForValue.build()); } itemCase_ = 6; return this; } /** *
       * An algorithm
       * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; */ public Builder mergeAlgorithm(org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmBuilder_ == null) { if (itemCase_ == 6 && item_ != org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance()) { item_ = org.yamcs.protobuf.Mdb.AlgorithmInfo.newBuilder((org.yamcs.protobuf.Mdb.AlgorithmInfo) item_) .mergeFrom(value).buildPartial(); } else { item_ = value; } onChanged(); } else { if (itemCase_ == 6) { algorithmBuilder_.mergeFrom(value); } algorithmBuilder_.setMessage(value); } itemCase_ = 6; return this; } /** *
       * An algorithm
       * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; */ public Builder clearAlgorithm() { if (algorithmBuilder_ == null) { if (itemCase_ == 6) { itemCase_ = 0; item_ = null; onChanged(); } } else { if (itemCase_ == 6) { itemCase_ = 0; item_ = null; } algorithmBuilder_.clear(); } return this; } /** *
       * An algorithm
       * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder getAlgorithmBuilder() { return getAlgorithmFieldBuilder().getBuilder(); } /** *
       * An algorithm
       * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder() { if ((itemCase_ == 6) && (algorithmBuilder_ != null)) { return algorithmBuilder_.getMessageOrBuilder(); } else { if (itemCase_ == 6) { return (org.yamcs.protobuf.Mdb.AlgorithmInfo) item_; } return org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance(); } } /** *
       * An algorithm
       * 
* * .yamcs.protobuf.mdb.AlgorithmInfo algorithm = 6; */ 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) { if (!(itemCase_ == 6)) { item_ = org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance(); } algorithmBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder>( (org.yamcs.protobuf.Mdb.AlgorithmInfo) item_, getParentForChildren(), isClean()); item_ = null; } itemCase_ = 6; onChanged();; 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.MissionDatabaseItem) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.MissionDatabaseItem) private static final org.yamcs.protobuf.Mdb.MissionDatabaseItem DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.MissionDatabaseItem(); } public static org.yamcs.protobuf.Mdb.MissionDatabaseItem getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MissionDatabaseItem parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MissionDatabaseItem(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.MissionDatabaseItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListSpaceSystemsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ListSpaceSystemsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Matching space systems
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ java.util.List getSpaceSystemsList(); /** *
     * Matching space systems
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystems(int index); /** *
     * Matching space systems
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ int getSpaceSystemsCount(); /** *
     * Matching space systems
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ java.util.List getSpaceSystemsOrBuilderList(); /** *
     * Matching space systems
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSpaceSystemsOrBuilder( int index); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ boolean hasContinuationToken(); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The continuationToken. */ java.lang.String getContinuationToken(); /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ com.google.protobuf.ByteString getContinuationTokenBytes(); /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ boolean hasTotalSize(); /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return The totalSize. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListSpaceSystemsResponse(); } @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_; /** *
     * Matching space systems
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ @java.lang.Override public java.util.List getSpaceSystemsList() { return spaceSystems_; } /** *
     * Matching space systems
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ @java.lang.Override public java.util.List getSpaceSystemsOrBuilderList() { return spaceSystems_; } /** *
     * Matching space systems
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ @java.lang.Override public int getSpaceSystemsCount() { return spaceSystems_.size(); } /** *
     * Matching space systems
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSpaceSystems(int index) { return spaceSystems_.get(index); } /** *
     * Matching space systems
     * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ @java.lang.Override 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_; /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ @java.lang.Override public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The continuationToken. */ @java.lang.Override 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; } } /** *
     * Token indicating the response is only partial. More results can then
     * be obtained by performing the same request (including all original
     * query parameters) and setting the ``next`` parameter to this token.
     * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ @java.lang.Override 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_; /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The total number of results (across all pages)
     * 
* * optional int32 totalSize = 3; * @return The totalSize. */ @java.lang.Override 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 < getSpaceSystemsCount(); i++) { if (!getSpaceSystems(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 < 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() { for (int i = 0; i < getSpaceSystemsCount(); i++) { if (!getSpaceSystems(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.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_; /** *
       * Matching space systems
       * 
* * 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(); } } /** *
       * Matching space systems
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public int getSpaceSystemsCount() { if (spaceSystemsBuilder_ == null) { return spaceSystems_.size(); } else { return spaceSystemsBuilder_.getCount(); } } /** *
       * Matching space systems
       * 
* * 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); } } /** *
       * Matching space systems
       * 
* * 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; } /** *
       * Matching space systems
       * 
* * 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; } /** *
       * Matching space systems
       * 
* * 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; } /** *
       * Matching space systems
       * 
* * 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; } /** *
       * Matching space systems
       * 
* * 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; } /** *
       * Matching space systems
       * 
* * 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; } /** *
       * Matching space systems
       * 
* * 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; } /** *
       * Matching space systems
       * 
* * 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; } /** *
       * Matching space systems
       * 
* * 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; } /** *
       * Matching space systems
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder getSpaceSystemsBuilder( int index) { return getSpaceSystemsFieldBuilder().getBuilder(index); } /** *
       * Matching space systems
       * 
* * 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); } } /** *
       * Matching space systems
       * 
* * 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_); } } /** *
       * Matching space systems
       * 
* * repeated .yamcs.protobuf.mdb.SpaceSystemInfo spaceSystems = 1; */ public org.yamcs.protobuf.Mdb.SpaceSystemInfo.Builder addSpaceSystemsBuilder() { return getSpaceSystemsFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.SpaceSystemInfo.getDefaultInstance()); } /** *
       * Matching space systems
       * 
* * 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()); } /** *
       * Matching space systems
       * 
* * 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_ = ""; /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return Whether the continuationToken field is set. */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return The continuationToken. */ 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; } } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return The bytes for continuationToken. */ 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; } } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @param value The continuationToken to set. * @return This builder for chaining. */ public Builder setContinuationToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; continuationToken_ = value; onChanged(); return this; } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @return This builder for chaining. */ public Builder clearContinuationToken() { bitField0_ = (bitField0_ & ~0x00000002); continuationToken_ = getDefaultInstance().getContinuationToken(); onChanged(); return this; } /** *
       * Token indicating the response is only partial. More results can then
       * be obtained by performing the same request (including all original
       * query parameters) and setting the ``next`` parameter to this token.
       * 
* * optional string continuationToken = 2; * @param value The bytes for continuationToken to set. * @return This builder for chaining. */ public Builder setContinuationTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; continuationToken_ = value; onChanged(); return this; } private int totalSize_ ; /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return Whether the totalSize field is set. */ @java.lang.Override public boolean hasTotalSize() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return The totalSize. */ @java.lang.Override public int getTotalSize() { return totalSize_; } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { bitField0_ |= 0x00000004; totalSize_ = value; onChanged(); return this; } /** *
       * The total number of results (across all pages)
       * 
* * optional int32 totalSize = 3; * @return This builder for chaining. */ 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 { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * Space-system name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ boolean hasName(); /** *
     * Space-system name.
     * 
* * optional string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * Space-system name.
     * 
* * optional string name = 2; * @return The bytes for name. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetSpaceSystemRequest(); } @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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Space-system name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Space-system name.
     * 
* * optional string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * Space-system name.
     * 
* * optional string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Space-system name.
       * 
* * optional string name = 2; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Space-system name.
       * 
* * optional string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Space-system name.
       * 
* * optional string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Space-system name.
       * 
* * optional string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       * Space-system name.
       * 
* * optional string name = 2; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Space-system name.
       * 
* * optional string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } @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 ExportXtceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.ExportXtceRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * Space-system name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ boolean hasName(); /** *
     * Space-system name.
     * 
* * optional string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * Space-system name.
     * 
* * optional string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } /** * Protobuf type {@code yamcs.protobuf.mdb.ExportXtceRequest} */ public static final class ExportXtceRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yamcs.protobuf.mdb.ExportXtceRequest) ExportXtceRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExportXtceRequest.newBuilder() to construct. private ExportXtceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportXtceRequest() { instance_ = ""; name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportXtceRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportXtceRequest( 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_ExportXtceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ExportXtceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ExportXtceRequest.class, org.yamcs.protobuf.Mdb.ExportXtceRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private volatile java.lang.Object instance_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Space-system name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Space-system name.
     * 
* * optional string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * Space-system name.
     * 
* * optional string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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.ExportXtceRequest)) { return super.equals(obj); } org.yamcs.protobuf.Mdb.ExportXtceRequest other = (org.yamcs.protobuf.Mdb.ExportXtceRequest) 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.ExportXtceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ExportXtceRequest 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.ExportXtceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ExportXtceRequest 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.ExportXtceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Mdb.ExportXtceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Mdb.ExportXtceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ExportXtceRequest 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.ExportXtceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ExportXtceRequest 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.ExportXtceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.Mdb.ExportXtceRequest 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.ExportXtceRequest 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.ExportXtceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.mdb.ExportXtceRequest) org.yamcs.protobuf.Mdb.ExportXtceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ExportXtceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_ExportXtceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Mdb.ExportXtceRequest.class, org.yamcs.protobuf.Mdb.ExportXtceRequest.Builder.class); } // Construct using org.yamcs.protobuf.Mdb.ExportXtceRequest.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_ExportXtceRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.Mdb.ExportXtceRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Mdb.ExportXtceRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.Mdb.ExportXtceRequest build() { org.yamcs.protobuf.Mdb.ExportXtceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.Mdb.ExportXtceRequest buildPartial() { org.yamcs.protobuf.Mdb.ExportXtceRequest result = new org.yamcs.protobuf.Mdb.ExportXtceRequest(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.ExportXtceRequest) { return mergeFrom((org.yamcs.protobuf.Mdb.ExportXtceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Mdb.ExportXtceRequest other) { if (other == org.yamcs.protobuf.Mdb.ExportXtceRequest.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.ExportXtceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Mdb.ExportXtceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Space-system name.
       * 
* * optional string name = 2; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Space-system name.
       * 
* * optional string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Space-system name.
       * 
* * optional string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Space-system name.
       * 
* * optional string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       * Space-system name.
       * 
* * optional string name = 2; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Space-system name.
       * 
* * optional string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } @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.ExportXtceRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.mdb.ExportXtceRequest) private static final org.yamcs.protobuf.Mdb.ExportXtceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.Mdb.ExportXtceRequest(); } public static org.yamcs.protobuf.Mdb.ExportXtceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExportXtceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportXtceRequest(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.ExportXtceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetCommandRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:yamcs.protobuf.mdb.GetCommandRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ boolean hasInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ java.lang.String getInstance(); /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ com.google.protobuf.ByteString getInstanceBytes(); /** *
     * Command name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ boolean hasName(); /** *
     * Command name.
     * 
* * optional string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * Command name.
     * 
* * optional string name = 2; * @return The bytes for name. */ 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 @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetCommandRequest(); } @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_; /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
     * Yamcs instance name.
     * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Command name.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Command name.
     * 
* * optional string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * Command name.
     * 
* * optional string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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_ = ""; /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
       * Yamcs instance name.
       * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Command name.
       * 
* * optional string name = 2; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Command name.
       * 
* * optional string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Command name.
       * 
* * optional string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Command name.
       * 
* * optional string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** *
       * Command name.
       * 
* * optional string name = 2; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Command name.
       * 
* * optional string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } @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 { /** *
     * Space system name
     * 
* * optional string name = 1; * @return Whether the name field is set. */ boolean hasName(); /** *
     * Space system name
     * 
* * optional string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Space system name
     * 
* * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ boolean hasQualifiedName(); /** * optional string qualifiedName = 2; * @return The qualifiedName. */ java.lang.String getQualifiedName(); /** * optional string qualifiedName = 2; * @return The bytes for qualifiedName. */ com.google.protobuf.ByteString getQualifiedNameBytes(); /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ boolean hasShortDescription(); /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return The shortDescription. */ java.lang.String getShortDescription(); /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return The bytes for shortDescription. */ com.google.protobuf.ByteString getShortDescriptionBytes(); /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return Whether the longDescription field is set. */ boolean hasLongDescription(); /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return The longDescription. */ java.lang.String getLongDescription(); /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return The bytes for longDescription. */ com.google.protobuf.ByteString getLongDescriptionBytes(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ java.util.List getAliasList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index); /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ int getAliasCount(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ java.util.List getAliasOrBuilderList(); /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index); /** * optional string version = 5; * @return Whether the version field is set. */ boolean hasVersion(); /** * optional string version = 5; * @return The version. */ java.lang.String getVersion(); /** * optional string version = 5; * @return The bytes for version. */ 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); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ int getAncillaryDataCount(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ boolean containsAncillaryData( java.lang.String key); /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Deprecated java.util.Map getAncillaryData(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ java.util.Map getAncillaryDataMap(); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue); /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key); } /** * 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_ = ""; alias_ = java.util.Collections.emptyList(); version_ = ""; history_ = java.util.Collections.emptyList(); sub_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SpaceSystemInfo(); } @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_ & 0x00000040) != 0)) { history_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } history_.add( input.readMessage(org.yamcs.protobuf.Mdb.HistoryInfo.PARSER, extensionRegistry)); break; } case 122: { if (!((mutable_bitField0_ & 0x00000080) != 0)) { sub_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } sub_.add( input.readMessage(org.yamcs.protobuf.Mdb.SpaceSystemInfo.PARSER, extensionRegistry)); break; } case 130: { 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 138: { if (!((mutable_bitField0_ & 0x00000100) != 0)) { ancillaryData_ = com.google.protobuf.MapField.newMapField( AncillaryDataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000100; } com.google.protobuf.MapEntry ancillaryData__ = input.readMessage( AncillaryDataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); ancillaryData_.getMutableMap().put( ancillaryData__.getKey(), ancillaryData__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000040) != 0)) { history_ = java.util.Collections.unmodifiableList(history_); } if (((mutable_bitField0_ & 0x00000080) != 0)) { sub_ = java.util.Collections.unmodifiableList(sub_); } 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_SpaceSystemInfo_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 17: return internalGetAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @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_; /** *
     * Space system name
     * 
* * optional string name = 1; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Space system name
     * 
* * optional string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * Space system name
     * 
* * optional string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALIFIEDNAME_FIELD_NUMBER = 2; private volatile java.lang.Object qualifiedName_; /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ @java.lang.Override public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; * @return The qualifiedName. */ @java.lang.Override 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; * @return The bytes for qualifiedName. */ @java.lang.Override 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_; /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ @java.lang.Override public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return The shortDescription. */ @java.lang.Override 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; } } /** *
     * Short description (one line)
     * 
* * optional string shortDescription = 3; * @return The bytes for shortDescription. */ @java.lang.Override 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_; /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return Whether the longDescription field is set. */ @java.lang.Override public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return The longDescription. */ @java.lang.Override 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; } } /** *
     * Long description (Markdown)
     * 
* * optional string longDescription = 4; * @return The bytes for longDescription. */ @java.lang.Override 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 = 16; private java.util.List alias_; /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ @java.lang.Override public java.util.List getAliasList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ @java.lang.Override public java.util.List getAliasOrBuilderList() { return alias_; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ @java.lang.Override public int getAliasCount() { return alias_.size(); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectId getAlias(int index) { return alias_.get(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ @java.lang.Override public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getAliasOrBuilder( int index) { return alias_.get(index); } public static final int VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object version_; /** * optional string version = 5; * @return Whether the version field is set. */ @java.lang.Override public boolean hasVersion() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string version = 5; * @return The version. */ @java.lang.Override 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; * @return The bytes for version. */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getHistoryList() { return history_; } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ @java.lang.Override public java.util.List getHistoryOrBuilderList() { return history_; } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ @java.lang.Override public int getHistoryCount() { return history_.size(); } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ @java.lang.Override public org.yamcs.protobuf.Mdb.HistoryInfo getHistory(int index) { return history_.get(index); } /** * repeated .yamcs.protobuf.mdb.HistoryInfo history = 14; */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getSubList() { return sub_; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ @java.lang.Override public java.util.List getSubOrBuilderList() { return sub_; } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ @java.lang.Override public int getSubCount() { return sub_.size(); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfo getSub(int index) { return sub_.get(index); } /** * repeated .yamcs.protobuf.mdb.SpaceSystemInfo sub = 15; */ @java.lang.Override public org.yamcs.protobuf.Mdb.SpaceSystemInfoOrBuilder getSubOrBuilder( int index) { return sub_.get(index); } public static final int ANCILLARYDATA_FIELD_NUMBER = 17; private static final class AncillaryDataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( org.yamcs.protobuf.Mdb.internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_AncillaryDataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, org.yamcs.protobuf.Mdb.AncillaryDataInfo.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> ancillaryData_; private com.google.protobuf.MapField internalGetAncillaryData() { if (ancillaryData_ == null) { return com.google.protobuf.MapField.emptyMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } return ancillaryData_; } public int getAncillaryDataCount() { return internalGetAncillaryData().getMap().size(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ @java.lang.Override public boolean containsAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAncillaryData().getMap().containsKey(key); } /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAncillaryData() { return getAncillaryDataMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ @java.lang.Override public java.util.Map getAncillaryDataMap() { return internalGetAncillaryData().getMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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 < getSubCount(); i++) { if (!getSub(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_); } 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)); } for (int i = 0; i < alias_.size(); i++) { output.writeMessage(16, alias_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetAncillaryData(), AncillaryDataDefaultEntryHolder.defaultEntry, 17); 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)); } for (int i = 0; i < alias_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, alias_.get(i)); } for (java.util.Map.Entry entry : internalGetAncillaryData().getMap().entrySet()) { com.google.protobuf.MapEntry ancillaryData__ = AncillaryDataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, ancillaryData__); } 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 (!getAliasList() .equals(other.getAliasList())) 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 (!internalGetAncillaryData().equals( other.internalGetAncillaryData())) 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 (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(); } if (!internalGetAncillaryData().getMap().isEmpty()) { hash = (37 * hash) + ANCILLARYDATA_FIELD_NUMBER; hash = (53 * hash) + internalGetAncillaryData().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; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 17: return internalGetAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 17: return internalGetMutableAncillaryData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @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) { getAliasFieldBuilder(); 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); if (aliasBuilder_ == null) { alias_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { aliasBuilder_.clear(); } version_ = ""; bitField0_ = (bitField0_ & ~0x00000020); if (historyBuilder_ == null) { history_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { historyBuilder_.clear(); } if (subBuilder_ == null) { sub_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { subBuilder_.clear(); } internalGetMutableAncillaryData().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 (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.version_ = version_; if (historyBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { history_ = java.util.Collections.unmodifiableList(history_); bitField0_ = (bitField0_ & ~0x00000040); } result.history_ = history_; } else { result.history_ = historyBuilder_.build(); } if (subBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { sub_ = java.util.Collections.unmodifiableList(sub_); bitField0_ = (bitField0_ & ~0x00000080); } result.sub_ = sub_; } else { result.sub_ = subBuilder_.build(); } result.ancillaryData_ = internalGetAncillaryData(); result.ancillaryData_.makeImmutable(); 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 (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.hasVersion()) { bitField0_ |= 0x00000020; version_ = other.version_; onChanged(); } if (historyBuilder_ == null) { if (!other.history_.isEmpty()) { if (history_.isEmpty()) { history_ = other.history_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureHistoryIsMutable(); history_.addAll(other.history_); } onChanged(); } } else { if (!other.history_.isEmpty()) { if (historyBuilder_.isEmpty()) { historyBuilder_.dispose(); historyBuilder_ = null; history_ = other.history_; bitField0_ = (bitField0_ & ~0x00000040); 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_ & ~0x00000080); } else { ensureSubIsMutable(); sub_.addAll(other.sub_); } onChanged(); } } else { if (!other.sub_.isEmpty()) { if (subBuilder_.isEmpty()) { subBuilder_.dispose(); subBuilder_ = null; sub_ = other.sub_; bitField0_ = (bitField0_ & ~0x00000080); subBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSubFieldBuilder() : null; } else { subBuilder_.addAllMessages(other.sub_); } } } internalGetMutableAncillaryData().mergeFrom( other.internalGetAncillaryData()); 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 < getSubCount(); i++) { if (!getSub(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.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_ = ""; /** *
       * Space system name
       * 
* * optional string name = 1; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Space system name
       * 
* * optional string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Space system name
       * 
* * optional string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Space system name
       * 
* * optional string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** *
       * Space system name
       * 
* * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Space system name
       * 
* * optional string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object qualifiedName_ = ""; /** * optional string qualifiedName = 2; * @return Whether the qualifiedName field is set. */ public boolean hasQualifiedName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string qualifiedName = 2; * @return The qualifiedName. */ 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; * @return The bytes for qualifiedName. */ 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; * @param value The qualifiedName to set. * @return This builder for chaining. */ public Builder setQualifiedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; qualifiedName_ = value; onChanged(); return this; } /** * optional string qualifiedName = 2; * @return This builder for chaining. */ public Builder clearQualifiedName() { bitField0_ = (bitField0_ & ~0x00000002); qualifiedName_ = getDefaultInstance().getQualifiedName(); onChanged(); return this; } /** * optional string qualifiedName = 2; * @param value The bytes for qualifiedName to set. * @return This builder for chaining. */ 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_ = ""; /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @return Whether the shortDescription field is set. */ public boolean hasShortDescription() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @return The shortDescription. */ 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; } } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @return The bytes for shortDescription. */ 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; } } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @param value The shortDescription to set. * @return This builder for chaining. */ public Builder setShortDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; shortDescription_ = value; onChanged(); return this; } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @return This builder for chaining. */ public Builder clearShortDescription() { bitField0_ = (bitField0_ & ~0x00000004); shortDescription_ = getDefaultInstance().getShortDescription(); onChanged(); return this; } /** *
       * Short description (one line)
       * 
* * optional string shortDescription = 3; * @param value The bytes for shortDescription to set. * @return This builder for chaining. */ 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_ = ""; /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @return Whether the longDescription field is set. */ public boolean hasLongDescription() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @return The longDescription. */ 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; } } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @return The bytes for longDescription. */ 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; } } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @param value The longDescription to set. * @return This builder for chaining. */ public Builder setLongDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; longDescription_ = value; onChanged(); return this; } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @return This builder for chaining. */ public Builder clearLongDescription() { bitField0_ = (bitField0_ & ~0x00000008); longDescription_ = getDefaultInstance().getLongDescription(); onChanged(); return this; } /** *
       * Long description (Markdown)
       * 
* * optional string longDescription = 4; * @param value The bytes for longDescription to set. * @return This builder for chaining. */ 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 = 16; */ public java.util.List getAliasList() { if (aliasBuilder_ == null) { return java.util.Collections.unmodifiableList(alias_); } else { return aliasBuilder_.getMessageList(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ public int getAliasCount() { if (aliasBuilder_ == null) { return alias_.size(); } else { return aliasBuilder_.getCount(); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ 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 = 16; */ 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 = 16; */ 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 = 16; */ 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 = 16; */ 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 = 16; */ 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 = 16; */ 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 = 16; */ 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 = 16; */ 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 = 16; */ public Builder removeAlias(int index) { if (aliasBuilder_ == null) { ensureAliasIsMutable(); alias_.remove(index); onChanged(); } else { aliasBuilder_.remove(index); } return this; } /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getAliasBuilder( int index) { return getAliasFieldBuilder().getBuilder(index); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ 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 = 16; */ public java.util.List getAliasOrBuilderList() { if (aliasBuilder_ != null) { return aliasBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(alias_); } } /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addAliasBuilder() { return getAliasFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.protobuf.NamedObjectId alias = 16; */ 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 = 16; */ 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 java.lang.Object version_ = ""; /** * optional string version = 5; * @return Whether the version field is set. */ public boolean hasVersion() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string version = 5; * @return The version. */ 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; * @return The bytes for version. */ 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; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; version_ = value; onChanged(); return this; } /** * optional string version = 5; * @return This builder for chaining. */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000020); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * optional string version = 5; * @param value The bytes for version to set. * @return This builder for chaining. */ public Builder setVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; version_ = value; onChanged(); return this; } private java.util.List history_ = java.util.Collections.emptyList(); private void ensureHistoryIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { history_ = new java.util.ArrayList(history_); bitField0_ |= 0x00000040; } } 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_ & ~0x00000040); 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_ & 0x00000040) != 0), getParentForChildren(), isClean()); history_ = null; } return historyBuilder_; } private java.util.List sub_ = java.util.Collections.emptyList(); private void ensureSubIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { sub_ = new java.util.ArrayList(sub_); bitField0_ |= 0x00000080; } } 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_ & ~0x00000080); 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_ & 0x00000080) != 0), getParentForChildren(), isClean()); sub_ = null; } return subBuilder_; } private com.google.protobuf.MapField< java.lang.String, org.yamcs.protobuf.Mdb.AncillaryDataInfo> ancillaryData_; private com.google.protobuf.MapField internalGetAncillaryData() { if (ancillaryData_ == null) { return com.google.protobuf.MapField.emptyMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } return ancillaryData_; } private com.google.protobuf.MapField internalGetMutableAncillaryData() { onChanged();; if (ancillaryData_ == null) { ancillaryData_ = com.google.protobuf.MapField.newMapField( AncillaryDataDefaultEntryHolder.defaultEntry); } if (!ancillaryData_.isMutable()) { ancillaryData_ = ancillaryData_.copy(); } return ancillaryData_; } public int getAncillaryDataCount() { return internalGetAncillaryData().getMap().size(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ @java.lang.Override public boolean containsAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetAncillaryData().getMap().containsKey(key); } /** * Use {@link #getAncillaryDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAncillaryData() { return getAncillaryDataMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ @java.lang.Override public java.util.Map getAncillaryDataMap() { return internalGetAncillaryData().getMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrDefault( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ @java.lang.Override public org.yamcs.protobuf.Mdb.AncillaryDataInfo getAncillaryDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetAncillaryData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAncillaryData() { internalGetMutableAncillaryData().getMutableMap() .clear(); return this; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ public Builder removeAncillaryData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableAncillaryData().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAncillaryData() { return internalGetMutableAncillaryData().getMutableMap(); } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ public Builder putAncillaryData( java.lang.String key, org.yamcs.protobuf.Mdb.AncillaryDataInfo value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableAncillaryData().getMutableMap() .put(key, value); return this; } /** * map<string, .yamcs.protobuf.mdb.AncillaryDataInfo> ancillaryData = 17; */ public Builder putAllAncillaryData( java.util.Map values) { internalGetMutableAncillaryData().getMutableMap() .putAll(values); 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.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; } } 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_ParameterTypeInfo_AncillaryDataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_AncillaryDataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_NumberFormatTypeInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_NumberFormatTypeInfo_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_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_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_ArgumentMemberInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ArgumentMemberInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_ParameterDimensionInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ParameterDimensionInfo_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_ParameterInfo_AncillaryDataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ParameterInfo_AncillaryDataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_AncillaryDataInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_AncillaryDataInfo_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_ArgumentDimensionInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ArgumentDimensionInfo_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_CommandInfo_AncillaryDataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_CommandInfo_AncillaryDataEntry_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_IndirectParameterRefInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_IndirectParameterRefInfo_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_ContainerInfo_AncillaryDataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ContainerInfo_AncillaryDataEntry_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_MathElement_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_MathElement_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_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_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_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_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_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_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_CreateParameterRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_CreateParameterRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_CreateParameterRequest_AliasesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_CreateParameterRequest_AliasesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_AliasesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_AliasesEntry_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_StreamMissionDatabaseRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_StreamMissionDatabaseRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yamcs_protobuf_mdb_MissionDatabaseItem_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_MissionDatabaseItem_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_ExportXtceRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_ExportXtceRequest_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_SpaceSystemInfo_AncillaryDataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_AncillaryDataEntry_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\"\267\002\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\022<\n\013spaceSystem\030\004 \003(\0132#.yamcs.protob" + "uf.mdb.SpaceSystemInfoB\002\030\001\0229\n\014spaceSyste" + "ms\030\013 \003(\0132#.yamcs.protobuf.mdb.SpaceSyste" + "mInfo\022\026\n\016parameterCount\030\006 \001(\005\022\026\n\016contain" + "erCount\030\007 \001(\005\022\024\n\014commandCount\030\010 \001(\005\022\026\n\016a" + "lgorithmCount\030\t \001(\005\022\032\n\022parameterTypeCoun" + "t\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\007message\030\003 \001(\t\022\016\n\006author" + "\030\004 \001(\t\"\030\n\010UnitInfo\022\014\n\004unit\030\001 \001(\t\"\227\001\n\nAla" + "rmRange\0221\n\005level\030\001 \001(\0162\".yamcs.protobuf." + "mdb.AlarmLevelType\022\024\n\014minInclusive\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\020Enumeratio" + "nAlarm\0221\n\005level\030\001 \001(\0162\".yamcs.protobuf.m" + "db.AlarmLevelType\022\r\n\005label\030\003 \001(\t\"\332\002\n\tAla" + "rmInfo\022\025\n\rminViolations\030\001 \001(\005\022<\n\020staticA" + "larmRange\030\002 \003(\0132\036.yamcs.protobuf.mdb.Ala" + "rmRangeB\002\030\001\0229\n\021staticAlarmRanges\030\004 \003(\0132\036" + ".yamcs.protobuf.mdb.AlarmRange\022B\n\020enumer" + "ationAlarm\030\003 \003(\0132$.yamcs.protobuf.mdb.En" + "umerationAlarmB\002\030\001\022?\n\021enumerationAlarms\030" + "\005 \003(\0132$.yamcs.protobuf.mdb.EnumerationAl" + "arm\0228\n\014defaultLevel\030\006 \001(\0162\".yamcs.protob" + "uf.mdb.AlarmLevelType\"\211\001\n\020ContextAlarmIn" + "fo\0226\n\ncomparison\030\001 \003(\0132\".yamcs.protobuf." + "mdb.ComparisonInfo\022,\n\005alarm\030\002 \001(\0132\035.yamc" + "s.protobuf.mdb.AlarmInfo\022\017\n\007context\030\003 \001(" + "\t\"\234\003\n\020DataEncodingInfo\0227\n\004type\030\001 \001(\0162).y" + "amcs.protobuf.mdb.DataEncodingInfo.Type\022" + "\024\n\014littleEndian\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\".yamcs.protobuf.mdb.CalibratorIn" + "fo\022H\n\021contextCalibrator\030\007 \003(\0132).yamcs.pr" + "otobuf.mdb.ContextCalibratorInfoB\002\030\001\022E\n\022" + "contextCalibrators\030\010 \003(\0132).yamcs.protobu" + "f.mdb.ContextCalibratorInfo\"C\n\004Type\022\n\n\006B" + "INARY\020\000\022\013\n\007BOOLEAN\020\001\022\t\n\005FLOAT\020\002\022\013\n\007INTEG" + "ER\020\003\022\n\n\006STRING\020\004\"\230\001\n\025ContextCalibratorIn" + "fo\0226\n\ncomparison\030\001 \003(\0132\".yamcs.protobuf." + "mdb.ComparisonInfo\0226\n\ncalibrator\030\002 \001(\0132\"" + ".yamcs.protobuf.mdb.CalibratorInfo\022\017\n\007co" + "ntext\030\003 \001(\t\"\370\002\n\016CalibratorInfo\022J\n\024polyno" + "mialCalibrator\030\002 \001(\0132,.yamcs.protobuf.md" + "b.PolynomialCalibratorInfo\022B\n\020splineCali" + "brator\030\003 \001(\0132(.yamcs.protobuf.mdb.Spline" + "CalibratorInfo\022R\n\030javaExpressionCalibrat" + "or\030\004 \001(\01320.yamcs.protobuf.mdb.JavaExpres" + "sionCalibratorInfo\0225\n\004type\030\005 \001(\0162\'.yamcs" + ".protobuf.mdb.CalibratorInfo.Type\"K\n\004Typ" + "e\022\016\n\nPOLYNOMIAL\020\000\022\n\n\006SPLINE\020\001\022\022\n\016MATH_OP" + "ERATION\020\002\022\023\n\017JAVA_EXPRESSION\020\003\"I\n\030Polyno" + "mialCalibratorInfo\022\027\n\013coefficient\030\001 \003(\001B" + "\002\030\001\022\024\n\014coefficients\030\002 \003(\001\"\341\001\n\024SplineCali" + "bratorInfo\022K\n\005point\030\001 \003(\01328.yamcs.protob" + "uf.mdb.SplineCalibratorInfo.SplinePointI" + "nfoB\002\030\001\022H\n\006points\030\002 \003(\01328.yamcs.protobuf" + ".mdb.SplineCalibratorInfo.SplinePointInf" + "o\0322\n\017SplinePointInfo\022\013\n\003raw\030\001 \001(\001\022\022\n\ncal" + "ibrated\030\002 \001(\001\"/\n\034JavaExpressionCalibrato" + "rInfo\022\017\n\007formula\030\001 \001(\t\">\n\tEnumValue\022\r\n\005v" + "alue\030\001 \001(\003\022\r\n\005label\030\002 \001(\t\022\023\n\013description" + "\030\003 \001(\t\"\320\007\n\021ParameterTypeInfo\022\014\n\004name\030\020 \001" + "(\t\022\025\n\rqualifiedName\030\021 \001(\t\022\030\n\020shortDescri" + "ption\030\022 \001(\t\022\027\n\017longDescription\030\023 \001(\t\022,\n\005" + "alias\030\024 \003(\0132\035.yamcs.protobuf.NamedObject" + "Id\022\017\n\007engType\030\001 \001(\t\022:\n\014dataEncoding\030\002 \001(" + "\0132$.yamcs.protobuf.mdb.DataEncodingInfo\022" + "-\n\007unitSet\030\003 \003(\0132\034.yamcs.protobuf.mdb.Un" + "itInfo\0223\n\014defaultAlarm\030\004 \001(\0132\035.yamcs.pro" + "tobuf.mdb.AlarmInfo\0220\n\tenumValue\030\005 \003(\0132\035" + ".yamcs.protobuf.mdb.EnumValue\022>\n\020absolut" + "eTimeInfo\030\006 \001(\0132$.yamcs.protobuf.mdb.Abs" + "oluteTimeInfo\022:\n\014contextAlarm\030\007 \003(\0132$.ya" + "mcs.protobuf.mdb.ContextAlarmInfo\022.\n\006mem" + "ber\030\010 \003(\0132\036.yamcs.protobuf.mdb.MemberInf" + "o\0220\n\tarrayInfo\030\t \001(\0132\035.yamcs.protobuf.md" + "b.ArrayInfo\022O\n\rancillaryData\030\n \003(\01328.yam" + "cs.protobuf.mdb.ParameterTypeInfo.Ancill" + "aryDataEntry\022>\n\014numberFormat\030\013 \001(\0132(.yam" + "cs.protobuf.mdb.NumberFormatTypeInfo\022\016\n\006" + "signed\030\014 \001(\010\022\022\n\nsizeInBits\030\025 \001(\005\022\027\n\017zero" + "StringValue\030\r \001(\t\022\026\n\016oneStringValue\030\016 \001(" + "\t\0221\n\006usedBy\030\017 \003(\0132!.yamcs.protobuf.mdb.P" + "arameterInfo\032[\n\022AncillaryDataEntry\022\013\n\003ke" + "y\030\001 \001(\t\0224\n\005value\030\002 \001(\0132%.yamcs.protobuf." + "mdb.AncillaryDataInfo:\0028\001\"\265\002\n\024NumberForm" + "atTypeInfo\022\022\n\nnumberBase\030\001 \001(\t\022\035\n\025minimu" + "mFractionDigits\030\002 \001(\005\022\035\n\025maximumFraction" + "Digits\030\003 \001(\005\022\034\n\024minimumIntegerDigits\030\004 \001" + "(\005\022\034\n\024maximumIntegerDigits\030\005 \001(\005\022\026\n\016nega" + "tiveSuffix\030\006 \001(\t\022\026\n\016positiveSuffix\030\007 \001(\t" + "\022\026\n\016negativePrefix\030\010 \001(\t\022\026\n\016positivePref" + "ix\030\t \001(\t\022\035\n\025showThousandsGrouping\030\n \001(\010\022" + "\020\n\010notation\030\013 \001(\t\"5\n\023GetContainerRequest" + "\022\020\n\010instance\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\"9\n\027GetP" + "arameterTypeRequest\022\020\n\010instance\030\001 \001(\t\022\014\n" + "\004name\030\002 \001(\t\"\215\001\n\020AbsoluteTimeInfo\022\024\n\014init" + "ialValue\030\001 \001(\t\022\r\n\005scale\030\002 \001(\001\022\016\n\006offset\030" + "\003 \001(\001\0225\n\noffsetFrom\030\004 \001(\0132!.yamcs.protob" + "uf.mdb.ParameterInfo\022\r\n\005epoch\030\005 \001(\t\"\260\001\n\n" + "MemberInfo\022\014\n\004name\030\001 \001(\t\022\030\n\020shortDescrip" + "tion\030\003 \001(\t\022\027\n\017longDescription\030\004 \001(\t\022,\n\005a" + "lias\030\005 \003(\0132\035.yamcs.protobuf.NamedObjectI" + "d\0223\n\004type\030\006 \001(\0132%.yamcs.protobuf.mdb.Par" + "ameterTypeInfo\"\315\001\n\022ArgumentMemberInfo\022\014\n" + "\004name\030\001 \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\0222\n\004type\030\006 \001" + "(\0132$.yamcs.protobuf.mdb.ArgumentTypeInfo" + "\022\024\n\014initialValue\030\007 \001(\t\"\204\001\n\026ParameterDime" + "nsionInfo\022\022\n\nfixedValue\030\001 \001(\003\0224\n\tparamet" + "er\030\002 \001(\0132!.yamcs.protobuf.mdb.ParameterI" + "nfo\022\r\n\005slope\030\003 \001(\003\022\021\n\tintercept\030\004 \001(\003\"\200\001" + "\n\tArrayInfo\0223\n\004type\030\001 \001(\0132%.yamcs.protob" + "uf.mdb.ParameterTypeInfo\022>\n\ndimensions\030\003" + " \003(\0132*.yamcs.protobuf.mdb.ParameterDimen" + "sionInfo\"x\n\nUsedByInfo\0224\n\talgorithm\030\001 \003(" + "\0132!.yamcs.protobuf.mdb.AlgorithmInfo\0224\n\t" + "container\030\002 \003(\0132!.yamcs.protobuf.mdb.Con" + "tainerInfo\"\352\003\n\rParameterInfo\022\014\n\004name\030\001 \001" + "(\t\022\025\n\rqualifiedName\030\002 \001(\t\022\030\n\020shortDescri" + "ption\030\003 \001(\t\022\027\n\017longDescription\030\004 \001(\t\022,\n\005" + "alias\030\005 \003(\0132\035.yamcs.protobuf.NamedObject" + "Id\0223\n\004type\030\006 \001(\0132%.yamcs.protobuf.mdb.Pa" + "rameterTypeInfo\0226\n\ndataSource\030\007 \001(\0162\".ya" + "mcs.protobuf.mdb.DataSourceType\022.\n\006usedB" + "y\030\010 \001(\0132\036.yamcs.protobuf.mdb.UsedByInfo\022" + "K\n\rancillaryData\030\t \003(\01324.yamcs.protobuf." + "mdb.ParameterInfo.AncillaryDataEntry\022\014\n\004" + "path\030\n \003(\t\032[\n\022AncillaryDataEntry\022\013\n\003key\030" + "\001 \001(\t\0224\n\005value\030\002 \001(\0132%.yamcs.protobuf.md" + "b.AncillaryDataInfo:\0028\001\"B\n\021AncillaryData" + "Info\022\r\n\005value\030\001 \001(\t\022\020\n\010mimeType\030\002 \001(\t\022\014\n" + "\004href\030\003 \001(\t\"\255\004\n\020ArgumentTypeInfo\022\017\n\007engT" + "ype\030\001 \001(\t\022:\n\014dataEncoding\030\002 \001(\0132$.yamcs." + "protobuf.mdb.DataEncodingInfo\022-\n\007unitSet" + "\030\003 \003(\0132\034.yamcs.protobuf.mdb.UnitInfo\0220\n\t" + "enumValue\030\005 \003(\0132\035.yamcs.protobuf.mdb.Enu" + "mValue\022\020\n\010rangeMin\030\006 \001(\001\022\020\n\010rangeMax\030\007 \001" + "(\001\0226\n\006member\030\010 \003(\0132&.yamcs.protobuf.mdb." + "ArgumentMemberInfo\022\027\n\017zeroStringValue\030\t " + "\001(\t\022\026\n\016oneStringValue\030\n \001(\t\022\020\n\010minChars\030" + "\013 \001(\005\022\020\n\010maxChars\030\014 \001(\005\022\016\n\006signed\030\r \001(\010\022" + "\020\n\010minBytes\030\016 \001(\005\022\020\n\010maxBytes\030\017 \001(\005\022=\n\nd" + "imensions\030\020 \003(\0132).yamcs.protobuf.mdb.Arg" + "umentDimensionInfo\0229\n\013elementType\030\021 \001(\0132" + "$.yamcs.protobuf.mdb.ArgumentTypeInfo\022\014\n" + "\004name\030\022 \001(\t\"\225\001\n\025ArgumentDimensionInfo\022\022\n" + "\nfixedValue\030\001 \001(\003\0224\n\tparameter\030\002 \001(\0132!.y" + "amcs.protobuf.mdb.ParameterInfo\022\020\n\010argum" + "ent\030\003 \001(\t\022\r\n\005slope\030\004 \001(\003\022\021\n\tintercept\030\005 " + "\001(\003\"{\n\014ArgumentInfo\022\014\n\004name\030\001 \001(\t\022\023\n\013des" + "cription\030\002 \001(\t\022\024\n\014initialValue\030\004 \001(\t\0222\n\004" + "type\030\006 \001(\0132$.yamcs.protobuf.mdb.Argument" + "TypeInfo\"5\n\026ArgumentAssignmentInfo\022\014\n\004na" + "me\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"\345\001\n\020Significance" + "Info\022T\n\020consequenceLevel\030\001 \001(\0162:.yamcs.p" + "rotobuf.mdb.SignificanceInfo.Significanc" + "eLevelType\022\030\n\020reasonForWarning\030\002 \001(\t\"a\n\025" + "SignificanceLevelType\022\010\n\004NONE\020\001\022\t\n\005WATCH" + "\020\002\022\013\n\007WARNING\020\003\022\014\n\010DISTRESS\020\004\022\014\n\010CRITICA" + "L\020\005\022\n\n\006SEVERE\020\006\"\335\002\n\016ComparisonInfo\0224\n\tpa" + "rameter\030\001 \001(\0132!.yamcs.protobuf.mdb.Param" + "eterInfo\022A\n\010operator\030\002 \001(\0162/.yamcs.proto" + "buf.mdb.ComparisonInfo.OperatorType\022\r\n\005v" + "alue\030\003 \001(\t\0222\n\010argument\030\004 \001(\0132 .yamcs.pro" + "tobuf.mdb.ArgumentInfo\"\216\001\n\014OperatorType\022" + "\014\n\010EQUAL_TO\020\001\022\020\n\014NOT_EQUAL_TO\020\002\022\020\n\014GREAT" + "ER_THAN\020\003\022\034\n\030GREATER_THAN_OR_EQUAL_TO\020\004\022" + "\020\n\014SMALLER_THAN\020\005\022\034\n\030SMALLER_THAN_OR_EQU" + "AL_TO\020\006\"A\n\032TransmissionConstraintInfo\022\022\n" + "\nexpression\030\003 \001(\t\022\017\n\007timeout\030\002 \001(\003\"\274\006\n\013C" + "ommandInfo\022\014\n\004name\030\001 \001(\t\022\025\n\rqualifiedNam" + "e\030\002 \001(\t\022\030\n\020shortDescription\030\003 \001(\t\022\027\n\017lon" + "gDescription\030\004 \001(\t\022,\n\005alias\030\005 \003(\0132\035.yamc" + "s.protobuf.NamedObjectId\0224\n\013baseCommand\030" + "\006 \001(\0132\037.yamcs.protobuf.mdb.CommandInfo\022\020" + "\n\010abstract\030\007 \001(\010\0222\n\010argument\030\010 \003(\0132 .yam" + "cs.protobuf.mdb.ArgumentInfo\022F\n\022argument" + "Assignment\030\t \003(\0132*.yamcs.protobuf.mdb.Ar" + "gumentAssignmentInfo\022:\n\014significance\030\n \001" + "(\0132$.yamcs.protobuf.mdb.SignificanceInfo" + "\022B\n\nconstraint\030\013 \003(\0132..yamcs.protobuf.md" + "b.TransmissionConstraintInfo\022B\n\020commandC" + "ontainer\030\r \001(\0132(.yamcs.protobuf.mdb.Comm" + "andContainerInfo\0222\n\010verifier\030\016 \003(\0132 .yam" + "cs.protobuf.mdb.VerifierInfo\022I\n\rancillar" + "yData\030\017 \003(\01322.yamcs.protobuf.mdb.Command" + "Info.AncillaryDataEntry\022C\n\025effectiveSign" + "ificance\030\020 \001(\0132$.yamcs.protobuf.mdb.Sign" + "ificanceInfo\032[\n\022AncillaryDataEntry\022\013\n\003ke" + "y\030\001 \001(\t\0224\n\005value\030\002 \001(\0132%.yamcs.protobuf." + "mdb.AncillaryDataInfo:\0028\001\"\345\003\n\014VerifierIn" + "fo\022\r\n\005stage\030\001 \001(\t\0224\n\tcontainer\030\002 \001(\0132!.y" + "amcs.protobuf.mdb.ContainerInfo\0224\n\talgor" + "ithm\030\003 \001(\0132!.yamcs.protobuf.mdb.Algorith" + "mInfo\022I\n\tonSuccess\030\004 \001(\01626.yamcs.protobu" + "f.mdb.VerifierInfo.TerminationActionType" + "\022F\n\006onFail\030\005 \001(\01626.yamcs.protobuf.mdb.Ve" + "rifierInfo.TerminationActionType\022I\n\tonTi" + "meout\030\006 \001(\01626.yamcs.protobuf.mdb.Verifie" + "rInfo.TerminationActionType\0228\n\013checkWind" + "ow\030\007 \001(\0132#.yamcs.protobuf.mdb.CheckWindo" + "wInfo\022\022\n\nexpression\030\010 \001(\t\".\n\025Termination" + "ActionType\022\013\n\007SUCCESS\020\001\022\010\n\004FAIL\020\002\"^\n\017Che" + "ckWindowInfo\022\033\n\023timeToStartChecking\030\001 \001(" + "\003\022\032\n\022timeToStopChecking\030\002 \001(\003\022\022\n\nrelativ" + "eTo\030\003 \001(\t\"n\n\nRepeatInfo\022\022\n\nfixedCount\030\001 " + "\001(\003\0227\n\014dynamicCount\030\002 \001(\0132!.yamcs.protob" + "uf.mdb.ParameterInfo\022\023\n\013bitsBetween\030\003 \001(" + "\005\"\231\004\n\021SequenceEntryInfo\022\026\n\016locationInBit" + "s\030\001 \001(\005\022V\n\021referenceLocation\030\002 \001(\0162;.yam" + "cs.protobuf.mdb.SequenceEntryInfo.Refere" + "nceLocationType\0224\n\tcontainer\030\003 \001(\0132!.yam" + "cs.protobuf.mdb.ContainerInfo\0224\n\tparamet" + "er\030\004 \001(\0132!.yamcs.protobuf.mdb.ParameterI" + "nfo\0222\n\010argument\030\006 \001(\0132 .yamcs.protobuf.m" + "db.ArgumentInfo\0226\n\nfixedValue\030\007 \001(\0132\".ya" + "mcs.protobuf.mdb.FixedValueInfo\022.\n\006repea" + "t\030\005 \001(\0132\036.yamcs.protobuf.mdb.RepeatInfo\022" + "J\n\024indirectParameterRef\030\010 \001(\0132,.yamcs.pr" + "otobuf.mdb.IndirectParameterRefInfo\"@\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\"h\n\030Indirec" + "tParameterRefInfo\0224\n\tparameter\030\001 \001(\0132!.y" + "amcs.protobuf.mdb.ParameterInfo\022\026\n\016alias" + "Namespace\030\002 \001(\t\"\216\005\n\rContainerInfo\022\014\n\004nam" + "e\030\001 \001(\t\022\025\n\rqualifiedName\030\002 \001(\t\022\030\n\020shortD" + "escription\030\003 \001(\t\022\027\n\017longDescription\030\004 \001(" + "\t\022,\n\005alias\030\005 \003(\0132\035.yamcs.protobuf.NamedO" + "bjectId\022\023\n\013maxInterval\030\006 \001(\003\022\022\n\nsizeInBi" + "ts\030\007 \001(\005\0228\n\rbaseContainer\030\010 \001(\0132!.yamcs." + "protobuf.mdb.ContainerInfo\022C\n\023restrictio" + "nCriteria\030\t \003(\0132\".yamcs.protobuf.mdb.Com" + "parisonInfoB\002\030\001\022%\n\035restrictionCriteriaEx" + "pression\030\r \001(\t\0224\n\005entry\030\n \003(\0132%.yamcs.pr" + "otobuf.mdb.SequenceEntryInfo\022.\n\006usedBy\030\013" + " \001(\0132\036.yamcs.protobuf.mdb.UsedByInfo\022K\n\r" + "ancillaryData\030\014 \003(\01324.yamcs.protobuf.mdb" + ".ContainerInfo.AncillaryDataEntry\022\030\n\020arc" + "hivePartition\030\016 \001(\010\032[\n\022AncillaryDataEntr" + "y\022\013\n\003key\030\001 \001(\t\0224\n\005value\030\002 \001(\0132%.yamcs.pr" + "otobuf.mdb.AncillaryDataInfo:\0028\001\"\277\001\n\022Inp" + "utParameterInfo\0224\n\tparameter\030\001 \001(\0132!.yam" + "cs.protobuf.mdb.ParameterInfo\022\021\n\tinputNa" + "me\030\002 \001(\t\022\031\n\021parameterInstance\030\003 \001(\005\022\021\n\tm" + "andatory\030\004 \001(\010\0222\n\010argument\030\005 \001(\0132 .yamcs" + ".protobuf.mdb.ArgumentInfo\"_\n\023OutputPara" + "meterInfo\0224\n\tparameter\030\001 \001(\0132!.yamcs.pro" + "tobuf.mdb.ParameterInfo\022\022\n\noutputName\030\002 " + "\001(\t\"\207\002\n\013MathElement\0222\n\004type\030\001 \001(\0162$.yamc" + "s.protobuf.mdb.MathElement.Type\022\020\n\010opera" + "tor\030\002 \001(\t\022\r\n\005value\030\003 \001(\001\0224\n\tparameter\030\004 " + "\001(\0132!.yamcs.protobuf.mdb.ParameterInfo\022\031" + "\n\021parameterInstance\030\005 \001(\005\"R\n\004Type\022\021\n\rVAL" + "UE_OPERAND\020\001\022\032\n\026THIS_PARAMETER_OPERAND\020\002" + "\022\014\n\010OPERATOR\020\003\022\r\n\tPARAMETER\020\004\"\231\005\n\rAlgori" + "thmInfo\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\0226\n\005scope\030\006 \001(\0162\'.y" + "amcs.protobuf.mdb.AlgorithmInfo.Scope\0224\n" + "\004type\030\r \001(\0162&.yamcs.protobuf.mdb.Algorit" + "hmInfo.Type\022\020\n\010language\030\007 \001(\t\022\014\n\004text\030\010 " + "\001(\t\022>\n\016inputParameter\030\t \003(\0132&.yamcs.prot" + "obuf.mdb.InputParameterInfo\022@\n\017outputPar" + "ameter\030\n \003(\0132\'.yamcs.protobuf.mdb.Output" + "ParameterInfo\022<\n\021onParameterUpdate\030\013 \003(\013" + "2!.yamcs.protobuf.mdb.ParameterInfo\022\026\n\016o" + "nPeriodicRate\030\014 \003(\003\0225\n\014mathElements\030\016 \003(" + "\0132\037.yamcs.protobuf.mdb.MathElement\"\034\n\004Ty" + "pe\022\n\n\006CUSTOM\020\001\022\010\n\004MATH\020\002\"G\n\005Scope\022\n\n\006GLO" + "BAL\020\000\022\030\n\024COMMAND_VERIFICATION\020\001\022\030\n\024CONTA" + "INER_PROCESSING\020\002\"`\n\027ListSpaceSystemsReq" + "uest\022\020\n\010instance\030\001 \001(\t\022\t\n\001q\030\002 \001(\t\022\014\n\004nex" + "t\030\007 \001(\t\022\013\n\003pos\030\010 \001(\005\022\r\n\005limit\030\t \001(\005\"n\n\025L" + "istContainersRequest\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\003pos\030\010 \001(\005\022\r\n\005limit\030\t \001(\005\"r\n\031ListParam" + "eterTypesRequest\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\003p" + "os\030\010 \001(\005\022\r\n\005limit\030\t \001(\005\"\246\001\n\025ListAlgorith" + "msRequest\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\003pos\030\010 \001(" + "\005\022\r\n\005limit\030\t \001(\005\0226\n\005scope\030\013 \001(\0162\'.yamcs." + "protobuf.mdb.AlgorithmInfo.Scope\"\221\001\n\023Lis" + "tCommandsRequest\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\003pos\030\010 \001(\005\022\r\n\005limit\030\t \001(\005" + "\022\022\n\nnoAbstract\030\n \001(\010\"5\n\023GetParameterRequ" + "est\022\020\n\010instance\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\"\330\001\n\025" + "ListParametersRequest\022\020\n\010instance\030\001 \001(\t\022" + "\t\n\001q\030\002 \001(\t\022\025\n\rsearchMembers\030\014 \001(\010\022\017\n\007det" + "ails\030\004 \001(\010\022\014\n\004type\030\005 \003(\t\0222\n\006source\030\n \001(\016" + "2\".yamcs.protobuf.mdb.DataSourceType\022\016\n\006" + "system\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\"\315\001\n\026ListParametersRespons" + "e\0224\n\007systems\030\005 \003(\0132#.yamcs.protobuf.mdb." + "SpaceSystemInfo\022\030\n\014spaceSystems\030\004 \003(\tB\002\030" + "\001\0225\n\nparameters\030\001 \003(\0132!.yamcs.protobuf.m" + "db.ParameterInfo\022\031\n\021continuationToken\030\002 " + "\001(\t\022\021\n\ttotalSize\030\003 \001(\005\"X\n\031BatchGetParame" + "tersRequest\022\020\n\010instance\030\002 \001(\t\022)\n\002id\030\001 \003(" + "\0132\035.yamcs.protobuf.NamedObjectId\"\354\001\n\032Bat" + "chGetParametersResponse\022U\n\010response\030\001 \003(" + "\0132C.yamcs.protobuf.mdb.BatchGetParameter" + "sResponse.GetParameterResponse\032w\n\024GetPar" + "ameterResponse\022)\n\002id\030\001 \001(\0132\035.yamcs.proto" + "buf.NamedObjectId\0224\n\tparameter\030\002 \001(\0132!.y" + "amcs.protobuf.mdb.ParameterInfo\"\315\001\n\026List" + "ContainersResponse\0224\n\007systems\030\005 \003(\0132#.ya" + "mcs.protobuf.mdb.SpaceSystemInfo\022\030\n\014spac" + "eSystems\030\004 \003(\tB\002\030\001\0225\n\ncontainers\030\001 \003(\0132!" + ".yamcs.protobuf.mdb.ContainerInfo\022\031\n\021con" + "tinuationToken\030\002 \001(\t\022\021\n\ttotalSize\030\003 \001(\005\"" + "\331\001\n\032ListParameterTypesResponse\0224\n\007system" + "s\030\005 \003(\0132#.yamcs.protobuf.mdb.SpaceSystem" + "Info\022\030\n\014spaceSystems\030\004 \003(\tB\002\030\001\022=\n\016parame" + "terTypes\030\001 \003(\0132%.yamcs.protobuf.mdb.Para" + "meterTypeInfo\022\031\n\021continuationToken\030\002 \001(\t" + "\022\021\n\ttotalSize\030\003 \001(\005\"\307\001\n\024ListCommandsResp" + "onse\0224\n\007systems\030\005 \003(\0132#.yamcs.protobuf.m" + "db.SpaceSystemInfo\022\030\n\014spaceSystems\030\004 \003(\t" + "B\002\030\001\0221\n\010commands\030\001 \003(\0132\037.yamcs.protobuf." + "mdb.CommandInfo\022\031\n\021continuationToken\030\002 \001" + "(\t\022\021\n\ttotalSize\030\003 \001(\005\"\315\001\n\026ListAlgorithms" + "Response\0224\n\007systems\030\005 \003(\0132#.yamcs.protob" + "uf.mdb.SpaceSystemInfo\022\030\n\014spaceSystems\030\004" + " \003(\tB\002\030\001\0225\n\nalgorithms\030\001 \003(\0132!.yamcs.pro" + "tobuf.mdb.AlgorithmInfo\022\031\n\021continuationT" + "oken\030\002 \001(\t\022\021\n\ttotalSize\030\003 \001(\005\"5\n\023GetAlgo" + "rithmRequest\022\020\n\010instance\030\001 \001(\t\022\014\n\004name\030\002" + " \001(\t\"\264\002\n\026CreateParameterRequest\022\020\n\010insta" + "nce\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\030\n\020shortDescript" + "ion\030\003 \001(\t\022\027\n\017longDescription\030\004 \001(\t\022H\n\007al" + "iases\030\005 \003(\01327.yamcs.protobuf.mdb.CreateP" + "arameterRequest.AliasesEntry\0226\n\ndataSour" + "ce\030\006 \001(\0162\".yamcs.protobuf.mdb.DataSource" + "Type\022\025\n\rparameterType\030\007 \001(\t\032.\n\014AliasesEn" + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\371\003\n\032" + "CreateParameterTypeRequest\022\020\n\010instance\030\001" + " \001(\t\022\014\n\004name\030\002 \001(\t\022\030\n\020shortDescription\030\003" + " \001(\t\022\027\n\017longDescription\030\004 \001(\t\022L\n\007aliases" + "\030\005 \003(\0132;.yamcs.protobuf.mdb.CreateParame" + "terTypeRequest.AliasesEntry\022\017\n\007engType\030\006" + " \001(\t\022\014\n\004unit\030\007 \001(\t\022\016\n\006signed\030\010 \001(\010\0223\n\014de" + "faultAlarm\030\t \001(\0132\035.yamcs.protobuf.mdb.Al" + "armInfo\022;\n\rcontextAlarms\030\n \003(\0132$.yamcs.p" + "rotobuf.mdb.ContextAlarmInfo\0228\n\021enumerat" + "ionValues\030\013 \003(\0132\035.yamcs.protobuf.mdb.Enu" + "mValue\022\027\n\017zeroStringValue\030\014 \001(\t\022\026\n\016oneSt" + "ringValue\030\r \001(\t\032.\n\014AliasesEntry\022\013\n\003key\030\001" + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"-\n\031GetMissionDat" + "abaseRequest\022\020\n\010instance\030\001 \001(\t\"4\n Export" + "JavaMissionDatabaseRequest\022\020\n\010instance\030\001" + " \001(\t\"\326\001\n\034StreamMissionDatabaseRequest\022\020\n" + "\010instance\030\001 \001(\t\022\033\n\023includeSpaceSystems\030\002" + " \001(\010\022\031\n\021includeContainers\030\003 \001(\010\022\031\n\021inclu" + "deParameters\030\004 \001(\010\022\035\n\025includeParameterTy" + "pes\030\005 \001(\010\022\027\n\017includeCommands\030\006 \001(\010\022\031\n\021in" + "cludeAlgorithms\030\007 \001(\010\"\365\002\n\023MissionDatabas" + "eItem\022:\n\013spaceSystem\030\001 \001(\0132#.yamcs.proto" + "buf.mdb.SpaceSystemInfoH\000\0226\n\tcontainer\030\002" + " \001(\0132!.yamcs.protobuf.mdb.ContainerInfoH" + "\000\0226\n\tparameter\030\003 \001(\0132!.yamcs.protobuf.md" + "b.ParameterInfoH\000\022>\n\rparameterType\030\004 \001(\013" + "2%.yamcs.protobuf.mdb.ParameterTypeInfoH" + "\000\0222\n\007command\030\005 \001(\0132\037.yamcs.protobuf.mdb." + "CommandInfoH\000\0226\n\talgorithm\030\006 \001(\0132!.yamcs" + ".protobuf.mdb.AlgorithmInfoH\000B\006\n\004item\"\203\001" + "\n\030ListSpaceSystemsResponse\0229\n\014spaceSyste" + "ms\030\001 \003(\0132#.yamcs.protobuf.mdb.SpaceSyste" + "mInfo\022\031\n\021continuationToken\030\002 \001(\t\022\021\n\ttota" + "lSize\030\003 \001(\005\"7\n\025GetSpaceSystemRequest\022\020\n\010" + "instance\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\"3\n\021ExportXt" + "ceRequest\022\020\n\010instance\030\001 \001(\t\022\014\n\004name\030\002 \001(" + "\t\"3\n\021GetCommandRequest\022\020\n\010instance\030\001 \001(\t" + "\022\014\n\004name\030\002 \001(\t\"\270\003\n\017SpaceSystemInfo\022\014\n\004na" + "me\030\001 \001(\t\022\025\n\rqualifiedName\030\002 \001(\t\022\030\n\020short" + "Description\030\003 \001(\t\022\027\n\017longDescription\030\004 \001" + "(\t\022,\n\005alias\030\020 \003(\0132\035.yamcs.protobuf.Named" + "ObjectId\022\017\n\007version\030\005 \001(\t\0220\n\007history\030\016 \003" + "(\0132\037.yamcs.protobuf.mdb.HistoryInfo\0220\n\003s" + "ub\030\017 \003(\0132#.yamcs.protobuf.mdb.SpaceSyste" + "mInfo\022M\n\rancillaryData\030\021 \003(\01326.yamcs.pro" + "tobuf.mdb.SpaceSystemInfo.AncillaryDataE", "ntry\032[\n\022AncillaryDataEntry\022\013\n\003key\030\001 \001(\t\022" + "4\n\005value\030\002 \001(\0132%.yamcs.protobuf.mdb.Anci" + "llaryDataInfo:\0028\001*\256\001\n\016DataSourceType\022\017\n\013" + "TELEMETERED\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\017" + "COMMAND_HISTORY\020\006\022\r\n\tEXTERNAL1\020\007\022\r\n\tEXTE" + "RNAL2\020\010\022\r\n\tEXTERNAL3\020\t\022\n\n\006GROUND\020\n*\\\n\016Al" + "armLevelType\022\n\n\006NORMAL\020\000\022\t\n\005WATCH\020\001\022\013\n\007W" + "ARNING\020\002\022\014\n\010DISTRESS\020\003\022\014\n\010CRITICAL\020\004\022\n\n\006" + "SEVERE\020\0052\307\026\n\006MdbApi\022\203\001\n\022GetMissionDataba" + "se\022-.yamcs.protobuf.mdb.GetMissionDataba" + "seRequest\032#.yamcs.protobuf.mdb.MissionDa" + "tabase\"\031\212\222\003\025\n\023/api/mdb/{instance}\022\214\001\n\031Ex" + "portJavaMissionDatabase\0224.yamcs.protobuf" + ".mdb.ExportJavaMissionDatabaseRequest\032\023." + "yamcs.api.HttpBody\"$\212\222\003 \n\036/api/mdb/{inst" + "ance}:exportJava\022\244\001\n\020ListSpaceSystems\022+." + "yamcs.protobuf.mdb.ListSpaceSystemsReque" + "st\032,.yamcs.protobuf.mdb.ListSpaceSystems" + "Response\"5\212\222\0031\n!/api/mdb/{instance}/spac" + "e-systemsR\014spaceSystems\022\221\001\n\016GetSpaceSyst" + "em\022).yamcs.protobuf.mdb.GetSpaceSystemRe" + "quest\032#.yamcs.protobuf.mdb.SpaceSystemIn" + "fo\"/\212\222\003+\n)/api/mdb/{instance}/space-syst" + "ems/{name*}\022\221\001\n\nExportXtce\022%.yamcs.proto" + "buf.mdb.ExportXtceRequest\032\023.yamcs.api.Ht" + "tpBody\"G\212\222\003C\n4/api/mdb/{instance}/space-" + "systems/{name*}:exportXTCEj\013Export XTCE\022" + "\247\001\n\025StreamMissionDatabase\0220.yamcs.protob" + "uf.mdb.StreamMissionDatabaseRequest\032\'.ya" + "mcs.protobuf.mdb.MissionDatabaseItem\"1\212\222" + "\003-\n)/api/mdb/{instance}:streamMissionDat" + "abaseH\0010\001\022\231\001\n\016ListParameters\022).yamcs.pro" + "tobuf.mdb.ListParametersRequest\032*.yamcs." + "protobuf.mdb.ListParametersResponse\"0\212\222\003" + ",\n\036/api/mdb/{instance}/parametersR\nparam" + "eters\022\210\001\n\014GetParameter\022\'.yamcs.protobuf." + "mdb.GetParameterRequest\032!.yamcs.protobuf" + ".mdb.ParameterInfo\",\212\222\003(\n&/api/mdb/{inst" + "ance}/parameters/{name*}\022\211\001\n\017CreateParam" + "eter\022*.yamcs.protobuf.mdb.CreateParamete" + "rRequest\032!.yamcs.protobuf.mdb.ParameterI" + "nfo\"\'\212\222\003#\032\036/api/mdb/{instance}/parameter" + "s:\001*\022\245\001\n\022BatchGetParameters\022-.yamcs.prot" + "obuf.mdb.BatchGetParametersRequest\032..yam" + "cs.protobuf.mdb.BatchGetParametersRespon" + "se\"0\212\222\003,\032\'/api/mdb/{instance}/parameters" + ":batchGet:\001*\022\256\001\n\022ListParameterTypes\022-.ya" + "mcs.protobuf.mdb.ListParameterTypesReque" + "st\032..yamcs.protobuf.mdb.ListParameterTyp" + "esResponse\"9\212\222\0035\n#/api/mdb/{instance}/pa" + "rameter-typesR\016parameterTypes\022\231\001\n\020GetPar" + "ameterType\022+.yamcs.protobuf.mdb.GetParam" + "eterTypeRequest\032%.yamcs.protobuf.mdb.Par" + "ameterTypeInfo\"1\212\222\003-\n+/api/mdb/{instance" + "}/parameter-types/{name*}\022\232\001\n\023CreatePara" + "meterType\022..yamcs.protobuf.mdb.CreatePar" + "ameterTypeRequest\032%.yamcs.protobuf.mdb.P" + "arameterTypeInfo\",\212\222\003(\032#/api/mdb/{instan" + "ce}/parameter-types:\001*\022\231\001\n\016ListContainer" + "s\022).yamcs.protobuf.mdb.ListContainersReq" + "uest\032*.yamcs.protobuf.mdb.ListContainers" + "Response\"0\212\222\003,\n\036/api/mdb/{instance}/cont" + "ainersR\ncontainers\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\217\001" + "\n\014ListCommands\022\'.yamcs.protobuf.mdb.List" + "CommandsRequest\032(.yamcs.protobuf.mdb.Lis" + "tCommandsResponse\",\212\222\003(\n\034/api/mdb/{insta" + "nce}/commandsR\010commands\022\200\001\n\nGetCommand\022%" + ".yamcs.protobuf.mdb.GetCommandRequest\032\037." + "yamcs.protobuf.mdb.CommandInfo\"*\212\222\003&\n$/a" + "pi/mdb/{instance}/commands/{name*}\022\231\001\n\016L" + "istAlgorithms\022).yamcs.protobuf.mdb.ListA" + "lgorithmsRequest\032*.yamcs.protobuf.mdb.Li" + "stAlgorithmsResponse\"0\212\222\003,\n\036/api/mdb/{in" + "stance}/algorithmsR\nalgorithms\022\210\001\n\014GetAl" + "gorithm\022\'.yamcs.protobuf.mdb.GetAlgorith" + "mRequest\032!.yamcs.protobuf.mdb.AlgorithmI" + "nfo\",\212\222\003(\n&/api/mdb/{instance}/algorithm" + "s/{name*}\032\007\202\200\001\003MDBB\024\n\022org.yamcs.protobuf" }; descriptor = 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(), }); 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", "SpaceSystems", "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", "StaticAlarmRanges", "EnumerationAlarm", "EnumerationAlarms", "DefaultLevel", }); 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", "ContextCalibrators", }); 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", "Coefficients", }); 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", "Points", }); 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", "Description", }); 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[] { "Name", "QualifiedName", "ShortDescription", "LongDescription", "Alias", "EngType", "DataEncoding", "UnitSet", "DefaultAlarm", "EnumValue", "AbsoluteTimeInfo", "ContextAlarm", "Member", "ArrayInfo", "AncillaryData", "NumberFormat", "Signed", "SizeInBits", "ZeroStringValue", "OneStringValue", "UsedBy", }); internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_AncillaryDataEntry_descriptor = internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_descriptor.getNestedTypes().get(0); internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_AncillaryDataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ParameterTypeInfo_AncillaryDataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_yamcs_protobuf_mdb_NumberFormatTypeInfo_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_yamcs_protobuf_mdb_NumberFormatTypeInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_NumberFormatTypeInfo_descriptor, new java.lang.String[] { "NumberBase", "MinimumFractionDigits", "MaximumFractionDigits", "MinimumIntegerDigits", "MaximumIntegerDigits", "NegativeSuffix", "PositiveSuffix", "NegativePrefix", "PositivePrefix", "ShowThousandsGrouping", "Notation", }); 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_GetParameterTypeRequest_descriptor = getDescriptor().getMessageTypes().get(17); 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_AbsoluteTimeInfo_descriptor = getDescriptor().getMessageTypes().get(18); 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(19); 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", "ShortDescription", "LongDescription", "Alias", "Type", }); internal_static_yamcs_protobuf_mdb_ArgumentMemberInfo_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_yamcs_protobuf_mdb_ArgumentMemberInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ArgumentMemberInfo_descriptor, new java.lang.String[] { "Name", "ShortDescription", "LongDescription", "Alias", "Type", "InitialValue", }); internal_static_yamcs_protobuf_mdb_ParameterDimensionInfo_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_yamcs_protobuf_mdb_ParameterDimensionInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ParameterDimensionInfo_descriptor, new java.lang.String[] { "FixedValue", "Parameter", "Slope", "Intercept", }); internal_static_yamcs_protobuf_mdb_ArrayInfo_descriptor = getDescriptor().getMessageTypes().get(22); 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(23); 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(24); 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", "AncillaryData", "Path", }); internal_static_yamcs_protobuf_mdb_ParameterInfo_AncillaryDataEntry_descriptor = internal_static_yamcs_protobuf_mdb_ParameterInfo_descriptor.getNestedTypes().get(0); internal_static_yamcs_protobuf_mdb_ParameterInfo_AncillaryDataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ParameterInfo_AncillaryDataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_yamcs_protobuf_mdb_AncillaryDataInfo_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_yamcs_protobuf_mdb_AncillaryDataInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_AncillaryDataInfo_descriptor, new java.lang.String[] { "Value", "MimeType", "Href", }); internal_static_yamcs_protobuf_mdb_ArgumentTypeInfo_descriptor = getDescriptor().getMessageTypes().get(26); 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", "Member", "ZeroStringValue", "OneStringValue", "MinChars", "MaxChars", "Signed", "MinBytes", "MaxBytes", "Dimensions", "ElementType", "Name", }); internal_static_yamcs_protobuf_mdb_ArgumentDimensionInfo_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_yamcs_protobuf_mdb_ArgumentDimensionInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ArgumentDimensionInfo_descriptor, new java.lang.String[] { "FixedValue", "Parameter", "Argument", "Slope", "Intercept", }); internal_static_yamcs_protobuf_mdb_ArgumentInfo_descriptor = getDescriptor().getMessageTypes().get(28); 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(29); 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(30); 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(31); 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", "Argument", }); internal_static_yamcs_protobuf_mdb_TransmissionConstraintInfo_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_yamcs_protobuf_mdb_TransmissionConstraintInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_TransmissionConstraintInfo_descriptor, new java.lang.String[] { "Expression", "Timeout", }); internal_static_yamcs_protobuf_mdb_CommandInfo_descriptor = getDescriptor().getMessageTypes().get(33); 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", "AncillaryData", "EffectiveSignificance", }); internal_static_yamcs_protobuf_mdb_CommandInfo_AncillaryDataEntry_descriptor = internal_static_yamcs_protobuf_mdb_CommandInfo_descriptor.getNestedTypes().get(0); internal_static_yamcs_protobuf_mdb_CommandInfo_AncillaryDataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_CommandInfo_AncillaryDataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_yamcs_protobuf_mdb_VerifierInfo_descriptor = getDescriptor().getMessageTypes().get(34); 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", "Expression", }); internal_static_yamcs_protobuf_mdb_CheckWindowInfo_descriptor = getDescriptor().getMessageTypes().get(35); 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(36); 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(37); 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", "IndirectParameterRef", }); internal_static_yamcs_protobuf_mdb_FixedValueInfo_descriptor = getDescriptor().getMessageTypes().get(38); 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(39); 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_IndirectParameterRefInfo_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_yamcs_protobuf_mdb_IndirectParameterRefInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_IndirectParameterRefInfo_descriptor, new java.lang.String[] { "Parameter", "AliasNamespace", }); internal_static_yamcs_protobuf_mdb_ContainerInfo_descriptor = getDescriptor().getMessageTypes().get(41); 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", "RestrictionCriteriaExpression", "Entry", "UsedBy", "AncillaryData", "ArchivePartition", }); internal_static_yamcs_protobuf_mdb_ContainerInfo_AncillaryDataEntry_descriptor = internal_static_yamcs_protobuf_mdb_ContainerInfo_descriptor.getNestedTypes().get(0); internal_static_yamcs_protobuf_mdb_ContainerInfo_AncillaryDataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ContainerInfo_AncillaryDataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_yamcs_protobuf_mdb_InputParameterInfo_descriptor = getDescriptor().getMessageTypes().get(42); 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", "Argument", }); internal_static_yamcs_protobuf_mdb_OutputParameterInfo_descriptor = getDescriptor().getMessageTypes().get(43); 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_MathElement_descriptor = getDescriptor().getMessageTypes().get(44); internal_static_yamcs_protobuf_mdb_MathElement_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_MathElement_descriptor, new java.lang.String[] { "Type", "Operator", "Value", "Parameter", "ParameterInstance", }); internal_static_yamcs_protobuf_mdb_AlgorithmInfo_descriptor = getDescriptor().getMessageTypes().get(45); 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", "Type", "Language", "Text", "InputParameter", "OutputParameter", "OnParameterUpdate", "OnPeriodicRate", "MathElements", }); internal_static_yamcs_protobuf_mdb_ListSpaceSystemsRequest_descriptor = getDescriptor().getMessageTypes().get(46); 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_ListContainersRequest_descriptor = getDescriptor().getMessageTypes().get(47); 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_ListParameterTypesRequest_descriptor = getDescriptor().getMessageTypes().get(48); 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", "System", "Next", "Pos", "Limit", }); internal_static_yamcs_protobuf_mdb_ListAlgorithmsRequest_descriptor = getDescriptor().getMessageTypes().get(49); 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", "Scope", }); internal_static_yamcs_protobuf_mdb_ListCommandsRequest_descriptor = getDescriptor().getMessageTypes().get(50); 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(51); 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(52); 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", "SearchMembers", "Details", "Type", "Source", "System", "Next", "Pos", "Limit", }); internal_static_yamcs_protobuf_mdb_ListParametersResponse_descriptor = getDescriptor().getMessageTypes().get(53); internal_static_yamcs_protobuf_mdb_ListParametersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListParametersResponse_descriptor, new java.lang.String[] { "Systems", "SpaceSystems", "Parameters", "ContinuationToken", "TotalSize", }); internal_static_yamcs_protobuf_mdb_BatchGetParametersRequest_descriptor = getDescriptor().getMessageTypes().get(54); 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(55); 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(56); internal_static_yamcs_protobuf_mdb_ListContainersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListContainersResponse_descriptor, new java.lang.String[] { "Systems", "SpaceSystems", "Containers", "ContinuationToken", "TotalSize", }); internal_static_yamcs_protobuf_mdb_ListParameterTypesResponse_descriptor = getDescriptor().getMessageTypes().get(57); internal_static_yamcs_protobuf_mdb_ListParameterTypesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListParameterTypesResponse_descriptor, new java.lang.String[] { "Systems", "SpaceSystems", "ParameterTypes", "ContinuationToken", "TotalSize", }); internal_static_yamcs_protobuf_mdb_ListCommandsResponse_descriptor = getDescriptor().getMessageTypes().get(58); internal_static_yamcs_protobuf_mdb_ListCommandsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListCommandsResponse_descriptor, new java.lang.String[] { "Systems", "SpaceSystems", "Commands", "ContinuationToken", "TotalSize", }); internal_static_yamcs_protobuf_mdb_ListAlgorithmsResponse_descriptor = getDescriptor().getMessageTypes().get(59); internal_static_yamcs_protobuf_mdb_ListAlgorithmsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ListAlgorithmsResponse_descriptor, new java.lang.String[] { "Systems", "SpaceSystems", "Algorithms", "ContinuationToken", "TotalSize", }); internal_static_yamcs_protobuf_mdb_GetAlgorithmRequest_descriptor = getDescriptor().getMessageTypes().get(60); 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_CreateParameterRequest_descriptor = getDescriptor().getMessageTypes().get(61); internal_static_yamcs_protobuf_mdb_CreateParameterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_CreateParameterRequest_descriptor, new java.lang.String[] { "Instance", "Name", "ShortDescription", "LongDescription", "Aliases", "DataSource", "ParameterType", }); internal_static_yamcs_protobuf_mdb_CreateParameterRequest_AliasesEntry_descriptor = internal_static_yamcs_protobuf_mdb_CreateParameterRequest_descriptor.getNestedTypes().get(0); internal_static_yamcs_protobuf_mdb_CreateParameterRequest_AliasesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_CreateParameterRequest_AliasesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_descriptor = getDescriptor().getMessageTypes().get(62); internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_descriptor, new java.lang.String[] { "Instance", "Name", "ShortDescription", "LongDescription", "Aliases", "EngType", "Unit", "Signed", "DefaultAlarm", "ContextAlarms", "EnumerationValues", "ZeroStringValue", "OneStringValue", }); internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_AliasesEntry_descriptor = internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_descriptor.getNestedTypes().get(0); internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_AliasesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_CreateParameterTypeRequest_AliasesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_yamcs_protobuf_mdb_GetMissionDatabaseRequest_descriptor = getDescriptor().getMessageTypes().get(63); 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(64); 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_StreamMissionDatabaseRequest_descriptor = getDescriptor().getMessageTypes().get(65); internal_static_yamcs_protobuf_mdb_StreamMissionDatabaseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_StreamMissionDatabaseRequest_descriptor, new java.lang.String[] { "Instance", "IncludeSpaceSystems", "IncludeContainers", "IncludeParameters", "IncludeParameterTypes", "IncludeCommands", "IncludeAlgorithms", }); internal_static_yamcs_protobuf_mdb_MissionDatabaseItem_descriptor = getDescriptor().getMessageTypes().get(66); internal_static_yamcs_protobuf_mdb_MissionDatabaseItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_MissionDatabaseItem_descriptor, new java.lang.String[] { "SpaceSystem", "Container", "Parameter", "ParameterType", "Command", "Algorithm", "Item", }); internal_static_yamcs_protobuf_mdb_ListSpaceSystemsResponse_descriptor = getDescriptor().getMessageTypes().get(67); 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(68); 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_ExportXtceRequest_descriptor = getDescriptor().getMessageTypes().get(69); internal_static_yamcs_protobuf_mdb_ExportXtceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_ExportXtceRequest_descriptor, new java.lang.String[] { "Instance", "Name", }); internal_static_yamcs_protobuf_mdb_GetCommandRequest_descriptor = getDescriptor().getMessageTypes().get(70); 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(71); 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", "Alias", "Version", "History", "Sub", "AncillaryData", }); internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_AncillaryDataEntry_descriptor = internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_descriptor.getNestedTypes().get(0); internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_AncillaryDataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yamcs_protobuf_mdb_SpaceSystemInfo_AncillaryDataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(org.yamcs.api.AnnotationsProto.label); 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 - 2025 Weber Informatics LLC | Privacy Policy