nl.topicus.jdbc.shaded.com.google.longrunning.Operation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spanner-jdbc Show documentation
Show all versions of spanner-jdbc Show documentation
JDBC Driver for Google Cloud Spanner
// Generated by the protocol buffer nl.topicus.jdbc.shaded.com.iler. DO NOT EDIT!
// source: google/longrunning/operations.proto
package nl.topicus.jdbc.shaded.com.google.longrunning;
/**
*
* This resource represents a long-running operation that is the result of a
* nl.topicus.jdbc.shaded.net.ork API call.
*
*
* Protobuf type {@code google.longrunning.Operation}
*/
public final class Operation extends
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.longrunning.Operation)
OperationOrBuilder {
// Use Operation.newBuilder() to construct.
private Operation(nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Operation() {
name_ = "";
done_ = false;
}
@java.lang.Override
public final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Operation(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws nl.topicus.jdbc.shaded.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: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
nl.topicus.jdbc.shaded.com.google.protobuf.Any.Builder subBuilder = null;
if (metadata_ != null) {
subBuilder = metadata_.toBuilder();
}
metadata_ = input.readMessage(nl.topicus.jdbc.shaded.com.google.protobuf.Any.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(metadata_);
metadata_ = subBuilder.buildPartial();
}
break;
}
case 24: {
done_ = input.readBool();
break;
}
case 34: {
nl.topicus.jdbc.shaded.com.google.rpc.Status.Builder subBuilder = null;
if (resultCase_ == 4) {
subBuilder = ((nl.topicus.jdbc.shaded.com.google.rpc.Status) result_).toBuilder();
}
result_ =
input.readMessage(nl.topicus.jdbc.shaded.com.google.rpc.Status.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((nl.topicus.jdbc.shaded.com.google.rpc.Status) result_);
result_ = subBuilder.buildPartial();
}
resultCase_ = 4;
break;
}
case 42: {
nl.topicus.jdbc.shaded.com.google.protobuf.Any.Builder subBuilder = null;
if (resultCase_ == 5) {
subBuilder = ((nl.topicus.jdbc.shaded.com.google.protobuf.Any) result_).toBuilder();
}
result_ =
input.readMessage(nl.topicus.jdbc.shaded.com.google.protobuf.Any.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((nl.topicus.jdbc.shaded.com.google.protobuf.Any) result_);
result_ = subBuilder.buildPartial();
}
resultCase_ = 5;
break;
}
}
}
} catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.nl.topicus.jdbc.shaded.io.IOException e) {
throw new nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return nl.topicus.jdbc.shaded.com.google.longrunning.OperationsProto.internal_static_google_longrunning_Operation_descriptor;
}
protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return nl.topicus.jdbc.shaded.com.google.longrunning.OperationsProto.internal_static_google_longrunning_Operation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
nl.topicus.jdbc.shaded.com.google.longrunning.Operation.class, nl.topicus.jdbc.shaded.com.google.longrunning.Operation.Builder.class);
}
private int resultCase_ = 0;
private java.lang.Object result_;
public enum ResultCase
implements nl.topicus.jdbc.shaded.com.google.protobuf.Internal.EnumLite {
ERROR(4),
RESPONSE(5),
RESULT_NOT_SET(0);
private final int value;
private ResultCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ResultCase valueOf(int value) {
return forNumber(value);
}
public static ResultCase forNumber(int value) {
switch (value) {
case 4: return ERROR;
case 5: return RESPONSE;
case 0: return RESULT_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ResultCase
getResultCase() {
return ResultCase.forNumber(
resultCase_);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the
* `name` should have the format of `operations/some/unique/name`.
*
*
* string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString bs =
(nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the
* `name` should have the format of `operations/some/unique/name`.
*
*
* string name = 1;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString b =
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int METADATA_FIELD_NUMBER = 2;
private nl.topicus.jdbc.shaded.com.google.protobuf.Any metadata_;
/**
*
* Service-specific metadata associated with the operation. It typically
* contains progress information and nl.topicus.jdbc.shaded.com.on metadata such as create time.
* Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any.
*
*
* .google.protobuf.Any metadata = 2;
*/
public boolean hasMetadata() {
return metadata_ != null;
}
/**
*
* Service-specific metadata associated with the operation. It typically
* contains progress information and nl.topicus.jdbc.shaded.com.on metadata such as create time.
* Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any.
*
*
* .google.protobuf.Any metadata = 2;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Any getMetadata() {
return metadata_ == null ? nl.topicus.jdbc.shaded.com.google.protobuf.Any.getDefaultInstance() : metadata_;
}
/**
*
* Service-specific metadata associated with the operation. It typically
* contains progress information and nl.topicus.jdbc.shaded.com.on metadata such as create time.
* Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any.
*
*
* .google.protobuf.Any metadata = 2;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.AnyOrBuilder getMetadataOrBuilder() {
return getMetadata();
}
public static final int DONE_FIELD_NUMBER = 3;
private boolean done_;
/**
*
* If the value is `false`, it means the operation is still in progress.
* If true, the operation is nl.topicus.jdbc.shaded.com.leted, and either `error` or `response` is
* available.
*
*
* bool done = 3;
*/
public boolean getDone() {
return done_;
}
public static final int ERROR_FIELD_NUMBER = 4;
/**
*
* The error result of the operation in case of failure or cancellation.
*
*
* .google.rpc.Status error = 4;
*/
public nl.topicus.jdbc.shaded.com.google.rpc.Status getError() {
if (resultCase_ == 4) {
return (nl.topicus.jdbc.shaded.com.google.rpc.Status) result_;
}
return nl.topicus.jdbc.shaded.com.google.rpc.Status.getDefaultInstance();
}
/**
*
* The error result of the operation in case of failure or cancellation.
*
*
* .google.rpc.Status error = 4;
*/
public nl.topicus.jdbc.shaded.com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
if (resultCase_ == 4) {
return (nl.topicus.jdbc.shaded.com.google.rpc.Status) result_;
}
return nl.topicus.jdbc.shaded.com.google.rpc.Status.getDefaultInstance();
}
public static final int RESPONSE_FIELD_NUMBER = 5;
/**
*
* The normal response of the operation in case of success. If the original
* method returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx`
* is the original method name. For example, if the original method name
* is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`.
*
*
* .google.protobuf.Any response = 5;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Any getResponse() {
if (resultCase_ == 5) {
return (nl.topicus.jdbc.shaded.com.google.protobuf.Any) result_;
}
return nl.topicus.jdbc.shaded.com.google.protobuf.Any.getDefaultInstance();
}
/**
*
* The normal response of the operation in case of success. If the original
* method returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx`
* is the original method name. For example, if the original method name
* is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`.
*
*
* .google.protobuf.Any response = 5;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.AnyOrBuilder getResponseOrBuilder() {
if (resultCase_ == 5) {
return (nl.topicus.jdbc.shaded.com.google.protobuf.Any) result_;
}
return nl.topicus.jdbc.shaded.com.google.protobuf.Any.getDefaultInstance();
}
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(nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream output)
throws java.nl.topicus.jdbc.shaded.io.IOException {
if (!getNameBytes().isEmpty()) {
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (metadata_ != null) {
output.writeMessage(2, getMetadata());
}
if (done_ != false) {
output.writeBool(3, done_);
}
if (resultCase_ == 4) {
output.writeMessage(4, (nl.topicus.jdbc.shaded.com.google.rpc.Status) result_);
}
if (resultCase_ == 5) {
output.writeMessage(5, (nl.topicus.jdbc.shaded.com.google.protobuf.Any) result_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.nl.topicus.jdbc.shaded.com.uteStringSize(1, name_);
}
if (metadata_ != null) {
size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream
.nl.topicus.jdbc.shaded.com.uteMessageSize(2, getMetadata());
}
if (done_ != false) {
size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream
.nl.topicus.jdbc.shaded.com.uteBoolSize(3, done_);
}
if (resultCase_ == 4) {
size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream
.nl.topicus.jdbc.shaded.com.uteMessageSize(4, (nl.topicus.jdbc.shaded.com.google.rpc.Status) result_);
}
if (resultCase_ == 5) {
size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream
.nl.topicus.jdbc.shaded.com.uteMessageSize(5, (nl.topicus.jdbc.shaded.com.google.protobuf.Any) result_);
}
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 nl.topicus.jdbc.shaded.com.google.longrunning.Operation)) {
return super.equals(obj);
}
nl.topicus.jdbc.shaded.com.google.longrunning.Operation other = (nl.topicus.jdbc.shaded.com.google.longrunning.Operation) obj;
boolean result = true;
result = result && getName()
.equals(other.getName());
result = result && (hasMetadata() == other.hasMetadata());
if (hasMetadata()) {
result = result && getMetadata()
.equals(other.getMetadata());
}
result = result && (getDone()
== other.getDone());
result = result && getResultCase().equals(
other.getResultCase());
if (!result) return false;
switch (resultCase_) {
case 4:
result = result && getError()
.equals(other.getError());
break;
case 5:
result = result && getResponse()
.equals(other.getResponse());
break;
case 0:
default:
}
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (hasMetadata()) {
hash = (37 * hash) + METADATA_FIELD_NUMBER;
hash = (53 * hash) + getMetadata().hashCode();
}
hash = (37 * hash) + DONE_FIELD_NUMBER;
hash = (53 * hash) + nl.topicus.jdbc.shaded.com.google.protobuf.Internal.hashBoolean(
getDone());
switch (resultCase_) {
case 4:
hash = (37 * hash) + ERROR_FIELD_NUMBER;
hash = (53 * hash) + getError().hashCode();
break;
case 5:
hash = (37 * hash) + RESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getResponse().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static nl.topicus.jdbc.shaded.com.google.longrunning.Operation parseFrom(
java.nio.ByteBuffer data)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static nl.topicus.jdbc.shaded.com.google.longrunning.Operation parseFrom(
java.nio.ByteBuffer data,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static nl.topicus.jdbc.shaded.com.google.longrunning.Operation parseFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static nl.topicus.jdbc.shaded.com.google.longrunning.Operation parseFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString data,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static nl.topicus.jdbc.shaded.com.google.longrunning.Operation parseFrom(byte[] data)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static nl.topicus.jdbc.shaded.com.google.longrunning.Operation parseFrom(
byte[] data,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static nl.topicus.jdbc.shaded.com.google.longrunning.Operation parseFrom(java.nl.topicus.jdbc.shaded.io.InputStream input)
throws java.nl.topicus.jdbc.shaded.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static nl.topicus.jdbc.shaded.com.google.longrunning.Operation parseFrom(
java.nl.topicus.jdbc.shaded.io.InputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.nl.topicus.jdbc.shaded.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static nl.topicus.jdbc.shaded.com.google.longrunning.Operation parseDelimitedFrom(java.nl.topicus.jdbc.shaded.io.InputStream input)
throws java.nl.topicus.jdbc.shaded.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static nl.topicus.jdbc.shaded.com.google.longrunning.Operation parseDelimitedFrom(
java.nl.topicus.jdbc.shaded.io.InputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.nl.topicus.jdbc.shaded.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static nl.topicus.jdbc.shaded.com.google.longrunning.Operation parseFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input)
throws java.nl.topicus.jdbc.shaded.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static nl.topicus.jdbc.shaded.com.google.longrunning.Operation parseFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.nl.topicus.jdbc.shaded.io.IOException {
return nl.topicus.jdbc.shaded.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(nl.topicus.jdbc.shaded.com.google.longrunning.Operation 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(
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* This resource represents a long-running operation that is the result of a
* nl.topicus.jdbc.shaded.net.ork API call.
*
*
* Protobuf type {@code google.longrunning.Operation}
*/
public static final class Builder extends
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.longrunning.Operation)
nl.topicus.jdbc.shaded.com.google.longrunning.OperationOrBuilder {
public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return nl.topicus.jdbc.shaded.com.google.longrunning.OperationsProto.internal_static_google_longrunning_Operation_descriptor;
}
protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return nl.topicus.jdbc.shaded.com.google.longrunning.OperationsProto.internal_static_google_longrunning_Operation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
nl.topicus.jdbc.shaded.com.google.longrunning.Operation.class, nl.topicus.jdbc.shaded.com.google.longrunning.Operation.Builder.class);
}
// Construct using nl.topicus.jdbc.shaded.com.google.longrunning.Operation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
name_ = "";
if (metadataBuilder_ == null) {
metadata_ = null;
} else {
metadata_ = null;
metadataBuilder_ = null;
}
done_ = false;
resultCase_ = 0;
result_ = null;
return this;
}
public nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return nl.topicus.jdbc.shaded.com.google.longrunning.OperationsProto.internal_static_google_longrunning_Operation_descriptor;
}
public nl.topicus.jdbc.shaded.com.google.longrunning.Operation getDefaultInstanceForType() {
return nl.topicus.jdbc.shaded.com.google.longrunning.Operation.getDefaultInstance();
}
public nl.topicus.jdbc.shaded.com.google.longrunning.Operation build() {
nl.topicus.jdbc.shaded.com.google.longrunning.Operation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public nl.topicus.jdbc.shaded.com.google.longrunning.Operation buildPartial() {
nl.topicus.jdbc.shaded.com.google.longrunning.Operation result = new nl.topicus.jdbc.shaded.com.google.longrunning.Operation(this);
result.name_ = name_;
if (metadataBuilder_ == null) {
result.metadata_ = metadata_;
} else {
result.metadata_ = metadataBuilder_.build();
}
result.done_ = done_;
if (resultCase_ == 4) {
if (errorBuilder_ == null) {
result.result_ = result_;
} else {
result.result_ = errorBuilder_.build();
}
}
if (resultCase_ == 5) {
if (responseBuilder_ == null) {
result.result_ = result_;
} else {
result.result_ = responseBuilder_.build();
}
}
result.resultCase_ = resultCase_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.protobuf.Message other) {
if (other instanceof nl.topicus.jdbc.shaded.com.google.longrunning.Operation) {
return mergeFrom((nl.topicus.jdbc.shaded.com.google.longrunning.Operation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.longrunning.Operation other) {
if (other == nl.topicus.jdbc.shaded.com.google.longrunning.Operation.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.hasMetadata()) {
mergeMetadata(other.getMetadata());
}
if (other.getDone() != false) {
setDone(other.getDone());
}
switch (other.getResultCase()) {
case ERROR: {
mergeError(other.getError());
break;
}
case RESPONSE: {
mergeResponse(other.getResponse());
break;
}
case RESULT_NOT_SET: {
break;
}
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.nl.topicus.jdbc.shaded.io.IOException {
nl.topicus.jdbc.shaded.com.google.longrunning.Operation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (nl.topicus.jdbc.shaded.com.google.longrunning.Operation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int resultCase_ = 0;
private java.lang.Object result_;
public ResultCase
getResultCase() {
return ResultCase.forNumber(
resultCase_);
}
public Builder clearResult() {
resultCase_ = 0;
result_ = null;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
*
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the
* `name` should have the format of `operations/some/unique/name`.
*
*
* string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString bs =
(nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the
* `name` should have the format of `operations/some/unique/name`.
*
*
* string name = 1;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString b =
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (nl.topicus.jdbc.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
*
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the
* `name` should have the format of `operations/some/unique/name`.
*
*
* string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the
* `name` should have the format of `operations/some/unique/name`.
*
*
* string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* The server-assigned name, which is only unique within the same service that
* originally returns it. If you use the default HTTP mapping, the
* `name` should have the format of `operations/some/unique/name`.
*
*
* string name = 1;
*/
public Builder setNameBytes(
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private nl.topicus.jdbc.shaded.com.google.protobuf.Any metadata_ = null;
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Any, nl.topicus.jdbc.shaded.com.google.protobuf.Any.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.AnyOrBuilder> metadataBuilder_;
/**
*
* Service-specific metadata associated with the operation. It typically
* contains progress information and nl.topicus.jdbc.shaded.com.on metadata such as create time.
* Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any.
*
*
* .google.protobuf.Any metadata = 2;
*/
public boolean hasMetadata() {
return metadataBuilder_ != null || metadata_ != null;
}
/**
*
* Service-specific metadata associated with the operation. It typically
* contains progress information and nl.topicus.jdbc.shaded.com.on metadata such as create time.
* Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any.
*
*
* .google.protobuf.Any metadata = 2;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Any getMetadata() {
if (metadataBuilder_ == null) {
return metadata_ == null ? nl.topicus.jdbc.shaded.com.google.protobuf.Any.getDefaultInstance() : metadata_;
} else {
return metadataBuilder_.getMessage();
}
}
/**
*
* Service-specific metadata associated with the operation. It typically
* contains progress information and nl.topicus.jdbc.shaded.com.on metadata such as create time.
* Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any.
*
*
* .google.protobuf.Any metadata = 2;
*/
public Builder setMetadata(nl.topicus.jdbc.shaded.com.google.protobuf.Any value) {
if (metadataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
metadata_ = value;
onChanged();
} else {
metadataBuilder_.setMessage(value);
}
return this;
}
/**
*
* Service-specific metadata associated with the operation. It typically
* contains progress information and nl.topicus.jdbc.shaded.com.on metadata such as create time.
* Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any.
*
*
* .google.protobuf.Any metadata = 2;
*/
public Builder setMetadata(
nl.topicus.jdbc.shaded.com.google.protobuf.Any.Builder builderForValue) {
if (metadataBuilder_ == null) {
metadata_ = builderForValue.build();
onChanged();
} else {
metadataBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Service-specific metadata associated with the operation. It typically
* contains progress information and nl.topicus.jdbc.shaded.com.on metadata such as create time.
* Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any.
*
*
* .google.protobuf.Any metadata = 2;
*/
public Builder mergeMetadata(nl.topicus.jdbc.shaded.com.google.protobuf.Any value) {
if (metadataBuilder_ == null) {
if (metadata_ != null) {
metadata_ =
nl.topicus.jdbc.shaded.com.google.protobuf.Any.newBuilder(metadata_).mergeFrom(value).buildPartial();
} else {
metadata_ = value;
}
onChanged();
} else {
metadataBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Service-specific metadata associated with the operation. It typically
* contains progress information and nl.topicus.jdbc.shaded.com.on metadata such as create time.
* Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any.
*
*
* .google.protobuf.Any metadata = 2;
*/
public Builder clearMetadata() {
if (metadataBuilder_ == null) {
metadata_ = null;
onChanged();
} else {
metadata_ = null;
metadataBuilder_ = null;
}
return this;
}
/**
*
* Service-specific metadata associated with the operation. It typically
* contains progress information and nl.topicus.jdbc.shaded.com.on metadata such as create time.
* Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any.
*
*
* .google.protobuf.Any metadata = 2;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Any.Builder getMetadataBuilder() {
onChanged();
return getMetadataFieldBuilder().getBuilder();
}
/**
*
* Service-specific metadata associated with the operation. It typically
* contains progress information and nl.topicus.jdbc.shaded.com.on metadata such as create time.
* Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any.
*
*
* .google.protobuf.Any metadata = 2;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.AnyOrBuilder getMetadataOrBuilder() {
if (metadataBuilder_ != null) {
return metadataBuilder_.getMessageOrBuilder();
} else {
return metadata_ == null ?
nl.topicus.jdbc.shaded.com.google.protobuf.Any.getDefaultInstance() : metadata_;
}
}
/**
*
* Service-specific metadata associated with the operation. It typically
* contains progress information and nl.topicus.jdbc.shaded.com.on metadata such as create time.
* Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any.
*
*
* .google.protobuf.Any metadata = 2;
*/
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Any, nl.topicus.jdbc.shaded.com.google.protobuf.Any.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.AnyOrBuilder>
getMetadataFieldBuilder() {
if (metadataBuilder_ == null) {
metadataBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Any, nl.topicus.jdbc.shaded.com.google.protobuf.Any.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.AnyOrBuilder>(
getMetadata(),
getParentForChildren(),
isClean());
metadata_ = null;
}
return metadataBuilder_;
}
private boolean done_ ;
/**
*
* If the value is `false`, it means the operation is still in progress.
* If true, the operation is nl.topicus.jdbc.shaded.com.leted, and either `error` or `response` is
* available.
*
*
* bool done = 3;
*/
public boolean getDone() {
return done_;
}
/**
*
* If the value is `false`, it means the operation is still in progress.
* If true, the operation is nl.topicus.jdbc.shaded.com.leted, and either `error` or `response` is
* available.
*
*
* bool done = 3;
*/
public Builder setDone(boolean value) {
done_ = value;
onChanged();
return this;
}
/**
*
* If the value is `false`, it means the operation is still in progress.
* If true, the operation is nl.topicus.jdbc.shaded.com.leted, and either `error` or `response` is
* available.
*
*
* bool done = 3;
*/
public Builder clearDone() {
done_ = false;
onChanged();
return this;
}
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.rpc.Status, nl.topicus.jdbc.shaded.com.google.rpc.Status.Builder, nl.topicus.jdbc.shaded.com.google.rpc.StatusOrBuilder> errorBuilder_;
/**
*
* The error result of the operation in case of failure or cancellation.
*
*
* .google.rpc.Status error = 4;
*/
public nl.topicus.jdbc.shaded.com.google.rpc.Status getError() {
if (errorBuilder_ == null) {
if (resultCase_ == 4) {
return (nl.topicus.jdbc.shaded.com.google.rpc.Status) result_;
}
return nl.topicus.jdbc.shaded.com.google.rpc.Status.getDefaultInstance();
} else {
if (resultCase_ == 4) {
return errorBuilder_.getMessage();
}
return nl.topicus.jdbc.shaded.com.google.rpc.Status.getDefaultInstance();
}
}
/**
*
* The error result of the operation in case of failure or cancellation.
*
*
* .google.rpc.Status error = 4;
*/
public Builder setError(nl.topicus.jdbc.shaded.com.google.rpc.Status value) {
if (errorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
} else {
errorBuilder_.setMessage(value);
}
resultCase_ = 4;
return this;
}
/**
*
* The error result of the operation in case of failure or cancellation.
*
*
* .google.rpc.Status error = 4;
*/
public Builder setError(
nl.topicus.jdbc.shaded.com.google.rpc.Status.Builder builderForValue) {
if (errorBuilder_ == null) {
result_ = builderForValue.build();
onChanged();
} else {
errorBuilder_.setMessage(builderForValue.build());
}
resultCase_ = 4;
return this;
}
/**
*
* The error result of the operation in case of failure or cancellation.
*
*
* .google.rpc.Status error = 4;
*/
public Builder mergeError(nl.topicus.jdbc.shaded.com.google.rpc.Status value) {
if (errorBuilder_ == null) {
if (resultCase_ == 4 &&
result_ != nl.topicus.jdbc.shaded.com.google.rpc.Status.getDefaultInstance()) {
result_ = nl.topicus.jdbc.shaded.com.google.rpc.Status.newBuilder((nl.topicus.jdbc.shaded.com.google.rpc.Status) result_)
.mergeFrom(value).buildPartial();
} else {
result_ = value;
}
onChanged();
} else {
if (resultCase_ == 4) {
errorBuilder_.mergeFrom(value);
}
errorBuilder_.setMessage(value);
}
resultCase_ = 4;
return this;
}
/**
*
* The error result of the operation in case of failure or cancellation.
*
*
* .google.rpc.Status error = 4;
*/
public Builder clearError() {
if (errorBuilder_ == null) {
if (resultCase_ == 4) {
resultCase_ = 0;
result_ = null;
onChanged();
}
} else {
if (resultCase_ == 4) {
resultCase_ = 0;
result_ = null;
}
errorBuilder_.clear();
}
return this;
}
/**
*
* The error result of the operation in case of failure or cancellation.
*
*
* .google.rpc.Status error = 4;
*/
public nl.topicus.jdbc.shaded.com.google.rpc.Status.Builder getErrorBuilder() {
return getErrorFieldBuilder().getBuilder();
}
/**
*
* The error result of the operation in case of failure or cancellation.
*
*
* .google.rpc.Status error = 4;
*/
public nl.topicus.jdbc.shaded.com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
if ((resultCase_ == 4) && (errorBuilder_ != null)) {
return errorBuilder_.getMessageOrBuilder();
} else {
if (resultCase_ == 4) {
return (nl.topicus.jdbc.shaded.com.google.rpc.Status) result_;
}
return nl.topicus.jdbc.shaded.com.google.rpc.Status.getDefaultInstance();
}
}
/**
*
* The error result of the operation in case of failure or cancellation.
*
*
* .google.rpc.Status error = 4;
*/
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.rpc.Status, nl.topicus.jdbc.shaded.com.google.rpc.Status.Builder, nl.topicus.jdbc.shaded.com.google.rpc.StatusOrBuilder>
getErrorFieldBuilder() {
if (errorBuilder_ == null) {
if (!(resultCase_ == 4)) {
result_ = nl.topicus.jdbc.shaded.com.google.rpc.Status.getDefaultInstance();
}
errorBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.rpc.Status, nl.topicus.jdbc.shaded.com.google.rpc.Status.Builder, nl.topicus.jdbc.shaded.com.google.rpc.StatusOrBuilder>(
(nl.topicus.jdbc.shaded.com.google.rpc.Status) result_,
getParentForChildren(),
isClean());
result_ = null;
}
resultCase_ = 4;
onChanged();;
return errorBuilder_;
}
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Any, nl.topicus.jdbc.shaded.com.google.protobuf.Any.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.AnyOrBuilder> responseBuilder_;
/**
*
* The normal response of the operation in case of success. If the original
* method returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx`
* is the original method name. For example, if the original method name
* is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`.
*
*
* .google.protobuf.Any response = 5;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Any getResponse() {
if (responseBuilder_ == null) {
if (resultCase_ == 5) {
return (nl.topicus.jdbc.shaded.com.google.protobuf.Any) result_;
}
return nl.topicus.jdbc.shaded.com.google.protobuf.Any.getDefaultInstance();
} else {
if (resultCase_ == 5) {
return responseBuilder_.getMessage();
}
return nl.topicus.jdbc.shaded.com.google.protobuf.Any.getDefaultInstance();
}
}
/**
*
* The normal response of the operation in case of success. If the original
* method returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx`
* is the original method name. For example, if the original method name
* is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`.
*
*
* .google.protobuf.Any response = 5;
*/
public Builder setResponse(nl.topicus.jdbc.shaded.com.google.protobuf.Any value) {
if (responseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
} else {
responseBuilder_.setMessage(value);
}
resultCase_ = 5;
return this;
}
/**
*
* The normal response of the operation in case of success. If the original
* method returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx`
* is the original method name. For example, if the original method name
* is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`.
*
*
* .google.protobuf.Any response = 5;
*/
public Builder setResponse(
nl.topicus.jdbc.shaded.com.google.protobuf.Any.Builder builderForValue) {
if (responseBuilder_ == null) {
result_ = builderForValue.build();
onChanged();
} else {
responseBuilder_.setMessage(builderForValue.build());
}
resultCase_ = 5;
return this;
}
/**
*
* The normal response of the operation in case of success. If the original
* method returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx`
* is the original method name. For example, if the original method name
* is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`.
*
*
* .google.protobuf.Any response = 5;
*/
public Builder mergeResponse(nl.topicus.jdbc.shaded.com.google.protobuf.Any value) {
if (responseBuilder_ == null) {
if (resultCase_ == 5 &&
result_ != nl.topicus.jdbc.shaded.com.google.protobuf.Any.getDefaultInstance()) {
result_ = nl.topicus.jdbc.shaded.com.google.protobuf.Any.newBuilder((nl.topicus.jdbc.shaded.com.google.protobuf.Any) result_)
.mergeFrom(value).buildPartial();
} else {
result_ = value;
}
onChanged();
} else {
if (resultCase_ == 5) {
responseBuilder_.mergeFrom(value);
}
responseBuilder_.setMessage(value);
}
resultCase_ = 5;
return this;
}
/**
*
* The normal response of the operation in case of success. If the original
* method returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx`
* is the original method name. For example, if the original method name
* is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`.
*
*
* .google.protobuf.Any response = 5;
*/
public Builder clearResponse() {
if (responseBuilder_ == null) {
if (resultCase_ == 5) {
resultCase_ = 0;
result_ = null;
onChanged();
}
} else {
if (resultCase_ == 5) {
resultCase_ = 0;
result_ = null;
}
responseBuilder_.clear();
}
return this;
}
/**
*
* The normal response of the operation in case of success. If the original
* method returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx`
* is the original method name. For example, if the original method name
* is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`.
*
*
* .google.protobuf.Any response = 5;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Any.Builder getResponseBuilder() {
return getResponseFieldBuilder().getBuilder();
}
/**
*
* The normal response of the operation in case of success. If the original
* method returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx`
* is the original method name. For example, if the original method name
* is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`.
*
*
* .google.protobuf.Any response = 5;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.AnyOrBuilder getResponseOrBuilder() {
if ((resultCase_ == 5) && (responseBuilder_ != null)) {
return responseBuilder_.getMessageOrBuilder();
} else {
if (resultCase_ == 5) {
return (nl.topicus.jdbc.shaded.com.google.protobuf.Any) result_;
}
return nl.topicus.jdbc.shaded.com.google.protobuf.Any.getDefaultInstance();
}
}
/**
*
* The normal response of the operation in case of success. If the original
* method returns no data on success, such as `Delete`, the response is
* `google.protobuf.Empty`. If the original method is standard
* `Get`/`Create`/`Update`, the response should be the resource. For other
* methods, the response should have the type `XxxResponse`, where `Xxx`
* is the original method name. For example, if the original method name
* is `TakeSnapshot()`, the inferred response type is
* `TakeSnapshotResponse`.
*
*
* .google.protobuf.Any response = 5;
*/
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Any, nl.topicus.jdbc.shaded.com.google.protobuf.Any.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.AnyOrBuilder>
getResponseFieldBuilder() {
if (responseBuilder_ == null) {
if (!(resultCase_ == 5)) {
result_ = nl.topicus.jdbc.shaded.com.google.protobuf.Any.getDefaultInstance();
}
responseBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Any, nl.topicus.jdbc.shaded.com.google.protobuf.Any.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.AnyOrBuilder>(
(nl.topicus.jdbc.shaded.com.google.protobuf.Any) result_,
getParentForChildren(),
isClean());
result_ = null;
}
resultCase_ = 5;
onChanged();;
return responseBuilder_;
}
public final Builder setUnknownFields(
final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:google.longrunning.Operation)
}
// @@protoc_insertion_point(class_scope:google.longrunning.Operation)
private static final nl.topicus.jdbc.shaded.com.google.longrunning.Operation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new nl.topicus.jdbc.shaded.com.google.longrunning.Operation();
}
public static nl.topicus.jdbc.shaded.com.google.longrunning.Operation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final nl.topicus.jdbc.shaded.com.google.protobuf.Parser
PARSER = new nl.topicus.jdbc.shaded.com.google.protobuf.AbstractParser() {
public Operation parsePartialFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new Operation(input, extensionRegistry);
}
};
public static nl.topicus.jdbc.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public nl.topicus.jdbc.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public nl.topicus.jdbc.shaded.com.google.longrunning.Operation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}