Interface ImportClusterRequestOrBuilder (0.52.0)

public interface ImportClusterRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCsvImportOptions()

public abstract ImportClusterRequest.CsvImportOptions getCsvImportOptions()

Options for importing data in CSV format.

.google.cloud.alloydb.v1.ImportClusterRequest.CsvImportOptions csv_import_options = 7;

Returns
Type Description
ImportClusterRequest.CsvImportOptions

The csvImportOptions.

getCsvImportOptionsOrBuilder()

public abstract ImportClusterRequest.CsvImportOptionsOrBuilder getCsvImportOptionsOrBuilder()

Options for importing data in CSV format.

.google.cloud.alloydb.v1.ImportClusterRequest.CsvImportOptions csv_import_options = 7;

Returns
Type Description
ImportClusterRequest.CsvImportOptionsOrBuilder

getDatabase()

public abstract String getDatabase()

Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. 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) = OPTIONAL];

Returns
Type Description
String

The database.

getDatabaseBytes()

public abstract ByteString getDatabaseBytes()

Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. 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) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for database.

getGcsUri()

public abstract String getGcsUri()

Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form gs://bucketName/fileName.

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

Returns
Type Description
String

The gcsUri.

getGcsUriBytes()

public abstract ByteString getGcsUriBytes()

Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form gs://bucketName/fileName.

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

Returns
Type Description
ByteString

The bytes for gcsUri.

getImportOptionsCase()

public abstract ImportClusterRequest.ImportOptionsCase getImportOptionsCase()
Returns
Type Description
ImportClusterRequest.ImportOptionsCase

getName()

public abstract String getName()

Required. The resource name of the cluster.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The resource name of the cluster.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getSqlImportOptions()

public abstract ImportClusterRequest.SqlImportOptions getSqlImportOptions()

Options for importing data in SQL format.

.google.cloud.alloydb.v1.ImportClusterRequest.SqlImportOptions sql_import_options = 4;

Returns
Type Description
ImportClusterRequest.SqlImportOptions

The sqlImportOptions.

getSqlImportOptionsOrBuilder()

public abstract ImportClusterRequest.SqlImportOptionsOrBuilder getSqlImportOptionsOrBuilder()

Options for importing data in SQL format.

.google.cloud.alloydb.v1.ImportClusterRequest.SqlImportOptions sql_import_options = 4;

Returns
Type Description
ImportClusterRequest.SqlImportOptionsOrBuilder

getUser()

public abstract String getUser()

Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from SELECT current_user; and NOT as a resource reference.

string user = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The user.

getUserBytes()

public abstract ByteString getUserBytes()

Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from SELECT current_user; and NOT as a resource reference.

string user = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for user.

hasCsvImportOptions()

public abstract boolean hasCsvImportOptions()

Options for importing data in CSV format.

.google.cloud.alloydb.v1.ImportClusterRequest.CsvImportOptions csv_import_options = 7;

Returns
Type Description
boolean

Whether the csvImportOptions field is set.

hasSqlImportOptions()

public abstract boolean hasSqlImportOptions()

Options for importing data in SQL format.

.google.cloud.alloydb.v1.ImportClusterRequest.SqlImportOptions sql_import_options = 4;

Returns
Type Description
boolean

Whether the sqlImportOptions field is set.