    public static interface ImportContext.SqlBakImportOptionsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getBakType()

    public abstract BakType getBakType()

Type of the bak content, FULL or DIFF.

`.google.cloud.sql.v1beta4.BakType bak_type = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1beta4.BakType` | The bakType. |

### getBakTypeValue()

    public abstract int getBakTypeValue()

Type of the bak content, FULL or DIFF.

`.google.cloud.sql.v1beta4.BakType bak_type = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for bakType. |

### getEncryptionOptions()

    public abstract ImportContext.SqlBakImportOptions.EncryptionOptions getEncryptionOptions()

` .google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions.EncryptionOptions encryption_options = 1; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions.EncryptionOptions` | The encryptionOptions. |

### getEncryptionOptionsOrBuilder()

    public abstract ImportContext.SqlBakImportOptions.EncryptionOptionsOrBuilder getEncryptionOptionsOrBuilder()

` .google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions.EncryptionOptions encryption_options = 1; `

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

### getNoRecovery()

    public abstract BoolValue getNoRecovery()

Whether or not the backup importing will restore database with NORECOVERY option. Applies only to Cloud SQL for SQL Server.

`.google.protobuf.BoolValue no_recovery = 4;`

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

### getNoRecoveryOrBuilder()

    public abstract BoolValueOrBuilder getNoRecoveryOrBuilder()

Whether or not the backup importing will restore database with NORECOVERY option. Applies only to Cloud SQL for SQL Server.

`.google.protobuf.BoolValue no_recovery = 4;`

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

### getRecoveryOnly()

    public abstract BoolValue getRecoveryOnly()

Whether or not the backup importing request will just bring database online without downloading Bak content only one of "no_recovery" and "recovery_only" can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.

`.google.protobuf.BoolValue recovery_only = 5;`

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

### getRecoveryOnlyOrBuilder()

    public abstract BoolValueOrBuilder getRecoveryOnlyOrBuilder()

Whether or not the backup importing request will just bring database online without downloading Bak content only one of "no_recovery" and "recovery_only" can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.

`.google.protobuf.BoolValue recovery_only = 5;`

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

### getStopAt()

    public abstract Timestamp getStopAt()

Optional. The timestamp when the import should stop. This timestamp is in the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT keyword and applies to Cloud SQL for SQL Server only.

`.google.protobuf.Timestamp stop_at = 7 [(.google.api.field_behavior) = OPTIONAL]; `

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

### getStopAtMark()

    public abstract String getStopAtMark()

Optional. The marked transaction where the import should stop. This field is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL Server only.

`string stop_at_mark = 8 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The stopAtMark. |

### getStopAtMarkBytes()

    public abstract ByteString getStopAtMarkBytes()

Optional. The marked transaction where the import should stop. This field is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL Server only.

`string stop_at_mark = 8 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for stopAtMark. |

### getStopAtOrBuilder()

    public abstract TimestampOrBuilder getStopAtOrBuilder()

Optional. The timestamp when the import should stop. This timestamp is in the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT keyword and applies to Cloud SQL for SQL Server only.

`.google.protobuf.Timestamp stop_at = 7 [(.google.api.field_behavior) = OPTIONAL]; `

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

### getStriped()

    public abstract BoolValue getStriped()

Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.

`.google.protobuf.BoolValue striped = 2;`

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

### getStripedOrBuilder()

    public abstract BoolValueOrBuilder getStripedOrBuilder()

Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.

`.google.protobuf.BoolValue striped = 2;`

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

### hasEncryptionOptions()

    public abstract boolean hasEncryptionOptions()

` .google.cloud.sql.v1beta4.ImportContext.SqlBakImportOptions.EncryptionOptions encryption_options = 1; `

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

### hasNoRecovery()

    public abstract boolean hasNoRecovery()

Whether or not the backup importing will restore database with NORECOVERY option. Applies only to Cloud SQL for SQL Server.

`.google.protobuf.BoolValue no_recovery = 4;`

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

### hasRecoveryOnly()

    public abstract boolean hasRecoveryOnly()

Whether or not the backup importing request will just bring database online without downloading Bak content only one of "no_recovery" and "recovery_only" can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.

`.google.protobuf.BoolValue recovery_only = 5;`

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

### hasStopAt()

    public abstract boolean hasStopAt()

Optional. The timestamp when the import should stop. This timestamp is in the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT keyword and applies to Cloud SQL for SQL Server only.

`.google.protobuf.Timestamp stop_at = 7 [(.google.api.field_behavior) = OPTIONAL]; `

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

### hasStriped()

    public abstract boolean hasStriped()

Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.

`.google.protobuf.BoolValue striped = 2;`

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