public static final class InputField.ChoiceInput.ChoiceInputOption.Builder extends GeneratedMessageV3.Builder<InputField.ChoiceInput.ChoiceInputOption.Builder> implements InputField.ChoiceInput.ChoiceInputOptionOrBuilder
A choice that the business can select.
Protobuf type
google.shopping.merchant.issueresolution.v1beta.InputField.ChoiceInput.ChoiceInputOption
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public InputField.ChoiceInput.ChoiceInputOption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InputField.ChoiceInput.ChoiceInputOption build()
public InputField.ChoiceInput.ChoiceInputOption buildPartial()
public InputField.ChoiceInput.ChoiceInputOption.Builder clear()
Overrides
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.v1beta.InputField additional_input = 3;
public InputField.ChoiceInput.ChoiceInputOption.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public InputField.ChoiceInput.ChoiceInputOption.Builder clearId()
Not for display but need to be sent back for the selected choice
option.
string id = 1;
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.v1beta.TextWithTooltip label = 2;
public InputField.ChoiceInput.ChoiceInputOption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public InputField.ChoiceInput.ChoiceInputOption.Builder clone()
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.v1beta.InputField additional_input = 3;
Returns |
Type |
Description |
InputField |
The additionalInput.
|
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.v1beta.InputField additional_input = 3;
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.v1beta.InputField additional_input = 3;
public InputField.ChoiceInput.ChoiceInputOption getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.v1beta.TextWithTooltip label = 2;
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.v1beta.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.v1beta.TextWithTooltip label = 2;
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.v1beta.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.v1beta.TextWithTooltip label = 2;
Returns |
Type |
Description |
boolean |
Whether the label field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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.v1beta.InputField additional_input = 3;
public InputField.ChoiceInput.ChoiceInputOption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public InputField.ChoiceInput.ChoiceInputOption.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public InputField.ChoiceInput.ChoiceInputOption.Builder mergeFrom(InputField.ChoiceInput.ChoiceInputOption other)
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.v1beta.TextWithTooltip label = 2;
public final InputField.ChoiceInput.ChoiceInputOption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.v1beta.InputField additional_input = 3;
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.v1beta.InputField additional_input = 3;
public InputField.ChoiceInput.ChoiceInputOption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The id to set.
|
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 |
ByteString
The bytes for id to set.
|
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.v1beta.TextWithTooltip label = 2;
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.v1beta.TextWithTooltip label = 2;
public InputField.ChoiceInput.ChoiceInputOption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final InputField.ChoiceInput.ChoiceInputOption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides