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

io.ray.serve.generated.DeploymentStatusInfoList Maven / Gradle / Ivy

There is a newer version: 2.39.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: src/ray/protobuf/serve.proto

package io.ray.serve.generated;

/**
 * Protobuf type {@code ray.serve.DeploymentStatusInfoList}
 */
public final class DeploymentStatusInfoList extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:ray.serve.DeploymentStatusInfoList)
    DeploymentStatusInfoListOrBuilder {
private static final long serialVersionUID = 0L;
  // Use DeploymentStatusInfoList.newBuilder() to construct.
  private DeploymentStatusInfoList(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private DeploymentStatusInfoList() {
    deploymentStatusInfos_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private DeploymentStatusInfoList(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              deploymentStatusInfos_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            deploymentStatusInfos_.add(
                input.readMessage(io.ray.serve.generated.DeploymentStatusInfo.parser(), extensionRegistry));
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        deploymentStatusInfos_ = java.util.Collections.unmodifiableList(deploymentStatusInfos_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.ray.serve.generated.ServeProtos.internal_static_ray_serve_DeploymentStatusInfoList_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.ray.serve.generated.ServeProtos.internal_static_ray_serve_DeploymentStatusInfoList_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.ray.serve.generated.DeploymentStatusInfoList.class, io.ray.serve.generated.DeploymentStatusInfoList.Builder.class);
  }

  public static final int DEPLOYMENT_STATUS_INFOS_FIELD_NUMBER = 1;
  private java.util.List deploymentStatusInfos_;
  /**
   * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
   */
  @java.lang.Override
  public java.util.List getDeploymentStatusInfosList() {
    return deploymentStatusInfos_;
  }
  /**
   * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
   */
  @java.lang.Override
  public java.util.List 
      getDeploymentStatusInfosOrBuilderList() {
    return deploymentStatusInfos_;
  }
  /**
   * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
   */
  @java.lang.Override
  public int getDeploymentStatusInfosCount() {
    return deploymentStatusInfos_.size();
  }
  /**
   * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
   */
  @java.lang.Override
  public io.ray.serve.generated.DeploymentStatusInfo getDeploymentStatusInfos(int index) {
    return deploymentStatusInfos_.get(index);
  }
  /**
   * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
   */
  @java.lang.Override
  public io.ray.serve.generated.DeploymentStatusInfoOrBuilder getDeploymentStatusInfosOrBuilder(
      int index) {
    return deploymentStatusInfos_.get(index);
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    for (int i = 0; i < deploymentStatusInfos_.size(); i++) {
      output.writeMessage(1, deploymentStatusInfos_.get(i));
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

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

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof io.ray.serve.generated.DeploymentStatusInfoList)) {
      return super.equals(obj);
    }
    io.ray.serve.generated.DeploymentStatusInfoList other = (io.ray.serve.generated.DeploymentStatusInfoList) obj;

    if (!getDeploymentStatusInfosList()
        .equals(other.getDeploymentStatusInfosList())) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (getDeploymentStatusInfosCount() > 0) {
      hash = (37 * hash) + DEPLOYMENT_STATUS_INFOS_FIELD_NUMBER;
      hash = (53 * hash) + getDeploymentStatusInfosList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static io.ray.serve.generated.DeploymentStatusInfoList parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.ray.serve.generated.DeploymentStatusInfoList parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.ray.serve.generated.DeploymentStatusInfoList parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.ray.serve.generated.DeploymentStatusInfoList parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.ray.serve.generated.DeploymentStatusInfoList parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.ray.serve.generated.DeploymentStatusInfoList parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.ray.serve.generated.DeploymentStatusInfoList parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.ray.serve.generated.DeploymentStatusInfoList parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static io.ray.serve.generated.DeploymentStatusInfoList parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static io.ray.serve.generated.DeploymentStatusInfoList parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static io.ray.serve.generated.DeploymentStatusInfoList parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.ray.serve.generated.DeploymentStatusInfoList parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(io.ray.serve.generated.DeploymentStatusInfoList prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code ray.serve.DeploymentStatusInfoList}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:ray.serve.DeploymentStatusInfoList)
      io.ray.serve.generated.DeploymentStatusInfoListOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.ray.serve.generated.ServeProtos.internal_static_ray_serve_DeploymentStatusInfoList_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.ray.serve.generated.ServeProtos.internal_static_ray_serve_DeploymentStatusInfoList_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.ray.serve.generated.DeploymentStatusInfoList.class, io.ray.serve.generated.DeploymentStatusInfoList.Builder.class);
    }

    // Construct using io.ray.serve.generated.DeploymentStatusInfoList.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getDeploymentStatusInfosFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (deploymentStatusInfosBuilder_ == null) {
        deploymentStatusInfos_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        deploymentStatusInfosBuilder_.clear();
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.ray.serve.generated.ServeProtos.internal_static_ray_serve_DeploymentStatusInfoList_descriptor;
    }

    @java.lang.Override
    public io.ray.serve.generated.DeploymentStatusInfoList getDefaultInstanceForType() {
      return io.ray.serve.generated.DeploymentStatusInfoList.getDefaultInstance();
    }

    @java.lang.Override
    public io.ray.serve.generated.DeploymentStatusInfoList build() {
      io.ray.serve.generated.DeploymentStatusInfoList result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public io.ray.serve.generated.DeploymentStatusInfoList buildPartial() {
      io.ray.serve.generated.DeploymentStatusInfoList result = new io.ray.serve.generated.DeploymentStatusInfoList(this);
      int from_bitField0_ = bitField0_;
      if (deploymentStatusInfosBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          deploymentStatusInfos_ = java.util.Collections.unmodifiableList(deploymentStatusInfos_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.deploymentStatusInfos_ = deploymentStatusInfos_;
      } else {
        result.deploymentStatusInfos_ = deploymentStatusInfosBuilder_.build();
      }
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof io.ray.serve.generated.DeploymentStatusInfoList) {
        return mergeFrom((io.ray.serve.generated.DeploymentStatusInfoList)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.ray.serve.generated.DeploymentStatusInfoList other) {
      if (other == io.ray.serve.generated.DeploymentStatusInfoList.getDefaultInstance()) return this;
      if (deploymentStatusInfosBuilder_ == null) {
        if (!other.deploymentStatusInfos_.isEmpty()) {
          if (deploymentStatusInfos_.isEmpty()) {
            deploymentStatusInfos_ = other.deploymentStatusInfos_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureDeploymentStatusInfosIsMutable();
            deploymentStatusInfos_.addAll(other.deploymentStatusInfos_);
          }
          onChanged();
        }
      } else {
        if (!other.deploymentStatusInfos_.isEmpty()) {
          if (deploymentStatusInfosBuilder_.isEmpty()) {
            deploymentStatusInfosBuilder_.dispose();
            deploymentStatusInfosBuilder_ = null;
            deploymentStatusInfos_ = other.deploymentStatusInfos_;
            bitField0_ = (bitField0_ & ~0x00000001);
            deploymentStatusInfosBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getDeploymentStatusInfosFieldBuilder() : null;
          } else {
            deploymentStatusInfosBuilder_.addAllMessages(other.deploymentStatusInfos_);
          }
        }
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      io.ray.serve.generated.DeploymentStatusInfoList parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.ray.serve.generated.DeploymentStatusInfoList) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

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

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.ray.serve.generated.DeploymentStatusInfo, io.ray.serve.generated.DeploymentStatusInfo.Builder, io.ray.serve.generated.DeploymentStatusInfoOrBuilder> deploymentStatusInfosBuilder_;

    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public java.util.List getDeploymentStatusInfosList() {
      if (deploymentStatusInfosBuilder_ == null) {
        return java.util.Collections.unmodifiableList(deploymentStatusInfos_);
      } else {
        return deploymentStatusInfosBuilder_.getMessageList();
      }
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public int getDeploymentStatusInfosCount() {
      if (deploymentStatusInfosBuilder_ == null) {
        return deploymentStatusInfos_.size();
      } else {
        return deploymentStatusInfosBuilder_.getCount();
      }
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public io.ray.serve.generated.DeploymentStatusInfo getDeploymentStatusInfos(int index) {
      if (deploymentStatusInfosBuilder_ == null) {
        return deploymentStatusInfos_.get(index);
      } else {
        return deploymentStatusInfosBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public Builder setDeploymentStatusInfos(
        int index, io.ray.serve.generated.DeploymentStatusInfo value) {
      if (deploymentStatusInfosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDeploymentStatusInfosIsMutable();
        deploymentStatusInfos_.set(index, value);
        onChanged();
      } else {
        deploymentStatusInfosBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public Builder setDeploymentStatusInfos(
        int index, io.ray.serve.generated.DeploymentStatusInfo.Builder builderForValue) {
      if (deploymentStatusInfosBuilder_ == null) {
        ensureDeploymentStatusInfosIsMutable();
        deploymentStatusInfos_.set(index, builderForValue.build());
        onChanged();
      } else {
        deploymentStatusInfosBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public Builder addDeploymentStatusInfos(io.ray.serve.generated.DeploymentStatusInfo value) {
      if (deploymentStatusInfosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDeploymentStatusInfosIsMutable();
        deploymentStatusInfos_.add(value);
        onChanged();
      } else {
        deploymentStatusInfosBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public Builder addDeploymentStatusInfos(
        int index, io.ray.serve.generated.DeploymentStatusInfo value) {
      if (deploymentStatusInfosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDeploymentStatusInfosIsMutable();
        deploymentStatusInfos_.add(index, value);
        onChanged();
      } else {
        deploymentStatusInfosBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public Builder addDeploymentStatusInfos(
        io.ray.serve.generated.DeploymentStatusInfo.Builder builderForValue) {
      if (deploymentStatusInfosBuilder_ == null) {
        ensureDeploymentStatusInfosIsMutable();
        deploymentStatusInfos_.add(builderForValue.build());
        onChanged();
      } else {
        deploymentStatusInfosBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public Builder addDeploymentStatusInfos(
        int index, io.ray.serve.generated.DeploymentStatusInfo.Builder builderForValue) {
      if (deploymentStatusInfosBuilder_ == null) {
        ensureDeploymentStatusInfosIsMutable();
        deploymentStatusInfos_.add(index, builderForValue.build());
        onChanged();
      } else {
        deploymentStatusInfosBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public Builder addAllDeploymentStatusInfos(
        java.lang.Iterable values) {
      if (deploymentStatusInfosBuilder_ == null) {
        ensureDeploymentStatusInfosIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, deploymentStatusInfos_);
        onChanged();
      } else {
        deploymentStatusInfosBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public Builder clearDeploymentStatusInfos() {
      if (deploymentStatusInfosBuilder_ == null) {
        deploymentStatusInfos_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        deploymentStatusInfosBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public Builder removeDeploymentStatusInfos(int index) {
      if (deploymentStatusInfosBuilder_ == null) {
        ensureDeploymentStatusInfosIsMutable();
        deploymentStatusInfos_.remove(index);
        onChanged();
      } else {
        deploymentStatusInfosBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public io.ray.serve.generated.DeploymentStatusInfo.Builder getDeploymentStatusInfosBuilder(
        int index) {
      return getDeploymentStatusInfosFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public io.ray.serve.generated.DeploymentStatusInfoOrBuilder getDeploymentStatusInfosOrBuilder(
        int index) {
      if (deploymentStatusInfosBuilder_ == null) {
        return deploymentStatusInfos_.get(index);  } else {
        return deploymentStatusInfosBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public java.util.List 
         getDeploymentStatusInfosOrBuilderList() {
      if (deploymentStatusInfosBuilder_ != null) {
        return deploymentStatusInfosBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(deploymentStatusInfos_);
      }
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public io.ray.serve.generated.DeploymentStatusInfo.Builder addDeploymentStatusInfosBuilder() {
      return getDeploymentStatusInfosFieldBuilder().addBuilder(
          io.ray.serve.generated.DeploymentStatusInfo.getDefaultInstance());
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public io.ray.serve.generated.DeploymentStatusInfo.Builder addDeploymentStatusInfosBuilder(
        int index) {
      return getDeploymentStatusInfosFieldBuilder().addBuilder(
          index, io.ray.serve.generated.DeploymentStatusInfo.getDefaultInstance());
    }
    /**
     * repeated .ray.serve.DeploymentStatusInfo deployment_status_infos = 1 [json_name = "deploymentStatusInfos"];
     */
    public java.util.List 
         getDeploymentStatusInfosBuilderList() {
      return getDeploymentStatusInfosFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.ray.serve.generated.DeploymentStatusInfo, io.ray.serve.generated.DeploymentStatusInfo.Builder, io.ray.serve.generated.DeploymentStatusInfoOrBuilder> 
        getDeploymentStatusInfosFieldBuilder() {
      if (deploymentStatusInfosBuilder_ == null) {
        deploymentStatusInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.ray.serve.generated.DeploymentStatusInfo, io.ray.serve.generated.DeploymentStatusInfo.Builder, io.ray.serve.generated.DeploymentStatusInfoOrBuilder>(
                deploymentStatusInfos_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        deploymentStatusInfos_ = null;
      }
      return deploymentStatusInfosBuilder_;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:ray.serve.DeploymentStatusInfoList)
  }

  // @@protoc_insertion_point(class_scope:ray.serve.DeploymentStatusInfoList)
  private static final io.ray.serve.generated.DeploymentStatusInfoList DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new io.ray.serve.generated.DeploymentStatusInfoList();
  }

  public static io.ray.serve.generated.DeploymentStatusInfoList getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public DeploymentStatusInfoList parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new DeploymentStatusInfoList(input, extensionRegistry);
    }
  };

  public static com.google.protobuf.Parser parser() {
    return PARSER;
  }

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

  @java.lang.Override
  public io.ray.serve.generated.DeploymentStatusInfoList getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy