public final class UpdateDatabaseDdlMetadata extends GeneratedMessageV3 implements UpdateDatabaseDdlMetadataOrBuilder
Metadata type for the operation returned by UpdateDatabaseDdl.
Protobuf type google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
Fields
public static final int COMMIT_TIMESTAMPS_FIELD_NUMBER
Field Valuepublic static final int DATABASE_FIELD_NUMBER
Field Valuepublic static final int PROGRESS_FIELD_NUMBER
Field Valuepublic static final int STATEMENTS_FIELD_NUMBER
Field Valuepublic static final int THROTTLED_FIELD_NUMBER
Field ValueMethods
public boolean equals(Object obj)
ParameterReturnsOverridespublic 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;
ParameterReturnspublic 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;
Returnspublic 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;
Returnspublic 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;
ParameterReturnspublic 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;
ReturnsType | Description |
List<? extends com.google.protobuf.TimestampOrBuilder> | |
public String getDatabase()
The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }
ReturnsType | Description |
String | The database. |
public ByteString getDatabaseBytes()
The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }
Returnspublic static UpdateDatabaseDdlMetadata getDefaultInstance()
Returnspublic UpdateDatabaseDdlMetadata getDefaultInstanceForType()
Returnspublic static final Descriptors.Descriptor getDescriptor()
Returnspublic Parser<UpdateDatabaseDdlMetadata> getParserForType()
ReturnsOverridespublic OperationProgress getProgress(int index)
The progress of the 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;
ParameterReturnspublic int getProgressCount()
The progress of the 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;
Returnspublic List<OperationProgress> getProgressList()
The progress of the 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;
Returnspublic OperationProgressOrBuilder getProgressOrBuilder(int index)
The progress of the 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;
ParameterReturnspublic List<? extends OperationProgressOrBuilder> getProgressOrBuilderList()
The progress of the 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;
ReturnsType | Description |
List<? extends com.google.spanner.admin.database.v1.OperationProgressOrBuilder> | |
public int getSerializedSize()
ReturnsOverridespublic 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;
ParameterName | Description |
index | int
The index of the element to return. |
ReturnsType | Description |
String | The statements at the given index. |
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;
ParameterName | Description |
index | int
The index of the value to return. |
ReturnsType | Description |
ByteString | The bytes of the statements at the given index. |
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;
ReturnsType | Description |
int | The count of statements. |
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;
Returnspublic 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];
ReturnsType | Description |
boolean | The throttled. |
public final UnknownFieldSet getUnknownFields()
ReturnsOverridesReturnsOverridesprotected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
ReturnsOverridespublic final boolean isInitialized()
ReturnsOverridespublic static UpdateDatabaseDdlMetadata.Builder newBuilder()
Returnspublic static UpdateDatabaseDdlMetadata.Builder newBuilder(UpdateDatabaseDdlMetadata )
ParameterReturnspublic UpdateDatabaseDdlMetadata.Builder newBuilderForType()
Returnsprotected UpdateDatabaseDdlMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
ParameterReturnsOverridesprotected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
ParameterReturnsOverridespublic static UpdateDatabaseDdlMetadata parseDelimitedFrom(InputStream input)
ParameterReturnsExceptionspublic static UpdateDatabaseDdlMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static UpdateDatabaseDdlMetadata parseFrom(byte[] data)
ParameterName | Description |
data | byte[]
|
ReturnsExceptionspublic static UpdateDatabaseDdlMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static UpdateDatabaseDdlMetadata parseFrom(ByteString data)
ParameterReturnsExceptionspublic static UpdateDatabaseDdlMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static UpdateDatabaseDdlMetadata parseFrom(CodedInputStream input)
ParameterReturnsExceptionspublic static UpdateDatabaseDdlMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static UpdateDatabaseDdlMetadata parseFrom(InputStream input)
ParameterReturnsExceptionspublic static UpdateDatabaseDdlMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static UpdateDatabaseDdlMetadata parseFrom(ByteBuffer data)
ParameterReturnsExceptionspublic static UpdateDatabaseDdlMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static Parser<UpdateDatabaseDdlMetadata> parser()
Returnspublic UpdateDatabaseDdlMetadata.Builder toBuilder()
Returnspublic void writeTo(CodedOutputStream output)
ParameterOverridesExceptions