Interface Intent.MessageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Intent.Message,Intent.Message.Builder
- Enclosing class:
- Intent
public static interface Intent.MessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDisplays a basic card for Actions on Google.Displays a basic card for Actions on Google.Browse carousel card for Actions on Google.Browse carousel card for Actions on Google.getCard()Displays a card.Displays a card.Displays a carousel card for Actions on Google.Displays a carousel card for Actions on Google.getImage()Displays an image.Displays an image.Displays a link out suggestion chip for Actions on Google.Displays a link out suggestion chip for Actions on Google.Displays a list card for Actions on Google.Displays a list card for Actions on Google.The media content card for Actions on Google.The media content card for Actions on Google.com.google.protobuf.StructA custom platform-specific response.com.google.protobuf.StructOrBuilderA custom platform-specific response.Optional.intOptional.Displays quick replies.Displays quick replies.Rich Business Messaging (RBM) carousel rich card response.Rich Business Messaging (RBM) carousel rich card response.Standalone Rich Business Messaging (RBM) rich card response.Standalone Rich Business Messaging (RBM) rich card response.Rich Business Messaging (RBM) text response.Rich Business Messaging (RBM) text response.Returns a voice or text-only response for Actions on Google.Returns a voice or text-only response for Actions on Google.Displays suggestion chips for Actions on Google.Displays suggestion chips for Actions on Google.Table card for Actions on Google.Table card for Actions on Google.Plays audio from a file in Telephony Gateway.Plays audio from a file in Telephony Gateway.Synthesizes speech in Telephony Gateway.Synthesizes speech in Telephony Gateway.Transfers the call in Telephony Gateway.Transfers the call in Telephony Gateway.getText()Returns a text response.Returns a text response.booleanDisplays a basic card for Actions on Google.booleanBrowse carousel card for Actions on Google.booleanhasCard()Displays a card.booleanDisplays a carousel card for Actions on Google.booleanhasImage()Displays an image.booleanDisplays a link out suggestion chip for Actions on Google.booleanDisplays a list card for Actions on Google.booleanThe media content card for Actions on Google.booleanA custom platform-specific response.booleanDisplays quick replies.booleanRich Business Messaging (RBM) carousel rich card response.booleanStandalone Rich Business Messaging (RBM) rich card response.booleanRich Business Messaging (RBM) text response.booleanReturns a voice or text-only response for Actions on Google.booleanDisplays suggestion chips for Actions on Google.booleanTable card for Actions on Google.booleanPlays audio from a file in Telephony Gateway.booleanSynthesizes speech in Telephony Gateway.booleanTransfers the call in Telephony Gateway.booleanhasText()Returns a text response.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasText
boolean hasText()Returns a text response.
.google.cloud.dialogflow.v2beta1.Intent.Message.Text text = 1;- Returns:
- Whether the text field is set.
-
getText
Intent.Message.Text getText()Returns a text response.
.google.cloud.dialogflow.v2beta1.Intent.Message.Text text = 1;- Returns:
- The text.
-
getTextOrBuilder
Intent.Message.TextOrBuilder getTextOrBuilder()Returns a text response.
.google.cloud.dialogflow.v2beta1.Intent.Message.Text text = 1; -
hasImage
boolean hasImage()Displays an image.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 2;- Returns:
- Whether the image field is set.
-
getImage
Intent.Message.Image getImage()Displays an image.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 2;- Returns:
- The image.
-
getImageOrBuilder
Intent.Message.ImageOrBuilder getImageOrBuilder()Displays an image.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 2; -
hasQuickReplies
boolean hasQuickReplies()Displays quick replies.
.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;- Returns:
- Whether the quickReplies field is set.
-
getQuickReplies
Intent.Message.QuickReplies getQuickReplies()Displays quick replies.
.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;- Returns:
- The quickReplies.
-
getQuickRepliesOrBuilder
Intent.Message.QuickRepliesOrBuilder getQuickRepliesOrBuilder()Displays quick replies.
.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3; -
hasCard
boolean hasCard()Displays a card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Card card = 4;- Returns:
- Whether the card field is set.
-
getCard
Intent.Message.Card getCard()Displays a card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Card card = 4;- Returns:
- The card.
-
getCardOrBuilder
Intent.Message.CardOrBuilder getCardOrBuilder()Displays a card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Card card = 4; -
hasPayload
boolean hasPayload()A custom platform-specific response.
.google.protobuf.Struct payload = 5;- Returns:
- Whether the payload field is set.
-
getPayload
com.google.protobuf.Struct getPayload()A custom platform-specific response.
.google.protobuf.Struct payload = 5;- Returns:
- The payload.
-
getPayloadOrBuilder
com.google.protobuf.StructOrBuilder getPayloadOrBuilder()A custom platform-specific response.
.google.protobuf.Struct payload = 5; -
hasSimpleResponses
boolean hasSimpleResponses()Returns a voice or text-only response for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses simple_responses = 7;- Returns:
- Whether the simpleResponses field is set.
-
getSimpleResponses
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:
- The simpleResponses.
-
getSimpleResponsesOrBuilder
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; -
hasBasicCard
boolean hasBasicCard()Displays a basic card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard basic_card = 8;- Returns:
- Whether the basicCard field is set.
-
getBasicCard
Intent.Message.BasicCard getBasicCard()Displays a basic card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard basic_card = 8;- Returns:
- The basicCard.
-
getBasicCardOrBuilder
Intent.Message.BasicCardOrBuilder getBasicCardOrBuilder()Displays a basic card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard basic_card = 8; -
hasSuggestions
boolean hasSuggestions()Displays suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;- Returns:
- Whether the suggestions field is set.
-
getSuggestions
Intent.Message.Suggestions getSuggestions()Displays suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;- Returns:
- The suggestions.
-
getSuggestionsOrBuilder
Intent.Message.SuggestionsOrBuilder getSuggestionsOrBuilder()Displays suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9; -
hasLinkOutSuggestion
boolean hasLinkOutSuggestion()Displays a link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;- Returns:
- Whether the linkOutSuggestion field is set.
-
getLinkOutSuggestion
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:
- The linkOutSuggestion.
-
getLinkOutSuggestionOrBuilder
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; -
hasListSelect
boolean hasListSelect()Displays a list card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect list_select = 11;- Returns:
- Whether the listSelect field is set.
-
getListSelect
Intent.Message.ListSelect getListSelect()Displays a list card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect list_select = 11;- Returns:
- The listSelect.
-
getListSelectOrBuilder
Intent.Message.ListSelectOrBuilder getListSelectOrBuilder()Displays a list card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect list_select = 11; -
hasCarouselSelect
boolean hasCarouselSelect()Displays a carousel card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12;- Returns:
- Whether the carouselSelect field is set.
-
getCarouselSelect
Intent.Message.CarouselSelect getCarouselSelect()Displays a carousel card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12;- Returns:
- The carouselSelect.
-
getCarouselSelectOrBuilder
Intent.Message.CarouselSelectOrBuilder getCarouselSelectOrBuilder()Displays a carousel card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12; -
hasTelephonyPlayAudio
boolean hasTelephonyPlayAudio()Plays audio from a file in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;- Returns:
- Whether the telephonyPlayAudio field is set.
-
getTelephonyPlayAudio
Intent.Message.TelephonyPlayAudio getTelephonyPlayAudio()Plays audio from a file in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;- Returns:
- The telephonyPlayAudio.
-
getTelephonyPlayAudioOrBuilder
Intent.Message.TelephonyPlayAudioOrBuilder getTelephonyPlayAudioOrBuilder()Plays audio from a file in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13; -
hasTelephonySynthesizeSpeech
boolean hasTelephonySynthesizeSpeech()Synthesizes speech in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;- Returns:
- Whether the telephonySynthesizeSpeech field is set.
-
getTelephonySynthesizeSpeech
Intent.Message.TelephonySynthesizeSpeech getTelephonySynthesizeSpeech()Synthesizes speech in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;- Returns:
- The telephonySynthesizeSpeech.
-
getTelephonySynthesizeSpeechOrBuilder
Intent.Message.TelephonySynthesizeSpeechOrBuilder getTelephonySynthesizeSpeechOrBuilder()Synthesizes speech in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14; -
hasTelephonyTransferCall
boolean hasTelephonyTransferCall()Transfers the call in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;- Returns:
- Whether the telephonyTransferCall field is set.
-
getTelephonyTransferCall
Intent.Message.TelephonyTransferCall getTelephonyTransferCall()Transfers the call in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;- Returns:
- The telephonyTransferCall.
-
getTelephonyTransferCallOrBuilder
Intent.Message.TelephonyTransferCallOrBuilder getTelephonyTransferCallOrBuilder()Transfers the call in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15; -
hasRbmText
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:
- Whether the rbmText field is set.
-
getRbmText
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:
- The rbmText.
-
getRbmTextOrBuilder
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; -
hasRbmStandaloneRichCard
boolean hasRbmStandaloneRichCard()Standalone Rich Business Messaging (RBM) rich card response.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19;- Returns:
- Whether the rbmStandaloneRichCard field is set.
-
getRbmStandaloneRichCard
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:
- The rbmStandaloneRichCard.
-
getRbmStandaloneRichCardOrBuilder
Intent.Message.RbmStandaloneCardOrBuilder getRbmStandaloneRichCardOrBuilder()Standalone Rich Business Messaging (RBM) rich card response.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19; -
hasRbmCarouselRichCard
boolean hasRbmCarouselRichCard()Rich Business Messaging (RBM) carousel rich card response.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20;- Returns:
- Whether the rbmCarouselRichCard field is set.
-
getRbmCarouselRichCard
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:
- The rbmCarouselRichCard.
-
getRbmCarouselRichCardOrBuilder
Intent.Message.RbmCarouselCardOrBuilder getRbmCarouselRichCardOrBuilder()Rich Business Messaging (RBM) carousel rich card response.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20; -
hasBrowseCarouselCard
boolean hasBrowseCarouselCard()Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;- Returns:
- Whether the browseCarouselCard field is set.
-
getBrowseCarouselCard
Intent.Message.BrowseCarouselCard getBrowseCarouselCard()Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;- Returns:
- The browseCarouselCard.
-
getBrowseCarouselCardOrBuilder
Intent.Message.BrowseCarouselCardOrBuilder getBrowseCarouselCardOrBuilder()Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard browse_carousel_card = 22; -
hasTableCard
boolean hasTableCard()Table card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.TableCard table_card = 23;- Returns:
- Whether the tableCard field is set.
-
getTableCard
Intent.Message.TableCard getTableCard()Table card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.TableCard table_card = 23;- Returns:
- The tableCard.
-
getTableCardOrBuilder
Intent.Message.TableCardOrBuilder getTableCardOrBuilder()Table card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.TableCard table_card = 23; -
hasMediaContent
boolean hasMediaContent()The media content card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent media_content = 24;- Returns:
- Whether the mediaContent field is set.
-
getMediaContent
Intent.Message.MediaContent getMediaContent()The media content card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent media_content = 24;- Returns:
- The mediaContent.
-
getMediaContentOrBuilder
Intent.Message.MediaContentOrBuilder getMediaContentOrBuilder()The media content card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent media_content = 24; -
getPlatformValue
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:
- The enum numeric value on the wire for platform.
-
getPlatform
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:
- The platform.
-
getMessageCase
Intent.Message.MessageCase getMessageCase()
-