public final class MoveTableToDatabaseRequest extends GeneratedMessageV3 implements MoveTableToDatabaseRequestOrBuilder
Request message for
DataprocMetastore.MoveTableToDatabase.
Protobuf type google.cloud.metastore.v1.MoveTableToDatabaseRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DB_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DESTINATION_DB_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int SERVICE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TABLE_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static MoveTableToDatabaseRequest getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static MoveTableToDatabaseRequest.Builder newBuilder()
public static MoveTableToDatabaseRequest.Builder newBuilder(MoveTableToDatabaseRequest prototype)
public static MoveTableToDatabaseRequest parseDelimitedFrom(InputStream input)
public static MoveTableToDatabaseRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MoveTableToDatabaseRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static MoveTableToDatabaseRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MoveTableToDatabaseRequest parseFrom(ByteString data)
public static MoveTableToDatabaseRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MoveTableToDatabaseRequest parseFrom(CodedInputStream input)
public static MoveTableToDatabaseRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MoveTableToDatabaseRequest parseFrom(InputStream input)
public static MoveTableToDatabaseRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MoveTableToDatabaseRequest parseFrom(ByteBuffer data)
public static MoveTableToDatabaseRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<MoveTableToDatabaseRequest> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 |
---|
Type | Description |
ByteString | The bytes for dbName.
|
public MoveTableToDatabaseRequest getDefaultInstanceForType()
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()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
ByteString | The bytes for service.
|
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 |
---|
Type | Description |
ByteString | The bytes for tableName.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MoveTableToDatabaseRequest.Builder newBuilderForType()
protected MoveTableToDatabaseRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public MoveTableToDatabaseRequest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides