# Interface GoldengateRedisConnectionPropertiesOrBuilder (0.42.0)

0.42.0 (latest) 0.40.0 0.37.0 0.36.0 0.34.0 0.32.0 0.31.0 0.29.0 0.27.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.19.0 0.17.0 0.16.0 0.13.0 0.12.0 0.11.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface GoldengateRedisConnectionPropertiesOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAuthenticationType()

    public abstract GoldengateRedisConnectionProperties.RedisAuthenticationType getAuthenticationType()

Optional. Authentication type for Redis.

`
.google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties.RedisAuthenticationType authentication_type = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties.RedisAuthenticationType` | The authenticationType. |

### getAuthenticationTypeValue()

    public abstract int getAuthenticationTypeValue()

Optional. Authentication type for Redis.

`
.google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties.RedisAuthenticationType authentication_type = 4 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getConnectionPasswordOptionsCase()

    public abstract GoldengateRedisConnectionProperties.ConnectionPasswordOptionsCase getConnectionPasswordOptionsCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties.ConnectionPasswordOptionsCase` |   |

### getKeyStoreFile()

    public abstract String getKeyStoreFile()

Optional. The base64 encoded content of the KeyStore file.

`string key_store_file = 10 [(.google.api.field_behavior) = OPTIONAL];`

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

### getKeyStoreFileBytes()

    public abstract ByteString getKeyStoreFileBytes()

Optional. The base64 encoded content of the KeyStore file.

`string key_store_file = 10 [(.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 keyStoreFile. |

### getKeyStorePassword()

    public abstract String getKeyStorePassword()

Optional. Input only. The KeyStore password in plain text.

`
string key_store_password = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
`

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

### getKeyStorePasswordBytes()

    public abstract ByteString getKeyStorePasswordBytes()

Optional. Input only. The KeyStore password in plain text.

`
string key_store_password = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
`

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

### getKeyStorePasswordOptionsCase()

    public abstract GoldengateRedisConnectionProperties.KeyStorePasswordOptionsCase getKeyStorePasswordOptionsCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties.KeyStorePasswordOptionsCase` |   |

### getKeyStorePasswordSecretVersion()

    public abstract String getKeyStorePasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret
Manager which contains the KeyStore password. Format:
projects/{project}/secrets/{secret}/versions/{version}.

`
string key_store_password_secret_version = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }
`

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

### getKeyStorePasswordSecretVersionBytes()

    public abstract ByteString getKeyStorePasswordSecretVersionBytes()

Optional. Input only. The resource name of a secret version in Secret
Manager which contains the KeyStore password. Format:
projects/{project}/secrets/{secret}/versions/{version}.

`
string key_store_password_secret_version = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }
`

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

### getPassword()

    public abstract String getPassword()

Optional. Input only. The password Oracle Goldengate uses for Redis
connection in plain text.

`
string password = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
`

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

### getPasswordBytes()

    public abstract ByteString getPasswordBytes()

Optional. Input only. The password Oracle Goldengate uses for Redis
connection in plain text.

`
string password = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
`

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

### getPasswordSecretVersion()

    public abstract String getPasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret
Manager which contains the password Oracle Goldengate uses for Redis
connection. Format:
projects/{project}/secrets/{secret}/versions/{version}.

`
string password_secret_version = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }
`

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

### getPasswordSecretVersionBytes()

    public abstract ByteString getPasswordSecretVersionBytes()

Optional. Input only. The resource name of a secret version in Secret
Manager which contains the password Oracle Goldengate uses for Redis
connection. Format:
projects/{project}/secrets/{secret}/versions/{version}.

`
string password_secret_version = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }
`

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

### getRedisClusterId()

    public abstract String getRedisClusterId()

Optional. The OCID of the Redis cluster.

`string redis_cluster_id = 7 [(.google.api.field_behavior) = OPTIONAL];`

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

### getRedisClusterIdBytes()

    public abstract ByteString getRedisClusterIdBytes()

Optional. The OCID of the Redis cluster.

`string redis_cluster_id = 7 [(.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 redisClusterId. |

### getSecurityProtocol()

    public abstract GoldengateRedisConnectionProperties.RedisSecurityProtocol getSecurityProtocol()

Optional. Security protocol for Redis.

`
.google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties.RedisSecurityProtocol security_protocol = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties.RedisSecurityProtocol` | The securityProtocol. |

### getSecurityProtocolValue()

    public abstract int getSecurityProtocolValue()

Optional. Security protocol for Redis.

`
.google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties.RedisSecurityProtocol security_protocol = 3 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getServers()

    public abstract String getServers()

