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

org.yamcs.protobuf.GetServerInfoResponse 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/server/server_service.proto

package org.yamcs.protobuf;

/**
 * Protobuf type {@code yamcs.protobuf.server.GetServerInfoResponse}
 */
public final class GetServerInfoResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:yamcs.protobuf.server.GetServerInfoResponse)
    GetServerInfoResponseOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GetServerInfoResponse.newBuilder() to construct.
  private GetServerInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private GetServerInfoResponse() {
    yamcsVersion_ = "";
    revision_ = "";
    serverId_ = "";
    defaultYamcsInstance_ = "";
    plugins_ = java.util.Collections.emptyList();
    commandOptions_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private GetServerInfoResponse(
      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;
            yamcsVersion_ = bs;
            break;
          }
          case 18: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000004;
            serverId_ = bs;
            break;
          }
          case 26: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000008;
            defaultYamcsInstance_ = bs;
            break;
          }
          case 42: {
            if (!((mutable_bitField0_ & 0x00000010) != 0)) {
              plugins_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000010;
            }
            plugins_.add(
                input.readMessage(org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.PARSER, extensionRegistry));
            break;
          }
          case 50: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000002;
            revision_ = bs;
            break;
          }
          case 58: {
            if (!((mutable_bitField0_ & 0x00000020) != 0)) {
              commandOptions_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000020;
            }
            commandOptions_.add(
                input.readMessage(org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.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)) {
        plugins_ = java.util.Collections.unmodifiableList(plugins_);
      }
      if (((mutable_bitField0_ & 0x00000020) != 0)) {
        commandOptions_ = java.util.Collections.unmodifiableList(commandOptions_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_descriptor;
  }

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

  public interface PluginInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yamcs.protobuf.server.GetServerInfoResponse.PluginInfo)
      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 version = 3;
     * @return Whether the version field is set.
     */
    boolean hasVersion();
    /**
     * optional string version = 3;
     * @return The version.
     */
    java.lang.String getVersion();
    /**
     * optional string version = 3;
     * @return The bytes for version.
     */
    com.google.protobuf.ByteString
        getVersionBytes();

    /**
     * optional string vendor = 4;
     * @return Whether the vendor field is set.
     */
    boolean hasVendor();
    /**
     * optional string vendor = 4;
     * @return The vendor.
     */
    java.lang.String getVendor();
    /**
     * optional string vendor = 4;
     * @return The bytes for vendor.
     */
    com.google.protobuf.ByteString
        getVendorBytes();
  }
  /**
   * Protobuf type {@code yamcs.protobuf.server.GetServerInfoResponse.PluginInfo}
   */
  public static final class PluginInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:yamcs.protobuf.server.GetServerInfoResponse.PluginInfo)
      PluginInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PluginInfo.newBuilder() to construct.
    private PluginInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private PluginInfo() {
      name_ = "";
      description_ = "";
      version_ = "";
      vendor_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PluginInfo(
        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 26: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000004;
              version_ = bs;
              break;
            }
            case 34: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000008;
              vendor_ = 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.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_PluginInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_PluginInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.class, org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.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 VERSION_FIELD_NUMBER = 3;
    private volatile java.lang.Object version_;
    /**
     * optional string version = 3;
     * @return Whether the version field is set.
     */
    @java.lang.Override
    public boolean hasVersion() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * 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;
      }
    }
    /**
     * 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 VENDOR_FIELD_NUMBER = 4;
    private volatile java.lang.Object vendor_;
    /**
     * optional string vendor = 4;
     * @return Whether the vendor field is set.
     */
    @java.lang.Override
    public boolean hasVendor() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * optional string vendor = 4;
     * @return The vendor.
     */
    @java.lang.Override
    public java.lang.String getVendor() {
      java.lang.Object ref = vendor_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          vendor_ = s;
        }
        return s;
      }
    }
    /**
     * optional string vendor = 4;
     * @return The bytes for vendor.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getVendorBytes() {
      java.lang.Object ref = vendor_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        vendor_ = 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, description_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, version_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, vendor_);
      }
      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(3, version_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, vendor_);
      }
      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.GetServerInfoResponse.PluginInfo)) {
        return super.equals(obj);
      }
      org.yamcs.protobuf.GetServerInfoResponse.PluginInfo other = (org.yamcs.protobuf.GetServerInfoResponse.PluginInfo) 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 (hasVersion() != other.hasVersion()) return false;
      if (hasVersion()) {
        if (!getVersion()
            .equals(other.getVersion())) return false;
      }
      if (hasVendor() != other.hasVendor()) return false;
      if (hasVendor()) {
        if (!getVendor()
            .equals(other.getVendor())) 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 (hasVersion()) {
        hash = (37 * hash) + VERSION_FIELD_NUMBER;
        hash = (53 * hash) + getVersion().hashCode();
      }
      if (hasVendor()) {
        hash = (37 * hash) + VENDOR_FIELD_NUMBER;
        hash = (53 * hash) + getVendor().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.yamcs.protobuf.GetServerInfoResponse.PluginInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.PluginInfo 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.GetServerInfoResponse.PluginInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.PluginInfo 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.GetServerInfoResponse.PluginInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.PluginInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.PluginInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.PluginInfo 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.GetServerInfoResponse.PluginInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.PluginInfo 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.GetServerInfoResponse.PluginInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.PluginInfo 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.GetServerInfoResponse.PluginInfo 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.server.GetServerInfoResponse.PluginInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:yamcs.protobuf.server.GetServerInfoResponse.PluginInfo)
        org.yamcs.protobuf.GetServerInfoResponse.PluginInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_PluginInfo_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_PluginInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.class, org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.Builder.class);
      }

      // Construct using org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.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);
        description_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        version_ = "";
        bitField0_ = (bitField0_ & ~0x00000004);
        vendor_ = "";
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_PluginInfo_descriptor;
      }

      @java.lang.Override
      public org.yamcs.protobuf.GetServerInfoResponse.PluginInfo getDefaultInstanceForType() {
        return org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.getDefaultInstance();
      }

      @java.lang.Override
      public org.yamcs.protobuf.GetServerInfoResponse.PluginInfo build() {
        org.yamcs.protobuf.GetServerInfoResponse.PluginInfo result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.yamcs.protobuf.GetServerInfoResponse.PluginInfo buildPartial() {
        org.yamcs.protobuf.GetServerInfoResponse.PluginInfo result = new org.yamcs.protobuf.GetServerInfoResponse.PluginInfo(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.version_ = version_;
        if (((from_bitField0_ & 0x00000008) != 0)) {
          to_bitField0_ |= 0x00000008;
        }
        result.vendor_ = vendor_;
        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.GetServerInfoResponse.PluginInfo) {
          return mergeFrom((org.yamcs.protobuf.GetServerInfoResponse.PluginInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.yamcs.protobuf.GetServerInfoResponse.PluginInfo other) {
        if (other == org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.getDefaultInstance()) return this;
        if (other.hasName()) {
          bitField0_ |= 0x00000001;
          name_ = other.name_;
          onChanged();
        }
        if (other.hasDescription()) {
          bitField0_ |= 0x00000002;
          description_ = other.description_;
          onChanged();
        }
        if (other.hasVersion()) {
          bitField0_ |= 0x00000004;
          version_ = other.version_;
          onChanged();
        }
        if (other.hasVendor()) {
          bitField0_ |= 0x00000008;
          vendor_ = other.vendor_;
          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.GetServerInfoResponse.PluginInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.yamcs.protobuf.GetServerInfoResponse.PluginInfo) 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 version_ = "";
      /**
       * optional string version = 3;
       * @return Whether the version field is set.
       */
      public boolean hasVersion() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * 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;
        }
      }
      /**
       * 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;
        }
      }
      /**
       * 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;
      }
      /**
       * optional string version = 3;
       * @return This builder for chaining.
       */
      public Builder clearVersion() {
        bitField0_ = (bitField0_ & ~0x00000004);
        version_ = getDefaultInstance().getVersion();
        onChanged();
        return this;
      }
      /**
       * 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.lang.Object vendor_ = "";
      /**
       * optional string vendor = 4;
       * @return Whether the vendor field is set.
       */
      public boolean hasVendor() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * optional string vendor = 4;
       * @return The vendor.
       */
      public java.lang.String getVendor() {
        java.lang.Object ref = vendor_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            vendor_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * optional string vendor = 4;
       * @return The bytes for vendor.
       */
      public com.google.protobuf.ByteString
          getVendorBytes() {
        java.lang.Object ref = vendor_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          vendor_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * optional string vendor = 4;
       * @param value The vendor to set.
       * @return This builder for chaining.
       */
      public Builder setVendor(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
        vendor_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string vendor = 4;
       * @return This builder for chaining.
       */
      public Builder clearVendor() {
        bitField0_ = (bitField0_ & ~0x00000008);
        vendor_ = getDefaultInstance().getVendor();
        onChanged();
        return this;
      }
      /**
       * optional string vendor = 4;
       * @param value The bytes for vendor to set.
       * @return This builder for chaining.
       */
      public Builder setVendorBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
        vendor_ = 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.server.GetServerInfoResponse.PluginInfo)
    }

    // @@protoc_insertion_point(class_scope:yamcs.protobuf.server.GetServerInfoResponse.PluginInfo)
    private static final org.yamcs.protobuf.GetServerInfoResponse.PluginInfo DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.yamcs.protobuf.GetServerInfoResponse.PluginInfo();
    }

    public static org.yamcs.protobuf.GetServerInfoResponse.PluginInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public PluginInfo parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new PluginInfo(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.GetServerInfoResponse.PluginInfo getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface CommandOptionInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional string id = 1;
     * @return Whether the id field is set.
     */
    boolean hasId();
    /**
     * optional string id = 1;
     * @return The id.
     */
    java.lang.String getId();
    /**
     * optional string id = 1;
     * @return The bytes for id.
     */
    com.google.protobuf.ByteString
        getIdBytes();

    /**
     * optional string verboseName = 2;
     * @return Whether the verboseName field is set.
     */
    boolean hasVerboseName();
    /**
     * optional string verboseName = 2;
     * @return The verboseName.
     */
    java.lang.String getVerboseName();
    /**
     * optional string verboseName = 2;
     * @return The bytes for verboseName.
     */
    com.google.protobuf.ByteString
        getVerboseNameBytes();

    /**
     * optional string type = 3;
     * @return Whether the type field is set.
     */
    boolean hasType();
    /**
     * optional string type = 3;
     * @return The type.
     */
    java.lang.String getType();
    /**
     * optional string type = 3;
     * @return The bytes for type.
     */
    com.google.protobuf.ByteString
        getTypeBytes();

    /**
     * optional string help = 4;
     * @return Whether the help field is set.
     */
    boolean hasHelp();
    /**
     * optional string help = 4;
     * @return The help.
     */
    java.lang.String getHelp();
    /**
     * optional string help = 4;
     * @return The bytes for help.
     */
    com.google.protobuf.ByteString
        getHelpBytes();
  }
  /**
   * Protobuf type {@code yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo}
   */
  public static final class CommandOptionInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo)
      CommandOptionInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CommandOptionInfo.newBuilder() to construct.
    private CommandOptionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private CommandOptionInfo() {
      id_ = "";
      verboseName_ = "";
      type_ = "";
      help_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CommandOptionInfo(
        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;
              id_ = bs;
              break;
            }
            case 18: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000002;
              verboseName_ = bs;
              break;
            }
            case 26: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000004;
              type_ = bs;
              break;
            }
            case 34: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000008;
              help_ = 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.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_CommandOptionInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_CommandOptionInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.class, org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.Builder.class);
    }

    private int bitField0_;
    public static final int ID_FIELD_NUMBER = 1;
    private volatile java.lang.Object id_;
    /**
     * optional string id = 1;
     * @return Whether the id field is set.
     */
    @java.lang.Override
    public boolean hasId() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional string id = 1;
     * @return The id.
     */
    @java.lang.Override
    public java.lang.String getId() {
      java.lang.Object ref = id_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          id_ = s;
        }
        return s;
      }
    }
    /**
     * optional string id = 1;
     * @return The bytes for id.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getIdBytes() {
      java.lang.Object ref = id_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        id_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int VERBOSENAME_FIELD_NUMBER = 2;
    private volatile java.lang.Object verboseName_;
    /**
     * optional string verboseName = 2;
     * @return Whether the verboseName field is set.
     */
    @java.lang.Override
    public boolean hasVerboseName() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional string verboseName = 2;
     * @return The verboseName.
     */
    @java.lang.Override
    public java.lang.String getVerboseName() {
      java.lang.Object ref = verboseName_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          verboseName_ = s;
        }
        return s;
      }
    }
    /**
     * optional string verboseName = 2;
     * @return The bytes for verboseName.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getVerboseNameBytes() {
      java.lang.Object ref = verboseName_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        verboseName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TYPE_FIELD_NUMBER = 3;
    private volatile java.lang.Object type_;
    /**
     * optional string type = 3;
     * @return Whether the type field is set.
     */
    @java.lang.Override
    public boolean hasType() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * optional string type = 3;
     * @return The type.
     */
    @java.lang.Override
    public java.lang.String getType() {
      java.lang.Object ref = type_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          type_ = s;
        }
        return s;
      }
    }
    /**
     * optional string type = 3;
     * @return The bytes for type.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getTypeBytes() {
      java.lang.Object ref = type_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        type_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int HELP_FIELD_NUMBER = 4;
    private volatile java.lang.Object help_;
    /**
     * optional string help = 4;
     * @return Whether the help field is set.
     */
    @java.lang.Override
    public boolean hasHelp() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * optional string help = 4;
     * @return The help.
     */
    @java.lang.Override
    public java.lang.String getHelp() {
      java.lang.Object ref = help_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          help_ = s;
        }
        return s;
      }
    }
    /**
     * optional string help = 4;
     * @return The bytes for help.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getHelpBytes() {
      java.lang.Object ref = help_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        help_ = 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, id_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, verboseName_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, help_);
      }
      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, id_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, verboseName_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, help_);
      }
      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.GetServerInfoResponse.CommandOptionInfo)) {
        return super.equals(obj);
      }
      org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo other = (org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo) obj;

      if (hasId() != other.hasId()) return false;
      if (hasId()) {
        if (!getId()
            .equals(other.getId())) return false;
      }
      if (hasVerboseName() != other.hasVerboseName()) return false;
      if (hasVerboseName()) {
        if (!getVerboseName()
            .equals(other.getVerboseName())) return false;
      }
      if (hasType() != other.hasType()) return false;
      if (hasType()) {
        if (!getType()
            .equals(other.getType())) return false;
      }
      if (hasHelp() != other.hasHelp()) return false;
      if (hasHelp()) {
        if (!getHelp()
            .equals(other.getHelp())) 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 (hasVerboseName()) {
        hash = (37 * hash) + VERBOSENAME_FIELD_NUMBER;
        hash = (53 * hash) + getVerboseName().hashCode();
      }
      if (hasType()) {
        hash = (37 * hash) + TYPE_FIELD_NUMBER;
        hash = (53 * hash) + getType().hashCode();
      }
      if (hasHelp()) {
        hash = (37 * hash) + HELP_FIELD_NUMBER;
        hash = (53 * hash) + getHelp().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo 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.GetServerInfoResponse.CommandOptionInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo 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.GetServerInfoResponse.CommandOptionInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo 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.GetServerInfoResponse.CommandOptionInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo 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.GetServerInfoResponse.CommandOptionInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo 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.GetServerInfoResponse.CommandOptionInfo 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.server.GetServerInfoResponse.CommandOptionInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo)
        org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_CommandOptionInfo_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_CommandOptionInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.class, org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.Builder.class);
      }

      // Construct using org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.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();
        id_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        verboseName_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        type_ = "";
        bitField0_ = (bitField0_ & ~0x00000004);
        help_ = "";
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_CommandOptionInfo_descriptor;
      }

      @java.lang.Override
      public org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo getDefaultInstanceForType() {
        return org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.getDefaultInstance();
      }

      @java.lang.Override
      public org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo build() {
        org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo buildPartial() {
        org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo result = new org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          to_bitField0_ |= 0x00000001;
        }
        result.id_ = id_;
        if (((from_bitField0_ & 0x00000002) != 0)) {
          to_bitField0_ |= 0x00000002;
        }
        result.verboseName_ = verboseName_;
        if (((from_bitField0_ & 0x00000004) != 0)) {
          to_bitField0_ |= 0x00000004;
        }
        result.type_ = type_;
        if (((from_bitField0_ & 0x00000008) != 0)) {
          to_bitField0_ |= 0x00000008;
        }
        result.help_ = help_;
        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.GetServerInfoResponse.CommandOptionInfo) {
          return mergeFrom((org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo other) {
        if (other == org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.getDefaultInstance()) return this;
        if (other.hasId()) {
          bitField0_ |= 0x00000001;
          id_ = other.id_;
          onChanged();
        }
        if (other.hasVerboseName()) {
          bitField0_ |= 0x00000002;
          verboseName_ = other.verboseName_;
          onChanged();
        }
        if (other.hasType()) {
          bitField0_ |= 0x00000004;
          type_ = other.type_;
          onChanged();
        }
        if (other.hasHelp()) {
          bitField0_ |= 0x00000008;
          help_ = other.help_;
          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.GetServerInfoResponse.CommandOptionInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object id_ = "";
      /**
       * optional string id = 1;
       * @return Whether the id field is set.
       */
      public boolean hasId() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * optional string id = 1;
       * @return The id.
       */
      public java.lang.String getId() {
        java.lang.Object ref = id_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            id_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * optional string id = 1;
       * @return The bytes for id.
       */
      public com.google.protobuf.ByteString
          getIdBytes() {
        java.lang.Object ref = id_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          id_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * optional string id = 1;
       * @param value The id to set.
       * @return This builder for chaining.
       */
      public Builder setId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        id_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string id = 1;
       * @return This builder for chaining.
       */
      public Builder clearId() {
        bitField0_ = (bitField0_ & ~0x00000001);
        id_ = getDefaultInstance().getId();
        onChanged();
        return this;
      }
      /**
       * optional string id = 1;
       * @param value The bytes for id to set.
       * @return This builder for chaining.
       */
      public Builder setIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        id_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object verboseName_ = "";
      /**
       * optional string verboseName = 2;
       * @return Whether the verboseName field is set.
       */
      public boolean hasVerboseName() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * optional string verboseName = 2;
       * @return The verboseName.
       */
      public java.lang.String getVerboseName() {
        java.lang.Object ref = verboseName_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            verboseName_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * optional string verboseName = 2;
       * @return The bytes for verboseName.
       */
      public com.google.protobuf.ByteString
          getVerboseNameBytes() {
        java.lang.Object ref = verboseName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          verboseName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * optional string verboseName = 2;
       * @param value The verboseName to set.
       * @return This builder for chaining.
       */
      public Builder setVerboseName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        verboseName_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string verboseName = 2;
       * @return This builder for chaining.
       */
      public Builder clearVerboseName() {
        bitField0_ = (bitField0_ & ~0x00000002);
        verboseName_ = getDefaultInstance().getVerboseName();
        onChanged();
        return this;
      }
      /**
       * optional string verboseName = 2;
       * @param value The bytes for verboseName to set.
       * @return This builder for chaining.
       */
      public Builder setVerboseNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        verboseName_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object type_ = "";
      /**
       * optional string type = 3;
       * @return Whether the type field is set.
       */
      public boolean hasType() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * optional string type = 3;
       * @return The type.
       */
      public java.lang.String getType() {
        java.lang.Object ref = type_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            type_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * optional string type = 3;
       * @return The bytes for type.
       */
      public com.google.protobuf.ByteString
          getTypeBytes() {
        java.lang.Object ref = type_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          type_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * optional string type = 3;
       * @param value The type to set.
       * @return This builder for chaining.
       */
      public Builder setType(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        type_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string type = 3;
       * @return This builder for chaining.
       */
      public Builder clearType() {
        bitField0_ = (bitField0_ & ~0x00000004);
        type_ = getDefaultInstance().getType();
        onChanged();
        return this;
      }
      /**
       * optional string type = 3;
       * @param value The bytes for type to set.
       * @return This builder for chaining.
       */
      public Builder setTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        type_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object help_ = "";
      /**
       * optional string help = 4;
       * @return Whether the help field is set.
       */
      public boolean hasHelp() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * optional string help = 4;
       * @return The help.
       */
      public java.lang.String getHelp() {
        java.lang.Object ref = help_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            help_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * optional string help = 4;
       * @return The bytes for help.
       */
      public com.google.protobuf.ByteString
          getHelpBytes() {
        java.lang.Object ref = help_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          help_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * optional string help = 4;
       * @param value The help to set.
       * @return This builder for chaining.
       */
      public Builder setHelp(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
        help_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string help = 4;
       * @return This builder for chaining.
       */
      public Builder clearHelp() {
        bitField0_ = (bitField0_ & ~0x00000008);
        help_ = getDefaultInstance().getHelp();
        onChanged();
        return this;
      }
      /**
       * optional string help = 4;
       * @param value The bytes for help to set.
       * @return This builder for chaining.
       */
      public Builder setHelpBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
        help_ = 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.server.GetServerInfoResponse.CommandOptionInfo)
    }

    // @@protoc_insertion_point(class_scope:yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo)
    private static final org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo();
    }

    public static org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public CommandOptionInfo parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new CommandOptionInfo(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.GetServerInfoResponse.CommandOptionInfo getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private int bitField0_;
  public static final int YAMCSVERSION_FIELD_NUMBER = 1;
  private volatile java.lang.Object yamcsVersion_;
  /**
   * 
   * Yamcs version derived on build time.
   * 
* * optional string yamcsVersion = 1; * @return Whether the yamcsVersion field is set. */ @java.lang.Override public boolean hasYamcsVersion() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Yamcs version derived on build time.
   * 
* * optional string yamcsVersion = 1; * @return The yamcsVersion. */ @java.lang.Override public java.lang.String getYamcsVersion() { java.lang.Object ref = yamcsVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { yamcsVersion_ = s; } return s; } } /** *
   * Yamcs version derived on build time.
   * 
* * optional string yamcsVersion = 1; * @return The bytes for yamcsVersion. */ @java.lang.Override public com.google.protobuf.ByteString getYamcsVersionBytes() { java.lang.Object ref = yamcsVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); yamcsVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REVISION_FIELD_NUMBER = 6; private volatile java.lang.Object revision_; /** *
   * Yamcs SHA-1 revision identifier. Set on
   * build time, but only if the git command
   * was available.
   * 
* * optional string revision = 6; * @return Whether the revision field is set. */ @java.lang.Override public boolean hasRevision() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Yamcs SHA-1 revision identifier. Set on
   * build time, but only if the git command
   * was available.
   * 
* * optional string revision = 6; * @return The revision. */ @java.lang.Override public java.lang.String getRevision() { java.lang.Object ref = revision_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { revision_ = s; } return s; } } /** *
   * Yamcs SHA-1 revision identifier. Set on
   * build time, but only if the git command
   * was available.
   * 
* * optional string revision = 6; * @return The bytes for revision. */ @java.lang.Override public com.google.protobuf.ByteString getRevisionBytes() { java.lang.Object ref = revision_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); revision_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SERVERID_FIELD_NUMBER = 2; private volatile java.lang.Object serverId_; /** *
   * An identifier for this server. Used in
   * system parameters.
   * 
* * optional string serverId = 2; * @return Whether the serverId field is set. */ @java.lang.Override public boolean hasServerId() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * An identifier for this server. Used in
   * system parameters.
   * 
* * optional string serverId = 2; * @return The serverId. */ @java.lang.Override public java.lang.String getServerId() { java.lang.Object ref = serverId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { serverId_ = s; } return s; } } /** *
   * An identifier for this server. Used in
   * system parameters.
   * 
* * optional string serverId = 2; * @return The bytes for serverId. */ @java.lang.Override public com.google.protobuf.ByteString getServerIdBytes() { java.lang.Object ref = serverId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serverId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULTYAMCSINSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object defaultYamcsInstance_; /** *
   * A default instance for this Yamcs installation.
   * This is a calculated suggestion. UI clients may ignore.
   * 
* * optional string defaultYamcsInstance = 3; * @return Whether the defaultYamcsInstance field is set. */ @java.lang.Override public boolean hasDefaultYamcsInstance() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * A default instance for this Yamcs installation.
   * This is a calculated suggestion. UI clients may ignore.
   * 
* * optional string defaultYamcsInstance = 3; * @return The defaultYamcsInstance. */ @java.lang.Override public java.lang.String getDefaultYamcsInstance() { java.lang.Object ref = defaultYamcsInstance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { defaultYamcsInstance_ = s; } return s; } } /** *
   * A default instance for this Yamcs installation.
   * This is a calculated suggestion. UI clients may ignore.
   * 
* * optional string defaultYamcsInstance = 3; * @return The bytes for defaultYamcsInstance. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultYamcsInstanceBytes() { java.lang.Object ref = defaultYamcsInstance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultYamcsInstance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PLUGINS_FIELD_NUMBER = 5; private java.util.List plugins_; /** *
   * Plugins loaded within this server instance
   * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ @java.lang.Override public java.util.List getPluginsList() { return plugins_; } /** *
   * Plugins loaded within this server instance
   * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ @java.lang.Override public java.util.List getPluginsOrBuilderList() { return plugins_; } /** *
   * Plugins loaded within this server instance
   * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ @java.lang.Override public int getPluginsCount() { return plugins_.size(); } /** *
   * Plugins loaded within this server instance
   * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ @java.lang.Override public org.yamcs.protobuf.GetServerInfoResponse.PluginInfo getPlugins(int index) { return plugins_.get(index); } /** *
   * Plugins loaded within this server instance
   * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ @java.lang.Override public org.yamcs.protobuf.GetServerInfoResponse.PluginInfoOrBuilder getPluginsOrBuilder( int index) { return plugins_.get(index); } public static final int COMMANDOPTIONS_FIELD_NUMBER = 7; private java.util.List commandOptions_; /** *
   * Additional options available to commands
   * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ @java.lang.Override public java.util.List getCommandOptionsList() { return commandOptions_; } /** *
   * Additional options available to commands
   * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ @java.lang.Override public java.util.List getCommandOptionsOrBuilderList() { return commandOptions_; } /** *
   * Additional options available to commands
   * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ @java.lang.Override public int getCommandOptionsCount() { return commandOptions_.size(); } /** *
   * Additional options available to commands
   * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ @java.lang.Override public org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo getCommandOptions(int index) { return commandOptions_.get(index); } /** *
   * Additional options available to commands
   * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ @java.lang.Override public org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfoOrBuilder getCommandOptionsOrBuilder( int index) { return commandOptions_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, yamcsVersion_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serverId_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, defaultYamcsInstance_); } for (int i = 0; i < plugins_.size(); i++) { output.writeMessage(5, plugins_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, revision_); } for (int i = 0; i < commandOptions_.size(); i++) { output.writeMessage(7, commandOptions_.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, yamcsVersion_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serverId_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, defaultYamcsInstance_); } for (int i = 0; i < plugins_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, plugins_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, revision_); } for (int i = 0; i < commandOptions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, commandOptions_.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.GetServerInfoResponse)) { return super.equals(obj); } org.yamcs.protobuf.GetServerInfoResponse other = (org.yamcs.protobuf.GetServerInfoResponse) obj; if (hasYamcsVersion() != other.hasYamcsVersion()) return false; if (hasYamcsVersion()) { if (!getYamcsVersion() .equals(other.getYamcsVersion())) return false; } if (hasRevision() != other.hasRevision()) return false; if (hasRevision()) { if (!getRevision() .equals(other.getRevision())) return false; } if (hasServerId() != other.hasServerId()) return false; if (hasServerId()) { if (!getServerId() .equals(other.getServerId())) return false; } if (hasDefaultYamcsInstance() != other.hasDefaultYamcsInstance()) return false; if (hasDefaultYamcsInstance()) { if (!getDefaultYamcsInstance() .equals(other.getDefaultYamcsInstance())) return false; } if (!getPluginsList() .equals(other.getPluginsList())) return false; if (!getCommandOptionsList() .equals(other.getCommandOptionsList())) 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 (hasYamcsVersion()) { hash = (37 * hash) + YAMCSVERSION_FIELD_NUMBER; hash = (53 * hash) + getYamcsVersion().hashCode(); } if (hasRevision()) { hash = (37 * hash) + REVISION_FIELD_NUMBER; hash = (53 * hash) + getRevision().hashCode(); } if (hasServerId()) { hash = (37 * hash) + SERVERID_FIELD_NUMBER; hash = (53 * hash) + getServerId().hashCode(); } if (hasDefaultYamcsInstance()) { hash = (37 * hash) + DEFAULTYAMCSINSTANCE_FIELD_NUMBER; hash = (53 * hash) + getDefaultYamcsInstance().hashCode(); } if (getPluginsCount() > 0) { hash = (37 * hash) + PLUGINS_FIELD_NUMBER; hash = (53 * hash) + getPluginsList().hashCode(); } if (getCommandOptionsCount() > 0) { hash = (37 * hash) + COMMANDOPTIONS_FIELD_NUMBER; hash = (53 * hash) + getCommandOptionsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.GetServerInfoResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.GetServerInfoResponse 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.GetServerInfoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.GetServerInfoResponse 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.GetServerInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.GetServerInfoResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.GetServerInfoResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.GetServerInfoResponse 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.GetServerInfoResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.GetServerInfoResponse 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.GetServerInfoResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.GetServerInfoResponse 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.GetServerInfoResponse 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.server.GetServerInfoResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.server.GetServerInfoResponse) org.yamcs.protobuf.GetServerInfoResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.GetServerInfoResponse.class, org.yamcs.protobuf.GetServerInfoResponse.Builder.class); } // Construct using org.yamcs.protobuf.GetServerInfoResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPluginsFieldBuilder(); getCommandOptionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); yamcsVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000001); revision_ = ""; bitField0_ = (bitField0_ & ~0x00000002); serverId_ = ""; bitField0_ = (bitField0_ & ~0x00000004); defaultYamcsInstance_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (pluginsBuilder_ == null) { plugins_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { pluginsBuilder_.clear(); } if (commandOptionsBuilder_ == null) { commandOptions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { commandOptionsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_GetServerInfoResponse_descriptor; } @java.lang.Override public org.yamcs.protobuf.GetServerInfoResponse getDefaultInstanceForType() { return org.yamcs.protobuf.GetServerInfoResponse.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.GetServerInfoResponse build() { org.yamcs.protobuf.GetServerInfoResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.GetServerInfoResponse buildPartial() { org.yamcs.protobuf.GetServerInfoResponse result = new org.yamcs.protobuf.GetServerInfoResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.yamcsVersion_ = yamcsVersion_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.revision_ = revision_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.serverId_ = serverId_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.defaultYamcsInstance_ = defaultYamcsInstance_; if (pluginsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { plugins_ = java.util.Collections.unmodifiableList(plugins_); bitField0_ = (bitField0_ & ~0x00000010); } result.plugins_ = plugins_; } else { result.plugins_ = pluginsBuilder_.build(); } if (commandOptionsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { commandOptions_ = java.util.Collections.unmodifiableList(commandOptions_); bitField0_ = (bitField0_ & ~0x00000020); } result.commandOptions_ = commandOptions_; } else { result.commandOptions_ = commandOptionsBuilder_.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.GetServerInfoResponse) { return mergeFrom((org.yamcs.protobuf.GetServerInfoResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.GetServerInfoResponse other) { if (other == org.yamcs.protobuf.GetServerInfoResponse.getDefaultInstance()) return this; if (other.hasYamcsVersion()) { bitField0_ |= 0x00000001; yamcsVersion_ = other.yamcsVersion_; onChanged(); } if (other.hasRevision()) { bitField0_ |= 0x00000002; revision_ = other.revision_; onChanged(); } if (other.hasServerId()) { bitField0_ |= 0x00000004; serverId_ = other.serverId_; onChanged(); } if (other.hasDefaultYamcsInstance()) { bitField0_ |= 0x00000008; defaultYamcsInstance_ = other.defaultYamcsInstance_; onChanged(); } if (pluginsBuilder_ == null) { if (!other.plugins_.isEmpty()) { if (plugins_.isEmpty()) { plugins_ = other.plugins_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensurePluginsIsMutable(); plugins_.addAll(other.plugins_); } onChanged(); } } else { if (!other.plugins_.isEmpty()) { if (pluginsBuilder_.isEmpty()) { pluginsBuilder_.dispose(); pluginsBuilder_ = null; plugins_ = other.plugins_; bitField0_ = (bitField0_ & ~0x00000010); pluginsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPluginsFieldBuilder() : null; } else { pluginsBuilder_.addAllMessages(other.plugins_); } } } if (commandOptionsBuilder_ == null) { if (!other.commandOptions_.isEmpty()) { if (commandOptions_.isEmpty()) { commandOptions_ = other.commandOptions_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureCommandOptionsIsMutable(); commandOptions_.addAll(other.commandOptions_); } onChanged(); } } else { if (!other.commandOptions_.isEmpty()) { if (commandOptionsBuilder_.isEmpty()) { commandOptionsBuilder_.dispose(); commandOptionsBuilder_ = null; commandOptions_ = other.commandOptions_; bitField0_ = (bitField0_ & ~0x00000020); commandOptionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCommandOptionsFieldBuilder() : null; } else { commandOptionsBuilder_.addAllMessages(other.commandOptions_); } } } 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.GetServerInfoResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.GetServerInfoResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object yamcsVersion_ = ""; /** *
     * Yamcs version derived on build time.
     * 
* * optional string yamcsVersion = 1; * @return Whether the yamcsVersion field is set. */ public boolean hasYamcsVersion() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs version derived on build time.
     * 
* * optional string yamcsVersion = 1; * @return The yamcsVersion. */ public java.lang.String getYamcsVersion() { java.lang.Object ref = yamcsVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { yamcsVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Yamcs version derived on build time.
     * 
* * optional string yamcsVersion = 1; * @return The bytes for yamcsVersion. */ public com.google.protobuf.ByteString getYamcsVersionBytes() { java.lang.Object ref = yamcsVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); yamcsVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Yamcs version derived on build time.
     * 
* * optional string yamcsVersion = 1; * @param value The yamcsVersion to set. * @return This builder for chaining. */ public Builder setYamcsVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; yamcsVersion_ = value; onChanged(); return this; } /** *
     * Yamcs version derived on build time.
     * 
* * optional string yamcsVersion = 1; * @return This builder for chaining. */ public Builder clearYamcsVersion() { bitField0_ = (bitField0_ & ~0x00000001); yamcsVersion_ = getDefaultInstance().getYamcsVersion(); onChanged(); return this; } /** *
     * Yamcs version derived on build time.
     * 
* * optional string yamcsVersion = 1; * @param value The bytes for yamcsVersion to set. * @return This builder for chaining. */ public Builder setYamcsVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; yamcsVersion_ = value; onChanged(); return this; } private java.lang.Object revision_ = ""; /** *
     * Yamcs SHA-1 revision identifier. Set on
     * build time, but only if the git command
     * was available.
     * 
* * optional string revision = 6; * @return Whether the revision field is set. */ public boolean hasRevision() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Yamcs SHA-1 revision identifier. Set on
     * build time, but only if the git command
     * was available.
     * 
* * optional string revision = 6; * @return The revision. */ public java.lang.String getRevision() { java.lang.Object ref = revision_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { revision_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Yamcs SHA-1 revision identifier. Set on
     * build time, but only if the git command
     * was available.
     * 
* * optional string revision = 6; * @return The bytes for revision. */ public com.google.protobuf.ByteString getRevisionBytes() { java.lang.Object ref = revision_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); revision_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Yamcs SHA-1 revision identifier. Set on
     * build time, but only if the git command
     * was available.
     * 
* * optional string revision = 6; * @param value The revision to set. * @return This builder for chaining. */ public Builder setRevision( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; revision_ = value; onChanged(); return this; } /** *
     * Yamcs SHA-1 revision identifier. Set on
     * build time, but only if the git command
     * was available.
     * 
* * optional string revision = 6; * @return This builder for chaining. */ public Builder clearRevision() { bitField0_ = (bitField0_ & ~0x00000002); revision_ = getDefaultInstance().getRevision(); onChanged(); return this; } /** *
     * Yamcs SHA-1 revision identifier. Set on
     * build time, but only if the git command
     * was available.
     * 
* * optional string revision = 6; * @param value The bytes for revision to set. * @return This builder for chaining. */ public Builder setRevisionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; revision_ = value; onChanged(); return this; } private java.lang.Object serverId_ = ""; /** *
     * An identifier for this server. Used in
     * system parameters.
     * 
* * optional string serverId = 2; * @return Whether the serverId field is set. */ public boolean hasServerId() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * An identifier for this server. Used in
     * system parameters.
     * 
* * optional string serverId = 2; * @return The serverId. */ public java.lang.String getServerId() { java.lang.Object ref = serverId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { serverId_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * An identifier for this server. Used in
     * system parameters.
     * 
* * optional string serverId = 2; * @return The bytes for serverId. */ public com.google.protobuf.ByteString getServerIdBytes() { java.lang.Object ref = serverId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serverId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * An identifier for this server. Used in
     * system parameters.
     * 
* * optional string serverId = 2; * @param value The serverId to set. * @return This builder for chaining. */ public Builder setServerId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; serverId_ = value; onChanged(); return this; } /** *
     * An identifier for this server. Used in
     * system parameters.
     * 
* * optional string serverId = 2; * @return This builder for chaining. */ public Builder clearServerId() { bitField0_ = (bitField0_ & ~0x00000004); serverId_ = getDefaultInstance().getServerId(); onChanged(); return this; } /** *
     * An identifier for this server. Used in
     * system parameters.
     * 
* * optional string serverId = 2; * @param value The bytes for serverId to set. * @return This builder for chaining. */ public Builder setServerIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; serverId_ = value; onChanged(); return this; } private java.lang.Object defaultYamcsInstance_ = ""; /** *
     * A default instance for this Yamcs installation.
     * This is a calculated suggestion. UI clients may ignore.
     * 
* * optional string defaultYamcsInstance = 3; * @return Whether the defaultYamcsInstance field is set. */ public boolean hasDefaultYamcsInstance() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * A default instance for this Yamcs installation.
     * This is a calculated suggestion. UI clients may ignore.
     * 
* * optional string defaultYamcsInstance = 3; * @return The defaultYamcsInstance. */ public java.lang.String getDefaultYamcsInstance() { java.lang.Object ref = defaultYamcsInstance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { defaultYamcsInstance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * A default instance for this Yamcs installation.
     * This is a calculated suggestion. UI clients may ignore.
     * 
* * optional string defaultYamcsInstance = 3; * @return The bytes for defaultYamcsInstance. */ public com.google.protobuf.ByteString getDefaultYamcsInstanceBytes() { java.lang.Object ref = defaultYamcsInstance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultYamcsInstance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * A default instance for this Yamcs installation.
     * This is a calculated suggestion. UI clients may ignore.
     * 
* * optional string defaultYamcsInstance = 3; * @param value The defaultYamcsInstance to set. * @return This builder for chaining. */ public Builder setDefaultYamcsInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; defaultYamcsInstance_ = value; onChanged(); return this; } /** *
     * A default instance for this Yamcs installation.
     * This is a calculated suggestion. UI clients may ignore.
     * 
* * optional string defaultYamcsInstance = 3; * @return This builder for chaining. */ public Builder clearDefaultYamcsInstance() { bitField0_ = (bitField0_ & ~0x00000008); defaultYamcsInstance_ = getDefaultInstance().getDefaultYamcsInstance(); onChanged(); return this; } /** *
     * A default instance for this Yamcs installation.
     * This is a calculated suggestion. UI clients may ignore.
     * 
* * optional string defaultYamcsInstance = 3; * @param value The bytes for defaultYamcsInstance to set. * @return This builder for chaining. */ public Builder setDefaultYamcsInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; defaultYamcsInstance_ = value; onChanged(); return this; } private java.util.List plugins_ = java.util.Collections.emptyList(); private void ensurePluginsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { plugins_ = new java.util.ArrayList(plugins_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.GetServerInfoResponse.PluginInfo, org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.Builder, org.yamcs.protobuf.GetServerInfoResponse.PluginInfoOrBuilder> pluginsBuilder_; /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public java.util.List getPluginsList() { if (pluginsBuilder_ == null) { return java.util.Collections.unmodifiableList(plugins_); } else { return pluginsBuilder_.getMessageList(); } } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public int getPluginsCount() { if (pluginsBuilder_ == null) { return plugins_.size(); } else { return pluginsBuilder_.getCount(); } } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public org.yamcs.protobuf.GetServerInfoResponse.PluginInfo getPlugins(int index) { if (pluginsBuilder_ == null) { return plugins_.get(index); } else { return pluginsBuilder_.getMessage(index); } } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public Builder setPlugins( int index, org.yamcs.protobuf.GetServerInfoResponse.PluginInfo value) { if (pluginsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePluginsIsMutable(); plugins_.set(index, value); onChanged(); } else { pluginsBuilder_.setMessage(index, value); } return this; } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public Builder setPlugins( int index, org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.Builder builderForValue) { if (pluginsBuilder_ == null) { ensurePluginsIsMutable(); plugins_.set(index, builderForValue.build()); onChanged(); } else { pluginsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public Builder addPlugins(org.yamcs.protobuf.GetServerInfoResponse.PluginInfo value) { if (pluginsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePluginsIsMutable(); plugins_.add(value); onChanged(); } else { pluginsBuilder_.addMessage(value); } return this; } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public Builder addPlugins( int index, org.yamcs.protobuf.GetServerInfoResponse.PluginInfo value) { if (pluginsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePluginsIsMutable(); plugins_.add(index, value); onChanged(); } else { pluginsBuilder_.addMessage(index, value); } return this; } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public Builder addPlugins( org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.Builder builderForValue) { if (pluginsBuilder_ == null) { ensurePluginsIsMutable(); plugins_.add(builderForValue.build()); onChanged(); } else { pluginsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public Builder addPlugins( int index, org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.Builder builderForValue) { if (pluginsBuilder_ == null) { ensurePluginsIsMutable(); plugins_.add(index, builderForValue.build()); onChanged(); } else { pluginsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public Builder addAllPlugins( java.lang.Iterable values) { if (pluginsBuilder_ == null) { ensurePluginsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, plugins_); onChanged(); } else { pluginsBuilder_.addAllMessages(values); } return this; } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public Builder clearPlugins() { if (pluginsBuilder_ == null) { plugins_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { pluginsBuilder_.clear(); } return this; } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public Builder removePlugins(int index) { if (pluginsBuilder_ == null) { ensurePluginsIsMutable(); plugins_.remove(index); onChanged(); } else { pluginsBuilder_.remove(index); } return this; } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.Builder getPluginsBuilder( int index) { return getPluginsFieldBuilder().getBuilder(index); } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public org.yamcs.protobuf.GetServerInfoResponse.PluginInfoOrBuilder getPluginsOrBuilder( int index) { if (pluginsBuilder_ == null) { return plugins_.get(index); } else { return pluginsBuilder_.getMessageOrBuilder(index); } } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public java.util.List getPluginsOrBuilderList() { if (pluginsBuilder_ != null) { return pluginsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(plugins_); } } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.Builder addPluginsBuilder() { return getPluginsFieldBuilder().addBuilder( org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.getDefaultInstance()); } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.Builder addPluginsBuilder( int index) { return getPluginsFieldBuilder().addBuilder( index, org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.getDefaultInstance()); } /** *
     * Plugins loaded within this server instance
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.PluginInfo plugins = 5; */ public java.util.List getPluginsBuilderList() { return getPluginsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.GetServerInfoResponse.PluginInfo, org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.Builder, org.yamcs.protobuf.GetServerInfoResponse.PluginInfoOrBuilder> getPluginsFieldBuilder() { if (pluginsBuilder_ == null) { pluginsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.GetServerInfoResponse.PluginInfo, org.yamcs.protobuf.GetServerInfoResponse.PluginInfo.Builder, org.yamcs.protobuf.GetServerInfoResponse.PluginInfoOrBuilder>( plugins_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); plugins_ = null; } return pluginsBuilder_; } private java.util.List commandOptions_ = java.util.Collections.emptyList(); private void ensureCommandOptionsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { commandOptions_ = new java.util.ArrayList(commandOptions_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo, org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.Builder, org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfoOrBuilder> commandOptionsBuilder_; /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public java.util.List getCommandOptionsList() { if (commandOptionsBuilder_ == null) { return java.util.Collections.unmodifiableList(commandOptions_); } else { return commandOptionsBuilder_.getMessageList(); } } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public int getCommandOptionsCount() { if (commandOptionsBuilder_ == null) { return commandOptions_.size(); } else { return commandOptionsBuilder_.getCount(); } } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo getCommandOptions(int index) { if (commandOptionsBuilder_ == null) { return commandOptions_.get(index); } else { return commandOptionsBuilder_.getMessage(index); } } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public Builder setCommandOptions( int index, org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo value) { if (commandOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommandOptionsIsMutable(); commandOptions_.set(index, value); onChanged(); } else { commandOptionsBuilder_.setMessage(index, value); } return this; } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public Builder setCommandOptions( int index, org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.Builder builderForValue) { if (commandOptionsBuilder_ == null) { ensureCommandOptionsIsMutable(); commandOptions_.set(index, builderForValue.build()); onChanged(); } else { commandOptionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public Builder addCommandOptions(org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo value) { if (commandOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommandOptionsIsMutable(); commandOptions_.add(value); onChanged(); } else { commandOptionsBuilder_.addMessage(value); } return this; } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public Builder addCommandOptions( int index, org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo value) { if (commandOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommandOptionsIsMutable(); commandOptions_.add(index, value); onChanged(); } else { commandOptionsBuilder_.addMessage(index, value); } return this; } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public Builder addCommandOptions( org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.Builder builderForValue) { if (commandOptionsBuilder_ == null) { ensureCommandOptionsIsMutable(); commandOptions_.add(builderForValue.build()); onChanged(); } else { commandOptionsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public Builder addCommandOptions( int index, org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.Builder builderForValue) { if (commandOptionsBuilder_ == null) { ensureCommandOptionsIsMutable(); commandOptions_.add(index, builderForValue.build()); onChanged(); } else { commandOptionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public Builder addAllCommandOptions( java.lang.Iterable values) { if (commandOptionsBuilder_ == null) { ensureCommandOptionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, commandOptions_); onChanged(); } else { commandOptionsBuilder_.addAllMessages(values); } return this; } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public Builder clearCommandOptions() { if (commandOptionsBuilder_ == null) { commandOptions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { commandOptionsBuilder_.clear(); } return this; } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public Builder removeCommandOptions(int index) { if (commandOptionsBuilder_ == null) { ensureCommandOptionsIsMutable(); commandOptions_.remove(index); onChanged(); } else { commandOptionsBuilder_.remove(index); } return this; } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.Builder getCommandOptionsBuilder( int index) { return getCommandOptionsFieldBuilder().getBuilder(index); } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfoOrBuilder getCommandOptionsOrBuilder( int index) { if (commandOptionsBuilder_ == null) { return commandOptions_.get(index); } else { return commandOptionsBuilder_.getMessageOrBuilder(index); } } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public java.util.List getCommandOptionsOrBuilderList() { if (commandOptionsBuilder_ != null) { return commandOptionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(commandOptions_); } } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.Builder addCommandOptionsBuilder() { return getCommandOptionsFieldBuilder().addBuilder( org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.getDefaultInstance()); } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.Builder addCommandOptionsBuilder( int index) { return getCommandOptionsFieldBuilder().addBuilder( index, org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.getDefaultInstance()); } /** *
     * Additional options available to commands
     * 
* * repeated .yamcs.protobuf.server.GetServerInfoResponse.CommandOptionInfo commandOptions = 7; */ public java.util.List getCommandOptionsBuilderList() { return getCommandOptionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo, org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.Builder, org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfoOrBuilder> getCommandOptionsFieldBuilder() { if (commandOptionsBuilder_ == null) { commandOptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo, org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo.Builder, org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfoOrBuilder>( commandOptions_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); commandOptions_ = null; } return commandOptionsBuilder_; } @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.server.GetServerInfoResponse) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.server.GetServerInfoResponse) private static final org.yamcs.protobuf.GetServerInfoResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.GetServerInfoResponse(); } public static org.yamcs.protobuf.GetServerInfoResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetServerInfoResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetServerInfoResponse(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.GetServerInfoResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy