Interface CloudSqlSourceOrBuilder (0.42.0)

public interface CloudSqlSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabaseId()

public abstract String getDatabaseId()

Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.

string database_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The databaseId.

getDatabaseIdBytes()

public abstract ByteString getDatabaseIdBytes()

Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.

string database_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for databaseId.

getGcsStagingDir()

public abstract String getGcsStagingDir()

Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory.

Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.

string gcs_staging_dir = 5;

Returns
Type Description
String

The gcsStagingDir.

getGcsStagingDirBytes()

public abstract ByteString getGcsStagingDirBytes()

Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory.

Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.

string gcs_staging_dir = 5;

Returns
Type Description
ByteString

The bytes for gcsStagingDir.

getInstanceId()

public abstract String getInstanceId()

Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public abstract ByteString getInstanceIdBytes()

Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instanceId.

getOffload()

public abstract boolean getOffload()

Option for serverless export. Enabling this option will incur additional cost. More info can be found here.

bool offload = 6;

Returns
Type Description
boolean

The offload.

getProjectId()

public abstract String getProjectId()

The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

getTableId()

public abstract String getTableId()

Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.

string table_id = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tableId.

getTableIdBytes()

public abstract ByteString getTableIdBytes()

Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.

string table_id = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tableId.