Class InputValue (0.2.0)

public final class InputValue extends GeneratedMessageV3 implements InputValueOrBuilder

Input provided by the business for input field.

Protobuf type google.shopping.merchant.issueresolution.v1beta.InputValue

Implements

InputValueOrBuilder

Static Fields

CHECKBOX_INPUT_VALUE_FIELD_NUMBER

public static final int CHECKBOX_INPUT_VALUE_FIELD_NUMBER
Field Value
Type Description
int

CHOICE_INPUT_VALUE_FIELD_NUMBER

public static final int CHOICE_INPUT_VALUE_FIELD_NUMBER
Field Value
Type Description
int

INPUT_FIELD_ID_FIELD_NUMBER

public static final int INPUT_FIELD_ID_FIELD_NUMBER
Field Value
Type Description
int

TEXT_INPUT_VALUE_FIELD_NUMBER

public static final int TEXT_INPUT_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InputValue getDefaultInstance()
Returns
Type Description
InputValue

getDescriptor()

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

newBuilder()

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

newBuilder(InputValue prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCheckboxInputValue()

public InputValue.CheckboxInputValue getCheckboxInputValue()

Value for checkbox input field.

.google.shopping.merchant.issueresolution.v1beta.InputValue.CheckboxInputValue checkbox_input_value = 4;

Returns
Type Description
InputValue.CheckboxInputValue

The checkboxInputValue.

getCheckboxInputValueOrBuilder()

public InputValue.CheckboxInputValueOrBuilder getCheckboxInputValueOrBuilder()

Value for checkbox input field.

.google.shopping.merchant.issueresolution.v1beta.InputValue.CheckboxInputValue checkbox_input_value = 4;

Returns
Type Description
InputValue.CheckboxInputValueOrBuilder

getChoiceInputValue()

public InputValue.ChoiceInputValue getChoiceInputValue()

Value for choice input field.

.google.shopping.merchant.issueresolution.v1beta.InputValue.ChoiceInputValue choice_input_value = 3;

Returns
Type Description
InputValue.ChoiceInputValue

The choiceInputValue.

getChoiceInputValueOrBuilder()

public InputValue.ChoiceInputValueOrBuilder getChoiceInputValueOrBuilder()

Value for choice input field.

.google.shopping.merchant.issueresolution.v1beta.InputValue.ChoiceInputValue choice_input_value = 3;

Returns
Type Description
InputValue.ChoiceInputValueOrBuilder

getDefaultInstanceForType()

public InputValue getDefaultInstanceForType()
Returns
Type Description
InputValue

getInputFieldId()

public String getInputFieldId()

Required. Id of the corresponding input field.

string input_field_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The inputFieldId.

getInputFieldIdBytes()

public ByteString getInputFieldIdBytes()

Required. Id of the corresponding input field.

string input_field_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for inputFieldId.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTextInputValue()

public InputValue.TextInputValue getTextInputValue()

Value for text input field.

.google.shopping.merchant.issueresolution.v1beta.InputValue.TextInputValue text_input_value = 2;

Returns
Type Description
InputValue.TextInputValue

The textInputValue.

getTextInputValueOrBuilder()

public InputValue.TextInputValueOrBuilder getTextInputValueOrBuilder()

Value for text input field.

.google.shopping.merchant.issueresolution.v1beta.InputValue.TextInputValue text_input_value = 2;

Returns
Type Description
InputValue.TextInputValueOrBuilder

getValueCase()

public InputValue.ValueCase getValueCase()
Returns
Type Description
InputValue.ValueCase

hasCheckboxInputValue()

public boolean hasCheckboxInputValue()

Value for checkbox input field.

.google.shopping.merchant.issueresolution.v1beta.InputValue.CheckboxInputValue checkbox_input_value = 4;

Returns
Type Description
boolean

Whether the checkboxInputValue field is set.

hasChoiceInputValue()

public boolean hasChoiceInputValue()

Value for choice input field.

.google.shopping.merchant.issueresolution.v1beta.InputValue.ChoiceInputValue choice_input_value = 3;

Returns
Type Description
boolean

Whether the choiceInputValue field is set.

hasTextInputValue()

public boolean hasTextInputValue()

Value for text input field.

.google.shopping.merchant.issueresolution.v1beta.InputValue.TextInputValue text_input_value = 2;

Returns
Type Description
boolean

Whether the textInputValue 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 InputValue.Builder newBuilderForType()
Returns
Type Description
InputValue.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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