nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse 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/spanner/v1/spanner.proto
package nl.topicus.jdbc.shaded.com.google.spanner.v1;
/**
*
* The response for [Commit][google.spanner.v1.Spanner.Commit].
*
*
* Protobuf type {@code google.spanner.v1.CommitResponse}
*/
public final class CommitResponse extends
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.spanner.v1.CommitResponse)
CommitResponseOrBuilder {
// Use CommitResponse.newBuilder() to construct.
private CommitResponse(nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CommitResponse() {
}
@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 CommitResponse(
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: {
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder subBuilder = null;
if (nl.topicus.jdbc.shaded.com.itTimestamp_ != null) {
subBuilder = nl.topicus.jdbc.shaded.com.itTimestamp_.toBuilder();
}
nl.topicus.jdbc.shaded.com.itTimestamp_ = input.readMessage(nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(nl.topicus.jdbc.shaded.com.itTimestamp_);
nl.topicus.jdbc.shaded.com.itTimestamp_ = subBuilder.buildPartial();
}
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.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitResponse_descriptor;
}
protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return nl.topicus.jdbc.shaded.com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse.class, nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse.Builder.class);
}
public static final int COMMIT_TIMESTAMP_FIELD_NUMBER = 1;
private nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.itTimestamp_;
/**
*
* The Cloud Spanner timestamp at which the transaction nl.topicus.jdbc.shaded.com.itted.
*
*
* .google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.it_timestamp = 1;
*/
public boolean hasCommitTimestamp() {
return nl.topicus.jdbc.shaded.com.itTimestamp_ != null;
}
/**
*
* The Cloud Spanner timestamp at which the transaction nl.topicus.jdbc.shaded.com.itted.
*
*
* .google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.it_timestamp = 1;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp getCommitTimestamp() {
return nl.topicus.jdbc.shaded.com.itTimestamp_ == null ? nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : nl.topicus.jdbc.shaded.com.itTimestamp_;
}
/**
*
* The Cloud Spanner timestamp at which the transaction nl.topicus.jdbc.shaded.com.itted.
*
*
* .google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.it_timestamp = 1;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
return getCommitTimestamp();
}
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 (nl.topicus.jdbc.shaded.com.itTimestamp_ != null) {
output.writeMessage(1, getCommitTimestamp());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (nl.topicus.jdbc.shaded.com.itTimestamp_ != null) {
size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream
.nl.topicus.jdbc.shaded.com.uteMessageSize(1, getCommitTimestamp());
}
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.spanner.v1.CommitResponse)) {
return super.equals(obj);
}
nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse other = (nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse) obj;
boolean result = true;
result = result && (hasCommitTimestamp() == other.hasCommitTimestamp());
if (hasCommitTimestamp()) {
result = result && getCommitTimestamp()
.equals(other.getCommitTimestamp());
}
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCommitTimestamp()) {
hash = (37 * hash) + COMMIT_TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getCommitTimestamp().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse parseFrom(byte[] data)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse 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;
}
/**
*
* The response for [Commit][google.spanner.v1.Spanner.Commit].
*
*
* Protobuf type {@code google.spanner.v1.CommitResponse}
*/
public static final class Builder extends
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.spanner.v1.CommitResponse)
nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponseOrBuilder {
public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return nl.topicus.jdbc.shaded.com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitResponse_descriptor;
}
protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return nl.topicus.jdbc.shaded.com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse.class, nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse.Builder.class);
}
// Construct using nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse.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();
if (nl.topicus.jdbc.shaded.com.itTimestampBuilder_ == null) {
nl.topicus.jdbc.shaded.com.itTimestamp_ = null;
} else {
nl.topicus.jdbc.shaded.com.itTimestamp_ = null;
nl.topicus.jdbc.shaded.com.itTimestampBuilder_ = null;
}
return this;
}
public nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return nl.topicus.jdbc.shaded.com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitResponse_descriptor;
}
public nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse getDefaultInstanceForType() {
return nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse.getDefaultInstance();
}
public nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse build() {
nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse buildPartial() {
nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse result = new nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse(this);
if (nl.topicus.jdbc.shaded.com.itTimestampBuilder_ == null) {
result.nl.topicus.jdbc.shaded.com.itTimestamp_ = nl.topicus.jdbc.shaded.com.itTimestamp_;
} else {
result.nl.topicus.jdbc.shaded.com.itTimestamp_ = nl.topicus.jdbc.shaded.com.itTimestampBuilder_.build();
}
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.spanner.v1.CommitResponse) {
return mergeFrom((nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse other) {
if (other == nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse.getDefaultInstance()) return this;
if (other.hasCommitTimestamp()) {
mergeCommitTimestamp(other.getCommitTimestamp());
}
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.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.itTimestamp_ = null;
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder> nl.topicus.jdbc.shaded.com.itTimestampBuilder_;
/**
*
* The Cloud Spanner timestamp at which the transaction nl.topicus.jdbc.shaded.com.itted.
*
*
* .google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.it_timestamp = 1;
*/
public boolean hasCommitTimestamp() {
return nl.topicus.jdbc.shaded.com.itTimestampBuilder_ != null || nl.topicus.jdbc.shaded.com.itTimestamp_ != null;
}
/**
*
* The Cloud Spanner timestamp at which the transaction nl.topicus.jdbc.shaded.com.itted.
*
*
* .google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.it_timestamp = 1;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp getCommitTimestamp() {
if (nl.topicus.jdbc.shaded.com.itTimestampBuilder_ == null) {
return nl.topicus.jdbc.shaded.com.itTimestamp_ == null ? nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : nl.topicus.jdbc.shaded.com.itTimestamp_;
} else {
return nl.topicus.jdbc.shaded.com.itTimestampBuilder_.getMessage();
}
}
/**
*
* The Cloud Spanner timestamp at which the transaction nl.topicus.jdbc.shaded.com.itted.
*
*
* .google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.it_timestamp = 1;
*/
public Builder setCommitTimestamp(nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp value) {
if (nl.topicus.jdbc.shaded.com.itTimestampBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
nl.topicus.jdbc.shaded.com.itTimestamp_ = value;
onChanged();
} else {
nl.topicus.jdbc.shaded.com.itTimestampBuilder_.setMessage(value);
}
return this;
}
/**
*
* The Cloud Spanner timestamp at which the transaction nl.topicus.jdbc.shaded.com.itted.
*
*
* .google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.it_timestamp = 1;
*/
public Builder setCommitTimestamp(
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder builderForValue) {
if (nl.topicus.jdbc.shaded.com.itTimestampBuilder_ == null) {
nl.topicus.jdbc.shaded.com.itTimestamp_ = builderForValue.build();
onChanged();
} else {
nl.topicus.jdbc.shaded.com.itTimestampBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The Cloud Spanner timestamp at which the transaction nl.topicus.jdbc.shaded.com.itted.
*
*
* .google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.it_timestamp = 1;
*/
public Builder mergeCommitTimestamp(nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp value) {
if (nl.topicus.jdbc.shaded.com.itTimestampBuilder_ == null) {
if (nl.topicus.jdbc.shaded.com.itTimestamp_ != null) {
nl.topicus.jdbc.shaded.com.itTimestamp_ =
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.newBuilder(nl.topicus.jdbc.shaded.com.itTimestamp_).mergeFrom(value).buildPartial();
} else {
nl.topicus.jdbc.shaded.com.itTimestamp_ = value;
}
onChanged();
} else {
nl.topicus.jdbc.shaded.com.itTimestampBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The Cloud Spanner timestamp at which the transaction nl.topicus.jdbc.shaded.com.itted.
*
*
* .google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.it_timestamp = 1;
*/
public Builder clearCommitTimestamp() {
if (nl.topicus.jdbc.shaded.com.itTimestampBuilder_ == null) {
nl.topicus.jdbc.shaded.com.itTimestamp_ = null;
onChanged();
} else {
nl.topicus.jdbc.shaded.com.itTimestamp_ = null;
nl.topicus.jdbc.shaded.com.itTimestampBuilder_ = null;
}
return this;
}
/**
*
* The Cloud Spanner timestamp at which the transaction nl.topicus.jdbc.shaded.com.itted.
*
*
* .google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.it_timestamp = 1;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder() {
onChanged();
return getCommitTimestampFieldBuilder().getBuilder();
}
/**
*
* The Cloud Spanner timestamp at which the transaction nl.topicus.jdbc.shaded.com.itted.
*
*
* .google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.it_timestamp = 1;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
if (nl.topicus.jdbc.shaded.com.itTimestampBuilder_ != null) {
return nl.topicus.jdbc.shaded.com.itTimestampBuilder_.getMessageOrBuilder();
} else {
return nl.topicus.jdbc.shaded.com.itTimestamp_ == null ?
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : nl.topicus.jdbc.shaded.com.itTimestamp_;
}
}
/**
*
* The Cloud Spanner timestamp at which the transaction nl.topicus.jdbc.shaded.com.itted.
*
*
* .google.protobuf.Timestamp nl.topicus.jdbc.shaded.com.it_timestamp = 1;
*/
private nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder>
getCommitTimestampFieldBuilder() {
if (nl.topicus.jdbc.shaded.com.itTimestampBuilder_ == null) {
nl.topicus.jdbc.shaded.com.itTimestampBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.SingleFieldBuilderV3<
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder, nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder>(
getCommitTimestamp(),
getParentForChildren(),
isClean());
nl.topicus.jdbc.shaded.com.itTimestamp_ = null;
}
return nl.topicus.jdbc.shaded.com.itTimestampBuilder_;
}
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.spanner.v1.CommitResponse)
}
// @@protoc_insertion_point(class_scope:google.spanner.v1.CommitResponse)
private static final nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse();
}
public static nl.topicus.jdbc.shaded.com.google.spanner.v1.CommitResponse 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 CommitResponse 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 CommitResponse(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.spanner.v1.CommitResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}