Package com.google.cloud.alloydb.v1beta
Interface ExportClusterRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExportClusterRequest,ExportClusterRequest.Builder
@Generated
public interface ExportClusterRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptions for exporting data in CSV format.Options for exporting data in CSV format.Required.com.google.protobuf.ByteStringRequired.Required.Required.getName()Required.com.google.protobuf.ByteStringRequired.Options for exporting data in SQL format.Options for exporting data in SQL format.booleanOptions for exporting data in CSV format.booleanRequired.booleanOptions for exporting data in SQL format.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
-
hasGcsDestination
boolean hasGcsDestination()Required. Option to export data to cloud storage.
.google.cloud.alloydb.v1beta.GcsDestination gcs_destination = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the gcsDestination field is set.
-
getGcsDestination
GcsDestination getGcsDestination()Required. Option to export data to cloud storage.
.google.cloud.alloydb.v1beta.GcsDestination gcs_destination = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The gcsDestination.
-
getGcsDestinationOrBuilder
GcsDestinationOrBuilder getGcsDestinationOrBuilder()Required. Option to export data to cloud storage.
.google.cloud.alloydb.v1beta.GcsDestination gcs_destination = 2 [(.google.api.field_behavior) = REQUIRED]; -
hasCsvExportOptions
boolean hasCsvExportOptions()Options for exporting data in CSV format. Required field to be set for CSV file type.
.google.cloud.alloydb.v1beta.ExportClusterRequest.CsvExportOptions csv_export_options = 4;- Returns:
- Whether the csvExportOptions field is set.
-
getCsvExportOptions
ExportClusterRequest.CsvExportOptions getCsvExportOptions()Options for exporting data in CSV format. Required field to be set for CSV file type.
.google.cloud.alloydb.v1beta.ExportClusterRequest.CsvExportOptions csv_export_options = 4;- Returns:
- The csvExportOptions.
-
getCsvExportOptionsOrBuilder
ExportClusterRequest.CsvExportOptionsOrBuilder getCsvExportOptionsOrBuilder()Options for exporting data in CSV format. Required field to be set for CSV file type.
.google.cloud.alloydb.v1beta.ExportClusterRequest.CsvExportOptions csv_export_options = 4; -
hasSqlExportOptions
boolean hasSqlExportOptions()Options for exporting data in SQL format. Required field to be set for SQL file type.
.google.cloud.alloydb.v1beta.ExportClusterRequest.SqlExportOptions sql_export_options = 5;- Returns:
- Whether the sqlExportOptions field is set.
-
getSqlExportOptions
ExportClusterRequest.SqlExportOptions getSqlExportOptions()Options for exporting data in SQL format. Required field to be set for SQL file type.
.google.cloud.alloydb.v1beta.ExportClusterRequest.SqlExportOptions sql_export_options = 5;- Returns:
- The sqlExportOptions.
-
getSqlExportOptionsOrBuilder
ExportClusterRequest.SqlExportOptionsOrBuilder getSqlExportOptionsOrBuilder()Options for exporting data in SQL format. Required field to be set for SQL file type.
.google.cloud.alloydb.v1beta.ExportClusterRequest.SqlExportOptions sql_export_options = 5; -
getName
String getName()Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
getDatabase
String getDatabase()Required. Name of the database where the export command will be executed. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
string database = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The database.
-
getDatabaseBytes
com.google.protobuf.ByteString getDatabaseBytes()Required. Name of the database where the export command will be executed. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
string database = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for database.
-
getDestinationCase
ExportClusterRequest.DestinationCase getDestinationCase() -
getExportOptionsCase
ExportClusterRequest.ExportOptionsCase getExportOptionsCase()
-