Class MoveTableToDatabaseRequest (2.44.0)

public final class MoveTableToDatabaseRequest extends GeneratedMessageV3 implements MoveTableToDatabaseRequestOrBuilder

Request message for DataprocMetastore.MoveTableToDatabase.

Protobuf type google.cloud.metastore.v1beta.MoveTableToDatabaseRequest

Static Fields

DB_NAME_FIELD_NUMBER

public static final int DB_NAME_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_DB_NAME_FIELD_NUMBER

public static final int DESTINATION_DB_NAME_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
Type Description
int

TABLE_NAME_FIELD_NUMBER

public static final int TABLE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MoveTableToDatabaseRequest getDefaultInstance()
Returns
Type Description
MoveTableToDatabaseRequest

getDescriptor()

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

newBuilder()

public static MoveTableToDatabaseRequest.Builder newBuilder()
Returns
Type Description
MoveTableToDatabaseRequest.Builder

newBuilder(MoveTableToDatabaseRequest prototype)

public static MoveTableToDatabaseRequest.Builder newBuilder(MoveTableToDatabaseRequest prototype)
Parameter
Name Description
prototype MoveTableToDatabaseRequest
Returns
Type Description
MoveTableToDatabaseRequest.Builder

parseDelimitedFrom(InputStream input)

public static MoveTableToDatabaseRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MoveTableToDatabaseRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveTableToDatabaseRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveTableToDatabaseRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MoveTableToDatabaseRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MoveTableToDatabaseRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MoveTableToDatabaseRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveTableToDatabaseRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MoveTableToDatabaseRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MoveTableToDatabaseRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MoveTableToDatabaseRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveTableToDatabaseRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MoveTableToDatabaseRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MoveTableToDatabaseRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveTableToDatabaseRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveTableToDatabaseRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MoveTableToDatabaseRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MoveTableToDatabaseRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveTableToDatabaseRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveTableToDatabaseRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MoveTableToDatabaseRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MoveTableToDatabaseRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MoveTableToDatabaseRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveTableToDatabaseRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MoveTableToDatabaseRequest> parser()
Returns
Type Description
Parser<MoveTableToDatabaseRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<MoveTableToDatabaseRequest> getParserForType()
Returns
Type Description
Parser<MoveTableToDatabaseRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MoveTableToDatabaseRequest.Builder newBuilderForType()
Returns
Type Description
MoveTableToDatabaseRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MoveTableToDatabaseRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MoveTableToDatabaseRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MoveTableToDatabaseRequest.Builder toBuilder()
Returns
Type Description
MoveTableToDatabaseRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException