Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/spanner/admin/database/v1/spanner_database_admin.proto
package nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1;
/**
*
* Metadata type for the operation returned by
* [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].
*
*
* Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata}
*/
public final class UpdateDatabaseDdlMetadata extends
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
UpdateDatabaseDdlMetadataOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateDatabaseDdlMetadata.newBuilder() to construct.
private UpdateDatabaseDdlMetadata(nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private UpdateDatabaseDdlMetadata() {
database_ = "";
statements_ = nl.topicus.jdbc.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
commitTimestamps_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UpdateDatabaseDdlMetadata(
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;
nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
database_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
statements_ = new nl.topicus.jdbc.shaded.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
statements_.add(s);
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
commitTimestamps_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
commitTimestamps_.add(
input.readMessage(nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.parser(), extensionRegistry));
break;
}
}
}
} catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
statements_ = statements_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
commitTimestamps_ = java.util.Collections.unmodifiableList(commitTimestamps_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
}
protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.class, nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.Builder.class);
}
private int bitField0_;
public static final int DATABASE_FIELD_NUMBER = 1;
private volatile java.lang.Object database_;
/**
*
* For an update this list contains all the statements. For an
* individual statement, this list contains only that statement.
*
*
* repeated string statements = 2;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.ByteString
getStatementsBytes(int index) {
return statements_.getByteString(index);
}
public static final int COMMIT_TIMESTAMPS_FIELD_NUMBER = 3;
private java.util.List commitTimestamps_;
/**
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
*
* repeated .google.protobuf.Timestamp commit_timestamps = 3;
*/
public int getCommitTimestampsCount() {
return commitTimestamps_.size();
}
/**
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
*
* repeated .google.protobuf.Timestamp commit_timestamps = 3;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
int index) {
return commitTimestamps_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getDatabaseBytes().isEmpty()) {
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_);
}
for (int i = 0; i < statements_.size(); i++) {
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, statements_.getRaw(i));
}
for (int i = 0; i < commitTimestamps_.size(); i++) {
output.writeMessage(3, commitTimestamps_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getDatabaseBytes().isEmpty()) {
size += nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_);
}
{
int dataSize = 0;
for (int i = 0; i < statements_.size(); i++) {
dataSize += computeStringSizeNoTag(statements_.getRaw(i));
}
size += dataSize;
size += 1 * getStatementsList().size();
}
for (int i = 0; i < commitTimestamps_.size(); i++) {
size += nl.topicus.jdbc.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(3, commitTimestamps_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@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.admin.database.v1.UpdateDatabaseDdlMetadata)) {
return super.equals(obj);
}
nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata other = (nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata) obj;
boolean result = true;
result = result && getDatabase()
.equals(other.getDatabase());
result = result && getStatementsList()
.equals(other.getStatementsList());
result = result && getCommitTimestampsList()
.equals(other.getCommitTimestampsList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + DATABASE_FIELD_NUMBER;
hash = (53 * hash) + getDatabase().hashCode();
if (getStatementsCount() > 0) {
hash = (37 * hash) + STATEMENTS_FIELD_NUMBER;
hash = (53 * hash) + getStatementsList().hashCode();
}
if (getCommitTimestampsCount() > 0) {
hash = (37 * hash) + COMMIT_TIMESTAMPS_FIELD_NUMBER;
hash = (53 * hash) + getCommitTimestampsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata 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.admin.database.v1.UpdateDatabaseDdlMetadata 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.admin.database.v1.UpdateDatabaseDdlMetadata 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.admin.database.v1.UpdateDatabaseDdlMetadata 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.admin.database.v1.UpdateDatabaseDdlMetadata 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.admin.database.v1.UpdateDatabaseDdlMetadata 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.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
java.io.InputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseDelimitedFrom(
java.io.InputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.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.admin.database.v1.UpdateDatabaseDdlMetadata 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;
}
/**
*
* Metadata type for the operation returned by
* [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
*
* repeated .google.protobuf.Timestamp commit_timestamps = 3;
*/
public int getCommitTimestampsCount() {
if (commitTimestampsBuilder_ == null) {
return commitTimestamps_.size();
} else {
return commitTimestampsBuilder_.getCount();
}
}
/**
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
*
* repeated .google.protobuf.Timestamp commit_timestamps = 3;
*/
public Builder setCommitTimestamps(
int index, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp value) {
if (commitTimestampsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCommitTimestampsIsMutable();
commitTimestamps_.set(index, value);
onChanged();
} else {
commitTimestampsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
*
* repeated .google.protobuf.Timestamp commit_timestamps = 3;
*/
public Builder addCommitTimestamps(nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp value) {
if (commitTimestampsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCommitTimestampsIsMutable();
commitTimestamps_.add(value);
onChanged();
} else {
commitTimestampsBuilder_.addMessage(value);
}
return this;
}
/**
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
*
* repeated .google.protobuf.Timestamp commit_timestamps = 3;
*/
public Builder addCommitTimestamps(
int index, nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp value) {
if (commitTimestampsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCommitTimestampsIsMutable();
commitTimestamps_.add(index, value);
onChanged();
} else {
commitTimestampsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
*
* repeated .google.protobuf.Timestamp commit_timestamps = 3;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp.Builder getCommitTimestampsBuilder(
int index) {
return getCommitTimestampsFieldBuilder().getBuilder(index);
}
/**
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
*
* repeated .google.protobuf.Timestamp commit_timestamps = 3;
*/
public nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
int index) {
if (commitTimestampsBuilder_ == null) {
return commitTimestamps_.get(index); } else {
return commitTimestampsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
* Reports the commit timestamps of all statements that have
* succeeded so far, where `commit_timestamps[i]` is the commit
* timestamp for the statement `statements[i]`.
*
*
* repeated .google.protobuf.Timestamp commit_timestamps = 3;
*/
public java.util.List
getCommitTimestampsBuilderList() {
return getCommitTimestampsFieldBuilder().getBuilderList();
}
private nl.topicus.jdbc.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
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>
getCommitTimestampsFieldBuilder() {
if (commitTimestampsBuilder_ == null) {
commitTimestampsBuilder_ = new nl.topicus.jdbc.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
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>(
commitTimestamps_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
commitTimestamps_ = null;
}
return commitTimestampsBuilder_;
}
public final Builder setUnknownFields(
final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
/**
* @deprecated Use the following instead:
*
*/
@Deprecated
public final Builder setDatabaseWithDatabaseName(nl.topicus.jdbc.shaded.com.google.spanner.admin.database.v1.DatabaseName value) {
if (value == null) {
return setDatabase("");
}
return setDatabase(value.toString());
}
/**
* @deprecated Use the following instead:
*