Interface Intent.Message.RbmCarouselCardOrBuilder (4.33.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for cardWidth.