Class UpdateHiveDatabaseRequest.Builder (0.76.0)

public static final class UpdateHiveDatabaseRequest.Builder extends GeneratedMessage.Builder<UpdateHiveDatabaseRequest.Builder> implements UpdateHiveDatabaseRequestOrBuilder

Request message for the UpdateHiveDatabase method.

Protobuf type google.cloud.biglake.hive.v1beta.UpdateHiveDatabaseRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateHiveDatabaseRequest build()
Returns
Type Description
UpdateHiveDatabaseRequest

buildPartial()

public UpdateHiveDatabaseRequest buildPartial()
Returns
Type Description
UpdateHiveDatabaseRequest

clear()

public UpdateHiveDatabaseRequest.Builder clear()
Returns
Type Description
UpdateHiveDatabaseRequest.Builder
Overrides

clearHiveDatabase()

public UpdateHiveDatabaseRequest.Builder clearHiveDatabase()

Required. The database to update.

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

.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateHiveDatabaseRequest.Builder

clearUpdateMask()

public UpdateHiveDatabaseRequest.Builder clearUpdateMask()

Optional. The list of fields to update.

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

Returns
Type Description
UpdateHiveDatabaseRequest.Builder

getDefaultInstanceForType()

public UpdateHiveDatabaseRequest getDefaultInstanceForType()
Returns
Type Description
UpdateHiveDatabaseRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHiveDatabase()

public HiveDatabase getHiveDatabase()

Required. The database to update.

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

.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HiveDatabase

The hiveDatabase.

getHiveDatabaseBuilder()

public HiveDatabase.Builder getHiveDatabaseBuilder()

Required. The database to update.

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

.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HiveDatabase.Builder

getHiveDatabaseOrBuilder()

public HiveDatabaseOrBuilder getHiveDatabaseOrBuilder()

Required. The database to update.

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

.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HiveDatabaseOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The list of fields to update.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The list of fields to update.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of fields to update.

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

Returns
Type Description
FieldMaskOrBuilder

hasHiveDatabase()

public boolean hasHiveDatabase()

Required. The database to update.

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

.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the hiveDatabase field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The list of fields to update.

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

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateHiveDatabaseRequest other)

public UpdateHiveDatabaseRequest.Builder mergeFrom(UpdateHiveDatabaseRequest other)
Parameter
Name Description
other UpdateHiveDatabaseRequest
Returns
Type Description
UpdateHiveDatabaseRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateHiveDatabaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateHiveDatabaseRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeHiveDatabase(HiveDatabase value)

public UpdateHiveDatabaseRequest.Builder mergeHiveDatabase(HiveDatabase 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}/catalogs/{catalog_id}/databases/{database_id}

.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value HiveDatabase
Returns
Type Description
UpdateHiveDatabaseRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateHiveDatabaseRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The list of fields to update.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateHiveDatabaseRequest.Builder

setHiveDatabase(HiveDatabase value)

public UpdateHiveDatabaseRequest.Builder setHiveDatabase(HiveDatabase 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}/catalogs/{catalog_id}/databases/{database_id}

.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value HiveDatabase
Returns
Type Description
UpdateHiveDatabaseRequest.Builder

setHiveDatabase(HiveDatabase.Builder builderForValue)

public UpdateHiveDatabaseRequest.Builder setHiveDatabase(HiveDatabase.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}/catalogs/{catalog_id}/databases/{database_id}

.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue HiveDatabase.Builder
Returns
Type Description
UpdateHiveDatabaseRequest.Builder

setUpdateMask(FieldMask value)

public UpdateHiveDatabaseRequest.Builder setUpdateMask(FieldMask value)

Optional. The list of fields to update.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateHiveDatabaseRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateHiveDatabaseRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The list of fields to update.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateHiveDatabaseRequest.Builder