public static final class MoveTableToDatabaseRequest.Builder extends GeneratedMessage.Builder<MoveTableToDatabaseRequest.Builder> implements MoveTableToDatabaseRequestOrBuilderRequest message for DataprocMetastore.MoveTableToDatabase.
Protobuf type google.cloud.metastore.v1.MoveTableToDatabaseRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MoveTableToDatabaseRequest.BuilderImplements
MoveTableToDatabaseRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MoveTableToDatabaseRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MoveTableToDatabaseRequest.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for destinationDbName to set. |
| Returns | |
|---|---|
| Type | Description |
MoveTableToDatabaseRequest.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for tableName to set. |
| Returns | |
|---|---|
| Type | Description |
MoveTableToDatabaseRequest.Builder |
This builder for chaining. |