Class InputField.Builder (0.2.0)

public static final class InputField.Builder extends GeneratedMessageV3.Builder<InputField.Builder> implements InputFieldOrBuilder

Input field that needs to be available to the business. If the field is marked as required, then a value needs to be provided for a successful processing of the request.

Protobuf type google.shopping.merchant.issueresolution.v1beta.InputField

Implements

InputFieldOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InputField.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InputField.Builder
Overrides

build()

public InputField build()
Returns
Type Description
InputField

buildPartial()

public InputField buildPartial()
Returns
Type Description
InputField

clear()

public InputField.Builder clear()
Returns
Type Description
InputField.Builder
Overrides

clearCheckboxInput()

public InputField.Builder clearCheckboxInput()

Input field to provide a boolean value. Corresponds to the html input type=checkbox.

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

Returns
Type Description
InputField.Builder

clearChoiceInput()

public InputField.Builder clearChoiceInput()

Input field to select one of the offered choices. Corresponds to the html input type=radio.

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

Returns
Type Description
InputField.Builder

clearField(Descriptors.FieldDescriptor field)

public InputField.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InputField.Builder
Overrides

clearId()

public InputField.Builder clearId()

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

string id = 1;

Returns
Type Description
InputField.Builder

This builder for chaining.

clearLabel()

public InputField.Builder clearLabel()

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
InputField.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InputField.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InputField.Builder
Overrides

clearRequired()

public InputField.Builder clearRequired()

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
InputField.Builder

This builder for chaining.

clearTextInput()

public InputField.Builder clearTextInput()

Input field to provide text information. Corresponds to the html input type=text or html textarea.

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

Returns
Type Description
InputField.Builder

clearValueInput()

public InputField.Builder clearValueInput()
Returns
Type Description
InputField.Builder

clone()

public InputField.Builder clone()
Returns
Type Description
InputField.Builder
Overrides

getCheckboxInput()

public InputField.CheckboxInput getCheckboxInput()

Input field to provide a boolean value. Corresponds to the html input type=checkbox.

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

Returns
Type Description
InputField.CheckboxInput

The checkboxInput.

getCheckboxInputBuilder()

public InputField.CheckboxInput.Builder getCheckboxInputBuilder()

Input field to provide a boolean value. Corresponds to the html input type=checkbox.

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

Returns
Type Description
InputField.CheckboxInput.Builder

getCheckboxInputOrBuilder()

public InputField.CheckboxInputOrBuilder getCheckboxInputOrBuilder()

Input field to provide a boolean value. Corresponds to the html input type=checkbox.

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

Returns
Type Description
InputField.CheckboxInputOrBuilder

getChoiceInput()

public InputField.ChoiceInput getChoiceInput()

Input field to select one of the offered choices. Corresponds to the html input type=radio.

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

Returns
Type Description
InputField.ChoiceInput

The choiceInput.

getChoiceInputBuilder()

public InputField.ChoiceInput.Builder getChoiceInputBuilder()

Input field to select one of the offered choices. Corresponds to the html input type=radio.

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

Returns
Type Description
InputField.ChoiceInput.Builder

getChoiceInputOrBuilder()

public InputField.ChoiceInputOrBuilder getChoiceInputOrBuilder()

Input field to select one of the offered choices. Corresponds to the html input type=radio.

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

Returns
Type Description
InputField.ChoiceInputOrBuilder

getDefaultInstanceForType()

public InputField getDefaultInstanceForType()
Returns
Type Description
InputField

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getId()

public String getId()

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

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

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

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getLabel()

public 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
TextWithTooltip

The label.

getLabelBuilder()

public TextWithTooltip.Builder getLabelBuilder()

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
TextWithTooltip.Builder

getLabelOrBuilder()

public 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
TextWithTooltipOrBuilder

getRequired()

public 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
boolean

The required.

getTextInput()

public InputField.TextInput getTextInput()

Input field to provide text information. Corresponds to the html input type=text or html textarea.

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

Returns
Type Description
InputField.TextInput

The textInput.

getTextInputBuilder()

public InputField.TextInput.Builder getTextInputBuilder()

Input field to provide text information. Corresponds to the html input type=text or html textarea.

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

Returns
Type Description
InputField.TextInput.Builder

getTextInputOrBuilder()

public InputField.TextInputOrBuilder getTextInputOrBuilder()

Input field to provide text information. Corresponds to the html input type=text or html textarea.

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

Returns
Type Description
InputField.TextInputOrBuilder

getValueInputCase()

public InputField.ValueInputCase getValueInputCase()
Returns
Type Description
InputField.ValueInputCase

hasCheckboxInput()

public boolean hasCheckboxInput()

Input field to provide a boolean value. Corresponds to the html input type=checkbox.

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

Returns
Type Description
boolean

Whether the checkboxInput field is set.

