Interface CardWithIdOrBuilder (0.67.0)

public interface CardWithIdOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCard()

public abstract Card getCard()

A card. Maximum size is 32 KB.

.google.apps.card.v1.Card card = 2;

Returns
Type Description
com.google.apps.card.v1.Card

The card.

getCardId()

public abstract String getCardId()

Required if the message contains multiple cards. A unique identifier for a card in a message.

string card_id = 1;

Returns
Type Description
String

The cardId.

getCardIdBytes()

public abstract ByteString getCardIdBytes()

Required if the message contains multiple cards. A unique identifier for a card in a message.

string card_id = 1;

Returns
Type Description
ByteString

The bytes for cardId.

getCardOrBuilder()

public abstract CardOrBuilder getCardOrBuilder()

A card. Maximum size is 32 KB.

.google.apps.card.v1.Card card = 2;

Returns
Type Description
com.google.apps.card.v1.CardOrBuilder

getOwnerUser()

public abstract User getOwnerUser()

Output only. The app that owns the card.

.google.chat.v1.User owner_user = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
User

The ownerUser.

getOwnerUserOrBuilder()

public abstract UserOrBuilder getOwnerUserOrBuilder()

Output only. The app that owns the card.

.google.chat.v1.User owner_user = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UserOrBuilder

hasCard()

public abstract boolean hasCard()

A card. Maximum size is 32 KB.

.google.apps.card.v1.Card card = 2;

Returns
Type Description
boolean

Whether the card field is set.

hasOwnerUser()

public abstract boolean hasOwnerUser()

Output only. The app that owns the card.

.google.chat.v1.User owner_user = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the ownerUser field is set.