Interface Intent.Message.RbmCarouselCardOrBuilder (4.14.0)

public static interface Intent.Message.RbmCarouselCardOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCardContents(int index)

public abstract Intent.Message.RbmCardContent getCardContents(int index)

Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent.Message.RbmCardContent

getCardContentsCount()

public abstract int getCardContentsCount()

Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;

Returns
TypeDescription
int

getCardContentsList()

public abstract List<Intent.Message.RbmCardContent> getCardContentsList()

Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;

Returns
TypeDescription
List<RbmCardContent>

getCardContentsOrBuilder(int index)

public abstract Intent.Message.RbmCardContentOrBuilder getCardContentsOrBuilder(int index)

Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent.Message.RbmCardContentOrBuilder

getCardContentsOrBuilderList()

public abstract List<? extends Intent.Message.RbmCardContentOrBuilder> getCardContentsOrBuilderList()

Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent card_contents = 2;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContentOrBuilder>

getCardWidth()

public abstract Intent.Message.RbmCarouselCard.CardWidth getCardWidth()

Required. The width of the cards in the carousel.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.CardWidth card_width = 1;

Returns
TypeDescription
Intent.Message.RbmCarouselCard.CardWidth

The cardWidth.

getCardWidthValue()

public abstract int getCardWidthValue()

Required. The width of the cards in the carousel.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.CardWidth card_width = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for cardWidth.