    public static interface ImportContext.SqlBakImportOptions.EncryptionOptionsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getCertPath()

    public abstract String getCertPath()

Path to the Certificate (.cer) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.

`string cert_path = 1;`

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

### getCertPathBytes()

    public abstract ByteString getCertPathBytes()

Path to the Certificate (.cer) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.

`string cert_path = 1;`

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

### getKeepEncrypted()

    public abstract BoolValue getKeepEncrypted()

Optional. Whether the imported file remains encrypted.

` .google.protobuf.BoolValue keep_encrypted = 5 [(.google.api.field_behavior) = OPTIONAL]; `

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

### getKeepEncryptedOrBuilder()

    public abstract BoolValueOrBuilder getKeepEncryptedOrBuilder()

Optional. Whether the imported file remains encrypted.

` .google.protobuf.BoolValue keep_encrypted = 5 [(.google.api.field_behavior) = OPTIONAL]; `

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

### getPvkPassword()

    public abstract String getPvkPassword()

Password that encrypts the private key

`string pvk_password = 3;`

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

### getPvkPasswordBytes()

    public abstract ByteString getPvkPasswordBytes()

Password that encrypts the private key

`string pvk_password = 3;`

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

### getPvkPath()

    public abstract String getPvkPath()

Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.

`string pvk_path = 2;`

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

### getPvkPathBytes()

    public abstract ByteString getPvkPathBytes()

Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.

`string pvk_path = 2;`

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

### hasKeepEncrypted()

    public abstract boolean hasKeepEncrypted()

Optional. Whether the imported file remains encrypted.

` .google.protobuf.BoolValue keep_encrypted = 5 [(.google.api.field_behavior) = OPTIONAL]; `

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