Interface UpdateDatabaseRequestOrBuilder (6.82.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateMask field is set.