public static final class UpdateDatabaseDdlMetadata.Builder extends GeneratedMessageV3.Builder<UpdateDatabaseDdlMetadata.Builder> implements UpdateDatabaseDdlMetadataOrBuilder
Metadata type for the operation returned by UpdateDatabaseDdl.
Protobuf type google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateDatabaseDdlMetadata.BuilderImplements
UpdateDatabaseDdlMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllCommitTimestamps(Iterable<? extends Timestamp> values)
public UpdateDatabaseDdlMetadata.Builder addAllCommitTimestamps(Iterable<? extends Timestamp> values)
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;
Name | Description |
values | Iterable<? extends com.google.protobuf.Timestamp> |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
addAllProgress(Iterable<? extends OperationProgress> values)
public UpdateDatabaseDdlMetadata.Builder addAllProgress(Iterable<? extends OperationProgress> values)
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;
Name | Description |
values | Iterable<? extends com.google.spanner.admin.database.v1.OperationProgress> |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
addAllStatements(Iterable<String> values)
public UpdateDatabaseDdlMetadata.Builder addAllStatements(Iterable<String> values)
For an update this list contains all the statements. For an individual statement, this list contains only that statement.
repeated string statements = 2;
Name | Description |
values | Iterable<String> The statements to add. |
Type | Description |
UpdateDatabaseDdlMetadata.Builder | This builder for chaining. |
addCommitTimestamps(Timestamp value)
public UpdateDatabaseDdlMetadata.Builder addCommitTimestamps(Timestamp value)
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;
Name | Description |
value | Timestamp |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
addCommitTimestamps(Timestamp.Builder builderForValue)
public UpdateDatabaseDdlMetadata.Builder addCommitTimestamps(Timestamp.Builder builderForValue)
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;
Name | Description |
builderForValue | Builder |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
addCommitTimestamps(int index, Timestamp value)
public UpdateDatabaseDdlMetadata.Builder addCommitTimestamps(int index, Timestamp value)
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;
Name | Description |
index | int |
value | Timestamp |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
addCommitTimestamps(int index, Timestamp.Builder builderForValue)
public UpdateDatabaseDdlMetadata.Builder addCommitTimestamps(int index, Timestamp.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Builder |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
addCommitTimestampsBuilder()
public Timestamp.Builder addCommitTimestampsBuilder()
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;
Type | Description |
Builder |
addCommitTimestampsBuilder(int index)
public Timestamp.Builder addCommitTimestampsBuilder(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;
Name | Description |
index | int |
Type | Description |
Builder |
addProgress(OperationProgress value)
public UpdateDatabaseDdlMetadata.Builder addProgress(OperationProgress value)
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;
Name | Description |
value | OperationProgress |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
addProgress(OperationProgress.Builder builderForValue)
public UpdateDatabaseDdlMetadata.Builder addProgress(OperationProgress.Builder builderForValue)
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;
Name | Description |
builderForValue | OperationProgress.Builder |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
addProgress(int index, OperationProgress value)
public UpdateDatabaseDdlMetadata.Builder addProgress(int index, OperationProgress value)
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;
Name | Description |
index | int |
value | OperationProgress |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
addProgress(int index, OperationProgress.Builder builderForValue)
public UpdateDatabaseDdlMetadata.Builder addProgress(int index, OperationProgress.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | OperationProgress.Builder |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
addProgressBuilder()
public OperationProgress.Builder addProgressBuilder()
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;
Type | Description |
OperationProgress.Builder |
addProgressBuilder(int index)
public OperationProgress.Builder addProgressBuilder(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;
Name | Description |
index | int |
Type | Description |
OperationProgress.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateDatabaseDdlMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
addStatements(String value)
public UpdateDatabaseDdlMetadata.Builder addStatements(String value)
For an update this list contains all the statements. For an individual statement, this list contains only that statement.
repeated string statements = 2;
Name | Description |
value | String The statements to add. |
Type | Description |
UpdateDatabaseDdlMetadata.Builder | This builder for chaining. |
addStatementsBytes(ByteString value)
public UpdateDatabaseDdlMetadata.Builder addStatementsBytes(ByteString value)
For an update this list contains all the statements. For an individual statement, this list contains only that statement.
repeated string statements = 2;
Name | Description |
value | ByteString The bytes of the statements to add. |
Type | Description |
UpdateDatabaseDdlMetadata.Builder | This builder for chaining. |
build()
public UpdateDatabaseDdlMetadata build()
Type | Description |
UpdateDatabaseDdlMetadata |
buildPartial()
public UpdateDatabaseDdlMetadata buildPartial()
Type | Description |
UpdateDatabaseDdlMetadata |
clear()
public UpdateDatabaseDdlMetadata.Builder clear()
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
clearCommitTimestamps()
public UpdateDatabaseDdlMetadata.Builder clearCommitTimestamps()
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;
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
clearDatabase()
public UpdateDatabaseDdlMetadata.Builder clearDatabase()
The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
UpdateDatabaseDdlMetadata.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public UpdateDatabaseDdlMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDatabaseDdlMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
clearProgress()
public UpdateDatabaseDdlMetadata.Builder clearProgress()
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;
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
clearStatements()
public UpdateDatabaseDdlMetadata.Builder clearStatements()
For an update this list contains all the statements. For an individual statement, this list contains only that statement.
repeated string statements = 2;
Type | Description |
UpdateDatabaseDdlMetadata.Builder | This builder for chaining. |
clearThrottled()
public UpdateDatabaseDdlMetadata.Builder clearThrottled()
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];
Type | Description |
UpdateDatabaseDdlMetadata.Builder | This builder for chaining. |
clone()
public UpdateDatabaseDdlMetadata.Builder clone()
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
getCommitTimestamps(int index)
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;
Name | Description |
index | int |
Type | Description |
Timestamp |
getCommitTimestampsBuilder(int index)
public Timestamp.Builder getCommitTimestampsBuilder(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;
Name | Description |
index | int |
Type | Description |
Builder |
getCommitTimestampsBuilderList()
public List<Timestamp.Builder> getCommitTimestampsBuilderList()
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;
Type | Description |
List<Builder> |
getCommitTimestampsCount()
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;
Type | Description |
int |
getCommitTimestampsList()
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;
Type | Description |
List<Timestamp> |
getCommitTimestampsOrBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
TimestampOrBuilder |
getCommitTimestampsOrBuilderList()
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;
Type | Description |
List<? extends com.google.protobuf.TimestampOrBuilder> |
getDatabase()
public String getDatabase()
The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The database. |
getDatabaseBytes()
public ByteString getDatabaseBytes()
The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for database. |
getDefaultInstanceForType()
public UpdateDatabaseDdlMetadata getDefaultInstanceForType()
Type | Description |
UpdateDatabaseDdlMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getProgress(int index)
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;
Name | Description |
index | int |
Type | Description |
OperationProgress |
getProgressBuilder(int index)
public OperationProgress.Builder getProgressBuilder(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;
Name | Description |
index | int |
Type | Description |
OperationProgress.Builder |
getProgressBuilderList()
public List<OperationProgress.Builder> getProgressBuilderList()
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;
Type | Description |
List<Builder> |
getProgressCount()
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;
Type | Description |
int |
getProgressList()
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;
Type | Description |
List<OperationProgress> |
getProgressOrBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
OperationProgressOrBuilder |
getProgressOrBuilderList()
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;
Type | Description |
List<? extends com.google.spanner.admin.database.v1.OperationProgressOrBuilder> |
getStatements(int index)
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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The statements at the given index. |
getStatementsBytes(int 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the statements at the given index. |
getStatementsCount()
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;
Type | Description |
int | The count of statements. |
getStatementsList()
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;
Type | Description |
ProtocolStringList | A list containing the statements. |
getThrottled()
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];
Type | Description |
boolean | The throttled. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateDatabaseDdlMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateDatabaseDdlMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
mergeFrom(UpdateDatabaseDdlMetadata other)
public UpdateDatabaseDdlMetadata.Builder mergeFrom(UpdateDatabaseDdlMetadata other)
Name | Description |
other | UpdateDatabaseDdlMetadata |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDatabaseDdlMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
removeCommitTimestamps(int index)
public UpdateDatabaseDdlMetadata.Builder removeCommitTimestamps(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;
Name | Description |
index | int |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
removeProgress(int index)
public UpdateDatabaseDdlMetadata.Builder removeProgress(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;
Name | Description |
index | int |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
setCommitTimestamps(int index, Timestamp value)
public UpdateDatabaseDdlMetadata.Builder setCommitTimestamps(int index, Timestamp value)
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;
Name | Description |
index | int |
value | Timestamp |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
setCommitTimestamps(int index, Timestamp.Builder builderForValue)
public UpdateDatabaseDdlMetadata.Builder setCommitTimestamps(int index, Timestamp.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Builder |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
setDatabase(String value)
public UpdateDatabaseDdlMetadata.Builder setDatabase(String value)
The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The database to set. |
Type | Description |
UpdateDatabaseDdlMetadata.Builder | This builder for chaining. |
setDatabaseBytes(ByteString value)
public UpdateDatabaseDdlMetadata.Builder setDatabaseBytes(ByteString value)
The database being modified.
string database = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for database to set. |
Type | Description |
UpdateDatabaseDdlMetadata.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDatabaseDdlMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
setProgress(int index, OperationProgress value)
public UpdateDatabaseDdlMetadata.Builder setProgress(int index, OperationProgress value)
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;
Name | Description |
index | int |
value | OperationProgress |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
setProgress(int index, OperationProgress.Builder builderForValue)
public UpdateDatabaseDdlMetadata.Builder setProgress(int index, OperationProgress.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | OperationProgress.Builder |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDatabaseDdlMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |
setStatements(int index, String value)
public UpdateDatabaseDdlMetadata.Builder setStatements(int index, String value)
For an update this list contains all the statements. For an individual statement, this list contains only that statement.
repeated string statements = 2;
Name | Description |
index | int The index to set the value at. |
value | String The statements to set. |
Type | Description |
UpdateDatabaseDdlMetadata.Builder | This builder for chaining. |
setThrottled(boolean value)
public UpdateDatabaseDdlMetadata.Builder setThrottled(boolean value)
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];
Name | Description |
value | boolean The throttled to set. |
Type | Description |
UpdateDatabaseDdlMetadata.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDatabaseDdlMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdateDatabaseDdlMetadata.Builder |