public final class UpdateDatabaseDdlMetadata extends GeneratedMessageV3 implements UpdateDatabaseDdlMetadataOrBuilder
Metadata type for the operation returned by [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].Protobuf type
google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
Modifier and Type | Class and Description |
---|---|
static class |
UpdateDatabaseDdlMetadata.Builder
Metadata type for the operation returned by
[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
COMMIT_TIMESTAMPS_FIELD_NUMBER |
static int |
DATABASE_FIELD_NUMBER |
static int |
PROGRESS_FIELD_NUMBER |
static int |
STATEMENTS_FIELD_NUMBER |
static int |
THROTTLED_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Timestamp |
getCommitTimestamps(int 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]`.
|
int |
getCommitTimestampsCount()
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]`.
|
List<Timestamp> |
getCommitTimestampsList()
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]`.
|
TimestampOrBuilder |
getCommitTimestampsOrBuilder(int 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]`.
|
List<? extends TimestampOrBuilder> |
getCommitTimestampsOrBuilderList()
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]`.
|
String |
getDatabase()
The database being modified.
|
ByteString |
getDatabaseBytes()
The database being modified.
|
static UpdateDatabaseDdlMetadata |
getDefaultInstance() |
UpdateDatabaseDdlMetadata |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Parser<UpdateDatabaseDdlMetadata> |
getParserForType() |
OperationProgress |
getProgress(int index)
The progress of the
[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
|
int |
getProgressCount()
The progress of the
[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
|
List<OperationProgress> |
getProgressList()
The progress of the
[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
|
OperationProgressOrBuilder |
getProgressOrBuilder(int index)
The progress of the
[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
|
List<? extends OperationProgressOrBuilder> |
getProgressOrBuilderList()
The progress of the
[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
|
int |
getSerializedSize() |
String |
getStatements(int index)
For an update this list contains all the statements.
|
ByteString |
getStatementsBytes(int index)
For an update this list contains all the statements.
|
int |
getStatementsCount()
For an update this list contains all the statements.
|
ProtocolStringList |
getStatementsList()
For an update this list contains all the statements.
|
boolean |
getThrottled()
Output only.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UpdateDatabaseDdlMetadata.Builder |
newBuilder() |
static UpdateDatabaseDdlMetadata.Builder |
newBuilder(UpdateDatabaseDdlMetadata prototype) |
UpdateDatabaseDdlMetadata.Builder |
newBuilderForType() |
protected UpdateDatabaseDdlMetadata.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static UpdateDatabaseDdlMetadata |
parseDelimitedFrom(InputStream input) |
static UpdateDatabaseDdlMetadata |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static UpdateDatabaseDdlMetadata |
parseFrom(byte[] data) |
static UpdateDatabaseDdlMetadata |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static UpdateDatabaseDdlMetadata |
parseFrom(ByteBuffer data) |
static UpdateDatabaseDdlMetadata |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static UpdateDatabaseDdlMetadata |
parseFrom(ByteString data) |
static UpdateDatabaseDdlMetadata |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static UpdateDatabaseDdlMetadata |
parseFrom(CodedInputStream input) |
static UpdateDatabaseDdlMetadata |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static UpdateDatabaseDdlMetadata |
parseFrom(InputStream input) |
static UpdateDatabaseDdlMetadata |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<UpdateDatabaseDdlMetadata> |
parser() |
UpdateDatabaseDdlMetadata.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int DATABASE_FIELD_NUMBER
public static final int STATEMENTS_FIELD_NUMBER
public static final int COMMIT_TIMESTAMPS_FIELD_NUMBER
public static final int THROTTLED_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getDatabase()
The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }
getDatabase
in interface UpdateDatabaseDdlMetadataOrBuilder
public ByteString getDatabaseBytes()
The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }
getDatabaseBytes
in interface UpdateDatabaseDdlMetadataOrBuilder
public ProtocolStringList getStatementsList()
For an update this list contains all the statements. For an individual statement, this list contains only that statement.
repeated string statements = 2;
getStatementsList
in interface UpdateDatabaseDdlMetadataOrBuilder
public int getStatementsCount()
For an update this list contains all the statements. For an individual statement, this list contains only that statement.
repeated string statements = 2;
getStatementsCount
in interface UpdateDatabaseDdlMetadataOrBuilder
public String getStatements(int index)
For an update this list contains all the statements. For an individual statement, this list contains only that statement.
repeated string statements = 2;
getStatements
in interface UpdateDatabaseDdlMetadataOrBuilder
index
- The index of the element to return.public ByteString getStatementsBytes(int index)
For an update this list contains all the statements. For an individual statement, this list contains only that statement.
repeated string statements = 2;
getStatementsBytes
in interface UpdateDatabaseDdlMetadataOrBuilder
index
- The index of the value to return.public List<Timestamp> getCommitTimestampsList()
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;
getCommitTimestampsList
in interface UpdateDatabaseDdlMetadataOrBuilder
public List<? extends TimestampOrBuilder> getCommitTimestampsOrBuilderList()
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;
getCommitTimestampsOrBuilderList
in interface UpdateDatabaseDdlMetadataOrBuilder
public int getCommitTimestampsCount()
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;
getCommitTimestampsCount
in interface UpdateDatabaseDdlMetadataOrBuilder
public Timestamp getCommitTimestamps(int 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;
getCommitTimestamps
in interface UpdateDatabaseDdlMetadataOrBuilder
public TimestampOrBuilder getCommitTimestampsOrBuilder(int 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;
getCommitTimestampsOrBuilder
in interface UpdateDatabaseDdlMetadataOrBuilder
public boolean getThrottled()
Output only. When true, indicates that the operation is throttled e.g due to resource constraints. When resources become available the operation will resume and this field will be false again.
bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getThrottled
in interface UpdateDatabaseDdlMetadataOrBuilder
public List<OperationProgress> getProgressList()
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements, `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed. `progress[i]` is the operation progress for `statements[i]`.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
getProgressList
in interface UpdateDatabaseDdlMetadataOrBuilder
public List<? extends OperationProgressOrBuilder> getProgressOrBuilderList()
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements, `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed. `progress[i]` is the operation progress for `statements[i]`.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
getProgressOrBuilderList
in interface UpdateDatabaseDdlMetadataOrBuilder
public int getProgressCount()
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements, `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed. `progress[i]` is the operation progress for `statements[i]`.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
getProgressCount
in interface UpdateDatabaseDdlMetadataOrBuilder
public OperationProgress getProgress(int index)
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements, `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed. `progress[i]` is the operation progress for `statements[i]`.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
getProgress
in interface UpdateDatabaseDdlMetadataOrBuilder
public OperationProgressOrBuilder getProgressOrBuilder(int index)
The progress of the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements, `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed. `progress[i]` is the operation progress for `statements[i]`.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
getProgressOrBuilder
in interface UpdateDatabaseDdlMetadataOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static UpdateDatabaseDdlMetadata parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UpdateDatabaseDdlMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UpdateDatabaseDdlMetadata parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UpdateDatabaseDdlMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UpdateDatabaseDdlMetadata parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UpdateDatabaseDdlMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static UpdateDatabaseDdlMetadata parseFrom(InputStream input) throws IOException
IOException
public static UpdateDatabaseDdlMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static UpdateDatabaseDdlMetadata parseDelimitedFrom(InputStream input) throws IOException
IOException
public static UpdateDatabaseDdlMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static UpdateDatabaseDdlMetadata parseFrom(CodedInputStream input) throws IOException
IOException
public static UpdateDatabaseDdlMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public UpdateDatabaseDdlMetadata.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static UpdateDatabaseDdlMetadata.Builder newBuilder()
public static UpdateDatabaseDdlMetadata.Builder newBuilder(UpdateDatabaseDdlMetadata prototype)
public UpdateDatabaseDdlMetadata.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected UpdateDatabaseDdlMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static UpdateDatabaseDdlMetadata getDefaultInstance()
public static Parser<UpdateDatabaseDdlMetadata> parser()
public Parser<UpdateDatabaseDdlMetadata> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public UpdateDatabaseDdlMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.