Interface ContextualAddOnMarkup.Card.SectionOrBuilder (0.5.0)

public static interface ContextualAddOnMarkup.Card.SectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeader()

public abstract String getHeader()

The header of the section. Formatted text is supported. For more information about formatting text, see Formatting text in Google Chat apps and Formatting text in Google Workspace Add-ons.

string header = 1;

Returns
TypeDescription
String

The header.

getHeaderBytes()

public abstract ByteString getHeaderBytes()

The header of the section. Formatted text is supported. For more information about formatting text, see Formatting text in Google Chat apps and Formatting text in Google Workspace Add-ons.

string header = 1;

Returns
TypeDescription
ByteString

The bytes for header.

getWidgets(int index)

public abstract WidgetMarkup getWidgets(int index)

A section must contain at least one widget.

repeated .google.chat.v1.WidgetMarkup widgets = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
WidgetMarkup

getWidgetsCount()

public abstract int getWidgetsCount()

A section must contain at least one widget.

repeated .google.chat.v1.WidgetMarkup widgets = 2;

Returns
TypeDescription
int

getWidgetsList()

public abstract List<WidgetMarkup> getWidgetsList()

A section must contain at least one widget.

repeated .google.chat.v1.WidgetMarkup widgets = 2;

Returns
TypeDescription
List<WidgetMarkup>

getWidgetsOrBuilder(int index)

public abstract WidgetMarkupOrBuilder getWidgetsOrBuilder(int index)

A section must contain at least one widget.

repeated .google.chat.v1.WidgetMarkup widgets = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
WidgetMarkupOrBuilder

getWidgetsOrBuilderList()

public abstract List<? extends WidgetMarkupOrBuilder> getWidgetsOrBuilderList()

A section must contain at least one widget.

repeated .google.chat.v1.WidgetMarkup widgets = 2;

Returns
TypeDescription
List<? extends com.google.chat.v1.WidgetMarkupOrBuilder>