Interface ReplaceMessageCardsRequestOrBuilder (0.67.0)

public interface ReplaceMessageCardsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCardsV2(int index)

public abstract CardWithId getCardsV2(int index)

Optional. An array of cards to be included in the message. These cards will replace the existing cards of the message. If empty, the original cards included in the message will be cleared.

repeated .google.chat.v1.CardWithId cards_v2 = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CardWithId

getCardsV2Count()

public abstract int getCardsV2Count()

Optional. An array of cards to be included in the message. These cards will replace the existing cards of the message. If empty, the original cards included in the message will be cleared.

repeated .google.chat.v1.CardWithId cards_v2 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCardsV2List()

public abstract List<CardWithId> getCardsV2List()

Optional. An array of cards to be included in the message. These cards will replace the existing cards of the message. If empty, the original cards included in the message will be cleared.

repeated .google.chat.v1.CardWithId cards_v2 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CardWithId>

getCardsV2OrBuilder(int index)

public abstract CardWithIdOrBuilder getCardsV2OrBuilder(int index)

Optional. An array of cards to be included in the message. These cards will replace the existing cards of the message. If empty, the original cards included in the message will be cleared.

repeated .google.chat.v1.CardWithId cards_v2 = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CardWithIdOrBuilder

getCardsV2OrBuilderList()

public abstract List<? extends CardWithIdOrBuilder> getCardsV2OrBuilderList()

Optional. An array of cards to be included in the message. These cards will replace the existing cards of the message. If empty, the original cards included in the message will be cleared.

repeated .google.chat.v1.CardWithId cards_v2 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.chat.v1.CardWithIdOrBuilder>

getName()

public abstract String getName()

Required. The resource name of the message.

Format: spaces/{space}/messages/{message}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The resource name of the message.

Format: spaces/{space}/messages/{message}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.