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 Value
public static final int DATABASE_FIELD_NUMBER
Field Value
public static final int PROGRESS_FIELD_NUMBER
Field Value
public static final int STATEMENTS_FIELD_NUMBER
Field Value
public static final int THROTTLED_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
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;
Parameter
Returns
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;
Returns
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;
Returns
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;
Parameter
Returns
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;
Returns
Type | Description |
List<? extends com.google.protobuf.TimestampOrBuilder> | |
public String getDatabase()
The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The database.
|
public ByteString getDatabaseBytes()
The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }
Returns
public static UpdateDatabaseDdlMetadata getDefaultInstance()
Returns
public UpdateDatabaseDdlMetadata getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Parser<UpdateDatabaseDdlMetadata> getParserForType()
Returns
Overrides
public 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;
Parameter
Returns
public 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;
Returns
public 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;
Returns
public 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;
Parameter
Returns
public 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;
Returns
Type | Description |
List<? extends com.google.spanner.admin.database.v1.OperationProgressOrBuilder> | |
public int getSerializedSize()
Returns
Overrides
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;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | 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;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | 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;
Returns
Type | 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;
Returns
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];
Returns
Type | Description |
boolean | The throttled.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static UpdateDatabaseDdlMetadata.Builder newBuilder()
Returns
public static UpdateDatabaseDdlMetadata.Builder newBuilder(UpdateDatabaseDdlMetadata prototype)
Parameter
Returns
public UpdateDatabaseDdlMetadata.Builder newBuilderForType()
Returns
protected UpdateDatabaseDdlMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static UpdateDatabaseDdlMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateDatabaseDdlMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateDatabaseDdlMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static UpdateDatabaseDdlMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateDatabaseDdlMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static UpdateDatabaseDdlMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateDatabaseDdlMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateDatabaseDdlMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateDatabaseDdlMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateDatabaseDdlMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateDatabaseDdlMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static UpdateDatabaseDdlMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<UpdateDatabaseDdlMetadata> parser()
Returns
public UpdateDatabaseDdlMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions