public static final class InputField.ChoiceInput.ChoiceInputOption.Builder extends GeneratedMessage.Builder<InputField.ChoiceInput.ChoiceInputOption.Builder> implements InputField.ChoiceInput.ChoiceInputOptionOrBuilderA choice that the business can select.
Protobuf type
google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOption
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InputField.ChoiceInput.ChoiceInputOption.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InputField.ChoiceInput.ChoiceInputOption build()| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption |
|
buildPartial()
public InputField.ChoiceInput.ChoiceInputOption buildPartial()| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption |
|
clear()
public InputField.ChoiceInput.ChoiceInputOption.Builder clear()| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
|
clearAdditionalInput()
public InputField.ChoiceInput.ChoiceInputOption.Builder clearAdditionalInput() Input that should be displayed when this option is selected.
The additional input will not contain a ChoiceInput.
optional .google.shopping.merchant.issueresolution.v1.InputField additional_input = 3;
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
|
clearId()
public InputField.ChoiceInput.ChoiceInputOption.Builder clearId()Not for display but need to be sent back for the selected choice option.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
This builder for chaining. |
clearLabel()
public InputField.ChoiceInput.ChoiceInputOption.Builder clearLabel()Short description of the choice option. There may be more information to be shown as a tooltip.
.google.shopping.merchant.issueresolution.v1.TextWithTooltip label = 2;
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
|
getAdditionalInput()
public InputField getAdditionalInput() Input that should be displayed when this option is selected.
The additional input will not contain a ChoiceInput.
optional .google.shopping.merchant.issueresolution.v1.InputField additional_input = 3;
| Returns | |
|---|---|
| Type | Description |
InputField |
The additionalInput. |
getAdditionalInputBuilder()
public InputField.Builder getAdditionalInputBuilder() Input that should be displayed when this option is selected.
The additional input will not contain a ChoiceInput.
optional .google.shopping.merchant.issueresolution.v1.InputField additional_input = 3;
| Returns | |
|---|---|
| Type | Description |
InputField.Builder |
|
getAdditionalInputOrBuilder()
public InputFieldOrBuilder getAdditionalInputOrBuilder() Input that should be displayed when this option is selected.
The additional input will not contain a ChoiceInput.
optional .google.shopping.merchant.issueresolution.v1.InputField additional_input = 3;
| Returns | |
|---|---|
| Type | Description |
InputFieldOrBuilder |
|
getDefaultInstanceForType()
public InputField.ChoiceInput.ChoiceInputOption getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public String getId()Not for display but need to be sent back for the selected choice option.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()Not for display but need to be sent back for the selected choice option.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getLabel()
public TextWithTooltip getLabel()Short description of the choice option. There may be more information to be shown as a tooltip.
.google.shopping.merchant.issueresolution.v1.TextWithTooltip label = 2;
| Returns | |
|---|---|
| Type | Description |
TextWithTooltip |
The label. |
getLabelBuilder()
public TextWithTooltip.Builder getLabelBuilder()Short description of the choice option. There may be more information to be shown as a tooltip.
.google.shopping.merchant.issueresolution.v1.TextWithTooltip label = 2;
| Returns | |
|---|---|
| Type | Description |
TextWithTooltip.Builder |
|
getLabelOrBuilder()
public TextWithTooltipOrBuilder getLabelOrBuilder()Short description of the choice option. There may be more information to be shown as a tooltip.
.google.shopping.merchant.issueresolution.v1.TextWithTooltip label = 2;
| Returns | |
|---|---|
| Type | Description |
TextWithTooltipOrBuilder |
|
hasAdditionalInput()
public boolean hasAdditionalInput() Input that should be displayed when this option is selected.
The additional input will not contain a ChoiceInput.
optional .google.shopping.merchant.issueresolution.v1.InputField additional_input = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the additionalInput field is set. |
hasLabel()
public boolean hasLabel()Short description of the choice option. There may be more information to be shown as a tooltip.
.google.shopping.merchant.issueresolution.v1.TextWithTooltip label = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the label field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAdditionalInput(InputField value)
public InputField.ChoiceInput.ChoiceInputOption.Builder mergeAdditionalInput(InputField value) Input that should be displayed when this option is selected.
The additional input will not contain a ChoiceInput.
optional .google.shopping.merchant.issueresolution.v1.InputField additional_input = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
InputField |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InputField.ChoiceInput.ChoiceInputOption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InputField.ChoiceInput.ChoiceInputOption.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
|
mergeFrom(InputField.ChoiceInput.ChoiceInputOption other)
public InputField.ChoiceInput.ChoiceInputOption.Builder mergeFrom(InputField.ChoiceInput.ChoiceInputOption other)| Parameter | |
|---|---|
| Name | Description |
other |
InputField.ChoiceInput.ChoiceInputOption |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
|
mergeLabel(TextWithTooltip value)
public InputField.ChoiceInput.ChoiceInputOption.Builder mergeLabel(TextWithTooltip value)Short description of the choice option. There may be more information to be shown as a tooltip.
.google.shopping.merchant.issueresolution.v1.TextWithTooltip label = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
TextWithTooltip |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
|
setAdditionalInput(InputField value)
public InputField.ChoiceInput.ChoiceInputOption.Builder setAdditionalInput(InputField value) Input that should be displayed when this option is selected.
The additional input will not contain a ChoiceInput.
optional .google.shopping.merchant.issueresolution.v1.InputField additional_input = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
InputField |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
|
setAdditionalInput(InputField.Builder builderForValue)
public InputField.ChoiceInput.ChoiceInputOption.Builder setAdditionalInput(InputField.Builder builderForValue) Input that should be displayed when this option is selected.
The additional input will not contain a ChoiceInput.
optional .google.shopping.merchant.issueresolution.v1.InputField additional_input = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InputField.Builder |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
|
setId(String value)
public InputField.ChoiceInput.ChoiceInputOption.Builder setId(String value)Not for display but need to be sent back for the selected choice option.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public InputField.ChoiceInput.ChoiceInputOption.Builder setIdBytes(ByteString value)Not for display but need to be sent back for the selected choice option.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
This builder for chaining. |
setLabel(TextWithTooltip value)
public InputField.ChoiceInput.ChoiceInputOption.Builder setLabel(TextWithTooltip value)Short description of the choice option. There may be more information to be shown as a tooltip.
.google.shopping.merchant.issueresolution.v1.TextWithTooltip label = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
TextWithTooltip |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
|
setLabel(TextWithTooltip.Builder builderForValue)
public InputField.ChoiceInput.ChoiceInputOption.Builder setLabel(TextWithTooltip.Builder builderForValue)Short description of the choice option. There may be more information to be shown as a tooltip.
.google.shopping.merchant.issueresolution.v1.TextWithTooltip label = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TextWithTooltip.Builder |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption.Builder |
|