Optional. Comma separated list of Redis server addresses, specified as
host:port entries, where :port is optional. If port is not specified, it
defaults to 6379. Example:
"server1.example.com:6379,server2.example.com:6379"

`string servers = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### getServersBytes()

    public abstract ByteString getServersBytes()

Optional. Comma separated list of Redis server addresses, specified as
host:port entries, where :port is optional. If port is not specified, it
defaults to 6379. Example:
"server1.example.com:6379,server2.example.com:6379"

`string servers = 2 [(.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 servers. |

### getTechnologyType()

    public abstract String getTechnologyType()

Optional. The technology type of RedisConnection.

`string technology_type = 1 [(.google.api.field_behavior) = OPTIONAL];`

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

### getTechnologyTypeBytes()

    public abstract ByteString getTechnologyTypeBytes()

Optional. The technology type of RedisConnection.

`string technology_type = 1 [(.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 technologyType. |

### getTrustStoreFile()

    public abstract String getTrustStoreFile()

Optional. The base64 encoded content of the TrustStore file.

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

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

### getTrustStoreFileBytes()

    public abstract ByteString getTrustStoreFileBytes()

Optional. The base64 encoded content of the TrustStore file.

`string trust_store_file = 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 trustStoreFile. |

### getTrustStorePassword()

    public abstract String getTrustStorePassword()

Optional. Input only. The TrustStore password in plain text.

`
string trust_store_password = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
`

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

### getTrustStorePasswordBytes()

    public abstract ByteString getTrustStorePasswordBytes()

Optional. Input only. The TrustStore password in plain text.

`
string trust_store_password = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
`

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

### getTrustStorePasswordOptionsCase()

    public abstract GoldengateRedisConnectionProperties.TrustStorePasswordOptionsCase getTrustStorePasswordOptionsCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties.TrustStorePasswordOptionsCase` |   |

### getTrustStorePasswordSecretVersion()

    public abstract String getTrustStorePasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret
Manager which contains the TrustStore password. Format:
projects/{project}/secrets/{secret}/versions/{version}.

`
string trust_store_password_secret_version = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }
`

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

### getTrustStorePasswordSecretVersionBytes()

    public abstract ByteString getTrustStorePasswordSecretVersionBytes()

Optional. Input only. The resource name of a secret version in Secret
Manager which contains the TrustStore password. Format:
projects/{project}/secrets/{secret}/versions/{version}.

`
string trust_store_password_secret_version = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }
`

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

### getUsername()

    public abstract String getUsername()

Optional. The username Oracle Goldengate uses to connect the associated
system of the given technology.

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

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

### getUsernameBytes()

    public abstract ByteString getUsernameBytes()

Optional. The username Oracle Goldengate uses to connect the associated
system of the given technology.

`string username = 5 [(.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 username. |

### hasKeyStorePassword()

    public abstract boolean hasKeyStorePassword()

Optional. Input only. The KeyStore password in plain text.

`
string key_store_password = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
`

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

### hasKeyStorePasswordSecretVersion()

    public abstract boolean hasKeyStorePasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret
Manager which contains the KeyStore password. Format:
projects/{project}/secrets/{secret}/versions/{version}.

`
string key_store_password_secret_version = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }
`

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

### hasPassword()

    public abstract boolean hasPassword()

Optional. Input only. The password Oracle Goldengate uses for Redis
connection in plain text.

`
string password = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
`

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

### hasPasswordSecretVersion()

    public abstract boolean hasPasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret
Manager which contains the password Oracle Goldengate uses for Redis
connection. Format:
projects/{project}/secrets/{secret}/versions/{version}.

`
string password_secret_version = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }
`

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

### hasTrustStorePassword()

    public abstract boolean hasTrustStorePassword()

Optional. Input only. The TrustStore password in plain text.

`
string trust_store_password = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
`

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

### hasTrustStorePasswordSecretVersion()

    public abstract boolean hasTrustStorePasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret
Manager which contains the TrustStore password. Format:
projects/{project}/secrets/{secret}/versions/{version}.

`
string trust_store_password_secret_version = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }
`

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