Interface WidgetMarkupOrBuilder (0.5.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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.chat.v1.WidgetMarkup.ButtonOrBuilder>

getDataCase()

public abstract WidgetMarkup.DataCase getDataCase()
Returns
TypeDescription
WidgetMarkup.DataCase

getImage()

public abstract WidgetMarkup.Image getImage()

Display an image in this widget.

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

Returns
TypeDescription
WidgetMarkup.Image

The image.

getImageOrBuilder()

public abstract WidgetMarkup.ImageOrBuilder getImageOrBuilder()

Display an image in this widget.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
WidgetMarkup.KeyValueOrBuilder

getTextParagraph()

public abstract WidgetMarkup.TextParagraph getTextParagraph()

Display a text paragraph in this widget.

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

Returns
TypeDescription
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
TypeDescription
WidgetMarkup.TextParagraphOrBuilder

hasImage()

public abstract boolean hasImage()

Display an image in this widget.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the textParagraph field is set.