Class UpdateDatabaseRequest.Builder (0.33.0)

public static final class UpdateDatabaseRequest.Builder extends GeneratedMessageV3.Builder<UpdateDatabaseRequest.Builder> implements UpdateDatabaseRequestOrBuilder

Request message for the UpdateDatabase method.

Protobuf type google.cloud.bigquery.biglake.v1.UpdateDatabaseRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatabaseRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateDatabaseRequest.Builder
Overrides

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
Overrides

clearDatabase()

public UpdateDatabaseRequest.Builder clearDatabase()

Required. The database to update.

The database's name field is used to identify the database to update. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

.google.cloud.bigquery.biglake.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDatabaseRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDatabaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateDatabaseRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDatabaseRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateDatabaseRequest.Builder
Overrides

clearUpdateMask()

public UpdateDatabaseRequest.Builder clearUpdateMask()

The list of fields to update.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateDatabaseRequest.Builder

clone()

public UpdateDatabaseRequest.Builder clone()
Returns
Type Description
UpdateDatabaseRequest.Builder
Overrides

getDatabase()

public Database getDatabase()

Required. The database to update.

The database's name field is used to identify the database to update. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

.google.cloud.bigquery.biglake.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 database's name field is used to identify the database to update. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

.google.cloud.bigquery.biglake.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Database.Builder

getDatabaseOrBuilder()

public DatabaseOrBuilder getDatabaseOrBuilder()

Required. The database to update.

The database's name field is used to identify the database to update. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

.google.cloud.bigquery.biglake.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
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to update.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to update.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to update.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasDatabase()

public boolean hasDatabase()

Required. The database to update.

The database's name field is used to identify the database to update. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

.google.cloud.bigquery.biglake.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the database field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to update.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDatabase(Database value)

public UpdateDatabaseRequest.Builder mergeDatabase(Database value)

Required. The database to update.

The database's name field is used to identify the database to update. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

.google.cloud.bigquery.biglake.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Database
Returns
Type Description
UpdateDatabaseRequest.Builder

mergeFrom(UpdateDatabaseRequest other)

public UpdateDatabaseRequest.Builder mergeFrom(UpdateDatabaseRequest other)
Parameter
Name Description
other UpdateDatabaseRequest
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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateDatabaseRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateDatabaseRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatabaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateDatabaseRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateDatabaseRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to update.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

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 database's name field is used to identify the database to update. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

.google.cloud.bigquery.biglake.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 database's name field is used to identify the database to update. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

.google.cloud.bigquery.biglake.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Database.Builder
Returns
Type Description
UpdateDatabaseRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatabaseRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateDatabaseRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateDatabaseRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateDatabaseRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatabaseRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateDatabaseRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateDatabaseRequest.Builder setUpdateMask(FieldMask value)

The list of fields to update.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDatabaseRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDatabaseRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to update.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateDatabaseRequest.Builder