public static interface Intent.MessageOrBuilder extends MessageOrBuilder
Modifier and Type | Method and 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.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.MessageCase |
getMessageCase() |
Struct |
getPayload()
Returns a response containing a custom, platform-specific payload.
|
StructOrBuilder |
getPayloadOrBuilder()
Returns a response containing a custom, platform-specific payload.
|
Intent.Message.Platform |
getPlatform()
Optional.
|
int |
getPlatformValue()
Optional.
|
Intent.Message.QuickReplies |
getQuickReplies()
Displays quick replies.
|
Intent.Message.QuickRepliesOrBuilder |
getQuickRepliesOrBuilder()
Displays quick replies.
|
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.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 |
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 |
hasPayload()
Returns a response containing a custom, platform-specific payload.
|
boolean |
hasQuickReplies()
Displays quick replies.
|
boolean |
hasSimpleResponses()
Returns a voice or text-only response for Actions on Google.
|
boolean |
hasSuggestions()
Displays suggestion chips for Actions on Google.
|
boolean |
hasText()
Returns a text response.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasText()
Returns a text response.
.google.cloud.dialogflow.v2beta1.Intent.Message.Text text = 1;
Intent.Message.Text getText()
Returns a text response.
.google.cloud.dialogflow.v2beta1.Intent.Message.Text text = 1;
Intent.Message.TextOrBuilder getTextOrBuilder()
Returns a text response.
.google.cloud.dialogflow.v2beta1.Intent.Message.Text text = 1;
boolean hasImage()
Displays an image.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 2;
Intent.Message.Image getImage()
Displays an image.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 2;
Intent.Message.ImageOrBuilder getImageOrBuilder()
Displays an image.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 2;
boolean hasQuickReplies()
Displays quick replies.
.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;
Intent.Message.QuickReplies getQuickReplies()
Displays quick replies.
.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;
Intent.Message.QuickRepliesOrBuilder getQuickRepliesOrBuilder()
Displays quick replies.
.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;
boolean hasCard()
Displays a card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Card card = 4;
Intent.Message.Card getCard()
Displays a card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Card card = 4;
Intent.Message.CardOrBuilder getCardOrBuilder()
Displays a card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Card card = 4;
boolean hasPayload()
Returns a response containing a custom, platform-specific payload. See the Intent.Message.Platform type for a description of the structure that may be required for your platform.
.google.protobuf.Struct payload = 5;
Struct getPayload()
Returns a response containing a custom, platform-specific payload. See the Intent.Message.Platform type for a description of the structure that may be required for your platform.
.google.protobuf.Struct payload = 5;
StructOrBuilder getPayloadOrBuilder()
Returns a response containing a custom, platform-specific payload. See the Intent.Message.Platform type for a description of the structure that may be required for your platform.
.google.protobuf.Struct payload = 5;
boolean hasSimpleResponses()
Returns a voice or text-only response for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses simple_responses = 7;
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;
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;
boolean hasBasicCard()
Displays a basic card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard basic_card = 8;
Intent.Message.BasicCard getBasicCard()
Displays a basic card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard basic_card = 8;
Intent.Message.BasicCardOrBuilder getBasicCardOrBuilder()
Displays a basic card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard basic_card = 8;
boolean hasSuggestions()
Displays suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;
Intent.Message.Suggestions getSuggestions()
Displays suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;
Intent.Message.SuggestionsOrBuilder getSuggestionsOrBuilder()
Displays suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;
boolean hasLinkOutSuggestion()
Displays a link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;
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;
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;
boolean hasListSelect()
Displays a list card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect list_select = 11;
Intent.Message.ListSelect getListSelect()
Displays a list card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect list_select = 11;
Intent.Message.ListSelectOrBuilder getListSelectOrBuilder()
Displays a list card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect list_select = 11;
boolean hasCarouselSelect()
Displays a carousel card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12;
Intent.Message.CarouselSelect getCarouselSelect()
Displays a carousel card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12;
Intent.Message.CarouselSelectOrBuilder getCarouselSelectOrBuilder()
Displays a carousel card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12;
int getPlatformValue()
Optional. The platform that this message is intended for.
.google.cloud.dialogflow.v2beta1.Intent.Message.Platform platform = 6;
Intent.Message.Platform getPlatform()
Optional. The platform that this message is intended for.
.google.cloud.dialogflow.v2beta1.Intent.Message.Platform platform = 6;
Intent.Message.MessageCase getMessageCase()