Class MoveTableToDatabaseRequest.Builder (2.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MoveTableToDatabaseRequest build()
Returns
TypeDescription
MoveTableToDatabaseRequest

buildPartial()

public MoveTableToDatabaseRequest buildPartial()
Returns
TypeDescription
MoveTableToDatabaseRequest

clear()

public MoveTableToDatabaseRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
MoveTableToDatabaseRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public MoveTableToDatabaseRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dbName.

getDefaultInstanceForType()

public MoveTableToDatabaseRequest getDefaultInstanceForType()
Returns
TypeDescription
MoveTableToDatabaseRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for tableName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MoveTableToDatabaseRequest other)

public MoveTableToDatabaseRequest.Builder mergeFrom(MoveTableToDatabaseRequest other)
Parameter
NameDescription
otherMoveTableToDatabaseRequest
Returns
TypeDescription
MoveTableToDatabaseRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MoveTableToDatabaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The dbName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dbName to set.

Returns
TypeDescription
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
NameDescription
valueString

The destinationDbName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for destinationDbName to set.

Returns
TypeDescription
MoveTableToDatabaseRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public MoveTableToDatabaseRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The service to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for service to set.

Returns
TypeDescription
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
NameDescription
valueString

The tableName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for tableName to set.

Returns
TypeDescription
MoveTableToDatabaseRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final MoveTableToDatabaseRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MoveTableToDatabaseRequest.Builder
Overrides