Class TextWithTooltip (0.2.0)

public final class TextWithTooltip extends GeneratedMessageV3 implements TextWithTooltipOrBuilder

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

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

Static Fields

SIMPLE_TOOLTIP_VALUE_FIELD_NUMBER

public static final int SIMPLE_TOOLTIP_VALUE_FIELD_NUMBER
Field Value
Type Description
int

SIMPLE_VALUE_FIELD_NUMBER

public static final int SIMPLE_VALUE_FIELD_NUMBER
Field Value
Type Description
int

TOOLTIP_ICON_STYLE_FIELD_NUMBER

public static final int TOOLTIP_ICON_STYLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TextWithTooltip getDefaultInstance()
Returns
Type Description
TextWithTooltip

getDescriptor()

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

newBuilder()

public static TextWithTooltip.Builder newBuilder()
Returns
Type Description
TextWithTooltip.Builder

newBuilder(TextWithTooltip prototype)

public static TextWithTooltip.Builder newBuilder(TextWithTooltip prototype)
Parameter
Name Description
prototype TextWithTooltip
Returns
Type Description
TextWithTooltip.Builder

parseDelimitedFrom(InputStream input)

public static TextWithTooltip parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TextWithTooltip
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TextWithTooltip parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextWithTooltip
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TextWithTooltip parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TextWithTooltip
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TextWithTooltip parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextWithTooltip
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TextWithTooltip parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TextWithTooltip
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TextWithTooltip parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextWithTooltip
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TextWithTooltip parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TextWithTooltip
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TextWithTooltip parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextWithTooltip
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TextWithTooltip parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TextWithTooltip
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TextWithTooltip parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextWithTooltip
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TextWithTooltip parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TextWithTooltip
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TextWithTooltip parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextWithTooltip
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TextWithTooltip> parser()
Returns
Type Description
Parser<TextWithTooltip>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TextWithTooltip getDefaultInstanceForType()
Returns
Type Description
TextWithTooltip

getParserForType()

public Parser<TextWithTooltip> getParserForType()
Returns
Type Description
Parser<TextWithTooltip>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TextWithTooltip.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TextWithTooltip.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException