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

## Implements

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

## Methods

### getAlias()

    public abstract String getAlias()

Output only. Credential store alias.

`string alias = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getAliasBytes()

    public abstract ByteString getAliasBytes()

Output only. Credential store alias.

`string alias = 4 [(.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 alias. |

### getGoldengateConnection()

    public abstract String getGoldengateConnection()

Required. The GoldengateConnection resource to be assigned.
Format:
projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}

`
string goldengate_connection = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getGoldengateConnectionBytes()

    public abstract ByteString getGoldengateConnectionBytes()

Required. The GoldengateConnection resource to be assigned.
Format:
projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}

`
string goldengate_connection = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getGoldengateDeployment()

    public abstract String getGoldengateDeployment()

Required. The GoldenGateDeployment to assign the connection to.
Format:
projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

`
string goldengate_deployment = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getGoldengateDeploymentBytes()

    public abstract ByteString getGoldengateDeploymentBytes()

Required. The GoldenGateDeployment to assign the connection to.
Format:
projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}

`
string goldengate_deployment = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getOcid()

    public abstract String getOcid()

Output only. The
[OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
of the connection assignment being referenced.

`string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getOcidBytes()

    public abstract ByteString getOcidBytes()

Output only. The
[OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
of the connection assignment being referenced.

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

### getState()

    public abstract GoldengateConnectionAssignmentProperties.State getState()

Output only. The lifecycle state of the connection assignment.

`
.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties.State state = 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.GoldengateConnectionAssignmentProperties.State` | The state. |

### getStateValue()

    public abstract int getStateValue()

Output only. The lifecycle state of the connection assignment.

`
.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties.State state = 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 state. |