Interface Intent.MessageOrBuilder (4.29.0)

public static interface Intent.MessageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBasicCard()

public abstract Intent.Message.BasicCard getBasicCard()

Displays a basic card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard basic_card = 8;

Returns
Type Description
Intent.Message.BasicCard

The basicCard.

getBasicCardOrBuilder()

public abstract Intent.Message.BasicCardOrBuilder getBasicCardOrBuilder()

Displays a basic card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard basic_card = 8;

Returns
Type Description
Intent.Message.BasicCardOrBuilder

getBrowseCarouselCard()

public abstract Intent.Message.BrowseCarouselCard getBrowseCarouselCard()

Browse carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;

Returns
Type Description
Intent.Message.BrowseCarouselCard

The browseCarouselCard.

getBrowseCarouselCardOrBuilder()

public abstract Intent.Message.BrowseCarouselCardOrBuilder getBrowseCarouselCardOrBuilder()

Browse carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;

Returns
Type Description
Intent.Message.BrowseCarouselCardOrBuilder

getCard()

public abstract Intent.Message.Card getCard()

Displays a card.

.google.cloud.dialogflow.v2beta1.Intent.Message.Card card = 4;

Returns
Type Description
Intent.Message.Card

The card.

getCardOrBuilder()

public abstract Intent.Message.CardOrBuilder getCardOrBuilder()

Displays a card.

.google.cloud.dialogflow.v2beta1.Intent.Message.Card card = 4;

Returns
Type Description
Intent.Message.CardOrBuilder

getCarouselSelect()

public abstract Intent.Message.CarouselSelect getCarouselSelect()

Displays a carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12;

Returns
Type Description
Intent.Message.CarouselSelect

The carouselSelect.

getCarouselSelectOrBuilder()

public abstract Intent.Message.CarouselSelectOrBuilder getCarouselSelectOrBuilder()

Displays a carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12;

Returns
Type Description
Intent.Message.CarouselSelectOrBuilder

getImage()

public abstract Intent.Message.Image getImage()

Displays an image.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 2;

Returns
Type Description
Intent.Message.Image

The image.

getImageOrBuilder()

public abstract Intent.Message.ImageOrBuilder getImageOrBuilder()

Displays an image.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 2;

Returns
Type Description
Intent.Message.ImageOrBuilder

getLinkOutSuggestion()

public abstract Intent.Message.LinkOutSuggestion getLinkOutSuggestion()

Displays a link out suggestion chip for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;

Returns
Type Description
Intent.Message.LinkOutSuggestion

The linkOutSuggestion.

getLinkOutSuggestionOrBuilder()

public abstract Intent.Message.LinkOutSuggestionOrBuilder getLinkOutSuggestionOrBuilder()

Displays a link out suggestion chip for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;

Returns
Type Description
Intent.Message.LinkOutSuggestionOrBuilder

getListSelect()

public abstract Intent.Message.ListSelect getListSelect()

Displays a list card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect list_select = 11;

Returns
Type Description
Intent.Message.ListSelect

The listSelect.

getListSelectOrBuilder()

public abstract Intent.Message.ListSelectOrBuilder getListSelectOrBuilder()

Displays a list card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect list_select = 11;

Returns
Type Description
Intent.Message.ListSelectOrBuilder

getMediaContent()

public abstract Intent.Message.MediaContent getMediaContent()

The media content card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent media_content = 24;

Returns
Type Description
Intent.Message.MediaContent

The mediaContent.

getMediaContentOrBuilder()

public abstract Intent.Message.MediaContentOrBuilder getMediaContentOrBuilder()

The media content card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent media_content = 24;

Returns
Type Description
Intent.Message.MediaContentOrBuilder

getMessageCase()

public abstract Intent.Message.MessageCase getMessageCase()
Returns
Type Description
Intent.Message.MessageCase

getPayload()

public abstract Struct getPayload()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
Type Description
Struct

The payload.

getPayloadOrBuilder()

public abstract StructOrBuilder getPayloadOrBuilder()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
Type Description
StructOrBuilder

getPlatform()

public abstract Intent.Message.Platform getPlatform()

Optional. The platform that this message is intended for.

.google.cloud.dialogflow.v2beta1.Intent.Message.Platform platform = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Intent.Message.Platform

The platform.

getPlatformValue()

public abstract int getPlatformValue()

Optional. The platform that this message is intended for.

.google.cloud.dialogflow.v2beta1.Intent.Message.Platform platform = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for platform.

getQuickReplies()

public abstract Intent.Message.QuickReplies getQuickReplies()

Displays quick replies.

.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;

