Class UpdateDatabaseRequest.Builder (0.28.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.v1alpha1.UpdateDatabaseRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatabaseRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDatabaseRequest.Builder
Overrides

build()

public UpdateDatabaseRequest build()
Returns
TypeDescription
UpdateDatabaseRequest

buildPartial()

public UpdateDatabaseRequest buildPartial()
Returns
TypeDescription
UpdateDatabaseRequest

clear()

public UpdateDatabaseRequest.Builder clear()
Returns
TypeDescription
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.v1alpha1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateDatabaseRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDatabaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateDatabaseRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDatabaseRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateDatabaseRequest.Builder

clone()

public UpdateDatabaseRequest.Builder clone()
Returns
TypeDescription
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.v1alpha1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1alpha1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1alpha1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DatabaseOrBuilder

getDefaultInstanceForType()

public UpdateDatabaseRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDatabaseRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1alpha1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1alpha1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDatabase
Returns
TypeDescription
UpdateDatabaseRequest.Builder

mergeFrom(UpdateDatabaseRequest other)

public UpdateDatabaseRequest.Builder mergeFrom(UpdateDatabaseRequest other)
Parameter
NameDescription
otherUpdateDatabaseRequest
Returns
TypeDescription
UpdateDatabaseRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDatabaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDatabaseRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateDatabaseRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateDatabaseRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatabaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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.v1alpha1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDatabase
Returns
TypeDescription
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.v1alpha1.Database database = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueDatabase.Builder
Returns
TypeDescription
UpdateDatabaseRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatabaseRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDatabaseRequest.Builder
Overrides

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

public UpdateDatabaseRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateDatabaseRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatabaseRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateDatabaseRequest.Builder