public interface UpdateDatabaseDdlRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDatabase()
Required.
|
com.google.protobuf.ByteString |
getDatabaseBytes()
Required.
|
java.lang.String |
getOperationId()
If empty, the new update request is assigned an
automatically-generated operation ID.
|
com.google.protobuf.ByteString |
getOperationIdBytes()
If empty, the new update request is assigned an
automatically-generated operation ID.
|
java.lang.String |
getStatements(int index)
DDL statements to be applied to the database.
|
com.google.protobuf.ByteString |
getStatementsBytes(int index)
DDL statements to be applied to the database.
|
int |
getStatementsCount()
DDL statements to be applied to the database.
|
java.util.List<java.lang.String> |
getStatementsList()
DDL statements to be applied to the database.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getDatabase()
Required. The database to update.
string database = 1;
com.google.protobuf.ByteString getDatabaseBytes()
Required. The database to update.
string database = 1;
java.util.List<java.lang.String> getStatementsList()
DDL statements to be applied to the database.
repeated string statements = 2;
int getStatementsCount()
DDL statements to be applied to the database.
repeated string statements = 2;
java.lang.String getStatements(int index)
DDL statements to be applied to the database.
repeated string statements = 2;
com.google.protobuf.ByteString getStatementsBytes(int index)
DDL statements to be applied to the database.
repeated string statements = 2;
java.lang.String getOperationId()
If empty, the new update request is assigned an automatically-generated operation ID. Otherwise, `operation_id` is used to construct the name of the resulting [Operation][google.longrunning.Operation]. Specifying an explicit operation ID simplifies determining whether the statements were executed in the event that the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and `operation_id` fields can be combined to form the [name][google.longrunning.Operation.name] of the resulting [longrunning.Operation][google.longrunning.Operation]: `<database>/operations/<operation_id>`. `operation_id` should be unique within the database, and must be a valid identifier: `[a-z][a-z0-9_]*`. Note that automatically-generated operation IDs always begin with an underscore. If the named operation already exists, [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns `ALREADY_EXISTS`.
string operation_id = 3;
com.google.protobuf.ByteString getOperationIdBytes()
If empty, the new update request is assigned an automatically-generated operation ID. Otherwise, `operation_id` is used to construct the name of the resulting [Operation][google.longrunning.Operation]. Specifying an explicit operation ID simplifies determining whether the statements were executed in the event that the [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and `operation_id` fields can be combined to form the [name][google.longrunning.Operation.name] of the resulting [longrunning.Operation][google.longrunning.Operation]: `<database>/operations/<operation_id>`. `operation_id` should be unique within the database, and must be a valid identifier: `[a-z][a-z0-9_]*`. Note that automatically-generated operation IDs always begin with an underscore. If the named operation already exists, [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns `ALREADY_EXISTS`.
string operation_id = 3;