Returns
Type Description
Intent.Message.QuickReplies

The quickReplies.

getQuickRepliesOrBuilder()

public abstract Intent.Message.QuickRepliesOrBuilder getQuickRepliesOrBuilder()

Displays quick replies.

.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;

Returns
Type Description
Intent.Message.QuickRepliesOrBuilder

getRbmCarouselRichCard()

public abstract Intent.Message.RbmCarouselCard getRbmCarouselRichCard()

Rich Business Messaging (RBM) carousel rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20;

Returns
Type Description
Intent.Message.RbmCarouselCard

The rbmCarouselRichCard.

getRbmCarouselRichCardOrBuilder()

public abstract Intent.Message.RbmCarouselCardOrBuilder getRbmCarouselRichCardOrBuilder()

Rich Business Messaging (RBM) carousel rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20;

Returns
Type Description
Intent.Message.RbmCarouselCardOrBuilder

getRbmStandaloneRichCard()

public abstract Intent.Message.RbmStandaloneCard getRbmStandaloneRichCard()

Standalone Rich Business Messaging (RBM) rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19;

Returns
Type Description
Intent.Message.RbmStandaloneCard

The rbmStandaloneRichCard.

getRbmStandaloneRichCardOrBuilder()

public abstract Intent.Message.RbmStandaloneCardOrBuilder getRbmStandaloneRichCardOrBuilder()

Standalone Rich Business Messaging (RBM) rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19;

Returns
Type Description
Intent.Message.RbmStandaloneCardOrBuilder

getRbmText()

public abstract Intent.Message.RbmText getRbmText()

Rich Business Messaging (RBM) text response.

RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmText rbm_text = 18;

Returns
Type Description
Intent.Message.RbmText

The rbmText.

getRbmTextOrBuilder()

public abstract Intent.Message.RbmTextOrBuilder getRbmTextOrBuilder()

Rich Business Messaging (RBM) text response.

RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmText rbm_text = 18;

Returns
Type Description
Intent.Message.RbmTextOrBuilder

getSimpleResponses()

public abstract Intent.Message.SimpleResponses getSimpleResponses()

Returns a voice or text-only response for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses simple_responses = 7;

Returns
Type Description
Intent.Message.SimpleResponses

The simpleResponses.

getSimpleResponsesOrBuilder()

public abstract Intent.Message.SimpleResponsesOrBuilder getSimpleResponsesOrBuilder()

Returns a voice or text-only response for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses simple_responses = 7;

Returns
Type Description
Intent.Message.SimpleResponsesOrBuilder

getSuggestions()

public abstract Intent.Message.Suggestions getSuggestions()

Displays suggestion chips for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;

Returns
Type Description
Intent.Message.Suggestions

The suggestions.

getSuggestionsOrBuilder()

public abstract Intent.Message.SuggestionsOrBuilder getSuggestionsOrBuilder()

Displays suggestion chips for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;

Returns
Type Description
Intent.Message.SuggestionsOrBuilder

getTableCard()

public abstract Intent.Message.TableCard getTableCard()

Table card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.TableCard table_card = 23;

Returns
Type Description
Intent.Message.TableCard

The tableCard.

getTableCardOrBuilder()

public abstract Intent.Message.TableCardOrBuilder getTableCardOrBuilder()

Table card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.TableCard table_card = 23;

Returns
Type Description
Intent.Message.TableCardOrBuilder

getTelephonyPlayAudio()

public abstract Intent.Message.TelephonyPlayAudio getTelephonyPlayAudio()

Plays audio from a file in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;

Returns
Type Description
Intent.Message.TelephonyPlayAudio

The telephonyPlayAudio.

getTelephonyPlayAudioOrBuilder()

public abstract Intent.Message.TelephonyPlayAudioOrBuilder getTelephonyPlayAudioOrBuilder()

Plays audio from a file in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;

Returns
Type Description
Intent.Message.TelephonyPlayAudioOrBuilder

getTelephonySynthesizeSpeech()

public abstract Intent.Message.TelephonySynthesizeSpeech getTelephonySynthesizeSpeech()

Synthesizes speech in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;

Returns
Type Description
Intent.Message.TelephonySynthesizeSpeech

The telephonySynthesizeSpeech.

getTelephonySynthesizeSpeechOrBuilder()

public abstract Intent.Message.TelephonySynthesizeSpeechOrBuilder getTelephonySynthesizeSpeechOrBuilder()

Synthesizes speech in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;

Returns
Type Description
Intent.Message.TelephonySynthesizeSpeechOrBuilder

getTelephonyTransferCall()

public abstract Intent.Message.TelephonyTransferCall getTelephonyTransferCall()

