Google Cloud Sql Admin V1 Client - Class SqlImportOptions (1.2.2)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlImportOptions.

Generated from protobuf message google.cloud.sql.v1.ImportContext.SqlImportOptions

Namespace

Google \ Cloud \ Sql \ V1 \ ImportContext

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ threads Google\Protobuf\Int32Value

Optional. The number of threads to use for parallel import.

↳ parallel Google\Protobuf\BoolValue

Optional. Whether or not the import should be parallel.

↳ postgres_import_options SqlImportOptions\PostgresImportOptions

Optional. Options for importing from a Cloud SQL for PostgreSQL instance.

getThreads

Optional. The number of threads to use for parallel import.

Returns
Type Description
Google\Protobuf\Int32Value|null

hasThreads

clearThreads

getThreadsUnwrapped

Returns the unboxed value from getThreads()

Optional. The number of threads to use for parallel import.

Returns
Type Description
int|null

setThreads

Optional. The number of threads to use for parallel import.

Parameter
Name Description
var Google\Protobuf\Int32Value
Returns
Type Description
$this

setThreadsUnwrapped

Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.

Optional. The number of threads to use for parallel import.

Parameter
Name Description
var int|null
Returns
Type Description
$this

getParallel

Optional. Whether or not the import should be parallel.

Returns
Type Description
Google\Protobuf\BoolValue|null

hasParallel

clearParallel

getParallelUnwrapped

Returns the unboxed value from getParallel()

Optional. Whether or not the import should be parallel.

Returns
Type Description
bool|null

setParallel

Optional. Whether or not the import should be parallel.

Parameter
Name Description
var Google\Protobuf\BoolValue
Returns
Type Description
$this

setParallelUnwrapped

Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.

Optional. Whether or not the import should be parallel.

Parameter
Name Description
var bool|null
Returns
Type Description
$this

getPostgresImportOptions

Optional. Options for importing from a Cloud SQL for PostgreSQL instance.

Returns
Type Description
SqlImportOptions\PostgresImportOptions|null

hasPostgresImportOptions

clearPostgresImportOptions

setPostgresImportOptions

Optional. Options for importing from a Cloud SQL for PostgreSQL instance.

Parameter
Name Description
var SqlImportOptions\PostgresImportOptions
Returns
Type Description
$this