public final class UpdateDatabaseDdlMetadata extends GeneratedMessageV3 implements UpdateDatabaseDdlMetadataOrBuilder
Metadata type for the operation returned by
UpdateDatabaseDdl.
Protobuf type google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ACTIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int COMMIT_TIMESTAMPS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DATABASE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PROGRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int STATEMENTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int THROTTLED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static UpdateDatabaseDdlMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static UpdateDatabaseDdlMetadata.Builder newBuilder()
public static UpdateDatabaseDdlMetadata.Builder newBuilder(UpdateDatabaseDdlMetadata prototype)
public static UpdateDatabaseDdlMetadata parseDelimitedFrom(InputStream input)
public static UpdateDatabaseDdlMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateDatabaseDdlMetadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static UpdateDatabaseDdlMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateDatabaseDdlMetadata parseFrom(ByteString data)
public static UpdateDatabaseDdlMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateDatabaseDdlMetadata parseFrom(CodedInputStream input)
public static UpdateDatabaseDdlMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateDatabaseDdlMetadata parseFrom(InputStream input)
public static UpdateDatabaseDdlMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateDatabaseDdlMetadata parseFrom(ByteBuffer data)
public static UpdateDatabaseDdlMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<UpdateDatabaseDdlMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public DdlStatementActionInfo getActions(int index)
The brief action info for the DDL statements.
actions[i]
is the brief info for statements[i]
.
repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
Parameter |
---|
Name | Description |
index | int
|
public int getActionsCount()
The brief action info for the DDL statements.
actions[i]
is the brief info for statements[i]
.
repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
Returns |
---|
Type | Description |
int | |
public List<DdlStatementActionInfo> getActionsList()
The brief action info for the DDL statements.
actions[i]
is the brief info for statements[i]
.
repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
public DdlStatementActionInfoOrBuilder getActionsOrBuilder(int index)
The brief action info for the DDL statements.
actions[i]
is the brief info for statements[i]
.
repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends DdlStatementActionInfoOrBuilder> getActionsOrBuilderList()
The brief action info for the DDL statements.
actions[i]
is the brief info for statements[i]
.
repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
Returns |
---|
Type | Description |
List<? extends com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder> | |
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
ByteString | The bytes for database.
|
public UpdateDatabaseDdlMetadata getDefaultInstanceForType()
public Parser<UpdateDatabaseDdlMetadata> getParserForType()
Overrides
public OperationProgress getProgress(int index)
The progress of the
UpdateDatabaseDdl
operations. All DDL statements will have continuously updating progress,
and progress[i]
is the operation progress for statements[i]
. Also,
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.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
Parameter |
---|
Name | Description |
index | int
|
public int getProgressCount()
The progress of the
UpdateDatabaseDdl
operations. All DDL statements will have continuously updating progress,
and progress[i]
is the operation progress for statements[i]
. Also,
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.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
Returns |
---|
Type | Description |
int | |
public List<OperationProgress> getProgressList()
The progress of the
UpdateDatabaseDdl
operations. All DDL statements will have continuously updating progress,
and progress[i]
is the operation progress for statements[i]
. Also,
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.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
public OperationProgressOrBuilder getProgressOrBuilder(int index)
The progress of the
UpdateDatabaseDdl
operations. All DDL statements will have continuously updating progress,
and progress[i]
is the operation progress for statements[i]
. Also,
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.
repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends OperationProgressOrBuilder> getProgressOrBuilderList()
The progress of the
UpdateDatabaseDdl
operations. All DDL statements will have continuously updating progress,
and progress[i]
is the operation progress for statements[i]
. Also,
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.
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 |
---|
Type | Description |
int | |
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;
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpdateDatabaseDdlMetadata.Builder newBuilderForType()
protected UpdateDatabaseDdlMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public UpdateDatabaseDdlMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides