# Interface GoldengateKafkaConnectionPropertiesOrBuilder (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 GoldengateKafkaConnectionPropertiesOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getBootstrapServers(int index)

    public abstract KafkaBootstrapServer getBootstrapServers(int index)

Optional. Kafka bootstrap. Equivalent of bootstrap.servers configuration
property in Kafka: list of KafkaBootstrapServer objects specified by
host/port. Used for establishing the initial connection to the Kafka
cluster. Example: "server1.example.com:9092,server2.example.com:9092"

`
repeated .google.cloud.oracledatabase.v1.KafkaBootstrapServer bootstrap_servers = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getBootstrapServersCount()

    public abstract int getBootstrapServersCount()

Optional. Kafka bootstrap. Equivalent of bootstrap.servers configuration
property in Kafka: list of KafkaBootstrapServer objects specified by
host/port. Used for establishing the initial connection to the Kafka
cluster. Example: "server1.example.com:9092,server2.example.com:9092"

`
repeated .google.cloud.oracledatabase.v1.KafkaBootstrapServer bootstrap_servers = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getBootstrapServersList()

    public abstract List<KafkaBootstrapServer> getBootstrapServersList()

Optional. Kafka bootstrap. Equivalent of bootstrap.servers configuration
property in Kafka: list of KafkaBootstrapServer objects specified by
host/port. Used for establishing the initial connection to the Kafka
cluster. Example: "server1.example.com:9092,server2.example.com:9092"

`
repeated .google.cloud.oracledatabase.v1.KafkaBootstrapServer bootstrap_servers = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.KafkaBootstrapServer>` |   |

### getBootstrapServersOrBuilder(int index)

    public abstract KafkaBootstrapServerOrBuilder getBootstrapServersOrBuilder(int index)

Optional. Kafka bootstrap. Equivalent of bootstrap.servers configuration
property in Kafka: list of KafkaBootstrapServer objects specified by
host/port. Used for establishing the initial connection to the Kafka
cluster. Example: "server1.example.com:9092,server2.example.com:9092"

