Class InputValue.TextInputValue.Builder (1.15.0)

public static final class InputValue.TextInputValue.Builder extends GeneratedMessage.Builder<InputValue.TextInputValue.Builder> implements InputValue.TextInputValueOrBuilder

Value for text input field.

Protobuf type google.shopping.merchant.issueresolution.v1.InputValue.TextInputValue

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearValue()

public InputValue.TextInputValue.Builder clearValue()

Required. Text provided by the business.

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

Returns
Type Description
InputValue.TextInputValue.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getValue()

public String getValue()

Required. Text provided by the business.

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

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

Required. Text provided by the business.

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

Returns
Type Description
ByteString

The bytes for 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.TextInputValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputValue.TextInputValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(InputValue.TextInputValue other)

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

setValue(String value)

public InputValue.TextInputValue.Builder setValue(String value)

Required. Text provided by the business.

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

Parameter
Name Description
value String

The value to set.

Returns
Type Description
InputValue.TextInputValue.Builder

This builder for chaining.

setValueBytes(ByteString value)

public InputValue.TextInputValue.Builder setValueBytes(ByteString value)

Required. Text provided by the business.

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

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
InputValue.TextInputValue.Builder

This builder for chaining.