Interface Intent.Message.RbmCardContentOrBuilder (4.6.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the media field is set.