# Interface InputField.ChoiceInputOrBuilder (1.21.0)

1.21.0 (latest) 1.19.0 1.16.0 1.15.0 1.13.0 1.11.0 1.10.0 1.9.0 1.8.0 1.6.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.10.0 0.8.0 0.7.0 0.4.0 0.3.0 0.2.0

    public static interface InputField.ChoiceInputOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getOptions(int index)

    public abstract InputField.ChoiceInput.ChoiceInputOption getOptions(int index)

A list of choices. Only one option can be selected.

`
repeated .google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOption options = 1;
`

| **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-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOption` |   |

### getOptionsCount()

    public abstract int getOptionsCount()

A list of choices. Only one option can be selected.

`
repeated .google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOption options = 1;
`

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

### getOptionsList()

    public abstract List<InputField.ChoiceInput.ChoiceInputOption> getOptionsList()

A list of choices. Only one option can be selected.

`
repeated .google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOption options = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOption>` |   |

### getOptionsOrBuilder(int index)

    public abstract InputField.ChoiceInput.ChoiceInputOptionOrBuilder getOptionsOrBuilder(int index)

A list of choices. Only one option can be selected.

`
repeated .google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOption options = 1;
`

| **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-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOptionOrBuilder` |   |

### getOptionsOrBuilderList()

    public abstract List<? extends InputField.ChoiceInput.ChoiceInputOptionOrBuilder> getOptionsOrBuilderList()

A list of choices. Only one option can be selected.

`
repeated .google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOption options = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOptionOrBuilder>` |   |