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

## Implements

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

## Methods

### getClarificationQuestionType() (deprecated)

    public abstract ClarificationQuestion.ClarificationQuestionType getClarificationQuestionType()

**Deprecated.** *google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.clarification_question_type
is deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=908*

Optional. Deprecated: The parent message is deprecated.
The type of clarification question.

`
.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.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.ClarificationQuestion.ClarificationQuestionType` | The clarificationQuestionType. |

### getClarificationQuestionTypeValue() (deprecated)

    public abstract int getClarificationQuestionTypeValue()

**Deprecated.** *google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.clarification_question_type
is deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=908*

Optional. Deprecated: The parent message is deprecated.
The type of clarification question.

`
.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
`

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

### getOptions(int index) (deprecated)

    public abstract String getOptions(int index)

**Deprecated.** *google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903*

Required. Deprecated: The parent message is deprecated.
A list of distinct options for the user to choose from.
The number of options is limited to a maximum of 5.

`repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
`

| **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 options at the given index. |

### getOptionsBytes(int index) (deprecated)

    public abstract ByteString getOptionsBytes(int index)

**Deprecated.** *google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903*

Required. Deprecated: The parent message is deprecated.
A list of distinct options for the user to choose from.
The number of options is limited to a maximum of 5.

`repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
`

| **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 options at the given index. |

### getOptionsCount() (deprecated)

    public abstract int getOptionsCount()

**Deprecated.** *google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903*

Required. Deprecated: The parent message is deprecated.
A list of distinct options for the user to choose from.
The number of options is limited to a maximum of 5.

`repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
`

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

### getOptionsList() (deprecated)

    public abstract List<String> getOptionsList()

**Deprecated.** *google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.options is
deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=903*

Required. Deprecated: The parent message is deprecated.
A list of distinct options for the user to choose from.
The number of options is limited to a maximum of 5.

`repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
`

| **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 options. |

### getQuestion() (deprecated)

    public abstract String getQuestion()

**Deprecated.** *google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.question is
deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=892*

Required. Deprecated: The parent message is deprecated.
The natural language question to ask the user.

`string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];`

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

### getQuestionBytes() (deprecated)

    public abstract ByteString getQuestionBytes()

**Deprecated.** *google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.question is
deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=892*

Required. Deprecated: The parent message is deprecated.
The natural language question to ask the user.

`string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];`

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

### getSelectionMode() (deprecated)

    public abstract ClarificationQuestion.SelectionMode getSelectionMode()

**Deprecated.** *google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.selection_mode is
deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=897*

Required. Deprecated: The parent message is deprecated.
The selection mode for this question.

`
.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.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.ClarificationQuestion.SelectionMode` | The selectionMode. |

### getSelectionModeValue() (deprecated)

    public abstract int getSelectionModeValue()

**Deprecated.** *google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.selection_mode is
deprecated. See google/cloud/geminidataanalytics/v1beta/data_chat_service.proto;l=897*

Required. Deprecated: The parent message is deprecated.
The selection mode for this question.

`
.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
`

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