public final class MoveTableToDatabaseRequest extends GeneratedMessageV3 implements MoveTableToDatabaseRequestOrBuilder
Request message for
DataprocMetastore.MoveTableToDatabase.
Protobuf type google.cloud.metastore.v1beta.MoveTableToDatabaseRequest
Static Fields
public static final int DB_NAME_FIELD_NUMBER
Field Value
public static final int DESTINATION_DB_NAME_FIELD_NUMBER
Field Value
public static final int SERVICE_FIELD_NUMBER
Field Value
public static final int TABLE_NAME_FIELD_NUMBER
Field Value
Static Methods
public static MoveTableToDatabaseRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static MoveTableToDatabaseRequest.Builder newBuilder()
Returns
public static MoveTableToDatabaseRequest.Builder newBuilder(MoveTableToDatabaseRequest prototype)
Parameter
Returns
public static MoveTableToDatabaseRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MoveTableToDatabaseRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MoveTableToDatabaseRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static MoveTableToDatabaseRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MoveTableToDatabaseRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static MoveTableToDatabaseRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MoveTableToDatabaseRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MoveTableToDatabaseRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MoveTableToDatabaseRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MoveTableToDatabaseRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MoveTableToDatabaseRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static MoveTableToDatabaseRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<MoveTableToDatabaseRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
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.
|
public ByteString getDbNameBytes()
Required. The name of the database where the table resides.
string db_name = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public MoveTableToDatabaseRequest getDefaultInstanceForType()
Returns
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.
|
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.
|
public Parser<MoveTableToDatabaseRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
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.
|
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
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.
|
public ByteString getTableNameBytes()
Required. The name of the table to be moved.
string table_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public MoveTableToDatabaseRequest.Builder newBuilderForType()
Returns
protected MoveTableToDatabaseRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public MoveTableToDatabaseRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions