public static final class InputValue.Builder extends GeneratedMessageV3.Builder<InputValue.Builder> implements InputValueOrBuilder
Input provided by the business for input field.
Protobuf type google.shopping.merchant.issueresolution.v1beta.InputValue
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InputValue.BuilderImplements
InputValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InputValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
build()
public InputValue build()
Returns | |
---|---|
Type | Description |
InputValue |
buildPartial()
public InputValue buildPartial()
Returns | |
---|---|
Type | Description |
InputValue |
clear()
public InputValue.Builder clear()
Returns | |
---|---|
Type | Description |
InputValue.Builder |
clearCheckboxInputValue()
public InputValue.Builder clearCheckboxInputValue()
Value for checkbox input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.CheckboxInputValue checkbox_input_value = 4;
Returns | |
---|---|
Type | Description |
InputValue.Builder |
clearChoiceInputValue()
public InputValue.Builder clearChoiceInputValue()
Value for choice input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.ChoiceInputValue choice_input_value = 3;
Returns | |
---|---|
Type | Description |
InputValue.Builder |
clearField(Descriptors.FieldDescriptor field)
public InputValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
clearInputFieldId()
public InputValue.Builder clearInputFieldId()
Required. Id of the corresponding input field.
string input_field_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
InputValue.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InputValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
clearTextInputValue()
public InputValue.Builder clearTextInputValue()
Value for text input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.TextInputValue text_input_value = 2;
Returns | |
---|---|
Type | Description |
InputValue.Builder |
clearValue()
public InputValue.Builder clearValue()
Returns | |
---|---|
Type | Description |
InputValue.Builder |
clone()
public InputValue.Builder clone()
Returns | |
---|---|
Type | Description |
InputValue.Builder |
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. |
getCheckboxInputValueBuilder()
public InputValue.CheckboxInputValue.Builder getCheckboxInputValueBuilder()
Value for checkbox input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.CheckboxInputValue checkbox_input_value = 4;
Returns | |
---|---|
Type | Description |
InputValue.CheckboxInputValue.Builder |
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. |
getChoiceInputValueBuilder()
public InputValue.ChoiceInputValue.Builder getChoiceInputValueBuilder()
Value for choice input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.ChoiceInputValue choice_input_value = 3;
Returns | |
---|---|
Type | Description |
InputValue.ChoiceInputValue.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
getTextInputValueBuilder()
public InputValue.TextInputValue.Builder getTextInputValueBuilder()
Value for text input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.TextInputValue text_input_value = 2;
Returns | |
---|---|
Type | Description |
InputValue.TextInputValue.Builder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCheckboxInputValue(InputValue.CheckboxInputValue value)
public InputValue.Builder mergeCheckboxInputValue(InputValue.CheckboxInputValue value)
Value for checkbox input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.CheckboxInputValue checkbox_input_value = 4;
Parameter | |
---|---|
Name | Description |
value |
InputValue.CheckboxInputValue |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
mergeChoiceInputValue(InputValue.ChoiceInputValue value)
public InputValue.Builder mergeChoiceInputValue(InputValue.ChoiceInputValue value)
Value for choice input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.ChoiceInputValue choice_input_value = 3;
Parameter | |
---|---|
Name | Description |
value |
InputValue.ChoiceInputValue |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InputValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InputValue.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
mergeFrom(InputValue other)
public InputValue.Builder mergeFrom(InputValue other)
Parameter | |
---|---|
Name | Description |
other |
InputValue |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
mergeTextInputValue(InputValue.TextInputValue value)
public InputValue.Builder mergeTextInputValue(InputValue.TextInputValue value)
Value for text input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.TextInputValue text_input_value = 2;
Parameter | |
---|---|
Name | Description |
value |
InputValue.TextInputValue |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InputValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
setCheckboxInputValue(InputValue.CheckboxInputValue value)
public InputValue.Builder setCheckboxInputValue(InputValue.CheckboxInputValue value)
Value for checkbox input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.CheckboxInputValue checkbox_input_value = 4;
Parameter | |
---|---|
Name | Description |
value |
InputValue.CheckboxInputValue |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
setCheckboxInputValue(InputValue.CheckboxInputValue.Builder builderForValue)
public InputValue.Builder setCheckboxInputValue(InputValue.CheckboxInputValue.Builder builderForValue)
Value for checkbox input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.CheckboxInputValue checkbox_input_value = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
InputValue.CheckboxInputValue.Builder |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
setChoiceInputValue(InputValue.ChoiceInputValue value)
public InputValue.Builder setChoiceInputValue(InputValue.ChoiceInputValue value)
Value for choice input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.ChoiceInputValue choice_input_value = 3;
Parameter | |
---|---|
Name | Description |
value |
InputValue.ChoiceInputValue |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
setChoiceInputValue(InputValue.ChoiceInputValue.Builder builderForValue)
public InputValue.Builder setChoiceInputValue(InputValue.ChoiceInputValue.Builder builderForValue)
Value for choice input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.ChoiceInputValue choice_input_value = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
InputValue.ChoiceInputValue.Builder |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InputValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
setInputFieldId(String value)
public InputValue.Builder setInputFieldId(String value)
Required. Id of the corresponding input field.
string input_field_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The inputFieldId to set. |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
This builder for chaining. |
setInputFieldIdBytes(ByteString value)
public InputValue.Builder setInputFieldIdBytes(ByteString value)
Required. Id of the corresponding input field.
string input_field_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for inputFieldId to set. |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InputValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
setTextInputValue(InputValue.TextInputValue value)
public InputValue.Builder setTextInputValue(InputValue.TextInputValue value)
Value for text input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.TextInputValue text_input_value = 2;
Parameter | |
---|---|
Name | Description |
value |
InputValue.TextInputValue |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
setTextInputValue(InputValue.TextInputValue.Builder builderForValue)
public InputValue.Builder setTextInputValue(InputValue.TextInputValue.Builder builderForValue)
Value for text input field.
.google.shopping.merchant.issueresolution.v1beta.InputValue.TextInputValue text_input_value = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
InputValue.TextInputValue.Builder |
Returns | |
---|---|
Type | Description |
InputValue.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InputValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InputValue.Builder |