# Interface Context.SchemaRelationshipOrBuilder (0.21.0)

0.21.0 (latest) 0.19.0 0.16.0 0.15.0 0.13.0 0.11.0 0.10.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public static interface Context.SchemaRelationshipOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getConfidenceScore()

    public abstract float getConfidenceScore()

Optional. A confidence score for the suggested relationship.
Manually added edges have the highest confidence score.

`float confidence_score = 4 [(.google.api.field_behavior) = OPTIONAL];`

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

### getLeftSchemaPaths()

    public abstract Context.SchemaRelationship.SchemaPaths getLeftSchemaPaths()

An ordered list of fields for the join from the first table.
The size of this list must be the same as `right_schema_paths`.
Each field at index i in this list must correspond to a field at the same
index in the `right_schema_paths` list.

`
.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths left_schema_paths = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths` | The leftSchemaPaths. |

### getLeftSchemaPathsOrBuilder()

    public abstract Context.SchemaRelationship.SchemaPathsOrBuilder getLeftSchemaPathsOrBuilder()

An ordered list of fields for the join from the first table.
The size of this list must be the same as `right_schema_paths`.
Each field at index i in this list must correspond to a field at the same
index in the `right_schema_paths` list.

`
.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths left_schema_paths = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPathsOrBuilder` |   |

### getRightSchemaPaths()

    public abstract Context.SchemaRelationship.SchemaPaths getRightSchemaPaths()

An ordered list of fields for the join from the second table.
The size of this list must be the same as `left_schema_paths`.
Each field at index i in this list must correspond to a field at the same
index in the `left_schema_paths` list.

`
.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths right_schema_paths = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths` | The rightSchemaPaths. |

### getRightSchemaPathsOrBuilder()

    public abstract Context.SchemaRelationship.SchemaPathsOrBuilder getRightSchemaPathsOrBuilder()

An ordered list of fields for the join from the second table.
The size of this list must be the same as `left_schema_paths`.
Each field at index i in this list must correspond to a field at the same
index in the `left_schema_paths` list.

`
.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths right_schema_paths = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPathsOrBuilder` |   |

### getSources(int index)

    public abstract Context.SchemaRelationship.Source getSources(int index)

Optional. Sources which generated the schema relation edge.

`
repeated .google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.Source` | The sources at the given index. |

### getSourcesCount()

    public abstract int getSourcesCount()

Optional. Sources which generated the schema relation edge.

`
repeated .google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getSourcesList()

    public abstract List<Context.SchemaRelationship.Source> getSourcesList()

Optional. Sources which generated the schema relation edge.

`
repeated .google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.Source sources = 3 [(.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-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.Source>` | A list containing the sources. |

### getSourcesValue(int index)

    public abstract int getSourcesValue(int index)

Optional. Sources which generated the schema relation edge.

`
repeated .google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire of sources at the given index. |

### getSourcesValueList()

    public abstract List<Integer> getSourcesValueList()

Optional. Sources which generated the schema relation edge.

`
repeated .google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>` | A list containing the enum numeric values on the wire for sources. |

### hasLeftSchemaPaths()

    public abstract boolean hasLeftSchemaPaths()

An ordered list of fields for the join from the first table.
The size of this list must be the same as `right_schema_paths`.
Each field at index i in this list must correspond to a field at the same
index in the `right_schema_paths` list.

`
.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths left_schema_paths = 1;
`

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

### hasRightSchemaPaths()

    public abstract boolean hasRightSchemaPaths()

An ordered list of fields for the join from the second table.
The size of this list must be the same as `left_schema_paths`.
Each field at index i in this list must correspond to a field at the same
index in the `left_schema_paths` list.

`
.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths right_schema_paths = 2;
`

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