Package com.google.cloud.dialogflow.v2
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()
The basic card response for Actions on Google.Intent.Message.BasicCardOrBuilder
getBasicCardOrBuilder()
The basic card response 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()
The card response.Intent.Message.CardOrBuilder
getCardOrBuilder()
The card response.Intent.Message.CarouselSelect
getCarouselSelect()
The carousel card response for Actions on Google.Intent.Message.CarouselSelectOrBuilder
getCarouselSelectOrBuilder()
The carousel card response for Actions on Google.Intent.Message.Image
getImage()
The image response.Intent.Message.ImageOrBuilder
getImageOrBuilder()
The image response.Intent.Message.LinkOutSuggestion
getLinkOutSuggestion()
The link out suggestion chip for Actions on Google.Intent.Message.LinkOutSuggestionOrBuilder
getLinkOutSuggestionOrBuilder()
The link out suggestion chip for Actions on Google.Intent.Message.ListSelect
getListSelect()
The list card response for Actions on Google.Intent.Message.ListSelectOrBuilder
getListSelectOrBuilder()
The list card response 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()
The quick replies response.Intent.Message.QuickRepliesOrBuilder
getQuickRepliesOrBuilder()
The quick replies response.Intent.Message.SimpleResponses
getSimpleResponses()
The voice and text-only responses for Actions on Google.Intent.Message.SimpleResponsesOrBuilder
getSimpleResponsesOrBuilder()
The voice and text-only responses for Actions on Google.Intent.Message.Suggestions
getSuggestions()
The suggestion chips for Actions on Google.Intent.Message.SuggestionsOrBuilder
getSuggestionsOrBuilder()
The 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.Text
getText()
The text response.Intent.Message.TextOrBuilder
getTextOrBuilder()
The text response.boolean
hasBasicCard()
The basic card response for Actions on Google.boolean
hasBrowseCarouselCard()
Browse carousel card for Actions on Google.boolean
hasCard()
The card response.boolean
hasCarouselSelect()
The carousel card response for Actions on Google.boolean
hasImage()
The image response.boolean
hasLinkOutSuggestion()
The link out suggestion chip for Actions on Google.boolean
hasListSelect()
The list card response for Actions on Google.boolean
hasMediaContent()
The media content card for Actions on Google.boolean
hasPayload()
A custom platform-specific response.boolean
hasQuickReplies()
The quick replies response.boolean
hasSimpleResponses()
The voice and text-only responses for Actions on Google.boolean
hasSuggestions()
The suggestion chips for Actions on Google.boolean
hasTableCard()
Table card for Actions on Google.boolean
hasText()
The 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()
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;
- Returns:
- Whether the text field is set.
-
getText
Intent.Message.Text getText()
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;
- Returns:
- The text.
-
getTextOrBuilder
Intent.Message.TextOrBuilder getTextOrBuilder()
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;
-
hasImage
boolean hasImage()
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;
- Returns:
- Whether the image field is set.
-
getImage
Intent.Message.Image getImage()
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;
- Returns:
- The image.
-
getImageOrBuilder
Intent.Message.ImageOrBuilder getImageOrBuilder()
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;
-
hasQuickReplies
boolean hasQuickReplies()
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;
- Returns:
- Whether the quickReplies field is set.
-
getQuickReplies
Intent.Message.QuickReplies getQuickReplies()
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;
- Returns:
- The quickReplies.
-
getQuickRepliesOrBuilder
Intent.Message.QuickRepliesOrBuilder getQuickRepliesOrBuilder()
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;
-
hasCard
boolean hasCard()
The card response.
.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;
- Returns:
- Whether the card field is set.
-
getCard
Intent.Message.Card getCard()
The card response.
.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;
- Returns:
- The card.
-
getCardOrBuilder
Intent.Message.CardOrBuilder getCardOrBuilder()
The card response.
.google.cloud.dialogflow.v2.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()
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;
- Returns:
- Whether the simpleResponses field is set.
-
getSimpleResponses
Intent.Message.SimpleResponses getSimpleResponses()
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;
- Returns:
- The simpleResponses.
-
getSimpleResponsesOrBuilder
Intent.Message.SimpleResponsesOrBuilder getSimpleResponsesOrBuilder()
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;
-
hasBasicCard
boolean hasBasicCard()
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;
- Returns:
- Whether the basicCard field is set.
-
getBasicCard
Intent.Message.BasicCard getBasicCard()
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;
- Returns:
- The basicCard.
-
getBasicCardOrBuilder
Intent.Message.BasicCardOrBuilder getBasicCardOrBuilder()
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;
-
hasSuggestions
boolean hasSuggestions()
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;
- Returns:
- Whether the suggestions field is set.
-
getSuggestions
Intent.Message.Suggestions getSuggestions()
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;
- Returns:
- The suggestions.
-
getSuggestionsOrBuilder
Intent.Message.SuggestionsOrBuilder getSuggestionsOrBuilder()
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;
-
hasLinkOutSuggestion
boolean hasLinkOutSuggestion()
The link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;
- Returns:
- Whether the linkOutSuggestion field is set.
-
getLinkOutSuggestion
Intent.Message.LinkOutSuggestion getLinkOutSuggestion()
The link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;
- Returns:
- The linkOutSuggestion.
-
getLinkOutSuggestionOrBuilder
Intent.Message.LinkOutSuggestionOrBuilder getLinkOutSuggestionOrBuilder()
The link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;
-
hasListSelect
boolean hasListSelect()
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;
- Returns:
- Whether the listSelect field is set.
-
getListSelect
Intent.Message.ListSelect getListSelect()
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;
- Returns:
- The listSelect.
-
getListSelectOrBuilder
Intent.Message.ListSelectOrBuilder getListSelectOrBuilder()
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;
-
hasCarouselSelect
boolean hasCarouselSelect()
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;
- Returns:
- Whether the carouselSelect field is set.
-
getCarouselSelect
Intent.Message.CarouselSelect getCarouselSelect()
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;
- Returns:
- The carouselSelect.
-
getCarouselSelectOrBuilder
Intent.Message.CarouselSelectOrBuilder getCarouselSelectOrBuilder()
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;
-
hasBrowseCarouselCard
boolean hasBrowseCarouselCard()
Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2.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.v2.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.v2.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;
-
hasTableCard
boolean hasTableCard()
Table card for Actions on Google.
.google.cloud.dialogflow.v2.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.v2.Intent.Message.TableCard table_card = 23;
- Returns:
- The tableCard.
-
getTableCardOrBuilder
Intent.Message.TableCardOrBuilder getTableCardOrBuilder()
Table card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.TableCard table_card = 23;
-
hasMediaContent
boolean hasMediaContent()
The media content card for Actions on Google.
.google.cloud.dialogflow.v2.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.v2.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.v2.Intent.Message.MediaContent media_content = 24;
-
getPlatformValue
int getPlatformValue()
Optional. The platform that this message is intended for.
.google.cloud.dialogflow.v2.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.v2.Intent.Message.Platform platform = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The platform.
-
getMessageCase
Intent.Message.MessageCase getMessageCase()
-
-