Class InputValue.CheckboxInputValue.Builder (1.11.0)

public static final class InputValue.CheckboxInputValue.Builder extends GeneratedMessage.Builder<InputValue.CheckboxInputValue.Builder> implements InputValue.CheckboxInputValueOrBuilder

Value for checkbox input field.

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

Static Methods

getDescriptor()

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

Methods

build()

public InputValue.CheckboxInputValue build()
Returns
Type Description
InputValue.CheckboxInputValue

buildPartial()

public InputValue.CheckboxInputValue buildPartial()
Returns
Type Description
InputValue.CheckboxInputValue

clear()

public InputValue.CheckboxInputValue.Builder clear()
Returns
Type Description
InputValue.CheckboxInputValue.Builder
Overrides

clearValue()

public InputValue.CheckboxInputValue.Builder clearValue()

Required. True if the business checked the box field. False otherwise.

bool value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InputValue.CheckboxInputValue.Builder

This builder for chaining.

getDefaultInstanceForType()

public InputValue.CheckboxInputValue getDefaultInstanceForType()
Returns
Type Description
InputValue.CheckboxInputValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getValue()

public boolean getValue()

Required. True if the business checked the box field. False otherwise.

bool value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The value.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InputValue.CheckboxInputValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputValue.CheckboxInputValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InputValue.CheckboxInputValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InputValue.CheckboxInputValue.Builder
Overrides

mergeFrom(InputValue.CheckboxInputValue other)

public InputValue.CheckboxInputValue.Builder mergeFrom(InputValue.CheckboxInputValue other)
Parameter
Name Description
other InputValue.CheckboxInputValue
Returns
Type Description
InputValue.CheckboxInputValue.Builder

setValue(boolean value)

public InputValue.CheckboxInputValue.Builder setValue(boolean value)

Required. True if the business checked the box field. False otherwise.

bool value = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value boolean

The value to set.

Returns
Type Description
InputValue.CheckboxInputValue.Builder

This builder for chaining.