Interface Intent.Message.RbmCardContentOrBuilder (4.35.0)

public static interface Intent.Message.RbmCardContentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

Optional. Description of the card (at most 2000 bytes).

At least one of the title, description or media must be set.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. Description of the card (at most 2000 bytes).

At least one of the title, description or media must be set.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getMedia()

public abstract Intent.Message.RbmCardContent.RbmMedia getMedia()

Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia media = 3;

Returns
Type Description
Intent.Message.RbmCardContent.RbmMedia

The media.

getMediaOrBuilder()

public abstract Intent.Message.RbmCardContent.RbmMediaOrBuilder getMediaOrBuilder()

Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia media = 3;

Returns
Type Description
Intent.Message.RbmCardContent.RbmMediaOrBuilder

getSuggestions(int index)

public abstract Intent.Message.RbmSuggestion getSuggestions(int index)

Optional. List of suggestions to include in the card.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.RbmSuggestion

getSuggestionsCount()

public abstract int getSuggestionsCount()

Optional. List of suggestions to include in the card.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;

Returns
Type Description
int

getSuggestionsList()

public abstract List<Intent.Message.RbmSuggestion> getSuggestionsList()

Optional. List of suggestions to include in the card.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;

Returns
Type Description
List<RbmSuggestion>

getSuggestionsOrBuilder(int index)

public abstract Intent.Message.RbmSuggestionOrBuilder getSuggestionsOrBuilder(int index)

Optional. List of suggestions to include in the card.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.RbmSuggestionOrBuilder

getSuggestionsOrBuilderList()

public abstract List<? extends Intent.Message.RbmSuggestionOrBuilder> getSuggestionsOrBuilderList()

Optional. List of suggestions to include in the card.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion suggestions = 4;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestionOrBuilder>

getTitle()

public abstract String getTitle()

Optional. Title of the card (at most 200 bytes).

At least one of the title, description or media must be set.

string title = 1;

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Optional. Title of the card (at most 200 bytes).

At least one of the title, description or media must be set.

string title = 1;

Returns
Type Description
ByteString

The bytes for title.

hasMedia()

public abstract boolean hasMedia()

Optional. However at least one of the title, description or media must be set. Media (image, GIF or a video) to include in the card.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia media = 3;

Returns
Type Description
boolean

Whether the media field is set.