`
repeated .google.cloud.oracledatabase.v1.KafkaBootstrapServer bootstrap_servers = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getBootstrapServersOrBuilderList()

    public abstract List<? extends KafkaBootstrapServerOrBuilder> getBootstrapServersOrBuilderList()

Optional. Kafka bootstrap. Equivalent of bootstrap.servers configuration
property in Kafka: list of KafkaBootstrapServer objects specified by
host/port. Used for establishing the initial connection to the Kafka
cluster. Example: "server1.example.com:9092,server2.example.com:9092"

`
repeated .google.cloud.oracledatabase.v1.KafkaBootstrapServer bootstrap_servers = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.oracledatabase.v1.KafkaBootstrapServerOrBuilder>` |   |

### getClusterId()

    public abstract String getClusterId()

Optional. The OCID of the Kafka cluster being referenced from OCI Streaming
with Apache Kafka.

`string cluster_id = 3 [(.google.api.field_behavior) = OPTIONAL];`

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

### getClusterIdBytes()

    public abstract ByteString getClusterIdBytes()

Optional. The OCID of the Kafka cluster being referenced from OCI Streaming
with Apache Kafka.

`string cluster_id = 3 [(.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 clusterId. |

### getConnectionPasswordOptionsCase()

    public abstract GoldengateKafkaConnectionProperties.ConnectionPasswordOptionsCase getConnectionPasswordOptionsCase()

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

### getConsumerPropertiesFile()

    public abstract String getConsumerPropertiesFile()

Optional. The base64 encoded content of the consumer.properties file.

`string consumer_properties_file = 13 [(.google.api.field_behavior) = OPTIONAL];`

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

### getConsumerPropertiesFileBytes()

    public abstract ByteString getConsumerPropertiesFileBytes()

Optional. The base64 encoded content of the consumer.properties file.

`string consumer_properties_file = 13 [(.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 consumerPropertiesFile. |

### 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 = 18 [(.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 = 18 [(.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 GoldengateKafkaConnectionProperties.KeyStorePasswordOptionsCase getKeyStorePasswordOptionsCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.GoldengateKafkaConnectionProperties.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 = 22 [(.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 = 22 [(.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 for Kafka basic/SASL auth in plain
text.

`
string password = 16 [(.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 for Kafka basic/SASL auth in plain
text.

`
string password = 16 [(.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 for Kafka basic/SASL auth. Format:
projects/{project}/secrets/{secret}/versions/{version}.

`
string password_secret_version = 20 [(.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 for Kafka basic/SASL auth. Format:
projects/{project}/secrets/{secret}/versions/{version}.

`
string password_secret_version = 20 [(.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. |

### getProducerPropertiesFile()

    public abstract String getProducerPropertiesFile()

Optional. The base64 encoded content of the producer.properties file.

`string producer_properties_file = 14 [(.google.api.field_behavior) = OPTIONAL];`

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

### getProducerPropertiesFileBytes()

    public abstract ByteString getProducerPropertiesFileBytes()

Optional. The base64 encoded content of the producer.properties file.

`string producer_properties_file = 14 [(.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 producerPropertiesFile. |

### getSecurityProtocol()

    public abstract GoldengateKafkaConnectionProperties.KafkaSecurityProtocol getSecurityProtocol()

Optional. Security Type for Kafka.

`
.google.cloud.oracledatabase.v1.GoldengateKafkaConnectionProperties.KafkaSecurityProtocol security_protocol = 5 [(.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.GoldengateKafkaConnectionProperties.KafkaSecurityProtocol` | The securityProtocol. |

### getSecurityProtocolValue()

    public abstract int getSecurityProtocolValue()

Optional. Security Type for Kafka.

`
.google.cloud.oracledatabase.v1.GoldengateKafkaConnectionProperties.KafkaSecurityProtocol security_protocol = 5 [(.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. |

### getSslKeyPassword()

    public abstract String getSslKeyPassword()

Optional. Input only. The password for the cert inside of the KeyStore in
plain text.

`
string ssl_key_password = 19 [(.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 sslKeyPassword. |

### getSslKeyPasswordBytes()

    public abstract ByteString getSslKeyPasswordBytes()

Optional. Input only. The password for the cert inside of the KeyStore in
plain text.

`
string ssl_key_password = 19 [(.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 sslKeyPassword. |

### getSslKeyPasswordOptionsCase()

    public abstract GoldengateKafkaConnectionProperties.SslKeyPasswordOptionsCase getSslKeyPasswordOptionsCase()

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

### getSslKeyPasswordSecretVersion()

    public abstract String getSslKeyPasswordSecretVersion()

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

`
string ssl_key_password_secret_version = 23 [(.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 sslKeyPasswordSecretVersion. |

### getSslKeyPasswordSecretVersionBytes()

    public abstract ByteString getSslKeyPasswordSecretVersionBytes()

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

`
string ssl_key_password_secret_version = 23 [(.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 sslKeyPasswordSecretVersion. |

### getStreamPoolId()

    public abstract String getStreamPoolId()

Optional. The OCID of the stream pool being referenced.

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

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

### getStreamPoolIdBytes()

    public abstract ByteString getStreamPoolIdBytes()

Optional. The OCID of the stream pool being referenced.

`string stream_pool_id = 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 streamPoolId. |

### getTechnologyType()

    public abstract String getTechnologyType()

Optional. The technology type of KafkaConnection.

`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 KafkaConnection.

`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 = 17 [(.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 = 17 [(.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 GoldengateKafkaConnectionProperties.TrustStorePasswordOptionsCase getTrustStorePasswordOptionsCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.GoldengateKafkaConnectionProperties.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 = 21 [(.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 = 21 [(.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. |

### getUseResourcePrincipal()

    public abstract boolean getUseResourcePrincipal()

Optional. Specifies that the user intends to authenticate to the instance
using a resource principal. Applicable only for OCI Streaming connections.

`bool use_resource_principal = 15 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The useResourcePrincipal. |

### getUsername()

    public abstract String getUsername()

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

`string username = 6 [(.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 = 6 [(.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 = 18 [(.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 = 22 [(.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 for Kafka basic/SASL auth in plain
text.

`
string password = 16 [(.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 for Kafka basic/SASL auth. Format:
projects/{project}/secrets/{secret}/versions/{version}.

`
string password_secret_version = 20 [(.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. |

### hasSslKeyPassword()

    public abstract boolean hasSslKeyPassword()

Optional. Input only. The password for the cert inside of the KeyStore in
plain text.

`
string ssl_key_password = 19 [(.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 sslKeyPassword field is set. |

### hasSslKeyPasswordSecretVersion()

    public abstract boolean hasSslKeyPasswordSecretVersion()

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

`
string ssl_key_password_secret_version = 23 [(.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 sslKeyPasswordSecretVersion field is set. |

### hasTrustStorePassword()

    public abstract boolean hasTrustStorePassword()

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

`
string trust_store_password = 17 [(.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 = 21 [(.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. |