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

## Implements

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

## Methods

### getError()

    public abstract TestConnectionAssignmentError getError()

Error details if test connection failed.

`.google.cloud.oracledatabase.v1.TestConnectionAssignmentError error = 2;`

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

### getErrorOrBuilder()

    public abstract TestConnectionAssignmentErrorOrBuilder getErrorOrBuilder()

Error details if test connection failed.

`.google.cloud.oracledatabase.v1.TestConnectionAssignmentError error = 2;`

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

### getErrors(int index)

    public abstract TestConnectionAssignmentError getErrors(int index)

List of test connection assignment error objects.

`repeated .google.cloud.oracledatabase.v1.TestConnectionAssignmentError errors = 3;`

| **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.TestConnectionAssignmentError` |   |

### getErrorsCount()

    public abstract int getErrorsCount()

List of test connection assignment error objects.

`repeated .google.cloud.oracledatabase.v1.TestConnectionAssignmentError errors = 3;`

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

### getErrorsList()

    public abstract List<TestConnectionAssignmentError> getErrorsList()

List of test connection assignment error objects.

`repeated .google.cloud.oracledatabase.v1.TestConnectionAssignmentError errors = 3;`

| **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.TestConnectionAssignmentError>` |   |

### getErrorsOrBuilder(int index)

    public abstract TestConnectionAssignmentErrorOrBuilder getErrorsOrBuilder(int index)

List of test connection assignment error objects.

`repeated .google.cloud.oracledatabase.v1.TestConnectionAssignmentError errors = 3;`

| **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.TestConnectionAssignmentErrorOrBuilder` |   |

### getErrorsOrBuilderList()

    public abstract List<? extends TestConnectionAssignmentErrorOrBuilder> getErrorsOrBuilderList()

List of test connection assignment error objects.

`repeated .google.cloud.oracledatabase.v1.TestConnectionAssignmentError errors = 3;`

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

### getResultType()

    public abstract TestGoldengateConnectionAssignmentResponse.ResultType getResultType()

Type of the result i.e. Success, Failure or Timeout.

`
.google.cloud.oracledatabase.v1.TestGoldengateConnectionAssignmentResponse.ResultType result_type = 1;
`

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

### getResultTypeValue()

    public abstract int getResultTypeValue()

Type of the result i.e. Success, Failure or Timeout.

`
.google.cloud.oracledatabase.v1.TestGoldengateConnectionAssignmentResponse.ResultType result_type = 1;
`

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

### hasError()

    public abstract boolean hasError()

Error details if test connection failed.

`.google.cloud.oracledatabase.v1.TestConnectionAssignmentError error = 2;`

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