public static interface ContextualAddOnMarkup.CardOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ContextualAddOnMarkup.Card.CardAction | |
getCardActionsCount()
public abstract int getCardActionsCount()The actions of this card.
 repeated .google.chat.v1.ContextualAddOnMarkup.Card.CardAction card_actions = 3;
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| ContextualAddOnMarkup.Card.CardHeaderOrBuilder | |
getName()
public abstract String getName()Name of the card.
 string name = 4;
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public abstract ByteString getNameBytes()Name of the card.
 string name = 4;
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Type | Description | 
| boolean | Whether the header field is set. |