Class Callout.Builder (0.2.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public Callout.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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