Interface UpdateDatabaseRequestOrBuilder (6.54.0)

public interface UpdateDatabaseRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabase()

public abstract Database getDatabase()

Required. The database to update. The name field of the database is of the form projects/<project>/instances/<instance>/databases/<database>.

.google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Database

The database.

getDatabaseOrBuilder()

public abstract DatabaseOrBuilder getDatabaseOrBuilder()

Required. The database to update. The name field of the database is of the form projects/<project>/instances/<instance>/databases/<database>.

.google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DatabaseOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. The list of fields to update. Currently, only enable_drop_protection field can be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to update. Currently, only enable_drop_protection field can be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasDatabase()

public abstract boolean hasDatabase()

Required. The database to update. The name field of the database is of the form projects/<project>/instances/<instance>/databases/<database>.

.google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the database field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. The list of fields to update. Currently, only enable_drop_protection field can be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.