Please wait. This can take some minutes ...
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.
build.bazel.remote.execution.v2.FindMissingBlobsResponse Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: build/bazel/remote/execution/v2/remote_execution.proto
// Protobuf Java Version: 3.25.3
package build.bazel.remote.execution.v2;
/**
*
* A response message for
* [ContentAddressableStorage.FindMissingBlobs][build.bazel.remote.execution.v2.ContentAddressableStorage.FindMissingBlobs].
*
*
* Protobuf type {@code build.bazel.remote.execution.v2.FindMissingBlobsResponse}
*/
public final class FindMissingBlobsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:build.bazel.remote.execution.v2.FindMissingBlobsResponse)
FindMissingBlobsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use FindMissingBlobsResponse.newBuilder() to construct.
private FindMissingBlobsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FindMissingBlobsResponse() {
missingBlobDigests_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FindMissingBlobsResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_FindMissingBlobsResponse_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_FindMissingBlobsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
build.bazel.remote.execution.v2.FindMissingBlobsResponse.class, build.bazel.remote.execution.v2.FindMissingBlobsResponse.Builder.class);
}
public static final int MISSING_BLOB_DIGESTS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List missingBlobDigests_;
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
@java.lang.Override
public java.util.List getMissingBlobDigestsList() {
return missingBlobDigests_;
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
@java.lang.Override
public java.util.List extends build.bazel.remote.execution.v2.DigestOrBuilder>
getMissingBlobDigestsOrBuilderList() {
return missingBlobDigests_;
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
@java.lang.Override
public int getMissingBlobDigestsCount() {
return missingBlobDigests_.size();
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
@java.lang.Override
public build.bazel.remote.execution.v2.Digest getMissingBlobDigests(int index) {
return missingBlobDigests_.get(index);
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
@java.lang.Override
public build.bazel.remote.execution.v2.DigestOrBuilder getMissingBlobDigestsOrBuilder(
int index) {
return missingBlobDigests_.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 < missingBlobDigests_.size(); i++) {
output.writeMessage(2, missingBlobDigests_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < missingBlobDigests_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, missingBlobDigests_.get(i));
}
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.FindMissingBlobsResponse)) {
return super.equals(obj);
}
build.bazel.remote.execution.v2.FindMissingBlobsResponse other = (build.bazel.remote.execution.v2.FindMissingBlobsResponse) obj;
if (!getMissingBlobDigestsList()
.equals(other.getMissingBlobDigestsList())) 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 (getMissingBlobDigestsCount() > 0) {
hash = (37 * hash) + MISSING_BLOB_DIGESTS_FIELD_NUMBER;
hash = (53 * hash) + getMissingBlobDigestsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static build.bazel.remote.execution.v2.FindMissingBlobsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static build.bazel.remote.execution.v2.FindMissingBlobsResponse 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.FindMissingBlobsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static build.bazel.remote.execution.v2.FindMissingBlobsResponse 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.FindMissingBlobsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static build.bazel.remote.execution.v2.FindMissingBlobsResponse 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.FindMissingBlobsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static build.bazel.remote.execution.v2.FindMissingBlobsResponse 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.FindMissingBlobsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static build.bazel.remote.execution.v2.FindMissingBlobsResponse 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.FindMissingBlobsResponse 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.FindMissingBlobsResponse 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.FindMissingBlobsResponse 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 message for
* [ContentAddressableStorage.FindMissingBlobs][build.bazel.remote.execution.v2.ContentAddressableStorage.FindMissingBlobs].
*
*
* Protobuf type {@code build.bazel.remote.execution.v2.FindMissingBlobsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:build.bazel.remote.execution.v2.FindMissingBlobsResponse)
build.bazel.remote.execution.v2.FindMissingBlobsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_FindMissingBlobsResponse_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_FindMissingBlobsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
build.bazel.remote.execution.v2.FindMissingBlobsResponse.class, build.bazel.remote.execution.v2.FindMissingBlobsResponse.Builder.class);
}
// Construct using build.bazel.remote.execution.v2.FindMissingBlobsResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (missingBlobDigestsBuilder_ == null) {
missingBlobDigests_ = java.util.Collections.emptyList();
} else {
missingBlobDigests_ = null;
missingBlobDigestsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
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_FindMissingBlobsResponse_descriptor;
}
@java.lang.Override
public build.bazel.remote.execution.v2.FindMissingBlobsResponse getDefaultInstanceForType() {
return build.bazel.remote.execution.v2.FindMissingBlobsResponse.getDefaultInstance();
}
@java.lang.Override
public build.bazel.remote.execution.v2.FindMissingBlobsResponse build() {
build.bazel.remote.execution.v2.FindMissingBlobsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public build.bazel.remote.execution.v2.FindMissingBlobsResponse buildPartial() {
build.bazel.remote.execution.v2.FindMissingBlobsResponse result = new build.bazel.remote.execution.v2.FindMissingBlobsResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(build.bazel.remote.execution.v2.FindMissingBlobsResponse result) {
if (missingBlobDigestsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
missingBlobDigests_ = java.util.Collections.unmodifiableList(missingBlobDigests_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.missingBlobDigests_ = missingBlobDigests_;
} else {
result.missingBlobDigests_ = missingBlobDigestsBuilder_.build();
}
}
private void buildPartial0(build.bazel.remote.execution.v2.FindMissingBlobsResponse result) {
int from_bitField0_ = bitField0_;
}
@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 build.bazel.remote.execution.v2.FindMissingBlobsResponse) {
return mergeFrom((build.bazel.remote.execution.v2.FindMissingBlobsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(build.bazel.remote.execution.v2.FindMissingBlobsResponse other) {
if (other == build.bazel.remote.execution.v2.FindMissingBlobsResponse.getDefaultInstance()) return this;
if (missingBlobDigestsBuilder_ == null) {
if (!other.missingBlobDigests_.isEmpty()) {
if (missingBlobDigests_.isEmpty()) {
missingBlobDigests_ = other.missingBlobDigests_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMissingBlobDigestsIsMutable();
missingBlobDigests_.addAll(other.missingBlobDigests_);
}
onChanged();
}
} else {
if (!other.missingBlobDigests_.isEmpty()) {
if (missingBlobDigestsBuilder_.isEmpty()) {
missingBlobDigestsBuilder_.dispose();
missingBlobDigestsBuilder_ = null;
missingBlobDigests_ = other.missingBlobDigests_;
bitField0_ = (bitField0_ & ~0x00000001);
missingBlobDigestsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMissingBlobDigestsFieldBuilder() : null;
} else {
missingBlobDigestsBuilder_.addAllMessages(other.missingBlobDigests_);
}
}
}
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 18: {
build.bazel.remote.execution.v2.Digest m =
input.readMessage(
build.bazel.remote.execution.v2.Digest.parser(),
extensionRegistry);
if (missingBlobDigestsBuilder_ == null) {
ensureMissingBlobDigestsIsMutable();
missingBlobDigests_.add(m);
} else {
missingBlobDigestsBuilder_.addMessage(m);
}
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 java.util.List missingBlobDigests_ =
java.util.Collections.emptyList();
private void ensureMissingBlobDigestsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
missingBlobDigests_ = new java.util.ArrayList(missingBlobDigests_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
build.bazel.remote.execution.v2.Digest, build.bazel.remote.execution.v2.Digest.Builder, build.bazel.remote.execution.v2.DigestOrBuilder> missingBlobDigestsBuilder_;
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public java.util.List getMissingBlobDigestsList() {
if (missingBlobDigestsBuilder_ == null) {
return java.util.Collections.unmodifiableList(missingBlobDigests_);
} else {
return missingBlobDigestsBuilder_.getMessageList();
}
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public int getMissingBlobDigestsCount() {
if (missingBlobDigestsBuilder_ == null) {
return missingBlobDigests_.size();
} else {
return missingBlobDigestsBuilder_.getCount();
}
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public build.bazel.remote.execution.v2.Digest getMissingBlobDigests(int index) {
if (missingBlobDigestsBuilder_ == null) {
return missingBlobDigests_.get(index);
} else {
return missingBlobDigestsBuilder_.getMessage(index);
}
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public Builder setMissingBlobDigests(
int index, build.bazel.remote.execution.v2.Digest value) {
if (missingBlobDigestsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMissingBlobDigestsIsMutable();
missingBlobDigests_.set(index, value);
onChanged();
} else {
missingBlobDigestsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public Builder setMissingBlobDigests(
int index, build.bazel.remote.execution.v2.Digest.Builder builderForValue) {
if (missingBlobDigestsBuilder_ == null) {
ensureMissingBlobDigestsIsMutable();
missingBlobDigests_.set(index, builderForValue.build());
onChanged();
} else {
missingBlobDigestsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public Builder addMissingBlobDigests(build.bazel.remote.execution.v2.Digest value) {
if (missingBlobDigestsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMissingBlobDigestsIsMutable();
missingBlobDigests_.add(value);
onChanged();
} else {
missingBlobDigestsBuilder_.addMessage(value);
}
return this;
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public Builder addMissingBlobDigests(
int index, build.bazel.remote.execution.v2.Digest value) {
if (missingBlobDigestsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMissingBlobDigestsIsMutable();
missingBlobDigests_.add(index, value);
onChanged();
} else {
missingBlobDigestsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public Builder addMissingBlobDigests(
build.bazel.remote.execution.v2.Digest.Builder builderForValue) {
if (missingBlobDigestsBuilder_ == null) {
ensureMissingBlobDigestsIsMutable();
missingBlobDigests_.add(builderForValue.build());
onChanged();
} else {
missingBlobDigestsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public Builder addMissingBlobDigests(
int index, build.bazel.remote.execution.v2.Digest.Builder builderForValue) {
if (missingBlobDigestsBuilder_ == null) {
ensureMissingBlobDigestsIsMutable();
missingBlobDigests_.add(index, builderForValue.build());
onChanged();
} else {
missingBlobDigestsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public Builder addAllMissingBlobDigests(
java.lang.Iterable extends build.bazel.remote.execution.v2.Digest> values) {
if (missingBlobDigestsBuilder_ == null) {
ensureMissingBlobDigestsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, missingBlobDigests_);
onChanged();
} else {
missingBlobDigestsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public Builder clearMissingBlobDigests() {
if (missingBlobDigestsBuilder_ == null) {
missingBlobDigests_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
missingBlobDigestsBuilder_.clear();
}
return this;
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public Builder removeMissingBlobDigests(int index) {
if (missingBlobDigestsBuilder_ == null) {
ensureMissingBlobDigestsIsMutable();
missingBlobDigests_.remove(index);
onChanged();
} else {
missingBlobDigestsBuilder_.remove(index);
}
return this;
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public build.bazel.remote.execution.v2.Digest.Builder getMissingBlobDigestsBuilder(
int index) {
return getMissingBlobDigestsFieldBuilder().getBuilder(index);
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public build.bazel.remote.execution.v2.DigestOrBuilder getMissingBlobDigestsOrBuilder(
int index) {
if (missingBlobDigestsBuilder_ == null) {
return missingBlobDigests_.get(index); } else {
return missingBlobDigestsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public java.util.List extends build.bazel.remote.execution.v2.DigestOrBuilder>
getMissingBlobDigestsOrBuilderList() {
if (missingBlobDigestsBuilder_ != null) {
return missingBlobDigestsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(missingBlobDigests_);
}
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public build.bazel.remote.execution.v2.Digest.Builder addMissingBlobDigestsBuilder() {
return getMissingBlobDigestsFieldBuilder().addBuilder(
build.bazel.remote.execution.v2.Digest.getDefaultInstance());
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public build.bazel.remote.execution.v2.Digest.Builder addMissingBlobDigestsBuilder(
int index) {
return getMissingBlobDigestsFieldBuilder().addBuilder(
index, build.bazel.remote.execution.v2.Digest.getDefaultInstance());
}
/**
*
* A list of the blobs requested *not* present in the storage.
*
*
* repeated .build.bazel.remote.execution.v2.Digest missing_blob_digests = 2;
*/
public java.util.List
getMissingBlobDigestsBuilderList() {
return getMissingBlobDigestsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
build.bazel.remote.execution.v2.Digest, build.bazel.remote.execution.v2.Digest.Builder, build.bazel.remote.execution.v2.DigestOrBuilder>
getMissingBlobDigestsFieldBuilder() {
if (missingBlobDigestsBuilder_ == null) {
missingBlobDigestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
build.bazel.remote.execution.v2.Digest, build.bazel.remote.execution.v2.Digest.Builder, build.bazel.remote.execution.v2.DigestOrBuilder>(
missingBlobDigests_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
missingBlobDigests_ = null;
}
return missingBlobDigestsBuilder_;
}
@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:build.bazel.remote.execution.v2.FindMissingBlobsResponse)
}
// @@protoc_insertion_point(class_scope:build.bazel.remote.execution.v2.FindMissingBlobsResponse)
private static final build.bazel.remote.execution.v2.FindMissingBlobsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new build.bazel.remote.execution.v2.FindMissingBlobsResponse();
}
public static build.bazel.remote.execution.v2.FindMissingBlobsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FindMissingBlobsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public build.bazel.remote.execution.v2.FindMissingBlobsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}