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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Intent.Message.BasicCard
getBasicCard()
Displays a basic card for Actions on Google.Intent.Message.BasicCardOrBuilder
getBasicCardOrBuilder()
Displays a basic card for Actions on Google.Intent.Message.BrowseCarouselCard
getBrowseCarouselCard()
Browse carousel card for Actions on Google.Intent.Message.BrowseCarouselCardOrBuilder
getBrowseCarouselCardOrBuilder()
Browse carousel card for Actions on Google.Intent.Message.Card
getCard()
Displays a card.Intent.Message.CardOrBuilder
getCardOrBuilder()
Displays a card.Intent.Message.CarouselSelect
getCarouselSelect()
Displays a carousel card for Actions on Google.Intent.Message.CarouselSelectOrBuilder
getCarouselSelectOrBuilder()
Displays a carousel card for Actions on Google.Intent.Message.Image
getImage()
Displays an image.Intent.Message.ImageOrBuilder
getImageOrBuilder()
Displays an image.Intent.Message.LinkOutSuggestion
getLinkOutSuggestion()
Displays a link out suggestion chip for Actions on Google.Intent.Message.LinkOutSuggestionOrBuilder
getLinkOutSuggestionOrBuilder()
Displays a link out suggestion chip for Actions on Google.Intent.Message.ListSelect
getListSelect()
Displays a list card for Actions on Google.Intent.Message.ListSelectOrBuilder
getListSelectOrBuilder()
Displays a list card for Actions on Google.Intent.Message.MediaContent
getMediaContent()
The media content card for Actions on Google.Intent.Message.MediaContentOrBuilder
getMediaContentOrBuilder()
The media content card for Actions on Google.Intent.Message.MessageCase
getMessageCase()
com.google.protobuf.Struct
getPayload()
A custom platform-specific response.com.google.protobuf.StructOrBuilder
getPayloadOrBuilder()
A custom platform-specific response.Intent.Message.Platform
getPlatform()
Optional.int
getPlatformValue()
Optional.Intent.Message.QuickReplies
getQuickReplies()
Displays quick replies.Intent.Message.QuickRepliesOrBuilder
getQuickRepliesOrBuilder()
Displays quick replies.Intent.Message.RbmCarouselCard
getRbmCarouselRichCard()
Rich Business Messaging (RBM) carousel rich card response.Intent.Message.RbmCarouselCardOrBuilder
getRbmCarouselRichCardOrBuilder()
Rich Business Messaging (RBM) carousel rich card response.Intent.Message.RbmStandaloneCard
getRbmStandaloneRichCard()
Standalone Rich Business Messaging (RBM) rich card response.Intent.Message.RbmStandaloneCardOrBuilder
getRbmStandaloneRichCardOrBuilder()
Standalone Rich Business Messaging (RBM) rich card response.Intent.Message.RbmText
getRbmText()
Rich Business Messaging (RBM) text response.Intent.Message.RbmTextOrBuilder
getRbmTextOrBuilder()
Rich Business Messaging (RBM) text response.Intent.Message.SimpleResponses
getSimpleResponses()
Returns a voice or text-only response for Actions on Google.Intent.Message.SimpleResponsesOrBuilder
getSimpleResponsesOrBuilder()
Returns a voice or text-only response for Actions on Google.Intent.Message.Suggestions
getSuggestions()
Displays suggestion chips for Actions on Google.Intent.Message.SuggestionsOrBuilder
getSuggestionsOrBuilder()
Displays suggestion chips for Actions on Google.Intent.Message.TableCard
getTableCard()
Table card for Actions on Google.Intent.Message.TableCardOrBuilder
getTableCardOrBuilder()
Table card for Actions on Google.Intent.Message.TelephonyPlayAudio
getTelephonyPlayAudio()
Plays audio from a file in Telephony Gateway.Intent.Message.TelephonyPlayAudioOrBuilder
getTelephonyPlayAudioOrBuilder()
Plays audio from a file in Telephony Gateway.Intent.Message.TelephonySynthesizeSpeech
getTelephonySynthesizeSpeech()
Synthesizes speech in Telephony Gateway.Intent.Message.TelephonySynthesizeSpeechOrBuilder
getTelephonySynthesizeSpeechOrBuilder()
Synthesizes speech in Telephony Gateway.Intent.Message.TelephonyTransferCall
getTelephonyTransferCall()
Transfers the call in Telephony Gateway.Intent.Message.TelephonyTransferCallOrBuilder
getTelephonyTransferCallOrBuilder()
Transfers the call in Telephony Gateway.Intent.Message.Text
getText()
Returns a text response.Intent.Message.TextOrBuilder
getTextOrBuilder()
Returns a text response.boolean
hasBasicCard()
Displays a basic card for Actions on Google.boolean
hasBrowseCarouselCard()
Browse carousel card for Actions on Google.boolean
hasCard()
Displays a card.boolean
hasCarouselSelect()
Displays a carousel card for Actions on Google.boolean
hasImage()
Displays an image.boolean
hasLinkOutSuggestion()
Displays a link out suggestion chip for Actions on Google.boolean
hasListSelect()
Displays a list card for Actions on Google.boolean
hasMediaContent()
The media content card for Actions on Google.boolean
hasPayload()
A custom platform-specific response.boolean
hasQuickReplies()
Displays quick replies.boolean
hasRbmCarouselRichCard()
Rich Business Messaging (RBM) carousel rich card response.boolean
hasRbmStandaloneRichCard()
Standalone Rich Business Messaging (RBM) rich card response.boolean
hasRbmText()
Rich Business Messaging (RBM) text response.boolean
hasSimpleResponses()
Returns a voice or text-only response for Actions on Google.boolean
hasSuggestions()
Displays suggestion chips for Actions on Google.boolean
hasTableCard()
Table card for Actions on Google.boolean
hasTelephonyPlayAudio()
Plays audio from a file in Telephony Gateway.boolean
hasTelephonySynthesizeSpeech()
Synthesizes speech in Telephony Gateway.boolean
hasTelephonyTransferCall()
Transfers the call in Telephony Gateway.boolean
hasText()
Returns a text response.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
-
-