Class MoveTableToDatabaseRequest (2.24.0)

public final class MoveTableToDatabaseRequest extends GeneratedMessageV3 implements MoveTableToDatabaseRequestOrBuilder

Request message for DataprocMetastore.MoveTableToDatabase.

Protobuf type google.cloud.metastore.v1.MoveTableToDatabaseRequest

Static Fields

DB_NAME_FIELD_NUMBER

public static final int DB_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

DESTINATION_DB_NAME_FIELD_NUMBER

public static final int DESTINATION_DB_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

TABLE_NAME_FIELD_NUMBER

public static final int TABLE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MoveTableToDatabaseRequest getDefaultInstance()
Returns
TypeDescription
MoveTableToDatabaseRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MoveTableToDatabaseRequest.Builder newBuilder()
Returns
TypeDescription
MoveTableToDatabaseRequest.Builder

newBuilder(MoveTableToDatabaseRequest prototype)

public static MoveTableToDatabaseRequest.Builder newBuilder(MoveTableToDatabaseRequest prototype)
Parameter
NameDescription
prototypeMoveTableToDatabaseRequest
Returns
TypeDescription
MoveTableToDatabaseRequest.Builder

parseDelimitedFrom(InputStream input)

public static MoveTableToDatabaseRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MoveTableToDatabaseRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveTableToDatabaseRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveTableToDatabaseRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MoveTableToDatabaseRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MoveTableToDatabaseRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MoveTableToDatabaseRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveTableToDatabaseRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MoveTableToDatabaseRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MoveTableToDatabaseRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MoveTableToDatabaseRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveTableToDatabaseRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MoveTableToDatabaseRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MoveTableToDatabaseRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveTableToDatabaseRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveTableToDatabaseRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MoveTableToDatabaseRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MoveTableToDatabaseRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveTableToDatabaseRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveTableToDatabaseRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MoveTableToDatabaseRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MoveTableToDatabaseRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MoveTableToDatabaseRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveTableToDatabaseRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MoveTableToDatabaseRequest> parser()
Returns
TypeDescription
Parser<MoveTableToDatabaseRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

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.

getParserForType()

public Parser<MoveTableToDatabaseRequest> getParserForType()
Returns
TypeDescription
Parser<MoveTableToDatabaseRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MoveTableToDatabaseRequest.Builder newBuilderForType()
Returns
TypeDescription
MoveTableToDatabaseRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MoveTableToDatabaseRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MoveTableToDatabaseRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MoveTableToDatabaseRequest.Builder toBuilder()
Returns
TypeDescription
MoveTableToDatabaseRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException