Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: build/bazel/remote/execution/v2/remote_execution.proto
package build.bazel.remote.execution.v2;
/**
*
* A response message for
* [ContentAddressableStorage.BatchUpdateBlobs][build.bazel.remote.execution.v2.ContentAddressableStorage.BatchUpdateBlobs].
*
*
* Protobuf type {@code build.bazel.remote.execution.v2.BatchUpdateBlobsResponse}
*/
public final class BatchUpdateBlobsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:build.bazel.remote.execution.v2.BatchUpdateBlobsResponse)
BatchUpdateBlobsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// 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
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BatchUpdateBlobsResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_BatchUpdateBlobsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_BatchUpdateBlobsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.class, build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Builder.class);
}
public interface ResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response)
com.google.protobuf.MessageOrBuilder {
/**
*
* The blob digest to which this response corresponds.
*
*
* .build.bazel.remote.execution.v2.Digest digest = 1;
* @return Whether the digest field is set.
*/
boolean hasDigest();
/**
*
* The blob digest to which this response corresponds.
*
* The blob digest to which this response corresponds.
*
*
* .build.bazel.remote.execution.v2.Digest digest = 1;
*/
@java.lang.Override
public build.bazel.remote.execution.v2.DigestOrBuilder getDigestOrBuilder() {
return digest_ == null ? build.bazel.remote.execution.v2.Digest.getDefaultInstance() : digest_;
}
public static final int STATUS_FIELD_NUMBER = 2;
private com.google.rpc.Status status_;
/**
*
* The result of attempting to upload that blob.
*
*
* .google.rpc.Status status = 2;
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return status_ != null;
}
/**
*
* The result of attempting to upload that blob.
*
*
* .google.rpc.Status status = 2;
* @return The status.
*/
@java.lang.Override
public com.google.rpc.Status getStatus() {
return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
}
/**
*
* The result of attempting to upload that blob.
*
*
* .google.rpc.Status status = 2;
*/
@java.lang.Override
public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (digest_ != null) {
output.writeMessage(1, getDigest());
}
if (status_ != null) {
output.writeMessage(2, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (digest_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getDigest());
}
if (status_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response)) {
return super.equals(obj);
}
build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response other = (build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response) obj;
if (hasDigest() != other.hasDigest()) return false;
if (hasDigest()) {
if (!getDigest()
.equals(other.getDigest())) return false;
}
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasDigest()) {
hash = (37 * hash) + DIGEST_FIELD_NUMBER;
hash = (53 * hash) + getDigest().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static build.bazel.remote.execution.v2.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 build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static build.bazel.remote.execution.v2.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 build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static build.bazel.remote.execution.v2.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 build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static build.bazel.remote.execution.v2.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);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response 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;
}
/**
*
* A response corresponding to a single blob that the client tried to upload.
*
*
* Protobuf type {@code build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response)
build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.ResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_BatchUpdateBlobsResponse_Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_BatchUpdateBlobsResponse_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response.class, build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response.Builder.class);
}
// Construct using build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
digest_ = null;
if (digestBuilder_ != null) {
digestBuilder_.dispose();
digestBuilder_ = null;
}
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_BatchUpdateBlobsResponse_Response_descriptor;
}
@java.lang.Override
public build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response getDefaultInstanceForType() {
return build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response.getDefaultInstance();
}
@java.lang.Override
public build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response build() {
build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response buildPartial() {
build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response result = new build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.digest_ = digestBuilder_ == null
? digest_
: digestBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response) {
return mergeFrom((build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response other) {
if (other == build.bazel.remote.execution.v2.BatchUpdateBlobsResponse.Response.getDefaultInstance()) return this;
if (other.hasDigest()) {
mergeDigest(other.getDigest());
}
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getDigestFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private build.bazel.remote.execution.v2.Digest digest_;
private com.google.protobuf.SingleFieldBuilderV3<
build.bazel.remote.execution.v2.Digest, build.bazel.remote.execution.v2.Digest.Builder, build.bazel.remote.execution.v2.DigestOrBuilder> digestBuilder_;
/**
*
* The blob digest to which this response corresponds.
*
*
* .build.bazel.remote.execution.v2.Digest digest = 1;
* @return Whether the digest field is set.
*/
public boolean hasDigest() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The blob digest to which this response corresponds.
*
*
* .google.rpc.Status status = 2;
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* The result of attempting to upload that blob.
*
*
* .google.rpc.Status status = 2;
* @return The status.
*/
public com.google.rpc.Status getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
*
* The result of attempting to upload that blob.
*
*
* .google.rpc.Status status = 2;
*/
public Builder setStatus(com.google.rpc.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*