Class Callout (0.2.0)

public final class Callout extends GeneratedMessageV3 implements CalloutOrBuilder

An important message that should be highlighted. Usually displayed as a banner.

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

Implements

CalloutOrBuilder

Static Fields

FULL_MESSAGE_FIELD_NUMBER

public static final int FULL_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

STYLE_HINT_FIELD_NUMBER

public static final int STYLE_HINT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Callout getDefaultInstance()
Returns
Type Description
Callout

getDescriptor()

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

newBuilder()

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

newBuilder(Callout prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Callout getDefaultInstanceForType()
Returns
Type Description
Callout

getFullMessage()

public TextWithTooltip getFullMessage()

A full message that needs to be shown to the business.

.google.shopping.merchant.issueresolution.v1beta.TextWithTooltip full_message = 3;

Returns
Type Description
TextWithTooltip

The fullMessage.

getFullMessageOrBuilder()

public TextWithTooltipOrBuilder getFullMessageOrBuilder()

A full message that needs to be shown to the business.

.google.shopping.merchant.issueresolution.v1beta.TextWithTooltip full_message = 3;

Returns
Type Description
TextWithTooltipOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStyleHint()

public Callout.CalloutStyleHint getStyleHint()

Can be used to render messages with different severity in different styles. Snippets off all types contain important information that should be displayed to the business.

.google.shopping.merchant.issueresolution.v1beta.Callout.CalloutStyleHint style_hint = 1;

Returns
Type Description
Callout.CalloutStyleHint

The styleHint.

getStyleHintValue()

public int getStyleHintValue()

Can be used to render messages with different severity in different styles. Snippets off all types contain important information that should be displayed to the business.

.google.shopping.merchant.issueresolution.v1beta.Callout.CalloutStyleHint style_hint = 1;

Returns
Type Description
int

The enum numeric value on the wire for styleHint.

hasFullMessage()

public boolean hasFullMessage()

A full message that needs to be shown to the business.

.google.shopping.merchant.issueresolution.v1beta.TextWithTooltip full_message = 3;

Returns
Type Description
boolean

Whether the fullMessage 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 Callout.Builder newBuilderForType()
Returns
Type Description
Callout.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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