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

## Implements

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

## Methods

### getAgentContextReference()

    public abstract AgentContextReference getAgentContextReference()

Optional. Parameters for retrieving data from Agent Context.

`
.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1beta.AgentContextReference` | The agentContextReference. |

### getAgentContextReferenceOrBuilder()

    public abstract AgentContextReferenceOrBuilder getAgentContextReferenceOrBuilder()

Optional. Parameters for retrieving data from Agent Context.

`
.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1beta.AgentContextReferenceOrBuilder` |   |

### getDatabaseReference()

    public abstract AlloyDbDatabaseReference getDatabaseReference()

Required. Singular proto that supports specifying which database and tables
to include.

`
.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference` | The databaseReference. |

### getDatabaseReferenceOrBuilder()

    public abstract AlloyDbDatabaseReferenceOrBuilder getDatabaseReferenceOrBuilder()

Required. Singular proto that supports specifying which database and tables
to include.

`
.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReferenceOrBuilder` |   |

### hasAgentContextReference()

    public abstract boolean hasAgentContextReference()

Optional. Parameters for retrieving data from Agent Context.

`
.google.cloud.geminidataanalytics.v1beta.AgentContextReference agent_context_reference = 3 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasDatabaseReference()

    public abstract boolean hasDatabaseReference()

Required. Singular proto that supports specifying which database and tables
to include.

`
.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReference database_reference = 1 [(.google.api.field_behavior) = REQUIRED];
`

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