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

## Implements

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

## Methods

### getConsumerGroup()

    public abstract DatabaseConnectionStringProfile.ConsumerGroup getConsumerGroup()

Output only. The current consumer group being used by the connection.

`
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getConsumerGroupValue()

    public abstract int getConsumerGroupValue()

Output only. The current consumer group being used by the connection.

`
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getDisplayName()

    public abstract String getDisplayName()

Output only. The display name for the database connection.

`string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getDisplayNameBytes()

    public abstract ByteString getDisplayNameBytes()

Output only. The display name for the database connection.

`string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getHostFormat()

    public abstract DatabaseConnectionStringProfile.HostFormat getHostFormat()

Output only. The host name format being currently used in connection
string.

`
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getHostFormatValue()

    public abstract int getHostFormatValue()

Output only. The host name format being currently used in connection
string.

`
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getIsRegional()

    public abstract boolean getIsRegional()

Output only. This field indicates if the connection string is regional and
is only applicable for cross-region Data Guard.

`bool is_regional = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getProtocol()

    public abstract DatabaseConnectionStringProfile.Protocol getProtocol()

Output only. The protocol being used by the connection.

`
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getProtocolValue()

    public abstract int getProtocolValue()

Output only. The protocol being used by the connection.

`
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getSessionMode()

    public abstract DatabaseConnectionStringProfile.SessionMode getSessionMode()

Output only. The current session mode of the connection.

`
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getSessionModeValue()

    public abstract int getSessionModeValue()

Output only. The current session mode of the connection.

`
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getSyntaxFormat()

    public abstract DatabaseConnectionStringProfile.SyntaxFormat getSyntaxFormat()

Output only. The syntax of the connection string.

`
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getSyntaxFormatValue()

    public abstract int getSyntaxFormatValue()

Output only. The syntax of the connection string.

`
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getTlsAuthentication()

    public abstract DatabaseConnectionStringProfile.TLSAuthentication getTlsAuthentication()

Output only. This field indicates the TLS authentication type of the
connection.

`
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getTlsAuthenticationValue()

    public abstract int getTlsAuthenticationValue()

Output only. This field indicates the TLS authentication type of the
connection.

`
.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getValue()

    public abstract String getValue()

Output only. The value of the connection string.

`string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getValueBytes()

    public abstract ByteString getValueBytes()

Output only. The value of the connection string.

`string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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