Class Callout.Builder (1.16.0)

public static final class Callout.Builder extends GeneratedMessage.Builder<Callout.Builder> 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 Methods

getDescriptor()

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

Methods

build()

public Callout build()
Returns
Type Description
Callout

buildPartial()

public Callout buildPartial()
Returns
Type Description
Callout

clear()

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

clearFullMessage()

public Callout.Builder clearFullMessage()

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

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

Returns
Type Description
Callout.Builder

clearStyleHint()

public Callout.Builder clearStyleHint()

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

This builder for chaining.

getDefaultInstanceForType()

public Callout getDefaultInstanceForType()
Returns
Type Description
Callout

getDescriptorForType()

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

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.

getFullMessageBuilder()

public TextWithTooltip.Builder getFullMessageBuilder()

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

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

Returns
Type Description
TextWithTooltip.Builder

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

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.

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

mergeFrom(Message other)

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

mergeFrom(Callout other)

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

mergeFullMessage(TextWithTooltip value)

public Callout.Builder mergeFullMessage(TextWithTooltip value)

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

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

Parameter
Name Description
value TextWithTooltip
Returns
Type Description
Callout.Builder

setFullMessage(TextWithTooltip value)

public Callout.Builder setFullMessage(TextWithTooltip value)

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

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

Parameter
Name Description
value TextWithTooltip
Returns
Type Description
Callout.Builder

setFullMessage(TextWithTooltip.Builder builderForValue)

public Callout.Builder setFullMessage(TextWithTooltip.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue TextWithTooltip.Builder
Returns
Type Description
Callout.Builder

setStyleHint(Callout.CalloutStyleHint value)

public Callout.Builder setStyleHint(Callout.CalloutStyleHint value)

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;

Parameter
Name Description
value Callout.CalloutStyleHint

The styleHint to set.

Returns
Type Description
Callout.Builder

This builder for chaining.

setStyleHintValue(int value)

public Callout.Builder setStyleHintValue(int value)

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;

Parameter
Name Description
value int

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

Returns
Type Description
Callout.Builder

This builder for chaining.