Class InputField.ChoiceInput.ChoiceInputOption (1.4.0)
public static final class InputField.ChoiceInput.ChoiceInputOption extends GeneratedMessageV3 implements InputField.ChoiceInput.ChoiceInputOptionOrBuilder
A choice that the business can select.
Protobuf type
google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOption
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ADDITIONAL_INPUT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int LABEL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static InputField.ChoiceInput.ChoiceInputOption getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static InputField.ChoiceInput.ChoiceInputOption.Builder newBuilder()
public static InputField.ChoiceInput.ChoiceInputOption.Builder newBuilder(InputField.ChoiceInput.ChoiceInputOption prototype)
public static InputField.ChoiceInput.ChoiceInputOption parseDelimitedFrom(InputStream input)
public static InputField.ChoiceInput.ChoiceInputOption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InputField.ChoiceInput.ChoiceInputOption parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static InputField.ChoiceInput.ChoiceInputOption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InputField.ChoiceInput.ChoiceInputOption parseFrom(ByteString data)
public static InputField.ChoiceInput.ChoiceInputOption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InputField.ChoiceInput.ChoiceInputOption parseFrom(CodedInputStream input)
public static InputField.ChoiceInput.ChoiceInputOption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InputField.ChoiceInput.ChoiceInputOption parseFrom(InputStream input)
public static InputField.ChoiceInput.ChoiceInputOption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InputField.ChoiceInput.ChoiceInputOption parseFrom(ByteBuffer data)
public static InputField.ChoiceInput.ChoiceInputOption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<InputField.ChoiceInput.ChoiceInputOption> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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.
|
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;
public InputField.ChoiceInput.ChoiceInputOption getDefaultInstanceForType()
Not for display but need to be sent back for the selected choice
option.
string id = 1;
Returns |
Type |
Description |
String |
The id.
|
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.
|
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;
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;
public Parser<InputField.ChoiceInput.ChoiceInputOption> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public InputField.ChoiceInput.ChoiceInputOption.Builder newBuilderForType()
protected InputField.ChoiceInput.ChoiceInputOption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public InputField.ChoiceInput.ChoiceInputOption.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]