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

## Implements

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

## Methods

### getLookerQuery()

    public abstract LookerQuery getLookerQuery()

Optional. The Looker Query corresponding to the natural language questions.

`
.google.cloud.geminidataanalytics.v1.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1.LookerQuery` | The lookerQuery. |

### getLookerQueryOrBuilder()

    public abstract LookerQueryOrBuilder getLookerQueryOrBuilder()

Optional. The Looker Query corresponding to the natural language questions.

`
.google.cloud.geminidataanalytics.v1.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getNaturalLanguageQuestions(int index)

    public abstract String getNaturalLanguageQuestions(int index)

Optional. Natural language questions that a user might ask.
For example: "How many orders were placed last month?"

`repeated string natural_language_questions = 4 [(.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.oracle.com/javase/8/docs/api/java/lang/String.html` | The naturalLanguageQuestions at the given index. |

### getNaturalLanguageQuestionsBytes(int index)

    public abstract ByteString getNaturalLanguageQuestionsBytes(int index)

Optional. Natural language questions that a user might ask.
For example: "How many orders were placed last month?"

`repeated string natural_language_questions = 4 [(.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://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the naturalLanguageQuestions at the given index. |

### getNaturalLanguageQuestionsCount()

    public abstract int getNaturalLanguageQuestionsCount()

Optional. Natural language questions that a user might ask.
For example: "How many orders were placed last month?"

`repeated string natural_language_questions = 4 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getNaturalLanguageQuestionsList()

    public abstract List<String> getNaturalLanguageQuestionsList()

Optional. Natural language questions that a user might ask.
For example: "How many orders were placed last month?"

`repeated string natural_language_questions = 4 [(.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/String.html>` | A list containing the naturalLanguageQuestions. |

### hasLookerQuery()

    public abstract boolean hasLookerQuery()

Optional. The Looker Query corresponding to the natural language questions.

`
.google.cloud.geminidataanalytics.v1.LookerQuery looker_query = 5 [(.google.api.field_behavior) = OPTIONAL];
`

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