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.BasicCardgetBasicCard()Displays a basic card for Actions on Google.Intent.Message.BasicCardOrBuildergetBasicCardOrBuilder()Displays a basic card for Actions on Google.Intent.Message.BrowseCarouselCardgetBrowseCarouselCard()Browse carousel card for Actions on Google.Intent.Message.BrowseCarouselCardOrBuildergetBrowseCarouselCardOrBuilder()Browse carousel card for Actions on Google.Intent.Message.CardgetCard()Displays a card.Intent.Message.CardOrBuildergetCardOrBuilder()Displays a card.Intent.Message.CarouselSelectgetCarouselSelect()Displays a carousel card for Actions on Google.Intent.Message.CarouselSelectOrBuildergetCarouselSelectOrBuilder()Displays a carousel card for Actions on Google.Intent.Message.ImagegetImage()Displays an image.Intent.Message.ImageOrBuildergetImageOrBuilder()Displays an image.Intent.Message.LinkOutSuggestiongetLinkOutSuggestion()Displays a link out suggestion chip for Actions on Google.Intent.Message.LinkOutSuggestionOrBuildergetLinkOutSuggestionOrBuilder()Displays a link out suggestion chip for Actions on Google.Intent.Message.ListSelectgetListSelect()Displays a list card for Actions on Google.Intent.Message.ListSelectOrBuildergetListSelectOrBuilder()Displays a list card for Actions on Google.Intent.Message.MediaContentgetMediaContent()The media content card for Actions on Google.Intent.Message.MediaContentOrBuildergetMediaContentOrBuilder()The media content card for Actions on Google.Intent.Message.MessageCasegetMessageCase()com.google.protobuf.StructgetPayload()A custom platform-specific response.com.google.protobuf.StructOrBuildergetPayloadOrBuilder()A custom platform-specific response.Intent.Message.PlatformgetPlatform()Optional.intgetPlatformValue()Optional.Intent.Message.QuickRepliesgetQuickReplies()Displays quick replies.Intent.Message.QuickRepliesOrBuildergetQuickRepliesOrBuilder()Displays quick replies.Intent.Message.RbmCarouselCardgetRbmCarouselRichCard()Rich Business Messaging (RBM) carousel rich card response.Intent.Message.RbmCarouselCardOrBuildergetRbmCarouselRichCardOrBuilder()Rich Business Messaging (RBM) carousel rich card response.Intent.Message.RbmStandaloneCardgetRbmStandaloneRichCard()Standalone Rich Business Messaging (RBM) rich card response.Intent.Message.RbmStandaloneCardOrBuildergetRbmStandaloneRichCardOrBuilder()Standalone Rich Business Messaging (RBM) rich card response.Intent.Message.RbmTextgetRbmText()Rich Business Messaging (RBM) text response.Intent.Message.RbmTextOrBuildergetRbmTextOrBuilder()Rich Business Messaging (RBM) text response.Intent.Message.SimpleResponsesgetSimpleResponses()Returns a voice or text-only response for Actions on Google.Intent.Message.SimpleResponsesOrBuildergetSimpleResponsesOrBuilder()Returns a voice or text-only response for Actions on Google.Intent.Message.SuggestionsgetSuggestions()Displays suggestion chips for Actions on Google.Intent.Message.SuggestionsOrBuildergetSuggestionsOrBuilder()Displays suggestion chips for Actions on Google.Intent.Message.TableCardgetTableCard()Table card for Actions on Google.Intent.Message.TableCardOrBuildergetTableCardOrBuilder()Table card for Actions on Google.Intent.Message.TelephonyPlayAudiogetTelephonyPlayAudio()Plays audio from a file in Telephony Gateway.Intent.Message.TelephonyPlayAudioOrBuildergetTelephonyPlayAudioOrBuilder()Plays audio from a file in Telephony Gateway.Intent.Message.TelephonySynthesizeSpeechgetTelephonySynthesizeSpeech()Synthesizes speech in Telephony Gateway.Intent.Message.TelephonySynthesizeSpeechOrBuildergetTelephonySynthesizeSpeechOrBuilder()Synthesizes speech in Telephony Gateway.Intent.Message.TelephonyTransferCallgetTelephonyTransferCall()Transfers the call in Telephony Gateway.Intent.Message.TelephonyTransferCallOrBuildergetTelephonyTransferCallOrBuilder()Transfers the call in Telephony Gateway.Intent.Message.TextgetText()Returns a text response.Intent.Message.TextOrBuildergetTextOrBuilder()Returns a text response.booleanhasBasicCard()Displays a basic card for Actions on Google.booleanhasBrowseCarouselCard()Browse carousel card for Actions on Google.booleanhasCard()Displays a card.booleanhasCarouselSelect()Displays a carousel card for Actions on Google.booleanhasImage()Displays an image.booleanhasLinkOutSuggestion()Displays a link out suggestion chip for Actions on Google.booleanhasListSelect()Displays a list card for Actions on Google.booleanhasMediaContent()The media content card for Actions on Google.booleanhasPayload()A custom platform-specific response.booleanhasQuickReplies()Displays quick replies.booleanhasRbmCarouselRichCard()Rich Business Messaging (RBM) carousel rich card response.booleanhasRbmStandaloneRichCard()Standalone Rich Business Messaging (RBM) rich card response.booleanhasRbmText()Rich Business Messaging (RBM) text response.booleanhasSimpleResponses()Returns a voice or text-only response for Actions on Google.booleanhasSuggestions()Displays suggestion chips for Actions on Google.booleanhasTableCard()Table card for Actions on Google.booleanhasTelephonyPlayAudio()Plays audio from a file in Telephony Gateway.booleanhasTelephonySynthesizeSpeech()Synthesizes speech in Telephony Gateway.booleanhasTelephonyTransferCall()Transfers the call in Telephony Gateway.booleanhasText()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()
-
-