Class UpdateDatabaseDdlMetadata.Builder (6.55.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addActions(DdlStatementActionInfo value)

public UpdateDatabaseDdlMetadata.Builder addActions(DdlStatementActionInfo value)

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
NameDescription
valueDdlStatementActionInfo
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

addActions(DdlStatementActionInfo.Builder builderForValue)

public UpdateDatabaseDdlMetadata.Builder addActions(DdlStatementActionInfo.Builder builderForValue)

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
NameDescription
builderForValueDdlStatementActionInfo.Builder
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

addActions(int index, DdlStatementActionInfo value)

public UpdateDatabaseDdlMetadata.Builder addActions(int index, DdlStatementActionInfo value)

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;

Parameters
NameDescription
indexint
valueDdlStatementActionInfo
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

addActions(int index, DdlStatementActionInfo.Builder builderForValue)

public UpdateDatabaseDdlMetadata.Builder addActions(int index, DdlStatementActionInfo.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueDdlStatementActionInfo.Builder
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

addActionsBuilder()

public DdlStatementActionInfo.Builder addActionsBuilder()

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
TypeDescription
DdlStatementActionInfo.Builder

addActionsBuilder(int index)

public DdlStatementActionInfo.Builder addActionsBuilder(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
NameDescription
indexint
Returns
TypeDescription
DdlStatementActionInfo.Builder

addAllActions(Iterable<? extends DdlStatementActionInfo> values)

public UpdateDatabaseDdlMetadata.Builder addAllActions(Iterable<? extends DdlStatementActionInfo> values)

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
NameDescription
valuesIterable<? extends com.google.spanner.admin.database.v1.DdlStatementActionInfo>
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

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;

Parameter
NameDescription
valuesIterable<? extends com.google.protobuf.Timestamp>
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

addAllProgress(Iterable<? extends OperationProgress> values)

public UpdateDatabaseDdlMetadata.Builder addAllProgress(Iterable<? extends OperationProgress> values)

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
NameDescription
valuesIterable<? extends com.google.spanner.admin.database.v1.OperationProgress>
Returns
TypeDescription
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;

Parameter
NameDescription
valuesIterable<String>

The statements to add.

Returns
TypeDescription
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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
valueTimestamp
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

addProgress(OperationProgress value)

public UpdateDatabaseDdlMetadata.Builder addProgress(OperationProgress value)

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
NameDescription
valueOperationProgress
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

addProgress(OperationProgress.Builder builderForValue)

public UpdateDatabaseDdlMetadata.Builder addProgress(OperationProgress.Builder builderForValue)

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
NameDescription
builderForValueOperationProgress.Builder
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

addProgress(int index, OperationProgress value)

public UpdateDatabaseDdlMetadata.Builder addProgress(int index, OperationProgress value)

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;

Parameters
NameDescription
indexint
valueOperationProgress
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

addProgress(int index, OperationProgress.Builder builderForValue)

public UpdateDatabaseDdlMetadata.Builder addProgress(int index, OperationProgress.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueOperationProgress.Builder
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

addProgressBuilder()

public OperationProgress.Builder addProgressBuilder()

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
TypeDescription
OperationProgress.Builder

addProgressBuilder(int index)

public OperationProgress.Builder addProgressBuilder(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
NameDescription
indexint
Returns
TypeDescription
OperationProgress.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatabaseDdlMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder
Overrides

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;

Parameter
NameDescription
valueString

The statements to add.

Returns
TypeDescription
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;

Parameter
NameDescription
valueByteString

The bytes of the statements to add.

Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

This builder for chaining.

build()

public UpdateDatabaseDdlMetadata build()
Returns
TypeDescription
UpdateDatabaseDdlMetadata

buildPartial()

public UpdateDatabaseDdlMetadata buildPartial()
Returns
TypeDescription
UpdateDatabaseDdlMetadata

clear()

public UpdateDatabaseDdlMetadata.Builder clear()
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder
Overrides

clearActions()

public UpdateDatabaseDdlMetadata.Builder clearActions()

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
TypeDescription
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;

Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

clearDatabase()

public UpdateDatabaseDdlMetadata.Builder clearDatabase()

The database being modified.

string database = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public UpdateDatabaseDdlMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDatabaseDdlMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder
Overrides

clearProgress()

public UpdateDatabaseDdlMetadata.Builder clearProgress()

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
TypeDescription
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;

Returns
TypeDescription
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];

Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

This builder for chaining.

clone()

public UpdateDatabaseDdlMetadata.Builder clone()
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder
Overrides

getActions(int index)

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
NameDescription
indexint
Returns
TypeDescription
DdlStatementActionInfo

getActionsBuilder(int index)

public DdlStatementActionInfo.Builder getActionsBuilder(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
NameDescription
indexint
Returns
TypeDescription
DdlStatementActionInfo.Builder

getActionsBuilderList()

public List<DdlStatementActionInfo.Builder> getActionsBuilderList()

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
TypeDescription
List<Builder>

getActionsCount()

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
TypeDescription
int

getActionsList()

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;

Returns
TypeDescription
List<DdlStatementActionInfo>

getActionsOrBuilder(int index)

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
NameDescription
indexint
Returns
TypeDescription
DdlStatementActionInfoOrBuilder

getActionsOrBuilderList()

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
TypeDescription
List<? extends com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder>

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
List<? extends com.google.protobuf.TimestampOrBuilder>

getDatabase()

public String getDatabase()

The database being modified.

string database = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

The database being modified.

string database = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for database.

getDefaultInstanceForType()

public UpdateDatabaseDdlMetadata getDefaultInstanceForType()
Returns
TypeDescription
UpdateDatabaseDdlMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProgress(int index)

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
NameDescription
indexint
Returns
TypeDescription
OperationProgress

getProgressBuilder(int index)

public OperationProgress.Builder getProgressBuilder(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
NameDescription
indexint
Returns
TypeDescription
OperationProgress.Builder

getProgressBuilderList()

public List<OperationProgress.Builder> getProgressBuilderList()

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
TypeDescription
List<Builder>

getProgressCount()

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
TypeDescription
int

getProgressList()

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;

Returns
TypeDescription
List<OperationProgress>

getProgressOrBuilder(int index)

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
NameDescription
indexint
Returns
TypeDescription
OperationProgressOrBuilder

getProgressOrBuilderList()

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
TypeDescription
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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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];

Returns
TypeDescription
boolean

The throttled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDatabaseDdlMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateDatabaseDdlMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder
Overrides

mergeFrom(UpdateDatabaseDdlMetadata other)

public UpdateDatabaseDdlMetadata.Builder mergeFrom(UpdateDatabaseDdlMetadata other)
Parameter
NameDescription
otherUpdateDatabaseDdlMetadata
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatabaseDdlMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder
Overrides

removeActions(int index)

public UpdateDatabaseDdlMetadata.Builder removeActions(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
NameDescription
indexint
Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

removeProgress(int index)

public UpdateDatabaseDdlMetadata.Builder removeProgress(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
NameDescription
indexint
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

setActions(int index, DdlStatementActionInfo value)

public UpdateDatabaseDdlMetadata.Builder setActions(int index, DdlStatementActionInfo value)

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;

Parameters
NameDescription
indexint
valueDdlStatementActionInfo
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

setActions(int index, DdlStatementActionInfo.Builder builderForValue)

public UpdateDatabaseDdlMetadata.Builder setActions(int index, DdlStatementActionInfo.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueDdlStatementActionInfo.Builder
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
valueTimestamp
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

setDatabase(String value)

public UpdateDatabaseDdlMetadata.Builder setDatabase(String value)

The database being modified.

string database = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The database to set.

Returns
TypeDescription
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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for database to set.

Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatabaseDdlMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder
Overrides

setProgress(int index, OperationProgress value)

public UpdateDatabaseDdlMetadata.Builder setProgress(int index, OperationProgress value)

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;

Parameters
NameDescription
indexint
valueOperationProgress
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

setProgress(int index, OperationProgress.Builder builderForValue)

public UpdateDatabaseDdlMetadata.Builder setProgress(int index, OperationProgress.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueOperationProgress.Builder
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateDatabaseDdlMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder
Overrides

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;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The statements to set.

Returns
TypeDescription
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];

Parameter
NameDescription
valueboolean

The throttled to set.

Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatabaseDdlMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateDatabaseDdlMetadata.Builder
Overrides