hasChoiceInput()

public boolean hasChoiceInput()

Input field to select one of the offered choices. Corresponds to the html input type=radio.

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

Returns
Type Description
boolean

Whether the choiceInput field is set.

hasLabel()

public 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
boolean

Whether the label field is set.

hasTextInput()

public boolean hasTextInput()

Input field to provide text information. Corresponds to the html input type=text or html textarea.

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

Returns
Type Description
boolean

Whether the textInput field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCheckboxInput(InputField.CheckboxInput value)

public InputField.Builder mergeCheckboxInput(InputField.CheckboxInput value)

Input field to provide a boolean value. Corresponds to the html input type=checkbox.

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

Parameter
Name Description
value InputField.CheckboxInput
Returns
Type Description
InputField.Builder

mergeChoiceInput(InputField.ChoiceInput value)

public InputField.Builder mergeChoiceInput(InputField.ChoiceInput value)

Input field to select one of the offered choices. Corresponds to the html input type=radio.

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

Parameter
Name Description
value InputField.ChoiceInput
Returns
Type Description
InputField.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InputField.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputField.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InputField.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InputField.Builder
Overrides

mergeFrom(InputField other)

public InputField.Builder mergeFrom(InputField other)
Parameter
Name Description
other InputField
Returns
Type Description
InputField.Builder

mergeLabel(TextWithTooltip value)

public InputField.Builder mergeLabel(TextWithTooltip value)

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

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

Parameter
Name Description
value TextWithTooltip
Returns
Type Description
InputField.Builder

mergeTextInput(InputField.TextInput value)

public InputField.Builder mergeTextInput(InputField.TextInput value)

Input field to provide text information. Corresponds to the html input type=text or html textarea.

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

Parameter
Name Description
value InputField.TextInput
Returns
Type Description
InputField.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InputField.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InputField.Builder
Overrides

setCheckboxInput(InputField.CheckboxInput value)

public InputField.Builder setCheckboxInput(InputField.CheckboxInput value)

Input field to provide a boolean value. Corresponds to the html input type=checkbox.

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

Parameter
Name Description
value InputField.CheckboxInput
Returns
Type Description
InputField.Builder

setCheckboxInput(InputField.CheckboxInput.Builder builderForValue)

public InputField.Builder setCheckboxInput(InputField.CheckboxInput.Builder builderForValue)

Input field to provide a boolean value. Corresponds to the html input type=checkbox.

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

Parameter
Name Description
builderForValue InputField.CheckboxInput.Builder
Returns
Type Description
InputField.Builder

setChoiceInput(InputField.ChoiceInput value)

public InputField.Builder setChoiceInput(InputField.ChoiceInput value)

Input field to select one of the offered choices. Corresponds to the html input type=radio.

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

Parameter
Name Description
value InputField.ChoiceInput
Returns
Type Description
InputField.Builder

setChoiceInput(InputField.ChoiceInput.Builder builderForValue)

public InputField.Builder setChoiceInput(InputField.ChoiceInput.Builder builderForValue)

Input field to select one of the offered choices. Corresponds to the html input type=radio.

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

Parameter
Name Description
builderForValue InputField.ChoiceInput.Builder
Returns
Type Description
InputField.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InputField.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InputField.Builder
Overrides

setId(String value)

public InputField.Builder setId(String value)

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

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
InputField.Builder

This builder for chaining.

setIdBytes(ByteString value)

public InputField.Builder setIdBytes(ByteString value)

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

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
InputField.Builder

This builder for chaining.

setLabel(TextWithTooltip value)

public InputField.Builder setLabel(TextWithTooltip value)

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

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

Parameter
Name Description
value TextWithTooltip
Returns
Type Description
InputField.Builder

setLabel(TextWithTooltip.Builder builderForValue)

public InputField.Builder setLabel(TextWithTooltip.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue TextWithTooltip.Builder
Returns
Type Description
InputField.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InputField.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InputField.Builder
Overrides

setRequired(boolean value)

public InputField.Builder setRequired(boolean value)

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

bool required = 3;

Parameter
Name Description
value boolean

The required to set.

Returns
Type Description
InputField.Builder

This builder for chaining.

setTextInput(InputField.TextInput value)

public InputField.Builder setTextInput(InputField.TextInput value)

Input field to provide text information. Corresponds to the html input type=text or html textarea.

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

Parameter
Name Description
value InputField.TextInput
Returns
Type Description
InputField.Builder

setTextInput(InputField.TextInput.Builder builderForValue)

public InputField.Builder setTextInput(InputField.TextInput.Builder builderForValue)

Input field to provide text information. Corresponds to the html input type=text or html textarea.

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

Parameter
Name Description
builderForValue InputField.TextInput.Builder
Returns
Type Description
InputField.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final InputField.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InputField.Builder
Overrides