Class TextWithTooltip.Builder (0.2.0)

public static final class TextWithTooltip.Builder extends GeneratedMessageV3.Builder<TextWithTooltip.Builder> implements TextWithTooltipOrBuilder

Block of text that may contain a tooltip with more information.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TextWithTooltip build()
Returns
Type Description
TextWithTooltip

buildPartial()

public TextWithTooltip buildPartial()
Returns
Type Description
TextWithTooltip

clear()

public TextWithTooltip.Builder clear()
Returns
Type Description
TextWithTooltip.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TextWithTooltip.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TextWithTooltip.Builder
Overrides

clearSimpleTooltipValue()

public TextWithTooltip.Builder clearSimpleTooltipValue()

Value of the tooltip as a simple text.

string simple_tooltip_value = 2;

Returns
Type Description
TextWithTooltip.Builder

This builder for chaining.

clearSimpleValue()

public TextWithTooltip.Builder clearSimpleValue()

Value of the message as a simple text.

string simple_value = 1;

Returns
Type Description
TextWithTooltip.Builder

This builder for chaining.

clearTooltipIconStyle()

public TextWithTooltip.Builder clearTooltipIconStyle()

The suggested type of an icon for tooltip, if a tooltip is present.

.google.shopping.merchant.issueresolution.v1beta.TextWithTooltip.TooltipIconStyle tooltip_icon_style = 3;

Returns
Type Description
TextWithTooltip.Builder

This builder for chaining.

clearTooltipValue()

public TextWithTooltip.Builder clearTooltipValue()
Returns
Type Description
TextWithTooltip.Builder

clearValue()

public TextWithTooltip.Builder clearValue()
Returns
Type Description
TextWithTooltip.Builder

clone()

public TextWithTooltip.Builder clone()
Returns
Type Description
TextWithTooltip.Builder
Overrides

getDefaultInstanceForType()

public TextWithTooltip getDefaultInstanceForType()
Returns
Type Description
TextWithTooltip

getDescriptorForType()

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

getSimpleTooltipValue()

public String getSimpleTooltipValue()

Value of the tooltip as a simple text.

string simple_tooltip_value = 2;

Returns
Type Description
String

The simpleTooltipValue.

getSimpleTooltipValueBytes()

public ByteString getSimpleTooltipValueBytes()

Value of the tooltip as a simple text.

string simple_tooltip_value = 2;

Returns
Type Description
ByteString

The bytes for simpleTooltipValue.

getSimpleValue()

public String getSimpleValue()

Value of the message as a simple text.

string simple_value = 1;

Returns
Type Description
String

The simpleValue.

getSimpleValueBytes()

public ByteString getSimpleValueBytes()

Value of the message as a simple text.

string simple_value = 1;

Returns
Type Description
ByteString

The bytes for simpleValue.

getTooltipIconStyle()

public TextWithTooltip.TooltipIconStyle getTooltipIconStyle()

The suggested type of an icon for tooltip, if a tooltip is present.

.google.shopping.merchant.issueresolution.v1beta.TextWithTooltip.TooltipIconStyle tooltip_icon_style = 3;

Returns
Type Description
TextWithTooltip.TooltipIconStyle

The tooltipIconStyle.

getTooltipIconStyleValue()

public int getTooltipIconStyleValue()

The suggested type of an icon for tooltip, if a tooltip is present.

.google.shopping.merchant.issueresolution.v1beta.TextWithTooltip.TooltipIconStyle tooltip_icon_style = 3;

Returns
Type Description
int

The enum numeric value on the wire for tooltipIconStyle.

getTooltipValueCase()

public TextWithTooltip.TooltipValueCase getTooltipValueCase()
Returns
Type Description
TextWithTooltip.TooltipValueCase

getValueCase()

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

hasSimpleTooltipValue()

public boolean hasSimpleTooltipValue()

Value of the tooltip as a simple text.

string simple_tooltip_value = 2;

Returns
Type Description
boolean

Whether the simpleTooltipValue field is set.

hasSimpleValue()

public boolean hasSimpleValue()

Value of the message as a simple text.

string simple_value = 1;

Returns
Type Description
boolean

Whether the simpleValue field is set.

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

mergeFrom(Message other)

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

mergeFrom(TextWithTooltip other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSimpleTooltipValue(String value)

public TextWithTooltip.Builder setSimpleTooltipValue(String value)

Value of the tooltip as a simple text.

string simple_tooltip_value = 2;

Parameter
Name Description
value String

The simpleTooltipValue to set.

Returns
Type Description
TextWithTooltip.Builder

This builder for chaining.

setSimpleTooltipValueBytes(ByteString value)

public TextWithTooltip.Builder setSimpleTooltipValueBytes(ByteString value)

Value of the tooltip as a simple text.

string simple_tooltip_value = 2;

Parameter
Name Description
value ByteString

The bytes for simpleTooltipValue to set.

Returns
Type Description
TextWithTooltip.Builder

This builder for chaining.

setSimpleValue(String value)

public TextWithTooltip.Builder setSimpleValue(String value)

Value of the message as a simple text.

string simple_value = 1;

Parameter
Name Description
value String

The simpleValue to set.

Returns
Type Description
TextWithTooltip.Builder

This builder for chaining.

setSimpleValueBytes(ByteString value)

public TextWithTooltip.Builder setSimpleValueBytes(ByteString value)

Value of the message as a simple text.

string simple_value = 1;

Parameter
Name Description
value ByteString

The bytes for simpleValue to set.

Returns
Type Description
TextWithTooltip.Builder

This builder for chaining.

setTooltipIconStyle(TextWithTooltip.TooltipIconStyle value)

public TextWithTooltip.Builder setTooltipIconStyle(TextWithTooltip.TooltipIconStyle value)

The suggested type of an icon for tooltip, if a tooltip is present.

.google.shopping.merchant.issueresolution.v1beta.TextWithTooltip.TooltipIconStyle tooltip_icon_style = 3;

Parameter
Name Description
value TextWithTooltip.TooltipIconStyle

The tooltipIconStyle to set.

Returns
Type Description
TextWithTooltip.Builder

This builder for chaining.

setTooltipIconStyleValue(int value)

public TextWithTooltip.Builder setTooltipIconStyleValue(int value)

The suggested type of an icon for tooltip, if a tooltip is present.

.google.shopping.merchant.issueresolution.v1beta.TextWithTooltip.TooltipIconStyle tooltip_icon_style = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for tooltipIconStyle to set.

Returns
Type Description
TextWithTooltip.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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