Class InputField (0.2.0)

public final class InputField extends GeneratedMessageV3 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 Fields

CHECKBOX_INPUT_FIELD_NUMBER

public static final int CHECKBOX_INPUT_FIELD_NUMBER
Field Value
Type Description
int

CHOICE_INPUT_FIELD_NUMBER

public static final int CHOICE_INPUT_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

LABEL_FIELD_NUMBER

public static final int LABEL_FIELD_NUMBER
Field Value
Type Description
int

REQUIRED_FIELD_NUMBER

public static final int REQUIRED_FIELD_NUMBER
Field Value
Type Description
int

TEXT_INPUT_FIELD_NUMBER

public static final int TEXT_INPUT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InputField getDefaultInstance()
Returns
Type Description
InputField

getDescriptor()

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

newBuilder()

public static InputField.Builder newBuilder()
Returns
Type Description
InputField.Builder

newBuilder(InputField prototype)

public static InputField.Builder newBuilder(InputField prototype)
Parameter
Name Description
prototype InputField
Returns
Type Description
InputField.Builder

parseDelimitedFrom(InputStream input)

public static InputField parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InputField
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InputField parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputField
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InputField parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InputField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InputField parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InputField parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InputField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InputField parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InputField parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InputField
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InputField parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputField
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InputField parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InputField
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InputField parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputField
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InputField parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InputField
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InputField parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputField
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InputField> parser()
Returns
Type Description
Parser<InputField>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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

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.

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

getParserForType()

public Parser<InputField> getParserForType()
Returns
Type Description
Parser<InputField>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InputField.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InputField.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException