Interface ContextualAddOnMarkup.CardOrBuilder (0.1.0)

public static interface ContextualAddOnMarkup.CardOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCardActions(int index)

public abstract ContextualAddOnMarkup.Card.CardAction getCardActions(int index)

The actions of this card.

repeated .google.chat.v1.ContextualAddOnMarkup.Card.CardAction card_actions = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ContextualAddOnMarkup.Card.CardAction

getCardActionsCount()

public abstract int getCardActionsCount()

The actions of this card.

repeated .google.chat.v1.ContextualAddOnMarkup.Card.CardAction card_actions = 3;

Returns
TypeDescription
int

getCardActionsList()

public abstract List<ContextualAddOnMarkup.Card.CardAction> getCardActionsList()

The actions of this card.

repeated .google.chat.v1.ContextualAddOnMarkup.Card.CardAction card_actions = 3;

Returns
TypeDescription
List<CardAction>

getCardActionsOrBuilder(int index)

public abstract ContextualAddOnMarkup.Card.CardActionOrBuilder getCardActionsOrBuilder(int index)

The actions of this card.

repeated .google.chat.v1.ContextualAddOnMarkup.Card.CardAction card_actions = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ContextualAddOnMarkup.Card.CardActionOrBuilder

getCardActionsOrBuilderList()

public abstract List<? extends ContextualAddOnMarkup.Card.CardActionOrBuilder> getCardActionsOrBuilderList()

The actions of this card.

repeated .google.chat.v1.ContextualAddOnMarkup.Card.CardAction card_actions = 3;

Returns
TypeDescription
List<? extends com.google.chat.v1.ContextualAddOnMarkup.Card.CardActionOrBuilder>

getHeader()

public abstract ContextualAddOnMarkup.Card.CardHeader getHeader()

The header of the card. A header usually contains a title and an image.

.google.chat.v1.ContextualAddOnMarkup.Card.CardHeader header = 1;

Returns
TypeDescription
ContextualAddOnMarkup.Card.CardHeader

The header.

getHeaderOrBuilder()

public abstract ContextualAddOnMarkup.Card.CardHeaderOrBuilder getHeaderOrBuilder()

The header of the card. A header usually contains a title and an image.

.google.chat.v1.ContextualAddOnMarkup.Card.CardHeader header = 1;

Returns
TypeDescription
ContextualAddOnMarkup.Card.CardHeaderOrBuilder

getName()

public abstract String getName()

Name of the card.

string name = 4;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the card.

string name = 4;

Returns
TypeDescription
ByteString

The bytes for name.

getSections(int index)

public abstract ContextualAddOnMarkup.Card.Section getSections(int index)

Sections are separated by a line divider.

repeated .google.chat.v1.ContextualAddOnMarkup.Card.Section sections = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ContextualAddOnMarkup.Card.Section

getSectionsCount()

public abstract int getSectionsCount()

Sections are separated by a line divider.

repeated .google.chat.v1.ContextualAddOnMarkup.Card.Section sections = 2;

Returns
TypeDescription
int

getSectionsList()

public abstract List<ContextualAddOnMarkup.Card.Section> getSectionsList()

Sections are separated by a line divider.

repeated .google.chat.v1.ContextualAddOnMarkup.Card.Section sections = 2;

Returns
TypeDescription
List<Section>

getSectionsOrBuilder(int index)

public abstract ContextualAddOnMarkup.Card.SectionOrBuilder getSectionsOrBuilder(int index)

Sections are separated by a line divider.

repeated .google.chat.v1.ContextualAddOnMarkup.Card.Section sections = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ContextualAddOnMarkup.Card.SectionOrBuilder

getSectionsOrBuilderList()

public abstract List<? extends ContextualAddOnMarkup.Card.SectionOrBuilder> getSectionsOrBuilderList()

Sections are separated by a line divider.

repeated .google.chat.v1.ContextualAddOnMarkup.Card.Section sections = 2;

Returns
TypeDescription
List<? extends com.google.chat.v1.ContextualAddOnMarkup.Card.SectionOrBuilder>

hasHeader()

public abstract boolean hasHeader()

The header of the card. A header usually contains a title and an image.

.google.chat.v1.ContextualAddOnMarkup.Card.CardHeader header = 1;

Returns
TypeDescription
boolean

Whether the header field is set.