// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/devtools/remoteexecution/v1test/remote_execution.proto

package com.google.devtools.remoteexecution.v1test;

/**
 * <pre>
 * A response message for
 * [ContentAddressableStorage.BatchUpdateBlobs][google.devtools.remoteexecution.v1test.ContentAddressableStorage.BatchUpdateBlobs].
 * </pre>
 *
 * Protobuf type {@code google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse}
 */
public  final class BatchUpdateBlobsResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse)
    BatchUpdateBlobsResponseOrBuilder {
  // Use BatchUpdateBlobsResponse.newBuilder() to construct.
  private BatchUpdateBlobsResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private BatchUpdateBlobsResponse() {
    responses_ = java.util.Collections.emptyList();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private BatchUpdateBlobsResponse(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    int mutable_bitField0_ = 0;
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          default: {
            if (!input.skipField(tag)) {
              done = true;
            }
            break;
          }
          case 10: {
            if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
              responses_ = new java.util.ArrayList<com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response>();
              mutable_bitField0_ |= 0x00000001;
            }
            responses_.add(
                input.readMessage(com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.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).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
        responses_ = java.util.Collections.unmodifiableList(responses_);
      }
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.google.devtools.remoteexecution.v1test.RemoteExecutionProto.internal_static_google_devtools_remoteexecution_v1test_BatchUpdateBlobsResponse_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.devtools.remoteexecution.v1test.RemoteExecutionProto.internal_static_google_devtools_remoteexecution_v1test_BatchUpdateBlobsResponse_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.class, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Builder.class);
  }

  public interface ResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * The digest to which this response corresponds.
     * </pre>
     *
     * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
     */
    boolean hasBlobDigest();
    /**
     * <pre>
     * The digest to which this response corresponds.
     * </pre>
     *
     * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
     */
    com.google.devtools.remoteexecution.v1test.Digest getBlobDigest();
    /**
     * <pre>
     * The digest to which this response corresponds.
     * </pre>
     *
     * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
     */
    com.google.devtools.remoteexecution.v1test.DigestOrBuilder getBlobDigestOrBuilder();

    /**
     * <pre>
     * The result of attempting to upload that blob.
     * </pre>
     *
     * <code>.google.rpc.Status status = 2;</code>
     */
    boolean hasStatus();
    /**
     * <pre>
     * The result of attempting to upload that blob.
     * </pre>
     *
     * <code>.google.rpc.Status status = 2;</code>
     */
    com.google.rpc.Status getStatus();
    /**
     * <pre>
     * The result of attempting to upload that blob.
     * </pre>
     *
     * <code>.google.rpc.Status status = 2;</code>
     */
    com.google.rpc.StatusOrBuilder getStatusOrBuilder();
  }
  /**
   * <pre>
   * A response corresponding to a single blob that the client tried to upload.
   * </pre>
   *
   * Protobuf type {@code google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response}
   */
  public  static final class Response extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response)
      ResponseOrBuilder {
    // Use Response.newBuilder() to construct.
    private Response(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Response() {
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private Response(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              com.google.devtools.remoteexecution.v1test.Digest.Builder subBuilder = null;
              if (blobDigest_ != null) {
                subBuilder = blobDigest_.toBuilder();
              }
              blobDigest_ = input.readMessage(com.google.devtools.remoteexecution.v1test.Digest.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(blobDigest_);
                blobDigest_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              com.google.rpc.Status.Builder subBuilder = null;
              if (status_ != null) {
                subBuilder = status_.toBuilder();
              }
              status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(status_);
                status_ = subBuilder.buildPartial();
              }

              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 {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.remoteexecution.v1test.RemoteExecutionProto.internal_static_google_devtools_remoteexecution_v1test_BatchUpdateBlobsResponse_Response_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.remoteexecution.v1test.RemoteExecutionProto.internal_static_google_devtools_remoteexecution_v1test_BatchUpdateBlobsResponse_Response_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.class, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.Builder.class);
    }

    public static final int BLOB_DIGEST_FIELD_NUMBER = 1;
    private com.google.devtools.remoteexecution.v1test.Digest blobDigest_;
    /**
     * <pre>
     * The digest to which this response corresponds.
     * </pre>
     *
     * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
     */
    public boolean hasBlobDigest() {
      return blobDigest_ != null;
    }
    /**
     * <pre>
     * The digest to which this response corresponds.
     * </pre>
     *
     * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
     */
    public com.google.devtools.remoteexecution.v1test.Digest getBlobDigest() {
      return blobDigest_ == null ? com.google.devtools.remoteexecution.v1test.Digest.getDefaultInstance() : blobDigest_;
    }
    /**
     * <pre>
     * The digest to which this response corresponds.
     * </pre>
     *
     * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
     */
    public com.google.devtools.remoteexecution.v1test.DigestOrBuilder getBlobDigestOrBuilder() {
      return getBlobDigest();
    }

    public static final int STATUS_FIELD_NUMBER = 2;
    private com.google.rpc.Status status_;
    /**
     * <pre>
     * The result of attempting to upload that blob.
     * </pre>
     *
     * <code>.google.rpc.Status status = 2;</code>
     */
    public boolean hasStatus() {
      return status_ != null;
    }
    /**
     * <pre>
     * The result of attempting to upload that blob.
     * </pre>
     *
     * <code>.google.rpc.Status status = 2;</code>
     */
    public com.google.rpc.Status getStatus() {
      return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
    }
    /**
     * <pre>
     * The result of attempting to upload that blob.
     * </pre>
     *
     * <code>.google.rpc.Status status = 2;</code>
     */
    public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      return getStatus();
    }

    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 {
      if (blobDigest_ != null) {
        output.writeMessage(1, getBlobDigest());
      }
      if (status_ != null) {
        output.writeMessage(2, getStatus());
      }
    }

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

      size = 0;
      if (blobDigest_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getBlobDigest());
      }
      if (status_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getStatus());
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response)) {
        return super.equals(obj);
      }
      com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response other = (com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response) obj;

      boolean result = true;
      result = result && (hasBlobDigest() == other.hasBlobDigest());
      if (hasBlobDigest()) {
        result = result && getBlobDigest()
            .equals(other.getBlobDigest());
      }
      result = result && (hasStatus() == other.hasStatus());
      if (hasStatus()) {
        result = result && getStatus()
            .equals(other.getStatus());
      }
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasBlobDigest()) {
        hash = (37 * hash) + BLOB_DIGEST_FIELD_NUMBER;
        hash = (53 * hash) + getBlobDigest().hashCode();
      }
      if (hasStatus()) {
        hash = (37 * hash) + STATUS_FIELD_NUMBER;
        hash = (53 * hash) + getStatus().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response 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 com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response 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 com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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;
    }
    /**
     * <pre>
     * A response corresponding to a single blob that the client tried to upload.
     * </pre>
     *
     * Protobuf type {@code google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response)
        com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.ResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.remoteexecution.v1test.RemoteExecutionProto.internal_static_google_devtools_remoteexecution_v1test_BatchUpdateBlobsResponse_Response_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.remoteexecution.v1test.RemoteExecutionProto.internal_static_google_devtools_remoteexecution_v1test_BatchUpdateBlobsResponse_Response_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.class, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.Builder.class);
      }

      // Construct using com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        if (blobDigestBuilder_ == null) {
          blobDigest_ = null;
        } else {
          blobDigest_ = null;
          blobDigestBuilder_ = null;
        }
        if (statusBuilder_ == null) {
          status_ = null;
        } else {
          status_ = null;
          statusBuilder_ = null;
        }
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.remoteexecution.v1test.RemoteExecutionProto.internal_static_google_devtools_remoteexecution_v1test_BatchUpdateBlobsResponse_Response_descriptor;
      }

      public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response getDefaultInstanceForType() {
        return com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.getDefaultInstance();
      }

      public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response build() {
        com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response buildPartial() {
        com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response result = new com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response(this);
        if (blobDigestBuilder_ == null) {
          result.blobDigest_ = blobDigest_;
        } else {
          result.blobDigest_ = blobDigestBuilder_.build();
        }
        if (statusBuilder_ == null) {
          result.status_ = status_;
        } else {
          result.status_ = statusBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response) {
          return mergeFrom((com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response other) {
        if (other == com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.getDefaultInstance()) return this;
        if (other.hasBlobDigest()) {
          mergeBlobDigest(other.getBlobDigest());
        }
        if (other.hasStatus()) {
          mergeStatus(other.getStatus());
        }
        onChanged();
        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 {
        com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private com.google.devtools.remoteexecution.v1test.Digest blobDigest_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.remoteexecution.v1test.Digest, com.google.devtools.remoteexecution.v1test.Digest.Builder, com.google.devtools.remoteexecution.v1test.DigestOrBuilder> blobDigestBuilder_;
      /**
       * <pre>
       * The digest to which this response corresponds.
       * </pre>
       *
       * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
       */
      public boolean hasBlobDigest() {
        return blobDigestBuilder_ != null || blobDigest_ != null;
      }
      /**
       * <pre>
       * The digest to which this response corresponds.
       * </pre>
       *
       * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
       */
      public com.google.devtools.remoteexecution.v1test.Digest getBlobDigest() {
        if (blobDigestBuilder_ == null) {
          return blobDigest_ == null ? com.google.devtools.remoteexecution.v1test.Digest.getDefaultInstance() : blobDigest_;
        } else {
          return blobDigestBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * The digest to which this response corresponds.
       * </pre>
       *
       * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
       */
      public Builder setBlobDigest(com.google.devtools.remoteexecution.v1test.Digest value) {
        if (blobDigestBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          blobDigest_ = value;
          onChanged();
        } else {
          blobDigestBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       * The digest to which this response corresponds.
       * </pre>
       *
       * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
       */
      public Builder setBlobDigest(
          com.google.devtools.remoteexecution.v1test.Digest.Builder builderForValue) {
        if (blobDigestBuilder_ == null) {
          blobDigest_ = builderForValue.build();
          onChanged();
        } else {
          blobDigestBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       * The digest to which this response corresponds.
       * </pre>
       *
       * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
       */
      public Builder mergeBlobDigest(com.google.devtools.remoteexecution.v1test.Digest value) {
        if (blobDigestBuilder_ == null) {
          if (blobDigest_ != null) {
            blobDigest_ =
              com.google.devtools.remoteexecution.v1test.Digest.newBuilder(blobDigest_).mergeFrom(value).buildPartial();
          } else {
            blobDigest_ = value;
          }
          onChanged();
        } else {
          blobDigestBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       * The digest to which this response corresponds.
       * </pre>
       *
       * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
       */
      public Builder clearBlobDigest() {
        if (blobDigestBuilder_ == null) {
          blobDigest_ = null;
          onChanged();
        } else {
          blobDigest_ = null;
          blobDigestBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       * The digest to which this response corresponds.
       * </pre>
       *
       * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
       */
      public com.google.devtools.remoteexecution.v1test.Digest.Builder getBlobDigestBuilder() {
        
        onChanged();
        return getBlobDigestFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * The digest to which this response corresponds.
       * </pre>
       *
       * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
       */
      public com.google.devtools.remoteexecution.v1test.DigestOrBuilder getBlobDigestOrBuilder() {
        if (blobDigestBuilder_ != null) {
          return blobDigestBuilder_.getMessageOrBuilder();
        } else {
          return blobDigest_ == null ?
              com.google.devtools.remoteexecution.v1test.Digest.getDefaultInstance() : blobDigest_;
        }
      }
      /**
       * <pre>
       * The digest to which this response corresponds.
       * </pre>
       *
       * <code>.google.devtools.remoteexecution.v1test.Digest blob_digest = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.remoteexecution.v1test.Digest, com.google.devtools.remoteexecution.v1test.Digest.Builder, com.google.devtools.remoteexecution.v1test.DigestOrBuilder> 
          getBlobDigestFieldBuilder() {
        if (blobDigestBuilder_ == null) {
          blobDigestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.devtools.remoteexecution.v1test.Digest, com.google.devtools.remoteexecution.v1test.Digest.Builder, com.google.devtools.remoteexecution.v1test.DigestOrBuilder>(
                  getBlobDigest(),
                  getParentForChildren(),
                  isClean());
          blobDigest_ = null;
        }
        return blobDigestBuilder_;
      }

      private com.google.rpc.Status status_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
      /**
       * <pre>
       * The result of attempting to upload that blob.
       * </pre>
       *
       * <code>.google.rpc.Status status = 2;</code>
       */
      public boolean hasStatus() {
        return statusBuilder_ != null || status_ != null;
      }
      /**
       * <pre>
       * The result of attempting to upload that blob.
       * </pre>
       *
       * <code>.google.rpc.Status status = 2;</code>
       */
      public com.google.rpc.Status getStatus() {
        if (statusBuilder_ == null) {
          return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
        } else {
          return statusBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * The result of attempting to upload that blob.
       * </pre>
       *
       * <code>.google.rpc.Status status = 2;</code>
       */
      public Builder setStatus(com.google.rpc.Status value) {
        if (statusBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          status_ = value;
          onChanged();
        } else {
          statusBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       * The result of attempting to upload that blob.
       * </pre>
       *
       * <code>.google.rpc.Status status = 2;</code>
       */
      public Builder setStatus(
          com.google.rpc.Status.Builder builderForValue) {
        if (statusBuilder_ == null) {
          status_ = builderForValue.build();
          onChanged();
        } else {
          statusBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       * The result of attempting to upload that blob.
       * </pre>
       *
       * <code>.google.rpc.Status status = 2;</code>
       */
      public Builder mergeStatus(com.google.rpc.Status value) {
        if (statusBuilder_ == null) {
          if (status_ != null) {
            status_ =
              com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
          } else {
            status_ = value;
          }
          onChanged();
        } else {
          statusBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       * The result of attempting to upload that blob.
       * </pre>
       *
       * <code>.google.rpc.Status status = 2;</code>
       */
      public Builder clearStatus() {
        if (statusBuilder_ == null) {
          status_ = null;
          onChanged();
        } else {
          status_ = null;
          statusBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       * The result of attempting to upload that blob.
       * </pre>
       *
       * <code>.google.rpc.Status status = 2;</code>
       */
      public com.google.rpc.Status.Builder getStatusBuilder() {
        
        onChanged();
        return getStatusFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * The result of attempting to upload that blob.
       * </pre>
       *
       * <code>.google.rpc.Status status = 2;</code>
       */
      public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
        if (statusBuilder_ != null) {
          return statusBuilder_.getMessageOrBuilder();
        } else {
          return status_ == null ?
              com.google.rpc.Status.getDefaultInstance() : status_;
        }
      }
      /**
       * <pre>
       * The result of attempting to upload that blob.
       * </pre>
       *
       * <code>.google.rpc.Status status = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
          getStatusFieldBuilder() {
        if (statusBuilder_ == null) {
          statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
                  getStatus(),
                  getParentForChildren(),
                  isClean());
          status_ = null;
        }
        return statusBuilder_;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }


      // @@protoc_insertion_point(builder_scope:google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response)
    }

    // @@protoc_insertion_point(class_scope:google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response)
    private static final com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response();
    }

    public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public static final int RESPONSES_FIELD_NUMBER = 1;
  private java.util.List<com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response> responses_;
  /**
   * <pre>
   * The responses to the requests.
   * </pre>
   *
   * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
   */
  public java.util.List<com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response> getResponsesList() {
    return responses_;
  }
  /**
   * <pre>
   * The responses to the requests.
   * </pre>
   *
   * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
   */
  public java.util.List<? extends com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.ResponseOrBuilder> 
      getResponsesOrBuilderList() {
    return responses_;
  }
  /**
   * <pre>
   * The responses to the requests.
   * </pre>
   *
   * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
   */
  public int getResponsesCount() {
    return responses_.size();
  }
  /**
   * <pre>
   * The responses to the requests.
   * </pre>
   *
   * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
   */
  public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response getResponses(int index) {
    return responses_.get(index);
  }
  /**
   * <pre>
   * The responses to the requests.
   * </pre>
   *
   * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
   */
  public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.ResponseOrBuilder getResponsesOrBuilder(
      int index) {
    return responses_.get(index);
  }

  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 {
    for (int i = 0; i < responses_.size(); i++) {
      output.writeMessage(1, responses_.get(i));
    }
  }

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

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

  private static final long serialVersionUID = 0L;
  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse)) {
      return super.equals(obj);
    }
    com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse other = (com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse) obj;

    boolean result = true;
    result = result && getResponsesList()
        .equals(other.getResponsesList());
    return result;
  }

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

  public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse 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 com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse 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 com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  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;
  }
  /**
   * <pre>
   * A response message for
   * [ContentAddressableStorage.BatchUpdateBlobs][google.devtools.remoteexecution.v1test.ContentAddressableStorage.BatchUpdateBlobs].
   * </pre>
   *
   * Protobuf type {@code google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse)
      com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponseOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.remoteexecution.v1test.RemoteExecutionProto.internal_static_google_devtools_remoteexecution_v1test_BatchUpdateBlobsResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.remoteexecution.v1test.RemoteExecutionProto.internal_static_google_devtools_remoteexecution_v1test_BatchUpdateBlobsResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.class, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Builder.class);
    }

    // Construct using com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getResponsesFieldBuilder();
      }
    }
    public Builder clear() {
      super.clear();
      if (responsesBuilder_ == null) {
        responses_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        responsesBuilder_.clear();
      }
      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.google.devtools.remoteexecution.v1test.RemoteExecutionProto.internal_static_google_devtools_remoteexecution_v1test_BatchUpdateBlobsResponse_descriptor;
    }

    public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse getDefaultInstanceForType() {
      return com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.getDefaultInstance();
    }

    public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse build() {
      com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse buildPartial() {
      com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse result = new com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse(this);
      int from_bitField0_ = bitField0_;
      if (responsesBuilder_ == null) {
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          responses_ = java.util.Collections.unmodifiableList(responses_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.responses_ = responses_;
      } else {
        result.responses_ = responsesBuilder_.build();
      }
      onBuilt();
      return result;
    }

    public Builder clone() {
      return (Builder) super.clone();
    }
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value) {
      return (Builder) super.setField(field, value);
    }
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return (Builder) super.clearField(field);
    }
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return (Builder) super.clearOneof(oneof);
    }
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, Object value) {
      return (Builder) super.setRepeatedField(field, index, value);
    }
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value) {
      return (Builder) super.addRepeatedField(field, value);
    }
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse) {
        return mergeFrom((com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse other) {
      if (other == com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.getDefaultInstance()) return this;
      if (responsesBuilder_ == null) {
        if (!other.responses_.isEmpty()) {
          if (responses_.isEmpty()) {
            responses_ = other.responses_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureResponsesIsMutable();
            responses_.addAll(other.responses_);
          }
          onChanged();
        }
      } else {
        if (!other.responses_.isEmpty()) {
          if (responsesBuilder_.isEmpty()) {
            responsesBuilder_.dispose();
            responsesBuilder_ = null;
            responses_ = other.responses_;
            bitField0_ = (bitField0_ & ~0x00000001);
            responsesBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getResponsesFieldBuilder() : null;
          } else {
            responsesBuilder_.addAllMessages(other.responses_);
          }
        }
      }
      onChanged();
      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 {
      com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private java.util.List<com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response> responses_ =
      java.util.Collections.emptyList();
    private void ensureResponsesIsMutable() {
      if (!((bitField0_ & 0x00000001) == 0x00000001)) {
        responses_ = new java.util.ArrayList<com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response>(responses_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.Builder, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.ResponseOrBuilder> responsesBuilder_;

    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public java.util.List<com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response> getResponsesList() {
      if (responsesBuilder_ == null) {
        return java.util.Collections.unmodifiableList(responses_);
      } else {
        return responsesBuilder_.getMessageList();
      }
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public int getResponsesCount() {
      if (responsesBuilder_ == null) {
        return responses_.size();
      } else {
        return responsesBuilder_.getCount();
      }
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response getResponses(int index) {
      if (responsesBuilder_ == null) {
        return responses_.get(index);
      } else {
        return responsesBuilder_.getMessage(index);
      }
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public Builder setResponses(
        int index, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response value) {
      if (responsesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureResponsesIsMutable();
        responses_.set(index, value);
        onChanged();
      } else {
        responsesBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public Builder setResponses(
        int index, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.Builder builderForValue) {
      if (responsesBuilder_ == null) {
        ensureResponsesIsMutable();
        responses_.set(index, builderForValue.build());
        onChanged();
      } else {
        responsesBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public Builder addResponses(com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response value) {
      if (responsesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureResponsesIsMutable();
        responses_.add(value);
        onChanged();
      } else {
        responsesBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public Builder addResponses(
        int index, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response value) {
      if (responsesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureResponsesIsMutable();
        responses_.add(index, value);
        onChanged();
      } else {
        responsesBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public Builder addResponses(
        com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.Builder builderForValue) {
      if (responsesBuilder_ == null) {
        ensureResponsesIsMutable();
        responses_.add(builderForValue.build());
        onChanged();
      } else {
        responsesBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public Builder addResponses(
        int index, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.Builder builderForValue) {
      if (responsesBuilder_ == null) {
        ensureResponsesIsMutable();
        responses_.add(index, builderForValue.build());
        onChanged();
      } else {
        responsesBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public Builder addAllResponses(
        java.lang.Iterable<? extends com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response> values) {
      if (responsesBuilder_ == null) {
        ensureResponsesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, responses_);
        onChanged();
      } else {
        responsesBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public Builder clearResponses() {
      if (responsesBuilder_ == null) {
        responses_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        responsesBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public Builder removeResponses(int index) {
      if (responsesBuilder_ == null) {
        ensureResponsesIsMutable();
        responses_.remove(index);
        onChanged();
      } else {
        responsesBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.Builder getResponsesBuilder(
        int index) {
      return getResponsesFieldBuilder().getBuilder(index);
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.ResponseOrBuilder getResponsesOrBuilder(
        int index) {
      if (responsesBuilder_ == null) {
        return responses_.get(index);  } else {
        return responsesBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public java.util.List<? extends com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.ResponseOrBuilder> 
         getResponsesOrBuilderList() {
      if (responsesBuilder_ != null) {
        return responsesBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(responses_);
      }
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.Builder addResponsesBuilder() {
      return getResponsesFieldBuilder().addBuilder(
          com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.getDefaultInstance());
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.Builder addResponsesBuilder(
        int index) {
      return getResponsesFieldBuilder().addBuilder(
          index, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.getDefaultInstance());
    }
    /**
     * <pre>
     * The responses to the requests.
     * </pre>
     *
     * <code>repeated .google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response responses = 1;</code>
     */
    public java.util.List<com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.Builder> 
         getResponsesBuilderList() {
      return getResponsesFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.Builder, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.ResponseOrBuilder> 
        getResponsesFieldBuilder() {
      if (responsesBuilder_ == null) {
        responsesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.Response.Builder, com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse.ResponseOrBuilder>(
                responses_,
                ((bitField0_ & 0x00000001) == 0x00000001),
                getParentForChildren(),
                isClean());
        responses_ = null;
      }
      return responsesBuilder_;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }

    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }


    // @@protoc_insertion_point(builder_scope:google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse)
  }

  // @@protoc_insertion_point(class_scope:google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse)
  private static final com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse();
  }

  public static com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public com.google.devtools.remoteexecution.v1test.BatchUpdateBlobsResponse getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

