Interface CloudSqlSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CloudSqlSource,CloudSqlSource.Builder
@Generated
public interface CloudSqlSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.com.google.protobuf.ByteStringIntermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.Required.com.google.protobuf.ByteStringRequired.booleanOption for serverless export.The project ID that contains the Cloud SQL source.com.google.protobuf.ByteStringThe project ID that contains the Cloud SQL source.Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getProjectId
String getProjectId()The project ID that contains the Cloud SQL source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()The project ID that contains the Cloud SQL source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;- Returns:
- The bytes for projectId.
-
getInstanceId
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:
- The instanceId.
-
getInstanceIdBytes
com.google.protobuf.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:
- The bytes for instanceId.
-
getDatabaseId
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:
- The databaseId.
-
getDatabaseIdBytes
com.google.protobuf.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:
- The bytes for databaseId.
-
getTableId
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:
- The tableId.
-
getTableIdBytes
com.google.protobuf.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:
- The bytes for tableId.
-
getGcsStagingDir
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:
- The gcsStagingDir.
-
getGcsStagingDirBytes
com.google.protobuf.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:
- The bytes for gcsStagingDir.
-
getOffload
boolean getOffload()Option for serverless export. Enabling this option will incur additional cost. More info can be found [here](https://cloud.google.com/sql/pricing#serverless).
bool offload = 6;- Returns:
- The offload.
-