public static final class InputField.ChoiceInput extends GeneratedMessage implements InputField.ChoiceInputOrBuilderChoice input allows the business to select one of the offered choices. Some choices may be linked to additional input fields that should be displayed under or next to the choice option. The value for the additional input field needs to be provided only when the specific choice is selected by the the business. For example, additional input field can be hidden or disabled until the business selects the specific choice.
Protobuf type google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > InputField.ChoiceInputImplements
InputField.ChoiceInputOrBuilderStatic Fields
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static InputField.ChoiceInput getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static InputField.ChoiceInput.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.Builder |
|
newBuilder(InputField.ChoiceInput prototype)
public static InputField.ChoiceInput.Builder newBuilder(InputField.ChoiceInput prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
InputField.ChoiceInput |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.Builder |
|
parseDelimitedFrom(InputStream input)
public static InputField.ChoiceInput parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InputField.ChoiceInput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static InputField.ChoiceInput parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InputField.ChoiceInput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static InputField.ChoiceInput parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InputField.ChoiceInput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static InputField.ChoiceInput parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InputField.ChoiceInput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static InputField.ChoiceInput parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InputField.ChoiceInput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static InputField.ChoiceInput parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InputField.ChoiceInput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<InputField.ChoiceInput> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ChoiceInput> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public InputField.ChoiceInput getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput |
|
getOptions(int index)
public 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 |
int |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOption |
|
getOptionsCount()
public 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 |
int |
|
getOptionsList()
public 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 |
List<ChoiceInputOption> |
|
getOptionsOrBuilder(int index)
public 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 |
int |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.ChoiceInputOptionOrBuilder |
|
getOptionsOrBuilderList()
public 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 |
List<? extends com.google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput.ChoiceInputOptionOrBuilder> |
|
getParserForType()
public Parser<InputField.ChoiceInput> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ChoiceInput> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public InputField.ChoiceInput.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected InputField.ChoiceInput.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.Builder |
|
toBuilder()
public InputField.ChoiceInput.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
InputField.ChoiceInput.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|