Class UpdateDatabaseDdlMetadata.Builder (6.77.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
Type Description
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
Name Description
value DdlStatementActionInfo
Returns
Type Description
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
Name Description
builderForValue DdlStatementActionInfo.Builder
Returns
Type Description
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
Name Description
index int
value DdlStatementActionInfo
Returns
Type Description
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
Name Description
index int
builderForValue DdlStatementActionInfo.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.spanner.admin.database.v1.DdlStatementActionInfo>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.protobuf.Timestamp>
Returns
Type Description
UpdateDatabaseDdlMetadata.Builder

addAllProgress(Iterable<? extends OperationProgress> values)