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

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

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

package org.yamcs.protobuf;

public final class Rest {
  private Rest() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
  }
  public interface GetApiOverviewResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:parameters.GetApiOverviewResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional string yamcsVersion = 1;
     */
    boolean hasYamcsVersion();
    /**
     * optional string yamcsVersion = 1;
     */
    java.lang.String getYamcsVersion();
    /**
     * optional string yamcsVersion = 1;
     */
    com.google.protobuf.ByteString
        getYamcsVersionBytes();

    /**
     * optional string serverId = 2;
     */
    boolean hasServerId();
    /**
     * optional string serverId = 2;
     */
    java.lang.String getServerId();
    /**
     * optional string serverId = 2;
     */
    com.google.protobuf.ByteString
        getServerIdBytes();

    /**
     * optional string defaultYamcsInstance = 3;
     */
    boolean hasDefaultYamcsInstance();
    /**
     * optional string defaultYamcsInstance = 3;
     */
    java.lang.String getDefaultYamcsInstance();
    /**
     * optional string defaultYamcsInstance = 3;
     */
    com.google.protobuf.ByteString
        getDefaultYamcsInstanceBytes();

    /**
     * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
     */
    java.util.List 
        getRouteList();
    /**
     * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
     */
    org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo getRoute(int index);
    /**
     * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
     */
    int getRouteCount();
    /**
     * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
     */
    java.util.List 
        getRouteOrBuilderList();
    /**
     * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
     */
    org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfoOrBuilder getRouteOrBuilder(
        int index);

    /**
     * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
     */
    java.util.List 
        getPluginList();
    /**
     * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
     */
    org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo getPlugin(int index);
    /**
     * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
     */
    int getPluginCount();
    /**
     * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
     */
    java.util.List 
        getPluginOrBuilderList();
    /**
     * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
     */
    org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfoOrBuilder getPluginOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code parameters.GetApiOverviewResponse}
   */
  public static final class GetApiOverviewResponse extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:parameters.GetApiOverviewResponse)
      GetApiOverviewResponseOrBuilder {
    // Use GetApiOverviewResponse.newBuilder() to construct.
    private GetApiOverviewResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private GetApiOverviewResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final GetApiOverviewResponse defaultInstance;
    public static GetApiOverviewResponse getDefaultInstance() {
      return defaultInstance;
    }

    public GetApiOverviewResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private GetApiOverviewResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                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_ |= 0x00000002;
              serverId_ = bs;
              break;
            }
            case 26: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000004;
              defaultYamcsInstance_ = bs;
              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                route_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              route_.add(input.readMessage(org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.PARSER, extensionRegistry));
              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
                plugin_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000010;
              }
              plugin_.add(input.readMessage(org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
          route_ = java.util.Collections.unmodifiableList(route_);
        }
        if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
          plugin_ = java.util.Collections.unmodifiableList(plugin_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.yamcs.protobuf.Rest.GetApiOverviewResponse.class, org.yamcs.protobuf.Rest.GetApiOverviewResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public GetApiOverviewResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new GetApiOverviewResponse(input, extensionRegistry);
      }
    };

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    public interface RouteInfoOrBuilder extends
        // @@protoc_insertion_point(interface_extends:parameters.GetApiOverviewResponse.RouteInfo)
        com.google.protobuf.MessageOrBuilder {

      /**
       * optional string url = 1;
       */
      boolean hasUrl();
      /**
       * optional string url = 1;
       */
      java.lang.String getUrl();
      /**
       * optional string url = 1;
       */
      com.google.protobuf.ByteString
          getUrlBytes();

      /**
       * repeated string method = 2;
       */
      com.google.protobuf.ProtocolStringList
          getMethodList();
      /**
       * repeated string method = 2;
       */
      int getMethodCount();
      /**
       * repeated string method = 2;
       */
      java.lang.String getMethod(int index);
      /**
       * repeated string method = 2;
       */
      com.google.protobuf.ByteString
          getMethodBytes(int index);
    }
    /**
     * Protobuf type {@code parameters.GetApiOverviewResponse.RouteInfo}
     */
    public static final class RouteInfo extends
        com.google.protobuf.GeneratedMessage implements
        // @@protoc_insertion_point(message_implements:parameters.GetApiOverviewResponse.RouteInfo)
        RouteInfoOrBuilder {
      // Use RouteInfo.newBuilder() to construct.
      private RouteInfo(com.google.protobuf.GeneratedMessage.Builder builder) {
        super(builder);
        this.unknownFields = builder.getUnknownFields();
      }
      private RouteInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

      private static final RouteInfo defaultInstance;
      public static RouteInfo getDefaultInstance() {
        return defaultInstance;
      }

      public RouteInfo getDefaultInstanceForType() {
        return defaultInstance;
      }

      private final com.google.protobuf.UnknownFieldSet unknownFields;
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
          getUnknownFields() {
        return this.unknownFields;
      }
      private RouteInfo(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        initFields();
        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;
              default: {
                if (!parseUnknownField(input, unknownFields,
                                       extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
              case 10: {
                com.google.protobuf.ByteString bs = input.readBytes();
                bitField0_ |= 0x00000001;
                url_ = bs;
                break;
              }
              case 18: {
                com.google.protobuf.ByteString bs = input.readBytes();
                if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                  method_ = new com.google.protobuf.LazyStringArrayList();
                  mutable_bitField0_ |= 0x00000002;
                }
                method_.add(bs);
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e.getMessage()).setUnfinishedMessage(this);
        } finally {
          if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
            method_ = method_.getUnmodifiableView();
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_RouteInfo_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_RouteInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.class, org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.Builder.class);
      }

      public static com.google.protobuf.Parser PARSER =
          new com.google.protobuf.AbstractParser() {
        public RouteInfo parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new RouteInfo(input, extensionRegistry);
        }
      };

      @java.lang.Override
      public com.google.protobuf.Parser getParserForType() {
        return PARSER;
      }

      private int bitField0_;
      public static final int URL_FIELD_NUMBER = 1;
      private java.lang.Object url_;
      /**
       * optional string url = 1;
       */
      public boolean hasUrl() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * optional string url = 1;
       */
      public java.lang.String getUrl() {
        java.lang.Object ref = url_;
        if (ref instanceof java.lang.String) {
          return (java.lang.String) ref;
        } else {
          com.google.protobuf.ByteString bs = 
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            url_ = s;
          }
          return s;
        }
      }
      /**
       * optional string url = 1;
       */
      public com.google.protobuf.ByteString
          getUrlBytes() {
        java.lang.Object ref = url_;
        if (ref instanceof java.lang.String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          url_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }

      public static final int METHOD_FIELD_NUMBER = 2;
      private com.google.protobuf.LazyStringList method_;
      /**
       * repeated string method = 2;
       */
      public com.google.protobuf.ProtocolStringList
          getMethodList() {
        return method_;
      }
      /**
       * repeated string method = 2;
       */
      public int getMethodCount() {
        return method_.size();
      }
      /**
       * repeated string method = 2;
       */
      public java.lang.String getMethod(int index) {
        return method_.get(index);
      }
      /**
       * repeated string method = 2;
       */
      public com.google.protobuf.ByteString
          getMethodBytes(int index) {
        return method_.getByteString(index);
      }

      private void initFields() {
        url_ = "";
        method_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      }
      private byte memoizedIsInitialized = -1;
      public final boolean isInitialized() {
        byte isInitialized = memoizedIsInitialized;
        if (isInitialized == 1) return true;
        if (isInitialized == 0) return false;

        memoizedIsInitialized = 1;
        return true;
      }

      public void writeTo(com.google.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        getSerializedSize();
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          output.writeBytes(1, getUrlBytes());
        }
        for (int i = 0; i < method_.size(); i++) {
          output.writeBytes(2, method_.getByteString(i));
        }
        getUnknownFields().writeTo(output);
      }

      private int memoizedSerializedSize = -1;
      public int getSerializedSize() {
        int size = memoizedSerializedSize;
        if (size != -1) return size;

        size = 0;
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          size += com.google.protobuf.CodedOutputStream
            .computeBytesSize(1, getUrlBytes());
        }
        {
          int dataSize = 0;
          for (int i = 0; i < method_.size(); i++) {
            dataSize += com.google.protobuf.CodedOutputStream
              .computeBytesSizeNoTag(method_.getByteString(i));
          }
          size += dataSize;
          size += 1 * getMethodList().size();
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSerializedSize = size;
        return size;
      }

      private static final long serialVersionUID = 0L;
      @java.lang.Override
      protected java.lang.Object writeReplace()
          throws java.io.ObjectStreamException {
        return super.writeReplace();
      }

      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo 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.Rest.GetApiOverviewResponse.RouteInfo parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return PARSER.parseFrom(input);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseFrom(input, extensionRegistry);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return PARSER.parseDelimitedFrom(input);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseDelimitedFrom(input, extensionRegistry);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return PARSER.parseFrom(input);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseFrom(input, extensionRegistry);
      }

      public static Builder newBuilder() { return Builder.create(); }
      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder(org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo prototype) {
        return newBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() { return newBuilder(this); }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * Protobuf type {@code parameters.GetApiOverviewResponse.RouteInfo}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessage.Builder implements
          // @@protoc_insertion_point(builder_implements:parameters.GetApiOverviewResponse.RouteInfo)
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfoOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_RouteInfo_descriptor;
        }

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_RouteInfo_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.class, org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.Builder.class);
        }

        // Construct using org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

        private Builder(
            com.google.protobuf.GeneratedMessage.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          }
        }
        private static Builder create() {
          return new Builder();
        }

        public Builder clear() {
          super.clear();
          url_ = "";
          bitField0_ = (bitField0_ & ~0x00000001);
          method_ = com.google.protobuf.LazyStringArrayList.EMPTY;
          bitField0_ = (bitField0_ & ~0x00000002);
          return this;
        }

        public Builder clone() {
          return create().mergeFrom(buildPartial());
        }

        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_RouteInfo_descriptor;
        }

        public org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo getDefaultInstanceForType() {
          return org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.getDefaultInstance();
        }

        public org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo build() {
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo buildPartial() {
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo result = new org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
            to_bitField0_ |= 0x00000001;
          }
          result.url_ = url_;
          if (((bitField0_ & 0x00000002) == 0x00000002)) {
            method_ = method_.getUnmodifiableView();
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.method_ = method_;
          result.bitField0_ = to_bitField0_;
          onBuilt();
          return result;
        }

        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo) {
            return mergeFrom((org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo other) {
          if (other == org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.getDefaultInstance()) return this;
          if (other.hasUrl()) {
            bitField0_ |= 0x00000001;
            url_ = other.url_;
            onChanged();
          }
          if (!other.method_.isEmpty()) {
            if (method_.isEmpty()) {
              method_ = other.method_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureMethodIsMutable();
              method_.addAll(other.method_);
            }
            onChanged();
          }
          this.mergeUnknownFields(other.getUnknownFields());
          return this;
        }

        public final boolean isInitialized() {
          return true;
        }

        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo) e.getUnfinishedMessage();
            throw e;
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;

        private java.lang.Object url_ = "";
        /**
         * optional string url = 1;
         */
        public boolean hasUrl() {
          return ((bitField0_ & 0x00000001) == 0x00000001);
        }
        /**
         * optional string url = 1;
         */
        public java.lang.String getUrl() {
          java.lang.Object ref = url_;
          if (!(ref instanceof java.lang.String)) {
            com.google.protobuf.ByteString bs =
                (com.google.protobuf.ByteString) ref;
            java.lang.String s = bs.toStringUtf8();
            if (bs.isValidUtf8()) {
              url_ = s;
            }
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
        /**
         * optional string url = 1;
         */
        public com.google.protobuf.ByteString
            getUrlBytes() {
          java.lang.Object ref = url_;
          if (ref instanceof String) {
            com.google.protobuf.ByteString b = 
                com.google.protobuf.ByteString.copyFromUtf8(
                    (java.lang.String) ref);
            url_ = b;
            return b;
          } else {
            return (com.google.protobuf.ByteString) ref;
          }
        }
        /**
         * optional string url = 1;
         */
        public Builder setUrl(
            java.lang.String value) {
          if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
          url_ = value;
          onChanged();
          return this;
        }
        /**
         * optional string url = 1;
         */
        public Builder clearUrl() {
          bitField0_ = (bitField0_ & ~0x00000001);
          url_ = getDefaultInstance().getUrl();
          onChanged();
          return this;
        }
        /**
         * optional string url = 1;
         */
        public Builder setUrlBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
          url_ = value;
          onChanged();
          return this;
        }

        private com.google.protobuf.LazyStringList method_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        private void ensureMethodIsMutable() {
          if (!((bitField0_ & 0x00000002) == 0x00000002)) {
            method_ = new com.google.protobuf.LazyStringArrayList(method_);
            bitField0_ |= 0x00000002;
           }
        }
        /**
         * repeated string method = 2;
         */
        public com.google.protobuf.ProtocolStringList
            getMethodList() {
          return method_.getUnmodifiableView();
        }
        /**
         * repeated string method = 2;
         */
        public int getMethodCount() {
          return method_.size();
        }
        /**
         * repeated string method = 2;
         */
        public java.lang.String getMethod(int index) {
          return method_.get(index);
        }
        /**
         * repeated string method = 2;
         */
        public com.google.protobuf.ByteString
            getMethodBytes(int index) {
          return method_.getByteString(index);
        }
        /**
         * repeated string method = 2;
         */
        public Builder setMethod(
            int index, java.lang.String value) {
          if (value == null) {
    throw new NullPointerException();
  }
  ensureMethodIsMutable();
          method_.set(index, value);
          onChanged();
          return this;
        }
        /**
         * repeated string method = 2;
         */
        public Builder addMethod(
            java.lang.String value) {
          if (value == null) {
    throw new NullPointerException();
  }
  ensureMethodIsMutable();
          method_.add(value);
          onChanged();
          return this;
        }
        /**
         * repeated string method = 2;
         */
        public Builder addAllMethod(
            java.lang.Iterable values) {
          ensureMethodIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, method_);
          onChanged();
          return this;
        }
        /**
         * repeated string method = 2;
         */
        public Builder clearMethod() {
          method_ = com.google.protobuf.LazyStringArrayList.EMPTY;
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
          return this;
        }
        /**
         * repeated string method = 2;
         */
        public Builder addMethodBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
    throw new NullPointerException();
  }
  ensureMethodIsMutable();
          method_.add(value);
          onChanged();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:parameters.GetApiOverviewResponse.RouteInfo)
      }

      static {
        defaultInstance = new RouteInfo(true);
        defaultInstance.initFields();
      }

      // @@protoc_insertion_point(class_scope:parameters.GetApiOverviewResponse.RouteInfo)
    }

    public interface PluginInfoOrBuilder extends
        // @@protoc_insertion_point(interface_extends:parameters.GetApiOverviewResponse.PluginInfo)
        com.google.protobuf.MessageOrBuilder {

      /**
       * optional string name = 1;
       */
      boolean hasName();
      /**
       * optional string name = 1;
       */
      java.lang.String getName();
      /**
       * optional string name = 1;
       */
      com.google.protobuf.ByteString
          getNameBytes();

      /**
       * optional string description = 2;
       */
      boolean hasDescription();
      /**
       * optional string description = 2;
       */
      java.lang.String getDescription();
      /**
       * optional string description = 2;
       */
      com.google.protobuf.ByteString
          getDescriptionBytes();

      /**
       * optional string version = 3;
       */
      boolean hasVersion();
      /**
       * optional string version = 3;
       */
      java.lang.String getVersion();
      /**
       * optional string version = 3;
       */
      com.google.protobuf.ByteString
          getVersionBytes();

      /**
       * optional string vendor = 4;
       */
      boolean hasVendor();
      /**
       * optional string vendor = 4;
       */
      java.lang.String getVendor();
      /**
       * optional string vendor = 4;
       */
      com.google.protobuf.ByteString
          getVendorBytes();
    }
    /**
     * Protobuf type {@code parameters.GetApiOverviewResponse.PluginInfo}
     */
    public static final class PluginInfo extends
        com.google.protobuf.GeneratedMessage implements
        // @@protoc_insertion_point(message_implements:parameters.GetApiOverviewResponse.PluginInfo)
        PluginInfoOrBuilder {
      // Use PluginInfo.newBuilder() to construct.
      private PluginInfo(com.google.protobuf.GeneratedMessage.Builder builder) {
        super(builder);
        this.unknownFields = builder.getUnknownFields();
      }
      private PluginInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

      private static final PluginInfo defaultInstance;
      public static PluginInfo getDefaultInstance() {
        return defaultInstance;
      }

      public PluginInfo getDefaultInstanceForType() {
        return defaultInstance;
      }

      private final com.google.protobuf.UnknownFieldSet unknownFields;
      @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 {
        initFields();
        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;
              default: {
                if (!parseUnknownField(input, unknownFields,
                                       extensionRegistry, tag)) {
                  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;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e.getMessage()).setUnfinishedMessage(this);
        } finally {
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_PluginInfo_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_PluginInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.class, org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.Builder.class);
      }

      public static com.google.protobuf.Parser PARSER =
          new com.google.protobuf.AbstractParser() {
        public PluginInfo parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new PluginInfo(input, extensionRegistry);
        }
      };

      @java.lang.Override
      public com.google.protobuf.Parser getParserForType() {
        return PARSER;
      }

      private int bitField0_;
      public static final int NAME_FIELD_NUMBER = 1;
      private java.lang.Object name_;
      /**
       * optional string name = 1;
       */
      public boolean hasName() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * optional string name = 1;
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        if (ref instanceof java.lang.String) {
          return (java.lang.String) ref;
        } else {
          com.google.protobuf.ByteString bs = 
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            name_ = s;
          }
          return s;
        }
      }
      /**
       * optional string name = 1;
       */
      public com.google.protobuf.ByteString
          getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof java.lang.String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }

      public static final int DESCRIPTION_FIELD_NUMBER = 2;
      private java.lang.Object description_;
      /**
       * optional string description = 2;
       */
      public boolean hasDescription() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * optional string description = 2;
       */
      public java.lang.String getDescription() {
        java.lang.Object ref = description_;
        if (ref instanceof java.lang.String) {
          return (java.lang.String) ref;
        } else {
          com.google.protobuf.ByteString bs = 
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            description_ = s;
          }
          return s;
        }
      }
      /**
       * optional string description = 2;
       */
      public com.google.protobuf.ByteString
          getDescriptionBytes() {
        java.lang.Object ref = description_;
        if (ref instanceof java.lang.String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          description_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }

      public static final int VERSION_FIELD_NUMBER = 3;
      private java.lang.Object version_;
      /**
       * optional string version = 3;
       */
      public boolean hasVersion() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * optional string version = 3;
       */
      public java.lang.String getVersion() {
        java.lang.Object ref = version_;
        if (ref instanceof java.lang.String) {
          return (java.lang.String) ref;
        } else {
          com.google.protobuf.ByteString bs = 
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            version_ = s;
          }
          return s;
        }
      }
      /**
       * optional string version = 3;
       */
      public com.google.protobuf.ByteString
          getVersionBytes() {
        java.lang.Object ref = version_;
        if (ref instanceof java.lang.String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          version_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }

      public static final int VENDOR_FIELD_NUMBER = 4;
      private java.lang.Object vendor_;
      /**
       * optional string vendor = 4;
       */
      public boolean hasVendor() {
        return ((bitField0_ & 0x00000008) == 0x00000008);
      }
      /**
       * optional string vendor = 4;
       */
      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;
       */
      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 void initFields() {
        name_ = "";
        description_ = "";
        version_ = "";
        vendor_ = "";
      }
      private byte memoizedIsInitialized = -1;
      public final boolean isInitialized() {
        byte isInitialized = memoizedIsInitialized;
        if (isInitialized == 1) return true;
        if (isInitialized == 0) return false;

        memoizedIsInitialized = 1;
        return true;
      }

      public void writeTo(com.google.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        getSerializedSize();
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          output.writeBytes(1, getNameBytes());
        }
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          output.writeBytes(2, getDescriptionBytes());
        }
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          output.writeBytes(3, getVersionBytes());
        }
        if (((bitField0_ & 0x00000008) == 0x00000008)) {
          output.writeBytes(4, getVendorBytes());
        }
        getUnknownFields().writeTo(output);
      }

      private int memoizedSerializedSize = -1;
      public int getSerializedSize() {
        int size = memoizedSerializedSize;
        if (size != -1) return size;

        size = 0;
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          size += com.google.protobuf.CodedOutputStream
            .computeBytesSize(1, getNameBytes());
        }
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          size += com.google.protobuf.CodedOutputStream
            .computeBytesSize(2, getDescriptionBytes());
        }
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          size += com.google.protobuf.CodedOutputStream
            .computeBytesSize(3, getVersionBytes());
        }
        if (((bitField0_ & 0x00000008) == 0x00000008)) {
          size += com.google.protobuf.CodedOutputStream
            .computeBytesSize(4, getVendorBytes());
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSerializedSize = size;
        return size;
      }

      private static final long serialVersionUID = 0L;
      @java.lang.Override
      protected java.lang.Object writeReplace()
          throws java.io.ObjectStreamException {
        return super.writeReplace();
      }

      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.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.Rest.GetApiOverviewResponse.PluginInfo parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return PARSER.parseFrom(input);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseFrom(input, extensionRegistry);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return PARSER.parseDelimitedFrom(input);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseDelimitedFrom(input, extensionRegistry);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return PARSER.parseFrom(input);
      }
      public static org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseFrom(input, extensionRegistry);
      }

      public static Builder newBuilder() { return Builder.create(); }
      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder(org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo prototype) {
        return newBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() { return newBuilder(this); }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * Protobuf type {@code parameters.GetApiOverviewResponse.PluginInfo}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessage.Builder implements
          // @@protoc_insertion_point(builder_implements:parameters.GetApiOverviewResponse.PluginInfo)
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfoOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_PluginInfo_descriptor;
        }

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_PluginInfo_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.class, org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.Builder.class);
        }

        // Construct using org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

        private Builder(
            com.google.protobuf.GeneratedMessage.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          }
        }
        private static Builder create() {
          return new Builder();
        }

        public Builder clear() {
          super.clear();
          name_ = "";
          bitField0_ = (bitField0_ & ~0x00000001);
          description_ = "";
          bitField0_ = (bitField0_ & ~0x00000002);
          version_ = "";
          bitField0_ = (bitField0_ & ~0x00000004);
          vendor_ = "";
          bitField0_ = (bitField0_ & ~0x00000008);
          return this;
        }

        public Builder clone() {
          return create().mergeFrom(buildPartial());
        }

        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_PluginInfo_descriptor;
        }

        public org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo getDefaultInstanceForType() {
          return org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.getDefaultInstance();
        }

        public org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo build() {
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo buildPartial() {
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo result = new org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
            to_bitField0_ |= 0x00000001;
          }
          result.name_ = name_;
          if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
            to_bitField0_ |= 0x00000002;
          }
          result.description_ = description_;
          if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
            to_bitField0_ |= 0x00000004;
          }
          result.version_ = version_;
          if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
            to_bitField0_ |= 0x00000008;
          }
          result.vendor_ = vendor_;
          result.bitField0_ = to_bitField0_;
          onBuilt();
          return result;
        }

        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo) {
            return mergeFrom((org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo other) {
          if (other == org.yamcs.protobuf.Rest.GetApiOverviewResponse.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.getUnknownFields());
          return this;
        }

        public final boolean isInitialized() {
          return true;
        }

        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo) e.getUnfinishedMessage();
            throw e;
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;

        private java.lang.Object name_ = "";
        /**
         * optional string name = 1;
         */
        public boolean hasName() {
          return ((bitField0_ & 0x00000001) == 0x00000001);
        }
        /**
         * optional string name = 1;
         */
        public java.lang.String getName() {
          java.lang.Object ref = name_;
          if (!(ref instanceof java.lang.String)) {
            com.google.protobuf.ByteString bs =
                (com.google.protobuf.ByteString) ref;
            java.lang.String s = bs.toStringUtf8();
            if (bs.isValidUtf8()) {
              name_ = s;
            }
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
        /**
         * optional string name = 1;
         */
        public com.google.protobuf.ByteString
            getNameBytes() {
          java.lang.Object ref = name_;
          if (ref instanceof String) {
            com.google.protobuf.ByteString b = 
                com.google.protobuf.ByteString.copyFromUtf8(
                    (java.lang.String) ref);
            name_ = b;
            return b;
          } else {
            return (com.google.protobuf.ByteString) ref;
          }
        }
        /**
         * optional string name = 1;
         */
        public Builder setName(
            java.lang.String value) {
          if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
          name_ = value;
          onChanged();
          return this;
        }
        /**
         * optional string name = 1;
         */
        public Builder clearName() {
          bitField0_ = (bitField0_ & ~0x00000001);
          name_ = getDefaultInstance().getName();
          onChanged();
          return this;
        }
        /**
         * optional string name = 1;
         */
        public Builder setNameBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
          name_ = value;
          onChanged();
          return this;
        }

        private java.lang.Object description_ = "";
        /**
         * optional string description = 2;
         */
        public boolean hasDescription() {
          return ((bitField0_ & 0x00000002) == 0x00000002);
        }
        /**
         * optional string description = 2;
         */
        public java.lang.String getDescription() {
          java.lang.Object ref = description_;
          if (!(ref instanceof java.lang.String)) {
            com.google.protobuf.ByteString bs =
                (com.google.protobuf.ByteString) ref;
            java.lang.String s = bs.toStringUtf8();
            if (bs.isValidUtf8()) {
              description_ = s;
            }
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
        /**
         * optional string description = 2;
         */
        public com.google.protobuf.ByteString
            getDescriptionBytes() {
          java.lang.Object ref = description_;
          if (ref instanceof String) {
            com.google.protobuf.ByteString b = 
                com.google.protobuf.ByteString.copyFromUtf8(
                    (java.lang.String) ref);
            description_ = b;
            return b;
          } else {
            return (com.google.protobuf.ByteString) ref;
          }
        }
        /**
         * optional string description = 2;
         */
        public Builder setDescription(
            java.lang.String value) {
          if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
          description_ = value;
          onChanged();
          return this;
        }
        /**
         * optional string description = 2;
         */
        public Builder clearDescription() {
          bitField0_ = (bitField0_ & ~0x00000002);
          description_ = getDefaultInstance().getDescription();
          onChanged();
          return this;
        }
        /**
         * optional string description = 2;
         */
        public Builder setDescriptionBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
          description_ = value;
          onChanged();
          return this;
        }

        private java.lang.Object version_ = "";
        /**
         * optional string version = 3;
         */
        public boolean hasVersion() {
          return ((bitField0_ & 0x00000004) == 0x00000004);
        }
        /**
         * optional string version = 3;
         */
        public java.lang.String getVersion() {
          java.lang.Object ref = version_;
          if (!(ref instanceof java.lang.String)) {
            com.google.protobuf.ByteString bs =
                (com.google.protobuf.ByteString) ref;
            java.lang.String s = bs.toStringUtf8();
            if (bs.isValidUtf8()) {
              version_ = s;
            }
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
        /**
         * optional string version = 3;
         */
        public com.google.protobuf.ByteString
            getVersionBytes() {
          java.lang.Object ref = version_;
          if (ref instanceof String) {
            com.google.protobuf.ByteString b = 
                com.google.protobuf.ByteString.copyFromUtf8(
                    (java.lang.String) ref);
            version_ = b;
            return b;
          } else {
            return (com.google.protobuf.ByteString) ref;
          }
        }
        /**
         * optional string version = 3;
         */
        public Builder setVersion(
            java.lang.String value) {
          if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
          version_ = value;
          onChanged();
          return this;
        }
        /**
         * optional string version = 3;
         */
        public Builder clearVersion() {
          bitField0_ = (bitField0_ & ~0x00000004);
          version_ = getDefaultInstance().getVersion();
          onChanged();
          return this;
        }
        /**
         * optional string version = 3;
         */
        public Builder setVersionBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
          version_ = value;
          onChanged();
          return this;
        }

        private java.lang.Object vendor_ = "";
        /**
         * optional string vendor = 4;
         */
        public boolean hasVendor() {
          return ((bitField0_ & 0x00000008) == 0x00000008);
        }
        /**
         * optional string vendor = 4;
         */
        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;
         */
        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;
         */
        public Builder setVendor(
            java.lang.String value) {
          if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
          vendor_ = value;
          onChanged();
          return this;
        }
        /**
         * optional string vendor = 4;
         */
        public Builder clearVendor() {
          bitField0_ = (bitField0_ & ~0x00000008);
          vendor_ = getDefaultInstance().getVendor();
          onChanged();
          return this;
        }
        /**
         * optional string vendor = 4;
         */
        public Builder setVendorBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
          vendor_ = value;
          onChanged();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:parameters.GetApiOverviewResponse.PluginInfo)
      }

      static {
        defaultInstance = new PluginInfo(true);
        defaultInstance.initFields();
      }

      // @@protoc_insertion_point(class_scope:parameters.GetApiOverviewResponse.PluginInfo)
    }

    private int bitField0_;
    public static final int YAMCSVERSION_FIELD_NUMBER = 1;
    private java.lang.Object yamcsVersion_;
    /**
     * optional string yamcsVersion = 1;
     */
    public boolean hasYamcsVersion() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * optional string yamcsVersion = 1;
     */
    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;
      }
    }
    /**
     * optional string yamcsVersion = 1;
     */
    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 SERVERID_FIELD_NUMBER = 2;
    private java.lang.Object serverId_;
    /**
     * optional string serverId = 2;
     */
    public boolean hasServerId() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * optional string serverId = 2;
     */
    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;
      }
    }
    /**
     * optional string serverId = 2;
     */
    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 java.lang.Object defaultYamcsInstance_;
    /**
     * optional string defaultYamcsInstance = 3;
     */
    public boolean hasDefaultYamcsInstance() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * optional string defaultYamcsInstance = 3;
     */
    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;
      }
    }
    /**
     * optional string defaultYamcsInstance = 3;
     */
    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 ROUTE_FIELD_NUMBER = 4;
    private java.util.List route_;
    /**
     * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
     */
    public java.util.List getRouteList() {
      return route_;
    }
    /**
     * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
     */
    public java.util.List 
        getRouteOrBuilderList() {
      return route_;
    }
    /**
     * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
     */
    public int getRouteCount() {
      return route_.size();
    }
    /**
     * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
     */
    public org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo getRoute(int index) {
      return route_.get(index);
    }
    /**
     * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
     */
    public org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfoOrBuilder getRouteOrBuilder(
        int index) {
      return route_.get(index);
    }

    public static final int PLUGIN_FIELD_NUMBER = 5;
    private java.util.List plugin_;
    /**
     * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
     */
    public java.util.List getPluginList() {
      return plugin_;
    }
    /**
     * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
     */
    public java.util.List 
        getPluginOrBuilderList() {
      return plugin_;
    }
    /**
     * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
     */
    public int getPluginCount() {
      return plugin_.size();
    }
    /**
     * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
     */
    public org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo getPlugin(int index) {
      return plugin_.get(index);
    }
    /**
     * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
     */
    public org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfoOrBuilder getPluginOrBuilder(
        int index) {
      return plugin_.get(index);
    }

    private void initFields() {
      yamcsVersion_ = "";
      serverId_ = "";
      defaultYamcsInstance_ = "";
      route_ = java.util.Collections.emptyList();
      plugin_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeBytes(1, getYamcsVersionBytes());
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeBytes(2, getServerIdBytes());
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeBytes(3, getDefaultYamcsInstanceBytes());
      }
      for (int i = 0; i < route_.size(); i++) {
        output.writeMessage(4, route_.get(i));
      }
      for (int i = 0; i < plugin_.size(); i++) {
        output.writeMessage(5, plugin_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, getYamcsVersionBytes());
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, getServerIdBytes());
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(3, getDefaultYamcsInstanceBytes());
      }
      for (int i = 0; i < route_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, route_.get(i));
      }
      for (int i = 0; i < plugin_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, plugin_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static org.yamcs.protobuf.Rest.GetApiOverviewResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.Rest.GetApiOverviewResponse 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.Rest.GetApiOverviewResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.Rest.GetApiOverviewResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.yamcs.protobuf.Rest.GetApiOverviewResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static org.yamcs.protobuf.Rest.GetApiOverviewResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static org.yamcs.protobuf.Rest.GetApiOverviewResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static org.yamcs.protobuf.Rest.GetApiOverviewResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static org.yamcs.protobuf.Rest.GetApiOverviewResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static org.yamcs.protobuf.Rest.GetApiOverviewResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(org.yamcs.protobuf.Rest.GetApiOverviewResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code parameters.GetApiOverviewResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder implements
        // @@protoc_insertion_point(builder_implements:parameters.GetApiOverviewResponse)
        org.yamcs.protobuf.Rest.GetApiOverviewResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.yamcs.protobuf.Rest.GetApiOverviewResponse.class, org.yamcs.protobuf.Rest.GetApiOverviewResponse.Builder.class);
      }

      // Construct using org.yamcs.protobuf.Rest.GetApiOverviewResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getRouteFieldBuilder();
          getPluginFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        yamcsVersion_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        serverId_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        defaultYamcsInstance_ = "";
        bitField0_ = (bitField0_ & ~0x00000004);
        if (routeBuilder_ == null) {
          route_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
        } else {
          routeBuilder_.clear();
        }
        if (pluginBuilder_ == null) {
          plugin_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000010);
        } else {
          pluginBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_GetApiOverviewResponse_descriptor;
      }

      public org.yamcs.protobuf.Rest.GetApiOverviewResponse getDefaultInstanceForType() {
        return org.yamcs.protobuf.Rest.GetApiOverviewResponse.getDefaultInstance();
      }

      public org.yamcs.protobuf.Rest.GetApiOverviewResponse build() {
        org.yamcs.protobuf.Rest.GetApiOverviewResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public org.yamcs.protobuf.Rest.GetApiOverviewResponse buildPartial() {
        org.yamcs.protobuf.Rest.GetApiOverviewResponse result = new org.yamcs.protobuf.Rest.GetApiOverviewResponse(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.yamcsVersion_ = yamcsVersion_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.serverId_ = serverId_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.defaultYamcsInstance_ = defaultYamcsInstance_;
        if (routeBuilder_ == null) {
          if (((bitField0_ & 0x00000008) == 0x00000008)) {
            route_ = java.util.Collections.unmodifiableList(route_);
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.route_ = route_;
        } else {
          result.route_ = routeBuilder_.build();
        }
        if (pluginBuilder_ == null) {
          if (((bitField0_ & 0x00000010) == 0x00000010)) {
            plugin_ = java.util.Collections.unmodifiableList(plugin_);
            bitField0_ = (bitField0_ & ~0x00000010);
          }
          result.plugin_ = plugin_;
        } else {
          result.plugin_ = pluginBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof org.yamcs.protobuf.Rest.GetApiOverviewResponse) {
          return mergeFrom((org.yamcs.protobuf.Rest.GetApiOverviewResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.yamcs.protobuf.Rest.GetApiOverviewResponse other) {
        if (other == org.yamcs.protobuf.Rest.GetApiOverviewResponse.getDefaultInstance()) return this;
        if (other.hasYamcsVersion()) {
          bitField0_ |= 0x00000001;
          yamcsVersion_ = other.yamcsVersion_;
          onChanged();
        }
        if (other.hasServerId()) {
          bitField0_ |= 0x00000002;
          serverId_ = other.serverId_;
          onChanged();
        }
        if (other.hasDefaultYamcsInstance()) {
          bitField0_ |= 0x00000004;
          defaultYamcsInstance_ = other.defaultYamcsInstance_;
          onChanged();
        }
        if (routeBuilder_ == null) {
          if (!other.route_.isEmpty()) {
            if (route_.isEmpty()) {
              route_ = other.route_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensureRouteIsMutable();
              route_.addAll(other.route_);
            }
            onChanged();
          }
        } else {
          if (!other.route_.isEmpty()) {
            if (routeBuilder_.isEmpty()) {
              routeBuilder_.dispose();
              routeBuilder_ = null;
              route_ = other.route_;
              bitField0_ = (bitField0_ & ~0x00000008);
              routeBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getRouteFieldBuilder() : null;
            } else {
              routeBuilder_.addAllMessages(other.route_);
            }
          }
        }
        if (pluginBuilder_ == null) {
          if (!other.plugin_.isEmpty()) {
            if (plugin_.isEmpty()) {
              plugin_ = other.plugin_;
              bitField0_ = (bitField0_ & ~0x00000010);
            } else {
              ensurePluginIsMutable();
              plugin_.addAll(other.plugin_);
            }
            onChanged();
          }
        } else {
          if (!other.plugin_.isEmpty()) {
            if (pluginBuilder_.isEmpty()) {
              pluginBuilder_.dispose();
              pluginBuilder_ = null;
              plugin_ = other.plugin_;
              bitField0_ = (bitField0_ & ~0x00000010);
              pluginBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getPluginFieldBuilder() : null;
            } else {
              pluginBuilder_.addAllMessages(other.plugin_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.yamcs.protobuf.Rest.GetApiOverviewResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.yamcs.protobuf.Rest.GetApiOverviewResponse) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object yamcsVersion_ = "";
      /**
       * optional string yamcsVersion = 1;
       */
      public boolean hasYamcsVersion() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * optional string yamcsVersion = 1;
       */
      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;
        }
      }
      /**
       * optional string yamcsVersion = 1;
       */
      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;
        }
      }
      /**
       * optional string yamcsVersion = 1;
       */
      public Builder setYamcsVersion(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        yamcsVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string yamcsVersion = 1;
       */
      public Builder clearYamcsVersion() {
        bitField0_ = (bitField0_ & ~0x00000001);
        yamcsVersion_ = getDefaultInstance().getYamcsVersion();
        onChanged();
        return this;
      }
      /**
       * optional string yamcsVersion = 1;
       */
      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 serverId_ = "";
      /**
       * optional string serverId = 2;
       */
      public boolean hasServerId() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * optional string serverId = 2;
       */
      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;
        }
      }
      /**
       * optional string serverId = 2;
       */
      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;
        }
      }
      /**
       * optional string serverId = 2;
       */
      public Builder setServerId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        serverId_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string serverId = 2;
       */
      public Builder clearServerId() {
        bitField0_ = (bitField0_ & ~0x00000002);
        serverId_ = getDefaultInstance().getServerId();
        onChanged();
        return this;
      }
      /**
       * optional string serverId = 2;
       */
      public Builder setServerIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        serverId_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object defaultYamcsInstance_ = "";
      /**
       * optional string defaultYamcsInstance = 3;
       */
      public boolean hasDefaultYamcsInstance() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * optional string defaultYamcsInstance = 3;
       */
      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;
        }
      }
      /**
       * optional string defaultYamcsInstance = 3;
       */
      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;
        }
      }
      /**
       * optional string defaultYamcsInstance = 3;
       */
      public Builder setDefaultYamcsInstance(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        defaultYamcsInstance_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string defaultYamcsInstance = 3;
       */
      public Builder clearDefaultYamcsInstance() {
        bitField0_ = (bitField0_ & ~0x00000004);
        defaultYamcsInstance_ = getDefaultInstance().getDefaultYamcsInstance();
        onChanged();
        return this;
      }
      /**
       * optional string defaultYamcsInstance = 3;
       */
      public Builder setDefaultYamcsInstanceBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        defaultYamcsInstance_ = value;
        onChanged();
        return this;
      }

      private java.util.List route_ =
        java.util.Collections.emptyList();
      private void ensureRouteIsMutable() {
        if (!((bitField0_ & 0x00000008) == 0x00000008)) {
          route_ = new java.util.ArrayList(route_);
          bitField0_ |= 0x00000008;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo, org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.Builder, org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfoOrBuilder> routeBuilder_;

      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public java.util.List getRouteList() {
        if (routeBuilder_ == null) {
          return java.util.Collections.unmodifiableList(route_);
        } else {
          return routeBuilder_.getMessageList();
        }
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public int getRouteCount() {
        if (routeBuilder_ == null) {
          return route_.size();
        } else {
          return routeBuilder_.getCount();
        }
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo getRoute(int index) {
        if (routeBuilder_ == null) {
          return route_.get(index);
        } else {
          return routeBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public Builder setRoute(
          int index, org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo value) {
        if (routeBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRouteIsMutable();
          route_.set(index, value);
          onChanged();
        } else {
          routeBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public Builder setRoute(
          int index, org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.Builder builderForValue) {
        if (routeBuilder_ == null) {
          ensureRouteIsMutable();
          route_.set(index, builderForValue.build());
          onChanged();
        } else {
          routeBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public Builder addRoute(org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo value) {
        if (routeBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRouteIsMutable();
          route_.add(value);
          onChanged();
        } else {
          routeBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public Builder addRoute(
          int index, org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo value) {
        if (routeBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRouteIsMutable();
          route_.add(index, value);
          onChanged();
        } else {
          routeBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public Builder addRoute(
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.Builder builderForValue) {
        if (routeBuilder_ == null) {
          ensureRouteIsMutable();
          route_.add(builderForValue.build());
          onChanged();
        } else {
          routeBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public Builder addRoute(
          int index, org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.Builder builderForValue) {
        if (routeBuilder_ == null) {
          ensureRouteIsMutable();
          route_.add(index, builderForValue.build());
          onChanged();
        } else {
          routeBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public Builder addAllRoute(
          java.lang.Iterable values) {
        if (routeBuilder_ == null) {
          ensureRouteIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, route_);
          onChanged();
        } else {
          routeBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public Builder clearRoute() {
        if (routeBuilder_ == null) {
          route_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
        } else {
          routeBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public Builder removeRoute(int index) {
        if (routeBuilder_ == null) {
          ensureRouteIsMutable();
          route_.remove(index);
          onChanged();
        } else {
          routeBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.Builder getRouteBuilder(
          int index) {
        return getRouteFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfoOrBuilder getRouteOrBuilder(
          int index) {
        if (routeBuilder_ == null) {
          return route_.get(index);  } else {
          return routeBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public java.util.List 
           getRouteOrBuilderList() {
        if (routeBuilder_ != null) {
          return routeBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(route_);
        }
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.Builder addRouteBuilder() {
        return getRouteFieldBuilder().addBuilder(
            org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.getDefaultInstance());
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.Builder addRouteBuilder(
          int index) {
        return getRouteFieldBuilder().addBuilder(
            index, org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.getDefaultInstance());
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.RouteInfo route = 4;
       */
      public java.util.List 
           getRouteBuilderList() {
        return getRouteFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo, org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.Builder, org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfoOrBuilder> 
          getRouteFieldBuilder() {
        if (routeBuilder_ == null) {
          routeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo, org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfo.Builder, org.yamcs.protobuf.Rest.GetApiOverviewResponse.RouteInfoOrBuilder>(
                  route_,
                  ((bitField0_ & 0x00000008) == 0x00000008),
                  getParentForChildren(),
                  isClean());
          route_ = null;
        }
        return routeBuilder_;
      }

      private java.util.List plugin_ =
        java.util.Collections.emptyList();
      private void ensurePluginIsMutable() {
        if (!((bitField0_ & 0x00000010) == 0x00000010)) {
          plugin_ = new java.util.ArrayList(plugin_);
          bitField0_ |= 0x00000010;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo, org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.Builder, org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfoOrBuilder> pluginBuilder_;

      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public java.util.List getPluginList() {
        if (pluginBuilder_ == null) {
          return java.util.Collections.unmodifiableList(plugin_);
        } else {
          return pluginBuilder_.getMessageList();
        }
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public int getPluginCount() {
        if (pluginBuilder_ == null) {
          return plugin_.size();
        } else {
          return pluginBuilder_.getCount();
        }
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo getPlugin(int index) {
        if (pluginBuilder_ == null) {
          return plugin_.get(index);
        } else {
          return pluginBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public Builder setPlugin(
          int index, org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo value) {
        if (pluginBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePluginIsMutable();
          plugin_.set(index, value);
          onChanged();
        } else {
          pluginBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public Builder setPlugin(
          int index, org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.Builder builderForValue) {
        if (pluginBuilder_ == null) {
          ensurePluginIsMutable();
          plugin_.set(index, builderForValue.build());
          onChanged();
        } else {
          pluginBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public Builder addPlugin(org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo value) {
        if (pluginBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePluginIsMutable();
          plugin_.add(value);
          onChanged();
        } else {
          pluginBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public Builder addPlugin(
          int index, org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo value) {
        if (pluginBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePluginIsMutable();
          plugin_.add(index, value);
          onChanged();
        } else {
          pluginBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public Builder addPlugin(
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.Builder builderForValue) {
        if (pluginBuilder_ == null) {
          ensurePluginIsMutable();
          plugin_.add(builderForValue.build());
          onChanged();
        } else {
          pluginBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public Builder addPlugin(
          int index, org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.Builder builderForValue) {
        if (pluginBuilder_ == null) {
          ensurePluginIsMutable();
          plugin_.add(index, builderForValue.build());
          onChanged();
        } else {
          pluginBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public Builder addAllPlugin(
          java.lang.Iterable values) {
        if (pluginBuilder_ == null) {
          ensurePluginIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, plugin_);
          onChanged();
        } else {
          pluginBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public Builder clearPlugin() {
        if (pluginBuilder_ == null) {
          plugin_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000010);
          onChanged();
        } else {
          pluginBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public Builder removePlugin(int index) {
        if (pluginBuilder_ == null) {
          ensurePluginIsMutable();
          plugin_.remove(index);
          onChanged();
        } else {
          pluginBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.Builder getPluginBuilder(
          int index) {
        return getPluginFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfoOrBuilder getPluginOrBuilder(
          int index) {
        if (pluginBuilder_ == null) {
          return plugin_.get(index);  } else {
          return pluginBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public java.util.List 
           getPluginOrBuilderList() {
        if (pluginBuilder_ != null) {
          return pluginBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(plugin_);
        }
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.Builder addPluginBuilder() {
        return getPluginFieldBuilder().addBuilder(
            org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.getDefaultInstance());
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.Builder addPluginBuilder(
          int index) {
        return getPluginFieldBuilder().addBuilder(
            index, org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.getDefaultInstance());
      }
      /**
       * repeated .parameters.GetApiOverviewResponse.PluginInfo plugin = 5;
       */
      public java.util.List 
           getPluginBuilderList() {
        return getPluginFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo, org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.Builder, org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfoOrBuilder> 
          getPluginFieldBuilder() {
        if (pluginBuilder_ == null) {
          pluginBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo, org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfo.Builder, org.yamcs.protobuf.Rest.GetApiOverviewResponse.PluginInfoOrBuilder>(
                  plugin_,
                  ((bitField0_ & 0x00000010) == 0x00000010),
                  getParentForChildren(),
                  isClean());
          plugin_ = null;
        }
        return pluginBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:parameters.GetApiOverviewResponse)
    }

    static {
      defaultInstance = new GetApiOverviewResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:parameters.GetApiOverviewResponse)
  }

  public interface ListParameterInfoResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:parameters.ListParameterInfoResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .mdb.ParameterInfo parameter = 1;
     */
    java.util.List 
        getParameterList();
    /**
     * repeated .mdb.ParameterInfo parameter = 1;
     */
    org.yamcs.protobuf.Mdb.ParameterInfo getParameter(int index);
    /**
     * repeated .mdb.ParameterInfo parameter = 1;
     */
    int getParameterCount();
    /**
     * repeated .mdb.ParameterInfo parameter = 1;
     */
    java.util.List 
        getParameterOrBuilderList();
    /**
     * repeated .mdb.ParameterInfo parameter = 1;
     */
    org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code parameters.ListParameterInfoResponse}
   */
  public static final class ListParameterInfoResponse extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:parameters.ListParameterInfoResponse)
      ListParameterInfoResponseOrBuilder {
    // Use ListParameterInfoResponse.newBuilder() to construct.
    private ListParameterInfoResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private ListParameterInfoResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final ListParameterInfoResponse defaultInstance;
    public static ListParameterInfoResponse getDefaultInstance() {
      return defaultInstance;
    }

    public ListParameterInfoResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private ListParameterInfoResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                parameter_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              parameter_.add(input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          parameter_ = java.util.Collections.unmodifiableList(parameter_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.yamcs.protobuf.Rest.internal_static_parameters_ListParameterInfoResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.yamcs.protobuf.Rest.internal_static_parameters_ListParameterInfoResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.yamcs.protobuf.Rest.ListParameterInfoResponse.class, org.yamcs.protobuf.Rest.ListParameterInfoResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public ListParameterInfoResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ListParameterInfoResponse(input, extensionRegistry);
      }
    };

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    public static final int PARAMETER_FIELD_NUMBER = 1;
    private java.util.List parameter_;
    /**
     * repeated .mdb.ParameterInfo parameter = 1;
     */
    public java.util.List getParameterList() {
      return parameter_;
    }
    /**
     * repeated .mdb.ParameterInfo parameter = 1;
     */
    public java.util.List 
        getParameterOrBuilderList() {
      return parameter_;
    }
    /**
     * repeated .mdb.ParameterInfo parameter = 1;
     */
    public int getParameterCount() {
      return parameter_.size();
    }
    /**
     * repeated .mdb.ParameterInfo parameter = 1;
     */
    public org.yamcs.protobuf.Mdb.ParameterInfo getParameter(int index) {
      return parameter_.get(index);
    }
    /**
     * repeated .mdb.ParameterInfo parameter = 1;
     */
    public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(
        int index) {
      return parameter_.get(index);
    }

    private void initFields() {
      parameter_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      for (int i = 0; i < getParameterCount(); i++) {
        if (!getParameter(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < parameter_.size(); i++) {
        output.writeMessage(1, parameter_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      for (int i = 0; i < parameter_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, parameter_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static org.yamcs.protobuf.Rest.ListParameterInfoResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.Rest.ListParameterInfoResponse 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.Rest.ListParameterInfoResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.Rest.ListParameterInfoResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.yamcs.protobuf.Rest.ListParameterInfoResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static org.yamcs.protobuf.Rest.ListParameterInfoResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static org.yamcs.protobuf.Rest.ListParameterInfoResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static org.yamcs.protobuf.Rest.ListParameterInfoResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static org.yamcs.protobuf.Rest.ListParameterInfoResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static org.yamcs.protobuf.Rest.ListParameterInfoResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(org.yamcs.protobuf.Rest.ListParameterInfoResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code parameters.ListParameterInfoResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder implements
        // @@protoc_insertion_point(builder_implements:parameters.ListParameterInfoResponse)
        org.yamcs.protobuf.Rest.ListParameterInfoResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_ListParameterInfoResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_ListParameterInfoResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.yamcs.protobuf.Rest.ListParameterInfoResponse.class, org.yamcs.protobuf.Rest.ListParameterInfoResponse.Builder.class);
      }

      // Construct using org.yamcs.protobuf.Rest.ListParameterInfoResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getParameterFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (parameterBuilder_ == null) {
          parameter_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          parameterBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_ListParameterInfoResponse_descriptor;
      }

      public org.yamcs.protobuf.Rest.ListParameterInfoResponse getDefaultInstanceForType() {
        return org.yamcs.protobuf.Rest.ListParameterInfoResponse.getDefaultInstance();
      }

      public org.yamcs.protobuf.Rest.ListParameterInfoResponse build() {
        org.yamcs.protobuf.Rest.ListParameterInfoResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public org.yamcs.protobuf.Rest.ListParameterInfoResponse buildPartial() {
        org.yamcs.protobuf.Rest.ListParameterInfoResponse result = new org.yamcs.protobuf.Rest.ListParameterInfoResponse(this);
        int from_bitField0_ = bitField0_;
        if (parameterBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            parameter_ = java.util.Collections.unmodifiableList(parameter_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.parameter_ = parameter_;
        } else {
          result.parameter_ = parameterBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof org.yamcs.protobuf.Rest.ListParameterInfoResponse) {
          return mergeFrom((org.yamcs.protobuf.Rest.ListParameterInfoResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.yamcs.protobuf.Rest.ListParameterInfoResponse other) {
        if (other == org.yamcs.protobuf.Rest.ListParameterInfoResponse.getDefaultInstance()) return this;
        if (parameterBuilder_ == null) {
          if (!other.parameter_.isEmpty()) {
            if (parameter_.isEmpty()) {
              parameter_ = other.parameter_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureParameterIsMutable();
              parameter_.addAll(other.parameter_);
            }
            onChanged();
          }
        } else {
          if (!other.parameter_.isEmpty()) {
            if (parameterBuilder_.isEmpty()) {
              parameterBuilder_.dispose();
              parameterBuilder_ = null;
              parameter_ = other.parameter_;
              bitField0_ = (bitField0_ & ~0x00000001);
              parameterBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getParameterFieldBuilder() : null;
            } else {
              parameterBuilder_.addAllMessages(other.parameter_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        for (int i = 0; i < getParameterCount(); i++) {
          if (!getParameter(i).isInitialized()) {
            
            return false;
          }
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.yamcs.protobuf.Rest.ListParameterInfoResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.yamcs.protobuf.Rest.ListParameterInfoResponse) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List parameter_ =
        java.util.Collections.emptyList();
      private void ensureParameterIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          parameter_ = new java.util.ArrayList(parameter_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> parameterBuilder_;

      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public java.util.List getParameterList() {
        if (parameterBuilder_ == null) {
          return java.util.Collections.unmodifiableList(parameter_);
        } else {
          return parameterBuilder_.getMessageList();
        }
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public int getParameterCount() {
        if (parameterBuilder_ == null) {
          return parameter_.size();
        } else {
          return parameterBuilder_.getCount();
        }
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public org.yamcs.protobuf.Mdb.ParameterInfo getParameter(int index) {
        if (parameterBuilder_ == null) {
          return parameter_.get(index);
        } else {
          return parameterBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public Builder setParameter(
          int index, org.yamcs.protobuf.Mdb.ParameterInfo value) {
        if (parameterBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureParameterIsMutable();
          parameter_.set(index, value);
          onChanged();
        } else {
          parameterBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public Builder setParameter(
          int index, org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) {
        if (parameterBuilder_ == null) {
          ensureParameterIsMutable();
          parameter_.set(index, builderForValue.build());
          onChanged();
        } else {
          parameterBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public Builder addParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) {
        if (parameterBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureParameterIsMutable();
          parameter_.add(value);
          onChanged();
        } else {
          parameterBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public Builder addParameter(
          int index, org.yamcs.protobuf.Mdb.ParameterInfo value) {
        if (parameterBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureParameterIsMutable();
          parameter_.add(index, value);
          onChanged();
        } else {
          parameterBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public Builder addParameter(
          org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) {
        if (parameterBuilder_ == null) {
          ensureParameterIsMutable();
          parameter_.add(builderForValue.build());
          onChanged();
        } else {
          parameterBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public Builder addParameter(
          int index, org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) {
        if (parameterBuilder_ == null) {
          ensureParameterIsMutable();
          parameter_.add(index, builderForValue.build());
          onChanged();
        } else {
          parameterBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public Builder addAllParameter(
          java.lang.Iterable values) {
        if (parameterBuilder_ == null) {
          ensureParameterIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, parameter_);
          onChanged();
        } else {
          parameterBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public Builder clearParameter() {
        if (parameterBuilder_ == null) {
          parameter_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          parameterBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public Builder removeParameter(int index) {
        if (parameterBuilder_ == null) {
          ensureParameterIsMutable();
          parameter_.remove(index);
          onChanged();
        } else {
          parameterBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getParameterBuilder(
          int index) {
        return getParameterFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder(
          int index) {
        if (parameterBuilder_ == null) {
          return parameter_.get(index);  } else {
          return parameterBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public java.util.List 
           getParameterOrBuilderList() {
        if (parameterBuilder_ != null) {
          return parameterBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(parameter_);
        }
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public org.yamcs.protobuf.Mdb.ParameterInfo.Builder addParameterBuilder() {
        return getParameterFieldBuilder().addBuilder(
            org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance());
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public org.yamcs.protobuf.Mdb.ParameterInfo.Builder addParameterBuilder(
          int index) {
        return getParameterFieldBuilder().addBuilder(
            index, org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance());
      }
      /**
       * repeated .mdb.ParameterInfo parameter = 1;
       */
      public java.util.List 
           getParameterBuilderList() {
        return getParameterFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> 
          getParameterFieldBuilder() {
        if (parameterBuilder_ == null) {
          parameterBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder>(
                  parameter_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          parameter_ = null;
        }
        return parameterBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:parameters.ListParameterInfoResponse)
    }

    static {
      defaultInstance = new ListParameterInfoResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:parameters.ListParameterInfoResponse)
  }

  public interface BulkGetParameterInfoRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:parameters.BulkGetParameterInfoRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    java.util.List 
        getIdList();
    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    org.yamcs.protobuf.Yamcs.NamedObjectId getId(int index);
    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    int getIdCount();
    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    java.util.List 
        getIdOrBuilderList();
    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code parameters.BulkGetParameterInfoRequest}
   */
  public static final class BulkGetParameterInfoRequest extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:parameters.BulkGetParameterInfoRequest)
      BulkGetParameterInfoRequestOrBuilder {
    // Use BulkGetParameterInfoRequest.newBuilder() to construct.
    private BulkGetParameterInfoRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private BulkGetParameterInfoRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final BulkGetParameterInfoRequest defaultInstance;
    public static BulkGetParameterInfoRequest getDefaultInstance() {
      return defaultInstance;
    }

    public BulkGetParameterInfoRequest getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private BulkGetParameterInfoRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                id_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              id_.add(input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          id_ = java.util.Collections.unmodifiableList(id_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest.class, org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public BulkGetParameterInfoRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new BulkGetParameterInfoRequest(input, extensionRegistry);
      }
    };

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    public static final int ID_FIELD_NUMBER = 1;
    private java.util.List id_;
    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    public java.util.List getIdList() {
      return id_;
    }
    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    public java.util.List 
        getIdOrBuilderList() {
      return id_;
    }
    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    public int getIdCount() {
      return id_.size();
    }
    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    public org.yamcs.protobuf.Yamcs.NamedObjectId getId(int index) {
      return id_.get(index);
    }
    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder(
        int index) {
      return id_.get(index);
    }

    private void initFields() {
      id_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      for (int i = 0; i < getIdCount(); i++) {
        if (!getId(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < id_.size(); i++) {
        output.writeMessage(1, id_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      for (int i = 0; i < id_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, id_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest 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.Rest.BulkGetParameterInfoRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code parameters.BulkGetParameterInfoRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder implements
        // @@protoc_insertion_point(builder_implements:parameters.BulkGetParameterInfoRequest)
        org.yamcs.protobuf.Rest.BulkGetParameterInfoRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest.class, org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest.Builder.class);
      }

      // Construct using org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getIdFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (idBuilder_ == null) {
          id_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          idBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoRequest_descriptor;
      }

      public org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest getDefaultInstanceForType() {
        return org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest.getDefaultInstance();
      }

      public org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest build() {
        org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest buildPartial() {
        org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest result = new org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest(this);
        int from_bitField0_ = bitField0_;
        if (idBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            id_ = java.util.Collections.unmodifiableList(id_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.id_ = id_;
        } else {
          result.id_ = idBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest) {
          return mergeFrom((org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest other) {
        if (other == org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest.getDefaultInstance()) return this;
        if (idBuilder_ == null) {
          if (!other.id_.isEmpty()) {
            if (id_.isEmpty()) {
              id_ = other.id_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureIdIsMutable();
              id_.addAll(other.id_);
            }
            onChanged();
          }
        } else {
          if (!other.id_.isEmpty()) {
            if (idBuilder_.isEmpty()) {
              idBuilder_.dispose();
              idBuilder_ = null;
              id_ = other.id_;
              bitField0_ = (bitField0_ & ~0x00000001);
              idBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getIdFieldBuilder() : null;
            } else {
              idBuilder_.addAllMessages(other.id_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        for (int i = 0; i < getIdCount(); i++) {
          if (!getId(i).isInitialized()) {
            
            return false;
          }
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.yamcs.protobuf.Rest.BulkGetParameterInfoRequest) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List id_ =
        java.util.Collections.emptyList();
      private void ensureIdIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          id_ = new java.util.ArrayList(id_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> idBuilder_;

      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public java.util.List getIdList() {
        if (idBuilder_ == null) {
          return java.util.Collections.unmodifiableList(id_);
        } else {
          return idBuilder_.getMessageList();
        }
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public int getIdCount() {
        if (idBuilder_ == null) {
          return id_.size();
        } else {
          return idBuilder_.getCount();
        }
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public org.yamcs.protobuf.Yamcs.NamedObjectId getId(int index) {
        if (idBuilder_ == null) {
          return id_.get(index);
        } else {
          return idBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public Builder setId(
          int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) {
        if (idBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureIdIsMutable();
          id_.set(index, value);
          onChanged();
        } else {
          idBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public Builder setId(
          int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) {
        if (idBuilder_ == null) {
          ensureIdIsMutable();
          id_.set(index, builderForValue.build());
          onChanged();
        } else {
          idBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public Builder addId(org.yamcs.protobuf.Yamcs.NamedObjectId value) {
        if (idBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureIdIsMutable();
          id_.add(value);
          onChanged();
        } else {
          idBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public Builder addId(
          int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) {
        if (idBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureIdIsMutable();
          id_.add(index, value);
          onChanged();
        } else {
          idBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public Builder addId(
          org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) {
        if (idBuilder_ == null) {
          ensureIdIsMutable();
          id_.add(builderForValue.build());
          onChanged();
        } else {
          idBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public Builder addId(
          int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) {
        if (idBuilder_ == null) {
          ensureIdIsMutable();
          id_.add(index, builderForValue.build());
          onChanged();
        } else {
          idBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public Builder addAllId(
          java.lang.Iterable values) {
        if (idBuilder_ == null) {
          ensureIdIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, id_);
          onChanged();
        } else {
          idBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public Builder clearId() {
        if (idBuilder_ == null) {
          id_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          idBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public Builder removeId(int index) {
        if (idBuilder_ == null) {
          ensureIdIsMutable();
          id_.remove(index);
          onChanged();
        } else {
          idBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getIdBuilder(
          int index) {
        return getIdFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder(
          int index) {
        if (idBuilder_ == null) {
          return id_.get(index);  } else {
          return idBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public java.util.List 
           getIdOrBuilderList() {
        if (idBuilder_ != null) {
          return idBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(id_);
        }
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addIdBuilder() {
        return getIdFieldBuilder().addBuilder(
            org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance());
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addIdBuilder(
          int index) {
        return getIdFieldBuilder().addBuilder(
            index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance());
      }
      /**
       * repeated .yamcs.NamedObjectId id = 1;
       */
      public java.util.List 
           getIdBuilderList() {
        return getIdFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> 
          getIdFieldBuilder() {
        if (idBuilder_ == null) {
          idBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>(
                  id_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          id_ = null;
        }
        return idBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:parameters.BulkGetParameterInfoRequest)
    }

    static {
      defaultInstance = new BulkGetParameterInfoRequest(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:parameters.BulkGetParameterInfoRequest)
  }

  public interface BulkGetParameterInfoResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:parameters.BulkGetParameterInfoResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
     */
    java.util.List 
        getResponseList();
    /**
     * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
     */
    org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse getResponse(int index);
    /**
     * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
     */
    int getResponseCount();
    /**
     * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
     */
    java.util.List 
        getResponseOrBuilderList();
    /**
     * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
     */
    org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponseOrBuilder getResponseOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code parameters.BulkGetParameterInfoResponse}
   */
  public static final class BulkGetParameterInfoResponse extends
      com.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:parameters.BulkGetParameterInfoResponse)
      BulkGetParameterInfoResponseOrBuilder {
    // Use BulkGetParameterInfoResponse.newBuilder() to construct.
    private BulkGetParameterInfoResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private BulkGetParameterInfoResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final BulkGetParameterInfoResponse defaultInstance;
    public static BulkGetParameterInfoResponse getDefaultInstance() {
      return defaultInstance;
    }

    public BulkGetParameterInfoResponse getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private BulkGetParameterInfoResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      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;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                response_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              response_.add(input.readMessage(org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          response_ = java.util.Collections.unmodifiableList(response_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.class, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.Builder.class);
    }

    public static com.google.protobuf.Parser PARSER =
        new com.google.protobuf.AbstractParser() {
      public BulkGetParameterInfoResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new BulkGetParameterInfoResponse(input, extensionRegistry);
      }
    };

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    public interface GetParameterInfoResponseOrBuilder extends
        // @@protoc_insertion_point(interface_extends:parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse)
        com.google.protobuf.MessageOrBuilder {

      /**
       * optional .yamcs.NamedObjectId id = 1;
       */
      boolean hasId();
      /**
       * optional .yamcs.NamedObjectId id = 1;
       */
      org.yamcs.protobuf.Yamcs.NamedObjectId getId();
      /**
       * optional .yamcs.NamedObjectId id = 1;
       */
      org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder();

      /**
       * optional .mdb.ParameterInfo parameter = 2;
       */
      boolean hasParameter();
      /**
       * optional .mdb.ParameterInfo parameter = 2;
       */
      org.yamcs.protobuf.Mdb.ParameterInfo getParameter();
      /**
       * optional .mdb.ParameterInfo parameter = 2;
       */
      org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder();
    }
    /**
     * Protobuf type {@code parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse}
     */
    public static final class GetParameterInfoResponse extends
        com.google.protobuf.GeneratedMessage implements
        // @@protoc_insertion_point(message_implements:parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse)
        GetParameterInfoResponseOrBuilder {
      // Use GetParameterInfoResponse.newBuilder() to construct.
      private GetParameterInfoResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
        super(builder);
        this.unknownFields = builder.getUnknownFields();
      }
      private GetParameterInfoResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

      private static final GetParameterInfoResponse defaultInstance;
      public static GetParameterInfoResponse getDefaultInstance() {
        return defaultInstance;
      }

      public GetParameterInfoResponse getDefaultInstanceForType() {
        return defaultInstance;
      }

      private final com.google.protobuf.UnknownFieldSet unknownFields;
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
          getUnknownFields() {
        return this.unknownFields;
      }
      private GetParameterInfoResponse(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        initFields();
        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;
              default: {
                if (!parseUnknownField(input, unknownFields,
                                       extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
              case 10: {
                org.yamcs.protobuf.Yamcs.NamedObjectId.Builder subBuilder = null;
                if (((bitField0_ & 0x00000001) == 0x00000001)) {
                  subBuilder = id_.toBuilder();
                }
                id_ = input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(id_);
                  id_ = subBuilder.buildPartial();
                }
                bitField0_ |= 0x00000001;
                break;
              }
              case 18: {
                org.yamcs.protobuf.Mdb.ParameterInfo.Builder subBuilder = null;
                if (((bitField0_ & 0x00000002) == 0x00000002)) {
                  subBuilder = parameter_.toBuilder();
                }
                parameter_ = input.readMessage(org.yamcs.protobuf.Mdb.ParameterInfo.PARSER, extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(parameter_);
                  parameter_ = subBuilder.buildPartial();
                }
                bitField0_ |= 0x00000002;
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e.getMessage()).setUnfinishedMessage(this);
        } finally {
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoResponse_GetParameterInfoResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoResponse_GetParameterInfoResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.class, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.Builder.class);
      }

      public static com.google.protobuf.Parser PARSER =
          new com.google.protobuf.AbstractParser() {
        public GetParameterInfoResponse parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new GetParameterInfoResponse(input, extensionRegistry);
        }
      };

      @java.lang.Override
      public com.google.protobuf.Parser getParserForType() {
        return PARSER;
      }

      private int bitField0_;
      public static final int ID_FIELD_NUMBER = 1;
      private org.yamcs.protobuf.Yamcs.NamedObjectId id_;
      /**
       * optional .yamcs.NamedObjectId id = 1;
       */
      public boolean hasId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * optional .yamcs.NamedObjectId id = 1;
       */
      public org.yamcs.protobuf.Yamcs.NamedObjectId getId() {
        return id_;
      }
      /**
       * optional .yamcs.NamedObjectId id = 1;
       */
      public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder() {
        return id_;
      }

      public static final int PARAMETER_FIELD_NUMBER = 2;
      private org.yamcs.protobuf.Mdb.ParameterInfo parameter_;
      /**
       * optional .mdb.ParameterInfo parameter = 2;
       */
      public boolean hasParameter() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * optional .mdb.ParameterInfo parameter = 2;
       */
      public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() {
        return parameter_;
      }
      /**
       * optional .mdb.ParameterInfo parameter = 2;
       */
      public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() {
        return parameter_;
      }

      private void initFields() {
        id_ = org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance();
        parameter_ = org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance();
      }
      private byte memoizedIsInitialized = -1;
      public final boolean isInitialized() {
        byte isInitialized = memoizedIsInitialized;
        if (isInitialized == 1) return true;
        if (isInitialized == 0) return false;

        if (hasId()) {
          if (!getId().isInitialized()) {
            memoizedIsInitialized = 0;
            return false;
          }
        }
        if (hasParameter()) {
          if (!getParameter().isInitialized()) {
            memoizedIsInitialized = 0;
            return false;
          }
        }
        memoizedIsInitialized = 1;
        return true;
      }

      public void writeTo(com.google.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        getSerializedSize();
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          output.writeMessage(1, id_);
        }
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          output.writeMessage(2, parameter_);
        }
        getUnknownFields().writeTo(output);
      }

      private int memoizedSerializedSize = -1;
      public int getSerializedSize() {
        int size = memoizedSerializedSize;
        if (size != -1) return size;

        size = 0;
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, id_);
        }
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(2, parameter_);
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSerializedSize = size;
        return size;
      }

      private static final long serialVersionUID = 0L;
      @java.lang.Override
      protected java.lang.Object writeReplace()
          throws java.io.ObjectStreamException {
        return super.writeReplace();
      }

      public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse 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.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return PARSER.parseFrom(input);
      }
      public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseFrom(input, extensionRegistry);
      }
      public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return PARSER.parseDelimitedFrom(input);
      }
      public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseDelimitedFrom(input, extensionRegistry);
      }
      public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return PARSER.parseFrom(input);
      }
      public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseFrom(input, extensionRegistry);
      }

      public static Builder newBuilder() { return Builder.create(); }
      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder(org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse prototype) {
        return newBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() { return newBuilder(this); }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * Protobuf type {@code parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessage.Builder implements
          // @@protoc_insertion_point(builder_implements:parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse)
          org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponseOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoResponse_GetParameterInfoResponse_descriptor;
        }

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoResponse_GetParameterInfoResponse_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.class, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.Builder.class);
        }

        // Construct using org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

        private Builder(
            com.google.protobuf.GeneratedMessage.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
            getIdFieldBuilder();
            getParameterFieldBuilder();
          }
        }
        private static Builder create() {
          return new Builder();
        }

        public Builder clear() {
          super.clear();
          if (idBuilder_ == null) {
            id_ = org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance();
          } else {
            idBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000001);
          if (parameterBuilder_ == null) {
            parameter_ = org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance();
          } else {
            parameterBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000002);
          return this;
        }

        public Builder clone() {
          return create().mergeFrom(buildPartial());
        }

        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoResponse_GetParameterInfoResponse_descriptor;
        }

        public org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse getDefaultInstanceForType() {
          return org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.getDefaultInstance();
        }

        public org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse build() {
          org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse buildPartial() {
          org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse result = new org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
            to_bitField0_ |= 0x00000001;
          }
          if (idBuilder_ == null) {
            result.id_ = id_;
          } else {
            result.id_ = idBuilder_.build();
          }
          if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
            to_bitField0_ |= 0x00000002;
          }
          if (parameterBuilder_ == null) {
            result.parameter_ = parameter_;
          } else {
            result.parameter_ = parameterBuilder_.build();
          }
          result.bitField0_ = to_bitField0_;
          onBuilt();
          return result;
        }

        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse) {
            return mergeFrom((org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse other) {
          if (other == org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.getDefaultInstance()) return this;
          if (other.hasId()) {
            mergeId(other.getId());
          }
          if (other.hasParameter()) {
            mergeParameter(other.getParameter());
          }
          this.mergeUnknownFields(other.getUnknownFields());
          return this;
        }

        public final boolean isInitialized() {
          if (hasId()) {
            if (!getId().isInitialized()) {
              
              return false;
            }
          }
          if (hasParameter()) {
            if (!getParameter().isInitialized()) {
              
              return false;
            }
          }
          return true;
        }

        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse) e.getUnfinishedMessage();
            throw e;
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;

        private org.yamcs.protobuf.Yamcs.NamedObjectId id_ = org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance();
        private com.google.protobuf.SingleFieldBuilder<
            org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> idBuilder_;
        /**
         * optional .yamcs.NamedObjectId id = 1;
         */
        public boolean hasId() {
          return ((bitField0_ & 0x00000001) == 0x00000001);
        }
        /**
         * optional .yamcs.NamedObjectId id = 1;
         */
        public org.yamcs.protobuf.Yamcs.NamedObjectId getId() {
          if (idBuilder_ == null) {
            return id_;
          } else {
            return idBuilder_.getMessage();
          }
        }
        /**
         * optional .yamcs.NamedObjectId id = 1;
         */
        public Builder setId(org.yamcs.protobuf.Yamcs.NamedObjectId value) {
          if (idBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            id_ = value;
            onChanged();
          } else {
            idBuilder_.setMessage(value);
          }
          bitField0_ |= 0x00000001;
          return this;
        }
        /**
         * optional .yamcs.NamedObjectId id = 1;
         */
        public Builder setId(
            org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) {
          if (idBuilder_ == null) {
            id_ = builderForValue.build();
            onChanged();
          } else {
            idBuilder_.setMessage(builderForValue.build());
          }
          bitField0_ |= 0x00000001;
          return this;
        }
        /**
         * optional .yamcs.NamedObjectId id = 1;
         */
        public Builder mergeId(org.yamcs.protobuf.Yamcs.NamedObjectId value) {
          if (idBuilder_ == null) {
            if (((bitField0_ & 0x00000001) == 0x00000001) &&
                id_ != org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()) {
              id_ =
                org.yamcs.protobuf.Yamcs.NamedObjectId.newBuilder(id_).mergeFrom(value).buildPartial();
            } else {
              id_ = value;
            }
            onChanged();
          } else {
            idBuilder_.mergeFrom(value);
          }
          bitField0_ |= 0x00000001;
          return this;
        }
        /**
         * optional .yamcs.NamedObjectId id = 1;
         */
        public Builder clearId() {
          if (idBuilder_ == null) {
            id_ = org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance();
            onChanged();
          } else {
            idBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000001);
          return this;
        }
        /**
         * optional .yamcs.NamedObjectId id = 1;
         */
        public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getIdBuilder() {
          bitField0_ |= 0x00000001;
          onChanged();
          return getIdFieldBuilder().getBuilder();
        }
        /**
         * optional .yamcs.NamedObjectId id = 1;
         */
        public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder() {
          if (idBuilder_ != null) {
            return idBuilder_.getMessageOrBuilder();
          } else {
            return id_;
          }
        }
        /**
         * optional .yamcs.NamedObjectId id = 1;
         */
        private com.google.protobuf.SingleFieldBuilder<
            org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> 
            getIdFieldBuilder() {
          if (idBuilder_ == null) {
            idBuilder_ = new com.google.protobuf.SingleFieldBuilder<
                org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>(
                    getId(),
                    getParentForChildren(),
                    isClean());
            id_ = null;
          }
          return idBuilder_;
        }

        private org.yamcs.protobuf.Mdb.ParameterInfo parameter_ = org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance();
        private com.google.protobuf.SingleFieldBuilder<
            org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> parameterBuilder_;
        /**
         * optional .mdb.ParameterInfo parameter = 2;
         */
        public boolean hasParameter() {
          return ((bitField0_ & 0x00000002) == 0x00000002);
        }
        /**
         * optional .mdb.ParameterInfo parameter = 2;
         */
        public org.yamcs.protobuf.Mdb.ParameterInfo getParameter() {
          if (parameterBuilder_ == null) {
            return parameter_;
          } else {
            return parameterBuilder_.getMessage();
          }
        }
        /**
         * optional .mdb.ParameterInfo parameter = 2;
         */
        public Builder setParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) {
          if (parameterBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            parameter_ = value;
            onChanged();
          } else {
            parameterBuilder_.setMessage(value);
          }
          bitField0_ |= 0x00000002;
          return this;
        }
        /**
         * optional .mdb.ParameterInfo parameter = 2;
         */
        public Builder setParameter(
            org.yamcs.protobuf.Mdb.ParameterInfo.Builder builderForValue) {
          if (parameterBuilder_ == null) {
            parameter_ = builderForValue.build();
            onChanged();
          } else {
            parameterBuilder_.setMessage(builderForValue.build());
          }
          bitField0_ |= 0x00000002;
          return this;
        }
        /**
         * optional .mdb.ParameterInfo parameter = 2;
         */
        public Builder mergeParameter(org.yamcs.protobuf.Mdb.ParameterInfo value) {
          if (parameterBuilder_ == null) {
            if (((bitField0_ & 0x00000002) == 0x00000002) &&
                parameter_ != org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance()) {
              parameter_ =
                org.yamcs.protobuf.Mdb.ParameterInfo.newBuilder(parameter_).mergeFrom(value).buildPartial();
            } else {
              parameter_ = value;
            }
            onChanged();
          } else {
            parameterBuilder_.mergeFrom(value);
          }
          bitField0_ |= 0x00000002;
          return this;
        }
        /**
         * optional .mdb.ParameterInfo parameter = 2;
         */
        public Builder clearParameter() {
          if (parameterBuilder_ == null) {
            parameter_ = org.yamcs.protobuf.Mdb.ParameterInfo.getDefaultInstance();
            onChanged();
          } else {
            parameterBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000002);
          return this;
        }
        /**
         * optional .mdb.ParameterInfo parameter = 2;
         */
        public org.yamcs.protobuf.Mdb.ParameterInfo.Builder getParameterBuilder() {
          bitField0_ |= 0x00000002;
          onChanged();
          return getParameterFieldBuilder().getBuilder();
        }
        /**
         * optional .mdb.ParameterInfo parameter = 2;
         */
        public org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder getParameterOrBuilder() {
          if (parameterBuilder_ != null) {
            return parameterBuilder_.getMessageOrBuilder();
          } else {
            return parameter_;
          }
        }
        /**
         * optional .mdb.ParameterInfo parameter = 2;
         */
        private com.google.protobuf.SingleFieldBuilder<
            org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder> 
            getParameterFieldBuilder() {
          if (parameterBuilder_ == null) {
            parameterBuilder_ = new com.google.protobuf.SingleFieldBuilder<
                org.yamcs.protobuf.Mdb.ParameterInfo, org.yamcs.protobuf.Mdb.ParameterInfo.Builder, org.yamcs.protobuf.Mdb.ParameterInfoOrBuilder>(
                    getParameter(),
                    getParentForChildren(),
                    isClean());
            parameter_ = null;
          }
          return parameterBuilder_;
        }

        // @@protoc_insertion_point(builder_scope:parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse)
      }

      static {
        defaultInstance = new GetParameterInfoResponse(true);
        defaultInstance.initFields();
      }

      // @@protoc_insertion_point(class_scope:parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse)
    }

    public static final int RESPONSE_FIELD_NUMBER = 1;
    private java.util.List response_;
    /**
     * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
     */
    public java.util.List getResponseList() {
      return response_;
    }
    /**
     * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
     */
    public java.util.List 
        getResponseOrBuilderList() {
      return response_;
    }
    /**
     * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
     */
    public int getResponseCount() {
      return response_.size();
    }
    /**
     * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
     */
    public org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse getResponse(int index) {
      return response_.get(index);
    }
    /**
     * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
     */
    public org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponseOrBuilder getResponseOrBuilder(
        int index) {
      return response_.get(index);
    }

    private void initFields() {
      response_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      for (int i = 0; i < getResponseCount(); i++) {
        if (!getResponse(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < response_.size(); i++) {
        output.writeMessage(1, response_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      for (int i = 0; i < response_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, response_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse 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.Rest.BulkGetParameterInfoResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code parameters.BulkGetParameterInfoResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessage.Builder implements
        // @@protoc_insertion_point(builder_implements:parameters.BulkGetParameterInfoResponse)
        org.yamcs.protobuf.Rest.BulkGetParameterInfoResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.class, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.Builder.class);
      }

      // Construct using org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getResponseFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (responseBuilder_ == null) {
          response_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          responseBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterInfoResponse_descriptor;
      }

      public org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse getDefaultInstanceForType() {
        return org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.getDefaultInstance();
      }

      public org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse build() {
        org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse buildPartial() {
        org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse result = new org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse(this);
        int from_bitField0_ = bitField0_;
        if (responseBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            response_ = java.util.Collections.unmodifiableList(response_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.response_ = response_;
        } else {
          result.response_ = responseBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse) {
          return mergeFrom((org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse other) {
        if (other == org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.getDefaultInstance()) return this;
        if (responseBuilder_ == null) {
          if (!other.response_.isEmpty()) {
            if (response_.isEmpty()) {
              response_ = other.response_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureResponseIsMutable();
              response_.addAll(other.response_);
            }
            onChanged();
          }
        } else {
          if (!other.response_.isEmpty()) {
            if (responseBuilder_.isEmpty()) {
              responseBuilder_.dispose();
              responseBuilder_ = null;
              response_ = other.response_;
              bitField0_ = (bitField0_ & ~0x00000001);
              responseBuilder_ = 
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getResponseFieldBuilder() : null;
            } else {
              responseBuilder_.addAllMessages(other.response_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        for (int i = 0; i < getResponseCount(); i++) {
          if (!getResponse(i).isInitialized()) {
            
            return false;
          }
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List response_ =
        java.util.Collections.emptyList();
      private void ensureResponseIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          response_ = new java.util.ArrayList(response_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilder<
          org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.Builder, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponseOrBuilder> responseBuilder_;

      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public java.util.List getResponseList() {
        if (responseBuilder_ == null) {
          return java.util.Collections.unmodifiableList(response_);
        } else {
          return responseBuilder_.getMessageList();
        }
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public int getResponseCount() {
        if (responseBuilder_ == null) {
          return response_.size();
        } else {
          return responseBuilder_.getCount();
        }
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse getResponse(int index) {
        if (responseBuilder_ == null) {
          return response_.get(index);
        } else {
          return responseBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public Builder setResponse(
          int index, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse value) {
        if (responseBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureResponseIsMutable();
          response_.set(index, value);
          onChanged();
        } else {
          responseBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public Builder setResponse(
          int index, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.Builder builderForValue) {
        if (responseBuilder_ == null) {
          ensureResponseIsMutable();
          response_.set(index, builderForValue.build());
          onChanged();
        } else {
          responseBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public Builder addResponse(org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse value) {
        if (responseBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureResponseIsMutable();
          response_.add(value);
          onChanged();
        } else {
          responseBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public Builder addResponse(
          int index, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse value) {
        if (responseBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureResponseIsMutable();
          response_.add(index, value);
          onChanged();
        } else {
          responseBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public Builder addResponse(
          org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.Builder builderForValue) {
        if (responseBuilder_ == null) {
          ensureResponseIsMutable();
          response_.add(builderForValue.build());
          onChanged();
        } else {
          responseBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public Builder addResponse(
          int index, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.Builder builderForValue) {
        if (responseBuilder_ == null) {
          ensureResponseIsMutable();
          response_.add(index, builderForValue.build());
          onChanged();
        } else {
          responseBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public Builder addAllResponse(
          java.lang.Iterable values) {
        if (responseBuilder_ == null) {
          ensureResponseIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, response_);
          onChanged();
        } else {
          responseBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public Builder clearResponse() {
        if (responseBuilder_ == null) {
          response_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          responseBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public Builder removeResponse(int index) {
        if (responseBuilder_ == null) {
          ensureResponseIsMutable();
          response_.remove(index);
          onChanged();
        } else {
          responseBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.Builder getResponseBuilder(
          int index) {
        return getResponseFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponseOrBuilder getResponseOrBuilder(
          int index) {
        if (responseBuilder_ == null) {
          return response_.get(index);  } else {
          return responseBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public java.util.List 
           getResponseOrBuilderList() {
        if (responseBuilder_ != null) {
          return responseBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(response_);
        }
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.Builder addResponseBuilder() {
        return getResponseFieldBuilder().addBuilder(
            org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.getDefaultInstance());
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.Builder addResponseBuilder(
          int index) {
        return getResponseFieldBuilder().addBuilder(
            index, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.getDefaultInstance());
      }
      /**
       * repeated .parameters.BulkGetParameterInfoResponse.GetParameterInfoResponse response = 1;
       */
      public java.util.List 
           getResponseBuilderList() {
        return getResponseFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilder<
          org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.Builder, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponseOrBuilder> 
          getResponseFieldBuilder() {
        if (responseBuilder_ == null) {
          responseBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponse.Builder, org.yamcs.protobuf.Rest.BulkGetParameterInfoResponse.GetParameterInfoResponseOrBuilder>(
                  response_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          response_ = null;
        }
        return responseBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:parameters.BulkGetParameterInfoResponse)
    }

    static {
      defaultInstance = new BulkGetParameterInfoResponse(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:parameters.BulkGetParameterInfoResponse)
  }

  public interface BulkGetParameterValueRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:parameters.BulkGetParameterValueRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    java.util.List 
        getIdList();
    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    org.yamcs.protobuf.Yamcs.NamedObjectId getId(int index);
    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    int getIdCount();
    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    java.util.List 
        getIdOrBuilderList();
    /**
     * repeated .yamcs.NamedObjectId id = 1;
     */
    org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder(
        int index);

    /**
     * optional bool fromCache = 2;
     */
    boolean hasFromCache();
    /**
     * optional bool fromCache = 2;
     */
    boolean getFromCache();

    /**
     * optional uint64 timeout = 3;
     *
     * 
     *if not fromCache, wait this time (in milliseconds) to receive the parameter
     * 
*/ boolean hasTimeout(); /** * optional uint64 timeout = 3; * *
     *if not fromCache, wait this time (in milliseconds) to receive the parameter
     * 
*/ long getTimeout(); } /** * Protobuf type {@code parameters.BulkGetParameterValueRequest} */ public static final class BulkGetParameterValueRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.BulkGetParameterValueRequest) BulkGetParameterValueRequestOrBuilder { // Use BulkGetParameterValueRequest.newBuilder() to construct. private BulkGetParameterValueRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private BulkGetParameterValueRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final BulkGetParameterValueRequest defaultInstance; public static BulkGetParameterValueRequest getDefaultInstance() { return defaultInstance; } public BulkGetParameterValueRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkGetParameterValueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { id_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } id_.add(input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 16: { bitField0_ |= 0x00000001; fromCache_ = input.readBool(); break; } case 24: { bitField0_ |= 0x00000002; timeout_ = input.readUInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { id_ = java.util.Collections.unmodifiableList(id_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterValueRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterValueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.BulkGetParameterValueRequest.class, org.yamcs.protobuf.Rest.BulkGetParameterValueRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BulkGetParameterValueRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkGetParameterValueRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private java.util.List id_; /** * repeated .yamcs.NamedObjectId id = 1; */ public java.util.List getIdList() { return id_; } /** * repeated .yamcs.NamedObjectId id = 1; */ public java.util.List getIdOrBuilderList() { return id_; } /** * repeated .yamcs.NamedObjectId id = 1; */ public int getIdCount() { return id_.size(); } /** * repeated .yamcs.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId(int index) { return id_.get(index); } /** * repeated .yamcs.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder( int index) { return id_.get(index); } public static final int FROMCACHE_FIELD_NUMBER = 2; private boolean fromCache_; /** * optional bool fromCache = 2; */ public boolean hasFromCache() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bool fromCache = 2; */ public boolean getFromCache() { return fromCache_; } public static final int TIMEOUT_FIELD_NUMBER = 3; private long timeout_; /** * optional uint64 timeout = 3; * *
     *if not fromCache, wait this time (in milliseconds) to receive the parameter
     * 
*/ public boolean hasTimeout() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint64 timeout = 3; * *
     *if not fromCache, wait this time (in milliseconds) to receive the parameter
     * 
*/ public long getTimeout() { return timeout_; } private void initFields() { id_ = java.util.Collections.emptyList(); fromCache_ = false; timeout_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getIdCount(); i++) { if (!getId(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < id_.size(); i++) { output.writeMessage(1, id_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBool(2, fromCache_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt64(3, timeout_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < id_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, id_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, fromCache_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, timeout_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueRequest 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.Rest.BulkGetParameterValueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.BulkGetParameterValueRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.BulkGetParameterValueRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.BulkGetParameterValueRequest) org.yamcs.protobuf.Rest.BulkGetParameterValueRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterValueRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterValueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.BulkGetParameterValueRequest.class, org.yamcs.protobuf.Rest.BulkGetParameterValueRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.BulkGetParameterValueRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getIdFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (idBuilder_ == null) { id_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { idBuilder_.clear(); } fromCache_ = false; bitField0_ = (bitField0_ & ~0x00000002); timeout_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterValueRequest_descriptor; } public org.yamcs.protobuf.Rest.BulkGetParameterValueRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.BulkGetParameterValueRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.BulkGetParameterValueRequest build() { org.yamcs.protobuf.Rest.BulkGetParameterValueRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.BulkGetParameterValueRequest buildPartial() { org.yamcs.protobuf.Rest.BulkGetParameterValueRequest result = new org.yamcs.protobuf.Rest.BulkGetParameterValueRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (idBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { id_ = java.util.Collections.unmodifiableList(id_); bitField0_ = (bitField0_ & ~0x00000001); } result.id_ = id_; } else { result.id_ = idBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.fromCache_ = fromCache_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } result.timeout_ = timeout_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.BulkGetParameterValueRequest) { return mergeFrom((org.yamcs.protobuf.Rest.BulkGetParameterValueRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.BulkGetParameterValueRequest other) { if (other == org.yamcs.protobuf.Rest.BulkGetParameterValueRequest.getDefaultInstance()) return this; if (idBuilder_ == null) { if (!other.id_.isEmpty()) { if (id_.isEmpty()) { id_ = other.id_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureIdIsMutable(); id_.addAll(other.id_); } onChanged(); } } else { if (!other.id_.isEmpty()) { if (idBuilder_.isEmpty()) { idBuilder_.dispose(); idBuilder_ = null; id_ = other.id_; bitField0_ = (bitField0_ & ~0x00000001); idBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getIdFieldBuilder() : null; } else { idBuilder_.addAllMessages(other.id_); } } } if (other.hasFromCache()) { setFromCache(other.getFromCache()); } if (other.hasTimeout()) { setTimeout(other.getTimeout()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getIdCount(); i++) { if (!getId(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.BulkGetParameterValueRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.BulkGetParameterValueRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List id_ = java.util.Collections.emptyList(); private void ensureIdIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { id_ = new java.util.ArrayList(id_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> idBuilder_; /** * repeated .yamcs.NamedObjectId id = 1; */ public java.util.List getIdList() { if (idBuilder_ == null) { return java.util.Collections.unmodifiableList(id_); } else { return idBuilder_.getMessageList(); } } /** * repeated .yamcs.NamedObjectId id = 1; */ public int getIdCount() { if (idBuilder_ == null) { return id_.size(); } else { return idBuilder_.getCount(); } } /** * repeated .yamcs.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId(int index) { if (idBuilder_ == null) { return id_.get(index); } else { return idBuilder_.getMessage(index); } } /** * repeated .yamcs.NamedObjectId id = 1; */ public Builder setId( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIdIsMutable(); id_.set(index, value); onChanged(); } else { idBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.NamedObjectId id = 1; */ public Builder setId( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (idBuilder_ == null) { ensureIdIsMutable(); id_.set(index, builderForValue.build()); onChanged(); } else { idBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.NamedObjectId id = 1; */ public Builder addId(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIdIsMutable(); id_.add(value); onChanged(); } else { idBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.NamedObjectId id = 1; */ public Builder addId( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIdIsMutable(); id_.add(index, value); onChanged(); } else { idBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.NamedObjectId id = 1; */ public Builder addId( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (idBuilder_ == null) { ensureIdIsMutable(); id_.add(builderForValue.build()); onChanged(); } else { idBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.NamedObjectId id = 1; */ public Builder addId( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (idBuilder_ == null) { ensureIdIsMutable(); id_.add(index, builderForValue.build()); onChanged(); } else { idBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.NamedObjectId id = 1; */ public Builder addAllId( java.lang.Iterable values) { if (idBuilder_ == null) { ensureIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, id_); onChanged(); } else { idBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.NamedObjectId id = 1; */ public Builder clearId() { if (idBuilder_ == null) { id_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { idBuilder_.clear(); } return this; } /** * repeated .yamcs.NamedObjectId id = 1; */ public Builder removeId(int index) { if (idBuilder_ == null) { ensureIdIsMutable(); id_.remove(index); onChanged(); } else { idBuilder_.remove(index); } return this; } /** * repeated .yamcs.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getIdBuilder( int index) { return getIdFieldBuilder().getBuilder(index); } /** * repeated .yamcs.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder( int index) { if (idBuilder_ == null) { return id_.get(index); } else { return idBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.NamedObjectId id = 1; */ public java.util.List getIdOrBuilderList() { if (idBuilder_ != null) { return idBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(id_); } } /** * repeated .yamcs.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addIdBuilder() { return getIdFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addIdBuilder( int index) { return getIdFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.NamedObjectId id = 1; */ public java.util.List getIdBuilderList() { return getIdFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getIdFieldBuilder() { if (idBuilder_ == null) { idBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( id_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); id_ = null; } return idBuilder_; } private boolean fromCache_ ; /** * optional bool fromCache = 2; */ public boolean hasFromCache() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool fromCache = 2; */ public boolean getFromCache() { return fromCache_; } /** * optional bool fromCache = 2; */ public Builder setFromCache(boolean value) { bitField0_ |= 0x00000002; fromCache_ = value; onChanged(); return this; } /** * optional bool fromCache = 2; */ public Builder clearFromCache() { bitField0_ = (bitField0_ & ~0x00000002); fromCache_ = false; onChanged(); return this; } private long timeout_ ; /** * optional uint64 timeout = 3; * *
       *if not fromCache, wait this time (in milliseconds) to receive the parameter
       * 
*/ public boolean hasTimeout() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 timeout = 3; * *
       *if not fromCache, wait this time (in milliseconds) to receive the parameter
       * 
*/ public long getTimeout() { return timeout_; } /** * optional uint64 timeout = 3; * *
       *if not fromCache, wait this time (in milliseconds) to receive the parameter
       * 
*/ public Builder setTimeout(long value) { bitField0_ |= 0x00000004; timeout_ = value; onChanged(); return this; } /** * optional uint64 timeout = 3; * *
       *if not fromCache, wait this time (in milliseconds) to receive the parameter
       * 
*/ public Builder clearTimeout() { bitField0_ = (bitField0_ & ~0x00000004); timeout_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.BulkGetParameterValueRequest) } static { defaultInstance = new BulkGetParameterValueRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.BulkGetParameterValueRequest) } public interface BulkGetParameterValueResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.BulkGetParameterValueResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .pvalue.ParameterValue value = 1; */ java.util.List getValueList(); /** * repeated .pvalue.ParameterValue value = 1; */ org.yamcs.protobuf.Pvalue.ParameterValue getValue(int index); /** * repeated .pvalue.ParameterValue value = 1; */ int getValueCount(); /** * repeated .pvalue.ParameterValue value = 1; */ java.util.List getValueOrBuilderList(); /** * repeated .pvalue.ParameterValue value = 1; */ org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder getValueOrBuilder( int index); } /** * Protobuf type {@code parameters.BulkGetParameterValueResponse} */ public static final class BulkGetParameterValueResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.BulkGetParameterValueResponse) BulkGetParameterValueResponseOrBuilder { // Use BulkGetParameterValueResponse.newBuilder() to construct. private BulkGetParameterValueResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private BulkGetParameterValueResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final BulkGetParameterValueResponse defaultInstance; public static BulkGetParameterValueResponse getDefaultInstance() { return defaultInstance; } public BulkGetParameterValueResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkGetParameterValueResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { value_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } value_.add(input.readMessage(org.yamcs.protobuf.Pvalue.ParameterValue.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { value_ = java.util.Collections.unmodifiableList(value_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterValueResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterValueResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.BulkGetParameterValueResponse.class, org.yamcs.protobuf.Rest.BulkGetParameterValueResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BulkGetParameterValueResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkGetParameterValueResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int VALUE_FIELD_NUMBER = 1; private java.util.List value_; /** * repeated .pvalue.ParameterValue value = 1; */ public java.util.List getValueList() { return value_; } /** * repeated .pvalue.ParameterValue value = 1; */ public java.util.List getValueOrBuilderList() { return value_; } /** * repeated .pvalue.ParameterValue value = 1; */ public int getValueCount() { return value_.size(); } /** * repeated .pvalue.ParameterValue value = 1; */ public org.yamcs.protobuf.Pvalue.ParameterValue getValue(int index) { return value_.get(index); } /** * repeated .pvalue.ParameterValue value = 1; */ public org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder getValueOrBuilder( int index) { return value_.get(index); } private void initFields() { value_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getValueCount(); i++) { if (!getValue(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < value_.size(); i++) { output.writeMessage(1, value_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < value_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, value_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueResponse 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.Rest.BulkGetParameterValueResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.BulkGetParameterValueResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.BulkGetParameterValueResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.BulkGetParameterValueResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.BulkGetParameterValueResponse) org.yamcs.protobuf.Rest.BulkGetParameterValueResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterValueResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterValueResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.BulkGetParameterValueResponse.class, org.yamcs.protobuf.Rest.BulkGetParameterValueResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.BulkGetParameterValueResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getValueFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (valueBuilder_ == null) { value_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { valueBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetParameterValueResponse_descriptor; } public org.yamcs.protobuf.Rest.BulkGetParameterValueResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.BulkGetParameterValueResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.BulkGetParameterValueResponse build() { org.yamcs.protobuf.Rest.BulkGetParameterValueResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.BulkGetParameterValueResponse buildPartial() { org.yamcs.protobuf.Rest.BulkGetParameterValueResponse result = new org.yamcs.protobuf.Rest.BulkGetParameterValueResponse(this); int from_bitField0_ = bitField0_; if (valueBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { value_ = java.util.Collections.unmodifiableList(value_); bitField0_ = (bitField0_ & ~0x00000001); } result.value_ = value_; } else { result.value_ = valueBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.BulkGetParameterValueResponse) { return mergeFrom((org.yamcs.protobuf.Rest.BulkGetParameterValueResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.BulkGetParameterValueResponse other) { if (other == org.yamcs.protobuf.Rest.BulkGetParameterValueResponse.getDefaultInstance()) return this; if (valueBuilder_ == null) { if (!other.value_.isEmpty()) { if (value_.isEmpty()) { value_ = other.value_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureValueIsMutable(); value_.addAll(other.value_); } onChanged(); } } else { if (!other.value_.isEmpty()) { if (valueBuilder_.isEmpty()) { valueBuilder_.dispose(); valueBuilder_ = null; value_ = other.value_; bitField0_ = (bitField0_ & ~0x00000001); valueBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getValueFieldBuilder() : null; } else { valueBuilder_.addAllMessages(other.value_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getValueCount(); i++) { if (!getValue(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.BulkGetParameterValueResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.BulkGetParameterValueResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List value_ = java.util.Collections.emptyList(); private void ensureValueIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { value_ = new java.util.ArrayList(value_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Pvalue.ParameterValue, org.yamcs.protobuf.Pvalue.ParameterValue.Builder, org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder> valueBuilder_; /** * repeated .pvalue.ParameterValue value = 1; */ public java.util.List getValueList() { if (valueBuilder_ == null) { return java.util.Collections.unmodifiableList(value_); } else { return valueBuilder_.getMessageList(); } } /** * repeated .pvalue.ParameterValue value = 1; */ public int getValueCount() { if (valueBuilder_ == null) { return value_.size(); } else { return valueBuilder_.getCount(); } } /** * repeated .pvalue.ParameterValue value = 1; */ public org.yamcs.protobuf.Pvalue.ParameterValue getValue(int index) { if (valueBuilder_ == null) { return value_.get(index); } else { return valueBuilder_.getMessage(index); } } /** * repeated .pvalue.ParameterValue value = 1; */ public Builder setValue( int index, org.yamcs.protobuf.Pvalue.ParameterValue value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.set(index, value); onChanged(); } else { valueBuilder_.setMessage(index, value); } return this; } /** * repeated .pvalue.ParameterValue value = 1; */ public Builder setValue( int index, org.yamcs.protobuf.Pvalue.ParameterValue.Builder builderForValue) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.set(index, builderForValue.build()); onChanged(); } else { valueBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .pvalue.ParameterValue value = 1; */ public Builder addValue(org.yamcs.protobuf.Pvalue.ParameterValue value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.add(value); onChanged(); } else { valueBuilder_.addMessage(value); } return this; } /** * repeated .pvalue.ParameterValue value = 1; */ public Builder addValue( int index, org.yamcs.protobuf.Pvalue.ParameterValue value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.add(index, value); onChanged(); } else { valueBuilder_.addMessage(index, value); } return this; } /** * repeated .pvalue.ParameterValue value = 1; */ public Builder addValue( org.yamcs.protobuf.Pvalue.ParameterValue.Builder builderForValue) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.add(builderForValue.build()); onChanged(); } else { valueBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .pvalue.ParameterValue value = 1; */ public Builder addValue( int index, org.yamcs.protobuf.Pvalue.ParameterValue.Builder builderForValue) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.add(index, builderForValue.build()); onChanged(); } else { valueBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .pvalue.ParameterValue value = 1; */ public Builder addAllValue( java.lang.Iterable values) { if (valueBuilder_ == null) { ensureValueIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, value_); onChanged(); } else { valueBuilder_.addAllMessages(values); } return this; } /** * repeated .pvalue.ParameterValue value = 1; */ public Builder clearValue() { if (valueBuilder_ == null) { value_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { valueBuilder_.clear(); } return this; } /** * repeated .pvalue.ParameterValue value = 1; */ public Builder removeValue(int index) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.remove(index); onChanged(); } else { valueBuilder_.remove(index); } return this; } /** * repeated .pvalue.ParameterValue value = 1; */ public org.yamcs.protobuf.Pvalue.ParameterValue.Builder getValueBuilder( int index) { return getValueFieldBuilder().getBuilder(index); } /** * repeated .pvalue.ParameterValue value = 1; */ public org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder getValueOrBuilder( int index) { if (valueBuilder_ == null) { return value_.get(index); } else { return valueBuilder_.getMessageOrBuilder(index); } } /** * repeated .pvalue.ParameterValue value = 1; */ public java.util.List getValueOrBuilderList() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(value_); } } /** * repeated .pvalue.ParameterValue value = 1; */ public org.yamcs.protobuf.Pvalue.ParameterValue.Builder addValueBuilder() { return getValueFieldBuilder().addBuilder( org.yamcs.protobuf.Pvalue.ParameterValue.getDefaultInstance()); } /** * repeated .pvalue.ParameterValue value = 1; */ public org.yamcs.protobuf.Pvalue.ParameterValue.Builder addValueBuilder( int index) { return getValueFieldBuilder().addBuilder( index, org.yamcs.protobuf.Pvalue.ParameterValue.getDefaultInstance()); } /** * repeated .pvalue.ParameterValue value = 1; */ public java.util.List getValueBuilderList() { return getValueFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Pvalue.ParameterValue, org.yamcs.protobuf.Pvalue.ParameterValue.Builder, org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Pvalue.ParameterValue, org.yamcs.protobuf.Pvalue.ParameterValue.Builder, org.yamcs.protobuf.Pvalue.ParameterValueOrBuilder>( value_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.BulkGetParameterValueResponse) } static { defaultInstance = new BulkGetParameterValueResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.BulkGetParameterValueResponse) } public interface BulkSetParameterValueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.BulkSetParameterValueRequest) com.google.protobuf.MessageOrBuilder { /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ java.util.List getRequestList(); /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest getRequest(int index); /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ int getRequestCount(); /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ java.util.List getRequestOrBuilderList(); /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequestOrBuilder getRequestOrBuilder( int index); } /** * Protobuf type {@code parameters.BulkSetParameterValueRequest} */ public static final class BulkSetParameterValueRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.BulkSetParameterValueRequest) BulkSetParameterValueRequestOrBuilder { // Use BulkSetParameterValueRequest.newBuilder() to construct. private BulkSetParameterValueRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private BulkSetParameterValueRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final BulkSetParameterValueRequest defaultInstance; public static BulkSetParameterValueRequest getDefaultInstance() { return defaultInstance; } public BulkSetParameterValueRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkSetParameterValueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { request_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } request_.add(input.readMessage(org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { request_ = java.util.Collections.unmodifiableList(request_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkSetParameterValueRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkSetParameterValueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.class, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BulkSetParameterValueRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkSetParameterValueRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public interface SetParameterValueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.BulkSetParameterValueRequest.SetParameterValueRequest) com.google.protobuf.MessageOrBuilder { /** * optional .yamcs.NamedObjectId id = 1; */ boolean hasId(); /** * optional .yamcs.NamedObjectId id = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectId getId(); /** * optional .yamcs.NamedObjectId id = 1; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder(); /** * optional .yamcs.Value value = 2; */ boolean hasValue(); /** * optional .yamcs.Value value = 2; */ org.yamcs.protobuf.Yamcs.Value getValue(); /** * optional .yamcs.Value value = 2; */ org.yamcs.protobuf.Yamcs.ValueOrBuilder getValueOrBuilder(); } /** * Protobuf type {@code parameters.BulkSetParameterValueRequest.SetParameterValueRequest} */ public static final class SetParameterValueRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.BulkSetParameterValueRequest.SetParameterValueRequest) SetParameterValueRequestOrBuilder { // Use SetParameterValueRequest.newBuilder() to construct. private SetParameterValueRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private SetParameterValueRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final SetParameterValueRequest defaultInstance; public static SetParameterValueRequest getDefaultInstance() { return defaultInstance; } public SetParameterValueRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SetParameterValueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.yamcs.protobuf.Yamcs.NamedObjectId.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = id_.toBuilder(); } id_ = input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(id_); id_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { org.yamcs.protobuf.Yamcs.Value.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = value_.toBuilder(); } value_ = input.readMessage(org.yamcs.protobuf.Yamcs.Value.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(value_); value_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkSetParameterValueRequest_SetParameterValueRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkSetParameterValueRequest_SetParameterValueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.class, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public SetParameterValueRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SetParameterValueRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private org.yamcs.protobuf.Yamcs.NamedObjectId id_; /** * optional .yamcs.NamedObjectId id = 1; */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .yamcs.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId() { return id_; } /** * optional .yamcs.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder() { return id_; } public static final int VALUE_FIELD_NUMBER = 2; private org.yamcs.protobuf.Yamcs.Value value_; /** * optional .yamcs.Value value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .yamcs.Value value = 2; */ public org.yamcs.protobuf.Yamcs.Value getValue() { return value_; } /** * optional .yamcs.Value value = 2; */ public org.yamcs.protobuf.Yamcs.ValueOrBuilder getValueOrBuilder() { return value_; } private void initFields() { id_ = org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance(); value_ = org.yamcs.protobuf.Yamcs.Value.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasId()) { if (!getId().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasValue()) { if (!getValue().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, value_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, value_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest 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.Rest.BulkSetParameterValueRequest.SetParameterValueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.BulkSetParameterValueRequest.SetParameterValueRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.BulkSetParameterValueRequest.SetParameterValueRequest) org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkSetParameterValueRequest_SetParameterValueRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkSetParameterValueRequest_SetParameterValueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.class, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getIdFieldBuilder(); getValueFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (idBuilder_ == null) { id_ = org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance(); } else { idBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (valueBuilder_ == null) { value_ = org.yamcs.protobuf.Yamcs.Value.getDefaultInstance(); } else { valueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkSetParameterValueRequest_SetParameterValueRequest_descriptor; } public org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest build() { org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest buildPartial() { org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest result = new org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (idBuilder_ == null) { result.id_ = id_; } else { result.id_ = idBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (valueBuilder_ == null) { result.value_ = value_; } else { result.value_ = valueBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest) { return mergeFrom((org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest other) { if (other == org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.getDefaultInstance()) return this; if (other.hasId()) { mergeId(other.getId()); } if (other.hasValue()) { mergeValue(other.getValue()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (hasId()) { if (!getId().isInitialized()) { return false; } } if (hasValue()) { if (!getValue().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.yamcs.protobuf.Yamcs.NamedObjectId id_ = org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> idBuilder_; /** * optional .yamcs.NamedObjectId id = 1; */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .yamcs.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId() { if (idBuilder_ == null) { return id_; } else { return idBuilder_.getMessage(); } } /** * optional .yamcs.NamedObjectId id = 1; */ public Builder setId(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); } else { idBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.NamedObjectId id = 1; */ public Builder setId( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (idBuilder_ == null) { id_ = builderForValue.build(); onChanged(); } else { idBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.NamedObjectId id = 1; */ public Builder mergeId(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && id_ != org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()) { id_ = org.yamcs.protobuf.Yamcs.NamedObjectId.newBuilder(id_).mergeFrom(value).buildPartial(); } else { id_ = value; } onChanged(); } else { idBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .yamcs.NamedObjectId id = 1; */ public Builder clearId() { if (idBuilder_ == null) { id_ = org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance(); onChanged(); } else { idBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .yamcs.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getIdBuilder() { bitField0_ |= 0x00000001; onChanged(); return getIdFieldBuilder().getBuilder(); } /** * optional .yamcs.NamedObjectId id = 1; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder() { if (idBuilder_ != null) { return idBuilder_.getMessageOrBuilder(); } else { return id_; } } /** * optional .yamcs.NamedObjectId id = 1; */ private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getIdFieldBuilder() { if (idBuilder_ == null) { idBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( getId(), getParentForChildren(), isClean()); id_ = null; } return idBuilder_; } private org.yamcs.protobuf.Yamcs.Value value_ = org.yamcs.protobuf.Yamcs.Value.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder> valueBuilder_; /** * optional .yamcs.Value value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .yamcs.Value value = 2; */ public org.yamcs.protobuf.Yamcs.Value getValue() { if (valueBuilder_ == null) { return value_; } else { return valueBuilder_.getMessage(); } } /** * optional .yamcs.Value value = 2; */ public Builder setValue(org.yamcs.protobuf.Yamcs.Value value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { valueBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.Value value = 2; */ public Builder setValue( org.yamcs.protobuf.Yamcs.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { valueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.Value value = 2; */ public Builder mergeValue(org.yamcs.protobuf.Yamcs.Value value) { if (valueBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && value_ != org.yamcs.protobuf.Yamcs.Value.getDefaultInstance()) { value_ = org.yamcs.protobuf.Yamcs.Value.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { valueBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .yamcs.Value value = 2; */ public Builder clearValue() { if (valueBuilder_ == null) { value_ = org.yamcs.protobuf.Yamcs.Value.getDefaultInstance(); onChanged(); } else { valueBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .yamcs.Value value = 2; */ public org.yamcs.protobuf.Yamcs.Value.Builder getValueBuilder() { bitField0_ |= 0x00000002; onChanged(); return getValueFieldBuilder().getBuilder(); } /** * optional .yamcs.Value value = 2; */ public org.yamcs.protobuf.Yamcs.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { return value_; } } /** * optional .yamcs.Value value = 2; */ private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Yamcs.Value, org.yamcs.protobuf.Yamcs.Value.Builder, org.yamcs.protobuf.Yamcs.ValueOrBuilder>( getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.BulkSetParameterValueRequest.SetParameterValueRequest) } static { defaultInstance = new SetParameterValueRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.BulkSetParameterValueRequest.SetParameterValueRequest) } public static final int REQUEST_FIELD_NUMBER = 1; private java.util.List request_; /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public java.util.List getRequestList() { return request_; } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public java.util.List getRequestOrBuilderList() { return request_; } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public int getRequestCount() { return request_.size(); } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest getRequest(int index) { return request_.get(index); } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequestOrBuilder getRequestOrBuilder( int index) { return request_.get(index); } private void initFields() { request_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getRequestCount(); i++) { if (!getRequest(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < request_.size(); i++) { output.writeMessage(1, request_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < request_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, request_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest 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.Rest.BulkSetParameterValueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.BulkSetParameterValueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.BulkSetParameterValueRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.BulkSetParameterValueRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.BulkSetParameterValueRequest) org.yamcs.protobuf.Rest.BulkSetParameterValueRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkSetParameterValueRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkSetParameterValueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.class, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRequestFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (requestBuilder_ == null) { request_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { requestBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkSetParameterValueRequest_descriptor; } public org.yamcs.protobuf.Rest.BulkSetParameterValueRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.BulkSetParameterValueRequest build() { org.yamcs.protobuf.Rest.BulkSetParameterValueRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.BulkSetParameterValueRequest buildPartial() { org.yamcs.protobuf.Rest.BulkSetParameterValueRequest result = new org.yamcs.protobuf.Rest.BulkSetParameterValueRequest(this); int from_bitField0_ = bitField0_; if (requestBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { request_ = java.util.Collections.unmodifiableList(request_); bitField0_ = (bitField0_ & ~0x00000001); } result.request_ = request_; } else { result.request_ = requestBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.BulkSetParameterValueRequest) { return mergeFrom((org.yamcs.protobuf.Rest.BulkSetParameterValueRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.BulkSetParameterValueRequest other) { if (other == org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.getDefaultInstance()) return this; if (requestBuilder_ == null) { if (!other.request_.isEmpty()) { if (request_.isEmpty()) { request_ = other.request_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRequestIsMutable(); request_.addAll(other.request_); } onChanged(); } } else { if (!other.request_.isEmpty()) { if (requestBuilder_.isEmpty()) { requestBuilder_.dispose(); requestBuilder_ = null; request_ = other.request_; bitField0_ = (bitField0_ & ~0x00000001); requestBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRequestFieldBuilder() : null; } else { requestBuilder_.addAllMessages(other.request_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getRequestCount(); i++) { if (!getRequest(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.BulkSetParameterValueRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.BulkSetParameterValueRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List request_ = java.util.Collections.emptyList(); private void ensureRequestIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { request_ = new java.util.ArrayList(request_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.Builder, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequestOrBuilder> requestBuilder_; /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public java.util.List getRequestList() { if (requestBuilder_ == null) { return java.util.Collections.unmodifiableList(request_); } else { return requestBuilder_.getMessageList(); } } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public int getRequestCount() { if (requestBuilder_ == null) { return request_.size(); } else { return requestBuilder_.getCount(); } } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest getRequest(int index) { if (requestBuilder_ == null) { return request_.get(index); } else { return requestBuilder_.getMessage(index); } } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public Builder setRequest( int index, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRequestIsMutable(); request_.set(index, value); onChanged(); } else { requestBuilder_.setMessage(index, value); } return this; } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public Builder setRequest( int index, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.Builder builderForValue) { if (requestBuilder_ == null) { ensureRequestIsMutable(); request_.set(index, builderForValue.build()); onChanged(); } else { requestBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public Builder addRequest(org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRequestIsMutable(); request_.add(value); onChanged(); } else { requestBuilder_.addMessage(value); } return this; } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public Builder addRequest( int index, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRequestIsMutable(); request_.add(index, value); onChanged(); } else { requestBuilder_.addMessage(index, value); } return this; } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public Builder addRequest( org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.Builder builderForValue) { if (requestBuilder_ == null) { ensureRequestIsMutable(); request_.add(builderForValue.build()); onChanged(); } else { requestBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public Builder addRequest( int index, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.Builder builderForValue) { if (requestBuilder_ == null) { ensureRequestIsMutable(); request_.add(index, builderForValue.build()); onChanged(); } else { requestBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public Builder addAllRequest( java.lang.Iterable values) { if (requestBuilder_ == null) { ensureRequestIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, request_); onChanged(); } else { requestBuilder_.addAllMessages(values); } return this; } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public Builder clearRequest() { if (requestBuilder_ == null) { request_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { requestBuilder_.clear(); } return this; } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public Builder removeRequest(int index) { if (requestBuilder_ == null) { ensureRequestIsMutable(); request_.remove(index); onChanged(); } else { requestBuilder_.remove(index); } return this; } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.Builder getRequestBuilder( int index) { return getRequestFieldBuilder().getBuilder(index); } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequestOrBuilder getRequestOrBuilder( int index) { if (requestBuilder_ == null) { return request_.get(index); } else { return requestBuilder_.getMessageOrBuilder(index); } } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public java.util.List getRequestOrBuilderList() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(request_); } } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.Builder addRequestBuilder() { return getRequestFieldBuilder().addBuilder( org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.getDefaultInstance()); } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.Builder addRequestBuilder( int index) { return getRequestFieldBuilder().addBuilder( index, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.getDefaultInstance()); } /** * repeated .parameters.BulkSetParameterValueRequest.SetParameterValueRequest request = 1; */ public java.util.List getRequestBuilderList() { return getRequestFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.Builder, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequest.Builder, org.yamcs.protobuf.Rest.BulkSetParameterValueRequest.SetParameterValueRequestOrBuilder>( request_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.BulkSetParameterValueRequest) } static { defaultInstance = new BulkSetParameterValueRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.BulkSetParameterValueRequest) } public interface BulkDownloadParameterValueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.BulkDownloadParameterValueRequest) com.google.protobuf.MessageOrBuilder { /** * optional string start = 1; */ boolean hasStart(); /** * optional string start = 1; */ java.lang.String getStart(); /** * optional string start = 1; */ com.google.protobuf.ByteString getStartBytes(); /** * optional string stop = 2; */ boolean hasStop(); /** * optional string stop = 2; */ java.lang.String getStop(); /** * optional string stop = 2; */ com.google.protobuf.ByteString getStopBytes(); /** * repeated .yamcs.NamedObjectId id = 3; */ java.util.List getIdList(); /** * repeated .yamcs.NamedObjectId id = 3; */ org.yamcs.protobuf.Yamcs.NamedObjectId getId(int index); /** * repeated .yamcs.NamedObjectId id = 3; */ int getIdCount(); /** * repeated .yamcs.NamedObjectId id = 3; */ java.util.List getIdOrBuilderList(); /** * repeated .yamcs.NamedObjectId id = 3; */ org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder( int index); /** * optional string namespace = 4; * *
     * Namespace used to display parameter names in e.g. csv header. Only used when no parameter ids were specified.
     * 
*/ boolean hasNamespace(); /** * optional string namespace = 4; * *
     * Namespace used to display parameter names in e.g. csv header. Only used when no parameter ids were specified.
     * 
*/ java.lang.String getNamespace(); /** * optional string namespace = 4; * *
     * Namespace used to display parameter names in e.g. csv header. Only used when no parameter ids were specified.
     * 
*/ com.google.protobuf.ByteString getNamespaceBytes(); } /** * Protobuf type {@code parameters.BulkDownloadParameterValueRequest} */ public static final class BulkDownloadParameterValueRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.BulkDownloadParameterValueRequest) BulkDownloadParameterValueRequestOrBuilder { // Use BulkDownloadParameterValueRequest.newBuilder() to construct. private BulkDownloadParameterValueRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private BulkDownloadParameterValueRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final BulkDownloadParameterValueRequest defaultInstance; public static BulkDownloadParameterValueRequest getDefaultInstance() { return defaultInstance; } public BulkDownloadParameterValueRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkDownloadParameterValueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; start_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; stop_ = bs; break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { id_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } id_.add(input.readMessage(org.yamcs.protobuf.Yamcs.NamedObjectId.PARSER, extensionRegistry)); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; namespace_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { id_ = java.util.Collections.unmodifiableList(id_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkDownloadParameterValueRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkDownloadParameterValueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest.class, org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BulkDownloadParameterValueRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkDownloadParameterValueRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int START_FIELD_NUMBER = 1; private java.lang.Object start_; /** * optional string start = 1; */ public boolean hasStart() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string start = 1; */ public java.lang.String getStart() { java.lang.Object ref = start_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { start_ = s; } return s; } } /** * optional string start = 1; */ public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); start_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STOP_FIELD_NUMBER = 2; private java.lang.Object stop_; /** * optional string stop = 2; */ public boolean hasStop() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string stop = 2; */ public java.lang.String getStop() { java.lang.Object ref = stop_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stop_ = s; } return s; } } /** * optional string stop = 2; */ public com.google.protobuf.ByteString getStopBytes() { java.lang.Object ref = stop_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ID_FIELD_NUMBER = 3; private java.util.List id_; /** * repeated .yamcs.NamedObjectId id = 3; */ public java.util.List getIdList() { return id_; } /** * repeated .yamcs.NamedObjectId id = 3; */ public java.util.List getIdOrBuilderList() { return id_; } /** * repeated .yamcs.NamedObjectId id = 3; */ public int getIdCount() { return id_.size(); } /** * repeated .yamcs.NamedObjectId id = 3; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId(int index) { return id_.get(index); } /** * repeated .yamcs.NamedObjectId id = 3; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder( int index) { return id_.get(index); } public static final int NAMESPACE_FIELD_NUMBER = 4; private java.lang.Object namespace_; /** * optional string namespace = 4; * *
     * Namespace used to display parameter names in e.g. csv header. Only used when no parameter ids were specified.
     * 
*/ public boolean hasNamespace() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string namespace = 4; * *
     * Namespace used to display parameter names in e.g. csv header. Only used when no parameter ids were specified.
     * 
*/ public java.lang.String getNamespace() { java.lang.Object ref = namespace_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { namespace_ = s; } return s; } } /** * optional string namespace = 4; * *
     * Namespace used to display parameter names in e.g. csv header. Only used when no parameter ids were specified.
     * 
*/ public com.google.protobuf.ByteString getNamespaceBytes() { java.lang.Object ref = namespace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); namespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { start_ = ""; stop_ = ""; id_ = java.util.Collections.emptyList(); namespace_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getIdCount(); i++) { if (!getId(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getStartBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getStopBytes()); } for (int i = 0; i < id_.size(); i++) { output.writeMessage(3, id_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(4, getNamespaceBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getStartBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getStopBytes()); } for (int i = 0; i < id_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, id_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getNamespaceBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest 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.Rest.BulkDownloadParameterValueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.BulkDownloadParameterValueRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.BulkDownloadParameterValueRequest) org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkDownloadParameterValueRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkDownloadParameterValueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest.class, org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getIdFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); start_ = ""; bitField0_ = (bitField0_ & ~0x00000001); stop_ = ""; bitField0_ = (bitField0_ & ~0x00000002); if (idBuilder_ == null) { id_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { idBuilder_.clear(); } namespace_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkDownloadParameterValueRequest_descriptor; } public org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest build() { org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest buildPartial() { org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest result = new org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.start_ = start_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.stop_ = stop_; if (idBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { id_ = java.util.Collections.unmodifiableList(id_); bitField0_ = (bitField0_ & ~0x00000004); } result.id_ = id_; } else { result.id_ = idBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } result.namespace_ = namespace_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest) { return mergeFrom((org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest other) { if (other == org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest.getDefaultInstance()) return this; if (other.hasStart()) { bitField0_ |= 0x00000001; start_ = other.start_; onChanged(); } if (other.hasStop()) { bitField0_ |= 0x00000002; stop_ = other.stop_; onChanged(); } if (idBuilder_ == null) { if (!other.id_.isEmpty()) { if (id_.isEmpty()) { id_ = other.id_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureIdIsMutable(); id_.addAll(other.id_); } onChanged(); } } else { if (!other.id_.isEmpty()) { if (idBuilder_.isEmpty()) { idBuilder_.dispose(); idBuilder_ = null; id_ = other.id_; bitField0_ = (bitField0_ & ~0x00000004); idBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getIdFieldBuilder() : null; } else { idBuilder_.addAllMessages(other.id_); } } } if (other.hasNamespace()) { bitField0_ |= 0x00000008; namespace_ = other.namespace_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getIdCount(); i++) { if (!getId(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.BulkDownloadParameterValueRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object start_ = ""; /** * optional string start = 1; */ public boolean hasStart() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string start = 1; */ public java.lang.String getStart() { java.lang.Object ref = start_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { start_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string start = 1; */ public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); start_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string start = 1; */ public Builder setStart( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; start_ = value; onChanged(); return this; } /** * optional string start = 1; */ public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000001); start_ = getDefaultInstance().getStart(); onChanged(); return this; } /** * optional string start = 1; */ public Builder setStartBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; start_ = value; onChanged(); return this; } private java.lang.Object stop_ = ""; /** * optional string stop = 2; */ public boolean hasStop() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string stop = 2; */ public java.lang.String getStop() { java.lang.Object ref = stop_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stop_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string stop = 2; */ public com.google.protobuf.ByteString getStopBytes() { java.lang.Object ref = stop_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string stop = 2; */ public Builder setStop( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; stop_ = value; onChanged(); return this; } /** * optional string stop = 2; */ public Builder clearStop() { bitField0_ = (bitField0_ & ~0x00000002); stop_ = getDefaultInstance().getStop(); onChanged(); return this; } /** * optional string stop = 2; */ public Builder setStopBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; stop_ = value; onChanged(); return this; } private java.util.List id_ = java.util.Collections.emptyList(); private void ensureIdIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { id_ = new java.util.ArrayList(id_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> idBuilder_; /** * repeated .yamcs.NamedObjectId id = 3; */ public java.util.List getIdList() { if (idBuilder_ == null) { return java.util.Collections.unmodifiableList(id_); } else { return idBuilder_.getMessageList(); } } /** * repeated .yamcs.NamedObjectId id = 3; */ public int getIdCount() { if (idBuilder_ == null) { return id_.size(); } else { return idBuilder_.getCount(); } } /** * repeated .yamcs.NamedObjectId id = 3; */ public org.yamcs.protobuf.Yamcs.NamedObjectId getId(int index) { if (idBuilder_ == null) { return id_.get(index); } else { return idBuilder_.getMessage(index); } } /** * repeated .yamcs.NamedObjectId id = 3; */ public Builder setId( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIdIsMutable(); id_.set(index, value); onChanged(); } else { idBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.NamedObjectId id = 3; */ public Builder setId( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (idBuilder_ == null) { ensureIdIsMutable(); id_.set(index, builderForValue.build()); onChanged(); } else { idBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.NamedObjectId id = 3; */ public Builder addId(org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIdIsMutable(); id_.add(value); onChanged(); } else { idBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.NamedObjectId id = 3; */ public Builder addId( int index, org.yamcs.protobuf.Yamcs.NamedObjectId value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIdIsMutable(); id_.add(index, value); onChanged(); } else { idBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.NamedObjectId id = 3; */ public Builder addId( org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (idBuilder_ == null) { ensureIdIsMutable(); id_.add(builderForValue.build()); onChanged(); } else { idBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.NamedObjectId id = 3; */ public Builder addId( int index, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder builderForValue) { if (idBuilder_ == null) { ensureIdIsMutable(); id_.add(index, builderForValue.build()); onChanged(); } else { idBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.NamedObjectId id = 3; */ public Builder addAllId( java.lang.Iterable values) { if (idBuilder_ == null) { ensureIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, id_); onChanged(); } else { idBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.NamedObjectId id = 3; */ public Builder clearId() { if (idBuilder_ == null) { id_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { idBuilder_.clear(); } return this; } /** * repeated .yamcs.NamedObjectId id = 3; */ public Builder removeId(int index) { if (idBuilder_ == null) { ensureIdIsMutable(); id_.remove(index); onChanged(); } else { idBuilder_.remove(index); } return this; } /** * repeated .yamcs.NamedObjectId id = 3; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder getIdBuilder( int index) { return getIdFieldBuilder().getBuilder(index); } /** * repeated .yamcs.NamedObjectId id = 3; */ public org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder getIdOrBuilder( int index) { if (idBuilder_ == null) { return id_.get(index); } else { return idBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.NamedObjectId id = 3; */ public java.util.List getIdOrBuilderList() { if (idBuilder_ != null) { return idBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(id_); } } /** * repeated .yamcs.NamedObjectId id = 3; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addIdBuilder() { return getIdFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.NamedObjectId id = 3; */ public org.yamcs.protobuf.Yamcs.NamedObjectId.Builder addIdBuilder( int index) { return getIdFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.NamedObjectId.getDefaultInstance()); } /** * repeated .yamcs.NamedObjectId id = 3; */ public java.util.List getIdBuilderList() { return getIdFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder> getIdFieldBuilder() { if (idBuilder_ == null) { idBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.NamedObjectId, org.yamcs.protobuf.Yamcs.NamedObjectId.Builder, org.yamcs.protobuf.Yamcs.NamedObjectIdOrBuilder>( id_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); id_ = null; } return idBuilder_; } private java.lang.Object namespace_ = ""; /** * optional string namespace = 4; * *
       * Namespace used to display parameter names in e.g. csv header. Only used when no parameter ids were specified.
       * 
*/ public boolean hasNamespace() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string namespace = 4; * *
       * Namespace used to display parameter names in e.g. csv header. Only used when no parameter ids were specified.
       * 
*/ public java.lang.String getNamespace() { java.lang.Object ref = namespace_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { namespace_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string namespace = 4; * *
       * Namespace used to display parameter names in e.g. csv header. Only used when no parameter ids were specified.
       * 
*/ public com.google.protobuf.ByteString getNamespaceBytes() { java.lang.Object ref = namespace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); namespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string namespace = 4; * *
       * Namespace used to display parameter names in e.g. csv header. Only used when no parameter ids were specified.
       * 
*/ public Builder setNamespace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; namespace_ = value; onChanged(); return this; } /** * optional string namespace = 4; * *
       * Namespace used to display parameter names in e.g. csv header. Only used when no parameter ids were specified.
       * 
*/ public Builder clearNamespace() { bitField0_ = (bitField0_ & ~0x00000008); namespace_ = getDefaultInstance().getNamespace(); onChanged(); return this; } /** * optional string namespace = 4; * *
       * Namespace used to display parameter names in e.g. csv header. Only used when no parameter ids were specified.
       * 
*/ public Builder setNamespaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; namespace_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.BulkDownloadParameterValueRequest) } static { defaultInstance = new BulkDownloadParameterValueRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.BulkDownloadParameterValueRequest) } public interface ListSpaceSystemInfoResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListSpaceSystemInfoResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ java.util.List getSpaceSystemList(); /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo getSpaceSystem(int index); /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ int getSpaceSystemCount(); /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ java.util.List getSpaceSystemOrBuilderList(); /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ org.yamcs.protobuf.YamcsManagement.SpaceSystemInfoOrBuilder getSpaceSystemOrBuilder( int index); } /** * Protobuf type {@code parameters.ListSpaceSystemInfoResponse} */ public static final class ListSpaceSystemInfoResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListSpaceSystemInfoResponse) ListSpaceSystemInfoResponseOrBuilder { // Use ListSpaceSystemInfoResponse.newBuilder() to construct. private ListSpaceSystemInfoResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListSpaceSystemInfoResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListSpaceSystemInfoResponse defaultInstance; public static ListSpaceSystemInfoResponse getDefaultInstance() { return defaultInstance; } public ListSpaceSystemInfoResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListSpaceSystemInfoResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { spaceSystem_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } spaceSystem_.add(input.readMessage(org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { spaceSystem_ = java.util.Collections.unmodifiableList(spaceSystem_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListSpaceSystemInfoResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListSpaceSystemInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse.class, org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListSpaceSystemInfoResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListSpaceSystemInfoResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int SPACESYSTEM_FIELD_NUMBER = 1; private java.util.List spaceSystem_; /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public java.util.List getSpaceSystemList() { return spaceSystem_; } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public java.util.List getSpaceSystemOrBuilderList() { return spaceSystem_; } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public int getSpaceSystemCount() { return spaceSystem_.size(); } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo getSpaceSystem(int index) { return spaceSystem_.get(index); } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public org.yamcs.protobuf.YamcsManagement.SpaceSystemInfoOrBuilder getSpaceSystemOrBuilder( int index) { return spaceSystem_.get(index); } private void initFields() { spaceSystem_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < spaceSystem_.size(); i++) { output.writeMessage(1, spaceSystem_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < spaceSystem_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, spaceSystem_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse 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.Rest.ListSpaceSystemInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListSpaceSystemInfoResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListSpaceSystemInfoResponse) org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListSpaceSystemInfoResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListSpaceSystemInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse.class, org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getSpaceSystemFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (spaceSystemBuilder_ == null) { spaceSystem_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { spaceSystemBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListSpaceSystemInfoResponse_descriptor; } public org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse build() { org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse buildPartial() { org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse result = new org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse(this); int from_bitField0_ = bitField0_; if (spaceSystemBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { spaceSystem_ = java.util.Collections.unmodifiableList(spaceSystem_); bitField0_ = (bitField0_ & ~0x00000001); } result.spaceSystem_ = spaceSystem_; } else { result.spaceSystem_ = spaceSystemBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse other) { if (other == org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse.getDefaultInstance()) return this; if (spaceSystemBuilder_ == null) { if (!other.spaceSystem_.isEmpty()) { if (spaceSystem_.isEmpty()) { spaceSystem_ = other.spaceSystem_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSpaceSystemIsMutable(); spaceSystem_.addAll(other.spaceSystem_); } onChanged(); } } else { if (!other.spaceSystem_.isEmpty()) { if (spaceSystemBuilder_.isEmpty()) { spaceSystemBuilder_.dispose(); spaceSystemBuilder_ = null; spaceSystem_ = other.spaceSystem_; bitField0_ = (bitField0_ & ~0x00000001); spaceSystemBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getSpaceSystemFieldBuilder() : null; } else { spaceSystemBuilder_.addAllMessages(other.spaceSystem_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListSpaceSystemInfoResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List spaceSystem_ = java.util.Collections.emptyList(); private void ensureSpaceSystemIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { spaceSystem_ = new java.util.ArrayList(spaceSystem_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo, org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo.Builder, org.yamcs.protobuf.YamcsManagement.SpaceSystemInfoOrBuilder> spaceSystemBuilder_; /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public java.util.List getSpaceSystemList() { if (spaceSystemBuilder_ == null) { return java.util.Collections.unmodifiableList(spaceSystem_); } else { return spaceSystemBuilder_.getMessageList(); } } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public int getSpaceSystemCount() { if (spaceSystemBuilder_ == null) { return spaceSystem_.size(); } else { return spaceSystemBuilder_.getCount(); } } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo getSpaceSystem(int index) { if (spaceSystemBuilder_ == null) { return spaceSystem_.get(index); } else { return spaceSystemBuilder_.getMessage(index); } } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public Builder setSpaceSystem( int index, org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo value) { if (spaceSystemBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemIsMutable(); spaceSystem_.set(index, value); onChanged(); } else { spaceSystemBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public Builder setSpaceSystem( int index, org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo.Builder builderForValue) { if (spaceSystemBuilder_ == null) { ensureSpaceSystemIsMutable(); spaceSystem_.set(index, builderForValue.build()); onChanged(); } else { spaceSystemBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public Builder addSpaceSystem(org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo value) { if (spaceSystemBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemIsMutable(); spaceSystem_.add(value); onChanged(); } else { spaceSystemBuilder_.addMessage(value); } return this; } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public Builder addSpaceSystem( int index, org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo value) { if (spaceSystemBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpaceSystemIsMutable(); spaceSystem_.add(index, value); onChanged(); } else { spaceSystemBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public Builder addSpaceSystem( org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo.Builder builderForValue) { if (spaceSystemBuilder_ == null) { ensureSpaceSystemIsMutable(); spaceSystem_.add(builderForValue.build()); onChanged(); } else { spaceSystemBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public Builder addSpaceSystem( int index, org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo.Builder builderForValue) { if (spaceSystemBuilder_ == null) { ensureSpaceSystemIsMutable(); spaceSystem_.add(index, builderForValue.build()); onChanged(); } else { spaceSystemBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public Builder addAllSpaceSystem( java.lang.Iterable values) { if (spaceSystemBuilder_ == null) { ensureSpaceSystemIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, spaceSystem_); onChanged(); } else { spaceSystemBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public Builder clearSpaceSystem() { if (spaceSystemBuilder_ == null) { spaceSystem_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { spaceSystemBuilder_.clear(); } return this; } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public Builder removeSpaceSystem(int index) { if (spaceSystemBuilder_ == null) { ensureSpaceSystemIsMutable(); spaceSystem_.remove(index); onChanged(); } else { spaceSystemBuilder_.remove(index); } return this; } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo.Builder getSpaceSystemBuilder( int index) { return getSpaceSystemFieldBuilder().getBuilder(index); } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public org.yamcs.protobuf.YamcsManagement.SpaceSystemInfoOrBuilder getSpaceSystemOrBuilder( int index) { if (spaceSystemBuilder_ == null) { return spaceSystem_.get(index); } else { return spaceSystemBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public java.util.List getSpaceSystemOrBuilderList() { if (spaceSystemBuilder_ != null) { return spaceSystemBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(spaceSystem_); } } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo.Builder addSpaceSystemBuilder() { return getSpaceSystemFieldBuilder().addBuilder( org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo.getDefaultInstance()); } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo.Builder addSpaceSystemBuilder( int index) { return getSpaceSystemFieldBuilder().addBuilder( index, org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo.getDefaultInstance()); } /** * repeated .yamcsManagement.SpaceSystemInfo spaceSystem = 1; */ public java.util.List getSpaceSystemBuilderList() { return getSpaceSystemFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo, org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo.Builder, org.yamcs.protobuf.YamcsManagement.SpaceSystemInfoOrBuilder> getSpaceSystemFieldBuilder() { if (spaceSystemBuilder_ == null) { spaceSystemBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo, org.yamcs.protobuf.YamcsManagement.SpaceSystemInfo.Builder, org.yamcs.protobuf.YamcsManagement.SpaceSystemInfoOrBuilder>( spaceSystem_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); spaceSystem_ = null; } return spaceSystemBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListSpaceSystemInfoResponse) } static { defaultInstance = new ListSpaceSystemInfoResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListSpaceSystemInfoResponse) } public interface ListContainerInfoResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListContainerInfoResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .mdb.ContainerInfo container = 1; */ java.util.List getContainerList(); /** * repeated .mdb.ContainerInfo container = 1; */ org.yamcs.protobuf.Mdb.ContainerInfo getContainer(int index); /** * repeated .mdb.ContainerInfo container = 1; */ int getContainerCount(); /** * repeated .mdb.ContainerInfo container = 1; */ java.util.List getContainerOrBuilderList(); /** * repeated .mdb.ContainerInfo container = 1; */ org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder( int index); } /** * Protobuf type {@code parameters.ListContainerInfoResponse} */ public static final class ListContainerInfoResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListContainerInfoResponse) ListContainerInfoResponseOrBuilder { // Use ListContainerInfoResponse.newBuilder() to construct. private ListContainerInfoResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListContainerInfoResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListContainerInfoResponse defaultInstance; public static ListContainerInfoResponse getDefaultInstance() { return defaultInstance; } public ListContainerInfoResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListContainerInfoResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { container_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } container_.add(input.readMessage(org.yamcs.protobuf.Mdb.ContainerInfo.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { container_ = java.util.Collections.unmodifiableList(container_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListContainerInfoResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListContainerInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListContainerInfoResponse.class, org.yamcs.protobuf.Rest.ListContainerInfoResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListContainerInfoResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListContainerInfoResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int CONTAINER_FIELD_NUMBER = 1; private java.util.List container_; /** * repeated .mdb.ContainerInfo container = 1; */ public java.util.List getContainerList() { return container_; } /** * repeated .mdb.ContainerInfo container = 1; */ public java.util.List getContainerOrBuilderList() { return container_; } /** * repeated .mdb.ContainerInfo container = 1; */ public int getContainerCount() { return container_.size(); } /** * repeated .mdb.ContainerInfo container = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfo getContainer(int index) { return container_.get(index); } /** * repeated .mdb.ContainerInfo container = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder( int index) { return container_.get(index); } private void initFields() { container_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getContainerCount(); i++) { if (!getContainer(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < container_.size(); i++) { output.writeMessage(1, container_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < container_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, container_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListContainerInfoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListContainerInfoResponse 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.Rest.ListContainerInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListContainerInfoResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListContainerInfoResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListContainerInfoResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListContainerInfoResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListContainerInfoResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListContainerInfoResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListContainerInfoResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListContainerInfoResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListContainerInfoResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListContainerInfoResponse) org.yamcs.protobuf.Rest.ListContainerInfoResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListContainerInfoResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListContainerInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListContainerInfoResponse.class, org.yamcs.protobuf.Rest.ListContainerInfoResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListContainerInfoResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getContainerFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (containerBuilder_ == null) { container_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { containerBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListContainerInfoResponse_descriptor; } public org.yamcs.protobuf.Rest.ListContainerInfoResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListContainerInfoResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListContainerInfoResponse build() { org.yamcs.protobuf.Rest.ListContainerInfoResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListContainerInfoResponse buildPartial() { org.yamcs.protobuf.Rest.ListContainerInfoResponse result = new org.yamcs.protobuf.Rest.ListContainerInfoResponse(this); int from_bitField0_ = bitField0_; if (containerBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { container_ = java.util.Collections.unmodifiableList(container_); bitField0_ = (bitField0_ & ~0x00000001); } result.container_ = container_; } else { result.container_ = containerBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListContainerInfoResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListContainerInfoResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListContainerInfoResponse other) { if (other == org.yamcs.protobuf.Rest.ListContainerInfoResponse.getDefaultInstance()) return this; if (containerBuilder_ == null) { if (!other.container_.isEmpty()) { if (container_.isEmpty()) { container_ = other.container_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureContainerIsMutable(); container_.addAll(other.container_); } onChanged(); } } else { if (!other.container_.isEmpty()) { if (containerBuilder_.isEmpty()) { containerBuilder_.dispose(); containerBuilder_ = null; container_ = other.container_; bitField0_ = (bitField0_ & ~0x00000001); containerBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getContainerFieldBuilder() : null; } else { containerBuilder_.addAllMessages(other.container_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getContainerCount(); i++) { if (!getContainer(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListContainerInfoResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListContainerInfoResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List container_ = java.util.Collections.emptyList(); private void ensureContainerIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { container_ = new java.util.ArrayList(container_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> containerBuilder_; /** * repeated .mdb.ContainerInfo container = 1; */ public java.util.List getContainerList() { if (containerBuilder_ == null) { return java.util.Collections.unmodifiableList(container_); } else { return containerBuilder_.getMessageList(); } } /** * repeated .mdb.ContainerInfo container = 1; */ public int getContainerCount() { if (containerBuilder_ == null) { return container_.size(); } else { return containerBuilder_.getCount(); } } /** * repeated .mdb.ContainerInfo container = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfo getContainer(int index) { if (containerBuilder_ == null) { return container_.get(index); } else { return containerBuilder_.getMessage(index); } } /** * repeated .mdb.ContainerInfo container = 1; */ public Builder setContainer( int index, org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContainerIsMutable(); container_.set(index, value); onChanged(); } else { containerBuilder_.setMessage(index, value); } return this; } /** * repeated .mdb.ContainerInfo container = 1; */ public Builder setContainer( int index, org.yamcs.protobuf.Mdb.ContainerInfo.Builder builderForValue) { if (containerBuilder_ == null) { ensureContainerIsMutable(); container_.set(index, builderForValue.build()); onChanged(); } else { containerBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mdb.ContainerInfo container = 1; */ public Builder addContainer(org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContainerIsMutable(); container_.add(value); onChanged(); } else { containerBuilder_.addMessage(value); } return this; } /** * repeated .mdb.ContainerInfo container = 1; */ public Builder addContainer( int index, org.yamcs.protobuf.Mdb.ContainerInfo value) { if (containerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContainerIsMutable(); container_.add(index, value); onChanged(); } else { containerBuilder_.addMessage(index, value); } return this; } /** * repeated .mdb.ContainerInfo container = 1; */ public Builder addContainer( org.yamcs.protobuf.Mdb.ContainerInfo.Builder builderForValue) { if (containerBuilder_ == null) { ensureContainerIsMutable(); container_.add(builderForValue.build()); onChanged(); } else { containerBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mdb.ContainerInfo container = 1; */ public Builder addContainer( int index, org.yamcs.protobuf.Mdb.ContainerInfo.Builder builderForValue) { if (containerBuilder_ == null) { ensureContainerIsMutable(); container_.add(index, builderForValue.build()); onChanged(); } else { containerBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mdb.ContainerInfo container = 1; */ public Builder addAllContainer( java.lang.Iterable values) { if (containerBuilder_ == null) { ensureContainerIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, container_); onChanged(); } else { containerBuilder_.addAllMessages(values); } return this; } /** * repeated .mdb.ContainerInfo container = 1; */ public Builder clearContainer() { if (containerBuilder_ == null) { container_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { containerBuilder_.clear(); } return this; } /** * repeated .mdb.ContainerInfo container = 1; */ public Builder removeContainer(int index) { if (containerBuilder_ == null) { ensureContainerIsMutable(); container_.remove(index); onChanged(); } else { containerBuilder_.remove(index); } return this; } /** * repeated .mdb.ContainerInfo container = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder getContainerBuilder( int index) { return getContainerFieldBuilder().getBuilder(index); } /** * repeated .mdb.ContainerInfo container = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder getContainerOrBuilder( int index) { if (containerBuilder_ == null) { return container_.get(index); } else { return containerBuilder_.getMessageOrBuilder(index); } } /** * repeated .mdb.ContainerInfo container = 1; */ public java.util.List getContainerOrBuilderList() { if (containerBuilder_ != null) { return containerBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(container_); } } /** * repeated .mdb.ContainerInfo container = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder addContainerBuilder() { return getContainerFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance()); } /** * repeated .mdb.ContainerInfo container = 1; */ public org.yamcs.protobuf.Mdb.ContainerInfo.Builder addContainerBuilder( int index) { return getContainerFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.ContainerInfo.getDefaultInstance()); } /** * repeated .mdb.ContainerInfo container = 1; */ public java.util.List getContainerBuilderList() { return getContainerFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder> getContainerFieldBuilder() { if (containerBuilder_ == null) { containerBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Mdb.ContainerInfo, org.yamcs.protobuf.Mdb.ContainerInfo.Builder, org.yamcs.protobuf.Mdb.ContainerInfoOrBuilder>( container_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); container_ = null; } return containerBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListContainerInfoResponse) } static { defaultInstance = new ListContainerInfoResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListContainerInfoResponse) } public interface ListCommandInfoResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListCommandInfoResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .mdb.CommandInfo command = 1; */ java.util.List getCommandList(); /** * repeated .mdb.CommandInfo command = 1; */ org.yamcs.protobuf.Mdb.CommandInfo getCommand(int index); /** * repeated .mdb.CommandInfo command = 1; */ int getCommandCount(); /** * repeated .mdb.CommandInfo command = 1; */ java.util.List getCommandOrBuilderList(); /** * repeated .mdb.CommandInfo command = 1; */ org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getCommandOrBuilder( int index); } /** * Protobuf type {@code parameters.ListCommandInfoResponse} */ public static final class ListCommandInfoResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListCommandInfoResponse) ListCommandInfoResponseOrBuilder { // Use ListCommandInfoResponse.newBuilder() to construct. private ListCommandInfoResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListCommandInfoResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListCommandInfoResponse defaultInstance; public static ListCommandInfoResponse getDefaultInstance() { return defaultInstance; } public ListCommandInfoResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListCommandInfoResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { command_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } command_.add(input.readMessage(org.yamcs.protobuf.Mdb.CommandInfo.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { command_ = java.util.Collections.unmodifiableList(command_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandInfoResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListCommandInfoResponse.class, org.yamcs.protobuf.Rest.ListCommandInfoResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListCommandInfoResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListCommandInfoResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int COMMAND_FIELD_NUMBER = 1; private java.util.List command_; /** * repeated .mdb.CommandInfo command = 1; */ public java.util.List getCommandList() { return command_; } /** * repeated .mdb.CommandInfo command = 1; */ public java.util.List getCommandOrBuilderList() { return command_; } /** * repeated .mdb.CommandInfo command = 1; */ public int getCommandCount() { return command_.size(); } /** * repeated .mdb.CommandInfo command = 1; */ public org.yamcs.protobuf.Mdb.CommandInfo getCommand(int index) { return command_.get(index); } /** * repeated .mdb.CommandInfo command = 1; */ public org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getCommandOrBuilder( int index) { return command_.get(index); } private void initFields() { command_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getCommandCount(); i++) { if (!getCommand(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < command_.size(); i++) { output.writeMessage(1, command_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < command_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, command_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListCommandInfoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListCommandInfoResponse 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.Rest.ListCommandInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListCommandInfoResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListCommandInfoResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListCommandInfoResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListCommandInfoResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListCommandInfoResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListCommandInfoResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListCommandInfoResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListCommandInfoResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListCommandInfoResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListCommandInfoResponse) org.yamcs.protobuf.Rest.ListCommandInfoResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandInfoResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListCommandInfoResponse.class, org.yamcs.protobuf.Rest.ListCommandInfoResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListCommandInfoResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCommandFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (commandBuilder_ == null) { command_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { commandBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandInfoResponse_descriptor; } public org.yamcs.protobuf.Rest.ListCommandInfoResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListCommandInfoResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListCommandInfoResponse build() { org.yamcs.protobuf.Rest.ListCommandInfoResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListCommandInfoResponse buildPartial() { org.yamcs.protobuf.Rest.ListCommandInfoResponse result = new org.yamcs.protobuf.Rest.ListCommandInfoResponse(this); int from_bitField0_ = bitField0_; if (commandBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { command_ = java.util.Collections.unmodifiableList(command_); bitField0_ = (bitField0_ & ~0x00000001); } result.command_ = command_; } else { result.command_ = commandBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListCommandInfoResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListCommandInfoResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListCommandInfoResponse other) { if (other == org.yamcs.protobuf.Rest.ListCommandInfoResponse.getDefaultInstance()) return this; if (commandBuilder_ == null) { if (!other.command_.isEmpty()) { if (command_.isEmpty()) { command_ = other.command_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCommandIsMutable(); command_.addAll(other.command_); } onChanged(); } } else { if (!other.command_.isEmpty()) { if (commandBuilder_.isEmpty()) { commandBuilder_.dispose(); commandBuilder_ = null; command_ = other.command_; bitField0_ = (bitField0_ & ~0x00000001); commandBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getCommandFieldBuilder() : null; } else { commandBuilder_.addAllMessages(other.command_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getCommandCount(); i++) { if (!getCommand(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListCommandInfoResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListCommandInfoResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List command_ = java.util.Collections.emptyList(); private void ensureCommandIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { command_ = new java.util.ArrayList(command_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Mdb.CommandInfo, org.yamcs.protobuf.Mdb.CommandInfo.Builder, org.yamcs.protobuf.Mdb.CommandInfoOrBuilder> commandBuilder_; /** * repeated .mdb.CommandInfo command = 1; */ public java.util.List getCommandList() { if (commandBuilder_ == null) { return java.util.Collections.unmodifiableList(command_); } else { return commandBuilder_.getMessageList(); } } /** * repeated .mdb.CommandInfo command = 1; */ public int getCommandCount() { if (commandBuilder_ == null) { return command_.size(); } else { return commandBuilder_.getCount(); } } /** * repeated .mdb.CommandInfo command = 1; */ public org.yamcs.protobuf.Mdb.CommandInfo getCommand(int index) { if (commandBuilder_ == null) { return command_.get(index); } else { return commandBuilder_.getMessage(index); } } /** * repeated .mdb.CommandInfo command = 1; */ public Builder setCommand( int index, org.yamcs.protobuf.Mdb.CommandInfo value) { if (commandBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommandIsMutable(); command_.set(index, value); onChanged(); } else { commandBuilder_.setMessage(index, value); } return this; } /** * repeated .mdb.CommandInfo command = 1; */ public Builder setCommand( int index, org.yamcs.protobuf.Mdb.CommandInfo.Builder builderForValue) { if (commandBuilder_ == null) { ensureCommandIsMutable(); command_.set(index, builderForValue.build()); onChanged(); } else { commandBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mdb.CommandInfo command = 1; */ public Builder addCommand(org.yamcs.protobuf.Mdb.CommandInfo value) { if (commandBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommandIsMutable(); command_.add(value); onChanged(); } else { commandBuilder_.addMessage(value); } return this; } /** * repeated .mdb.CommandInfo command = 1; */ public Builder addCommand( int index, org.yamcs.protobuf.Mdb.CommandInfo value) { if (commandBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommandIsMutable(); command_.add(index, value); onChanged(); } else { commandBuilder_.addMessage(index, value); } return this; } /** * repeated .mdb.CommandInfo command = 1; */ public Builder addCommand( org.yamcs.protobuf.Mdb.CommandInfo.Builder builderForValue) { if (commandBuilder_ == null) { ensureCommandIsMutable(); command_.add(builderForValue.build()); onChanged(); } else { commandBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mdb.CommandInfo command = 1; */ public Builder addCommand( int index, org.yamcs.protobuf.Mdb.CommandInfo.Builder builderForValue) { if (commandBuilder_ == null) { ensureCommandIsMutable(); command_.add(index, builderForValue.build()); onChanged(); } else { commandBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mdb.CommandInfo command = 1; */ public Builder addAllCommand( java.lang.Iterable values) { if (commandBuilder_ == null) { ensureCommandIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, command_); onChanged(); } else { commandBuilder_.addAllMessages(values); } return this; } /** * repeated .mdb.CommandInfo command = 1; */ public Builder clearCommand() { if (commandBuilder_ == null) { command_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { commandBuilder_.clear(); } return this; } /** * repeated .mdb.CommandInfo command = 1; */ public Builder removeCommand(int index) { if (commandBuilder_ == null) { ensureCommandIsMutable(); command_.remove(index); onChanged(); } else { commandBuilder_.remove(index); } return this; } /** * repeated .mdb.CommandInfo command = 1; */ public org.yamcs.protobuf.Mdb.CommandInfo.Builder getCommandBuilder( int index) { return getCommandFieldBuilder().getBuilder(index); } /** * repeated .mdb.CommandInfo command = 1; */ public org.yamcs.protobuf.Mdb.CommandInfoOrBuilder getCommandOrBuilder( int index) { if (commandBuilder_ == null) { return command_.get(index); } else { return commandBuilder_.getMessageOrBuilder(index); } } /** * repeated .mdb.CommandInfo command = 1; */ public java.util.List getCommandOrBuilderList() { if (commandBuilder_ != null) { return commandBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(command_); } } /** * repeated .mdb.CommandInfo command = 1; */ public org.yamcs.protobuf.Mdb.CommandInfo.Builder addCommandBuilder() { return getCommandFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance()); } /** * repeated .mdb.CommandInfo command = 1; */ public org.yamcs.protobuf.Mdb.CommandInfo.Builder addCommandBuilder( int index) { return getCommandFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.CommandInfo.getDefaultInstance()); } /** * repeated .mdb.CommandInfo command = 1; */ public java.util.List getCommandBuilderList() { return getCommandFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Mdb.CommandInfo, org.yamcs.protobuf.Mdb.CommandInfo.Builder, org.yamcs.protobuf.Mdb.CommandInfoOrBuilder> getCommandFieldBuilder() { if (commandBuilder_ == null) { commandBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Mdb.CommandInfo, org.yamcs.protobuf.Mdb.CommandInfo.Builder, org.yamcs.protobuf.Mdb.CommandInfoOrBuilder>( command_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); command_ = null; } return commandBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListCommandInfoResponse) } static { defaultInstance = new ListCommandInfoResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListCommandInfoResponse) } public interface ListAlgorithmInfoResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListAlgorithmInfoResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ java.util.List getAlgorithmList(); /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm(int index); /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ int getAlgorithmCount(); /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ java.util.List getAlgorithmOrBuilderList(); /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder( int index); } /** * Protobuf type {@code parameters.ListAlgorithmInfoResponse} */ public static final class ListAlgorithmInfoResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListAlgorithmInfoResponse) ListAlgorithmInfoResponseOrBuilder { // Use ListAlgorithmInfoResponse.newBuilder() to construct. private ListAlgorithmInfoResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListAlgorithmInfoResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListAlgorithmInfoResponse defaultInstance; public static ListAlgorithmInfoResponse getDefaultInstance() { return defaultInstance; } public ListAlgorithmInfoResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListAlgorithmInfoResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { algorithm_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } algorithm_.add(input.readMessage(org.yamcs.protobuf.Mdb.AlgorithmInfo.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { algorithm_ = java.util.Collections.unmodifiableList(algorithm_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListAlgorithmInfoResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListAlgorithmInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse.class, org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListAlgorithmInfoResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListAlgorithmInfoResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int ALGORITHM_FIELD_NUMBER = 1; private java.util.List algorithm_; /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public java.util.List getAlgorithmList() { return algorithm_; } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public java.util.List getAlgorithmOrBuilderList() { return algorithm_; } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public int getAlgorithmCount() { return algorithm_.size(); } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm(int index) { return algorithm_.get(index); } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder( int index) { return algorithm_.get(index); } private void initFields() { algorithm_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getAlgorithmCount(); i++) { if (!getAlgorithm(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < algorithm_.size(); i++) { output.writeMessage(1, algorithm_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < algorithm_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, algorithm_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse 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.Rest.ListAlgorithmInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListAlgorithmInfoResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListAlgorithmInfoResponse) org.yamcs.protobuf.Rest.ListAlgorithmInfoResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListAlgorithmInfoResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListAlgorithmInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse.class, org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getAlgorithmFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (algorithmBuilder_ == null) { algorithm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { algorithmBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListAlgorithmInfoResponse_descriptor; } public org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse build() { org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse buildPartial() { org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse result = new org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse(this); int from_bitField0_ = bitField0_; if (algorithmBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { algorithm_ = java.util.Collections.unmodifiableList(algorithm_); bitField0_ = (bitField0_ & ~0x00000001); } result.algorithm_ = algorithm_; } else { result.algorithm_ = algorithmBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse other) { if (other == org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse.getDefaultInstance()) return this; if (algorithmBuilder_ == null) { if (!other.algorithm_.isEmpty()) { if (algorithm_.isEmpty()) { algorithm_ = other.algorithm_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAlgorithmIsMutable(); algorithm_.addAll(other.algorithm_); } onChanged(); } } else { if (!other.algorithm_.isEmpty()) { if (algorithmBuilder_.isEmpty()) { algorithmBuilder_.dispose(); algorithmBuilder_ = null; algorithm_ = other.algorithm_; bitField0_ = (bitField0_ & ~0x00000001); algorithmBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAlgorithmFieldBuilder() : null; } else { algorithmBuilder_.addAllMessages(other.algorithm_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getAlgorithmCount(); i++) { if (!getAlgorithm(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListAlgorithmInfoResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List algorithm_ = java.util.Collections.emptyList(); private void ensureAlgorithmIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { algorithm_ = new java.util.ArrayList(algorithm_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder> algorithmBuilder_; /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public java.util.List getAlgorithmList() { if (algorithmBuilder_ == null) { return java.util.Collections.unmodifiableList(algorithm_); } else { return algorithmBuilder_.getMessageList(); } } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public int getAlgorithmCount() { if (algorithmBuilder_ == null) { return algorithm_.size(); } else { return algorithmBuilder_.getCount(); } } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo getAlgorithm(int index) { if (algorithmBuilder_ == null) { return algorithm_.get(index); } else { return algorithmBuilder_.getMessage(index); } } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public Builder setAlgorithm( int index, org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlgorithmIsMutable(); algorithm_.set(index, value); onChanged(); } else { algorithmBuilder_.setMessage(index, value); } return this; } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public Builder setAlgorithm( int index, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder builderForValue) { if (algorithmBuilder_ == null) { ensureAlgorithmIsMutable(); algorithm_.set(index, builderForValue.build()); onChanged(); } else { algorithmBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public Builder addAlgorithm(org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlgorithmIsMutable(); algorithm_.add(value); onChanged(); } else { algorithmBuilder_.addMessage(value); } return this; } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public Builder addAlgorithm( int index, org.yamcs.protobuf.Mdb.AlgorithmInfo value) { if (algorithmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlgorithmIsMutable(); algorithm_.add(index, value); onChanged(); } else { algorithmBuilder_.addMessage(index, value); } return this; } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public Builder addAlgorithm( org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder builderForValue) { if (algorithmBuilder_ == null) { ensureAlgorithmIsMutable(); algorithm_.add(builderForValue.build()); onChanged(); } else { algorithmBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public Builder addAlgorithm( int index, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder builderForValue) { if (algorithmBuilder_ == null) { ensureAlgorithmIsMutable(); algorithm_.add(index, builderForValue.build()); onChanged(); } else { algorithmBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public Builder addAllAlgorithm( java.lang.Iterable values) { if (algorithmBuilder_ == null) { ensureAlgorithmIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, algorithm_); onChanged(); } else { algorithmBuilder_.addAllMessages(values); } return this; } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public Builder clearAlgorithm() { if (algorithmBuilder_ == null) { algorithm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { algorithmBuilder_.clear(); } return this; } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public Builder removeAlgorithm(int index) { if (algorithmBuilder_ == null) { ensureAlgorithmIsMutable(); algorithm_.remove(index); onChanged(); } else { algorithmBuilder_.remove(index); } return this; } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder getAlgorithmBuilder( int index) { return getAlgorithmFieldBuilder().getBuilder(index); } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder getAlgorithmOrBuilder( int index) { if (algorithmBuilder_ == null) { return algorithm_.get(index); } else { return algorithmBuilder_.getMessageOrBuilder(index); } } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public java.util.List getAlgorithmOrBuilderList() { if (algorithmBuilder_ != null) { return algorithmBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(algorithm_); } } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder addAlgorithmBuilder() { return getAlgorithmFieldBuilder().addBuilder( org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance()); } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder addAlgorithmBuilder( int index) { return getAlgorithmFieldBuilder().addBuilder( index, org.yamcs.protobuf.Mdb.AlgorithmInfo.getDefaultInstance()); } /** * repeated .mdb.AlgorithmInfo algorithm = 1; */ public java.util.List getAlgorithmBuilderList() { return getAlgorithmFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder> getAlgorithmFieldBuilder() { if (algorithmBuilder_ == null) { algorithmBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Mdb.AlgorithmInfo, org.yamcs.protobuf.Mdb.AlgorithmInfo.Builder, org.yamcs.protobuf.Mdb.AlgorithmInfoOrBuilder>( algorithm_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); algorithm_ = null; } return algorithmBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListAlgorithmInfoResponse) } static { defaultInstance = new ListAlgorithmInfoResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListAlgorithmInfoResponse) } public interface ListLinkInfoResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListLinkInfoResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcsManagement.LinkInfo link = 1; */ java.util.List getLinkList(); /** * repeated .yamcsManagement.LinkInfo link = 1; */ org.yamcs.protobuf.YamcsManagement.LinkInfo getLink(int index); /** * repeated .yamcsManagement.LinkInfo link = 1; */ int getLinkCount(); /** * repeated .yamcsManagement.LinkInfo link = 1; */ java.util.List getLinkOrBuilderList(); /** * repeated .yamcsManagement.LinkInfo link = 1; */ org.yamcs.protobuf.YamcsManagement.LinkInfoOrBuilder getLinkOrBuilder( int index); } /** * Protobuf type {@code parameters.ListLinkInfoResponse} */ public static final class ListLinkInfoResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListLinkInfoResponse) ListLinkInfoResponseOrBuilder { // Use ListLinkInfoResponse.newBuilder() to construct. private ListLinkInfoResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListLinkInfoResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListLinkInfoResponse defaultInstance; public static ListLinkInfoResponse getDefaultInstance() { return defaultInstance; } public ListLinkInfoResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListLinkInfoResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { link_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } link_.add(input.readMessage(org.yamcs.protobuf.YamcsManagement.LinkInfo.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { link_ = java.util.Collections.unmodifiableList(link_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListLinkInfoResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListLinkInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListLinkInfoResponse.class, org.yamcs.protobuf.Rest.ListLinkInfoResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListLinkInfoResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListLinkInfoResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int LINK_FIELD_NUMBER = 1; private java.util.List link_; /** * repeated .yamcsManagement.LinkInfo link = 1; */ public java.util.List getLinkList() { return link_; } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public java.util.List getLinkOrBuilderList() { return link_; } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public int getLinkCount() { return link_.size(); } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public org.yamcs.protobuf.YamcsManagement.LinkInfo getLink(int index) { return link_.get(index); } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public org.yamcs.protobuf.YamcsManagement.LinkInfoOrBuilder getLinkOrBuilder( int index) { return link_.get(index); } private void initFields() { link_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getLinkCount(); i++) { if (!getLink(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < link_.size(); i++) { output.writeMessage(1, link_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < link_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, link_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListLinkInfoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListLinkInfoResponse 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.Rest.ListLinkInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListLinkInfoResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListLinkInfoResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListLinkInfoResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListLinkInfoResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListLinkInfoResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListLinkInfoResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListLinkInfoResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListLinkInfoResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListLinkInfoResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListLinkInfoResponse) org.yamcs.protobuf.Rest.ListLinkInfoResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListLinkInfoResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListLinkInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListLinkInfoResponse.class, org.yamcs.protobuf.Rest.ListLinkInfoResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListLinkInfoResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getLinkFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (linkBuilder_ == null) { link_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { linkBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListLinkInfoResponse_descriptor; } public org.yamcs.protobuf.Rest.ListLinkInfoResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListLinkInfoResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListLinkInfoResponse build() { org.yamcs.protobuf.Rest.ListLinkInfoResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListLinkInfoResponse buildPartial() { org.yamcs.protobuf.Rest.ListLinkInfoResponse result = new org.yamcs.protobuf.Rest.ListLinkInfoResponse(this); int from_bitField0_ = bitField0_; if (linkBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { link_ = java.util.Collections.unmodifiableList(link_); bitField0_ = (bitField0_ & ~0x00000001); } result.link_ = link_; } else { result.link_ = linkBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListLinkInfoResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListLinkInfoResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListLinkInfoResponse other) { if (other == org.yamcs.protobuf.Rest.ListLinkInfoResponse.getDefaultInstance()) return this; if (linkBuilder_ == null) { if (!other.link_.isEmpty()) { if (link_.isEmpty()) { link_ = other.link_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLinkIsMutable(); link_.addAll(other.link_); } onChanged(); } } else { if (!other.link_.isEmpty()) { if (linkBuilder_.isEmpty()) { linkBuilder_.dispose(); linkBuilder_ = null; link_ = other.link_; bitField0_ = (bitField0_ & ~0x00000001); linkBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLinkFieldBuilder() : null; } else { linkBuilder_.addAllMessages(other.link_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getLinkCount(); i++) { if (!getLink(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListLinkInfoResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListLinkInfoResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List link_ = java.util.Collections.emptyList(); private void ensureLinkIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { link_ = new java.util.ArrayList(link_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.LinkInfo, org.yamcs.protobuf.YamcsManagement.LinkInfo.Builder, org.yamcs.protobuf.YamcsManagement.LinkInfoOrBuilder> linkBuilder_; /** * repeated .yamcsManagement.LinkInfo link = 1; */ public java.util.List getLinkList() { if (linkBuilder_ == null) { return java.util.Collections.unmodifiableList(link_); } else { return linkBuilder_.getMessageList(); } } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public int getLinkCount() { if (linkBuilder_ == null) { return link_.size(); } else { return linkBuilder_.getCount(); } } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public org.yamcs.protobuf.YamcsManagement.LinkInfo getLink(int index) { if (linkBuilder_ == null) { return link_.get(index); } else { return linkBuilder_.getMessage(index); } } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public Builder setLink( int index, org.yamcs.protobuf.YamcsManagement.LinkInfo value) { if (linkBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLinkIsMutable(); link_.set(index, value); onChanged(); } else { linkBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public Builder setLink( int index, org.yamcs.protobuf.YamcsManagement.LinkInfo.Builder builderForValue) { if (linkBuilder_ == null) { ensureLinkIsMutable(); link_.set(index, builderForValue.build()); onChanged(); } else { linkBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public Builder addLink(org.yamcs.protobuf.YamcsManagement.LinkInfo value) { if (linkBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLinkIsMutable(); link_.add(value); onChanged(); } else { linkBuilder_.addMessage(value); } return this; } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public Builder addLink( int index, org.yamcs.protobuf.YamcsManagement.LinkInfo value) { if (linkBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLinkIsMutable(); link_.add(index, value); onChanged(); } else { linkBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public Builder addLink( org.yamcs.protobuf.YamcsManagement.LinkInfo.Builder builderForValue) { if (linkBuilder_ == null) { ensureLinkIsMutable(); link_.add(builderForValue.build()); onChanged(); } else { linkBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public Builder addLink( int index, org.yamcs.protobuf.YamcsManagement.LinkInfo.Builder builderForValue) { if (linkBuilder_ == null) { ensureLinkIsMutable(); link_.add(index, builderForValue.build()); onChanged(); } else { linkBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public Builder addAllLink( java.lang.Iterable values) { if (linkBuilder_ == null) { ensureLinkIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, link_); onChanged(); } else { linkBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public Builder clearLink() { if (linkBuilder_ == null) { link_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { linkBuilder_.clear(); } return this; } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public Builder removeLink(int index) { if (linkBuilder_ == null) { ensureLinkIsMutable(); link_.remove(index); onChanged(); } else { linkBuilder_.remove(index); } return this; } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public org.yamcs.protobuf.YamcsManagement.LinkInfo.Builder getLinkBuilder( int index) { return getLinkFieldBuilder().getBuilder(index); } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public org.yamcs.protobuf.YamcsManagement.LinkInfoOrBuilder getLinkOrBuilder( int index) { if (linkBuilder_ == null) { return link_.get(index); } else { return linkBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public java.util.List getLinkOrBuilderList() { if (linkBuilder_ != null) { return linkBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(link_); } } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public org.yamcs.protobuf.YamcsManagement.LinkInfo.Builder addLinkBuilder() { return getLinkFieldBuilder().addBuilder( org.yamcs.protobuf.YamcsManagement.LinkInfo.getDefaultInstance()); } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public org.yamcs.protobuf.YamcsManagement.LinkInfo.Builder addLinkBuilder( int index) { return getLinkFieldBuilder().addBuilder( index, org.yamcs.protobuf.YamcsManagement.LinkInfo.getDefaultInstance()); } /** * repeated .yamcsManagement.LinkInfo link = 1; */ public java.util.List getLinkBuilderList() { return getLinkFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.LinkInfo, org.yamcs.protobuf.YamcsManagement.LinkInfo.Builder, org.yamcs.protobuf.YamcsManagement.LinkInfoOrBuilder> getLinkFieldBuilder() { if (linkBuilder_ == null) { linkBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.LinkInfo, org.yamcs.protobuf.YamcsManagement.LinkInfo.Builder, org.yamcs.protobuf.YamcsManagement.LinkInfoOrBuilder>( link_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); link_ = null; } return linkBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListLinkInfoResponse) } static { defaultInstance = new ListLinkInfoResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListLinkInfoResponse) } public interface ListCommandsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListCommandsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .commanding.CommandHistoryEntry entry = 1; */ java.util.List getEntryList(); /** * repeated .commanding.CommandHistoryEntry entry = 1; */ org.yamcs.protobuf.Commanding.CommandHistoryEntry getEntry(int index); /** * repeated .commanding.CommandHistoryEntry entry = 1; */ int getEntryCount(); /** * repeated .commanding.CommandHistoryEntry entry = 1; */ java.util.List getEntryOrBuilderList(); /** * repeated .commanding.CommandHistoryEntry entry = 1; */ org.yamcs.protobuf.Commanding.CommandHistoryEntryOrBuilder getEntryOrBuilder( int index); } /** * Protobuf type {@code parameters.ListCommandsResponse} */ public static final class ListCommandsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListCommandsResponse) ListCommandsResponseOrBuilder { // Use ListCommandsResponse.newBuilder() to construct. private ListCommandsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListCommandsResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListCommandsResponse defaultInstance; public static ListCommandsResponse getDefaultInstance() { return defaultInstance; } public ListCommandsResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListCommandsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { entry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } entry_.add(input.readMessage(org.yamcs.protobuf.Commanding.CommandHistoryEntry.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { entry_ = java.util.Collections.unmodifiableList(entry_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListCommandsResponse.class, org.yamcs.protobuf.Rest.ListCommandsResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListCommandsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListCommandsResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int ENTRY_FIELD_NUMBER = 1; private java.util.List entry_; /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public java.util.List getEntryList() { return entry_; } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public java.util.List getEntryOrBuilderList() { return entry_; } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public int getEntryCount() { return entry_.size(); } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandHistoryEntry getEntry(int index) { return entry_.get(index); } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandHistoryEntryOrBuilder getEntryOrBuilder( int index) { return entry_.get(index); } private void initFields() { entry_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getEntryCount(); i++) { if (!getEntry(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < entry_.size(); i++) { output.writeMessage(1, entry_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < entry_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, entry_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListCommandsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListCommandsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListCommandsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListCommandsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListCommandsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListCommandsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListCommandsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListCommandsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListCommandsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListCommandsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListCommandsResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListCommandsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListCommandsResponse) org.yamcs.protobuf.Rest.ListCommandsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListCommandsResponse.class, org.yamcs.protobuf.Rest.ListCommandsResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListCommandsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getEntryFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { entryBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandsResponse_descriptor; } public org.yamcs.protobuf.Rest.ListCommandsResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListCommandsResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListCommandsResponse build() { org.yamcs.protobuf.Rest.ListCommandsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListCommandsResponse buildPartial() { org.yamcs.protobuf.Rest.ListCommandsResponse result = new org.yamcs.protobuf.Rest.ListCommandsResponse(this); int from_bitField0_ = bitField0_; if (entryBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { entry_ = java.util.Collections.unmodifiableList(entry_); bitField0_ = (bitField0_ & ~0x00000001); } result.entry_ = entry_; } else { result.entry_ = entryBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListCommandsResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListCommandsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListCommandsResponse other) { if (other == org.yamcs.protobuf.Rest.ListCommandsResponse.getDefaultInstance()) return this; if (entryBuilder_ == null) { if (!other.entry_.isEmpty()) { if (entry_.isEmpty()) { entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntryIsMutable(); entry_.addAll(other.entry_); } onChanged(); } } else { if (!other.entry_.isEmpty()) { if (entryBuilder_.isEmpty()) { entryBuilder_.dispose(); entryBuilder_ = null; entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000001); entryBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getEntryFieldBuilder() : null; } else { entryBuilder_.addAllMessages(other.entry_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getEntryCount(); i++) { if (!getEntry(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListCommandsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListCommandsResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List entry_ = java.util.Collections.emptyList(); private void ensureEntryIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { entry_ = new java.util.ArrayList(entry_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandHistoryEntry, org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder, org.yamcs.protobuf.Commanding.CommandHistoryEntryOrBuilder> entryBuilder_; /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public java.util.List getEntryList() { if (entryBuilder_ == null) { return java.util.Collections.unmodifiableList(entry_); } else { return entryBuilder_.getMessageList(); } } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public int getEntryCount() { if (entryBuilder_ == null) { return entry_.size(); } else { return entryBuilder_.getCount(); } } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandHistoryEntry getEntry(int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessage(index); } } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public Builder setEntry( int index, org.yamcs.protobuf.Commanding.CommandHistoryEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.set(index, value); onChanged(); } else { entryBuilder_.setMessage(index, value); } return this; } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public Builder setEntry( int index, org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.set(index, builderForValue.build()); onChanged(); } else { entryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public Builder addEntry(org.yamcs.protobuf.Commanding.CommandHistoryEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(value); onChanged(); } else { entryBuilder_.addMessage(value); } return this; } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public Builder addEntry( int index, org.yamcs.protobuf.Commanding.CommandHistoryEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(index, value); onChanged(); } else { entryBuilder_.addMessage(index, value); } return this; } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public Builder addEntry( org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public Builder addEntry( int index, org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(index, builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public Builder addAllEntry( java.lang.Iterable values) { if (entryBuilder_ == null) { ensureEntryIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, entry_); onChanged(); } else { entryBuilder_.addAllMessages(values); } return this; } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public Builder clearEntry() { if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { entryBuilder_.clear(); } return this; } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public Builder removeEntry(int index) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.remove(index); onChanged(); } else { entryBuilder_.remove(index); } return this; } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder getEntryBuilder( int index) { return getEntryFieldBuilder().getBuilder(index); } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandHistoryEntryOrBuilder getEntryOrBuilder( int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessageOrBuilder(index); } } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public java.util.List getEntryOrBuilderList() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entry_); } } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder addEntryBuilder() { return getEntryFieldBuilder().addBuilder( org.yamcs.protobuf.Commanding.CommandHistoryEntry.getDefaultInstance()); } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder addEntryBuilder( int index) { return getEntryFieldBuilder().addBuilder( index, org.yamcs.protobuf.Commanding.CommandHistoryEntry.getDefaultInstance()); } /** * repeated .commanding.CommandHistoryEntry entry = 1; */ public java.util.List getEntryBuilderList() { return getEntryFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandHistoryEntry, org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder, org.yamcs.protobuf.Commanding.CommandHistoryEntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { entryBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandHistoryEntry, org.yamcs.protobuf.Commanding.CommandHistoryEntry.Builder, org.yamcs.protobuf.Commanding.CommandHistoryEntryOrBuilder>( entry_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListCommandsResponse) } static { defaultInstance = new ListCommandsResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListCommandsResponse) } public interface EditLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.EditLinkRequest) com.google.protobuf.MessageOrBuilder { /** * optional string state = 1; */ boolean hasState(); /** * optional string state = 1; */ java.lang.String getState(); /** * optional string state = 1; */ com.google.protobuf.ByteString getStateBytes(); } /** * Protobuf type {@code parameters.EditLinkRequest} */ public static final class EditLinkRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.EditLinkRequest) EditLinkRequestOrBuilder { // Use EditLinkRequest.newBuilder() to construct. private EditLinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EditLinkRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final EditLinkRequest defaultInstance; public static EditLinkRequest getDefaultInstance() { return defaultInstance; } public EditLinkRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EditLinkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; state_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditLinkRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditLinkRequest.class, org.yamcs.protobuf.Rest.EditLinkRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public EditLinkRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EditLinkRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int STATE_FIELD_NUMBER = 1; private java.lang.Object state_; /** * optional string state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string state = 1; */ public java.lang.String getState() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { state_ = s; } return s; } } /** * optional string state = 1; */ public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { state_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getStateBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getStateBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.EditLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditLinkRequest 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.Rest.EditLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditLinkRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditLinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditLinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditLinkRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.EditLinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditLinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.EditLinkRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.EditLinkRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.EditLinkRequest) org.yamcs.protobuf.Rest.EditLinkRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditLinkRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditLinkRequest.class, org.yamcs.protobuf.Rest.EditLinkRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.EditLinkRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); state_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditLinkRequest_descriptor; } public org.yamcs.protobuf.Rest.EditLinkRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.EditLinkRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.EditLinkRequest build() { org.yamcs.protobuf.Rest.EditLinkRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.EditLinkRequest buildPartial() { org.yamcs.protobuf.Rest.EditLinkRequest result = new org.yamcs.protobuf.Rest.EditLinkRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.state_ = state_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.EditLinkRequest) { return mergeFrom((org.yamcs.protobuf.Rest.EditLinkRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.EditLinkRequest other) { if (other == org.yamcs.protobuf.Rest.EditLinkRequest.getDefaultInstance()) return this; if (other.hasState()) { bitField0_ |= 0x00000001; state_ = other.state_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.EditLinkRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.EditLinkRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object state_ = ""; /** * optional string state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string state = 1; */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { state_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string state = 1; */ public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string state = 1; */ public Builder setState( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value; onChanged(); return this; } /** * optional string state = 1; */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000001); state_ = getDefaultInstance().getState(); onChanged(); return this; } /** * optional string state = 1; */ public Builder setStateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.EditLinkRequest) } static { defaultInstance = new EditLinkRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.EditLinkRequest) } public interface EditCommandQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.EditCommandQueueRequest) com.google.protobuf.MessageOrBuilder { /** * optional string state = 1; */ boolean hasState(); /** * optional string state = 1; */ java.lang.String getState(); /** * optional string state = 1; */ com.google.protobuf.ByteString getStateBytes(); } /** * Protobuf type {@code parameters.EditCommandQueueRequest} */ public static final class EditCommandQueueRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.EditCommandQueueRequest) EditCommandQueueRequestOrBuilder { // Use EditCommandQueueRequest.newBuilder() to construct. private EditCommandQueueRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EditCommandQueueRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final EditCommandQueueRequest defaultInstance; public static EditCommandQueueRequest getDefaultInstance() { return defaultInstance; } public EditCommandQueueRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EditCommandQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; state_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditCommandQueueRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditCommandQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditCommandQueueRequest.class, org.yamcs.protobuf.Rest.EditCommandQueueRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public EditCommandQueueRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EditCommandQueueRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int STATE_FIELD_NUMBER = 1; private java.lang.Object state_; /** * optional string state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string state = 1; */ public java.lang.String getState() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { state_ = s; } return s; } } /** * optional string state = 1; */ public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { state_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getStateBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getStateBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.EditCommandQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditCommandQueueRequest 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.Rest.EditCommandQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditCommandQueueRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditCommandQueueRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditCommandQueueRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditCommandQueueRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.EditCommandQueueRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditCommandQueueRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditCommandQueueRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.EditCommandQueueRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.EditCommandQueueRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.EditCommandQueueRequest) org.yamcs.protobuf.Rest.EditCommandQueueRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditCommandQueueRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditCommandQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditCommandQueueRequest.class, org.yamcs.protobuf.Rest.EditCommandQueueRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.EditCommandQueueRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); state_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditCommandQueueRequest_descriptor; } public org.yamcs.protobuf.Rest.EditCommandQueueRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.EditCommandQueueRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.EditCommandQueueRequest build() { org.yamcs.protobuf.Rest.EditCommandQueueRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.EditCommandQueueRequest buildPartial() { org.yamcs.protobuf.Rest.EditCommandQueueRequest result = new org.yamcs.protobuf.Rest.EditCommandQueueRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.state_ = state_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.EditCommandQueueRequest) { return mergeFrom((org.yamcs.protobuf.Rest.EditCommandQueueRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.EditCommandQueueRequest other) { if (other == org.yamcs.protobuf.Rest.EditCommandQueueRequest.getDefaultInstance()) return this; if (other.hasState()) { bitField0_ |= 0x00000001; state_ = other.state_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.EditCommandQueueRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.EditCommandQueueRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object state_ = ""; /** * optional string state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string state = 1; */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { state_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string state = 1; */ public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string state = 1; */ public Builder setState( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value; onChanged(); return this; } /** * optional string state = 1; */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000001); state_ = getDefaultInstance().getState(); onChanged(); return this; } /** * optional string state = 1; */ public Builder setStateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.EditCommandQueueRequest) } static { defaultInstance = new EditCommandQueueRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.EditCommandQueueRequest) } public interface ListClientsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListClientsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcsManagement.ClientInfo client = 1; */ java.util.List getClientList(); /** * repeated .yamcsManagement.ClientInfo client = 1; */ org.yamcs.protobuf.YamcsManagement.ClientInfo getClient(int index); /** * repeated .yamcsManagement.ClientInfo client = 1; */ int getClientCount(); /** * repeated .yamcsManagement.ClientInfo client = 1; */ java.util.List getClientOrBuilderList(); /** * repeated .yamcsManagement.ClientInfo client = 1; */ org.yamcs.protobuf.YamcsManagement.ClientInfoOrBuilder getClientOrBuilder( int index); } /** * Protobuf type {@code parameters.ListClientsResponse} */ public static final class ListClientsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListClientsResponse) ListClientsResponseOrBuilder { // Use ListClientsResponse.newBuilder() to construct. private ListClientsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListClientsResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListClientsResponse defaultInstance; public static ListClientsResponse getDefaultInstance() { return defaultInstance; } public ListClientsResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListClientsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { client_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } client_.add(input.readMessage(org.yamcs.protobuf.YamcsManagement.ClientInfo.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { client_ = java.util.Collections.unmodifiableList(client_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListClientsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListClientsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListClientsResponse.class, org.yamcs.protobuf.Rest.ListClientsResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListClientsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListClientsResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int CLIENT_FIELD_NUMBER = 1; private java.util.List client_; /** * repeated .yamcsManagement.ClientInfo client = 1; */ public java.util.List getClientList() { return client_; } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public java.util.List getClientOrBuilderList() { return client_; } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public int getClientCount() { return client_.size(); } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public org.yamcs.protobuf.YamcsManagement.ClientInfo getClient(int index) { return client_.get(index); } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public org.yamcs.protobuf.YamcsManagement.ClientInfoOrBuilder getClientOrBuilder( int index) { return client_.get(index); } private void initFields() { client_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getClientCount(); i++) { if (!getClient(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < client_.size(); i++) { output.writeMessage(1, client_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < client_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, client_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListClientsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListClientsResponse 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.Rest.ListClientsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListClientsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListClientsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListClientsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListClientsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListClientsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListClientsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListClientsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListClientsResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListClientsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListClientsResponse) org.yamcs.protobuf.Rest.ListClientsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListClientsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListClientsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListClientsResponse.class, org.yamcs.protobuf.Rest.ListClientsResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListClientsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getClientFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (clientBuilder_ == null) { client_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { clientBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListClientsResponse_descriptor; } public org.yamcs.protobuf.Rest.ListClientsResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListClientsResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListClientsResponse build() { org.yamcs.protobuf.Rest.ListClientsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListClientsResponse buildPartial() { org.yamcs.protobuf.Rest.ListClientsResponse result = new org.yamcs.protobuf.Rest.ListClientsResponse(this); int from_bitField0_ = bitField0_; if (clientBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { client_ = java.util.Collections.unmodifiableList(client_); bitField0_ = (bitField0_ & ~0x00000001); } result.client_ = client_; } else { result.client_ = clientBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListClientsResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListClientsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListClientsResponse other) { if (other == org.yamcs.protobuf.Rest.ListClientsResponse.getDefaultInstance()) return this; if (clientBuilder_ == null) { if (!other.client_.isEmpty()) { if (client_.isEmpty()) { client_ = other.client_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureClientIsMutable(); client_.addAll(other.client_); } onChanged(); } } else { if (!other.client_.isEmpty()) { if (clientBuilder_.isEmpty()) { clientBuilder_.dispose(); clientBuilder_ = null; client_ = other.client_; bitField0_ = (bitField0_ & ~0x00000001); clientBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getClientFieldBuilder() : null; } else { clientBuilder_.addAllMessages(other.client_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getClientCount(); i++) { if (!getClient(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListClientsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListClientsResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List client_ = java.util.Collections.emptyList(); private void ensureClientIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { client_ = new java.util.ArrayList(client_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.ClientInfo, org.yamcs.protobuf.YamcsManagement.ClientInfo.Builder, org.yamcs.protobuf.YamcsManagement.ClientInfoOrBuilder> clientBuilder_; /** * repeated .yamcsManagement.ClientInfo client = 1; */ public java.util.List getClientList() { if (clientBuilder_ == null) { return java.util.Collections.unmodifiableList(client_); } else { return clientBuilder_.getMessageList(); } } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public int getClientCount() { if (clientBuilder_ == null) { return client_.size(); } else { return clientBuilder_.getCount(); } } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public org.yamcs.protobuf.YamcsManagement.ClientInfo getClient(int index) { if (clientBuilder_ == null) { return client_.get(index); } else { return clientBuilder_.getMessage(index); } } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public Builder setClient( int index, org.yamcs.protobuf.YamcsManagement.ClientInfo value) { if (clientBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClientIsMutable(); client_.set(index, value); onChanged(); } else { clientBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public Builder setClient( int index, org.yamcs.protobuf.YamcsManagement.ClientInfo.Builder builderForValue) { if (clientBuilder_ == null) { ensureClientIsMutable(); client_.set(index, builderForValue.build()); onChanged(); } else { clientBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public Builder addClient(org.yamcs.protobuf.YamcsManagement.ClientInfo value) { if (clientBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClientIsMutable(); client_.add(value); onChanged(); } else { clientBuilder_.addMessage(value); } return this; } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public Builder addClient( int index, org.yamcs.protobuf.YamcsManagement.ClientInfo value) { if (clientBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClientIsMutable(); client_.add(index, value); onChanged(); } else { clientBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public Builder addClient( org.yamcs.protobuf.YamcsManagement.ClientInfo.Builder builderForValue) { if (clientBuilder_ == null) { ensureClientIsMutable(); client_.add(builderForValue.build()); onChanged(); } else { clientBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public Builder addClient( int index, org.yamcs.protobuf.YamcsManagement.ClientInfo.Builder builderForValue) { if (clientBuilder_ == null) { ensureClientIsMutable(); client_.add(index, builderForValue.build()); onChanged(); } else { clientBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public Builder addAllClient( java.lang.Iterable values) { if (clientBuilder_ == null) { ensureClientIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, client_); onChanged(); } else { clientBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public Builder clearClient() { if (clientBuilder_ == null) { client_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { clientBuilder_.clear(); } return this; } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public Builder removeClient(int index) { if (clientBuilder_ == null) { ensureClientIsMutable(); client_.remove(index); onChanged(); } else { clientBuilder_.remove(index); } return this; } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public org.yamcs.protobuf.YamcsManagement.ClientInfo.Builder getClientBuilder( int index) { return getClientFieldBuilder().getBuilder(index); } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public org.yamcs.protobuf.YamcsManagement.ClientInfoOrBuilder getClientOrBuilder( int index) { if (clientBuilder_ == null) { return client_.get(index); } else { return clientBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public java.util.List getClientOrBuilderList() { if (clientBuilder_ != null) { return clientBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(client_); } } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public org.yamcs.protobuf.YamcsManagement.ClientInfo.Builder addClientBuilder() { return getClientFieldBuilder().addBuilder( org.yamcs.protobuf.YamcsManagement.ClientInfo.getDefaultInstance()); } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public org.yamcs.protobuf.YamcsManagement.ClientInfo.Builder addClientBuilder( int index) { return getClientFieldBuilder().addBuilder( index, org.yamcs.protobuf.YamcsManagement.ClientInfo.getDefaultInstance()); } /** * repeated .yamcsManagement.ClientInfo client = 1; */ public java.util.List getClientBuilderList() { return getClientFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.ClientInfo, org.yamcs.protobuf.YamcsManagement.ClientInfo.Builder, org.yamcs.protobuf.YamcsManagement.ClientInfoOrBuilder> getClientFieldBuilder() { if (clientBuilder_ == null) { clientBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.ClientInfo, org.yamcs.protobuf.YamcsManagement.ClientInfo.Builder, org.yamcs.protobuf.YamcsManagement.ClientInfoOrBuilder>( client_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); client_ = null; } return clientBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListClientsResponse) } static { defaultInstance = new ListClientsResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListClientsResponse) } public interface EditClientRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.EditClientRequest) com.google.protobuf.MessageOrBuilder { /** * optional string instance = 1; */ boolean hasInstance(); /** * optional string instance = 1; */ java.lang.String getInstance(); /** * optional string instance = 1; */ com.google.protobuf.ByteString getInstanceBytes(); /** * optional string processor = 2; */ boolean hasProcessor(); /** * optional string processor = 2; */ java.lang.String getProcessor(); /** * optional string processor = 2; */ com.google.protobuf.ByteString getProcessorBytes(); } /** * Protobuf type {@code parameters.EditClientRequest} */ public static final class EditClientRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.EditClientRequest) EditClientRequestOrBuilder { // Use EditClientRequest.newBuilder() to construct. private EditClientRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EditClientRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final EditClientRequest defaultInstance; public static EditClientRequest getDefaultInstance() { return defaultInstance; } public EditClientRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EditClientRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; instance_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; processor_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditClientRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditClientRequest.class, org.yamcs.protobuf.Rest.EditClientRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public EditClientRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EditClientRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private java.lang.Object instance_; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROCESSOR_FIELD_NUMBER = 2; private java.lang.Object processor_; /** * optional string processor = 2; */ public boolean hasProcessor() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string processor = 2; */ public java.lang.String getProcessor() { java.lang.Object ref = processor_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { processor_ = s; } return s; } } /** * optional string processor = 2; */ public com.google.protobuf.ByteString getProcessorBytes() { java.lang.Object ref = processor_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); processor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { instance_ = ""; processor_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getInstanceBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getProcessorBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getInstanceBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getProcessorBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.EditClientRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditClientRequest 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.Rest.EditClientRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditClientRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditClientRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditClientRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditClientRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.EditClientRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditClientRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditClientRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.EditClientRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.EditClientRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.EditClientRequest) org.yamcs.protobuf.Rest.EditClientRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditClientRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditClientRequest.class, org.yamcs.protobuf.Rest.EditClientRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.EditClientRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); processor_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditClientRequest_descriptor; } public org.yamcs.protobuf.Rest.EditClientRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.EditClientRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.EditClientRequest build() { org.yamcs.protobuf.Rest.EditClientRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.EditClientRequest buildPartial() { org.yamcs.protobuf.Rest.EditClientRequest result = new org.yamcs.protobuf.Rest.EditClientRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.processor_ = processor_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.EditClientRequest) { return mergeFrom((org.yamcs.protobuf.Rest.EditClientRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.EditClientRequest other) { if (other == org.yamcs.protobuf.Rest.EditClientRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasProcessor()) { bitField0_ |= 0x00000002; processor_ = other.processor_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.EditClientRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.EditClientRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** * optional string instance = 1; */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string instance = 1; */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string instance = 1; */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string instance = 1; */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** * optional string instance = 1; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** * optional string instance = 1; */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private java.lang.Object processor_ = ""; /** * optional string processor = 2; */ public boolean hasProcessor() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string processor = 2; */ public java.lang.String getProcessor() { java.lang.Object ref = processor_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { processor_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string processor = 2; */ public com.google.protobuf.ByteString getProcessorBytes() { java.lang.Object ref = processor_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); processor_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string processor = 2; */ public Builder setProcessor( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; processor_ = value; onChanged(); return this; } /** * optional string processor = 2; */ public Builder clearProcessor() { bitField0_ = (bitField0_ & ~0x00000002); processor_ = getDefaultInstance().getProcessor(); onChanged(); return this; } /** * optional string processor = 2; */ public Builder setProcessorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; processor_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.EditClientRequest) } static { defaultInstance = new EditClientRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.EditClientRequest) } public interface ListProcessorsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListProcessorsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ java.util.List getProcessorList(); /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ org.yamcs.protobuf.YamcsManagement.ProcessorInfo getProcessor(int index); /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ int getProcessorCount(); /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ java.util.List getProcessorOrBuilderList(); /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ org.yamcs.protobuf.YamcsManagement.ProcessorInfoOrBuilder getProcessorOrBuilder( int index); } /** * Protobuf type {@code parameters.ListProcessorsResponse} */ public static final class ListProcessorsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListProcessorsResponse) ListProcessorsResponseOrBuilder { // Use ListProcessorsResponse.newBuilder() to construct. private ListProcessorsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListProcessorsResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListProcessorsResponse defaultInstance; public static ListProcessorsResponse getDefaultInstance() { return defaultInstance; } public ListProcessorsResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListProcessorsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { processor_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } processor_.add(input.readMessage(org.yamcs.protobuf.YamcsManagement.ProcessorInfo.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { processor_ = java.util.Collections.unmodifiableList(processor_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListProcessorsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListProcessorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListProcessorsResponse.class, org.yamcs.protobuf.Rest.ListProcessorsResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListProcessorsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListProcessorsResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int PROCESSOR_FIELD_NUMBER = 1; private java.util.List processor_; /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public java.util.List getProcessorList() { return processor_; } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public java.util.List getProcessorOrBuilderList() { return processor_; } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public int getProcessorCount() { return processor_.size(); } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public org.yamcs.protobuf.YamcsManagement.ProcessorInfo getProcessor(int index) { return processor_.get(index); } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public org.yamcs.protobuf.YamcsManagement.ProcessorInfoOrBuilder getProcessorOrBuilder( int index) { return processor_.get(index); } private void initFields() { processor_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getProcessorCount(); i++) { if (!getProcessor(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < processor_.size(); i++) { output.writeMessage(1, processor_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < processor_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, processor_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListProcessorsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListProcessorsResponse 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.Rest.ListProcessorsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListProcessorsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListProcessorsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListProcessorsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListProcessorsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListProcessorsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListProcessorsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListProcessorsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListProcessorsResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListProcessorsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListProcessorsResponse) org.yamcs.protobuf.Rest.ListProcessorsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListProcessorsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListProcessorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListProcessorsResponse.class, org.yamcs.protobuf.Rest.ListProcessorsResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListProcessorsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getProcessorFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (processorBuilder_ == null) { processor_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { processorBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListProcessorsResponse_descriptor; } public org.yamcs.protobuf.Rest.ListProcessorsResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListProcessorsResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListProcessorsResponse build() { org.yamcs.protobuf.Rest.ListProcessorsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListProcessorsResponse buildPartial() { org.yamcs.protobuf.Rest.ListProcessorsResponse result = new org.yamcs.protobuf.Rest.ListProcessorsResponse(this); int from_bitField0_ = bitField0_; if (processorBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { processor_ = java.util.Collections.unmodifiableList(processor_); bitField0_ = (bitField0_ & ~0x00000001); } result.processor_ = processor_; } else { result.processor_ = processorBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListProcessorsResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListProcessorsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListProcessorsResponse other) { if (other == org.yamcs.protobuf.Rest.ListProcessorsResponse.getDefaultInstance()) return this; if (processorBuilder_ == null) { if (!other.processor_.isEmpty()) { if (processor_.isEmpty()) { processor_ = other.processor_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureProcessorIsMutable(); processor_.addAll(other.processor_); } onChanged(); } } else { if (!other.processor_.isEmpty()) { if (processorBuilder_.isEmpty()) { processorBuilder_.dispose(); processorBuilder_ = null; processor_ = other.processor_; bitField0_ = (bitField0_ & ~0x00000001); processorBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getProcessorFieldBuilder() : null; } else { processorBuilder_.addAllMessages(other.processor_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getProcessorCount(); i++) { if (!getProcessor(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListProcessorsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListProcessorsResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List processor_ = java.util.Collections.emptyList(); private void ensureProcessorIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { processor_ = new java.util.ArrayList(processor_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.ProcessorInfo, org.yamcs.protobuf.YamcsManagement.ProcessorInfo.Builder, org.yamcs.protobuf.YamcsManagement.ProcessorInfoOrBuilder> processorBuilder_; /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public java.util.List getProcessorList() { if (processorBuilder_ == null) { return java.util.Collections.unmodifiableList(processor_); } else { return processorBuilder_.getMessageList(); } } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public int getProcessorCount() { if (processorBuilder_ == null) { return processor_.size(); } else { return processorBuilder_.getCount(); } } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public org.yamcs.protobuf.YamcsManagement.ProcessorInfo getProcessor(int index) { if (processorBuilder_ == null) { return processor_.get(index); } else { return processorBuilder_.getMessage(index); } } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public Builder setProcessor( int index, org.yamcs.protobuf.YamcsManagement.ProcessorInfo value) { if (processorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureProcessorIsMutable(); processor_.set(index, value); onChanged(); } else { processorBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public Builder setProcessor( int index, org.yamcs.protobuf.YamcsManagement.ProcessorInfo.Builder builderForValue) { if (processorBuilder_ == null) { ensureProcessorIsMutable(); processor_.set(index, builderForValue.build()); onChanged(); } else { processorBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public Builder addProcessor(org.yamcs.protobuf.YamcsManagement.ProcessorInfo value) { if (processorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureProcessorIsMutable(); processor_.add(value); onChanged(); } else { processorBuilder_.addMessage(value); } return this; } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public Builder addProcessor( int index, org.yamcs.protobuf.YamcsManagement.ProcessorInfo value) { if (processorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureProcessorIsMutable(); processor_.add(index, value); onChanged(); } else { processorBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public Builder addProcessor( org.yamcs.protobuf.YamcsManagement.ProcessorInfo.Builder builderForValue) { if (processorBuilder_ == null) { ensureProcessorIsMutable(); processor_.add(builderForValue.build()); onChanged(); } else { processorBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public Builder addProcessor( int index, org.yamcs.protobuf.YamcsManagement.ProcessorInfo.Builder builderForValue) { if (processorBuilder_ == null) { ensureProcessorIsMutable(); processor_.add(index, builderForValue.build()); onChanged(); } else { processorBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public Builder addAllProcessor( java.lang.Iterable values) { if (processorBuilder_ == null) { ensureProcessorIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, processor_); onChanged(); } else { processorBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public Builder clearProcessor() { if (processorBuilder_ == null) { processor_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { processorBuilder_.clear(); } return this; } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public Builder removeProcessor(int index) { if (processorBuilder_ == null) { ensureProcessorIsMutable(); processor_.remove(index); onChanged(); } else { processorBuilder_.remove(index); } return this; } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public org.yamcs.protobuf.YamcsManagement.ProcessorInfo.Builder getProcessorBuilder( int index) { return getProcessorFieldBuilder().getBuilder(index); } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public org.yamcs.protobuf.YamcsManagement.ProcessorInfoOrBuilder getProcessorOrBuilder( int index) { if (processorBuilder_ == null) { return processor_.get(index); } else { return processorBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public java.util.List getProcessorOrBuilderList() { if (processorBuilder_ != null) { return processorBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(processor_); } } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public org.yamcs.protobuf.YamcsManagement.ProcessorInfo.Builder addProcessorBuilder() { return getProcessorFieldBuilder().addBuilder( org.yamcs.protobuf.YamcsManagement.ProcessorInfo.getDefaultInstance()); } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public org.yamcs.protobuf.YamcsManagement.ProcessorInfo.Builder addProcessorBuilder( int index) { return getProcessorFieldBuilder().addBuilder( index, org.yamcs.protobuf.YamcsManagement.ProcessorInfo.getDefaultInstance()); } /** * repeated .yamcsManagement.ProcessorInfo processor = 1; */ public java.util.List getProcessorBuilderList() { return getProcessorFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.ProcessorInfo, org.yamcs.protobuf.YamcsManagement.ProcessorInfo.Builder, org.yamcs.protobuf.YamcsManagement.ProcessorInfoOrBuilder> getProcessorFieldBuilder() { if (processorBuilder_ == null) { processorBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.ProcessorInfo, org.yamcs.protobuf.YamcsManagement.ProcessorInfo.Builder, org.yamcs.protobuf.YamcsManagement.ProcessorInfoOrBuilder>( processor_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); processor_ = null; } return processorBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListProcessorsResponse) } static { defaultInstance = new ListProcessorsResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListProcessorsResponse) } public interface ListCommandQueuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListCommandQueuesResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .commanding.CommandQueueInfo queue = 1; */ java.util.List getQueueList(); /** * repeated .commanding.CommandQueueInfo queue = 1; */ org.yamcs.protobuf.Commanding.CommandQueueInfo getQueue(int index); /** * repeated .commanding.CommandQueueInfo queue = 1; */ int getQueueCount(); /** * repeated .commanding.CommandQueueInfo queue = 1; */ java.util.List getQueueOrBuilderList(); /** * repeated .commanding.CommandQueueInfo queue = 1; */ org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder getQueueOrBuilder( int index); } /** * Protobuf type {@code parameters.ListCommandQueuesResponse} */ public static final class ListCommandQueuesResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListCommandQueuesResponse) ListCommandQueuesResponseOrBuilder { // Use ListCommandQueuesResponse.newBuilder() to construct. private ListCommandQueuesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListCommandQueuesResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListCommandQueuesResponse defaultInstance; public static ListCommandQueuesResponse getDefaultInstance() { return defaultInstance; } public ListCommandQueuesResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListCommandQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { queue_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } queue_.add(input.readMessage(org.yamcs.protobuf.Commanding.CommandQueueInfo.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { queue_ = java.util.Collections.unmodifiableList(queue_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandQueuesResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListCommandQueuesResponse.class, org.yamcs.protobuf.Rest.ListCommandQueuesResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListCommandQueuesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListCommandQueuesResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int QUEUE_FIELD_NUMBER = 1; private java.util.List queue_; /** * repeated .commanding.CommandQueueInfo queue = 1; */ public java.util.List getQueueList() { return queue_; } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public java.util.List getQueueOrBuilderList() { return queue_; } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public int getQueueCount() { return queue_.size(); } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueInfo getQueue(int index) { return queue_.get(index); } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder getQueueOrBuilder( int index) { return queue_.get(index); } private void initFields() { queue_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getQueueCount(); i++) { if (!getQueue(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < queue_.size(); i++) { output.writeMessage(1, queue_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < queue_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, queue_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListCommandQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListCommandQueuesResponse 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.Rest.ListCommandQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListCommandQueuesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListCommandQueuesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListCommandQueuesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListCommandQueuesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListCommandQueuesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListCommandQueuesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListCommandQueuesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListCommandQueuesResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListCommandQueuesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListCommandQueuesResponse) org.yamcs.protobuf.Rest.ListCommandQueuesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandQueuesResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListCommandQueuesResponse.class, org.yamcs.protobuf.Rest.ListCommandQueuesResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListCommandQueuesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getQueueFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (queueBuilder_ == null) { queue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { queueBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandQueuesResponse_descriptor; } public org.yamcs.protobuf.Rest.ListCommandQueuesResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListCommandQueuesResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListCommandQueuesResponse build() { org.yamcs.protobuf.Rest.ListCommandQueuesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListCommandQueuesResponse buildPartial() { org.yamcs.protobuf.Rest.ListCommandQueuesResponse result = new org.yamcs.protobuf.Rest.ListCommandQueuesResponse(this); int from_bitField0_ = bitField0_; if (queueBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { queue_ = java.util.Collections.unmodifiableList(queue_); bitField0_ = (bitField0_ & ~0x00000001); } result.queue_ = queue_; } else { result.queue_ = queueBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListCommandQueuesResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListCommandQueuesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListCommandQueuesResponse other) { if (other == org.yamcs.protobuf.Rest.ListCommandQueuesResponse.getDefaultInstance()) return this; if (queueBuilder_ == null) { if (!other.queue_.isEmpty()) { if (queue_.isEmpty()) { queue_ = other.queue_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureQueueIsMutable(); queue_.addAll(other.queue_); } onChanged(); } } else { if (!other.queue_.isEmpty()) { if (queueBuilder_.isEmpty()) { queueBuilder_.dispose(); queueBuilder_ = null; queue_ = other.queue_; bitField0_ = (bitField0_ & ~0x00000001); queueBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getQueueFieldBuilder() : null; } else { queueBuilder_.addAllMessages(other.queue_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getQueueCount(); i++) { if (!getQueue(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListCommandQueuesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListCommandQueuesResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List queue_ = java.util.Collections.emptyList(); private void ensureQueueIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { queue_ = new java.util.ArrayList(queue_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueInfo, org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder, org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder> queueBuilder_; /** * repeated .commanding.CommandQueueInfo queue = 1; */ public java.util.List getQueueList() { if (queueBuilder_ == null) { return java.util.Collections.unmodifiableList(queue_); } else { return queueBuilder_.getMessageList(); } } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public int getQueueCount() { if (queueBuilder_ == null) { return queue_.size(); } else { return queueBuilder_.getCount(); } } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueInfo getQueue(int index) { if (queueBuilder_ == null) { return queue_.get(index); } else { return queueBuilder_.getMessage(index); } } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public Builder setQueue( int index, org.yamcs.protobuf.Commanding.CommandQueueInfo value) { if (queueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueueIsMutable(); queue_.set(index, value); onChanged(); } else { queueBuilder_.setMessage(index, value); } return this; } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public Builder setQueue( int index, org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder builderForValue) { if (queueBuilder_ == null) { ensureQueueIsMutable(); queue_.set(index, builderForValue.build()); onChanged(); } else { queueBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public Builder addQueue(org.yamcs.protobuf.Commanding.CommandQueueInfo value) { if (queueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueueIsMutable(); queue_.add(value); onChanged(); } else { queueBuilder_.addMessage(value); } return this; } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public Builder addQueue( int index, org.yamcs.protobuf.Commanding.CommandQueueInfo value) { if (queueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueueIsMutable(); queue_.add(index, value); onChanged(); } else { queueBuilder_.addMessage(index, value); } return this; } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public Builder addQueue( org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder builderForValue) { if (queueBuilder_ == null) { ensureQueueIsMutable(); queue_.add(builderForValue.build()); onChanged(); } else { queueBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public Builder addQueue( int index, org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder builderForValue) { if (queueBuilder_ == null) { ensureQueueIsMutable(); queue_.add(index, builderForValue.build()); onChanged(); } else { queueBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public Builder addAllQueue( java.lang.Iterable values) { if (queueBuilder_ == null) { ensureQueueIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, queue_); onChanged(); } else { queueBuilder_.addAllMessages(values); } return this; } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public Builder clearQueue() { if (queueBuilder_ == null) { queue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { queueBuilder_.clear(); } return this; } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public Builder removeQueue(int index) { if (queueBuilder_ == null) { ensureQueueIsMutable(); queue_.remove(index); onChanged(); } else { queueBuilder_.remove(index); } return this; } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder getQueueBuilder( int index) { return getQueueFieldBuilder().getBuilder(index); } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder getQueueOrBuilder( int index) { if (queueBuilder_ == null) { return queue_.get(index); } else { return queueBuilder_.getMessageOrBuilder(index); } } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public java.util.List getQueueOrBuilderList() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(queue_); } } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder addQueueBuilder() { return getQueueFieldBuilder().addBuilder( org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance()); } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder addQueueBuilder( int index) { return getQueueFieldBuilder().addBuilder( index, org.yamcs.protobuf.Commanding.CommandQueueInfo.getDefaultInstance()); } /** * repeated .commanding.CommandQueueInfo queue = 1; */ public java.util.List getQueueBuilderList() { return getQueueFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueInfo, org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder, org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { queueBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueInfo, org.yamcs.protobuf.Commanding.CommandQueueInfo.Builder, org.yamcs.protobuf.Commanding.CommandQueueInfoOrBuilder>( queue_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListCommandQueuesResponse) } static { defaultInstance = new ListCommandQueuesResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListCommandQueuesResponse) } public interface ListCommandQueueEntriesOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListCommandQueueEntries) com.google.protobuf.MessageOrBuilder { /** * repeated .commanding.CommandQueueEntry entry = 1; */ java.util.List getEntryList(); /** * repeated .commanding.CommandQueueEntry entry = 1; */ org.yamcs.protobuf.Commanding.CommandQueueEntry getEntry(int index); /** * repeated .commanding.CommandQueueEntry entry = 1; */ int getEntryCount(); /** * repeated .commanding.CommandQueueEntry entry = 1; */ java.util.List getEntryOrBuilderList(); /** * repeated .commanding.CommandQueueEntry entry = 1; */ org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getEntryOrBuilder( int index); } /** * Protobuf type {@code parameters.ListCommandQueueEntries} */ public static final class ListCommandQueueEntries extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListCommandQueueEntries) ListCommandQueueEntriesOrBuilder { // Use ListCommandQueueEntries.newBuilder() to construct. private ListCommandQueueEntries(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListCommandQueueEntries(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListCommandQueueEntries defaultInstance; public static ListCommandQueueEntries getDefaultInstance() { return defaultInstance; } public ListCommandQueueEntries getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListCommandQueueEntries( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { entry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } entry_.add(input.readMessage(org.yamcs.protobuf.Commanding.CommandQueueEntry.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { entry_ = java.util.Collections.unmodifiableList(entry_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandQueueEntries_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandQueueEntries_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListCommandQueueEntries.class, org.yamcs.protobuf.Rest.ListCommandQueueEntries.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListCommandQueueEntries parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListCommandQueueEntries(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int ENTRY_FIELD_NUMBER = 1; private java.util.List entry_; /** * repeated .commanding.CommandQueueEntry entry = 1; */ public java.util.List getEntryList() { return entry_; } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public java.util.List getEntryOrBuilderList() { return entry_; } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public int getEntryCount() { return entry_.size(); } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueEntry getEntry(int index) { return entry_.get(index); } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getEntryOrBuilder( int index) { return entry_.get(index); } private void initFields() { entry_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getEntryCount(); i++) { if (!getEntry(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < entry_.size(); i++) { output.writeMessage(1, entry_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < entry_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, entry_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListCommandQueueEntries parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListCommandQueueEntries 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.Rest.ListCommandQueueEntries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListCommandQueueEntries parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListCommandQueueEntries parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListCommandQueueEntries parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListCommandQueueEntries parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListCommandQueueEntries parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListCommandQueueEntries parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListCommandQueueEntries parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListCommandQueueEntries prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListCommandQueueEntries} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListCommandQueueEntries) org.yamcs.protobuf.Rest.ListCommandQueueEntriesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandQueueEntries_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandQueueEntries_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListCommandQueueEntries.class, org.yamcs.protobuf.Rest.ListCommandQueueEntries.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListCommandQueueEntries.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getEntryFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { entryBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListCommandQueueEntries_descriptor; } public org.yamcs.protobuf.Rest.ListCommandQueueEntries getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListCommandQueueEntries.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListCommandQueueEntries build() { org.yamcs.protobuf.Rest.ListCommandQueueEntries result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListCommandQueueEntries buildPartial() { org.yamcs.protobuf.Rest.ListCommandQueueEntries result = new org.yamcs.protobuf.Rest.ListCommandQueueEntries(this); int from_bitField0_ = bitField0_; if (entryBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { entry_ = java.util.Collections.unmodifiableList(entry_); bitField0_ = (bitField0_ & ~0x00000001); } result.entry_ = entry_; } else { result.entry_ = entryBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListCommandQueueEntries) { return mergeFrom((org.yamcs.protobuf.Rest.ListCommandQueueEntries)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListCommandQueueEntries other) { if (other == org.yamcs.protobuf.Rest.ListCommandQueueEntries.getDefaultInstance()) return this; if (entryBuilder_ == null) { if (!other.entry_.isEmpty()) { if (entry_.isEmpty()) { entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntryIsMutable(); entry_.addAll(other.entry_); } onChanged(); } } else { if (!other.entry_.isEmpty()) { if (entryBuilder_.isEmpty()) { entryBuilder_.dispose(); entryBuilder_ = null; entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000001); entryBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getEntryFieldBuilder() : null; } else { entryBuilder_.addAllMessages(other.entry_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getEntryCount(); i++) { if (!getEntry(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListCommandQueueEntries parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListCommandQueueEntries) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List entry_ = java.util.Collections.emptyList(); private void ensureEntryIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { entry_ = new java.util.ArrayList(entry_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder> entryBuilder_; /** * repeated .commanding.CommandQueueEntry entry = 1; */ public java.util.List getEntryList() { if (entryBuilder_ == null) { return java.util.Collections.unmodifiableList(entry_); } else { return entryBuilder_.getMessageList(); } } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public int getEntryCount() { if (entryBuilder_ == null) { return entry_.size(); } else { return entryBuilder_.getCount(); } } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueEntry getEntry(int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessage(index); } } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public Builder setEntry( int index, org.yamcs.protobuf.Commanding.CommandQueueEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.set(index, value); onChanged(); } else { entryBuilder_.setMessage(index, value); } return this; } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public Builder setEntry( int index, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.set(index, builderForValue.build()); onChanged(); } else { entryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public Builder addEntry(org.yamcs.protobuf.Commanding.CommandQueueEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(value); onChanged(); } else { entryBuilder_.addMessage(value); } return this; } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public Builder addEntry( int index, org.yamcs.protobuf.Commanding.CommandQueueEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(index, value); onChanged(); } else { entryBuilder_.addMessage(index, value); } return this; } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public Builder addEntry( org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public Builder addEntry( int index, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(index, builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public Builder addAllEntry( java.lang.Iterable values) { if (entryBuilder_ == null) { ensureEntryIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, entry_); onChanged(); } else { entryBuilder_.addAllMessages(values); } return this; } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public Builder clearEntry() { if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { entryBuilder_.clear(); } return this; } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public Builder removeEntry(int index) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.remove(index); onChanged(); } else { entryBuilder_.remove(index); } return this; } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder getEntryBuilder( int index) { return getEntryFieldBuilder().getBuilder(index); } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getEntryOrBuilder( int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessageOrBuilder(index); } } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public java.util.List getEntryOrBuilderList() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entry_); } } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder addEntryBuilder() { return getEntryFieldBuilder().addBuilder( org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance()); } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder addEntryBuilder( int index) { return getEntryFieldBuilder().addBuilder( index, org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance()); } /** * repeated .commanding.CommandQueueEntry entry = 1; */ public java.util.List getEntryBuilderList() { return getEntryFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { entryBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder>( entry_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListCommandQueueEntries) } static { defaultInstance = new ListCommandQueueEntries(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListCommandQueueEntries) } public interface EditCommandQueueEntryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.EditCommandQueueEntryRequest) com.google.protobuf.MessageOrBuilder { /** * optional string state = 1; */ boolean hasState(); /** * optional string state = 1; */ java.lang.String getState(); /** * optional string state = 1; */ com.google.protobuf.ByteString getStateBytes(); } /** * Protobuf type {@code parameters.EditCommandQueueEntryRequest} */ public static final class EditCommandQueueEntryRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.EditCommandQueueEntryRequest) EditCommandQueueEntryRequestOrBuilder { // Use EditCommandQueueEntryRequest.newBuilder() to construct. private EditCommandQueueEntryRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EditCommandQueueEntryRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final EditCommandQueueEntryRequest defaultInstance; public static EditCommandQueueEntryRequest getDefaultInstance() { return defaultInstance; } public EditCommandQueueEntryRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EditCommandQueueEntryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; state_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditCommandQueueEntryRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditCommandQueueEntryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest.class, org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public EditCommandQueueEntryRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EditCommandQueueEntryRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int STATE_FIELD_NUMBER = 1; private java.lang.Object state_; /** * optional string state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string state = 1; */ public java.lang.String getState() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { state_ = s; } return s; } } /** * optional string state = 1; */ public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { state_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getStateBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getStateBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest 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.Rest.EditCommandQueueEntryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.EditCommandQueueEntryRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.EditCommandQueueEntryRequest) org.yamcs.protobuf.Rest.EditCommandQueueEntryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditCommandQueueEntryRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditCommandQueueEntryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest.class, org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); state_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditCommandQueueEntryRequest_descriptor; } public org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest build() { org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest buildPartial() { org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest result = new org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.state_ = state_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest) { return mergeFrom((org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest other) { if (other == org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest.getDefaultInstance()) return this; if (other.hasState()) { bitField0_ |= 0x00000001; state_ = other.state_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object state_ = ""; /** * optional string state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string state = 1; */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { state_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string state = 1; */ public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string state = 1; */ public Builder setState( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value; onChanged(); return this; } /** * optional string state = 1; */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000001); state_ = getDefaultInstance().getState(); onChanged(); return this; } /** * optional string state = 1; */ public Builder setStateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.EditCommandQueueEntryRequest) } static { defaultInstance = new EditCommandQueueEntryRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.EditCommandQueueEntryRequest) } public interface IssueCommandRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.IssueCommandRequest) com.google.protobuf.MessageOrBuilder { /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ java.util.List getAssignmentList(); /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment getAssignment(int index); /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ int getAssignmentCount(); /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ java.util.List getAssignmentOrBuilderList(); /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ org.yamcs.protobuf.Rest.IssueCommandRequest.AssignmentOrBuilder getAssignmentOrBuilder( int index); /** * optional string origin = 2; */ boolean hasOrigin(); /** * optional string origin = 2; */ java.lang.String getOrigin(); /** * optional string origin = 2; */ com.google.protobuf.ByteString getOriginBytes(); /** * optional int32 sequenceNumber = 3; */ boolean hasSequenceNumber(); /** * optional int32 sequenceNumber = 3; */ int getSequenceNumber(); /** * optional bool dryRun = 4; */ boolean hasDryRun(); /** * optional bool dryRun = 4; */ boolean getDryRun(); /** * optional string comment = 5; */ boolean hasComment(); /** * optional string comment = 5; */ java.lang.String getComment(); /** * optional string comment = 5; */ com.google.protobuf.ByteString getCommentBytes(); } /** * Protobuf type {@code parameters.IssueCommandRequest} */ public static final class IssueCommandRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.IssueCommandRequest) IssueCommandRequestOrBuilder { // Use IssueCommandRequest.newBuilder() to construct. private IssueCommandRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private IssueCommandRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final IssueCommandRequest defaultInstance; public static IssueCommandRequest getDefaultInstance() { return defaultInstance; } public IssueCommandRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IssueCommandRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { assignment_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } assignment_.add(input.readMessage(org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.PARSER, extensionRegistry)); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; origin_ = bs; break; } case 24: { bitField0_ |= 0x00000002; sequenceNumber_ = input.readInt32(); break; } case 32: { bitField0_ |= 0x00000004; dryRun_ = input.readBool(); break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; comment_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { assignment_ = java.util.Collections.unmodifiableList(assignment_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.IssueCommandRequest.class, org.yamcs.protobuf.Rest.IssueCommandRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public IssueCommandRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new IssueCommandRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public interface AssignmentOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.IssueCommandRequest.Assignment) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string value = 2; */ boolean hasValue(); /** * optional string value = 2; */ java.lang.String getValue(); /** * optional string value = 2; */ com.google.protobuf.ByteString getValueBytes(); } /** * Protobuf type {@code parameters.IssueCommandRequest.Assignment} */ public static final class Assignment extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.IssueCommandRequest.Assignment) AssignmentOrBuilder { // Use Assignment.newBuilder() to construct. private Assignment(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Assignment(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Assignment defaultInstance; public static Assignment getDefaultInstance() { return defaultInstance; } public Assignment getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Assignment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; value_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandRequest_Assignment_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandRequest_Assignment_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.class, org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Assignment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Assignment(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 2; private java.lang.Object value_; /** * optional string value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string value = 2; */ public java.lang.String getValue() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { value_ = s; } return s; } } /** * optional string value = 2; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { name_ = ""; value_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getValueBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getValueBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment 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.Rest.IssueCommandRequest.Assignment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.IssueCommandRequest.Assignment} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.IssueCommandRequest.Assignment) org.yamcs.protobuf.Rest.IssueCommandRequest.AssignmentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandRequest_Assignment_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandRequest_Assignment_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.class, org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.Builder.class); } // Construct using org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); value_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandRequest_Assignment_descriptor; } public org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.getDefaultInstance(); } public org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment build() { org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment buildPartial() { org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment result = new org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.value_ = value_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment) { return mergeFrom((org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment other) { if (other == org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasValue()) { bitField0_ |= 0x00000002; value_ = other.value_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object value_ = ""; /** * optional string value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string value = 2; */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { value_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string value = 2; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string value = 2; */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } /** * optional string value = 2; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** * optional string value = 2; */ public Builder setValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.IssueCommandRequest.Assignment) } static { defaultInstance = new Assignment(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.IssueCommandRequest.Assignment) } private int bitField0_; public static final int ASSIGNMENT_FIELD_NUMBER = 1; private java.util.List assignment_; /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public java.util.List getAssignmentList() { return assignment_; } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public java.util.List getAssignmentOrBuilderList() { return assignment_; } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public int getAssignmentCount() { return assignment_.size(); } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment getAssignment(int index) { return assignment_.get(index); } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public org.yamcs.protobuf.Rest.IssueCommandRequest.AssignmentOrBuilder getAssignmentOrBuilder( int index) { return assignment_.get(index); } public static final int ORIGIN_FIELD_NUMBER = 2; private java.lang.Object origin_; /** * optional string origin = 2; */ public boolean hasOrigin() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string origin = 2; */ public java.lang.String getOrigin() { java.lang.Object ref = origin_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { origin_ = s; } return s; } } /** * optional string origin = 2; */ public com.google.protobuf.ByteString getOriginBytes() { java.lang.Object ref = origin_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); origin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEQUENCENUMBER_FIELD_NUMBER = 3; private int sequenceNumber_; /** * optional int32 sequenceNumber = 3; */ public boolean hasSequenceNumber() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int32 sequenceNumber = 3; */ public int getSequenceNumber() { return sequenceNumber_; } public static final int DRYRUN_FIELD_NUMBER = 4; private boolean dryRun_; /** * optional bool dryRun = 4; */ public boolean hasDryRun() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool dryRun = 4; */ public boolean getDryRun() { return dryRun_; } public static final int COMMENT_FIELD_NUMBER = 5; private java.lang.Object comment_; /** * optional string comment = 5; */ public boolean hasComment() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string comment = 5; */ public java.lang.String getComment() { java.lang.Object ref = comment_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { comment_ = s; } return s; } } /** * optional string comment = 5; */ public com.google.protobuf.ByteString getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); comment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { assignment_ = java.util.Collections.emptyList(); origin_ = ""; sequenceNumber_ = 0; dryRun_ = false; comment_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < assignment_.size(); i++) { output.writeMessage(1, assignment_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(2, getOriginBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(3, sequenceNumber_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(4, dryRun_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(5, getCommentBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < assignment_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, assignment_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getOriginBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, sequenceNumber_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, dryRun_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getCommentBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.IssueCommandRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.IssueCommandRequest 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.Rest.IssueCommandRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.IssueCommandRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.IssueCommandRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.IssueCommandRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.IssueCommandRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.IssueCommandRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.IssueCommandRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.IssueCommandRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.IssueCommandRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.IssueCommandRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.IssueCommandRequest) org.yamcs.protobuf.Rest.IssueCommandRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.IssueCommandRequest.class, org.yamcs.protobuf.Rest.IssueCommandRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.IssueCommandRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getAssignmentFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (assignmentBuilder_ == null) { assignment_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { assignmentBuilder_.clear(); } origin_ = ""; bitField0_ = (bitField0_ & ~0x00000002); sequenceNumber_ = 0; bitField0_ = (bitField0_ & ~0x00000004); dryRun_ = false; bitField0_ = (bitField0_ & ~0x00000008); comment_ = ""; bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandRequest_descriptor; } public org.yamcs.protobuf.Rest.IssueCommandRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.IssueCommandRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.IssueCommandRequest build() { org.yamcs.protobuf.Rest.IssueCommandRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.IssueCommandRequest buildPartial() { org.yamcs.protobuf.Rest.IssueCommandRequest result = new org.yamcs.protobuf.Rest.IssueCommandRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (assignmentBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { assignment_ = java.util.Collections.unmodifiableList(assignment_); bitField0_ = (bitField0_ & ~0x00000001); } result.assignment_ = assignment_; } else { result.assignment_ = assignmentBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.origin_ = origin_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } result.sequenceNumber_ = sequenceNumber_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } result.dryRun_ = dryRun_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000008; } result.comment_ = comment_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.IssueCommandRequest) { return mergeFrom((org.yamcs.protobuf.Rest.IssueCommandRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.IssueCommandRequest other) { if (other == org.yamcs.protobuf.Rest.IssueCommandRequest.getDefaultInstance()) return this; if (assignmentBuilder_ == null) { if (!other.assignment_.isEmpty()) { if (assignment_.isEmpty()) { assignment_ = other.assignment_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAssignmentIsMutable(); assignment_.addAll(other.assignment_); } onChanged(); } } else { if (!other.assignment_.isEmpty()) { if (assignmentBuilder_.isEmpty()) { assignmentBuilder_.dispose(); assignmentBuilder_ = null; assignment_ = other.assignment_; bitField0_ = (bitField0_ & ~0x00000001); assignmentBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAssignmentFieldBuilder() : null; } else { assignmentBuilder_.addAllMessages(other.assignment_); } } } if (other.hasOrigin()) { bitField0_ |= 0x00000002; origin_ = other.origin_; onChanged(); } if (other.hasSequenceNumber()) { setSequenceNumber(other.getSequenceNumber()); } if (other.hasDryRun()) { setDryRun(other.getDryRun()); } if (other.hasComment()) { bitField0_ |= 0x00000010; comment_ = other.comment_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.IssueCommandRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.IssueCommandRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List assignment_ = java.util.Collections.emptyList(); private void ensureAssignmentIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { assignment_ = new java.util.ArrayList(assignment_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment, org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.Builder, org.yamcs.protobuf.Rest.IssueCommandRequest.AssignmentOrBuilder> assignmentBuilder_; /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public java.util.List getAssignmentList() { if (assignmentBuilder_ == null) { return java.util.Collections.unmodifiableList(assignment_); } else { return assignmentBuilder_.getMessageList(); } } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public int getAssignmentCount() { if (assignmentBuilder_ == null) { return assignment_.size(); } else { return assignmentBuilder_.getCount(); } } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment getAssignment(int index) { if (assignmentBuilder_ == null) { return assignment_.get(index); } else { return assignmentBuilder_.getMessage(index); } } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public Builder setAssignment( int index, org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment value) { if (assignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAssignmentIsMutable(); assignment_.set(index, value); onChanged(); } else { assignmentBuilder_.setMessage(index, value); } return this; } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public Builder setAssignment( int index, org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.Builder builderForValue) { if (assignmentBuilder_ == null) { ensureAssignmentIsMutable(); assignment_.set(index, builderForValue.build()); onChanged(); } else { assignmentBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public Builder addAssignment(org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment value) { if (assignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAssignmentIsMutable(); assignment_.add(value); onChanged(); } else { assignmentBuilder_.addMessage(value); } return this; } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public Builder addAssignment( int index, org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment value) { if (assignmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAssignmentIsMutable(); assignment_.add(index, value); onChanged(); } else { assignmentBuilder_.addMessage(index, value); } return this; } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public Builder addAssignment( org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.Builder builderForValue) { if (assignmentBuilder_ == null) { ensureAssignmentIsMutable(); assignment_.add(builderForValue.build()); onChanged(); } else { assignmentBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public Builder addAssignment( int index, org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.Builder builderForValue) { if (assignmentBuilder_ == null) { ensureAssignmentIsMutable(); assignment_.add(index, builderForValue.build()); onChanged(); } else { assignmentBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public Builder addAllAssignment( java.lang.Iterable values) { if (assignmentBuilder_ == null) { ensureAssignmentIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, assignment_); onChanged(); } else { assignmentBuilder_.addAllMessages(values); } return this; } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public Builder clearAssignment() { if (assignmentBuilder_ == null) { assignment_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { assignmentBuilder_.clear(); } return this; } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public Builder removeAssignment(int index) { if (assignmentBuilder_ == null) { ensureAssignmentIsMutable(); assignment_.remove(index); onChanged(); } else { assignmentBuilder_.remove(index); } return this; } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.Builder getAssignmentBuilder( int index) { return getAssignmentFieldBuilder().getBuilder(index); } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public org.yamcs.protobuf.Rest.IssueCommandRequest.AssignmentOrBuilder getAssignmentOrBuilder( int index) { if (assignmentBuilder_ == null) { return assignment_.get(index); } else { return assignmentBuilder_.getMessageOrBuilder(index); } } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public java.util.List getAssignmentOrBuilderList() { if (assignmentBuilder_ != null) { return assignmentBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(assignment_); } } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.Builder addAssignmentBuilder() { return getAssignmentFieldBuilder().addBuilder( org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.getDefaultInstance()); } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.Builder addAssignmentBuilder( int index) { return getAssignmentFieldBuilder().addBuilder( index, org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.getDefaultInstance()); } /** * repeated .parameters.IssueCommandRequest.Assignment assignment = 1; */ public java.util.List getAssignmentBuilderList() { return getAssignmentFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment, org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.Builder, org.yamcs.protobuf.Rest.IssueCommandRequest.AssignmentOrBuilder> getAssignmentFieldBuilder() { if (assignmentBuilder_ == null) { assignmentBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment, org.yamcs.protobuf.Rest.IssueCommandRequest.Assignment.Builder, org.yamcs.protobuf.Rest.IssueCommandRequest.AssignmentOrBuilder>( assignment_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); assignment_ = null; } return assignmentBuilder_; } private java.lang.Object origin_ = ""; /** * optional string origin = 2; */ public boolean hasOrigin() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string origin = 2; */ public java.lang.String getOrigin() { java.lang.Object ref = origin_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { origin_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string origin = 2; */ public com.google.protobuf.ByteString getOriginBytes() { java.lang.Object ref = origin_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); origin_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string origin = 2; */ public Builder setOrigin( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; origin_ = value; onChanged(); return this; } /** * optional string origin = 2; */ public Builder clearOrigin() { bitField0_ = (bitField0_ & ~0x00000002); origin_ = getDefaultInstance().getOrigin(); onChanged(); return this; } /** * optional string origin = 2; */ public Builder setOriginBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; origin_ = value; onChanged(); return this; } private int sequenceNumber_ ; /** * optional int32 sequenceNumber = 3; */ public boolean hasSequenceNumber() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int32 sequenceNumber = 3; */ public int getSequenceNumber() { return sequenceNumber_; } /** * optional int32 sequenceNumber = 3; */ public Builder setSequenceNumber(int value) { bitField0_ |= 0x00000004; sequenceNumber_ = value; onChanged(); return this; } /** * optional int32 sequenceNumber = 3; */ public Builder clearSequenceNumber() { bitField0_ = (bitField0_ & ~0x00000004); sequenceNumber_ = 0; onChanged(); return this; } private boolean dryRun_ ; /** * optional bool dryRun = 4; */ public boolean hasDryRun() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool dryRun = 4; */ public boolean getDryRun() { return dryRun_; } /** * optional bool dryRun = 4; */ public Builder setDryRun(boolean value) { bitField0_ |= 0x00000008; dryRun_ = value; onChanged(); return this; } /** * optional bool dryRun = 4; */ public Builder clearDryRun() { bitField0_ = (bitField0_ & ~0x00000008); dryRun_ = false; onChanged(); return this; } private java.lang.Object comment_ = ""; /** * optional string comment = 5; */ public boolean hasComment() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string comment = 5; */ public java.lang.String getComment() { java.lang.Object ref = comment_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { comment_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string comment = 5; */ public com.google.protobuf.ByteString getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); comment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string comment = 5; */ public Builder setComment( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; comment_ = value; onChanged(); return this; } /** * optional string comment = 5; */ public Builder clearComment() { bitField0_ = (bitField0_ & ~0x00000010); comment_ = getDefaultInstance().getComment(); onChanged(); return this; } /** * optional string comment = 5; */ public Builder setCommentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; comment_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.IssueCommandRequest) } static { defaultInstance = new IssueCommandRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.IssueCommandRequest) } public interface IssueCommandResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.IssueCommandResponse) com.google.protobuf.MessageOrBuilder { /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ boolean hasCommandQueueEntry(); /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ org.yamcs.protobuf.Commanding.CommandQueueEntry getCommandQueueEntry(); /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getCommandQueueEntryOrBuilder(); /** * optional string source = 2; */ boolean hasSource(); /** * optional string source = 2; */ java.lang.String getSource(); /** * optional string source = 2; */ com.google.protobuf.ByteString getSourceBytes(); /** * optional string hex = 3; */ boolean hasHex(); /** * optional string hex = 3; */ java.lang.String getHex(); /** * optional string hex = 3; */ com.google.protobuf.ByteString getHexBytes(); /** * optional bytes binary = 4; */ boolean hasBinary(); /** * optional bytes binary = 4; */ com.google.protobuf.ByteString getBinary(); } /** * Protobuf type {@code parameters.IssueCommandResponse} */ public static final class IssueCommandResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.IssueCommandResponse) IssueCommandResponseOrBuilder { // Use IssueCommandResponse.newBuilder() to construct. private IssueCommandResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private IssueCommandResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final IssueCommandResponse defaultInstance; public static IssueCommandResponse getDefaultInstance() { return defaultInstance; } public IssueCommandResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IssueCommandResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = commandQueueEntry_.toBuilder(); } commandQueueEntry_ = input.readMessage(org.yamcs.protobuf.Commanding.CommandQueueEntry.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(commandQueueEntry_); commandQueueEntry_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; source_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; hex_ = bs; break; } case 34: { bitField0_ |= 0x00000008; binary_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.IssueCommandResponse.class, org.yamcs.protobuf.Rest.IssueCommandResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public IssueCommandResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new IssueCommandResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int COMMANDQUEUEENTRY_FIELD_NUMBER = 1; private org.yamcs.protobuf.Commanding.CommandQueueEntry commandQueueEntry_; /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ public boolean hasCommandQueueEntry() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueEntry getCommandQueueEntry() { return commandQueueEntry_; } /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getCommandQueueEntryOrBuilder() { return commandQueueEntry_; } public static final int SOURCE_FIELD_NUMBER = 2; private java.lang.Object source_; /** * optional string source = 2; */ public boolean hasSource() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string source = 2; */ public java.lang.String getSource() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { source_ = s; } return s; } } /** * optional string source = 2; */ public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); source_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HEX_FIELD_NUMBER = 3; private java.lang.Object hex_; /** * optional string hex = 3; */ public boolean hasHex() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string hex = 3; */ public java.lang.String getHex() { java.lang.Object ref = hex_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { hex_ = s; } return s; } } /** * optional string hex = 3; */ public com.google.protobuf.ByteString getHexBytes() { java.lang.Object ref = hex_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hex_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BINARY_FIELD_NUMBER = 4; private com.google.protobuf.ByteString binary_; /** * optional bytes binary = 4; */ public boolean hasBinary() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bytes binary = 4; */ public com.google.protobuf.ByteString getBinary() { return binary_; } private void initFields() { commandQueueEntry_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance(); source_ = ""; hex_ = ""; binary_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasCommandQueueEntry()) { if (!getCommandQueueEntry().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, commandQueueEntry_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getSourceBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getHexBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, binary_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, commandQueueEntry_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getSourceBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getHexBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, binary_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.IssueCommandResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.IssueCommandResponse 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.Rest.IssueCommandResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.IssueCommandResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.IssueCommandResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.IssueCommandResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.IssueCommandResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.IssueCommandResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.IssueCommandResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.IssueCommandResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.IssueCommandResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.IssueCommandResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.IssueCommandResponse) org.yamcs.protobuf.Rest.IssueCommandResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.IssueCommandResponse.class, org.yamcs.protobuf.Rest.IssueCommandResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.IssueCommandResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCommandQueueEntryFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (commandQueueEntryBuilder_ == null) { commandQueueEntry_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance(); } else { commandQueueEntryBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); source_ = ""; bitField0_ = (bitField0_ & ~0x00000002); hex_ = ""; bitField0_ = (bitField0_ & ~0x00000004); binary_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_IssueCommandResponse_descriptor; } public org.yamcs.protobuf.Rest.IssueCommandResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.IssueCommandResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.IssueCommandResponse build() { org.yamcs.protobuf.Rest.IssueCommandResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.IssueCommandResponse buildPartial() { org.yamcs.protobuf.Rest.IssueCommandResponse result = new org.yamcs.protobuf.Rest.IssueCommandResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (commandQueueEntryBuilder_ == null) { result.commandQueueEntry_ = commandQueueEntry_; } else { result.commandQueueEntry_ = commandQueueEntryBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.source_ = source_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.hex_ = hex_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.binary_ = binary_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.IssueCommandResponse) { return mergeFrom((org.yamcs.protobuf.Rest.IssueCommandResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.IssueCommandResponse other) { if (other == org.yamcs.protobuf.Rest.IssueCommandResponse.getDefaultInstance()) return this; if (other.hasCommandQueueEntry()) { mergeCommandQueueEntry(other.getCommandQueueEntry()); } if (other.hasSource()) { bitField0_ |= 0x00000002; source_ = other.source_; onChanged(); } if (other.hasHex()) { bitField0_ |= 0x00000004; hex_ = other.hex_; onChanged(); } if (other.hasBinary()) { setBinary(other.getBinary()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (hasCommandQueueEntry()) { if (!getCommandQueueEntry().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.IssueCommandResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.IssueCommandResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.yamcs.protobuf.Commanding.CommandQueueEntry commandQueueEntry_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder> commandQueueEntryBuilder_; /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ public boolean hasCommandQueueEntry() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueEntry getCommandQueueEntry() { if (commandQueueEntryBuilder_ == null) { return commandQueueEntry_; } else { return commandQueueEntryBuilder_.getMessage(); } } /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ public Builder setCommandQueueEntry(org.yamcs.protobuf.Commanding.CommandQueueEntry value) { if (commandQueueEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } commandQueueEntry_ = value; onChanged(); } else { commandQueueEntryBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ public Builder setCommandQueueEntry( org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder builderForValue) { if (commandQueueEntryBuilder_ == null) { commandQueueEntry_ = builderForValue.build(); onChanged(); } else { commandQueueEntryBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ public Builder mergeCommandQueueEntry(org.yamcs.protobuf.Commanding.CommandQueueEntry value) { if (commandQueueEntryBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && commandQueueEntry_ != org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance()) { commandQueueEntry_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.newBuilder(commandQueueEntry_).mergeFrom(value).buildPartial(); } else { commandQueueEntry_ = value; } onChanged(); } else { commandQueueEntryBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ public Builder clearCommandQueueEntry() { if (commandQueueEntryBuilder_ == null) { commandQueueEntry_ = org.yamcs.protobuf.Commanding.CommandQueueEntry.getDefaultInstance(); onChanged(); } else { commandQueueEntryBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder getCommandQueueEntryBuilder() { bitField0_ |= 0x00000001; onChanged(); return getCommandQueueEntryFieldBuilder().getBuilder(); } /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ public org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder getCommandQueueEntryOrBuilder() { if (commandQueueEntryBuilder_ != null) { return commandQueueEntryBuilder_.getMessageOrBuilder(); } else { return commandQueueEntry_; } } /** * optional .commanding.CommandQueueEntry commandQueueEntry = 1; */ private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder> getCommandQueueEntryFieldBuilder() { if (commandQueueEntryBuilder_ == null) { commandQueueEntryBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandQueueEntry, org.yamcs.protobuf.Commanding.CommandQueueEntry.Builder, org.yamcs.protobuf.Commanding.CommandQueueEntryOrBuilder>( getCommandQueueEntry(), getParentForChildren(), isClean()); commandQueueEntry_ = null; } return commandQueueEntryBuilder_; } private java.lang.Object source_ = ""; /** * optional string source = 2; */ public boolean hasSource() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string source = 2; */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { source_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string source = 2; */ public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); source_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string source = 2; */ public Builder setSource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; source_ = value; onChanged(); return this; } /** * optional string source = 2; */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000002); source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** * optional string source = 2; */ public Builder setSourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; source_ = value; onChanged(); return this; } private java.lang.Object hex_ = ""; /** * optional string hex = 3; */ public boolean hasHex() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string hex = 3; */ public java.lang.String getHex() { java.lang.Object ref = hex_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { hex_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string hex = 3; */ public com.google.protobuf.ByteString getHexBytes() { java.lang.Object ref = hex_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hex_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string hex = 3; */ public Builder setHex( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; hex_ = value; onChanged(); return this; } /** * optional string hex = 3; */ public Builder clearHex() { bitField0_ = (bitField0_ & ~0x00000004); hex_ = getDefaultInstance().getHex(); onChanged(); return this; } /** * optional string hex = 3; */ public Builder setHexBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; hex_ = value; onChanged(); return this; } private com.google.protobuf.ByteString binary_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes binary = 4; */ public boolean hasBinary() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bytes binary = 4; */ public com.google.protobuf.ByteString getBinary() { return binary_; } /** * optional bytes binary = 4; */ public Builder setBinary(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; binary_ = value; onChanged(); return this; } /** * optional bytes binary = 4; */ public Builder clearBinary() { bitField0_ = (bitField0_ & ~0x00000008); binary_ = getDefaultInstance().getBinary(); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.IssueCommandResponse) } static { defaultInstance = new IssueCommandResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.IssueCommandResponse) } public interface UpdateCommandHistoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.UpdateCommandHistoryRequest) com.google.protobuf.MessageOrBuilder { /** * required .commanding.CommandId cmdId = 1; */ boolean hasCmdId(); /** * required .commanding.CommandId cmdId = 1; */ org.yamcs.protobuf.Commanding.CommandId getCmdId(); /** * required .commanding.CommandId cmdId = 1; */ org.yamcs.protobuf.Commanding.CommandIdOrBuilder getCmdIdOrBuilder(); /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ java.util.List getHistoryEntryList(); /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue getHistoryEntry(int index); /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ int getHistoryEntryCount(); /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ java.util.List getHistoryEntryOrBuilderList(); /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValueOrBuilder getHistoryEntryOrBuilder( int index); } /** * Protobuf type {@code parameters.UpdateCommandHistoryRequest} */ public static final class UpdateCommandHistoryRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.UpdateCommandHistoryRequest) UpdateCommandHistoryRequestOrBuilder { // Use UpdateCommandHistoryRequest.newBuilder() to construct. private UpdateCommandHistoryRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private UpdateCommandHistoryRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final UpdateCommandHistoryRequest defaultInstance; public static UpdateCommandHistoryRequest getDefaultInstance() { return defaultInstance; } public UpdateCommandHistoryRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateCommandHistoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.yamcs.protobuf.Commanding.CommandId.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = cmdId_.toBuilder(); } cmdId_ = input.readMessage(org.yamcs.protobuf.Commanding.CommandId.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cmdId_); cmdId_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { historyEntry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } historyEntry_.add(input.readMessage(org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { historyEntry_ = java.util.Collections.unmodifiableList(historyEntry_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_UpdateCommandHistoryRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_UpdateCommandHistoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.class, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public UpdateCommandHistoryRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateCommandHistoryRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public interface KeyValueOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.UpdateCommandHistoryRequest.KeyValue) com.google.protobuf.MessageOrBuilder { /** * required string key = 1; */ boolean hasKey(); /** * required string key = 1; */ java.lang.String getKey(); /** * required string key = 1; */ com.google.protobuf.ByteString getKeyBytes(); /** * required string value = 2; */ boolean hasValue(); /** * required string value = 2; */ java.lang.String getValue(); /** * required string value = 2; */ com.google.protobuf.ByteString getValueBytes(); } /** * Protobuf type {@code parameters.UpdateCommandHistoryRequest.KeyValue} */ public static final class KeyValue extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.UpdateCommandHistoryRequest.KeyValue) KeyValueOrBuilder { // Use KeyValue.newBuilder() to construct. private KeyValue(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private KeyValue(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final KeyValue defaultInstance; public static KeyValue getDefaultInstance() { return defaultInstance; } public KeyValue getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private KeyValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; key_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; value_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_UpdateCommandHistoryRequest_KeyValue_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_UpdateCommandHistoryRequest_KeyValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.class, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public KeyValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new KeyValue(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int KEY_FIELD_NUMBER = 1; private java.lang.Object key_; /** * required string key = 1; */ public boolean hasKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string key = 1; */ public java.lang.String getKey() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { key_ = s; } return s; } } /** * required string key = 1; */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 2; private java.lang.Object value_; /** * required string value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string value = 2; */ public java.lang.String getValue() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { value_ = s; } return s; } } /** * required string value = 2; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { key_ = ""; value_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasKey()) { memoizedIsInitialized = 0; return false; } if (!hasValue()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getKeyBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getValueBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getKeyBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getValueBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue 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.Rest.UpdateCommandHistoryRequest.KeyValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.UpdateCommandHistoryRequest.KeyValue} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.UpdateCommandHistoryRequest.KeyValue) org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_UpdateCommandHistoryRequest_KeyValue_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_UpdateCommandHistoryRequest_KeyValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.class, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.Builder.class); } // Construct using org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); key_ = ""; bitField0_ = (bitField0_ & ~0x00000001); value_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_UpdateCommandHistoryRequest_KeyValue_descriptor; } public org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.getDefaultInstance(); } public org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue build() { org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue buildPartial() { org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue result = new org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.key_ = key_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.value_ = value_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue) { return mergeFrom((org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue other) { if (other == org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.getDefaultInstance()) return this; if (other.hasKey()) { bitField0_ |= 0x00000001; key_ = other.key_; onChanged(); } if (other.hasValue()) { bitField0_ |= 0x00000002; value_ = other.value_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasKey()) { return false; } if (!hasValue()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object key_ = ""; /** * required string key = 1; */ public boolean hasKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string key = 1; */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { key_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string key = 1; */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string key = 1; */ public Builder setKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; key_ = value; onChanged(); return this; } /** * required string key = 1; */ public Builder clearKey() { bitField0_ = (bitField0_ & ~0x00000001); key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** * required string key = 1; */ public Builder setKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; key_ = value; onChanged(); return this; } private java.lang.Object value_ = ""; /** * required string value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string value = 2; */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { value_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string value = 2; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string value = 2; */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } /** * required string value = 2; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** * required string value = 2; */ public Builder setValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.UpdateCommandHistoryRequest.KeyValue) } static { defaultInstance = new KeyValue(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.UpdateCommandHistoryRequest.KeyValue) } private int bitField0_; public static final int CMDID_FIELD_NUMBER = 1; private org.yamcs.protobuf.Commanding.CommandId cmdId_; /** * required .commanding.CommandId cmdId = 1; */ public boolean hasCmdId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .commanding.CommandId cmdId = 1; */ public org.yamcs.protobuf.Commanding.CommandId getCmdId() { return cmdId_; } /** * required .commanding.CommandId cmdId = 1; */ public org.yamcs.protobuf.Commanding.CommandIdOrBuilder getCmdIdOrBuilder() { return cmdId_; } public static final int HISTORYENTRY_FIELD_NUMBER = 2; private java.util.List historyEntry_; /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public java.util.List getHistoryEntryList() { return historyEntry_; } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public java.util.List getHistoryEntryOrBuilderList() { return historyEntry_; } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public int getHistoryEntryCount() { return historyEntry_.size(); } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue getHistoryEntry(int index) { return historyEntry_.get(index); } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValueOrBuilder getHistoryEntryOrBuilder( int index) { return historyEntry_.get(index); } private void initFields() { cmdId_ = org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance(); historyEntry_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasCmdId()) { memoizedIsInitialized = 0; return false; } if (!getCmdId().isInitialized()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getHistoryEntryCount(); i++) { if (!getHistoryEntry(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, cmdId_); } for (int i = 0; i < historyEntry_.size(); i++) { output.writeMessage(2, historyEntry_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, cmdId_); } for (int i = 0; i < historyEntry_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, historyEntry_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest 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.Rest.UpdateCommandHistoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.UpdateCommandHistoryRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.UpdateCommandHistoryRequest) org.yamcs.protobuf.Rest.UpdateCommandHistoryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_UpdateCommandHistoryRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_UpdateCommandHistoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.class, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCmdIdFieldBuilder(); getHistoryEntryFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (cmdIdBuilder_ == null) { cmdId_ = org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance(); } else { cmdIdBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (historyEntryBuilder_ == null) { historyEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { historyEntryBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_UpdateCommandHistoryRequest_descriptor; } public org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest build() { org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest buildPartial() { org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest result = new org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (cmdIdBuilder_ == null) { result.cmdId_ = cmdId_; } else { result.cmdId_ = cmdIdBuilder_.build(); } if (historyEntryBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { historyEntry_ = java.util.Collections.unmodifiableList(historyEntry_); bitField0_ = (bitField0_ & ~0x00000002); } result.historyEntry_ = historyEntry_; } else { result.historyEntry_ = historyEntryBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest) { return mergeFrom((org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest other) { if (other == org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.getDefaultInstance()) return this; if (other.hasCmdId()) { mergeCmdId(other.getCmdId()); } if (historyEntryBuilder_ == null) { if (!other.historyEntry_.isEmpty()) { if (historyEntry_.isEmpty()) { historyEntry_ = other.historyEntry_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureHistoryEntryIsMutable(); historyEntry_.addAll(other.historyEntry_); } onChanged(); } } else { if (!other.historyEntry_.isEmpty()) { if (historyEntryBuilder_.isEmpty()) { historyEntryBuilder_.dispose(); historyEntryBuilder_ = null; historyEntry_ = other.historyEntry_; bitField0_ = (bitField0_ & ~0x00000002); historyEntryBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getHistoryEntryFieldBuilder() : null; } else { historyEntryBuilder_.addAllMessages(other.historyEntry_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasCmdId()) { return false; } if (!getCmdId().isInitialized()) { return false; } for (int i = 0; i < getHistoryEntryCount(); i++) { if (!getHistoryEntry(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.yamcs.protobuf.Commanding.CommandId cmdId_ = org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandId, org.yamcs.protobuf.Commanding.CommandId.Builder, org.yamcs.protobuf.Commanding.CommandIdOrBuilder> cmdIdBuilder_; /** * required .commanding.CommandId cmdId = 1; */ public boolean hasCmdId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .commanding.CommandId cmdId = 1; */ public org.yamcs.protobuf.Commanding.CommandId getCmdId() { if (cmdIdBuilder_ == null) { return cmdId_; } else { return cmdIdBuilder_.getMessage(); } } /** * required .commanding.CommandId cmdId = 1; */ public Builder setCmdId(org.yamcs.protobuf.Commanding.CommandId value) { if (cmdIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cmdId_ = value; onChanged(); } else { cmdIdBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .commanding.CommandId cmdId = 1; */ public Builder setCmdId( org.yamcs.protobuf.Commanding.CommandId.Builder builderForValue) { if (cmdIdBuilder_ == null) { cmdId_ = builderForValue.build(); onChanged(); } else { cmdIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .commanding.CommandId cmdId = 1; */ public Builder mergeCmdId(org.yamcs.protobuf.Commanding.CommandId value) { if (cmdIdBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && cmdId_ != org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance()) { cmdId_ = org.yamcs.protobuf.Commanding.CommandId.newBuilder(cmdId_).mergeFrom(value).buildPartial(); } else { cmdId_ = value; } onChanged(); } else { cmdIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .commanding.CommandId cmdId = 1; */ public Builder clearCmdId() { if (cmdIdBuilder_ == null) { cmdId_ = org.yamcs.protobuf.Commanding.CommandId.getDefaultInstance(); onChanged(); } else { cmdIdBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .commanding.CommandId cmdId = 1; */ public org.yamcs.protobuf.Commanding.CommandId.Builder getCmdIdBuilder() { bitField0_ |= 0x00000001; onChanged(); return getCmdIdFieldBuilder().getBuilder(); } /** * required .commanding.CommandId cmdId = 1; */ public org.yamcs.protobuf.Commanding.CommandIdOrBuilder getCmdIdOrBuilder() { if (cmdIdBuilder_ != null) { return cmdIdBuilder_.getMessageOrBuilder(); } else { return cmdId_; } } /** * required .commanding.CommandId cmdId = 1; */ private com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandId, org.yamcs.protobuf.Commanding.CommandId.Builder, org.yamcs.protobuf.Commanding.CommandIdOrBuilder> getCmdIdFieldBuilder() { if (cmdIdBuilder_ == null) { cmdIdBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.yamcs.protobuf.Commanding.CommandId, org.yamcs.protobuf.Commanding.CommandId.Builder, org.yamcs.protobuf.Commanding.CommandIdOrBuilder>( getCmdId(), getParentForChildren(), isClean()); cmdId_ = null; } return cmdIdBuilder_; } private java.util.List historyEntry_ = java.util.Collections.emptyList(); private void ensureHistoryEntryIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { historyEntry_ = new java.util.ArrayList(historyEntry_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.Builder, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValueOrBuilder> historyEntryBuilder_; /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public java.util.List getHistoryEntryList() { if (historyEntryBuilder_ == null) { return java.util.Collections.unmodifiableList(historyEntry_); } else { return historyEntryBuilder_.getMessageList(); } } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public int getHistoryEntryCount() { if (historyEntryBuilder_ == null) { return historyEntry_.size(); } else { return historyEntryBuilder_.getCount(); } } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue getHistoryEntry(int index) { if (historyEntryBuilder_ == null) { return historyEntry_.get(index); } else { return historyEntryBuilder_.getMessage(index); } } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public Builder setHistoryEntry( int index, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue value) { if (historyEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHistoryEntryIsMutable(); historyEntry_.set(index, value); onChanged(); } else { historyEntryBuilder_.setMessage(index, value); } return this; } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public Builder setHistoryEntry( int index, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.Builder builderForValue) { if (historyEntryBuilder_ == null) { ensureHistoryEntryIsMutable(); historyEntry_.set(index, builderForValue.build()); onChanged(); } else { historyEntryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public Builder addHistoryEntry(org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue value) { if (historyEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHistoryEntryIsMutable(); historyEntry_.add(value); onChanged(); } else { historyEntryBuilder_.addMessage(value); } return this; } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public Builder addHistoryEntry( int index, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue value) { if (historyEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHistoryEntryIsMutable(); historyEntry_.add(index, value); onChanged(); } else { historyEntryBuilder_.addMessage(index, value); } return this; } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public Builder addHistoryEntry( org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.Builder builderForValue) { if (historyEntryBuilder_ == null) { ensureHistoryEntryIsMutable(); historyEntry_.add(builderForValue.build()); onChanged(); } else { historyEntryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public Builder addHistoryEntry( int index, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.Builder builderForValue) { if (historyEntryBuilder_ == null) { ensureHistoryEntryIsMutable(); historyEntry_.add(index, builderForValue.build()); onChanged(); } else { historyEntryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public Builder addAllHistoryEntry( java.lang.Iterable values) { if (historyEntryBuilder_ == null) { ensureHistoryEntryIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, historyEntry_); onChanged(); } else { historyEntryBuilder_.addAllMessages(values); } return this; } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public Builder clearHistoryEntry() { if (historyEntryBuilder_ == null) { historyEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { historyEntryBuilder_.clear(); } return this; } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public Builder removeHistoryEntry(int index) { if (historyEntryBuilder_ == null) { ensureHistoryEntryIsMutable(); historyEntry_.remove(index); onChanged(); } else { historyEntryBuilder_.remove(index); } return this; } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.Builder getHistoryEntryBuilder( int index) { return getHistoryEntryFieldBuilder().getBuilder(index); } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValueOrBuilder getHistoryEntryOrBuilder( int index) { if (historyEntryBuilder_ == null) { return historyEntry_.get(index); } else { return historyEntryBuilder_.getMessageOrBuilder(index); } } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public java.util.List getHistoryEntryOrBuilderList() { if (historyEntryBuilder_ != null) { return historyEntryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(historyEntry_); } } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.Builder addHistoryEntryBuilder() { return getHistoryEntryFieldBuilder().addBuilder( org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.getDefaultInstance()); } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.Builder addHistoryEntryBuilder( int index) { return getHistoryEntryFieldBuilder().addBuilder( index, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.getDefaultInstance()); } /** * repeated .parameters.UpdateCommandHistoryRequest.KeyValue historyEntry = 2; */ public java.util.List getHistoryEntryBuilderList() { return getHistoryEntryFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.Builder, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValueOrBuilder> getHistoryEntryFieldBuilder() { if (historyEntryBuilder_ == null) { historyEntryBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValue.Builder, org.yamcs.protobuf.Rest.UpdateCommandHistoryRequest.KeyValueOrBuilder>( historyEntry_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); historyEntry_ = null; } return historyEntryBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.UpdateCommandHistoryRequest) } static { defaultInstance = new UpdateCommandHistoryRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.UpdateCommandHistoryRequest) } public interface CreateEventRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.CreateEventRequest) com.google.protobuf.MessageOrBuilder { /** * optional string type = 1; */ boolean hasType(); /** * optional string type = 1; */ java.lang.String getType(); /** * optional string type = 1; */ com.google.protobuf.ByteString getTypeBytes(); /** * optional string message = 2; */ boolean hasMessage(); /** * optional string message = 2; */ java.lang.String getMessage(); /** * optional string message = 2; */ com.google.protobuf.ByteString getMessageBytes(); /** * optional string severity = 3; */ boolean hasSeverity(); /** * optional string severity = 3; */ java.lang.String getSeverity(); /** * optional string severity = 3; */ com.google.protobuf.ByteString getSeverityBytes(); /** * optional string time = 4; */ boolean hasTime(); /** * optional string time = 4; */ java.lang.String getTime(); /** * optional string time = 4; */ com.google.protobuf.ByteString getTimeBytes(); } /** * Protobuf type {@code parameters.CreateEventRequest} */ public static final class CreateEventRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.CreateEventRequest) CreateEventRequestOrBuilder { // Use CreateEventRequest.newBuilder() to construct. private CreateEventRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CreateEventRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CreateEventRequest defaultInstance; public static CreateEventRequest getDefaultInstance() { return defaultInstance; } public CreateEventRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; type_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; message_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; severity_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; time_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateEventRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.CreateEventRequest.class, org.yamcs.protobuf.Rest.CreateEventRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CreateEventRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateEventRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private java.lang.Object type_; /** * optional string type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string type = 1; */ 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 = 1; */ 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 MESSAGE_FIELD_NUMBER = 2; private java.lang.Object message_; /** * optional string message = 2; */ public boolean hasMessage() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string message = 2; */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { message_ = s; } return s; } } /** * optional string message = 2; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEVERITY_FIELD_NUMBER = 3; private java.lang.Object severity_; /** * optional string severity = 3; */ public boolean hasSeverity() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string severity = 3; */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { severity_ = s; } return s; } } /** * optional string severity = 3; */ public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); severity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIME_FIELD_NUMBER = 4; private java.lang.Object time_; /** * optional string time = 4; */ public boolean hasTime() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string time = 4; */ public java.lang.String getTime() { java.lang.Object ref = time_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { time_ = s; } return s; } } /** * optional string time = 4; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { type_ = ""; message_ = ""; severity_ = ""; time_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getTypeBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getMessageBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getSeverityBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getTimeBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getTypeBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getMessageBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getSeverityBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getTimeBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.CreateEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.CreateEventRequest 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.Rest.CreateEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.CreateEventRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.CreateEventRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.CreateEventRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.CreateEventRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.CreateEventRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.CreateEventRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.CreateEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.CreateEventRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.CreateEventRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.CreateEventRequest) org.yamcs.protobuf.Rest.CreateEventRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateEventRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.CreateEventRequest.class, org.yamcs.protobuf.Rest.CreateEventRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.CreateEventRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); type_ = ""; bitField0_ = (bitField0_ & ~0x00000001); message_ = ""; bitField0_ = (bitField0_ & ~0x00000002); severity_ = ""; bitField0_ = (bitField0_ & ~0x00000004); time_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateEventRequest_descriptor; } public org.yamcs.protobuf.Rest.CreateEventRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.CreateEventRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.CreateEventRequest build() { org.yamcs.protobuf.Rest.CreateEventRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.CreateEventRequest buildPartial() { org.yamcs.protobuf.Rest.CreateEventRequest result = new org.yamcs.protobuf.Rest.CreateEventRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.message_ = message_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.severity_ = severity_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.time_ = time_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.CreateEventRequest) { return mergeFrom((org.yamcs.protobuf.Rest.CreateEventRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.CreateEventRequest other) { if (other == org.yamcs.protobuf.Rest.CreateEventRequest.getDefaultInstance()) return this; if (other.hasType()) { bitField0_ |= 0x00000001; type_ = other.type_; onChanged(); } if (other.hasMessage()) { bitField0_ |= 0x00000002; message_ = other.message_; onChanged(); } if (other.hasSeverity()) { bitField0_ |= 0x00000004; severity_ = other.severity_; onChanged(); } if (other.hasTime()) { bitField0_ |= 0x00000008; time_ = other.time_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.CreateEventRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.CreateEventRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object type_ = ""; /** * optional string type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string type = 1; */ 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 = 1; */ 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 = 1; */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** * optional string type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = getDefaultInstance().getType(); onChanged(); return this; } /** * optional string type = 1; */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } private java.lang.Object message_ = ""; /** * optional string message = 2; */ public boolean hasMessage() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string message = 2; */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { message_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string message = 2; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string message = 2; */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; message_ = value; onChanged(); return this; } /** * optional string message = 2; */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000002); message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * optional string message = 2; */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; message_ = value; onChanged(); return this; } private java.lang.Object severity_ = ""; /** * optional string severity = 3; */ public boolean hasSeverity() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string severity = 3; */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { severity_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string severity = 3; */ public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); severity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string severity = 3; */ public Builder setSeverity( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; severity_ = value; onChanged(); return this; } /** * optional string severity = 3; */ public Builder clearSeverity() { bitField0_ = (bitField0_ & ~0x00000004); severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** * optional string severity = 3; */ public Builder setSeverityBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; severity_ = value; onChanged(); return this; } private java.lang.Object time_ = ""; /** * optional string time = 4; */ public boolean hasTime() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string time = 4; */ public java.lang.String getTime() { java.lang.Object ref = time_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { time_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string time = 4; */ public com.google.protobuf.ByteString getTimeBytes() { java.lang.Object ref = time_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string time = 4; */ public Builder setTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; time_ = value; onChanged(); return this; } /** * optional string time = 4; */ public Builder clearTime() { bitField0_ = (bitField0_ & ~0x00000008); time_ = getDefaultInstance().getTime(); onChanged(); return this; } /** * optional string time = 4; */ public Builder setTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; time_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.CreateEventRequest) } static { defaultInstance = new CreateEventRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.CreateEventRequest) } public interface CreateProcessorRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.CreateProcessorRequest) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string start = 2 [deprecated = true]; * *
     *fields 2-10 only work for creating replay processors and are deprecated
     * instead use the config below with the type = Archive (as defined in the processor.yaml)
     * 
*/ @java.lang.Deprecated boolean hasStart(); /** * optional string start = 2 [deprecated = true]; * *
     *fields 2-10 only work for creating replay processors and are deprecated
     * instead use the config below with the type = Archive (as defined in the processor.yaml)
     * 
*/ @java.lang.Deprecated java.lang.String getStart(); /** * optional string start = 2 [deprecated = true]; * *
     *fields 2-10 only work for creating replay processors and are deprecated
     * instead use the config below with the type = Archive (as defined in the processor.yaml)
     * 
*/ @java.lang.Deprecated com.google.protobuf.ByteString getStartBytes(); /** * optional string stop = 3 [deprecated = true]; */ @java.lang.Deprecated boolean hasStop(); /** * optional string stop = 3 [deprecated = true]; */ @java.lang.Deprecated java.lang.String getStop(); /** * optional string stop = 3 [deprecated = true]; */ @java.lang.Deprecated com.google.protobuf.ByteString getStopBytes(); /** * optional bool loop = 4 [deprecated = true]; */ @java.lang.Deprecated boolean hasLoop(); /** * optional bool loop = 4 [deprecated = true]; */ @java.lang.Deprecated boolean getLoop(); /** * optional string speed = 5 [deprecated = true]; */ @java.lang.Deprecated boolean hasSpeed(); /** * optional string speed = 5 [deprecated = true]; */ @java.lang.Deprecated java.lang.String getSpeed(); /** * optional string speed = 5 [deprecated = true]; */ @java.lang.Deprecated com.google.protobuf.ByteString getSpeedBytes(); /** * repeated int32 clientId = 6; */ java.util.List getClientIdList(); /** * repeated int32 clientId = 6; */ int getClientIdCount(); /** * repeated int32 clientId = 6; */ int getClientId(int index); /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated com.google.protobuf.ProtocolStringList getParanameList(); /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated int getParanameCount(); /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated java.lang.String getParaname(int index); /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated com.google.protobuf.ByteString getParanameBytes(int index); /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated com.google.protobuf.ProtocolStringList getPpgroupList(); /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated int getPpgroupCount(); /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated java.lang.String getPpgroup(int index); /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated com.google.protobuf.ByteString getPpgroupBytes(int index); /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated com.google.protobuf.ProtocolStringList getPacketnameList(); /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated int getPacketnameCount(); /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated java.lang.String getPacketname(int index); /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated com.google.protobuf.ByteString getPacketnameBytes(int index); /** * optional bool cmdhist = 10 [deprecated = true]; */ @java.lang.Deprecated boolean hasCmdhist(); /** * optional bool cmdhist = 10 [deprecated = true]; */ @java.lang.Deprecated boolean getCmdhist(); /** * optional bool persistent = 11; */ boolean hasPersistent(); /** * optional bool persistent = 11; */ boolean getPersistent(); /** * optional string type = 12; */ boolean hasType(); /** * optional string type = 12; */ java.lang.String getType(); /** * optional string type = 12; */ com.google.protobuf.ByteString getTypeBytes(); /** * optional string config = 13; */ boolean hasConfig(); /** * optional string config = 13; */ java.lang.String getConfig(); /** * optional string config = 13; */ com.google.protobuf.ByteString getConfigBytes(); } /** * Protobuf type {@code parameters.CreateProcessorRequest} */ public static final class CreateProcessorRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.CreateProcessorRequest) CreateProcessorRequestOrBuilder { // Use CreateProcessorRequest.newBuilder() to construct. private CreateProcessorRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CreateProcessorRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CreateProcessorRequest defaultInstance; public static CreateProcessorRequest getDefaultInstance() { return defaultInstance; } public CreateProcessorRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateProcessorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { 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; start_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; stop_ = bs; break; } case 32: { bitField0_ |= 0x00000008; loop_ = input.readBool(); break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; speed_ = bs; break; } case 48: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { clientId_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } clientId_.add(input.readInt32()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000020) == 0x00000020) && input.getBytesUntilLimit() > 0) { clientId_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } while (input.getBytesUntilLimit() > 0) { clientId_.add(input.readInt32()); } input.popLimit(limit); break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { paraname_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000040; } paraname_.add(bs); break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { ppgroup_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000080; } ppgroup_.add(bs); break; } case 74: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) { packetname_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000100; } packetname_.add(bs); break; } case 80: { bitField0_ |= 0x00000020; cmdhist_ = input.readBool(); break; } case 88: { bitField0_ |= 0x00000040; persistent_ = input.readBool(); break; } case 98: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; type_ = bs; break; } case 106: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000100; config_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { clientId_ = java.util.Collections.unmodifiableList(clientId_); } if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { paraname_ = paraname_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { ppgroup_ = ppgroup_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) { packetname_ = packetname_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateProcessorRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateProcessorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.CreateProcessorRequest.class, org.yamcs.protobuf.Rest.CreateProcessorRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CreateProcessorRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateProcessorRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int START_FIELD_NUMBER = 2; private java.lang.Object start_; /** * optional string start = 2 [deprecated = true]; * *
     *fields 2-10 only work for creating replay processors and are deprecated
     * instead use the config below with the type = Archive (as defined in the processor.yaml)
     * 
*/ @java.lang.Deprecated public boolean hasStart() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string start = 2 [deprecated = true]; * *
     *fields 2-10 only work for creating replay processors and are deprecated
     * instead use the config below with the type = Archive (as defined in the processor.yaml)
     * 
*/ @java.lang.Deprecated public java.lang.String getStart() { java.lang.Object ref = start_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { start_ = s; } return s; } } /** * optional string start = 2 [deprecated = true]; * *
     *fields 2-10 only work for creating replay processors and are deprecated
     * instead use the config below with the type = Archive (as defined in the processor.yaml)
     * 
*/ @java.lang.Deprecated public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); start_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STOP_FIELD_NUMBER = 3; private java.lang.Object stop_; /** * optional string stop = 3 [deprecated = true]; */ @java.lang.Deprecated public boolean hasStop() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string stop = 3 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getStop() { java.lang.Object ref = stop_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stop_ = s; } return s; } } /** * optional string stop = 3 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getStopBytes() { java.lang.Object ref = stop_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOOP_FIELD_NUMBER = 4; private boolean loop_; /** * optional bool loop = 4 [deprecated = true]; */ @java.lang.Deprecated public boolean hasLoop() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool loop = 4 [deprecated = true]; */ @java.lang.Deprecated public boolean getLoop() { return loop_; } public static final int SPEED_FIELD_NUMBER = 5; private java.lang.Object speed_; /** * optional string speed = 5 [deprecated = true]; */ @java.lang.Deprecated public boolean hasSpeed() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string speed = 5 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getSpeed() { java.lang.Object ref = speed_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { speed_ = s; } return s; } } /** * optional string speed = 5 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getSpeedBytes() { java.lang.Object ref = speed_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); speed_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLIENTID_FIELD_NUMBER = 6; private java.util.List clientId_; /** * repeated int32 clientId = 6; */ public java.util.List getClientIdList() { return clientId_; } /** * repeated int32 clientId = 6; */ public int getClientIdCount() { return clientId_.size(); } /** * repeated int32 clientId = 6; */ public int getClientId(int index) { return clientId_.get(index); } public static final int PARANAME_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList paraname_; /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getParanameList() { return paraname_; } /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated public int getParanameCount() { return paraname_.size(); } /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getParaname(int index) { return paraname_.get(index); } /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getParanameBytes(int index) { return paraname_.getByteString(index); } public static final int PPGROUP_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList ppgroup_; /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPpgroupList() { return ppgroup_; } /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated public int getPpgroupCount() { return ppgroup_.size(); } /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getPpgroup(int index) { return ppgroup_.get(index); } /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getPpgroupBytes(int index) { return ppgroup_.getByteString(index); } public static final int PACKETNAME_FIELD_NUMBER = 9; private com.google.protobuf.LazyStringList packetname_; /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPacketnameList() { return packetname_; } /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated public int getPacketnameCount() { return packetname_.size(); } /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getPacketname(int index) { return packetname_.get(index); } /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getPacketnameBytes(int index) { return packetname_.getByteString(index); } public static final int CMDHIST_FIELD_NUMBER = 10; private boolean cmdhist_; /** * optional bool cmdhist = 10 [deprecated = true]; */ @java.lang.Deprecated public boolean hasCmdhist() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool cmdhist = 10 [deprecated = true]; */ @java.lang.Deprecated public boolean getCmdhist() { return cmdhist_; } public static final int PERSISTENT_FIELD_NUMBER = 11; private boolean persistent_; /** * optional bool persistent = 11; */ public boolean hasPersistent() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional bool persistent = 11; */ public boolean getPersistent() { return persistent_; } public static final int TYPE_FIELD_NUMBER = 12; private java.lang.Object type_; /** * optional string type = 12; */ public boolean hasType() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional string type = 12; */ 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 = 12; */ 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 CONFIG_FIELD_NUMBER = 13; private java.lang.Object config_; /** * optional string config = 13; */ public boolean hasConfig() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional string config = 13; */ public java.lang.String getConfig() { java.lang.Object ref = config_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { config_ = s; } return s; } } /** * optional string config = 13; */ public com.google.protobuf.ByteString getConfigBytes() { java.lang.Object ref = config_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); config_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { name_ = ""; start_ = ""; stop_ = ""; loop_ = false; speed_ = ""; clientId_ = java.util.Collections.emptyList(); paraname_ = com.google.protobuf.LazyStringArrayList.EMPTY; ppgroup_ = com.google.protobuf.LazyStringArrayList.EMPTY; packetname_ = com.google.protobuf.LazyStringArrayList.EMPTY; cmdhist_ = false; persistent_ = false; type_ = ""; config_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getStartBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getStopBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, loop_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getSpeedBytes()); } for (int i = 0; i < clientId_.size(); i++) { output.writeInt32(6, clientId_.get(i)); } for (int i = 0; i < paraname_.size(); i++) { output.writeBytes(7, paraname_.getByteString(i)); } for (int i = 0; i < ppgroup_.size(); i++) { output.writeBytes(8, ppgroup_.getByteString(i)); } for (int i = 0; i < packetname_.size(); i++) { output.writeBytes(9, packetname_.getByteString(i)); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBool(10, cmdhist_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBool(11, persistent_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeBytes(12, getTypeBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeBytes(13, getConfigBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getStartBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getStopBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, loop_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getSpeedBytes()); } { int dataSize = 0; for (int i = 0; i < clientId_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(clientId_.get(i)); } size += dataSize; size += 1 * getClientIdList().size(); } { int dataSize = 0; for (int i = 0; i < paraname_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(paraname_.getByteString(i)); } size += dataSize; size += 1 * getParanameList().size(); } { int dataSize = 0; for (int i = 0; i < ppgroup_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(ppgroup_.getByteString(i)); } size += dataSize; size += 1 * getPpgroupList().size(); } { int dataSize = 0; for (int i = 0; i < packetname_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(packetname_.getByteString(i)); } size += dataSize; size += 1 * getPacketnameList().size(); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, cmdhist_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, persistent_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(12, getTypeBytes()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(13, getConfigBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.CreateProcessorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.CreateProcessorRequest 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.Rest.CreateProcessorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.CreateProcessorRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.CreateProcessorRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.CreateProcessorRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.CreateProcessorRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.CreateProcessorRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.CreateProcessorRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.CreateProcessorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.CreateProcessorRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.CreateProcessorRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.CreateProcessorRequest) org.yamcs.protobuf.Rest.CreateProcessorRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateProcessorRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateProcessorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.CreateProcessorRequest.class, org.yamcs.protobuf.Rest.CreateProcessorRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.CreateProcessorRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); start_ = ""; bitField0_ = (bitField0_ & ~0x00000002); stop_ = ""; bitField0_ = (bitField0_ & ~0x00000004); loop_ = false; bitField0_ = (bitField0_ & ~0x00000008); speed_ = ""; bitField0_ = (bitField0_ & ~0x00000010); clientId_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); paraname_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000040); ppgroup_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000080); packetname_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000100); cmdhist_ = false; bitField0_ = (bitField0_ & ~0x00000200); persistent_ = false; bitField0_ = (bitField0_ & ~0x00000400); type_ = ""; bitField0_ = (bitField0_ & ~0x00000800); config_ = ""; bitField0_ = (bitField0_ & ~0x00001000); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateProcessorRequest_descriptor; } public org.yamcs.protobuf.Rest.CreateProcessorRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.CreateProcessorRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.CreateProcessorRequest build() { org.yamcs.protobuf.Rest.CreateProcessorRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.CreateProcessorRequest buildPartial() { org.yamcs.protobuf.Rest.CreateProcessorRequest result = new org.yamcs.protobuf.Rest.CreateProcessorRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.start_ = start_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.stop_ = stop_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.loop_ = loop_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.speed_ = speed_; if (((bitField0_ & 0x00000020) == 0x00000020)) { clientId_ = java.util.Collections.unmodifiableList(clientId_); bitField0_ = (bitField0_ & ~0x00000020); } result.clientId_ = clientId_; if (((bitField0_ & 0x00000040) == 0x00000040)) { paraname_ = paraname_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000040); } result.paraname_ = paraname_; if (((bitField0_ & 0x00000080) == 0x00000080)) { ppgroup_ = ppgroup_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000080); } result.ppgroup_ = ppgroup_; if (((bitField0_ & 0x00000100) == 0x00000100)) { packetname_ = packetname_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000100); } result.packetname_ = packetname_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000020; } result.cmdhist_ = cmdhist_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000040; } result.persistent_ = persistent_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000080; } result.type_ = type_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00000100; } result.config_ = config_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.CreateProcessorRequest) { return mergeFrom((org.yamcs.protobuf.Rest.CreateProcessorRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.CreateProcessorRequest other) { if (other == org.yamcs.protobuf.Rest.CreateProcessorRequest.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasStart()) { bitField0_ |= 0x00000002; start_ = other.start_; onChanged(); } if (other.hasStop()) { bitField0_ |= 0x00000004; stop_ = other.stop_; onChanged(); } if (other.hasLoop()) { setLoop(other.getLoop()); } if (other.hasSpeed()) { bitField0_ |= 0x00000010; speed_ = other.speed_; onChanged(); } if (!other.clientId_.isEmpty()) { if (clientId_.isEmpty()) { clientId_ = other.clientId_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureClientIdIsMutable(); clientId_.addAll(other.clientId_); } onChanged(); } if (!other.paraname_.isEmpty()) { if (paraname_.isEmpty()) { paraname_ = other.paraname_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureParanameIsMutable(); paraname_.addAll(other.paraname_); } onChanged(); } if (!other.ppgroup_.isEmpty()) { if (ppgroup_.isEmpty()) { ppgroup_ = other.ppgroup_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensurePpgroupIsMutable(); ppgroup_.addAll(other.ppgroup_); } onChanged(); } if (!other.packetname_.isEmpty()) { if (packetname_.isEmpty()) { packetname_ = other.packetname_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensurePacketnameIsMutable(); packetname_.addAll(other.packetname_); } onChanged(); } if (other.hasCmdhist()) { setCmdhist(other.getCmdhist()); } if (other.hasPersistent()) { setPersistent(other.getPersistent()); } if (other.hasType()) { bitField0_ |= 0x00000800; type_ = other.type_; onChanged(); } if (other.hasConfig()) { bitField0_ |= 0x00001000; config_ = other.config_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.CreateProcessorRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.CreateProcessorRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object start_ = ""; /** * optional string start = 2 [deprecated = true]; * *
       *fields 2-10 only work for creating replay processors and are deprecated
       * instead use the config below with the type = Archive (as defined in the processor.yaml)
       * 
*/ @java.lang.Deprecated public boolean hasStart() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string start = 2 [deprecated = true]; * *
       *fields 2-10 only work for creating replay processors and are deprecated
       * instead use the config below with the type = Archive (as defined in the processor.yaml)
       * 
*/ @java.lang.Deprecated public java.lang.String getStart() { java.lang.Object ref = start_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { start_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string start = 2 [deprecated = true]; * *
       *fields 2-10 only work for creating replay processors and are deprecated
       * instead use the config below with the type = Archive (as defined in the processor.yaml)
       * 
*/ @java.lang.Deprecated public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); start_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string start = 2 [deprecated = true]; * *
       *fields 2-10 only work for creating replay processors and are deprecated
       * instead use the config below with the type = Archive (as defined in the processor.yaml)
       * 
*/ @java.lang.Deprecated public Builder setStart( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; start_ = value; onChanged(); return this; } /** * optional string start = 2 [deprecated = true]; * *
       *fields 2-10 only work for creating replay processors and are deprecated
       * instead use the config below with the type = Archive (as defined in the processor.yaml)
       * 
*/ @java.lang.Deprecated public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000002); start_ = getDefaultInstance().getStart(); onChanged(); return this; } /** * optional string start = 2 [deprecated = true]; * *
       *fields 2-10 only work for creating replay processors and are deprecated
       * instead use the config below with the type = Archive (as defined in the processor.yaml)
       * 
*/ @java.lang.Deprecated public Builder setStartBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; start_ = value; onChanged(); return this; } private java.lang.Object stop_ = ""; /** * optional string stop = 3 [deprecated = true]; */ @java.lang.Deprecated public boolean hasStop() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string stop = 3 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getStop() { java.lang.Object ref = stop_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stop_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string stop = 3 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getStopBytes() { java.lang.Object ref = stop_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string stop = 3 [deprecated = true]; */ @java.lang.Deprecated public Builder setStop( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; stop_ = value; onChanged(); return this; } /** * optional string stop = 3 [deprecated = true]; */ @java.lang.Deprecated public Builder clearStop() { bitField0_ = (bitField0_ & ~0x00000004); stop_ = getDefaultInstance().getStop(); onChanged(); return this; } /** * optional string stop = 3 [deprecated = true]; */ @java.lang.Deprecated public Builder setStopBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; stop_ = value; onChanged(); return this; } private boolean loop_ ; /** * optional bool loop = 4 [deprecated = true]; */ @java.lang.Deprecated public boolean hasLoop() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool loop = 4 [deprecated = true]; */ @java.lang.Deprecated public boolean getLoop() { return loop_; } /** * optional bool loop = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder setLoop(boolean value) { bitField0_ |= 0x00000008; loop_ = value; onChanged(); return this; } /** * optional bool loop = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder clearLoop() { bitField0_ = (bitField0_ & ~0x00000008); loop_ = false; onChanged(); return this; } private java.lang.Object speed_ = ""; /** * optional string speed = 5 [deprecated = true]; */ @java.lang.Deprecated public boolean hasSpeed() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string speed = 5 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getSpeed() { java.lang.Object ref = speed_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { speed_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string speed = 5 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getSpeedBytes() { java.lang.Object ref = speed_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); speed_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string speed = 5 [deprecated = true]; */ @java.lang.Deprecated public Builder setSpeed( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; speed_ = value; onChanged(); return this; } /** * optional string speed = 5 [deprecated = true]; */ @java.lang.Deprecated public Builder clearSpeed() { bitField0_ = (bitField0_ & ~0x00000010); speed_ = getDefaultInstance().getSpeed(); onChanged(); return this; } /** * optional string speed = 5 [deprecated = true]; */ @java.lang.Deprecated public Builder setSpeedBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; speed_ = value; onChanged(); return this; } private java.util.List clientId_ = java.util.Collections.emptyList(); private void ensureClientIdIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { clientId_ = new java.util.ArrayList(clientId_); bitField0_ |= 0x00000020; } } /** * repeated int32 clientId = 6; */ public java.util.List getClientIdList() { return java.util.Collections.unmodifiableList(clientId_); } /** * repeated int32 clientId = 6; */ public int getClientIdCount() { return clientId_.size(); } /** * repeated int32 clientId = 6; */ public int getClientId(int index) { return clientId_.get(index); } /** * repeated int32 clientId = 6; */ public Builder setClientId( int index, int value) { ensureClientIdIsMutable(); clientId_.set(index, value); onChanged(); return this; } /** * repeated int32 clientId = 6; */ public Builder addClientId(int value) { ensureClientIdIsMutable(); clientId_.add(value); onChanged(); return this; } /** * repeated int32 clientId = 6; */ public Builder addAllClientId( java.lang.Iterable values) { ensureClientIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, clientId_); onChanged(); return this; } /** * repeated int32 clientId = 6; */ public Builder clearClientId() { clientId_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.LazyStringList paraname_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureParanameIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { paraname_ = new com.google.protobuf.LazyStringArrayList(paraname_); bitField0_ |= 0x00000040; } } /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getParanameList() { return paraname_.getUnmodifiableView(); } /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated public int getParanameCount() { return paraname_.size(); } /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getParaname(int index) { return paraname_.get(index); } /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getParanameBytes(int index) { return paraname_.getByteString(index); } /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated public Builder setParaname( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureParanameIsMutable(); paraname_.set(index, value); onChanged(); return this; } /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated public Builder addParaname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureParanameIsMutable(); paraname_.add(value); onChanged(); return this; } /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated public Builder addAllParaname( java.lang.Iterable values) { ensureParanameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, paraname_); onChanged(); return this; } /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated public Builder clearParaname() { paraname_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** * repeated string paraname = 7 [deprecated = true]; */ @java.lang.Deprecated public Builder addParanameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureParanameIsMutable(); paraname_.add(value); onChanged(); return this; } private com.google.protobuf.LazyStringList ppgroup_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePpgroupIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { ppgroup_ = new com.google.protobuf.LazyStringArrayList(ppgroup_); bitField0_ |= 0x00000080; } } /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPpgroupList() { return ppgroup_.getUnmodifiableView(); } /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated public int getPpgroupCount() { return ppgroup_.size(); } /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getPpgroup(int index) { return ppgroup_.get(index); } /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getPpgroupBytes(int index) { return ppgroup_.getByteString(index); } /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated public Builder setPpgroup( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePpgroupIsMutable(); ppgroup_.set(index, value); onChanged(); return this; } /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated public Builder addPpgroup( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePpgroupIsMutable(); ppgroup_.add(value); onChanged(); return this; } /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated public Builder addAllPpgroup( java.lang.Iterable values) { ensurePpgroupIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, ppgroup_); onChanged(); return this; } /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated public Builder clearPpgroup() { ppgroup_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** * repeated string ppgroup = 8 [deprecated = true]; */ @java.lang.Deprecated public Builder addPpgroupBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePpgroupIsMutable(); ppgroup_.add(value); onChanged(); return this; } private com.google.protobuf.LazyStringList packetname_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePacketnameIsMutable() { if (!((bitField0_ & 0x00000100) == 0x00000100)) { packetname_ = new com.google.protobuf.LazyStringArrayList(packetname_); bitField0_ |= 0x00000100; } } /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPacketnameList() { return packetname_.getUnmodifiableView(); } /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated public int getPacketnameCount() { return packetname_.size(); } /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated public java.lang.String getPacketname(int index) { return packetname_.get(index); } /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.ByteString getPacketnameBytes(int index) { return packetname_.getByteString(index); } /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated public Builder setPacketname( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePacketnameIsMutable(); packetname_.set(index, value); onChanged(); return this; } /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated public Builder addPacketname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePacketnameIsMutable(); packetname_.add(value); onChanged(); return this; } /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated public Builder addAllPacketname( java.lang.Iterable values) { ensurePacketnameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packetname_); onChanged(); return this; } /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated public Builder clearPacketname() { packetname_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** * repeated string packetname = 9 [deprecated = true]; */ @java.lang.Deprecated public Builder addPacketnameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePacketnameIsMutable(); packetname_.add(value); onChanged(); return this; } private boolean cmdhist_ ; /** * optional bool cmdhist = 10 [deprecated = true]; */ @java.lang.Deprecated public boolean hasCmdhist() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional bool cmdhist = 10 [deprecated = true]; */ @java.lang.Deprecated public boolean getCmdhist() { return cmdhist_; } /** * optional bool cmdhist = 10 [deprecated = true]; */ @java.lang.Deprecated public Builder setCmdhist(boolean value) { bitField0_ |= 0x00000200; cmdhist_ = value; onChanged(); return this; } /** * optional bool cmdhist = 10 [deprecated = true]; */ @java.lang.Deprecated public Builder clearCmdhist() { bitField0_ = (bitField0_ & ~0x00000200); cmdhist_ = false; onChanged(); return this; } private boolean persistent_ ; /** * optional bool persistent = 11; */ public boolean hasPersistent() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional bool persistent = 11; */ public boolean getPersistent() { return persistent_; } /** * optional bool persistent = 11; */ public Builder setPersistent(boolean value) { bitField0_ |= 0x00000400; persistent_ = value; onChanged(); return this; } /** * optional bool persistent = 11; */ public Builder clearPersistent() { bitField0_ = (bitField0_ & ~0x00000400); persistent_ = false; onChanged(); return this; } private java.lang.Object type_ = ""; /** * optional string type = 12; */ public boolean hasType() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional string type = 12; */ 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 = 12; */ 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 = 12; */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; type_ = value; onChanged(); return this; } /** * optional string type = 12; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000800); type_ = getDefaultInstance().getType(); onChanged(); return this; } /** * optional string type = 12; */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; type_ = value; onChanged(); return this; } private java.lang.Object config_ = ""; /** * optional string config = 13; */ public boolean hasConfig() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * optional string config = 13; */ public java.lang.String getConfig() { java.lang.Object ref = config_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { config_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string config = 13; */ public com.google.protobuf.ByteString getConfigBytes() { java.lang.Object ref = config_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); config_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string config = 13; */ public Builder setConfig( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; config_ = value; onChanged(); return this; } /** * optional string config = 13; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00001000); config_ = getDefaultInstance().getConfig(); onChanged(); return this; } /** * optional string config = 13; */ public Builder setConfigBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; config_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.CreateProcessorRequest) } static { defaultInstance = new CreateProcessorRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.CreateProcessorRequest) } public interface EditProcessorRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.EditProcessorRequest) com.google.protobuf.MessageOrBuilder { /** * optional string state = 1; */ boolean hasState(); /** * optional string state = 1; */ java.lang.String getState(); /** * optional string state = 1; */ com.google.protobuf.ByteString getStateBytes(); /** * optional string seek = 2; */ boolean hasSeek(); /** * optional string seek = 2; */ java.lang.String getSeek(); /** * optional string seek = 2; */ com.google.protobuf.ByteString getSeekBytes(); /** * optional string speed = 3; */ boolean hasSpeed(); /** * optional string speed = 3; */ java.lang.String getSpeed(); /** * optional string speed = 3; */ com.google.protobuf.ByteString getSpeedBytes(); } /** * Protobuf type {@code parameters.EditProcessorRequest} */ public static final class EditProcessorRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.EditProcessorRequest) EditProcessorRequestOrBuilder { // Use EditProcessorRequest.newBuilder() to construct. private EditProcessorRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EditProcessorRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final EditProcessorRequest defaultInstance; public static EditProcessorRequest getDefaultInstance() { return defaultInstance; } public EditProcessorRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EditProcessorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; state_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; seek_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; speed_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditProcessorRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditProcessorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditProcessorRequest.class, org.yamcs.protobuf.Rest.EditProcessorRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public EditProcessorRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EditProcessorRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int STATE_FIELD_NUMBER = 1; private java.lang.Object state_; /** * optional string state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string state = 1; */ public java.lang.String getState() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { state_ = s; } return s; } } /** * optional string state = 1; */ public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEEK_FIELD_NUMBER = 2; private java.lang.Object seek_; /** * optional string seek = 2; */ public boolean hasSeek() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string seek = 2; */ public java.lang.String getSeek() { java.lang.Object ref = seek_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { seek_ = s; } return s; } } /** * optional string seek = 2; */ public com.google.protobuf.ByteString getSeekBytes() { java.lang.Object ref = seek_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); seek_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SPEED_FIELD_NUMBER = 3; private java.lang.Object speed_; /** * optional string speed = 3; */ public boolean hasSpeed() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string speed = 3; */ public java.lang.String getSpeed() { java.lang.Object ref = speed_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { speed_ = s; } return s; } } /** * optional string speed = 3; */ public com.google.protobuf.ByteString getSpeedBytes() { java.lang.Object ref = speed_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); speed_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { state_ = ""; seek_ = ""; speed_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getStateBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getSeekBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getSpeedBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getStateBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getSeekBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getSpeedBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.EditProcessorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditProcessorRequest 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.Rest.EditProcessorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditProcessorRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditProcessorRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditProcessorRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditProcessorRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.EditProcessorRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditProcessorRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditProcessorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.EditProcessorRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.EditProcessorRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.EditProcessorRequest) org.yamcs.protobuf.Rest.EditProcessorRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditProcessorRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditProcessorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditProcessorRequest.class, org.yamcs.protobuf.Rest.EditProcessorRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.EditProcessorRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); state_ = ""; bitField0_ = (bitField0_ & ~0x00000001); seek_ = ""; bitField0_ = (bitField0_ & ~0x00000002); speed_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditProcessorRequest_descriptor; } public org.yamcs.protobuf.Rest.EditProcessorRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.EditProcessorRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.EditProcessorRequest build() { org.yamcs.protobuf.Rest.EditProcessorRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.EditProcessorRequest buildPartial() { org.yamcs.protobuf.Rest.EditProcessorRequest result = new org.yamcs.protobuf.Rest.EditProcessorRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.state_ = state_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.seek_ = seek_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.speed_ = speed_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.EditProcessorRequest) { return mergeFrom((org.yamcs.protobuf.Rest.EditProcessorRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.EditProcessorRequest other) { if (other == org.yamcs.protobuf.Rest.EditProcessorRequest.getDefaultInstance()) return this; if (other.hasState()) { bitField0_ |= 0x00000001; state_ = other.state_; onChanged(); } if (other.hasSeek()) { bitField0_ |= 0x00000002; seek_ = other.seek_; onChanged(); } if (other.hasSpeed()) { bitField0_ |= 0x00000004; speed_ = other.speed_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.EditProcessorRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.EditProcessorRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object state_ = ""; /** * optional string state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string state = 1; */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { state_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string state = 1; */ public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string state = 1; */ public Builder setState( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value; onChanged(); return this; } /** * optional string state = 1; */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000001); state_ = getDefaultInstance().getState(); onChanged(); return this; } /** * optional string state = 1; */ public Builder setStateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value; onChanged(); return this; } private java.lang.Object seek_ = ""; /** * optional string seek = 2; */ public boolean hasSeek() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string seek = 2; */ public java.lang.String getSeek() { java.lang.Object ref = seek_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { seek_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string seek = 2; */ public com.google.protobuf.ByteString getSeekBytes() { java.lang.Object ref = seek_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); seek_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string seek = 2; */ public Builder setSeek( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; seek_ = value; onChanged(); return this; } /** * optional string seek = 2; */ public Builder clearSeek() { bitField0_ = (bitField0_ & ~0x00000002); seek_ = getDefaultInstance().getSeek(); onChanged(); return this; } /** * optional string seek = 2; */ public Builder setSeekBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; seek_ = value; onChanged(); return this; } private java.lang.Object speed_ = ""; /** * optional string speed = 3; */ public boolean hasSpeed() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string speed = 3; */ public java.lang.String getSpeed() { java.lang.Object ref = speed_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { speed_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string speed = 3; */ public com.google.protobuf.ByteString getSpeedBytes() { java.lang.Object ref = speed_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); speed_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string speed = 3; */ public Builder setSpeed( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; speed_ = value; onChanged(); return this; } /** * optional string speed = 3; */ public Builder clearSpeed() { bitField0_ = (bitField0_ & ~0x00000004); speed_ = getDefaultInstance().getSpeed(); onChanged(); return this; } /** * optional string speed = 3; */ public Builder setSpeedBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; speed_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.EditProcessorRequest) } static { defaultInstance = new EditProcessorRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.EditProcessorRequest) } public interface StreamSubscribeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.StreamSubscribeRequest) com.google.protobuf.MessageOrBuilder { /** * optional string stream = 1; * *
     *repeated ColumnValue limit = 2; // Multiple limits are AND-ed together
     * 
*/ boolean hasStream(); /** * optional string stream = 1; * *
     *repeated ColumnValue limit = 2; // Multiple limits are AND-ed together
     * 
*/ java.lang.String getStream(); /** * optional string stream = 1; * *
     *repeated ColumnValue limit = 2; // Multiple limits are AND-ed together
     * 
*/ com.google.protobuf.ByteString getStreamBytes(); } /** * Protobuf type {@code parameters.StreamSubscribeRequest} */ public static final class StreamSubscribeRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.StreamSubscribeRequest) StreamSubscribeRequestOrBuilder { // Use StreamSubscribeRequest.newBuilder() to construct. private StreamSubscribeRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private StreamSubscribeRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final StreamSubscribeRequest defaultInstance; public static StreamSubscribeRequest getDefaultInstance() { return defaultInstance; } public StreamSubscribeRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StreamSubscribeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; stream_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_StreamSubscribeRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_StreamSubscribeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.StreamSubscribeRequest.class, org.yamcs.protobuf.Rest.StreamSubscribeRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public StreamSubscribeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StreamSubscribeRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int STREAM_FIELD_NUMBER = 1; private java.lang.Object stream_; /** * optional string stream = 1; * *
     *repeated ColumnValue limit = 2; // Multiple limits are AND-ed together
     * 
*/ public boolean hasStream() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string stream = 1; * *
     *repeated ColumnValue limit = 2; // Multiple limits are AND-ed together
     * 
*/ public java.lang.String getStream() { java.lang.Object ref = stream_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stream_ = s; } return s; } } /** * optional string stream = 1; * *
     *repeated ColumnValue limit = 2; // Multiple limits are AND-ed together
     * 
*/ public com.google.protobuf.ByteString getStreamBytes() { java.lang.Object ref = stream_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stream_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { stream_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getStreamBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getStreamBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.StreamSubscribeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.StreamSubscribeRequest 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.Rest.StreamSubscribeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.StreamSubscribeRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.StreamSubscribeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.StreamSubscribeRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.StreamSubscribeRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.StreamSubscribeRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.StreamSubscribeRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.StreamSubscribeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.StreamSubscribeRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.StreamSubscribeRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.StreamSubscribeRequest) org.yamcs.protobuf.Rest.StreamSubscribeRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_StreamSubscribeRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_StreamSubscribeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.StreamSubscribeRequest.class, org.yamcs.protobuf.Rest.StreamSubscribeRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.StreamSubscribeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); stream_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_StreamSubscribeRequest_descriptor; } public org.yamcs.protobuf.Rest.StreamSubscribeRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.StreamSubscribeRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.StreamSubscribeRequest build() { org.yamcs.protobuf.Rest.StreamSubscribeRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.StreamSubscribeRequest buildPartial() { org.yamcs.protobuf.Rest.StreamSubscribeRequest result = new org.yamcs.protobuf.Rest.StreamSubscribeRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.stream_ = stream_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.StreamSubscribeRequest) { return mergeFrom((org.yamcs.protobuf.Rest.StreamSubscribeRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.StreamSubscribeRequest other) { if (other == org.yamcs.protobuf.Rest.StreamSubscribeRequest.getDefaultInstance()) return this; if (other.hasStream()) { bitField0_ |= 0x00000001; stream_ = other.stream_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.StreamSubscribeRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.StreamSubscribeRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object stream_ = ""; /** * optional string stream = 1; * *
       *repeated ColumnValue limit = 2; // Multiple limits are AND-ed together
       * 
*/ public boolean hasStream() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string stream = 1; * *
       *repeated ColumnValue limit = 2; // Multiple limits are AND-ed together
       * 
*/ public java.lang.String getStream() { java.lang.Object ref = stream_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stream_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string stream = 1; * *
       *repeated ColumnValue limit = 2; // Multiple limits are AND-ed together
       * 
*/ public com.google.protobuf.ByteString getStreamBytes() { java.lang.Object ref = stream_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stream_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string stream = 1; * *
       *repeated ColumnValue limit = 2; // Multiple limits are AND-ed together
       * 
*/ public Builder setStream( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; stream_ = value; onChanged(); return this; } /** * optional string stream = 1; * *
       *repeated ColumnValue limit = 2; // Multiple limits are AND-ed together
       * 
*/ public Builder clearStream() { bitField0_ = (bitField0_ & ~0x00000001); stream_ = getDefaultInstance().getStream(); onChanged(); return this; } /** * optional string stream = 1; * *
       *repeated ColumnValue limit = 2; // Multiple limits are AND-ed together
       * 
*/ public Builder setStreamBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; stream_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.StreamSubscribeRequest) } static { defaultInstance = new StreamSubscribeRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.StreamSubscribeRequest) } public interface SetSimulationTimeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.SetSimulationTimeRequest) com.google.protobuf.MessageOrBuilder { /** * optional int64 time0 = 1; * *
     *one of the two have to be specified
     * 
*/ boolean hasTime0(); /** * optional int64 time0 = 1; * *
     *one of the two have to be specified
     * 
*/ long getTime0(); /** * optional string time0UTC = 2; */ boolean hasTime0UTC(); /** * optional string time0UTC = 2; */ java.lang.String getTime0UTC(); /** * optional string time0UTC = 2; */ com.google.protobuf.ByteString getTime0UTCBytes(); /** * optional int64 simElapsedTime = 3; */ boolean hasSimElapsedTime(); /** * optional int64 simElapsedTime = 3; */ long getSimElapsedTime(); /** * optional double simSpeed = 4; */ boolean hasSimSpeed(); /** * optional double simSpeed = 4; */ double getSimSpeed(); } /** * Protobuf type {@code parameters.SetSimulationTimeRequest} */ public static final class SetSimulationTimeRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.SetSimulationTimeRequest) SetSimulationTimeRequestOrBuilder { // Use SetSimulationTimeRequest.newBuilder() to construct. private SetSimulationTimeRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private SetSimulationTimeRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final SetSimulationTimeRequest defaultInstance; public static SetSimulationTimeRequest getDefaultInstance() { return defaultInstance; } public SetSimulationTimeRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SetSimulationTimeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; time0_ = input.readInt64(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; time0UTC_ = bs; break; } case 24: { bitField0_ |= 0x00000004; simElapsedTime_ = input.readInt64(); break; } case 33: { bitField0_ |= 0x00000008; simSpeed_ = input.readDouble(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_SetSimulationTimeRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_SetSimulationTimeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.SetSimulationTimeRequest.class, org.yamcs.protobuf.Rest.SetSimulationTimeRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public SetSimulationTimeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SetSimulationTimeRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int TIME0_FIELD_NUMBER = 1; private long time0_; /** * optional int64 time0 = 1; * *
     *one of the two have to be specified
     * 
*/ public boolean hasTime0() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 time0 = 1; * *
     *one of the two have to be specified
     * 
*/ public long getTime0() { return time0_; } public static final int TIME0UTC_FIELD_NUMBER = 2; private java.lang.Object time0UTC_; /** * optional string time0UTC = 2; */ public boolean hasTime0UTC() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string time0UTC = 2; */ public java.lang.String getTime0UTC() { java.lang.Object ref = time0UTC_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { time0UTC_ = s; } return s; } } /** * optional string time0UTC = 2; */ public com.google.protobuf.ByteString getTime0UTCBytes() { java.lang.Object ref = time0UTC_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time0UTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SIMELAPSEDTIME_FIELD_NUMBER = 3; private long simElapsedTime_; /** * optional int64 simElapsedTime = 3; */ public boolean hasSimElapsedTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 simElapsedTime = 3; */ public long getSimElapsedTime() { return simElapsedTime_; } public static final int SIMSPEED_FIELD_NUMBER = 4; private double simSpeed_; /** * optional double simSpeed = 4; */ public boolean hasSimSpeed() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional double simSpeed = 4; */ public double getSimSpeed() { return simSpeed_; } private void initFields() { time0_ = 0L; time0UTC_ = ""; simElapsedTime_ = 0L; simSpeed_ = 0D; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, time0_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getTime0UTCBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, simElapsedTime_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeDouble(4, simSpeed_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, time0_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getTime0UTCBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, simElapsedTime_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, simSpeed_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.SetSimulationTimeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.SetSimulationTimeRequest 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.Rest.SetSimulationTimeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.SetSimulationTimeRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.SetSimulationTimeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.SetSimulationTimeRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.SetSimulationTimeRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.SetSimulationTimeRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.SetSimulationTimeRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.SetSimulationTimeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.SetSimulationTimeRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.SetSimulationTimeRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.SetSimulationTimeRequest) org.yamcs.protobuf.Rest.SetSimulationTimeRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_SetSimulationTimeRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_SetSimulationTimeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.SetSimulationTimeRequest.class, org.yamcs.protobuf.Rest.SetSimulationTimeRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.SetSimulationTimeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); time0_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); time0UTC_ = ""; bitField0_ = (bitField0_ & ~0x00000002); simElapsedTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); simSpeed_ = 0D; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_SetSimulationTimeRequest_descriptor; } public org.yamcs.protobuf.Rest.SetSimulationTimeRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.SetSimulationTimeRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.SetSimulationTimeRequest build() { org.yamcs.protobuf.Rest.SetSimulationTimeRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.SetSimulationTimeRequest buildPartial() { org.yamcs.protobuf.Rest.SetSimulationTimeRequest result = new org.yamcs.protobuf.Rest.SetSimulationTimeRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.time0_ = time0_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.time0UTC_ = time0UTC_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.simElapsedTime_ = simElapsedTime_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.simSpeed_ = simSpeed_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.SetSimulationTimeRequest) { return mergeFrom((org.yamcs.protobuf.Rest.SetSimulationTimeRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.SetSimulationTimeRequest other) { if (other == org.yamcs.protobuf.Rest.SetSimulationTimeRequest.getDefaultInstance()) return this; if (other.hasTime0()) { setTime0(other.getTime0()); } if (other.hasTime0UTC()) { bitField0_ |= 0x00000002; time0UTC_ = other.time0UTC_; onChanged(); } if (other.hasSimElapsedTime()) { setSimElapsedTime(other.getSimElapsedTime()); } if (other.hasSimSpeed()) { setSimSpeed(other.getSimSpeed()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.SetSimulationTimeRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.SetSimulationTimeRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long time0_ ; /** * optional int64 time0 = 1; * *
       *one of the two have to be specified
       * 
*/ public boolean hasTime0() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int64 time0 = 1; * *
       *one of the two have to be specified
       * 
*/ public long getTime0() { return time0_; } /** * optional int64 time0 = 1; * *
       *one of the two have to be specified
       * 
*/ public Builder setTime0(long value) { bitField0_ |= 0x00000001; time0_ = value; onChanged(); return this; } /** * optional int64 time0 = 1; * *
       *one of the two have to be specified
       * 
*/ public Builder clearTime0() { bitField0_ = (bitField0_ & ~0x00000001); time0_ = 0L; onChanged(); return this; } private java.lang.Object time0UTC_ = ""; /** * optional string time0UTC = 2; */ public boolean hasTime0UTC() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string time0UTC = 2; */ public java.lang.String getTime0UTC() { java.lang.Object ref = time0UTC_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { time0UTC_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string time0UTC = 2; */ public com.google.protobuf.ByteString getTime0UTCBytes() { java.lang.Object ref = time0UTC_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); time0UTC_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string time0UTC = 2; */ public Builder setTime0UTC( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; time0UTC_ = value; onChanged(); return this; } /** * optional string time0UTC = 2; */ public Builder clearTime0UTC() { bitField0_ = (bitField0_ & ~0x00000002); time0UTC_ = getDefaultInstance().getTime0UTC(); onChanged(); return this; } /** * optional string time0UTC = 2; */ public Builder setTime0UTCBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; time0UTC_ = value; onChanged(); return this; } private long simElapsedTime_ ; /** * optional int64 simElapsedTime = 3; */ public boolean hasSimElapsedTime() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional int64 simElapsedTime = 3; */ public long getSimElapsedTime() { return simElapsedTime_; } /** * optional int64 simElapsedTime = 3; */ public Builder setSimElapsedTime(long value) { bitField0_ |= 0x00000004; simElapsedTime_ = value; onChanged(); return this; } /** * optional int64 simElapsedTime = 3; */ public Builder clearSimElapsedTime() { bitField0_ = (bitField0_ & ~0x00000004); simElapsedTime_ = 0L; onChanged(); return this; } private double simSpeed_ ; /** * optional double simSpeed = 4; */ public boolean hasSimSpeed() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional double simSpeed = 4; */ public double getSimSpeed() { return simSpeed_; } /** * optional double simSpeed = 4; */ public Builder setSimSpeed(double value) { bitField0_ |= 0x00000008; simSpeed_ = value; onChanged(); return this; } /** * optional double simSpeed = 4; */ public Builder clearSimSpeed() { bitField0_ = (bitField0_ & ~0x00000008); simSpeed_ = 0D; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.SetSimulationTimeRequest) } static { defaultInstance = new SetSimulationTimeRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.SetSimulationTimeRequest) } public interface ListInstancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ java.util.List getInstanceList(); /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ org.yamcs.protobuf.YamcsManagement.YamcsInstance getInstance(int index); /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ int getInstanceCount(); /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ java.util.List getInstanceOrBuilderList(); /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ org.yamcs.protobuf.YamcsManagement.YamcsInstanceOrBuilder getInstanceOrBuilder( int index); } /** * Protobuf type {@code parameters.ListInstancesResponse} */ public static final class ListInstancesResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListInstancesResponse) ListInstancesResponseOrBuilder { // Use ListInstancesResponse.newBuilder() to construct. private ListInstancesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListInstancesResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListInstancesResponse defaultInstance; public static ListInstancesResponse getDefaultInstance() { return defaultInstance; } public ListInstancesResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListInstancesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { instance_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } instance_.add(input.readMessage(org.yamcs.protobuf.YamcsManagement.YamcsInstance.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { instance_ = java.util.Collections.unmodifiableList(instance_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListInstancesResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListInstancesResponse.class, org.yamcs.protobuf.Rest.ListInstancesResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListInstancesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListInstancesResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int INSTANCE_FIELD_NUMBER = 1; private java.util.List instance_; /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public java.util.List getInstanceList() { return instance_; } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public java.util.List getInstanceOrBuilderList() { return instance_; } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public int getInstanceCount() { return instance_.size(); } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public org.yamcs.protobuf.YamcsManagement.YamcsInstance getInstance(int index) { return instance_.get(index); } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public org.yamcs.protobuf.YamcsManagement.YamcsInstanceOrBuilder getInstanceOrBuilder( int index) { return instance_.get(index); } private void initFields() { instance_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getInstanceCount(); i++) { if (!getInstance(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < instance_.size(); i++) { output.writeMessage(1, instance_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < instance_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, instance_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListInstancesResponse 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.Rest.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListInstancesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListInstancesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListInstancesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListInstancesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListInstancesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListInstancesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListInstancesResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListInstancesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListInstancesResponse) org.yamcs.protobuf.Rest.ListInstancesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListInstancesResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListInstancesResponse.class, org.yamcs.protobuf.Rest.ListInstancesResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListInstancesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getInstanceFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (instanceBuilder_ == null) { instance_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { instanceBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListInstancesResponse_descriptor; } public org.yamcs.protobuf.Rest.ListInstancesResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListInstancesResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListInstancesResponse build() { org.yamcs.protobuf.Rest.ListInstancesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListInstancesResponse buildPartial() { org.yamcs.protobuf.Rest.ListInstancesResponse result = new org.yamcs.protobuf.Rest.ListInstancesResponse(this); int from_bitField0_ = bitField0_; if (instanceBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { instance_ = java.util.Collections.unmodifiableList(instance_); bitField0_ = (bitField0_ & ~0x00000001); } result.instance_ = instance_; } else { result.instance_ = instanceBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListInstancesResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListInstancesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListInstancesResponse other) { if (other == org.yamcs.protobuf.Rest.ListInstancesResponse.getDefaultInstance()) return this; if (instanceBuilder_ == null) { if (!other.instance_.isEmpty()) { if (instance_.isEmpty()) { instance_ = other.instance_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureInstanceIsMutable(); instance_.addAll(other.instance_); } onChanged(); } } else { if (!other.instance_.isEmpty()) { if (instanceBuilder_.isEmpty()) { instanceBuilder_.dispose(); instanceBuilder_ = null; instance_ = other.instance_; bitField0_ = (bitField0_ & ~0x00000001); instanceBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getInstanceFieldBuilder() : null; } else { instanceBuilder_.addAllMessages(other.instance_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getInstanceCount(); i++) { if (!getInstance(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListInstancesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListInstancesResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List instance_ = java.util.Collections.emptyList(); private void ensureInstanceIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { instance_ = new java.util.ArrayList(instance_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.YamcsInstance, org.yamcs.protobuf.YamcsManagement.YamcsInstance.Builder, org.yamcs.protobuf.YamcsManagement.YamcsInstanceOrBuilder> instanceBuilder_; /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public java.util.List getInstanceList() { if (instanceBuilder_ == null) { return java.util.Collections.unmodifiableList(instance_); } else { return instanceBuilder_.getMessageList(); } } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public int getInstanceCount() { if (instanceBuilder_ == null) { return instance_.size(); } else { return instanceBuilder_.getCount(); } } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public org.yamcs.protobuf.YamcsManagement.YamcsInstance getInstance(int index) { if (instanceBuilder_ == null) { return instance_.get(index); } else { return instanceBuilder_.getMessage(index); } } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public Builder setInstance( int index, org.yamcs.protobuf.YamcsManagement.YamcsInstance value) { if (instanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInstanceIsMutable(); instance_.set(index, value); onChanged(); } else { instanceBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public Builder setInstance( int index, org.yamcs.protobuf.YamcsManagement.YamcsInstance.Builder builderForValue) { if (instanceBuilder_ == null) { ensureInstanceIsMutable(); instance_.set(index, builderForValue.build()); onChanged(); } else { instanceBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public Builder addInstance(org.yamcs.protobuf.YamcsManagement.YamcsInstance value) { if (instanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInstanceIsMutable(); instance_.add(value); onChanged(); } else { instanceBuilder_.addMessage(value); } return this; } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public Builder addInstance( int index, org.yamcs.protobuf.YamcsManagement.YamcsInstance value) { if (instanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInstanceIsMutable(); instance_.add(index, value); onChanged(); } else { instanceBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public Builder addInstance( org.yamcs.protobuf.YamcsManagement.YamcsInstance.Builder builderForValue) { if (instanceBuilder_ == null) { ensureInstanceIsMutable(); instance_.add(builderForValue.build()); onChanged(); } else { instanceBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public Builder addInstance( int index, org.yamcs.protobuf.YamcsManagement.YamcsInstance.Builder builderForValue) { if (instanceBuilder_ == null) { ensureInstanceIsMutable(); instance_.add(index, builderForValue.build()); onChanged(); } else { instanceBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public Builder addAllInstance( java.lang.Iterable values) { if (instanceBuilder_ == null) { ensureInstanceIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, instance_); onChanged(); } else { instanceBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public Builder clearInstance() { if (instanceBuilder_ == null) { instance_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { instanceBuilder_.clear(); } return this; } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public Builder removeInstance(int index) { if (instanceBuilder_ == null) { ensureInstanceIsMutable(); instance_.remove(index); onChanged(); } else { instanceBuilder_.remove(index); } return this; } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public org.yamcs.protobuf.YamcsManagement.YamcsInstance.Builder getInstanceBuilder( int index) { return getInstanceFieldBuilder().getBuilder(index); } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public org.yamcs.protobuf.YamcsManagement.YamcsInstanceOrBuilder getInstanceOrBuilder( int index) { if (instanceBuilder_ == null) { return instance_.get(index); } else { return instanceBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public java.util.List getInstanceOrBuilderList() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(instance_); } } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public org.yamcs.protobuf.YamcsManagement.YamcsInstance.Builder addInstanceBuilder() { return getInstanceFieldBuilder().addBuilder( org.yamcs.protobuf.YamcsManagement.YamcsInstance.getDefaultInstance()); } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public org.yamcs.protobuf.YamcsManagement.YamcsInstance.Builder addInstanceBuilder( int index) { return getInstanceFieldBuilder().addBuilder( index, org.yamcs.protobuf.YamcsManagement.YamcsInstance.getDefaultInstance()); } /** * repeated .yamcsManagement.YamcsInstance instance = 1; */ public java.util.List getInstanceBuilderList() { return getInstanceFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.YamcsInstance, org.yamcs.protobuf.YamcsManagement.YamcsInstance.Builder, org.yamcs.protobuf.YamcsManagement.YamcsInstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { instanceBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.YamcsInstance, org.yamcs.protobuf.YamcsManagement.YamcsInstance.Builder, org.yamcs.protobuf.YamcsManagement.YamcsInstanceOrBuilder>( instance_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListInstancesResponse) } static { defaultInstance = new ListInstancesResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListInstancesResponse) } public interface ListTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.ArchiveTag tag = 1; */ java.util.List getTagList(); /** * repeated .yamcs.ArchiveTag tag = 1; */ org.yamcs.protobuf.Yamcs.ArchiveTag getTag(int index); /** * repeated .yamcs.ArchiveTag tag = 1; */ int getTagCount(); /** * repeated .yamcs.ArchiveTag tag = 1; */ java.util.List getTagOrBuilderList(); /** * repeated .yamcs.ArchiveTag tag = 1; */ org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getTagOrBuilder( int index); } /** * Protobuf type {@code parameters.ListTagsResponse} */ public static final class ListTagsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListTagsResponse) ListTagsResponseOrBuilder { // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListTagsResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListTagsResponse defaultInstance; public static ListTagsResponse getDefaultInstance() { return defaultInstance; } public ListTagsResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { tag_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } tag_.add(input.readMessage(org.yamcs.protobuf.Yamcs.ArchiveTag.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { tag_ = java.util.Collections.unmodifiableList(tag_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListTagsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListTagsResponse.class, org.yamcs.protobuf.Rest.ListTagsResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListTagsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListTagsResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int TAG_FIELD_NUMBER = 1; private java.util.List tag_; /** * repeated .yamcs.ArchiveTag tag = 1; */ public java.util.List getTagList() { return tag_; } /** * repeated .yamcs.ArchiveTag tag = 1; */ public java.util.List getTagOrBuilderList() { return tag_; } /** * repeated .yamcs.ArchiveTag tag = 1; */ public int getTagCount() { return tag_.size(); } /** * repeated .yamcs.ArchiveTag tag = 1; */ public org.yamcs.protobuf.Yamcs.ArchiveTag getTag(int index) { return tag_.get(index); } /** * repeated .yamcs.ArchiveTag tag = 1; */ public org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getTagOrBuilder( int index) { return tag_.get(index); } private void initFields() { tag_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getTagCount(); i++) { if (!getTag(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < tag_.size(); i++) { output.writeMessage(1, tag_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < tag_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, tag_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListTagsResponse 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.Rest.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListTagsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListTagsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListTagsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListTagsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListTagsResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListTagsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListTagsResponse) org.yamcs.protobuf.Rest.ListTagsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListTagsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListTagsResponse.class, org.yamcs.protobuf.Rest.ListTagsResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListTagsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getTagFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (tagBuilder_ == null) { tag_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { tagBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListTagsResponse_descriptor; } public org.yamcs.protobuf.Rest.ListTagsResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListTagsResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListTagsResponse build() { org.yamcs.protobuf.Rest.ListTagsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListTagsResponse buildPartial() { org.yamcs.protobuf.Rest.ListTagsResponse result = new org.yamcs.protobuf.Rest.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { tag_ = java.util.Collections.unmodifiableList(tag_); bitField0_ = (bitField0_ & ~0x00000001); } result.tag_ = tag_; } else { result.tag_ = tagBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListTagsResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListTagsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListTagsResponse other) { if (other == org.yamcs.protobuf.Rest.ListTagsResponse.getDefaultInstance()) return this; if (tagBuilder_ == null) { if (!other.tag_.isEmpty()) { if (tag_.isEmpty()) { tag_ = other.tag_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTagIsMutable(); tag_.addAll(other.tag_); } onChanged(); } } else { if (!other.tag_.isEmpty()) { if (tagBuilder_.isEmpty()) { tagBuilder_.dispose(); tagBuilder_ = null; tag_ = other.tag_; bitField0_ = (bitField0_ & ~0x00000001); tagBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getTagFieldBuilder() : null; } else { tagBuilder_.addAllMessages(other.tag_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getTagCount(); i++) { if (!getTag(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListTagsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListTagsResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List tag_ = java.util.Collections.emptyList(); private void ensureTagIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { tag_ = new java.util.ArrayList(tag_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder> tagBuilder_; /** * repeated .yamcs.ArchiveTag tag = 1; */ public java.util.List getTagList() { if (tagBuilder_ == null) { return java.util.Collections.unmodifiableList(tag_); } else { return tagBuilder_.getMessageList(); } } /** * repeated .yamcs.ArchiveTag tag = 1; */ public int getTagCount() { if (tagBuilder_ == null) { return tag_.size(); } else { return tagBuilder_.getCount(); } } /** * repeated .yamcs.ArchiveTag tag = 1; */ public org.yamcs.protobuf.Yamcs.ArchiveTag getTag(int index) { if (tagBuilder_ == null) { return tag_.get(index); } else { return tagBuilder_.getMessage(index); } } /** * repeated .yamcs.ArchiveTag tag = 1; */ public Builder setTag( int index, org.yamcs.protobuf.Yamcs.ArchiveTag value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTagIsMutable(); tag_.set(index, value); onChanged(); } else { tagBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.ArchiveTag tag = 1; */ public Builder setTag( int index, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder builderForValue) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.set(index, builderForValue.build()); onChanged(); } else { tagBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.ArchiveTag tag = 1; */ public Builder addTag(org.yamcs.protobuf.Yamcs.ArchiveTag value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTagIsMutable(); tag_.add(value); onChanged(); } else { tagBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.ArchiveTag tag = 1; */ public Builder addTag( int index, org.yamcs.protobuf.Yamcs.ArchiveTag value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTagIsMutable(); tag_.add(index, value); onChanged(); } else { tagBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.ArchiveTag tag = 1; */ public Builder addTag( org.yamcs.protobuf.Yamcs.ArchiveTag.Builder builderForValue) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.add(builderForValue.build()); onChanged(); } else { tagBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.ArchiveTag tag = 1; */ public Builder addTag( int index, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder builderForValue) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.add(index, builderForValue.build()); onChanged(); } else { tagBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.ArchiveTag tag = 1; */ public Builder addAllTag( java.lang.Iterable values) { if (tagBuilder_ == null) { ensureTagIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tag_); onChanged(); } else { tagBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.ArchiveTag tag = 1; */ public Builder clearTag() { if (tagBuilder_ == null) { tag_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { tagBuilder_.clear(); } return this; } /** * repeated .yamcs.ArchiveTag tag = 1; */ public Builder removeTag(int index) { if (tagBuilder_ == null) { ensureTagIsMutable(); tag_.remove(index); onChanged(); } else { tagBuilder_.remove(index); } return this; } /** * repeated .yamcs.ArchiveTag tag = 1; */ public org.yamcs.protobuf.Yamcs.ArchiveTag.Builder getTagBuilder( int index) { return getTagFieldBuilder().getBuilder(index); } /** * repeated .yamcs.ArchiveTag tag = 1; */ public org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder getTagOrBuilder( int index) { if (tagBuilder_ == null) { return tag_.get(index); } else { return tagBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.ArchiveTag tag = 1; */ public java.util.List getTagOrBuilderList() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tag_); } } /** * repeated .yamcs.ArchiveTag tag = 1; */ public org.yamcs.protobuf.Yamcs.ArchiveTag.Builder addTagBuilder() { return getTagFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance()); } /** * repeated .yamcs.ArchiveTag tag = 1; */ public org.yamcs.protobuf.Yamcs.ArchiveTag.Builder addTagBuilder( int index) { return getTagFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.ArchiveTag.getDefaultInstance()); } /** * repeated .yamcs.ArchiveTag tag = 1; */ public java.util.List getTagBuilderList() { return getTagFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { tagBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.ArchiveTag, org.yamcs.protobuf.Yamcs.ArchiveTag.Builder, org.yamcs.protobuf.Yamcs.ArchiveTagOrBuilder>( tag_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListTagsResponse) } static { defaultInstance = new ListTagsResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListTagsResponse) } public interface CreateTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string start = 2; */ boolean hasStart(); /** * optional string start = 2; */ java.lang.String getStart(); /** * optional string start = 2; */ com.google.protobuf.ByteString getStartBytes(); /** * optional string stop = 3; */ boolean hasStop(); /** * optional string stop = 3; */ java.lang.String getStop(); /** * optional string stop = 3; */ com.google.protobuf.ByteString getStopBytes(); /** * optional string description = 4; */ boolean hasDescription(); /** * optional string description = 4; */ java.lang.String getDescription(); /** * optional string description = 4; */ com.google.protobuf.ByteString getDescriptionBytes(); /** * optional string color = 5; */ boolean hasColor(); /** * optional string color = 5; */ java.lang.String getColor(); /** * optional string color = 5; */ com.google.protobuf.ByteString getColorBytes(); } /** * Protobuf type {@code parameters.CreateTagRequest} */ public static final class CreateTagRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.CreateTagRequest) CreateTagRequestOrBuilder { // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CreateTagRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CreateTagRequest defaultInstance; public static CreateTagRequest getDefaultInstance() { return defaultInstance; } public CreateTagRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { 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; start_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; stop_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; description_ = bs; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; color_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateTagRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.CreateTagRequest.class, org.yamcs.protobuf.Rest.CreateTagRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CreateTagRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateTagRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int START_FIELD_NUMBER = 2; private java.lang.Object start_; /** * optional string start = 2; */ public boolean hasStart() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string start = 2; */ public java.lang.String getStart() { java.lang.Object ref = start_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { start_ = s; } return s; } } /** * optional string start = 2; */ public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); start_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STOP_FIELD_NUMBER = 3; private java.lang.Object stop_; /** * optional string stop = 3; */ public boolean hasStop() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string stop = 3; */ public java.lang.String getStop() { java.lang.Object ref = stop_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stop_ = s; } return s; } } /** * optional string stop = 3; */ public com.google.protobuf.ByteString getStopBytes() { java.lang.Object ref = stop_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 4; private java.lang.Object description_; /** * optional string description = 4; */ public boolean hasDescription() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string description = 4; */ 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 = 4; */ 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 COLOR_FIELD_NUMBER = 5; private java.lang.Object color_; /** * optional string color = 5; */ public boolean hasColor() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string color = 5; */ public java.lang.String getColor() { java.lang.Object ref = color_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { color_ = s; } return s; } } /** * optional string color = 5; */ public com.google.protobuf.ByteString getColorBytes() { java.lang.Object ref = color_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); color_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { name_ = ""; start_ = ""; stop_ = ""; description_ = ""; color_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getStartBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getStopBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getDescriptionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getColorBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getStartBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getStopBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getDescriptionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getColorBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.CreateTagRequest 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.Rest.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.CreateTagRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.CreateTagRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.CreateTagRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.CreateTagRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.CreateTagRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.CreateTagRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.CreateTagRequest) org.yamcs.protobuf.Rest.CreateTagRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateTagRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.CreateTagRequest.class, org.yamcs.protobuf.Rest.CreateTagRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.CreateTagRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); start_ = ""; bitField0_ = (bitField0_ & ~0x00000002); stop_ = ""; bitField0_ = (bitField0_ & ~0x00000004); description_ = ""; bitField0_ = (bitField0_ & ~0x00000008); color_ = ""; bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_CreateTagRequest_descriptor; } public org.yamcs.protobuf.Rest.CreateTagRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.CreateTagRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.CreateTagRequest build() { org.yamcs.protobuf.Rest.CreateTagRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.CreateTagRequest buildPartial() { org.yamcs.protobuf.Rest.CreateTagRequest result = new org.yamcs.protobuf.Rest.CreateTagRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.start_ = start_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.stop_ = stop_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.description_ = description_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.color_ = color_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.CreateTagRequest) { return mergeFrom((org.yamcs.protobuf.Rest.CreateTagRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.CreateTagRequest other) { if (other == org.yamcs.protobuf.Rest.CreateTagRequest.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasStart()) { bitField0_ |= 0x00000002; start_ = other.start_; onChanged(); } if (other.hasStop()) { bitField0_ |= 0x00000004; stop_ = other.stop_; onChanged(); } if (other.hasDescription()) { bitField0_ |= 0x00000008; description_ = other.description_; onChanged(); } if (other.hasColor()) { bitField0_ |= 0x00000010; color_ = other.color_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.CreateTagRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.CreateTagRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object start_ = ""; /** * optional string start = 2; */ public boolean hasStart() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string start = 2; */ public java.lang.String getStart() { java.lang.Object ref = start_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { start_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string start = 2; */ public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); start_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string start = 2; */ public Builder setStart( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; start_ = value; onChanged(); return this; } /** * optional string start = 2; */ public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000002); start_ = getDefaultInstance().getStart(); onChanged(); return this; } /** * optional string start = 2; */ public Builder setStartBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; start_ = value; onChanged(); return this; } private java.lang.Object stop_ = ""; /** * optional string stop = 3; */ public boolean hasStop() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string stop = 3; */ public java.lang.String getStop() { java.lang.Object ref = stop_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stop_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string stop = 3; */ public com.google.protobuf.ByteString getStopBytes() { java.lang.Object ref = stop_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string stop = 3; */ public Builder setStop( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; stop_ = value; onChanged(); return this; } /** * optional string stop = 3; */ public Builder clearStop() { bitField0_ = (bitField0_ & ~0x00000004); stop_ = getDefaultInstance().getStop(); onChanged(); return this; } /** * optional string stop = 3; */ public Builder setStopBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; stop_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** * optional string description = 4; */ public boolean hasDescription() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string description = 4; */ 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 = 4; */ 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 = 4; */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; description_ = value; onChanged(); return this; } /** * optional string description = 4; */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000008); description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** * optional string description = 4; */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; description_ = value; onChanged(); return this; } private java.lang.Object color_ = ""; /** * optional string color = 5; */ public boolean hasColor() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string color = 5; */ public java.lang.String getColor() { java.lang.Object ref = color_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { color_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string color = 5; */ public com.google.protobuf.ByteString getColorBytes() { java.lang.Object ref = color_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); color_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string color = 5; */ public Builder setColor( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; color_ = value; onChanged(); return this; } /** * optional string color = 5; */ public Builder clearColor() { bitField0_ = (bitField0_ & ~0x00000010); color_ = getDefaultInstance().getColor(); onChanged(); return this; } /** * optional string color = 5; */ public Builder setColorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; color_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.CreateTagRequest) } static { defaultInstance = new CreateTagRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.CreateTagRequest) } public interface EditTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.EditTagRequest) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string start = 2; */ boolean hasStart(); /** * optional string start = 2; */ java.lang.String getStart(); /** * optional string start = 2; */ com.google.protobuf.ByteString getStartBytes(); /** * optional string stop = 3; */ boolean hasStop(); /** * optional string stop = 3; */ java.lang.String getStop(); /** * optional string stop = 3; */ com.google.protobuf.ByteString getStopBytes(); /** * optional string description = 4; */ boolean hasDescription(); /** * optional string description = 4; */ java.lang.String getDescription(); /** * optional string description = 4; */ com.google.protobuf.ByteString getDescriptionBytes(); /** * optional string color = 5; */ boolean hasColor(); /** * optional string color = 5; */ java.lang.String getColor(); /** * optional string color = 5; */ com.google.protobuf.ByteString getColorBytes(); } /** * Protobuf type {@code parameters.EditTagRequest} */ public static final class EditTagRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.EditTagRequest) EditTagRequestOrBuilder { // Use EditTagRequest.newBuilder() to construct. private EditTagRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EditTagRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final EditTagRequest defaultInstance; public static EditTagRequest getDefaultInstance() { return defaultInstance; } public EditTagRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EditTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { 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; start_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; stop_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; description_ = bs; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; color_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditTagRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditTagRequest.class, org.yamcs.protobuf.Rest.EditTagRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public EditTagRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EditTagRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int START_FIELD_NUMBER = 2; private java.lang.Object start_; /** * optional string start = 2; */ public boolean hasStart() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string start = 2; */ public java.lang.String getStart() { java.lang.Object ref = start_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { start_ = s; } return s; } } /** * optional string start = 2; */ public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); start_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STOP_FIELD_NUMBER = 3; private java.lang.Object stop_; /** * optional string stop = 3; */ public boolean hasStop() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string stop = 3; */ public java.lang.String getStop() { java.lang.Object ref = stop_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stop_ = s; } return s; } } /** * optional string stop = 3; */ public com.google.protobuf.ByteString getStopBytes() { java.lang.Object ref = stop_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 4; private java.lang.Object description_; /** * optional string description = 4; */ public boolean hasDescription() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string description = 4; */ 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 = 4; */ 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 COLOR_FIELD_NUMBER = 5; private java.lang.Object color_; /** * optional string color = 5; */ public boolean hasColor() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string color = 5; */ public java.lang.String getColor() { java.lang.Object ref = color_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { color_ = s; } return s; } } /** * optional string color = 5; */ public com.google.protobuf.ByteString getColorBytes() { java.lang.Object ref = color_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); color_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { name_ = ""; start_ = ""; stop_ = ""; description_ = ""; color_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getStartBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getStopBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getDescriptionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getColorBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getStartBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getStopBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getDescriptionBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getColorBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.EditTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditTagRequest 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.Rest.EditTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditTagRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditTagRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditTagRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditTagRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.EditTagRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditTagRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.EditTagRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.EditTagRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.EditTagRequest) org.yamcs.protobuf.Rest.EditTagRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditTagRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditTagRequest.class, org.yamcs.protobuf.Rest.EditTagRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.EditTagRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); start_ = ""; bitField0_ = (bitField0_ & ~0x00000002); stop_ = ""; bitField0_ = (bitField0_ & ~0x00000004); description_ = ""; bitField0_ = (bitField0_ & ~0x00000008); color_ = ""; bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditTagRequest_descriptor; } public org.yamcs.protobuf.Rest.EditTagRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.EditTagRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.EditTagRequest build() { org.yamcs.protobuf.Rest.EditTagRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.EditTagRequest buildPartial() { org.yamcs.protobuf.Rest.EditTagRequest result = new org.yamcs.protobuf.Rest.EditTagRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.start_ = start_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.stop_ = stop_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.description_ = description_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.color_ = color_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.EditTagRequest) { return mergeFrom((org.yamcs.protobuf.Rest.EditTagRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.EditTagRequest other) { if (other == org.yamcs.protobuf.Rest.EditTagRequest.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasStart()) { bitField0_ |= 0x00000002; start_ = other.start_; onChanged(); } if (other.hasStop()) { bitField0_ |= 0x00000004; stop_ = other.stop_; onChanged(); } if (other.hasDescription()) { bitField0_ |= 0x00000008; description_ = other.description_; onChanged(); } if (other.hasColor()) { bitField0_ |= 0x00000010; color_ = other.color_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.EditTagRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.EditTagRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object start_ = ""; /** * optional string start = 2; */ public boolean hasStart() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string start = 2; */ public java.lang.String getStart() { java.lang.Object ref = start_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { start_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string start = 2; */ public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); start_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string start = 2; */ public Builder setStart( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; start_ = value; onChanged(); return this; } /** * optional string start = 2; */ public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000002); start_ = getDefaultInstance().getStart(); onChanged(); return this; } /** * optional string start = 2; */ public Builder setStartBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; start_ = value; onChanged(); return this; } private java.lang.Object stop_ = ""; /** * optional string stop = 3; */ public boolean hasStop() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string stop = 3; */ public java.lang.String getStop() { java.lang.Object ref = stop_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stop_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string stop = 3; */ public com.google.protobuf.ByteString getStopBytes() { java.lang.Object ref = stop_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string stop = 3; */ public Builder setStop( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; stop_ = value; onChanged(); return this; } /** * optional string stop = 3; */ public Builder clearStop() { bitField0_ = (bitField0_ & ~0x00000004); stop_ = getDefaultInstance().getStop(); onChanged(); return this; } /** * optional string stop = 3; */ public Builder setStopBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; stop_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** * optional string description = 4; */ public boolean hasDescription() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string description = 4; */ 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 = 4; */ 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 = 4; */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; description_ = value; onChanged(); return this; } /** * optional string description = 4; */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000008); description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** * optional string description = 4; */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; description_ = value; onChanged(); return this; } private java.lang.Object color_ = ""; /** * optional string color = 5; */ public boolean hasColor() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string color = 5; */ public java.lang.String getColor() { java.lang.Object ref = color_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { color_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string color = 5; */ public com.google.protobuf.ByteString getColorBytes() { java.lang.Object ref = color_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); color_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string color = 5; */ public Builder setColor( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; color_ = value; onChanged(); return this; } /** * optional string color = 5; */ public Builder clearColor() { bitField0_ = (bitField0_ & ~0x00000010); color_ = getDefaultInstance().getColor(); onChanged(); return this; } /** * optional string color = 5; */ public Builder setColorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; color_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.EditTagRequest) } static { defaultInstance = new EditTagRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.EditTagRequest) } public interface ListAlarmsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListAlarmsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .alarms.AlarmData alarm = 1; */ java.util.List getAlarmList(); /** * repeated .alarms.AlarmData alarm = 1; */ org.yamcs.protobuf.Alarms.AlarmData getAlarm(int index); /** * repeated .alarms.AlarmData alarm = 1; */ int getAlarmCount(); /** * repeated .alarms.AlarmData alarm = 1; */ java.util.List getAlarmOrBuilderList(); /** * repeated .alarms.AlarmData alarm = 1; */ org.yamcs.protobuf.Alarms.AlarmDataOrBuilder getAlarmOrBuilder( int index); } /** * Protobuf type {@code parameters.ListAlarmsResponse} */ public static final class ListAlarmsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListAlarmsResponse) ListAlarmsResponseOrBuilder { // Use ListAlarmsResponse.newBuilder() to construct. private ListAlarmsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListAlarmsResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListAlarmsResponse defaultInstance; public static ListAlarmsResponse getDefaultInstance() { return defaultInstance; } public ListAlarmsResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListAlarmsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { alarm_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } alarm_.add(input.readMessage(org.yamcs.protobuf.Alarms.AlarmData.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { alarm_ = java.util.Collections.unmodifiableList(alarm_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListAlarmsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListAlarmsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListAlarmsResponse.class, org.yamcs.protobuf.Rest.ListAlarmsResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListAlarmsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListAlarmsResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int ALARM_FIELD_NUMBER = 1; private java.util.List alarm_; /** * repeated .alarms.AlarmData alarm = 1; */ public java.util.List getAlarmList() { return alarm_; } /** * repeated .alarms.AlarmData alarm = 1; */ public java.util.List getAlarmOrBuilderList() { return alarm_; } /** * repeated .alarms.AlarmData alarm = 1; */ public int getAlarmCount() { return alarm_.size(); } /** * repeated .alarms.AlarmData alarm = 1; */ public org.yamcs.protobuf.Alarms.AlarmData getAlarm(int index) { return alarm_.get(index); } /** * repeated .alarms.AlarmData alarm = 1; */ public org.yamcs.protobuf.Alarms.AlarmDataOrBuilder getAlarmOrBuilder( int index) { return alarm_.get(index); } private void initFields() { alarm_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getAlarmCount(); i++) { if (!getAlarm(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < alarm_.size(); i++) { output.writeMessage(1, alarm_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < alarm_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, alarm_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListAlarmsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListAlarmsResponse 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.Rest.ListAlarmsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListAlarmsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListAlarmsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListAlarmsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListAlarmsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListAlarmsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListAlarmsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListAlarmsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListAlarmsResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListAlarmsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListAlarmsResponse) org.yamcs.protobuf.Rest.ListAlarmsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListAlarmsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListAlarmsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListAlarmsResponse.class, org.yamcs.protobuf.Rest.ListAlarmsResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListAlarmsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getAlarmFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (alarmBuilder_ == null) { alarm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { alarmBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListAlarmsResponse_descriptor; } public org.yamcs.protobuf.Rest.ListAlarmsResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListAlarmsResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListAlarmsResponse build() { org.yamcs.protobuf.Rest.ListAlarmsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListAlarmsResponse buildPartial() { org.yamcs.protobuf.Rest.ListAlarmsResponse result = new org.yamcs.protobuf.Rest.ListAlarmsResponse(this); int from_bitField0_ = bitField0_; if (alarmBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { alarm_ = java.util.Collections.unmodifiableList(alarm_); bitField0_ = (bitField0_ & ~0x00000001); } result.alarm_ = alarm_; } else { result.alarm_ = alarmBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListAlarmsResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListAlarmsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListAlarmsResponse other) { if (other == org.yamcs.protobuf.Rest.ListAlarmsResponse.getDefaultInstance()) return this; if (alarmBuilder_ == null) { if (!other.alarm_.isEmpty()) { if (alarm_.isEmpty()) { alarm_ = other.alarm_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAlarmIsMutable(); alarm_.addAll(other.alarm_); } onChanged(); } } else { if (!other.alarm_.isEmpty()) { if (alarmBuilder_.isEmpty()) { alarmBuilder_.dispose(); alarmBuilder_ = null; alarm_ = other.alarm_; bitField0_ = (bitField0_ & ~0x00000001); alarmBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAlarmFieldBuilder() : null; } else { alarmBuilder_.addAllMessages(other.alarm_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getAlarmCount(); i++) { if (!getAlarm(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListAlarmsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListAlarmsResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List alarm_ = java.util.Collections.emptyList(); private void ensureAlarmIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { alarm_ = new java.util.ArrayList(alarm_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Alarms.AlarmData, org.yamcs.protobuf.Alarms.AlarmData.Builder, org.yamcs.protobuf.Alarms.AlarmDataOrBuilder> alarmBuilder_; /** * repeated .alarms.AlarmData alarm = 1; */ public java.util.List getAlarmList() { if (alarmBuilder_ == null) { return java.util.Collections.unmodifiableList(alarm_); } else { return alarmBuilder_.getMessageList(); } } /** * repeated .alarms.AlarmData alarm = 1; */ public int getAlarmCount() { if (alarmBuilder_ == null) { return alarm_.size(); } else { return alarmBuilder_.getCount(); } } /** * repeated .alarms.AlarmData alarm = 1; */ public org.yamcs.protobuf.Alarms.AlarmData getAlarm(int index) { if (alarmBuilder_ == null) { return alarm_.get(index); } else { return alarmBuilder_.getMessage(index); } } /** * repeated .alarms.AlarmData alarm = 1; */ public Builder setAlarm( int index, org.yamcs.protobuf.Alarms.AlarmData value) { if (alarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlarmIsMutable(); alarm_.set(index, value); onChanged(); } else { alarmBuilder_.setMessage(index, value); } return this; } /** * repeated .alarms.AlarmData alarm = 1; */ public Builder setAlarm( int index, org.yamcs.protobuf.Alarms.AlarmData.Builder builderForValue) { if (alarmBuilder_ == null) { ensureAlarmIsMutable(); alarm_.set(index, builderForValue.build()); onChanged(); } else { alarmBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .alarms.AlarmData alarm = 1; */ public Builder addAlarm(org.yamcs.protobuf.Alarms.AlarmData value) { if (alarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlarmIsMutable(); alarm_.add(value); onChanged(); } else { alarmBuilder_.addMessage(value); } return this; } /** * repeated .alarms.AlarmData alarm = 1; */ public Builder addAlarm( int index, org.yamcs.protobuf.Alarms.AlarmData value) { if (alarmBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlarmIsMutable(); alarm_.add(index, value); onChanged(); } else { alarmBuilder_.addMessage(index, value); } return this; } /** * repeated .alarms.AlarmData alarm = 1; */ public Builder addAlarm( org.yamcs.protobuf.Alarms.AlarmData.Builder builderForValue) { if (alarmBuilder_ == null) { ensureAlarmIsMutable(); alarm_.add(builderForValue.build()); onChanged(); } else { alarmBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .alarms.AlarmData alarm = 1; */ public Builder addAlarm( int index, org.yamcs.protobuf.Alarms.AlarmData.Builder builderForValue) { if (alarmBuilder_ == null) { ensureAlarmIsMutable(); alarm_.add(index, builderForValue.build()); onChanged(); } else { alarmBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .alarms.AlarmData alarm = 1; */ public Builder addAllAlarm( java.lang.Iterable values) { if (alarmBuilder_ == null) { ensureAlarmIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, alarm_); onChanged(); } else { alarmBuilder_.addAllMessages(values); } return this; } /** * repeated .alarms.AlarmData alarm = 1; */ public Builder clearAlarm() { if (alarmBuilder_ == null) { alarm_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { alarmBuilder_.clear(); } return this; } /** * repeated .alarms.AlarmData alarm = 1; */ public Builder removeAlarm(int index) { if (alarmBuilder_ == null) { ensureAlarmIsMutable(); alarm_.remove(index); onChanged(); } else { alarmBuilder_.remove(index); } return this; } /** * repeated .alarms.AlarmData alarm = 1; */ public org.yamcs.protobuf.Alarms.AlarmData.Builder getAlarmBuilder( int index) { return getAlarmFieldBuilder().getBuilder(index); } /** * repeated .alarms.AlarmData alarm = 1; */ public org.yamcs.protobuf.Alarms.AlarmDataOrBuilder getAlarmOrBuilder( int index) { if (alarmBuilder_ == null) { return alarm_.get(index); } else { return alarmBuilder_.getMessageOrBuilder(index); } } /** * repeated .alarms.AlarmData alarm = 1; */ public java.util.List getAlarmOrBuilderList() { if (alarmBuilder_ != null) { return alarmBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(alarm_); } } /** * repeated .alarms.AlarmData alarm = 1; */ public org.yamcs.protobuf.Alarms.AlarmData.Builder addAlarmBuilder() { return getAlarmFieldBuilder().addBuilder( org.yamcs.protobuf.Alarms.AlarmData.getDefaultInstance()); } /** * repeated .alarms.AlarmData alarm = 1; */ public org.yamcs.protobuf.Alarms.AlarmData.Builder addAlarmBuilder( int index) { return getAlarmFieldBuilder().addBuilder( index, org.yamcs.protobuf.Alarms.AlarmData.getDefaultInstance()); } /** * repeated .alarms.AlarmData alarm = 1; */ public java.util.List getAlarmBuilderList() { return getAlarmFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Alarms.AlarmData, org.yamcs.protobuf.Alarms.AlarmData.Builder, org.yamcs.protobuf.Alarms.AlarmDataOrBuilder> getAlarmFieldBuilder() { if (alarmBuilder_ == null) { alarmBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Alarms.AlarmData, org.yamcs.protobuf.Alarms.AlarmData.Builder, org.yamcs.protobuf.Alarms.AlarmDataOrBuilder>( alarm_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); alarm_ = null; } return alarmBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListAlarmsResponse) } static { defaultInstance = new ListAlarmsResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListAlarmsResponse) } public interface EditAlarmRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.EditAlarmRequest) com.google.protobuf.MessageOrBuilder { /** * optional string state = 1; */ boolean hasState(); /** * optional string state = 1; */ java.lang.String getState(); /** * optional string state = 1; */ com.google.protobuf.ByteString getStateBytes(); /** * optional string comment = 2; */ boolean hasComment(); /** * optional string comment = 2; */ java.lang.String getComment(); /** * optional string comment = 2; */ com.google.protobuf.ByteString getCommentBytes(); } /** * Protobuf type {@code parameters.EditAlarmRequest} */ public static final class EditAlarmRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.EditAlarmRequest) EditAlarmRequestOrBuilder { // Use EditAlarmRequest.newBuilder() to construct. private EditAlarmRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EditAlarmRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final EditAlarmRequest defaultInstance; public static EditAlarmRequest getDefaultInstance() { return defaultInstance; } public EditAlarmRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EditAlarmRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; state_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; comment_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditAlarmRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditAlarmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditAlarmRequest.class, org.yamcs.protobuf.Rest.EditAlarmRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public EditAlarmRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EditAlarmRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int STATE_FIELD_NUMBER = 1; private java.lang.Object state_; /** * optional string state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string state = 1; */ public java.lang.String getState() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { state_ = s; } return s; } } /** * optional string state = 1; */ public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COMMENT_FIELD_NUMBER = 2; private java.lang.Object comment_; /** * optional string comment = 2; */ public boolean hasComment() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string comment = 2; */ public java.lang.String getComment() { java.lang.Object ref = comment_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { comment_ = s; } return s; } } /** * optional string comment = 2; */ public com.google.protobuf.ByteString getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); comment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { state_ = ""; comment_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getStateBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getCommentBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getStateBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getCommentBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.EditAlarmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditAlarmRequest 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.Rest.EditAlarmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditAlarmRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditAlarmRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditAlarmRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditAlarmRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.EditAlarmRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditAlarmRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditAlarmRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.EditAlarmRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.EditAlarmRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.EditAlarmRequest) org.yamcs.protobuf.Rest.EditAlarmRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditAlarmRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditAlarmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditAlarmRequest.class, org.yamcs.protobuf.Rest.EditAlarmRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.EditAlarmRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); state_ = ""; bitField0_ = (bitField0_ & ~0x00000001); comment_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditAlarmRequest_descriptor; } public org.yamcs.protobuf.Rest.EditAlarmRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.EditAlarmRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.EditAlarmRequest build() { org.yamcs.protobuf.Rest.EditAlarmRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.EditAlarmRequest buildPartial() { org.yamcs.protobuf.Rest.EditAlarmRequest result = new org.yamcs.protobuf.Rest.EditAlarmRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.state_ = state_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.comment_ = comment_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.EditAlarmRequest) { return mergeFrom((org.yamcs.protobuf.Rest.EditAlarmRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.EditAlarmRequest other) { if (other == org.yamcs.protobuf.Rest.EditAlarmRequest.getDefaultInstance()) return this; if (other.hasState()) { bitField0_ |= 0x00000001; state_ = other.state_; onChanged(); } if (other.hasComment()) { bitField0_ |= 0x00000002; comment_ = other.comment_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.EditAlarmRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.EditAlarmRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object state_ = ""; /** * optional string state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string state = 1; */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { state_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string state = 1; */ public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string state = 1; */ public Builder setState( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value; onChanged(); return this; } /** * optional string state = 1; */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000001); state_ = getDefaultInstance().getState(); onChanged(); return this; } /** * optional string state = 1; */ public Builder setStateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value; onChanged(); return this; } private java.lang.Object comment_ = ""; /** * optional string comment = 2; */ public boolean hasComment() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string comment = 2; */ public java.lang.String getComment() { java.lang.Object ref = comment_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { comment_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string comment = 2; */ public com.google.protobuf.ByteString getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); comment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string comment = 2; */ public Builder setComment( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; comment_ = value; onChanged(); return this; } /** * optional string comment = 2; */ public Builder clearComment() { bitField0_ = (bitField0_ & ~0x00000002); comment_ = getDefaultInstance().getComment(); onChanged(); return this; } /** * optional string comment = 2; */ public Builder setCommentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; comment_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.EditAlarmRequest) } static { defaultInstance = new EditAlarmRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.EditAlarmRequest) } public interface ListTablesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListTablesResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .archive.TableInfo table = 1; */ java.util.List getTableList(); /** * repeated .archive.TableInfo table = 1; */ org.yamcs.protobuf.Archive.TableInfo getTable(int index); /** * repeated .archive.TableInfo table = 1; */ int getTableCount(); /** * repeated .archive.TableInfo table = 1; */ java.util.List getTableOrBuilderList(); /** * repeated .archive.TableInfo table = 1; */ org.yamcs.protobuf.Archive.TableInfoOrBuilder getTableOrBuilder( int index); } /** * Protobuf type {@code parameters.ListTablesResponse} */ public static final class ListTablesResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListTablesResponse) ListTablesResponseOrBuilder { // Use ListTablesResponse.newBuilder() to construct. private ListTablesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListTablesResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListTablesResponse defaultInstance; public static ListTablesResponse getDefaultInstance() { return defaultInstance; } public ListTablesResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListTablesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { table_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } table_.add(input.readMessage(org.yamcs.protobuf.Archive.TableInfo.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { table_ = java.util.Collections.unmodifiableList(table_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListTablesResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListTablesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListTablesResponse.class, org.yamcs.protobuf.Rest.ListTablesResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListTablesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListTablesResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int TABLE_FIELD_NUMBER = 1; private java.util.List table_; /** * repeated .archive.TableInfo table = 1; */ public java.util.List getTableList() { return table_; } /** * repeated .archive.TableInfo table = 1; */ public java.util.List getTableOrBuilderList() { return table_; } /** * repeated .archive.TableInfo table = 1; */ public int getTableCount() { return table_.size(); } /** * repeated .archive.TableInfo table = 1; */ public org.yamcs.protobuf.Archive.TableInfo getTable(int index) { return table_.get(index); } /** * repeated .archive.TableInfo table = 1; */ public org.yamcs.protobuf.Archive.TableInfoOrBuilder getTableOrBuilder( int index) { return table_.get(index); } private void initFields() { table_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < table_.size(); i++) { output.writeMessage(1, table_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < table_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, table_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListTablesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListTablesResponse 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.Rest.ListTablesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListTablesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListTablesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListTablesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListTablesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListTablesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListTablesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListTablesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListTablesResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListTablesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListTablesResponse) org.yamcs.protobuf.Rest.ListTablesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListTablesResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListTablesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListTablesResponse.class, org.yamcs.protobuf.Rest.ListTablesResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListTablesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getTableFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (tableBuilder_ == null) { table_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { tableBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListTablesResponse_descriptor; } public org.yamcs.protobuf.Rest.ListTablesResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListTablesResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListTablesResponse build() { org.yamcs.protobuf.Rest.ListTablesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListTablesResponse buildPartial() { org.yamcs.protobuf.Rest.ListTablesResponse result = new org.yamcs.protobuf.Rest.ListTablesResponse(this); int from_bitField0_ = bitField0_; if (tableBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { table_ = java.util.Collections.unmodifiableList(table_); bitField0_ = (bitField0_ & ~0x00000001); } result.table_ = table_; } else { result.table_ = tableBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListTablesResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListTablesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListTablesResponse other) { if (other == org.yamcs.protobuf.Rest.ListTablesResponse.getDefaultInstance()) return this; if (tableBuilder_ == null) { if (!other.table_.isEmpty()) { if (table_.isEmpty()) { table_ = other.table_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTableIsMutable(); table_.addAll(other.table_); } onChanged(); } } else { if (!other.table_.isEmpty()) { if (tableBuilder_.isEmpty()) { tableBuilder_.dispose(); tableBuilder_ = null; table_ = other.table_; bitField0_ = (bitField0_ & ~0x00000001); tableBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getTableFieldBuilder() : null; } else { tableBuilder_.addAllMessages(other.table_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListTablesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListTablesResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List table_ = java.util.Collections.emptyList(); private void ensureTableIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { table_ = new java.util.ArrayList(table_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Archive.TableInfo, org.yamcs.protobuf.Archive.TableInfo.Builder, org.yamcs.protobuf.Archive.TableInfoOrBuilder> tableBuilder_; /** * repeated .archive.TableInfo table = 1; */ public java.util.List getTableList() { if (tableBuilder_ == null) { return java.util.Collections.unmodifiableList(table_); } else { return tableBuilder_.getMessageList(); } } /** * repeated .archive.TableInfo table = 1; */ public int getTableCount() { if (tableBuilder_ == null) { return table_.size(); } else { return tableBuilder_.getCount(); } } /** * repeated .archive.TableInfo table = 1; */ public org.yamcs.protobuf.Archive.TableInfo getTable(int index) { if (tableBuilder_ == null) { return table_.get(index); } else { return tableBuilder_.getMessage(index); } } /** * repeated .archive.TableInfo table = 1; */ public Builder setTable( int index, org.yamcs.protobuf.Archive.TableInfo value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTableIsMutable(); table_.set(index, value); onChanged(); } else { tableBuilder_.setMessage(index, value); } return this; } /** * repeated .archive.TableInfo table = 1; */ public Builder setTable( int index, org.yamcs.protobuf.Archive.TableInfo.Builder builderForValue) { if (tableBuilder_ == null) { ensureTableIsMutable(); table_.set(index, builderForValue.build()); onChanged(); } else { tableBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .archive.TableInfo table = 1; */ public Builder addTable(org.yamcs.protobuf.Archive.TableInfo value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTableIsMutable(); table_.add(value); onChanged(); } else { tableBuilder_.addMessage(value); } return this; } /** * repeated .archive.TableInfo table = 1; */ public Builder addTable( int index, org.yamcs.protobuf.Archive.TableInfo value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTableIsMutable(); table_.add(index, value); onChanged(); } else { tableBuilder_.addMessage(index, value); } return this; } /** * repeated .archive.TableInfo table = 1; */ public Builder addTable( org.yamcs.protobuf.Archive.TableInfo.Builder builderForValue) { if (tableBuilder_ == null) { ensureTableIsMutable(); table_.add(builderForValue.build()); onChanged(); } else { tableBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .archive.TableInfo table = 1; */ public Builder addTable( int index, org.yamcs.protobuf.Archive.TableInfo.Builder builderForValue) { if (tableBuilder_ == null) { ensureTableIsMutable(); table_.add(index, builderForValue.build()); onChanged(); } else { tableBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .archive.TableInfo table = 1; */ public Builder addAllTable( java.lang.Iterable values) { if (tableBuilder_ == null) { ensureTableIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, table_); onChanged(); } else { tableBuilder_.addAllMessages(values); } return this; } /** * repeated .archive.TableInfo table = 1; */ public Builder clearTable() { if (tableBuilder_ == null) { table_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { tableBuilder_.clear(); } return this; } /** * repeated .archive.TableInfo table = 1; */ public Builder removeTable(int index) { if (tableBuilder_ == null) { ensureTableIsMutable(); table_.remove(index); onChanged(); } else { tableBuilder_.remove(index); } return this; } /** * repeated .archive.TableInfo table = 1; */ public org.yamcs.protobuf.Archive.TableInfo.Builder getTableBuilder( int index) { return getTableFieldBuilder().getBuilder(index); } /** * repeated .archive.TableInfo table = 1; */ public org.yamcs.protobuf.Archive.TableInfoOrBuilder getTableOrBuilder( int index) { if (tableBuilder_ == null) { return table_.get(index); } else { return tableBuilder_.getMessageOrBuilder(index); } } /** * repeated .archive.TableInfo table = 1; */ public java.util.List getTableOrBuilderList() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(table_); } } /** * repeated .archive.TableInfo table = 1; */ public org.yamcs.protobuf.Archive.TableInfo.Builder addTableBuilder() { return getTableFieldBuilder().addBuilder( org.yamcs.protobuf.Archive.TableInfo.getDefaultInstance()); } /** * repeated .archive.TableInfo table = 1; */ public org.yamcs.protobuf.Archive.TableInfo.Builder addTableBuilder( int index) { return getTableFieldBuilder().addBuilder( index, org.yamcs.protobuf.Archive.TableInfo.getDefaultInstance()); } /** * repeated .archive.TableInfo table = 1; */ public java.util.List getTableBuilderList() { return getTableFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Archive.TableInfo, org.yamcs.protobuf.Archive.TableInfo.Builder, org.yamcs.protobuf.Archive.TableInfoOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { tableBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Archive.TableInfo, org.yamcs.protobuf.Archive.TableInfo.Builder, org.yamcs.protobuf.Archive.TableInfoOrBuilder>( table_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); table_ = null; } return tableBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListTablesResponse) } static { defaultInstance = new ListTablesResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListTablesResponse) } public interface ListStreamsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListStreamsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .archive.StreamInfo stream = 1; */ java.util.List getStreamList(); /** * repeated .archive.StreamInfo stream = 1; */ org.yamcs.protobuf.Archive.StreamInfo getStream(int index); /** * repeated .archive.StreamInfo stream = 1; */ int getStreamCount(); /** * repeated .archive.StreamInfo stream = 1; */ java.util.List getStreamOrBuilderList(); /** * repeated .archive.StreamInfo stream = 1; */ org.yamcs.protobuf.Archive.StreamInfoOrBuilder getStreamOrBuilder( int index); } /** * Protobuf type {@code parameters.ListStreamsResponse} */ public static final class ListStreamsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListStreamsResponse) ListStreamsResponseOrBuilder { // Use ListStreamsResponse.newBuilder() to construct. private ListStreamsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListStreamsResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListStreamsResponse defaultInstance; public static ListStreamsResponse getDefaultInstance() { return defaultInstance; } public ListStreamsResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { stream_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } stream_.add(input.readMessage(org.yamcs.protobuf.Archive.StreamInfo.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { stream_ = java.util.Collections.unmodifiableList(stream_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListStreamsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListStreamsResponse.class, org.yamcs.protobuf.Rest.ListStreamsResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListStreamsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListStreamsResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int STREAM_FIELD_NUMBER = 1; private java.util.List stream_; /** * repeated .archive.StreamInfo stream = 1; */ public java.util.List getStreamList() { return stream_; } /** * repeated .archive.StreamInfo stream = 1; */ public java.util.List getStreamOrBuilderList() { return stream_; } /** * repeated .archive.StreamInfo stream = 1; */ public int getStreamCount() { return stream_.size(); } /** * repeated .archive.StreamInfo stream = 1; */ public org.yamcs.protobuf.Archive.StreamInfo getStream(int index) { return stream_.get(index); } /** * repeated .archive.StreamInfo stream = 1; */ public org.yamcs.protobuf.Archive.StreamInfoOrBuilder getStreamOrBuilder( int index) { return stream_.get(index); } private void initFields() { stream_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < stream_.size(); i++) { output.writeMessage(1, stream_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < stream_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, stream_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListStreamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListStreamsResponse 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.Rest.ListStreamsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListStreamsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListStreamsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListStreamsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListStreamsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListStreamsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListStreamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListStreamsResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListStreamsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListStreamsResponse) org.yamcs.protobuf.Rest.ListStreamsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListStreamsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListStreamsResponse.class, org.yamcs.protobuf.Rest.ListStreamsResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListStreamsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getStreamFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (streamBuilder_ == null) { stream_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { streamBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListStreamsResponse_descriptor; } public org.yamcs.protobuf.Rest.ListStreamsResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListStreamsResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListStreamsResponse build() { org.yamcs.protobuf.Rest.ListStreamsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListStreamsResponse buildPartial() { org.yamcs.protobuf.Rest.ListStreamsResponse result = new org.yamcs.protobuf.Rest.ListStreamsResponse(this); int from_bitField0_ = bitField0_; if (streamBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { stream_ = java.util.Collections.unmodifiableList(stream_); bitField0_ = (bitField0_ & ~0x00000001); } result.stream_ = stream_; } else { result.stream_ = streamBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListStreamsResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListStreamsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListStreamsResponse other) { if (other == org.yamcs.protobuf.Rest.ListStreamsResponse.getDefaultInstance()) return this; if (streamBuilder_ == null) { if (!other.stream_.isEmpty()) { if (stream_.isEmpty()) { stream_ = other.stream_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStreamIsMutable(); stream_.addAll(other.stream_); } onChanged(); } } else { if (!other.stream_.isEmpty()) { if (streamBuilder_.isEmpty()) { streamBuilder_.dispose(); streamBuilder_ = null; stream_ = other.stream_; bitField0_ = (bitField0_ & ~0x00000001); streamBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getStreamFieldBuilder() : null; } else { streamBuilder_.addAllMessages(other.stream_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListStreamsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListStreamsResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List stream_ = java.util.Collections.emptyList(); private void ensureStreamIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { stream_ = new java.util.ArrayList(stream_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Archive.StreamInfo, org.yamcs.protobuf.Archive.StreamInfo.Builder, org.yamcs.protobuf.Archive.StreamInfoOrBuilder> streamBuilder_; /** * repeated .archive.StreamInfo stream = 1; */ public java.util.List getStreamList() { if (streamBuilder_ == null) { return java.util.Collections.unmodifiableList(stream_); } else { return streamBuilder_.getMessageList(); } } /** * repeated .archive.StreamInfo stream = 1; */ public int getStreamCount() { if (streamBuilder_ == null) { return stream_.size(); } else { return streamBuilder_.getCount(); } } /** * repeated .archive.StreamInfo stream = 1; */ public org.yamcs.protobuf.Archive.StreamInfo getStream(int index) { if (streamBuilder_ == null) { return stream_.get(index); } else { return streamBuilder_.getMessage(index); } } /** * repeated .archive.StreamInfo stream = 1; */ public Builder setStream( int index, org.yamcs.protobuf.Archive.StreamInfo value) { if (streamBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStreamIsMutable(); stream_.set(index, value); onChanged(); } else { streamBuilder_.setMessage(index, value); } return this; } /** * repeated .archive.StreamInfo stream = 1; */ public Builder setStream( int index, org.yamcs.protobuf.Archive.StreamInfo.Builder builderForValue) { if (streamBuilder_ == null) { ensureStreamIsMutable(); stream_.set(index, builderForValue.build()); onChanged(); } else { streamBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .archive.StreamInfo stream = 1; */ public Builder addStream(org.yamcs.protobuf.Archive.StreamInfo value) { if (streamBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStreamIsMutable(); stream_.add(value); onChanged(); } else { streamBuilder_.addMessage(value); } return this; } /** * repeated .archive.StreamInfo stream = 1; */ public Builder addStream( int index, org.yamcs.protobuf.Archive.StreamInfo value) { if (streamBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStreamIsMutable(); stream_.add(index, value); onChanged(); } else { streamBuilder_.addMessage(index, value); } return this; } /** * repeated .archive.StreamInfo stream = 1; */ public Builder addStream( org.yamcs.protobuf.Archive.StreamInfo.Builder builderForValue) { if (streamBuilder_ == null) { ensureStreamIsMutable(); stream_.add(builderForValue.build()); onChanged(); } else { streamBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .archive.StreamInfo stream = 1; */ public Builder addStream( int index, org.yamcs.protobuf.Archive.StreamInfo.Builder builderForValue) { if (streamBuilder_ == null) { ensureStreamIsMutable(); stream_.add(index, builderForValue.build()); onChanged(); } else { streamBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .archive.StreamInfo stream = 1; */ public Builder addAllStream( java.lang.Iterable values) { if (streamBuilder_ == null) { ensureStreamIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, stream_); onChanged(); } else { streamBuilder_.addAllMessages(values); } return this; } /** * repeated .archive.StreamInfo stream = 1; */ public Builder clearStream() { if (streamBuilder_ == null) { stream_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { streamBuilder_.clear(); } return this; } /** * repeated .archive.StreamInfo stream = 1; */ public Builder removeStream(int index) { if (streamBuilder_ == null) { ensureStreamIsMutable(); stream_.remove(index); onChanged(); } else { streamBuilder_.remove(index); } return this; } /** * repeated .archive.StreamInfo stream = 1; */ public org.yamcs.protobuf.Archive.StreamInfo.Builder getStreamBuilder( int index) { return getStreamFieldBuilder().getBuilder(index); } /** * repeated .archive.StreamInfo stream = 1; */ public org.yamcs.protobuf.Archive.StreamInfoOrBuilder getStreamOrBuilder( int index) { if (streamBuilder_ == null) { return stream_.get(index); } else { return streamBuilder_.getMessageOrBuilder(index); } } /** * repeated .archive.StreamInfo stream = 1; */ public java.util.List getStreamOrBuilderList() { if (streamBuilder_ != null) { return streamBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(stream_); } } /** * repeated .archive.StreamInfo stream = 1; */ public org.yamcs.protobuf.Archive.StreamInfo.Builder addStreamBuilder() { return getStreamFieldBuilder().addBuilder( org.yamcs.protobuf.Archive.StreamInfo.getDefaultInstance()); } /** * repeated .archive.StreamInfo stream = 1; */ public org.yamcs.protobuf.Archive.StreamInfo.Builder addStreamBuilder( int index) { return getStreamFieldBuilder().addBuilder( index, org.yamcs.protobuf.Archive.StreamInfo.getDefaultInstance()); } /** * repeated .archive.StreamInfo stream = 1; */ public java.util.List getStreamBuilderList() { return getStreamFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Archive.StreamInfo, org.yamcs.protobuf.Archive.StreamInfo.Builder, org.yamcs.protobuf.Archive.StreamInfoOrBuilder> getStreamFieldBuilder() { if (streamBuilder_ == null) { streamBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Archive.StreamInfo, org.yamcs.protobuf.Archive.StreamInfo.Builder, org.yamcs.protobuf.Archive.StreamInfoOrBuilder>( stream_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); stream_ = null; } return streamBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListStreamsResponse) } static { defaultInstance = new ListStreamsResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListStreamsResponse) } public interface ListEventsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListEventsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.Event event = 1; */ java.util.List getEventList(); /** * repeated .yamcs.Event event = 1; */ org.yamcs.protobuf.Yamcs.Event getEvent(int index); /** * repeated .yamcs.Event event = 1; */ int getEventCount(); /** * repeated .yamcs.Event event = 1; */ java.util.List getEventOrBuilderList(); /** * repeated .yamcs.Event event = 1; */ org.yamcs.protobuf.Yamcs.EventOrBuilder getEventOrBuilder( int index); } /** * Protobuf type {@code parameters.ListEventsResponse} */ public static final class ListEventsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListEventsResponse) ListEventsResponseOrBuilder { // Use ListEventsResponse.newBuilder() to construct. private ListEventsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListEventsResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListEventsResponse defaultInstance; public static ListEventsResponse getDefaultInstance() { return defaultInstance; } public ListEventsResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListEventsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { event_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } event_.add(input.readMessage(org.yamcs.protobuf.Yamcs.Event.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { event_ = java.util.Collections.unmodifiableList(event_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListEventsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListEventsResponse.class, org.yamcs.protobuf.Rest.ListEventsResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListEventsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListEventsResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int EVENT_FIELD_NUMBER = 1; private java.util.List event_; /** * repeated .yamcs.Event event = 1; */ public java.util.List getEventList() { return event_; } /** * repeated .yamcs.Event event = 1; */ public java.util.List getEventOrBuilderList() { return event_; } /** * repeated .yamcs.Event event = 1; */ public int getEventCount() { return event_.size(); } /** * repeated .yamcs.Event event = 1; */ public org.yamcs.protobuf.Yamcs.Event getEvent(int index) { return event_.get(index); } /** * repeated .yamcs.Event event = 1; */ public org.yamcs.protobuf.Yamcs.EventOrBuilder getEventOrBuilder( int index) { return event_.get(index); } private void initFields() { event_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getEventCount(); i++) { if (!getEvent(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < event_.size(); i++) { output.writeMessage(1, event_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < event_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, event_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListEventsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListEventsResponse 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.Rest.ListEventsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListEventsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListEventsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListEventsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListEventsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListEventsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListEventsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListEventsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListEventsResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListEventsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListEventsResponse) org.yamcs.protobuf.Rest.ListEventsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListEventsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListEventsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListEventsResponse.class, org.yamcs.protobuf.Rest.ListEventsResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListEventsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getEventFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (eventBuilder_ == null) { event_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { eventBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListEventsResponse_descriptor; } public org.yamcs.protobuf.Rest.ListEventsResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListEventsResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListEventsResponse build() { org.yamcs.protobuf.Rest.ListEventsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListEventsResponse buildPartial() { org.yamcs.protobuf.Rest.ListEventsResponse result = new org.yamcs.protobuf.Rest.ListEventsResponse(this); int from_bitField0_ = bitField0_; if (eventBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { event_ = java.util.Collections.unmodifiableList(event_); bitField0_ = (bitField0_ & ~0x00000001); } result.event_ = event_; } else { result.event_ = eventBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListEventsResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListEventsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListEventsResponse other) { if (other == org.yamcs.protobuf.Rest.ListEventsResponse.getDefaultInstance()) return this; if (eventBuilder_ == null) { if (!other.event_.isEmpty()) { if (event_.isEmpty()) { event_ = other.event_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEventIsMutable(); event_.addAll(other.event_); } onChanged(); } } else { if (!other.event_.isEmpty()) { if (eventBuilder_.isEmpty()) { eventBuilder_.dispose(); eventBuilder_ = null; event_ = other.event_; bitField0_ = (bitField0_ & ~0x00000001); eventBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getEventFieldBuilder() : null; } else { eventBuilder_.addAllMessages(other.event_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getEventCount(); i++) { if (!getEvent(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListEventsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListEventsResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List event_ = java.util.Collections.emptyList(); private void ensureEventIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { event_ = new java.util.ArrayList(event_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.Event, org.yamcs.protobuf.Yamcs.Event.Builder, org.yamcs.protobuf.Yamcs.EventOrBuilder> eventBuilder_; /** * repeated .yamcs.Event event = 1; */ public java.util.List getEventList() { if (eventBuilder_ == null) { return java.util.Collections.unmodifiableList(event_); } else { return eventBuilder_.getMessageList(); } } /** * repeated .yamcs.Event event = 1; */ public int getEventCount() { if (eventBuilder_ == null) { return event_.size(); } else { return eventBuilder_.getCount(); } } /** * repeated .yamcs.Event event = 1; */ public org.yamcs.protobuf.Yamcs.Event getEvent(int index) { if (eventBuilder_ == null) { return event_.get(index); } else { return eventBuilder_.getMessage(index); } } /** * repeated .yamcs.Event event = 1; */ public Builder setEvent( int index, org.yamcs.protobuf.Yamcs.Event value) { if (eventBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventIsMutable(); event_.set(index, value); onChanged(); } else { eventBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.Event event = 1; */ public Builder setEvent( int index, org.yamcs.protobuf.Yamcs.Event.Builder builderForValue) { if (eventBuilder_ == null) { ensureEventIsMutable(); event_.set(index, builderForValue.build()); onChanged(); } else { eventBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.Event event = 1; */ public Builder addEvent(org.yamcs.protobuf.Yamcs.Event value) { if (eventBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventIsMutable(); event_.add(value); onChanged(); } else { eventBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.Event event = 1; */ public Builder addEvent( int index, org.yamcs.protobuf.Yamcs.Event value) { if (eventBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventIsMutable(); event_.add(index, value); onChanged(); } else { eventBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.Event event = 1; */ public Builder addEvent( org.yamcs.protobuf.Yamcs.Event.Builder builderForValue) { if (eventBuilder_ == null) { ensureEventIsMutable(); event_.add(builderForValue.build()); onChanged(); } else { eventBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.Event event = 1; */ public Builder addEvent( int index, org.yamcs.protobuf.Yamcs.Event.Builder builderForValue) { if (eventBuilder_ == null) { ensureEventIsMutable(); event_.add(index, builderForValue.build()); onChanged(); } else { eventBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.Event event = 1; */ public Builder addAllEvent( java.lang.Iterable values) { if (eventBuilder_ == null) { ensureEventIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, event_); onChanged(); } else { eventBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.Event event = 1; */ public Builder clearEvent() { if (eventBuilder_ == null) { event_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { eventBuilder_.clear(); } return this; } /** * repeated .yamcs.Event event = 1; */ public Builder removeEvent(int index) { if (eventBuilder_ == null) { ensureEventIsMutable(); event_.remove(index); onChanged(); } else { eventBuilder_.remove(index); } return this; } /** * repeated .yamcs.Event event = 1; */ public org.yamcs.protobuf.Yamcs.Event.Builder getEventBuilder( int index) { return getEventFieldBuilder().getBuilder(index); } /** * repeated .yamcs.Event event = 1; */ public org.yamcs.protobuf.Yamcs.EventOrBuilder getEventOrBuilder( int index) { if (eventBuilder_ == null) { return event_.get(index); } else { return eventBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.Event event = 1; */ public java.util.List getEventOrBuilderList() { if (eventBuilder_ != null) { return eventBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(event_); } } /** * repeated .yamcs.Event event = 1; */ public org.yamcs.protobuf.Yamcs.Event.Builder addEventBuilder() { return getEventFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.Event.getDefaultInstance()); } /** * repeated .yamcs.Event event = 1; */ public org.yamcs.protobuf.Yamcs.Event.Builder addEventBuilder( int index) { return getEventFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.Event.getDefaultInstance()); } /** * repeated .yamcs.Event event = 1; */ public java.util.List getEventBuilderList() { return getEventFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.Event, org.yamcs.protobuf.Yamcs.Event.Builder, org.yamcs.protobuf.Yamcs.EventOrBuilder> getEventFieldBuilder() { if (eventBuilder_ == null) { eventBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.Event, org.yamcs.protobuf.Yamcs.Event.Builder, org.yamcs.protobuf.Yamcs.EventOrBuilder>( event_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); event_ = null; } return eventBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListEventsResponse) } static { defaultInstance = new ListEventsResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListEventsResponse) } public interface ListPacketsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListPacketsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcs.TmPacketData packet = 1; */ java.util.List getPacketList(); /** * repeated .yamcs.TmPacketData packet = 1; */ org.yamcs.protobuf.Yamcs.TmPacketData getPacket(int index); /** * repeated .yamcs.TmPacketData packet = 1; */ int getPacketCount(); /** * repeated .yamcs.TmPacketData packet = 1; */ java.util.List getPacketOrBuilderList(); /** * repeated .yamcs.TmPacketData packet = 1; */ org.yamcs.protobuf.Yamcs.TmPacketDataOrBuilder getPacketOrBuilder( int index); } /** * Protobuf type {@code parameters.ListPacketsResponse} */ public static final class ListPacketsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListPacketsResponse) ListPacketsResponseOrBuilder { // Use ListPacketsResponse.newBuilder() to construct. private ListPacketsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListPacketsResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListPacketsResponse defaultInstance; public static ListPacketsResponse getDefaultInstance() { return defaultInstance; } public ListPacketsResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListPacketsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { packet_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } packet_.add(input.readMessage(org.yamcs.protobuf.Yamcs.TmPacketData.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { packet_ = java.util.Collections.unmodifiableList(packet_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListPacketsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListPacketsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListPacketsResponse.class, org.yamcs.protobuf.Rest.ListPacketsResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListPacketsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListPacketsResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int PACKET_FIELD_NUMBER = 1; private java.util.List packet_; /** * repeated .yamcs.TmPacketData packet = 1; */ public java.util.List getPacketList() { return packet_; } /** * repeated .yamcs.TmPacketData packet = 1; */ public java.util.List getPacketOrBuilderList() { return packet_; } /** * repeated .yamcs.TmPacketData packet = 1; */ public int getPacketCount() { return packet_.size(); } /** * repeated .yamcs.TmPacketData packet = 1; */ public org.yamcs.protobuf.Yamcs.TmPacketData getPacket(int index) { return packet_.get(index); } /** * repeated .yamcs.TmPacketData packet = 1; */ public org.yamcs.protobuf.Yamcs.TmPacketDataOrBuilder getPacketOrBuilder( int index) { return packet_.get(index); } private void initFields() { packet_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getPacketCount(); i++) { if (!getPacket(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < packet_.size(); i++) { output.writeMessage(1, packet_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < packet_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, packet_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListPacketsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListPacketsResponse 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.Rest.ListPacketsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListPacketsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListPacketsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListPacketsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListPacketsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListPacketsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListPacketsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListPacketsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListPacketsResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListPacketsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListPacketsResponse) org.yamcs.protobuf.Rest.ListPacketsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListPacketsResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListPacketsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListPacketsResponse.class, org.yamcs.protobuf.Rest.ListPacketsResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListPacketsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getPacketFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (packetBuilder_ == null) { packet_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { packetBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListPacketsResponse_descriptor; } public org.yamcs.protobuf.Rest.ListPacketsResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListPacketsResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListPacketsResponse build() { org.yamcs.protobuf.Rest.ListPacketsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListPacketsResponse buildPartial() { org.yamcs.protobuf.Rest.ListPacketsResponse result = new org.yamcs.protobuf.Rest.ListPacketsResponse(this); int from_bitField0_ = bitField0_; if (packetBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { packet_ = java.util.Collections.unmodifiableList(packet_); bitField0_ = (bitField0_ & ~0x00000001); } result.packet_ = packet_; } else { result.packet_ = packetBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListPacketsResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListPacketsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListPacketsResponse other) { if (other == org.yamcs.protobuf.Rest.ListPacketsResponse.getDefaultInstance()) return this; if (packetBuilder_ == null) { if (!other.packet_.isEmpty()) { if (packet_.isEmpty()) { packet_ = other.packet_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePacketIsMutable(); packet_.addAll(other.packet_); } onChanged(); } } else { if (!other.packet_.isEmpty()) { if (packetBuilder_.isEmpty()) { packetBuilder_.dispose(); packetBuilder_ = null; packet_ = other.packet_; bitField0_ = (bitField0_ & ~0x00000001); packetBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getPacketFieldBuilder() : null; } else { packetBuilder_.addAllMessages(other.packet_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { for (int i = 0; i < getPacketCount(); i++) { if (!getPacket(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListPacketsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListPacketsResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List packet_ = java.util.Collections.emptyList(); private void ensurePacketIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { packet_ = new java.util.ArrayList(packet_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.TmPacketData, org.yamcs.protobuf.Yamcs.TmPacketData.Builder, org.yamcs.protobuf.Yamcs.TmPacketDataOrBuilder> packetBuilder_; /** * repeated .yamcs.TmPacketData packet = 1; */ public java.util.List getPacketList() { if (packetBuilder_ == null) { return java.util.Collections.unmodifiableList(packet_); } else { return packetBuilder_.getMessageList(); } } /** * repeated .yamcs.TmPacketData packet = 1; */ public int getPacketCount() { if (packetBuilder_ == null) { return packet_.size(); } else { return packetBuilder_.getCount(); } } /** * repeated .yamcs.TmPacketData packet = 1; */ public org.yamcs.protobuf.Yamcs.TmPacketData getPacket(int index) { if (packetBuilder_ == null) { return packet_.get(index); } else { return packetBuilder_.getMessage(index); } } /** * repeated .yamcs.TmPacketData packet = 1; */ public Builder setPacket( int index, org.yamcs.protobuf.Yamcs.TmPacketData value) { if (packetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePacketIsMutable(); packet_.set(index, value); onChanged(); } else { packetBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcs.TmPacketData packet = 1; */ public Builder setPacket( int index, org.yamcs.protobuf.Yamcs.TmPacketData.Builder builderForValue) { if (packetBuilder_ == null) { ensurePacketIsMutable(); packet_.set(index, builderForValue.build()); onChanged(); } else { packetBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.TmPacketData packet = 1; */ public Builder addPacket(org.yamcs.protobuf.Yamcs.TmPacketData value) { if (packetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePacketIsMutable(); packet_.add(value); onChanged(); } else { packetBuilder_.addMessage(value); } return this; } /** * repeated .yamcs.TmPacketData packet = 1; */ public Builder addPacket( int index, org.yamcs.protobuf.Yamcs.TmPacketData value) { if (packetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePacketIsMutable(); packet_.add(index, value); onChanged(); } else { packetBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcs.TmPacketData packet = 1; */ public Builder addPacket( org.yamcs.protobuf.Yamcs.TmPacketData.Builder builderForValue) { if (packetBuilder_ == null) { ensurePacketIsMutable(); packet_.add(builderForValue.build()); onChanged(); } else { packetBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcs.TmPacketData packet = 1; */ public Builder addPacket( int index, org.yamcs.protobuf.Yamcs.TmPacketData.Builder builderForValue) { if (packetBuilder_ == null) { ensurePacketIsMutable(); packet_.add(index, builderForValue.build()); onChanged(); } else { packetBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcs.TmPacketData packet = 1; */ public Builder addAllPacket( java.lang.Iterable values) { if (packetBuilder_ == null) { ensurePacketIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packet_); onChanged(); } else { packetBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcs.TmPacketData packet = 1; */ public Builder clearPacket() { if (packetBuilder_ == null) { packet_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { packetBuilder_.clear(); } return this; } /** * repeated .yamcs.TmPacketData packet = 1; */ public Builder removePacket(int index) { if (packetBuilder_ == null) { ensurePacketIsMutable(); packet_.remove(index); onChanged(); } else { packetBuilder_.remove(index); } return this; } /** * repeated .yamcs.TmPacketData packet = 1; */ public org.yamcs.protobuf.Yamcs.TmPacketData.Builder getPacketBuilder( int index) { return getPacketFieldBuilder().getBuilder(index); } /** * repeated .yamcs.TmPacketData packet = 1; */ public org.yamcs.protobuf.Yamcs.TmPacketDataOrBuilder getPacketOrBuilder( int index) { if (packetBuilder_ == null) { return packet_.get(index); } else { return packetBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcs.TmPacketData packet = 1; */ public java.util.List getPacketOrBuilderList() { if (packetBuilder_ != null) { return packetBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(packet_); } } /** * repeated .yamcs.TmPacketData packet = 1; */ public org.yamcs.protobuf.Yamcs.TmPacketData.Builder addPacketBuilder() { return getPacketFieldBuilder().addBuilder( org.yamcs.protobuf.Yamcs.TmPacketData.getDefaultInstance()); } /** * repeated .yamcs.TmPacketData packet = 1; */ public org.yamcs.protobuf.Yamcs.TmPacketData.Builder addPacketBuilder( int index) { return getPacketFieldBuilder().addBuilder( index, org.yamcs.protobuf.Yamcs.TmPacketData.getDefaultInstance()); } /** * repeated .yamcs.TmPacketData packet = 1; */ public java.util.List getPacketBuilderList() { return getPacketFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.TmPacketData, org.yamcs.protobuf.Yamcs.TmPacketData.Builder, org.yamcs.protobuf.Yamcs.TmPacketDataOrBuilder> getPacketFieldBuilder() { if (packetBuilder_ == null) { packetBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Yamcs.TmPacketData, org.yamcs.protobuf.Yamcs.TmPacketData.Builder, org.yamcs.protobuf.Yamcs.TmPacketDataOrBuilder>( packet_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); packet_ = null; } return packetBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListPacketsResponse) } static { defaultInstance = new ListPacketsResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListPacketsResponse) } public interface ListServiceInfoResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.ListServiceInfoResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .yamcsManagement.ServiceInfo service = 1; */ java.util.List getServiceList(); /** * repeated .yamcsManagement.ServiceInfo service = 1; */ org.yamcs.protobuf.YamcsManagement.ServiceInfo getService(int index); /** * repeated .yamcsManagement.ServiceInfo service = 1; */ int getServiceCount(); /** * repeated .yamcsManagement.ServiceInfo service = 1; */ java.util.List getServiceOrBuilderList(); /** * repeated .yamcsManagement.ServiceInfo service = 1; */ org.yamcs.protobuf.YamcsManagement.ServiceInfoOrBuilder getServiceOrBuilder( int index); } /** * Protobuf type {@code parameters.ListServiceInfoResponse} */ public static final class ListServiceInfoResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.ListServiceInfoResponse) ListServiceInfoResponseOrBuilder { // Use ListServiceInfoResponse.newBuilder() to construct. private ListServiceInfoResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ListServiceInfoResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ListServiceInfoResponse defaultInstance; public static ListServiceInfoResponse getDefaultInstance() { return defaultInstance; } public ListServiceInfoResponse getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListServiceInfoResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { service_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } service_.add(input.readMessage(org.yamcs.protobuf.YamcsManagement.ServiceInfo.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { service_ = java.util.Collections.unmodifiableList(service_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListServiceInfoResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListServiceInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListServiceInfoResponse.class, org.yamcs.protobuf.Rest.ListServiceInfoResponse.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ListServiceInfoResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListServiceInfoResponse(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public static final int SERVICE_FIELD_NUMBER = 1; private java.util.List service_; /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public java.util.List getServiceList() { return service_; } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public java.util.List getServiceOrBuilderList() { return service_; } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public int getServiceCount() { return service_.size(); } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public org.yamcs.protobuf.YamcsManagement.ServiceInfo getService(int index) { return service_.get(index); } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public org.yamcs.protobuf.YamcsManagement.ServiceInfoOrBuilder getServiceOrBuilder( int index) { return service_.get(index); } private void initFields() { service_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < service_.size(); i++) { output.writeMessage(1, service_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < service_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, service_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.ListServiceInfoResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListServiceInfoResponse 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.Rest.ListServiceInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.ListServiceInfoResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListServiceInfoResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListServiceInfoResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListServiceInfoResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.ListServiceInfoResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.ListServiceInfoResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.ListServiceInfoResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.ListServiceInfoResponse prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.ListServiceInfoResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.ListServiceInfoResponse) org.yamcs.protobuf.Rest.ListServiceInfoResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListServiceInfoResponse_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListServiceInfoResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.ListServiceInfoResponse.class, org.yamcs.protobuf.Rest.ListServiceInfoResponse.Builder.class); } // Construct using org.yamcs.protobuf.Rest.ListServiceInfoResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getServiceFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (serviceBuilder_ == null) { service_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { serviceBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_ListServiceInfoResponse_descriptor; } public org.yamcs.protobuf.Rest.ListServiceInfoResponse getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.ListServiceInfoResponse.getDefaultInstance(); } public org.yamcs.protobuf.Rest.ListServiceInfoResponse build() { org.yamcs.protobuf.Rest.ListServiceInfoResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.ListServiceInfoResponse buildPartial() { org.yamcs.protobuf.Rest.ListServiceInfoResponse result = new org.yamcs.protobuf.Rest.ListServiceInfoResponse(this); int from_bitField0_ = bitField0_; if (serviceBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { service_ = java.util.Collections.unmodifiableList(service_); bitField0_ = (bitField0_ & ~0x00000001); } result.service_ = service_; } else { result.service_ = serviceBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.ListServiceInfoResponse) { return mergeFrom((org.yamcs.protobuf.Rest.ListServiceInfoResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.ListServiceInfoResponse other) { if (other == org.yamcs.protobuf.Rest.ListServiceInfoResponse.getDefaultInstance()) return this; if (serviceBuilder_ == null) { if (!other.service_.isEmpty()) { if (service_.isEmpty()) { service_ = other.service_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureServiceIsMutable(); service_.addAll(other.service_); } onChanged(); } } else { if (!other.service_.isEmpty()) { if (serviceBuilder_.isEmpty()) { serviceBuilder_.dispose(); serviceBuilder_ = null; service_ = other.service_; bitField0_ = (bitField0_ & ~0x00000001); serviceBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getServiceFieldBuilder() : null; } else { serviceBuilder_.addAllMessages(other.service_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.ListServiceInfoResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.ListServiceInfoResponse) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List service_ = java.util.Collections.emptyList(); private void ensureServiceIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { service_ = new java.util.ArrayList(service_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.ServiceInfo, org.yamcs.protobuf.YamcsManagement.ServiceInfo.Builder, org.yamcs.protobuf.YamcsManagement.ServiceInfoOrBuilder> serviceBuilder_; /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public java.util.List getServiceList() { if (serviceBuilder_ == null) { return java.util.Collections.unmodifiableList(service_); } else { return serviceBuilder_.getMessageList(); } } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public int getServiceCount() { if (serviceBuilder_ == null) { return service_.size(); } else { return serviceBuilder_.getCount(); } } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public org.yamcs.protobuf.YamcsManagement.ServiceInfo getService(int index) { if (serviceBuilder_ == null) { return service_.get(index); } else { return serviceBuilder_.getMessage(index); } } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public Builder setService( int index, org.yamcs.protobuf.YamcsManagement.ServiceInfo value) { if (serviceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServiceIsMutable(); service_.set(index, value); onChanged(); } else { serviceBuilder_.setMessage(index, value); } return this; } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public Builder setService( int index, org.yamcs.protobuf.YamcsManagement.ServiceInfo.Builder builderForValue) { if (serviceBuilder_ == null) { ensureServiceIsMutable(); service_.set(index, builderForValue.build()); onChanged(); } else { serviceBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public Builder addService(org.yamcs.protobuf.YamcsManagement.ServiceInfo value) { if (serviceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServiceIsMutable(); service_.add(value); onChanged(); } else { serviceBuilder_.addMessage(value); } return this; } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public Builder addService( int index, org.yamcs.protobuf.YamcsManagement.ServiceInfo value) { if (serviceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServiceIsMutable(); service_.add(index, value); onChanged(); } else { serviceBuilder_.addMessage(index, value); } return this; } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public Builder addService( org.yamcs.protobuf.YamcsManagement.ServiceInfo.Builder builderForValue) { if (serviceBuilder_ == null) { ensureServiceIsMutable(); service_.add(builderForValue.build()); onChanged(); } else { serviceBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public Builder addService( int index, org.yamcs.protobuf.YamcsManagement.ServiceInfo.Builder builderForValue) { if (serviceBuilder_ == null) { ensureServiceIsMutable(); service_.add(index, builderForValue.build()); onChanged(); } else { serviceBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public Builder addAllService( java.lang.Iterable values) { if (serviceBuilder_ == null) { ensureServiceIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, service_); onChanged(); } else { serviceBuilder_.addAllMessages(values); } return this; } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public Builder clearService() { if (serviceBuilder_ == null) { service_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { serviceBuilder_.clear(); } return this; } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public Builder removeService(int index) { if (serviceBuilder_ == null) { ensureServiceIsMutable(); service_.remove(index); onChanged(); } else { serviceBuilder_.remove(index); } return this; } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public org.yamcs.protobuf.YamcsManagement.ServiceInfo.Builder getServiceBuilder( int index) { return getServiceFieldBuilder().getBuilder(index); } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public org.yamcs.protobuf.YamcsManagement.ServiceInfoOrBuilder getServiceOrBuilder( int index) { if (serviceBuilder_ == null) { return service_.get(index); } else { return serviceBuilder_.getMessageOrBuilder(index); } } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public java.util.List getServiceOrBuilderList() { if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(service_); } } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public org.yamcs.protobuf.YamcsManagement.ServiceInfo.Builder addServiceBuilder() { return getServiceFieldBuilder().addBuilder( org.yamcs.protobuf.YamcsManagement.ServiceInfo.getDefaultInstance()); } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public org.yamcs.protobuf.YamcsManagement.ServiceInfo.Builder addServiceBuilder( int index) { return getServiceFieldBuilder().addBuilder( index, org.yamcs.protobuf.YamcsManagement.ServiceInfo.getDefaultInstance()); } /** * repeated .yamcsManagement.ServiceInfo service = 1; */ public java.util.List getServiceBuilderList() { return getServiceFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.ServiceInfo, org.yamcs.protobuf.YamcsManagement.ServiceInfo.Builder, org.yamcs.protobuf.YamcsManagement.ServiceInfoOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { serviceBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.YamcsManagement.ServiceInfo, org.yamcs.protobuf.YamcsManagement.ServiceInfo.Builder, org.yamcs.protobuf.YamcsManagement.ServiceInfoOrBuilder>( service_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); service_ = null; } return serviceBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.ListServiceInfoResponse) } static { defaultInstance = new ListServiceInfoResponse(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.ListServiceInfoResponse) } public interface EditServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.EditServiceRequest) com.google.protobuf.MessageOrBuilder { /** * optional string state = 1; */ boolean hasState(); /** * optional string state = 1; */ java.lang.String getState(); /** * optional string state = 1; */ com.google.protobuf.ByteString getStateBytes(); } /** * Protobuf type {@code parameters.EditServiceRequest} */ public static final class EditServiceRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.EditServiceRequest) EditServiceRequestOrBuilder { // Use EditServiceRequest.newBuilder() to construct. private EditServiceRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private EditServiceRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final EditServiceRequest defaultInstance; public static EditServiceRequest getDefaultInstance() { return defaultInstance; } public EditServiceRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EditServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; state_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditServiceRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditServiceRequest.class, org.yamcs.protobuf.Rest.EditServiceRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public EditServiceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EditServiceRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int STATE_FIELD_NUMBER = 1; private java.lang.Object state_; /** * optional string state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string state = 1; */ public java.lang.String getState() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { state_ = s; } return s; } } /** * optional string state = 1; */ public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { state_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getStateBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getStateBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.EditServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditServiceRequest 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.Rest.EditServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.EditServiceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditServiceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditServiceRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditServiceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.EditServiceRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.EditServiceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.EditServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.EditServiceRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.EditServiceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.EditServiceRequest) org.yamcs.protobuf.Rest.EditServiceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditServiceRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.EditServiceRequest.class, org.yamcs.protobuf.Rest.EditServiceRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.EditServiceRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); state_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_EditServiceRequest_descriptor; } public org.yamcs.protobuf.Rest.EditServiceRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.EditServiceRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.EditServiceRequest build() { org.yamcs.protobuf.Rest.EditServiceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.EditServiceRequest buildPartial() { org.yamcs.protobuf.Rest.EditServiceRequest result = new org.yamcs.protobuf.Rest.EditServiceRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.state_ = state_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.EditServiceRequest) { return mergeFrom((org.yamcs.protobuf.Rest.EditServiceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.EditServiceRequest other) { if (other == org.yamcs.protobuf.Rest.EditServiceRequest.getDefaultInstance()) return this; if (other.hasState()) { bitField0_ |= 0x00000001; state_ = other.state_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.EditServiceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.EditServiceRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object state_ = ""; /** * optional string state = 1; */ public boolean hasState() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string state = 1; */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { state_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string state = 1; */ public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string state = 1; */ public Builder setState( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value; onChanged(); return this; } /** * optional string state = 1; */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000001); state_ = getDefaultInstance().getState(); onChanged(); return this; } /** * optional string state = 1; */ public Builder setStateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; state_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.EditServiceRequest) } static { defaultInstance = new EditServiceRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.EditServiceRequest) } public interface BulkGetIndexRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.BulkGetIndexRequest) com.google.protobuf.MessageOrBuilder { /** * optional string start = 1; */ boolean hasStart(); /** * optional string start = 1; */ java.lang.String getStart(); /** * optional string start = 1; */ com.google.protobuf.ByteString getStartBytes(); /** * optional string stop = 2; */ boolean hasStop(); /** * optional string stop = 2; */ java.lang.String getStop(); /** * optional string stop = 2; */ com.google.protobuf.ByteString getStopBytes(); /** * repeated string filter = 3; */ com.google.protobuf.ProtocolStringList getFilterList(); /** * repeated string filter = 3; */ int getFilterCount(); /** * repeated string filter = 3; */ java.lang.String getFilter(int index); /** * repeated string filter = 3; */ com.google.protobuf.ByteString getFilterBytes(int index); /** * repeated string packetname = 4; */ com.google.protobuf.ProtocolStringList getPacketnameList(); /** * repeated string packetname = 4; */ int getPacketnameCount(); /** * repeated string packetname = 4; */ java.lang.String getPacketname(int index); /** * repeated string packetname = 4; */ com.google.protobuf.ByteString getPacketnameBytes(int index); } /** * Protobuf type {@code parameters.BulkGetIndexRequest} */ public static final class BulkGetIndexRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.BulkGetIndexRequest) BulkGetIndexRequestOrBuilder { // Use BulkGetIndexRequest.newBuilder() to construct. private BulkGetIndexRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private BulkGetIndexRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final BulkGetIndexRequest defaultInstance; public static BulkGetIndexRequest getDefaultInstance() { return defaultInstance; } public BulkGetIndexRequest getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkGetIndexRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; start_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; stop_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { filter_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } filter_.add(bs); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { packetname_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000008; } packetname_.add(bs); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { filter_ = filter_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { packetname_ = packetname_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetIndexRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.BulkGetIndexRequest.class, org.yamcs.protobuf.Rest.BulkGetIndexRequest.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BulkGetIndexRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkGetIndexRequest(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int START_FIELD_NUMBER = 1; private java.lang.Object start_; /** * optional string start = 1; */ public boolean hasStart() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string start = 1; */ public java.lang.String getStart() { java.lang.Object ref = start_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { start_ = s; } return s; } } /** * optional string start = 1; */ public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); start_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STOP_FIELD_NUMBER = 2; private java.lang.Object stop_; /** * optional string stop = 2; */ public boolean hasStop() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string stop = 2; */ public java.lang.String getStop() { java.lang.Object ref = stop_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stop_ = s; } return s; } } /** * optional string stop = 2; */ public com.google.protobuf.ByteString getStopBytes() { java.lang.Object ref = stop_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILTER_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList filter_; /** * repeated string filter = 3; */ public com.google.protobuf.ProtocolStringList getFilterList() { return filter_; } /** * repeated string filter = 3; */ public int getFilterCount() { return filter_.size(); } /** * repeated string filter = 3; */ public java.lang.String getFilter(int index) { return filter_.get(index); } /** * repeated string filter = 3; */ public com.google.protobuf.ByteString getFilterBytes(int index) { return filter_.getByteString(index); } public static final int PACKETNAME_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList packetname_; /** * repeated string packetname = 4; */ public com.google.protobuf.ProtocolStringList getPacketnameList() { return packetname_; } /** * repeated string packetname = 4; */ public int getPacketnameCount() { return packetname_.size(); } /** * repeated string packetname = 4; */ public java.lang.String getPacketname(int index) { return packetname_.get(index); } /** * repeated string packetname = 4; */ public com.google.protobuf.ByteString getPacketnameBytes(int index) { return packetname_.getByteString(index); } private void initFields() { start_ = ""; stop_ = ""; filter_ = com.google.protobuf.LazyStringArrayList.EMPTY; packetname_ = com.google.protobuf.LazyStringArrayList.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getStartBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getStopBytes()); } for (int i = 0; i < filter_.size(); i++) { output.writeBytes(3, filter_.getByteString(i)); } for (int i = 0; i < packetname_.size(); i++) { output.writeBytes(4, packetname_.getByteString(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getStartBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getStopBytes()); } { int dataSize = 0; for (int i = 0; i < filter_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(filter_.getByteString(i)); } size += dataSize; size += 1 * getFilterList().size(); } { int dataSize = 0; for (int i = 0; i < packetname_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(packetname_.getByteString(i)); } size += dataSize; size += 1 * getPacketnameList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.BulkGetIndexRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.BulkGetIndexRequest 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.Rest.BulkGetIndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.BulkGetIndexRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkGetIndexRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.BulkGetIndexRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkGetIndexRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.BulkGetIndexRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.BulkGetIndexRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.BulkGetIndexRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.BulkGetIndexRequest prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.BulkGetIndexRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.BulkGetIndexRequest) org.yamcs.protobuf.Rest.BulkGetIndexRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetIndexRequest_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.BulkGetIndexRequest.class, org.yamcs.protobuf.Rest.BulkGetIndexRequest.Builder.class); } // Construct using org.yamcs.protobuf.Rest.BulkGetIndexRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); start_ = ""; bitField0_ = (bitField0_ & ~0x00000001); stop_ = ""; bitField0_ = (bitField0_ & ~0x00000002); filter_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); packetname_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_BulkGetIndexRequest_descriptor; } public org.yamcs.protobuf.Rest.BulkGetIndexRequest getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.BulkGetIndexRequest.getDefaultInstance(); } public org.yamcs.protobuf.Rest.BulkGetIndexRequest build() { org.yamcs.protobuf.Rest.BulkGetIndexRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.BulkGetIndexRequest buildPartial() { org.yamcs.protobuf.Rest.BulkGetIndexRequest result = new org.yamcs.protobuf.Rest.BulkGetIndexRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.start_ = start_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.stop_ = stop_; if (((bitField0_ & 0x00000004) == 0x00000004)) { filter_ = filter_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.filter_ = filter_; if (((bitField0_ & 0x00000008) == 0x00000008)) { packetname_ = packetname_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); } result.packetname_ = packetname_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.BulkGetIndexRequest) { return mergeFrom((org.yamcs.protobuf.Rest.BulkGetIndexRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.BulkGetIndexRequest other) { if (other == org.yamcs.protobuf.Rest.BulkGetIndexRequest.getDefaultInstance()) return this; if (other.hasStart()) { bitField0_ |= 0x00000001; start_ = other.start_; onChanged(); } if (other.hasStop()) { bitField0_ |= 0x00000002; stop_ = other.stop_; onChanged(); } if (!other.filter_.isEmpty()) { if (filter_.isEmpty()) { filter_ = other.filter_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureFilterIsMutable(); filter_.addAll(other.filter_); } onChanged(); } if (!other.packetname_.isEmpty()) { if (packetname_.isEmpty()) { packetname_ = other.packetname_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensurePacketnameIsMutable(); packetname_.addAll(other.packetname_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.BulkGetIndexRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.BulkGetIndexRequest) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object start_ = ""; /** * optional string start = 1; */ public boolean hasStart() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string start = 1; */ public java.lang.String getStart() { java.lang.Object ref = start_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { start_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string start = 1; */ public com.google.protobuf.ByteString getStartBytes() { java.lang.Object ref = start_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); start_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string start = 1; */ public Builder setStart( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; start_ = value; onChanged(); return this; } /** * optional string start = 1; */ public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000001); start_ = getDefaultInstance().getStart(); onChanged(); return this; } /** * optional string start = 1; */ public Builder setStartBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; start_ = value; onChanged(); return this; } private java.lang.Object stop_ = ""; /** * optional string stop = 2; */ public boolean hasStop() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string stop = 2; */ public java.lang.String getStop() { java.lang.Object ref = stop_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { stop_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string stop = 2; */ public com.google.protobuf.ByteString getStopBytes() { java.lang.Object ref = stop_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string stop = 2; */ public Builder setStop( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; stop_ = value; onChanged(); return this; } /** * optional string stop = 2; */ public Builder clearStop() { bitField0_ = (bitField0_ & ~0x00000002); stop_ = getDefaultInstance().getStop(); onChanged(); return this; } /** * optional string stop = 2; */ public Builder setStopBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; stop_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList filter_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFilterIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { filter_ = new com.google.protobuf.LazyStringArrayList(filter_); bitField0_ |= 0x00000004; } } /** * repeated string filter = 3; */ public com.google.protobuf.ProtocolStringList getFilterList() { return filter_.getUnmodifiableView(); } /** * repeated string filter = 3; */ public int getFilterCount() { return filter_.size(); } /** * repeated string filter = 3; */ public java.lang.String getFilter(int index) { return filter_.get(index); } /** * repeated string filter = 3; */ public com.google.protobuf.ByteString getFilterBytes(int index) { return filter_.getByteString(index); } /** * repeated string filter = 3; */ public Builder setFilter( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFilterIsMutable(); filter_.set(index, value); onChanged(); return this; } /** * repeated string filter = 3; */ public Builder addFilter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFilterIsMutable(); filter_.add(value); onChanged(); return this; } /** * repeated string filter = 3; */ public Builder addAllFilter( java.lang.Iterable values) { ensureFilterIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, filter_); onChanged(); return this; } /** * repeated string filter = 3; */ public Builder clearFilter() { filter_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * repeated string filter = 3; */ public Builder addFilterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureFilterIsMutable(); filter_.add(value); onChanged(); return this; } private com.google.protobuf.LazyStringList packetname_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePacketnameIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { packetname_ = new com.google.protobuf.LazyStringArrayList(packetname_); bitField0_ |= 0x00000008; } } /** * repeated string packetname = 4; */ public com.google.protobuf.ProtocolStringList getPacketnameList() { return packetname_.getUnmodifiableView(); } /** * repeated string packetname = 4; */ public int getPacketnameCount() { return packetname_.size(); } /** * repeated string packetname = 4; */ public java.lang.String getPacketname(int index) { return packetname_.get(index); } /** * repeated string packetname = 4; */ public com.google.protobuf.ByteString getPacketnameBytes(int index) { return packetname_.getByteString(index); } /** * repeated string packetname = 4; */ public Builder setPacketname( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePacketnameIsMutable(); packetname_.set(index, value); onChanged(); return this; } /** * repeated string packetname = 4; */ public Builder addPacketname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePacketnameIsMutable(); packetname_.add(value); onChanged(); return this; } /** * repeated string packetname = 4; */ public Builder addAllPacketname( java.lang.Iterable values) { ensurePacketnameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packetname_); onChanged(); return this; } /** * repeated string packetname = 4; */ public Builder clearPacketname() { packetname_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * repeated string packetname = 4; */ public Builder addPacketnameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePacketnameIsMutable(); packetname_.add(value); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.BulkGetIndexRequest) } static { defaultInstance = new BulkGetIndexRequest(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.BulkGetIndexRequest) } public interface DisplayFolderOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.DisplayFolder) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string path = 2; */ boolean hasPath(); /** * optional string path = 2; */ java.lang.String getPath(); /** * optional string path = 2; */ com.google.protobuf.ByteString getPathBytes(); /** * repeated .parameters.DisplayFolder folder = 3; */ java.util.List getFolderList(); /** * repeated .parameters.DisplayFolder folder = 3; */ org.yamcs.protobuf.Rest.DisplayFolder getFolder(int index); /** * repeated .parameters.DisplayFolder folder = 3; */ int getFolderCount(); /** * repeated .parameters.DisplayFolder folder = 3; */ java.util.List getFolderOrBuilderList(); /** * repeated .parameters.DisplayFolder folder = 3; */ org.yamcs.protobuf.Rest.DisplayFolderOrBuilder getFolderOrBuilder( int index); /** * repeated .parameters.DisplayFile file = 4; */ java.util.List getFileList(); /** * repeated .parameters.DisplayFile file = 4; */ org.yamcs.protobuf.Rest.DisplayFile getFile(int index); /** * repeated .parameters.DisplayFile file = 4; */ int getFileCount(); /** * repeated .parameters.DisplayFile file = 4; */ java.util.List getFileOrBuilderList(); /** * repeated .parameters.DisplayFile file = 4; */ org.yamcs.protobuf.Rest.DisplayFileOrBuilder getFileOrBuilder( int index); } /** * Protobuf type {@code parameters.DisplayFolder} */ public static final class DisplayFolder extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.DisplayFolder) DisplayFolderOrBuilder { // Use DisplayFolder.newBuilder() to construct. private DisplayFolder(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private DisplayFolder(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final DisplayFolder defaultInstance; public static DisplayFolder getDefaultInstance() { return defaultInstance; } public DisplayFolder getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DisplayFolder( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { 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; path_ = bs; break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { folder_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } folder_.add(input.readMessage(org.yamcs.protobuf.Rest.DisplayFolder.PARSER, extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { file_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } file_.add(input.readMessage(org.yamcs.protobuf.Rest.DisplayFile.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { folder_ = java.util.Collections.unmodifiableList(folder_); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { file_ = java.util.Collections.unmodifiableList(file_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_DisplayFolder_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_DisplayFolder_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.DisplayFolder.class, org.yamcs.protobuf.Rest.DisplayFolder.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public DisplayFolder parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DisplayFolder(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 2; private java.lang.Object path_; /** * optional string path = 2; */ public boolean hasPath() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string path = 2; */ public java.lang.String getPath() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { path_ = s; } return s; } } /** * optional string path = 2; */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FOLDER_FIELD_NUMBER = 3; private java.util.List folder_; /** * repeated .parameters.DisplayFolder folder = 3; */ public java.util.List getFolderList() { return folder_; } /** * repeated .parameters.DisplayFolder folder = 3; */ public java.util.List getFolderOrBuilderList() { return folder_; } /** * repeated .parameters.DisplayFolder folder = 3; */ public int getFolderCount() { return folder_.size(); } /** * repeated .parameters.DisplayFolder folder = 3; */ public org.yamcs.protobuf.Rest.DisplayFolder getFolder(int index) { return folder_.get(index); } /** * repeated .parameters.DisplayFolder folder = 3; */ public org.yamcs.protobuf.Rest.DisplayFolderOrBuilder getFolderOrBuilder( int index) { return folder_.get(index); } public static final int FILE_FIELD_NUMBER = 4; private java.util.List file_; /** * repeated .parameters.DisplayFile file = 4; */ public java.util.List getFileList() { return file_; } /** * repeated .parameters.DisplayFile file = 4; */ public java.util.List getFileOrBuilderList() { return file_; } /** * repeated .parameters.DisplayFile file = 4; */ public int getFileCount() { return file_.size(); } /** * repeated .parameters.DisplayFile file = 4; */ public org.yamcs.protobuf.Rest.DisplayFile getFile(int index) { return file_.get(index); } /** * repeated .parameters.DisplayFile file = 4; */ public org.yamcs.protobuf.Rest.DisplayFileOrBuilder getFileOrBuilder( int index) { return file_.get(index); } private void initFields() { name_ = ""; path_ = ""; folder_ = java.util.Collections.emptyList(); file_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getPathBytes()); } for (int i = 0; i < folder_.size(); i++) { output.writeMessage(3, folder_.get(i)); } for (int i = 0; i < file_.size(); i++) { output.writeMessage(4, file_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getPathBytes()); } for (int i = 0; i < folder_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, folder_.get(i)); } for (int i = 0; i < file_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, file_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.DisplayFolder parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.DisplayFolder 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.Rest.DisplayFolder parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.DisplayFolder parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.DisplayFolder parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.DisplayFolder parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.DisplayFolder parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.DisplayFolder parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.DisplayFolder parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.DisplayFolder parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.DisplayFolder prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.DisplayFolder} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.DisplayFolder) org.yamcs.protobuf.Rest.DisplayFolderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_DisplayFolder_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_DisplayFolder_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.DisplayFolder.class, org.yamcs.protobuf.Rest.DisplayFolder.Builder.class); } // Construct using org.yamcs.protobuf.Rest.DisplayFolder.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getFolderFieldBuilder(); getFileFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); path_ = ""; bitField0_ = (bitField0_ & ~0x00000002); if (folderBuilder_ == null) { folder_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { folderBuilder_.clear(); } if (fileBuilder_ == null) { file_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { fileBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_DisplayFolder_descriptor; } public org.yamcs.protobuf.Rest.DisplayFolder getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.DisplayFolder.getDefaultInstance(); } public org.yamcs.protobuf.Rest.DisplayFolder build() { org.yamcs.protobuf.Rest.DisplayFolder result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.DisplayFolder buildPartial() { org.yamcs.protobuf.Rest.DisplayFolder result = new org.yamcs.protobuf.Rest.DisplayFolder(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.path_ = path_; if (folderBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { folder_ = java.util.Collections.unmodifiableList(folder_); bitField0_ = (bitField0_ & ~0x00000004); } result.folder_ = folder_; } else { result.folder_ = folderBuilder_.build(); } if (fileBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { file_ = java.util.Collections.unmodifiableList(file_); bitField0_ = (bitField0_ & ~0x00000008); } result.file_ = file_; } else { result.file_ = fileBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.DisplayFolder) { return mergeFrom((org.yamcs.protobuf.Rest.DisplayFolder)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.DisplayFolder other) { if (other == org.yamcs.protobuf.Rest.DisplayFolder.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasPath()) { bitField0_ |= 0x00000002; path_ = other.path_; onChanged(); } if (folderBuilder_ == null) { if (!other.folder_.isEmpty()) { if (folder_.isEmpty()) { folder_ = other.folder_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureFolderIsMutable(); folder_.addAll(other.folder_); } onChanged(); } } else { if (!other.folder_.isEmpty()) { if (folderBuilder_.isEmpty()) { folderBuilder_.dispose(); folderBuilder_ = null; folder_ = other.folder_; bitField0_ = (bitField0_ & ~0x00000004); folderBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getFolderFieldBuilder() : null; } else { folderBuilder_.addAllMessages(other.folder_); } } } if (fileBuilder_ == null) { if (!other.file_.isEmpty()) { if (file_.isEmpty()) { file_ = other.file_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureFileIsMutable(); file_.addAll(other.file_); } onChanged(); } } else { if (!other.file_.isEmpty()) { if (fileBuilder_.isEmpty()) { fileBuilder_.dispose(); fileBuilder_ = null; file_ = other.file_; bitField0_ = (bitField0_ & ~0x00000008); fileBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getFileFieldBuilder() : null; } else { fileBuilder_.addAllMessages(other.file_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.DisplayFolder parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.DisplayFolder) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object path_ = ""; /** * optional string path = 2; */ public boolean hasPath() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string path = 2; */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { path_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string path = 2; */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string path = 2; */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; path_ = value; onChanged(); return this; } /** * optional string path = 2; */ public Builder clearPath() { bitField0_ = (bitField0_ & ~0x00000002); path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * optional string path = 2; */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; path_ = value; onChanged(); return this; } private java.util.List folder_ = java.util.Collections.emptyList(); private void ensureFolderIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { folder_ = new java.util.ArrayList(folder_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.DisplayFolder, org.yamcs.protobuf.Rest.DisplayFolder.Builder, org.yamcs.protobuf.Rest.DisplayFolderOrBuilder> folderBuilder_; /** * repeated .parameters.DisplayFolder folder = 3; */ public java.util.List getFolderList() { if (folderBuilder_ == null) { return java.util.Collections.unmodifiableList(folder_); } else { return folderBuilder_.getMessageList(); } } /** * repeated .parameters.DisplayFolder folder = 3; */ public int getFolderCount() { if (folderBuilder_ == null) { return folder_.size(); } else { return folderBuilder_.getCount(); } } /** * repeated .parameters.DisplayFolder folder = 3; */ public org.yamcs.protobuf.Rest.DisplayFolder getFolder(int index) { if (folderBuilder_ == null) { return folder_.get(index); } else { return folderBuilder_.getMessage(index); } } /** * repeated .parameters.DisplayFolder folder = 3; */ public Builder setFolder( int index, org.yamcs.protobuf.Rest.DisplayFolder value) { if (folderBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFolderIsMutable(); folder_.set(index, value); onChanged(); } else { folderBuilder_.setMessage(index, value); } return this; } /** * repeated .parameters.DisplayFolder folder = 3; */ public Builder setFolder( int index, org.yamcs.protobuf.Rest.DisplayFolder.Builder builderForValue) { if (folderBuilder_ == null) { ensureFolderIsMutable(); folder_.set(index, builderForValue.build()); onChanged(); } else { folderBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .parameters.DisplayFolder folder = 3; */ public Builder addFolder(org.yamcs.protobuf.Rest.DisplayFolder value) { if (folderBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFolderIsMutable(); folder_.add(value); onChanged(); } else { folderBuilder_.addMessage(value); } return this; } /** * repeated .parameters.DisplayFolder folder = 3; */ public Builder addFolder( int index, org.yamcs.protobuf.Rest.DisplayFolder value) { if (folderBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFolderIsMutable(); folder_.add(index, value); onChanged(); } else { folderBuilder_.addMessage(index, value); } return this; } /** * repeated .parameters.DisplayFolder folder = 3; */ public Builder addFolder( org.yamcs.protobuf.Rest.DisplayFolder.Builder builderForValue) { if (folderBuilder_ == null) { ensureFolderIsMutable(); folder_.add(builderForValue.build()); onChanged(); } else { folderBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .parameters.DisplayFolder folder = 3; */ public Builder addFolder( int index, org.yamcs.protobuf.Rest.DisplayFolder.Builder builderForValue) { if (folderBuilder_ == null) { ensureFolderIsMutable(); folder_.add(index, builderForValue.build()); onChanged(); } else { folderBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .parameters.DisplayFolder folder = 3; */ public Builder addAllFolder( java.lang.Iterable values) { if (folderBuilder_ == null) { ensureFolderIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, folder_); onChanged(); } else { folderBuilder_.addAllMessages(values); } return this; } /** * repeated .parameters.DisplayFolder folder = 3; */ public Builder clearFolder() { if (folderBuilder_ == null) { folder_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { folderBuilder_.clear(); } return this; } /** * repeated .parameters.DisplayFolder folder = 3; */ public Builder removeFolder(int index) { if (folderBuilder_ == null) { ensureFolderIsMutable(); folder_.remove(index); onChanged(); } else { folderBuilder_.remove(index); } return this; } /** * repeated .parameters.DisplayFolder folder = 3; */ public org.yamcs.protobuf.Rest.DisplayFolder.Builder getFolderBuilder( int index) { return getFolderFieldBuilder().getBuilder(index); } /** * repeated .parameters.DisplayFolder folder = 3; */ public org.yamcs.protobuf.Rest.DisplayFolderOrBuilder getFolderOrBuilder( int index) { if (folderBuilder_ == null) { return folder_.get(index); } else { return folderBuilder_.getMessageOrBuilder(index); } } /** * repeated .parameters.DisplayFolder folder = 3; */ public java.util.List getFolderOrBuilderList() { if (folderBuilder_ != null) { return folderBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(folder_); } } /** * repeated .parameters.DisplayFolder folder = 3; */ public org.yamcs.protobuf.Rest.DisplayFolder.Builder addFolderBuilder() { return getFolderFieldBuilder().addBuilder( org.yamcs.protobuf.Rest.DisplayFolder.getDefaultInstance()); } /** * repeated .parameters.DisplayFolder folder = 3; */ public org.yamcs.protobuf.Rest.DisplayFolder.Builder addFolderBuilder( int index) { return getFolderFieldBuilder().addBuilder( index, org.yamcs.protobuf.Rest.DisplayFolder.getDefaultInstance()); } /** * repeated .parameters.DisplayFolder folder = 3; */ public java.util.List getFolderBuilderList() { return getFolderFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.DisplayFolder, org.yamcs.protobuf.Rest.DisplayFolder.Builder, org.yamcs.protobuf.Rest.DisplayFolderOrBuilder> getFolderFieldBuilder() { if (folderBuilder_ == null) { folderBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.DisplayFolder, org.yamcs.protobuf.Rest.DisplayFolder.Builder, org.yamcs.protobuf.Rest.DisplayFolderOrBuilder>( folder_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); folder_ = null; } return folderBuilder_; } private java.util.List file_ = java.util.Collections.emptyList(); private void ensureFileIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { file_ = new java.util.ArrayList(file_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.DisplayFile, org.yamcs.protobuf.Rest.DisplayFile.Builder, org.yamcs.protobuf.Rest.DisplayFileOrBuilder> fileBuilder_; /** * repeated .parameters.DisplayFile file = 4; */ public java.util.List getFileList() { if (fileBuilder_ == null) { return java.util.Collections.unmodifiableList(file_); } else { return fileBuilder_.getMessageList(); } } /** * repeated .parameters.DisplayFile file = 4; */ public int getFileCount() { if (fileBuilder_ == null) { return file_.size(); } else { return fileBuilder_.getCount(); } } /** * repeated .parameters.DisplayFile file = 4; */ public org.yamcs.protobuf.Rest.DisplayFile getFile(int index) { if (fileBuilder_ == null) { return file_.get(index); } else { return fileBuilder_.getMessage(index); } } /** * repeated .parameters.DisplayFile file = 4; */ public Builder setFile( int index, org.yamcs.protobuf.Rest.DisplayFile value) { if (fileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFileIsMutable(); file_.set(index, value); onChanged(); } else { fileBuilder_.setMessage(index, value); } return this; } /** * repeated .parameters.DisplayFile file = 4; */ public Builder setFile( int index, org.yamcs.protobuf.Rest.DisplayFile.Builder builderForValue) { if (fileBuilder_ == null) { ensureFileIsMutable(); file_.set(index, builderForValue.build()); onChanged(); } else { fileBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .parameters.DisplayFile file = 4; */ public Builder addFile(org.yamcs.protobuf.Rest.DisplayFile value) { if (fileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFileIsMutable(); file_.add(value); onChanged(); } else { fileBuilder_.addMessage(value); } return this; } /** * repeated .parameters.DisplayFile file = 4; */ public Builder addFile( int index, org.yamcs.protobuf.Rest.DisplayFile value) { if (fileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFileIsMutable(); file_.add(index, value); onChanged(); } else { fileBuilder_.addMessage(index, value); } return this; } /** * repeated .parameters.DisplayFile file = 4; */ public Builder addFile( org.yamcs.protobuf.Rest.DisplayFile.Builder builderForValue) { if (fileBuilder_ == null) { ensureFileIsMutable(); file_.add(builderForValue.build()); onChanged(); } else { fileBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .parameters.DisplayFile file = 4; */ public Builder addFile( int index, org.yamcs.protobuf.Rest.DisplayFile.Builder builderForValue) { if (fileBuilder_ == null) { ensureFileIsMutable(); file_.add(index, builderForValue.build()); onChanged(); } else { fileBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .parameters.DisplayFile file = 4; */ public Builder addAllFile( java.lang.Iterable values) { if (fileBuilder_ == null) { ensureFileIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, file_); onChanged(); } else { fileBuilder_.addAllMessages(values); } return this; } /** * repeated .parameters.DisplayFile file = 4; */ public Builder clearFile() { if (fileBuilder_ == null) { file_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { fileBuilder_.clear(); } return this; } /** * repeated .parameters.DisplayFile file = 4; */ public Builder removeFile(int index) { if (fileBuilder_ == null) { ensureFileIsMutable(); file_.remove(index); onChanged(); } else { fileBuilder_.remove(index); } return this; } /** * repeated .parameters.DisplayFile file = 4; */ public org.yamcs.protobuf.Rest.DisplayFile.Builder getFileBuilder( int index) { return getFileFieldBuilder().getBuilder(index); } /** * repeated .parameters.DisplayFile file = 4; */ public org.yamcs.protobuf.Rest.DisplayFileOrBuilder getFileOrBuilder( int index) { if (fileBuilder_ == null) { return file_.get(index); } else { return fileBuilder_.getMessageOrBuilder(index); } } /** * repeated .parameters.DisplayFile file = 4; */ public java.util.List getFileOrBuilderList() { if (fileBuilder_ != null) { return fileBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(file_); } } /** * repeated .parameters.DisplayFile file = 4; */ public org.yamcs.protobuf.Rest.DisplayFile.Builder addFileBuilder() { return getFileFieldBuilder().addBuilder( org.yamcs.protobuf.Rest.DisplayFile.getDefaultInstance()); } /** * repeated .parameters.DisplayFile file = 4; */ public org.yamcs.protobuf.Rest.DisplayFile.Builder addFileBuilder( int index) { return getFileFieldBuilder().addBuilder( index, org.yamcs.protobuf.Rest.DisplayFile.getDefaultInstance()); } /** * repeated .parameters.DisplayFile file = 4; */ public java.util.List getFileBuilderList() { return getFileFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.DisplayFile, org.yamcs.protobuf.Rest.DisplayFile.Builder, org.yamcs.protobuf.Rest.DisplayFileOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { fileBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< org.yamcs.protobuf.Rest.DisplayFile, org.yamcs.protobuf.Rest.DisplayFile.Builder, org.yamcs.protobuf.Rest.DisplayFileOrBuilder>( file_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); file_ = null; } return fileBuilder_; } // @@protoc_insertion_point(builder_scope:parameters.DisplayFolder) } static { defaultInstance = new DisplayFolder(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.DisplayFolder) } public interface DisplayFileOrBuilder extends // @@protoc_insertion_point(interface_extends:parameters.DisplayFile) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional string path = 2; */ boolean hasPath(); /** * optional string path = 2; */ java.lang.String getPath(); /** * optional string path = 2; */ com.google.protobuf.ByteString getPathBytes(); /** * optional string url = 3; */ boolean hasUrl(); /** * optional string url = 3; */ java.lang.String getUrl(); /** * optional string url = 3; */ com.google.protobuf.ByteString getUrlBytes(); } /** * Protobuf type {@code parameters.DisplayFile} */ public static final class DisplayFile extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:parameters.DisplayFile) DisplayFileOrBuilder { // Use DisplayFile.newBuilder() to construct. private DisplayFile(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private DisplayFile(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final DisplayFile defaultInstance; public static DisplayFile getDefaultInstance() { return defaultInstance; } public DisplayFile getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DisplayFile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); 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; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { 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; path_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; url_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_DisplayFile_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_DisplayFile_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.DisplayFile.class, org.yamcs.protobuf.Rest.DisplayFile.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public DisplayFile parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DisplayFile(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 2; private java.lang.Object path_; /** * optional string path = 2; */ public boolean hasPath() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string path = 2; */ public java.lang.String getPath() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { path_ = s; } return s; } } /** * optional string path = 2; */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int URL_FIELD_NUMBER = 3; private java.lang.Object url_; /** * optional string url = 3; */ public boolean hasUrl() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string url = 3; */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { url_ = s; } return s; } } /** * optional string url = 3; */ public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); url_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { name_ = ""; path_ = ""; url_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getPathBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getUrlBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getPathBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getUrlBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.yamcs.protobuf.Rest.DisplayFile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.DisplayFile 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.Rest.DisplayFile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.Rest.DisplayFile parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.Rest.DisplayFile parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.DisplayFile parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.DisplayFile parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.yamcs.protobuf.Rest.DisplayFile parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.yamcs.protobuf.Rest.DisplayFile parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.yamcs.protobuf.Rest.DisplayFile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.Rest.DisplayFile prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code parameters.DisplayFile} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:parameters.DisplayFile) org.yamcs.protobuf.Rest.DisplayFileOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.Rest.internal_static_parameters_DisplayFile_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.Rest.internal_static_parameters_DisplayFile_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.Rest.DisplayFile.class, org.yamcs.protobuf.Rest.DisplayFile.Builder.class); } // Construct using org.yamcs.protobuf.Rest.DisplayFile.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); path_ = ""; bitField0_ = (bitField0_ & ~0x00000002); url_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.Rest.internal_static_parameters_DisplayFile_descriptor; } public org.yamcs.protobuf.Rest.DisplayFile getDefaultInstanceForType() { return org.yamcs.protobuf.Rest.DisplayFile.getDefaultInstance(); } public org.yamcs.protobuf.Rest.DisplayFile build() { org.yamcs.protobuf.Rest.DisplayFile result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.yamcs.protobuf.Rest.DisplayFile buildPartial() { org.yamcs.protobuf.Rest.DisplayFile result = new org.yamcs.protobuf.Rest.DisplayFile(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.path_ = path_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.url_ = url_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.Rest.DisplayFile) { return mergeFrom((org.yamcs.protobuf.Rest.DisplayFile)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.Rest.DisplayFile other) { if (other == org.yamcs.protobuf.Rest.DisplayFile.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasPath()) { bitField0_ |= 0x00000002; path_ = other.path_; onChanged(); } if (other.hasUrl()) { bitField0_ |= 0x00000004; url_ = other.url_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.Rest.DisplayFile parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.Rest.DisplayFile) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object path_ = ""; /** * optional string path = 2; */ public boolean hasPath() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string path = 2; */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { path_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string path = 2; */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string path = 2; */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; path_ = value; onChanged(); return this; } /** * optional string path = 2; */ public Builder clearPath() { bitField0_ = (bitField0_ & ~0x00000002); path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * optional string path = 2; */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; path_ = value; onChanged(); return this; } private java.lang.Object url_ = ""; /** * optional string url = 3; */ public boolean hasUrl() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string url = 3; */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { url_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string url = 3; */ public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); url_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string url = 3; */ public Builder setUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; url_ = value; onChanged(); return this; } /** * optional string url = 3; */ public Builder clearUrl() { bitField0_ = (bitField0_ & ~0x00000004); url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** * optional string url = 3; */ public Builder setUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; url_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:parameters.DisplayFile) } static { defaultInstance = new DisplayFile(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:parameters.DisplayFile) } private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_GetApiOverviewResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_GetApiOverviewResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_GetApiOverviewResponse_RouteInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_GetApiOverviewResponse_RouteInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_GetApiOverviewResponse_PluginInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_GetApiOverviewResponse_PluginInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListParameterInfoResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListParameterInfoResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_BulkGetParameterInfoRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_BulkGetParameterInfoRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_BulkGetParameterInfoResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_BulkGetParameterInfoResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_BulkGetParameterInfoResponse_GetParameterInfoResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_BulkGetParameterInfoResponse_GetParameterInfoResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_BulkGetParameterValueRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_BulkGetParameterValueRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_BulkGetParameterValueResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_BulkGetParameterValueResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_BulkSetParameterValueRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_BulkSetParameterValueRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_BulkSetParameterValueRequest_SetParameterValueRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_BulkSetParameterValueRequest_SetParameterValueRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_BulkDownloadParameterValueRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_BulkDownloadParameterValueRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListSpaceSystemInfoResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListSpaceSystemInfoResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListContainerInfoResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListContainerInfoResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListCommandInfoResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListCommandInfoResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListAlgorithmInfoResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListAlgorithmInfoResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListLinkInfoResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListLinkInfoResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListCommandsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListCommandsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_EditLinkRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_EditLinkRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_EditCommandQueueRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_EditCommandQueueRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListClientsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListClientsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_EditClientRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_EditClientRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListProcessorsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListProcessorsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListCommandQueuesResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListCommandQueuesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListCommandQueueEntries_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListCommandQueueEntries_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_EditCommandQueueEntryRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_EditCommandQueueEntryRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_IssueCommandRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_IssueCommandRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_IssueCommandRequest_Assignment_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_IssueCommandRequest_Assignment_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_IssueCommandResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_IssueCommandResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_UpdateCommandHistoryRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_UpdateCommandHistoryRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_UpdateCommandHistoryRequest_KeyValue_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_UpdateCommandHistoryRequest_KeyValue_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_CreateEventRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_CreateEventRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_CreateProcessorRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_CreateProcessorRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_EditProcessorRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_EditProcessorRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_StreamSubscribeRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_StreamSubscribeRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_SetSimulationTimeRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_SetSimulationTimeRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListInstancesResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListInstancesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListTagsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListTagsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_CreateTagRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_CreateTagRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_EditTagRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_EditTagRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListAlarmsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListAlarmsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_EditAlarmRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_EditAlarmRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListTablesResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListTablesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListStreamsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListStreamsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListEventsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListEventsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListPacketsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListPacketsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_ListServiceInfoResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_ListServiceInfoResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_EditServiceRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_EditServiceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_BulkGetIndexRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_BulkGetIndexRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_DisplayFolder_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_DisplayFolder_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_parameters_DisplayFile_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_parameters_DisplayFile_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\nrest.proto\022\nparameters\032\013yamcs.proto\032\ra" + "rchive.proto\032\014pvalue.proto\032\tmdb.proto\032\014a" + "larms.proto\032\020commanding.proto\032\025yamcsMana" + "gement.proto\"\326\002\n\026GetApiOverviewResponse\022" + "\024\n\014yamcsVersion\030\001 \001(\t\022\020\n\010serverId\030\002 \001(\t\022" + "\034\n\024defaultYamcsInstance\030\003 \001(\t\022;\n\005route\030\004" + " \003(\0132,.parameters.GetApiOverviewResponse" + ".RouteInfo\022=\n\006plugin\030\005 \003(\0132-.parameters." + "GetApiOverviewResponse.PluginInfo\032(\n\tRou" + "teInfo\022\013\n\003url\030\001 \001(\t\022\016\n\006method\030\002 \003(\t\032P\n\nP", "luginInfo\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002" + " \001(\t\022\017\n\007version\030\003 \001(\t\022\016\n\006vendor\030\004 \001(\t\"B\n" + "\031ListParameterInfoResponse\022%\n\tparameter\030" + "\001 \003(\0132\022.mdb.ParameterInfo\"?\n\033BulkGetPara" + "meterInfoRequest\022 \n\002id\030\001 \003(\0132\024.yamcs.Nam" + "edObjectId\"\330\001\n\034BulkGetParameterInfoRespo" + "nse\022S\n\010response\030\001 \003(\0132A.parameters.BulkG" + "etParameterInfoResponse.GetParameterInfo" + "Response\032c\n\030GetParameterInfoResponse\022 \n\002" + "id\030\001 \001(\0132\024.yamcs.NamedObjectId\022%\n\tparame", "ter\030\002 \001(\0132\022.mdb.ParameterInfo\"d\n\034BulkGet" + "ParameterValueRequest\022 \n\002id\030\001 \003(\0132\024.yamc" + "s.NamedObjectId\022\021\n\tfromCache\030\002 \001(\010\022\017\n\007ti" + "meout\030\003 \001(\004\"F\n\035BulkGetParameterValueResp" + "onse\022%\n\005value\030\001 \003(\0132\026.pvalue.ParameterVa" + "lue\"\315\001\n\034BulkSetParameterValueRequest\022R\n\007" + "request\030\001 \003(\0132A.parameters.BulkSetParame" + "terValueRequest.SetParameterValueRequest" + "\032Y\n\030SetParameterValueRequest\022 \n\002id\030\001 \001(\013" + "2\024.yamcs.NamedObjectId\022\033\n\005value\030\002 \001(\0132\014.", "yamcs.Value\"u\n!BulkDownloadParameterValu" + "eRequest\022\r\n\005start\030\001 \001(\t\022\014\n\004stop\030\002 \001(\t\022 \n" + "\002id\030\003 \003(\0132\024.yamcs.NamedObjectId\022\021\n\tnames" + "pace\030\004 \001(\t\"T\n\033ListSpaceSystemInfoRespons" + "e\0225\n\013spaceSystem\030\001 \003(\0132 .yamcsManagement" + ".SpaceSystemInfo\"B\n\031ListContainerInfoRes" + "ponse\022%\n\tcontainer\030\001 \003(\0132\022.mdb.Container" + "Info\"<\n\027ListCommandInfoResponse\022!\n\007comma" + "nd\030\001 \003(\0132\020.mdb.CommandInfo\"B\n\031ListAlgori" + "thmInfoResponse\022%\n\talgorithm\030\001 \003(\0132\022.mdb", ".AlgorithmInfo\"?\n\024ListLinkInfoResponse\022\'" + "\n\004link\030\001 \003(\0132\031.yamcsManagement.LinkInfo\"" + "F\n\024ListCommandsResponse\022.\n\005entry\030\001 \003(\0132\037" + ".commanding.CommandHistoryEntry\" \n\017EditL" + "inkRequest\022\r\n\005state\030\001 \001(\t\"(\n\027EditCommand" + "QueueRequest\022\r\n\005state\030\001 \001(\t\"B\n\023ListClien" + "tsResponse\022+\n\006client\030\001 \003(\0132\033.yamcsManage" + "ment.ClientInfo\"8\n\021EditClientRequest\022\020\n\010" + "instance\030\001 \001(\t\022\021\n\tprocessor\030\002 \001(\t\"K\n\026Lis" + "tProcessorsResponse\0221\n\tprocessor\030\001 \003(\0132\036", ".yamcsManagement.ProcessorInfo\"H\n\031ListCo" + "mmandQueuesResponse\022+\n\005queue\030\001 \003(\0132\034.com" + "manding.CommandQueueInfo\"G\n\027ListCommandQ" + "ueueEntries\022,\n\005entry\030\001 \003(\0132\035.commanding." + "CommandQueueEntry\"-\n\034EditCommandQueueEnt" + "ryRequest\022\r\n\005state\030\001 \001(\t\"\311\001\n\023IssueComman" + "dRequest\022>\n\nassignment\030\001 \003(\0132*.parameter" + "s.IssueCommandRequest.Assignment\022\016\n\006orig" + "in\030\002 \001(\t\022\026\n\016sequenceNumber\030\003 \001(\005\022\016\n\006dryR" + "un\030\004 \001(\010\022\017\n\007comment\030\005 \001(\t\032)\n\nAssignment\022", "\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"}\n\024IssueCom" + "mandResponse\0228\n\021commandQueueEntry\030\001 \001(\0132" + "\035.commanding.CommandQueueEntry\022\016\n\006source" + "\030\002 \001(\t\022\013\n\003hex\030\003 \001(\t\022\016\n\006binary\030\004 \001(\014\"\263\001\n\033" + "UpdateCommandHistoryRequest\022$\n\005cmdId\030\001 \002" + "(\0132\025.commanding.CommandId\022F\n\014historyEntr" + "y\030\002 \003(\01320.parameters.UpdateCommandHistor" + "yRequest.KeyValue\032&\n\010KeyValue\022\013\n\003key\030\001 \002" + "(\t\022\r\n\005value\030\002 \002(\t\"S\n\022CreateEventRequest\022" + "\014\n\004type\030\001 \001(\t\022\017\n\007message\030\002 \001(\t\022\020\n\010severi", "ty\030\003 \001(\t\022\014\n\004time\030\004 \001(\t\"\214\002\n\026CreateProcess" + "orRequest\022\014\n\004name\030\001 \001(\t\022\021\n\005start\030\002 \001(\tB\002" + "\030\001\022\020\n\004stop\030\003 \001(\tB\002\030\001\022\020\n\004loop\030\004 \001(\010B\002\030\001\022\021" + "\n\005speed\030\005 \001(\tB\002\030\001\022\020\n\010clientId\030\006 \003(\005\022\024\n\010p" + "araname\030\007 \003(\tB\002\030\001\022\023\n\007ppgroup\030\010 \003(\tB\002\030\001\022\026" + "\n\npacketname\030\t \003(\tB\002\030\001\022\023\n\007cmdhist\030\n \001(\010B" + "\002\030\001\022\022\n\npersistent\030\013 \001(\010\022\014\n\004type\030\014 \001(\t\022\016\n" + "\006config\030\r \001(\t\"B\n\024EditProcessorRequest\022\r\n" + "\005state\030\001 \001(\t\022\014\n\004seek\030\002 \001(\t\022\r\n\005speed\030\003 \001(" + "\t\"(\n\026StreamSubscribeRequest\022\016\n\006stream\030\001 ", "\001(\t\"e\n\030SetSimulationTimeRequest\022\r\n\005time0" + "\030\001 \001(\003\022\020\n\010time0UTC\030\002 \001(\t\022\026\n\016simElapsedTi" + "me\030\003 \001(\003\022\020\n\010simSpeed\030\004 \001(\001\"I\n\025ListInstan" + "cesResponse\0220\n\010instance\030\001 \003(\0132\036.yamcsMan" + "agement.YamcsInstance\"2\n\020ListTagsRespons" + "e\022\036\n\003tag\030\001 \003(\0132\021.yamcs.ArchiveTag\"a\n\020Cre" + "ateTagRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005start\030\002 \001" + "(\t\022\014\n\004stop\030\003 \001(\t\022\023\n\013description\030\004 \001(\t\022\r\n" + "\005color\030\005 \001(\t\"_\n\016EditTagRequest\022\014\n\004name\030\001" + " \001(\t\022\r\n\005start\030\002 \001(\t\022\014\n\004stop\030\003 \001(\t\022\023\n\013des", "cription\030\004 \001(\t\022\r\n\005color\030\005 \001(\t\"6\n\022ListAla" + "rmsResponse\022 \n\005alarm\030\001 \003(\0132\021.alarms.Alar" + "mData\"2\n\020EditAlarmRequest\022\r\n\005state\030\001 \001(\t" + "\022\017\n\007comment\030\002 \001(\t\"7\n\022ListTablesResponse\022" + "!\n\005table\030\001 \003(\0132\022.archive.TableInfo\":\n\023Li" + "stStreamsResponse\022#\n\006stream\030\001 \003(\0132\023.arch" + "ive.StreamInfo\"1\n\022ListEventsResponse\022\033\n\005" + "event\030\001 \003(\0132\014.yamcs.Event\":\n\023ListPackets" + "Response\022#\n\006packet\030\001 \003(\0132\023.yamcs.TmPacke" + "tData\"H\n\027ListServiceInfoResponse\022-\n\007serv", "ice\030\001 \003(\0132\034.yamcsManagement.ServiceInfo\"" + "#\n\022EditServiceRequest\022\r\n\005state\030\001 \001(\t\"V\n\023" + "BulkGetIndexRequest\022\r\n\005start\030\001 \001(\t\022\014\n\004st" + "op\030\002 \001(\t\022\016\n\006filter\030\003 \003(\t\022\022\n\npacketname\030\004" + " \003(\t\"}\n\rDisplayFolder\022\014\n\004name\030\001 \001(\t\022\014\n\004p" + "ath\030\002 \001(\t\022)\n\006folder\030\003 \003(\0132\031.parameters.D" + "isplayFolder\022%\n\004file\030\004 \003(\0132\027.parameters." + "DisplayFile\"6\n\013DisplayFile\022\014\n\004name\030\001 \001(\t" + "\022\014\n\004path\030\002 \001(\t\022\013\n\003url\030\003 \001(\tB\024\n\022org.yamcs" + ".protobuf" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.yamcs.protobuf.Yamcs.getDescriptor(), org.yamcs.protobuf.Archive.getDescriptor(), org.yamcs.protobuf.Pvalue.getDescriptor(), org.yamcs.protobuf.Mdb.getDescriptor(), org.yamcs.protobuf.Alarms.getDescriptor(), org.yamcs.protobuf.Commanding.getDescriptor(), org.yamcs.protobuf.YamcsManagement.getDescriptor(), }, assigner); internal_static_parameters_GetApiOverviewResponse_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_parameters_GetApiOverviewResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_GetApiOverviewResponse_descriptor, new java.lang.String[] { "YamcsVersion", "ServerId", "DefaultYamcsInstance", "Route", "Plugin", }); internal_static_parameters_GetApiOverviewResponse_RouteInfo_descriptor = internal_static_parameters_GetApiOverviewResponse_descriptor.getNestedTypes().get(0); internal_static_parameters_GetApiOverviewResponse_RouteInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_GetApiOverviewResponse_RouteInfo_descriptor, new java.lang.String[] { "Url", "Method", }); internal_static_parameters_GetApiOverviewResponse_PluginInfo_descriptor = internal_static_parameters_GetApiOverviewResponse_descriptor.getNestedTypes().get(1); internal_static_parameters_GetApiOverviewResponse_PluginInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_GetApiOverviewResponse_PluginInfo_descriptor, new java.lang.String[] { "Name", "Description", "Version", "Vendor", }); internal_static_parameters_ListParameterInfoResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_parameters_ListParameterInfoResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListParameterInfoResponse_descriptor, new java.lang.String[] { "Parameter", }); internal_static_parameters_BulkGetParameterInfoRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_parameters_BulkGetParameterInfoRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_BulkGetParameterInfoRequest_descriptor, new java.lang.String[] { "Id", }); internal_static_parameters_BulkGetParameterInfoResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_parameters_BulkGetParameterInfoResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_BulkGetParameterInfoResponse_descriptor, new java.lang.String[] { "Response", }); internal_static_parameters_BulkGetParameterInfoResponse_GetParameterInfoResponse_descriptor = internal_static_parameters_BulkGetParameterInfoResponse_descriptor.getNestedTypes().get(0); internal_static_parameters_BulkGetParameterInfoResponse_GetParameterInfoResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_BulkGetParameterInfoResponse_GetParameterInfoResponse_descriptor, new java.lang.String[] { "Id", "Parameter", }); internal_static_parameters_BulkGetParameterValueRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_parameters_BulkGetParameterValueRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_BulkGetParameterValueRequest_descriptor, new java.lang.String[] { "Id", "FromCache", "Timeout", }); internal_static_parameters_BulkGetParameterValueResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_parameters_BulkGetParameterValueResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_BulkGetParameterValueResponse_descriptor, new java.lang.String[] { "Value", }); internal_static_parameters_BulkSetParameterValueRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_parameters_BulkSetParameterValueRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_BulkSetParameterValueRequest_descriptor, new java.lang.String[] { "Request", }); internal_static_parameters_BulkSetParameterValueRequest_SetParameterValueRequest_descriptor = internal_static_parameters_BulkSetParameterValueRequest_descriptor.getNestedTypes().get(0); internal_static_parameters_BulkSetParameterValueRequest_SetParameterValueRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_BulkSetParameterValueRequest_SetParameterValueRequest_descriptor, new java.lang.String[] { "Id", "Value", }); internal_static_parameters_BulkDownloadParameterValueRequest_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_parameters_BulkDownloadParameterValueRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_BulkDownloadParameterValueRequest_descriptor, new java.lang.String[] { "Start", "Stop", "Id", "Namespace", }); internal_static_parameters_ListSpaceSystemInfoResponse_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_parameters_ListSpaceSystemInfoResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListSpaceSystemInfoResponse_descriptor, new java.lang.String[] { "SpaceSystem", }); internal_static_parameters_ListContainerInfoResponse_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_parameters_ListContainerInfoResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListContainerInfoResponse_descriptor, new java.lang.String[] { "Container", }); internal_static_parameters_ListCommandInfoResponse_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_parameters_ListCommandInfoResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListCommandInfoResponse_descriptor, new java.lang.String[] { "Command", }); internal_static_parameters_ListAlgorithmInfoResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_parameters_ListAlgorithmInfoResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListAlgorithmInfoResponse_descriptor, new java.lang.String[] { "Algorithm", }); internal_static_parameters_ListLinkInfoResponse_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_parameters_ListLinkInfoResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListLinkInfoResponse_descriptor, new java.lang.String[] { "Link", }); internal_static_parameters_ListCommandsResponse_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_parameters_ListCommandsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListCommandsResponse_descriptor, new java.lang.String[] { "Entry", }); internal_static_parameters_EditLinkRequest_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_parameters_EditLinkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_EditLinkRequest_descriptor, new java.lang.String[] { "State", }); internal_static_parameters_EditCommandQueueRequest_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_parameters_EditCommandQueueRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_EditCommandQueueRequest_descriptor, new java.lang.String[] { "State", }); internal_static_parameters_ListClientsResponse_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_parameters_ListClientsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListClientsResponse_descriptor, new java.lang.String[] { "Client", }); internal_static_parameters_EditClientRequest_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_parameters_EditClientRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_EditClientRequest_descriptor, new java.lang.String[] { "Instance", "Processor", }); internal_static_parameters_ListProcessorsResponse_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_parameters_ListProcessorsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListProcessorsResponse_descriptor, new java.lang.String[] { "Processor", }); internal_static_parameters_ListCommandQueuesResponse_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_parameters_ListCommandQueuesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListCommandQueuesResponse_descriptor, new java.lang.String[] { "Queue", }); internal_static_parameters_ListCommandQueueEntries_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_parameters_ListCommandQueueEntries_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListCommandQueueEntries_descriptor, new java.lang.String[] { "Entry", }); internal_static_parameters_EditCommandQueueEntryRequest_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_parameters_EditCommandQueueEntryRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_EditCommandQueueEntryRequest_descriptor, new java.lang.String[] { "State", }); internal_static_parameters_IssueCommandRequest_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_parameters_IssueCommandRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_IssueCommandRequest_descriptor, new java.lang.String[] { "Assignment", "Origin", "SequenceNumber", "DryRun", "Comment", }); internal_static_parameters_IssueCommandRequest_Assignment_descriptor = internal_static_parameters_IssueCommandRequest_descriptor.getNestedTypes().get(0); internal_static_parameters_IssueCommandRequest_Assignment_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_IssueCommandRequest_Assignment_descriptor, new java.lang.String[] { "Name", "Value", }); internal_static_parameters_IssueCommandResponse_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_parameters_IssueCommandResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_IssueCommandResponse_descriptor, new java.lang.String[] { "CommandQueueEntry", "Source", "Hex", "Binary", }); internal_static_parameters_UpdateCommandHistoryRequest_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_parameters_UpdateCommandHistoryRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_UpdateCommandHistoryRequest_descriptor, new java.lang.String[] { "CmdId", "HistoryEntry", }); internal_static_parameters_UpdateCommandHistoryRequest_KeyValue_descriptor = internal_static_parameters_UpdateCommandHistoryRequest_descriptor.getNestedTypes().get(0); internal_static_parameters_UpdateCommandHistoryRequest_KeyValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_UpdateCommandHistoryRequest_KeyValue_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_parameters_CreateEventRequest_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_parameters_CreateEventRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_CreateEventRequest_descriptor, new java.lang.String[] { "Type", "Message", "Severity", "Time", }); internal_static_parameters_CreateProcessorRequest_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_parameters_CreateProcessorRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_CreateProcessorRequest_descriptor, new java.lang.String[] { "Name", "Start", "Stop", "Loop", "Speed", "ClientId", "Paraname", "Ppgroup", "Packetname", "Cmdhist", "Persistent", "Type", "Config", }); internal_static_parameters_EditProcessorRequest_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_parameters_EditProcessorRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_EditProcessorRequest_descriptor, new java.lang.String[] { "State", "Seek", "Speed", }); internal_static_parameters_StreamSubscribeRequest_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_parameters_StreamSubscribeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_StreamSubscribeRequest_descriptor, new java.lang.String[] { "Stream", }); internal_static_parameters_SetSimulationTimeRequest_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_parameters_SetSimulationTimeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_SetSimulationTimeRequest_descriptor, new java.lang.String[] { "Time0", "Time0UTC", "SimElapsedTime", "SimSpeed", }); internal_static_parameters_ListInstancesResponse_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_parameters_ListInstancesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListInstancesResponse_descriptor, new java.lang.String[] { "Instance", }); internal_static_parameters_ListTagsResponse_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_parameters_ListTagsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListTagsResponse_descriptor, new java.lang.String[] { "Tag", }); internal_static_parameters_CreateTagRequest_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_parameters_CreateTagRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_CreateTagRequest_descriptor, new java.lang.String[] { "Name", "Start", "Stop", "Description", "Color", }); internal_static_parameters_EditTagRequest_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_parameters_EditTagRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_EditTagRequest_descriptor, new java.lang.String[] { "Name", "Start", "Stop", "Description", "Color", }); internal_static_parameters_ListAlarmsResponse_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_parameters_ListAlarmsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListAlarmsResponse_descriptor, new java.lang.String[] { "Alarm", }); internal_static_parameters_EditAlarmRequest_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_parameters_EditAlarmRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_EditAlarmRequest_descriptor, new java.lang.String[] { "State", "Comment", }); internal_static_parameters_ListTablesResponse_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_parameters_ListTablesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListTablesResponse_descriptor, new java.lang.String[] { "Table", }); internal_static_parameters_ListStreamsResponse_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_parameters_ListStreamsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListStreamsResponse_descriptor, new java.lang.String[] { "Stream", }); internal_static_parameters_ListEventsResponse_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_parameters_ListEventsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListEventsResponse_descriptor, new java.lang.String[] { "Event", }); internal_static_parameters_ListPacketsResponse_descriptor = getDescriptor().getMessageTypes().get(39); internal_static_parameters_ListPacketsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListPacketsResponse_descriptor, new java.lang.String[] { "Packet", }); internal_static_parameters_ListServiceInfoResponse_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_parameters_ListServiceInfoResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_ListServiceInfoResponse_descriptor, new java.lang.String[] { "Service", }); internal_static_parameters_EditServiceRequest_descriptor = getDescriptor().getMessageTypes().get(41); internal_static_parameters_EditServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_EditServiceRequest_descriptor, new java.lang.String[] { "State", }); internal_static_parameters_BulkGetIndexRequest_descriptor = getDescriptor().getMessageTypes().get(42); internal_static_parameters_BulkGetIndexRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_BulkGetIndexRequest_descriptor, new java.lang.String[] { "Start", "Stop", "Filter", "Packetname", }); internal_static_parameters_DisplayFolder_descriptor = getDescriptor().getMessageTypes().get(43); internal_static_parameters_DisplayFolder_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_DisplayFolder_descriptor, new java.lang.String[] { "Name", "Path", "Folder", "File", }); internal_static_parameters_DisplayFile_descriptor = getDescriptor().getMessageTypes().get(44); internal_static_parameters_DisplayFile_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_parameters_DisplayFile_descriptor, new java.lang.String[] { "Name", "Path", "Url", }); org.yamcs.protobuf.Yamcs.getDescriptor(); org.yamcs.protobuf.Archive.getDescriptor(); org.yamcs.protobuf.Pvalue.getDescriptor(); org.yamcs.protobuf.Mdb.getDescriptor(); org.yamcs.protobuf.Alarms.getDescriptor(); org.yamcs.protobuf.Commanding.getDescriptor(); org.yamcs.protobuf.YamcsManagement.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy