Class InputValue.TextInputValue.Builder (0.2.0)

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

Value for text input field.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InputValue.TextInputValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InputValue.TextInputValue.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public InputValue.TextInputValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InputValue.TextInputValue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InputValue.TextInputValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InputValue.TextInputValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InputValue.TextInputValue.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InputValue.TextInputValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InputValue.TextInputValue.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InputValue.TextInputValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InputValue.TextInputValue.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InputValue.TextInputValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InputValue.TextInputValue.Builder
Overrides

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.