Interface WidgetMarkupOrBuilder (0.9.0)

public interface WidgetMarkupOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getButtons(int index)

public abstract WidgetMarkup.Button getButtons(int index)

A list of buttons. Buttons is also oneof data and only one of these fields should be set.

repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;

Parameter
Name Description
index int
Returns
Type Description
WidgetMarkup.Button

getButtonsCount()

public abstract int getButtonsCount()

A list of buttons. Buttons is also oneof data and only one of these fields should be set.

repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;

Returns
Type Description
int

getButtonsList()

public abstract List<WidgetMarkup.Button> getButtonsList()

A list of buttons. Buttons is also oneof data and only one of these fields should be set.

repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;

Returns
Type Description
List<Button>

getButtonsOrBuilder(int index)

public abstract WidgetMarkup.ButtonOrBuilder getButtonsOrBuilder(int index)

A list of buttons. Buttons is also oneof data and only one of these fields should be set.

repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;

Parameter
Name Description
index int
Returns
Type Description
WidgetMarkup.ButtonOrBuilder

getButtonsOrBuilderList()

public abstract List<? extends WidgetMarkup.ButtonOrBuilder> getButtonsOrBuilderList()

A list of buttons. Buttons is also oneof data and only one of these fields should be set.

repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;

Returns
Type Description
List<? extends com.google.chat.v1.WidgetMarkup.ButtonOrBuilder>

getDataCase()

public abstract WidgetMarkup.DataCase getDataCase()
Returns
Type Description
WidgetMarkup.DataCase

getImage()

public abstract WidgetMarkup.Image getImage()

Display an image in this widget.

.google.chat.v1.WidgetMarkup.Image image = 2;

Returns
Type Description
WidgetMarkup.Image

The image.

getImageOrBuilder()

public abstract WidgetMarkup.ImageOrBuilder getImageOrBuilder()

Display an image in this widget.

.google.chat.v1.WidgetMarkup.Image image = 2;

Returns
Type Description
WidgetMarkup.ImageOrBuilder

getKeyValue()

public abstract WidgetMarkup.KeyValue getKeyValue()

Display a key value item in this widget.

.google.chat.v1.WidgetMarkup.KeyValue key_value = 3;

Returns
Type Description
WidgetMarkup.KeyValue

The keyValue.

getKeyValueOrBuilder()

public abstract WidgetMarkup.KeyValueOrBuilder getKeyValueOrBuilder()

Display a key value item in this widget.

.google.chat.v1.WidgetMarkup.KeyValue key_value = 3;

Returns
Type Description
WidgetMarkup.KeyValueOrBuilder

getTextParagraph()

public abstract WidgetMarkup.TextParagraph getTextParagraph()

Display a text paragraph in this widget.

.google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;

Returns
Type Description
WidgetMarkup.TextParagraph

The textParagraph.

getTextParagraphOrBuilder()

public abstract WidgetMarkup.TextParagraphOrBuilder getTextParagraphOrBuilder()

Display a text paragraph in this widget.

.google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;

Returns
Type Description
WidgetMarkup.TextParagraphOrBuilder

hasImage()

public abstract boolean hasImage()

Display an image in this widget.

.google.chat.v1.WidgetMarkup.Image image = 2;

Returns
Type Description
boolean

Whether the image field is set.

hasKeyValue()

public abstract boolean hasKeyValue()

Display a key value item in this widget.

.google.chat.v1.WidgetMarkup.KeyValue key_value = 3;

Returns
Type Description
boolean

Whether the keyValue field is set.

hasTextParagraph()

public abstract boolean hasTextParagraph()

Display a text paragraph in this widget.

.google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;

Returns
Type Description
boolean

Whether the textParagraph field is set.