Interface SpannerSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SpannerSource,SpannerSource.Builder
@Generated
public interface SpannerSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.booleanWhether to apply data boost on Spanner export.Required.com.google.protobuf.ByteStringRequired.The project ID that contains the Spanner source.com.google.protobuf.ByteStringThe project ID that contains the Spanner 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 Spanner 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 Spanner 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 instance ID of the source Spanner table.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The instanceId.
-
getInstanceIdBytes
com.google.protobuf.ByteString getInstanceIdBytes()Required. The instance ID of the source Spanner table.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for instanceId.
-
getDatabaseId
String getDatabaseId()Required. The database ID of the source Spanner table.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The databaseId.
-
getDatabaseIdBytes
com.google.protobuf.ByteString getDatabaseIdBytes()Required. The database ID of the source Spanner table.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for databaseId.
-
getTableId
String getTableId()Required. The table name of the Spanner database that needs to be imported.
string table_id = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The tableId.
-
getTableIdBytes
com.google.protobuf.ByteString getTableIdBytes()Required. The table name of the Spanner database that needs to be imported.
string table_id = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for tableId.
-
getEnableDataBoost
boolean getEnableDataBoost()Whether to apply data boost on Spanner export. Enabling this option will incur additional cost. More info can be found [here](https://cloud.google.com/spanner/docs/databoost/databoost-overview#billing_and_quotas).
bool enable_data_boost = 5;- Returns:
- The enableDataBoost.
-