Transfers the call in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;

Returns
Type Description
Intent.Message.TelephonyTransferCall

The telephonyTransferCall.

getTelephonyTransferCallOrBuilder()

public abstract Intent.Message.TelephonyTransferCallOrBuilder getTelephonyTransferCallOrBuilder()

Transfers the call in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;

Returns
Type Description
Intent.Message.TelephonyTransferCallOrBuilder

getText()

public abstract Intent.Message.Text getText()

Returns a text response.

.google.cloud.dialogflow.v2beta1.Intent.Message.Text text = 1;

Returns
Type Description
Intent.Message.Text

The text.

getTextOrBuilder()

public abstract Intent.Message.TextOrBuilder getTextOrBuilder()

Returns a text response.

.google.cloud.dialogflow.v2beta1.Intent.Message.Text text = 1;

Returns
Type Description
Intent.Message.TextOrBuilder

hasBasicCard()

public abstract boolean hasBasicCard()

Displays a basic card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard basic_card = 8;

Returns
Type Description
boolean

Whether the basicCard field is set.

hasBrowseCarouselCard()

public abstract boolean hasBrowseCarouselCard()

Browse carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;

Returns
Type Description
boolean

Whether the browseCarouselCard field is set.

hasCard()

public abstract boolean hasCard()

Displays a card.

.google.cloud.dialogflow.v2beta1.Intent.Message.Card card = 4;

Returns
Type Description
boolean

Whether the card field is set.

hasCarouselSelect()

public abstract boolean hasCarouselSelect()

Displays a carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12;

Returns
Type Description
boolean

Whether the carouselSelect field is set.

hasImage()

public abstract boolean hasImage()

Displays an image.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 2;

Returns
Type Description
boolean

Whether the image field is set.

hasLinkOutSuggestion()

public abstract boolean hasLinkOutSuggestion()

Displays a link out suggestion chip for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;

Returns
Type Description
boolean

Whether the linkOutSuggestion field is set.

hasListSelect()

public abstract boolean hasListSelect()

Displays a list card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect list_select = 11;

Returns
Type Description
boolean

Whether the listSelect field is set.

hasMediaContent()

public abstract boolean hasMediaContent()

The media content card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent media_content = 24;

Returns
Type Description
boolean

Whether the mediaContent field is set.

hasPayload()

public abstract boolean hasPayload()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
Type Description
boolean

Whether the payload field is set.

hasQuickReplies()

public abstract boolean hasQuickReplies()

Displays quick replies.

.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;

Returns
Type Description
boolean

Whether the quickReplies field is set.

hasRbmCarouselRichCard()

public abstract boolean hasRbmCarouselRichCard()

Rich Business Messaging (RBM) carousel rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20;

Returns
Type Description
boolean

Whether the rbmCarouselRichCard field is set.

hasRbmStandaloneRichCard()

public abstract boolean hasRbmStandaloneRichCard()

Standalone Rich Business Messaging (RBM) rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19;

Returns
Type Description
boolean

Whether the rbmStandaloneRichCard field is set.

hasRbmText()

public abstract boolean hasRbmText()

Rich Business Messaging (RBM) text response.

RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmText rbm_text = 18;

Returns
Type Description
boolean

Whether the rbmText field is set.

hasSimpleResponses()

public abstract boolean hasSimpleResponses()

Returns a voice or text-only response for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses simple_responses = 7;

Returns
Type Description
boolean

Whether the simpleResponses field is set.

hasSuggestions()

public abstract boolean hasSuggestions()

Displays suggestion chips for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;

Returns
Type Description
boolean

Whether the suggestions field is set.

hasTableCard()

public abstract boolean hasTableCard()

Table card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.TableCard table_card = 23;

Returns
Type Description
boolean

Whether the tableCard field is set.

hasTelephonyPlayAudio()

public abstract boolean hasTelephonyPlayAudio()

Plays audio from a file in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;

Returns
Type Description
boolean

Whether the telephonyPlayAudio field is set.

hasTelephonySynthesizeSpeech()

public abstract boolean hasTelephonySynthesizeSpeech()

Synthesizes speech in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;

Returns
Type Description
boolean

Whether the telephonySynthesizeSpeech field is set.

hasTelephonyTransferCall()

public abstract boolean hasTelephonyTransferCall()

Transfers the call in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;

Returns
Type Description
boolean

Whether the telephonyTransferCall field is set.

hasText()

public abstract boolean hasText()

Returns a text response.

.google.cloud.dialogflow.v2beta1.Intent.Message.Text text = 1;

Returns
Type Description
boolean

Whether the text field is set.