- 6.108.0 (latest)
- 6.107.0
- 6.103.0
- 6.102.1
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class UpdateDatabaseRequest.Builder extends GeneratedMessage.Builder<UpdateDatabaseRequest.Builder> implements UpdateDatabaseRequestOrBuilderThe request for UpdateDatabase.
Protobuf type google.spanner.admin.database.v1.UpdateDatabaseRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateDatabaseRequest.BuilderImplements
UpdateDatabaseRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateDatabaseRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateDatabaseRequest |
|
buildPartial()
public UpdateDatabaseRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateDatabaseRequest |
|
clear()
public UpdateDatabaseRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateDatabaseRequest.Builder |
|
clearDatabase()
public UpdateDatabaseRequest.Builder clearDatabase() 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 |
UpdateDatabaseRequest.Builder |
|
clearUpdateMask()
public UpdateDatabaseRequest.Builder clearUpdateMask() 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 |
UpdateDatabaseRequest.Builder |
|
getDatabase()
public 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. |
getDatabaseBuilder()
public Database.Builder getDatabaseBuilder() 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.Builder |
|
getDatabaseOrBuilder()
public 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 |
|
getDefaultInstanceForType()
public UpdateDatabaseRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateDatabaseRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public 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. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder() 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 |
Builder |
|
getUpdateMaskOrBuilder()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDatabase(Database value)
public UpdateDatabaseRequest.Builder mergeDatabase(Database value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Database |
| Returns | |
|---|---|
| Type | Description |
UpdateDatabaseRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateDatabaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateDatabaseRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateDatabaseRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateDatabaseRequest.Builder |
|
mergeFrom(UpdateDatabaseRequest other)
public UpdateDatabaseRequest.Builder mergeFrom(UpdateDatabaseRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateDatabaseRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateDatabaseRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateDatabaseRequest.Builder mergeUpdateMask(FieldMask value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateDatabaseRequest.Builder |
|
setDatabase(Database value)
public UpdateDatabaseRequest.Builder setDatabase(Database value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Database |
| Returns | |
|---|---|
| Type | Description |
UpdateDatabaseRequest.Builder |
|
setDatabase(Database.Builder builderForValue)
public UpdateDatabaseRequest.Builder setDatabase(Database.Builder builderForValue) 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Database.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateDatabaseRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateDatabaseRequest.Builder setUpdateMask(FieldMask value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateDatabaseRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateDatabaseRequest.Builder setUpdateMask(FieldMask.Builder builderForValue) 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateDatabaseRequest.Builder |
|