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

## Implements

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

## Methods

### getCheckboxInput()

    public abstract InputField.CheckboxInput getCheckboxInput()

Input field to provide a boolean value.
Corresponds to the [html input
type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox).

`
.google.shopping.merchant.issueresolution.v1beta.InputField.CheckboxInput checkbox_input = 6;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.InputField.CheckboxInput` | The checkboxInput. |

### getCheckboxInputOrBuilder()

    public abstract InputField.CheckboxInputOrBuilder getCheckboxInputOrBuilder()

Input field to provide a boolean value.
Corresponds to the [html input
type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox).

`
.google.shopping.merchant.issueresolution.v1beta.InputField.CheckboxInput checkbox_input = 6;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.InputField.CheckboxInputOrBuilder` |   |

### getChoiceInput()

    public abstract InputField.ChoiceInput getChoiceInput()

Input field to select one of the offered choices.
Corresponds to the [html input
type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio).

`.google.shopping.merchant.issueresolution.v1beta.InputField.ChoiceInput choice_input = 5;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.InputField.ChoiceInput` | The choiceInput. |

### getChoiceInputOrBuilder()

    public abstract InputField.ChoiceInputOrBuilder getChoiceInputOrBuilder()

Input field to select one of the offered choices.
Corresponds to the [html input
type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio).

`.google.shopping.merchant.issueresolution.v1beta.InputField.ChoiceInput choice_input = 5;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.InputField.ChoiceInputOrBuilder` |   |

### getId()

    public abstract String getId()

Not for display but need to be sent back for the given input field.

`string id = 1;`

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

### getIdBytes()

    public abstract ByteString getIdBytes()

Not for display but need to be sent back for the given input field.

`string id = 1;`

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

### getLabel()

    public abstract TextWithTooltip getLabel()

Input field label. There may be more information to be shown in a tooltip.

`.google.shopping.merchant.issueresolution.v1beta.TextWithTooltip label = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.TextWithTooltip` | The label. |

### getLabelOrBuilder()

    public abstract TextWithTooltipOrBuilder getLabelOrBuilder()

Input field label. There may be more information to be shown in a tooltip.

`.google.shopping.merchant.issueresolution.v1beta.TextWithTooltip label = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.TextWithTooltipOrBuilder` |   |

### getRequired()

    public abstract boolean getRequired()

Whether the field is required. The action button needs to stay disabled
till values for all required fields are provided.

`bool required = 3;`

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

### getTextInput()

    public abstract InputField.TextInput getTextInput()

Input field to provide text information.
Corresponds to the [html input
type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text)
or [html
textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea).

`.google.shopping.merchant.issueresolution.v1beta.InputField.TextInput text_input = 4;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.InputField.TextInput` | The textInput. |

### getTextInputOrBuilder()

    public abstract InputField.TextInputOrBuilder getTextInputOrBuilder()

Input field to provide text information.
Corresponds to the [html input
type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text)
or [html
textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea).

`.google.shopping.merchant.issueresolution.v1beta.InputField.TextInput text_input = 4;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.InputField.TextInputOrBuilder` |   |

### getValueInputCase()

    public abstract InputField.ValueInputCase getValueInputCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.InputField.ValueInputCase` |   |

### hasCheckboxInput()

    public abstract boolean hasCheckboxInput()

Input field to provide a boolean value.
Corresponds to the [html input
type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox).

`
.google.shopping.merchant.issueresolution.v1beta.InputField.CheckboxInput checkbox_input = 6;
`

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

### hasChoiceInput()

    public abstract boolean hasChoiceInput()

Input field to select one of the offered choices.
Corresponds to the [html input
type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio).

`.google.shopping.merchant.issueresolution.v1beta.InputField.ChoiceInput choice_input = 5;
`

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

### hasLabel()

    public abstract boolean hasLabel()

Input field label. There may be more information to be shown in a tooltip.

`.google.shopping.merchant.issueresolution.v1beta.TextWithTooltip label = 2;`

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

### hasTextInput()

    public abstract boolean hasTextInput()

Input field to provide text information.
Corresponds to the [html input
type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text)
or [html
textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea).

`.google.shopping.merchant.issueresolution.v1beta.InputField.TextInput text_input = 4;
`

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