Class MoveTableToDatabaseRequest.Builder (2.44.0)

public static final class MoveTableToDatabaseRequest.Builder extends GeneratedMessageV3.Builder<MoveTableToDatabaseRequest.Builder> implements MoveTableToDatabaseRequestOrBuilder

Request message for DataprocMetastore.MoveTableToDatabase.

Protobuf type google.cloud.metastore.v1beta.MoveTableToDatabaseRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MoveTableToDatabaseRequest build()
Returns
Type Description
MoveTableToDatabaseRequest

buildPartial()

public MoveTableToDatabaseRequest buildPartial()
Returns
Type Description
MoveTableToDatabaseRequest

clear()

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

clearDbName()

public MoveTableToDatabaseRequest.Builder clearDbName()

Required. The name of the database where the table resides.

string db_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MoveTableToDatabaseRequest.Builder

This builder for chaining.

clearDestinationDbName()

public MoveTableToDatabaseRequest.Builder clearDestinationDbName()

Required. The name of the database where the table should be moved.

string destination_db_name = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MoveTableToDatabaseRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearService()

public MoveTableToDatabaseRequest.Builder clearService()

Required. The relative resource name of the metastore service to mutate metadata, in the following format:

projects/{project_id}/locations/{location_id}/services/{service_id}.

string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
MoveTableToDatabaseRequest.Builder

This builder for chaining.

clearTableName()

public MoveTableToDatabaseRequest.Builder clearTableName()

Required. The name of the table to be moved.

string table_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MoveTableToDatabaseRequest.Builder

This builder for chaining.

clone()

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

getDbName()

public String getDbName()

Required. The name of the database where the table resides.

string db_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The dbName.

getDbNameBytes()

public ByteString getDbNameBytes()

Required. The name of the database where the table resides.

string db_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for dbName.

getDefaultInstanceForType()

public MoveTableToDatabaseRequest getDefaultInstanceForType()
Returns
Type Description
MoveTableToDatabaseRequest

getDescriptorForType()

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

getDestinationDbName()

public String getDestinationDbName()

Required. The name of the database where the table should be moved.

string destination_db_name = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The destinationDbName.

getDestinationDbNameBytes()

public ByteString getDestinationDbNameBytes()

Required. The name of the database where the table should be moved.

string destination_db_name = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for destinationDbName.

getService()

public String getService()

Required. The relative resource name of the metastore service to mutate metadata, in the following format:

projects/{project_id}/locations/{location_id}/services/{service_id}.

string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Required. The relative resource name of the metastore service to mutate metadata, in the following format:

projects/{project_id}/locations/{location_id}/services/{service_id}.

string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for service.

getTableName()

public String getTableName()

Required. The name of the table to be moved.

string table_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tableName.

getTableNameBytes()

public ByteString getTableNameBytes()

Required. The name of the table to be moved.

string table_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tableName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MoveTableToDatabaseRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDbName(String value)

public MoveTableToDatabaseRequest.Builder setDbName(String value)

Required. The name of the database where the table resides.

string db_name = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The dbName to set.

Returns
Type Description
MoveTableToDatabaseRequest.Builder

This builder for chaining.

setDbNameBytes(ByteString value)

public MoveTableToDatabaseRequest.Builder setDbNameBytes(ByteString value)

Required. The name of the database where the table resides.

string db_name = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for dbName to set.

Returns
Type Description
MoveTableToDatabaseRequest.Builder

This builder for chaining.

setDestinationDbName(String value)

public MoveTableToDatabaseRequest.Builder setDestinationDbName(String value)

Required. The name of the database where the table should be moved.

string destination_db_name = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The destinationDbName to set.

Returns
Type Description
MoveTableToDatabaseRequest.Builder

This builder for chaining.

setDestinationDbNameBytes(ByteString value)

public MoveTableToDatabaseRequest.Builder setDestinationDbNameBytes(ByteString value)

Required. The name of the database where the table should be moved.

string destination_db_name = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for destinationDbName to set.

Returns
Type Description
MoveTableToDatabaseRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setService(String value)

public MoveTableToDatabaseRequest.Builder setService(String value)

Required. The relative resource name of the metastore service to mutate metadata, in the following format:

projects/{project_id}/locations/{location_id}/services/{service_id}.

string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The service to set.

Returns
Type Description
MoveTableToDatabaseRequest.Builder

This builder for chaining.

setServiceBytes(ByteString value)

public MoveTableToDatabaseRequest.Builder setServiceBytes(ByteString value)

Required. The relative resource name of the metastore service to mutate metadata, in the following format:

projects/{project_id}/locations/{location_id}/services/{service_id}.

string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for service to set.

Returns
Type Description
MoveTableToDatabaseRequest.Builder

This builder for chaining.

setTableName(String value)

public MoveTableToDatabaseRequest.Builder setTableName(String value)

Required. The name of the table to be moved.

string table_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The tableName to set.

Returns
Type Description
MoveTableToDatabaseRequest.Builder

This builder for chaining.

setTableNameBytes(ByteString value)

public MoveTableToDatabaseRequest.Builder setTableNameBytes(ByteString value)

Required. The name of the table to be moved.

string table_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for tableName to set.

Returns
Type Description
MoveTableToDatabaseRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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