    public static interface ImportContext.SqlImportOptionsOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getParallel()

    public abstract BoolValue getParallel()

Optional. Whether or not the import should be parallel.

`.google.protobuf.BoolValue parallel = 2 [(.google.api.field_behavior) = OPTIONAL]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.BoolValue.html` | The parallel. |

### getParallelOrBuilder()

    public abstract BoolValueOrBuilder getParallelOrBuilder()

Optional. Whether or not the import should be parallel.

`.google.protobuf.BoolValue parallel = 2 [(.google.api.field_behavior) = OPTIONAL]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.BoolValueOrBuilder.html` |   |

### getPostgresImportOptions()

    public abstract ImportContext.SqlImportOptions.PostgresImportOptions getPostgresImportOptions()

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

` .google.cloud.sql.v1beta4.ImportContext.SqlImportOptions.PostgresImportOptions postgres_import_options = 3 [(.google.api.field_behavior) = OPTIONAL]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1beta4.ImportContext.SqlImportOptions.PostgresImportOptions` | The postgresImportOptions. |

### getPostgresImportOptionsOrBuilder()

    public abstract ImportContext.SqlImportOptions.PostgresImportOptionsOrBuilder getPostgresImportOptionsOrBuilder()

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

` .google.cloud.sql.v1beta4.ImportContext.SqlImportOptions.PostgresImportOptions postgres_import_options = 3 [(.google.api.field_behavior) = OPTIONAL]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1beta4.ImportContext.SqlImportOptions.PostgresImportOptionsOrBuilder` |   |

### getThreads()

    public abstract Int32Value getThreads()

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

`.google.protobuf.Int32Value threads = 1 [(.google.api.field_behavior) = OPTIONAL]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Int32Value.html` | The threads. |

### getThreadsOrBuilder()

    public abstract Int32ValueOrBuilder getThreadsOrBuilder()

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

`.google.protobuf.Int32Value threads = 1 [(.google.api.field_behavior) = OPTIONAL]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Int32ValueOrBuilder.html` |   |

### hasParallel()

    public abstract boolean hasParallel()

Optional. Whether or not the import should be parallel.

`.google.protobuf.BoolValue parallel = 2 [(.google.api.field_behavior) = OPTIONAL]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the parallel field is set. |

### hasPostgresImportOptions()

    public abstract boolean hasPostgresImportOptions()

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

` .google.cloud.sql.v1beta4.ImportContext.SqlImportOptions.PostgresImportOptions postgres_import_options = 3 [(.google.api.field_behavior) = OPTIONAL]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the postgresImportOptions field is set. |

### hasThreads()

    public abstract boolean hasThreads()

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

`.google.protobuf.Int32Value threads = 1 [(.google.api.field_behavior) = OPTIONAL]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the threads field is set. |