- 4.59.0 (latest)
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class Intent.Message extends GeneratedMessageV3 implements Intent.MessageOrBuilder
A rich response message.
Corresponds to the intent Response
field in the Dialogflow console.
For more information, see
Rich response
messages.
Protobuf type google.cloud.dialogflow.v2.Intent.Message
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Intent.MessageImplements
Intent.MessageOrBuilderStatic Fields
BASIC_CARD_FIELD_NUMBER
public static final int BASIC_CARD_FIELD_NUMBER
Type | Description |
int |
BROWSE_CAROUSEL_CARD_FIELD_NUMBER
public static final int BROWSE_CAROUSEL_CARD_FIELD_NUMBER
Type | Description |
int |
CARD_FIELD_NUMBER
public static final int CARD_FIELD_NUMBER
Type | Description |
int |
CAROUSEL_SELECT_FIELD_NUMBER
public static final int CAROUSEL_SELECT_FIELD_NUMBER
Type | Description |
int |
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER
Type | Description |
int |
LINK_OUT_SUGGESTION_FIELD_NUMBER
public static final int LINK_OUT_SUGGESTION_FIELD_NUMBER
Type | Description |
int |
LIST_SELECT_FIELD_NUMBER
public static final int LIST_SELECT_FIELD_NUMBER
Type | Description |
int |
MEDIA_CONTENT_FIELD_NUMBER
public static final int MEDIA_CONTENT_FIELD_NUMBER
Type | Description |
int |
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
Type | Description |
int |
PLATFORM_FIELD_NUMBER
public static final int PLATFORM_FIELD_NUMBER
Type | Description |
int |
QUICK_REPLIES_FIELD_NUMBER
public static final int QUICK_REPLIES_FIELD_NUMBER
Type | Description |
int |
SIMPLE_RESPONSES_FIELD_NUMBER
public static final int SIMPLE_RESPONSES_FIELD_NUMBER
Type | Description |
int |
SUGGESTIONS_FIELD_NUMBER
public static final int SUGGESTIONS_FIELD_NUMBER
Type | Description |
int |
TABLE_CARD_FIELD_NUMBER
public static final int TABLE_CARD_FIELD_NUMBER
Type | Description |
int |
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Intent.Message getDefaultInstance()
Type | Description |
Intent.Message |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Intent.Message.Builder newBuilder()
Type | Description |
Intent.Message.Builder |
newBuilder(Intent.Message prototype)
public static Intent.Message.Builder newBuilder(Intent.Message prototype)
Name | Description |
prototype | Intent.Message |
Type | Description |
Intent.Message.Builder |
parseDelimitedFrom(InputStream input)
public static Intent.Message parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Intent.Message |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Intent.Message |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Intent.Message parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Intent.Message |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Intent.Message |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Intent.Message parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Intent.Message |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Intent.Message |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Intent.Message parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Intent.Message |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Intent.Message |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Intent.Message parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Intent.Message |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Intent.Message |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Intent.Message parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Intent.Message |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Intent.Message |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Intent.Message> parser()
Type | Description |
Parser<Message> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getBasicCard()
public Intent.Message.BasicCard getBasicCard()
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;
Type | Description |
Intent.Message.BasicCard | The basicCard. |
getBasicCardOrBuilder()
public Intent.Message.BasicCardOrBuilder getBasicCardOrBuilder()
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;
Type | Description |
Intent.Message.BasicCardOrBuilder |
getBrowseCarouselCard()
public Intent.Message.BrowseCarouselCard getBrowseCarouselCard()
Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;
Type | Description |
Intent.Message.BrowseCarouselCard | The browseCarouselCard. |
getBrowseCarouselCardOrBuilder()
public Intent.Message.BrowseCarouselCardOrBuilder getBrowseCarouselCardOrBuilder()
Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;
Type | Description |
Intent.Message.BrowseCarouselCardOrBuilder |
getCard()
public Intent.Message.Card getCard()
The card response.
.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;
Type | Description |
Intent.Message.Card | The card. |
getCardOrBuilder()
public Intent.Message.CardOrBuilder getCardOrBuilder()
The card response.
.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;
Type | Description |
Intent.Message.CardOrBuilder |
getCarouselSelect()
public Intent.Message.CarouselSelect getCarouselSelect()
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;
Type | Description |
Intent.Message.CarouselSelect | The carouselSelect. |
getCarouselSelectOrBuilder()
public Intent.Message.CarouselSelectOrBuilder getCarouselSelectOrBuilder()
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;
Type | Description |
Intent.Message.CarouselSelectOrBuilder |
getDefaultInstanceForType()
public Intent.Message getDefaultInstanceForType()
Type | Description |
Intent.Message |
getImage()
public Intent.Message.Image getImage()
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;
Type | Description |
Intent.Message.Image | The image. |
getImageOrBuilder()
public Intent.Message.ImageOrBuilder getImageOrBuilder()
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;
Type | Description |
Intent.Message.ImageOrBuilder |
getLinkOutSuggestion()
public Intent.Message.LinkOutSuggestion getLinkOutSuggestion()
The link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;
Type | Description |
Intent.Message.LinkOutSuggestion | The linkOutSuggestion. |
getLinkOutSuggestionOrBuilder()
public Intent.Message.LinkOutSuggestionOrBuilder getLinkOutSuggestionOrBuilder()
The link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;
Type | Description |
Intent.Message.LinkOutSuggestionOrBuilder |
getListSelect()
public Intent.Message.ListSelect getListSelect()
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;
Type | Description |
Intent.Message.ListSelect | The listSelect. |
getListSelectOrBuilder()
public Intent.Message.ListSelectOrBuilder getListSelectOrBuilder()
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;
Type | Description |
Intent.Message.ListSelectOrBuilder |
getMediaContent()
public Intent.Message.MediaContent getMediaContent()
The media content card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.MediaContent media_content = 24;
Type | Description |
Intent.Message.MediaContent | The mediaContent. |
getMediaContentOrBuilder()
public Intent.Message.MediaContentOrBuilder getMediaContentOrBuilder()
The media content card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.MediaContent media_content = 24;
Type | Description |
Intent.Message.MediaContentOrBuilder |
getMessageCase()
public Intent.Message.MessageCase getMessageCase()
Type | Description |
Intent.Message.MessageCase |
getParserForType()
public Parser<Intent.Message> getParserForType()
Type | Description |
Parser<Message> |
getPayload()
public Struct getPayload()
A custom platform-specific response.
.google.protobuf.Struct payload = 5;
Type | Description |
Struct | The payload. |
getPayloadOrBuilder()
public StructOrBuilder getPayloadOrBuilder()
A custom platform-specific response.
.google.protobuf.Struct payload = 5;
Type | Description |
StructOrBuilder |
getPlatform()
public 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];
Type | Description |
Intent.Message.Platform | The platform. |
getPlatformValue()
public 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];
Type | Description |
int | The enum numeric value on the wire for platform. |
getQuickReplies()
public Intent.Message.QuickReplies getQuickReplies()
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;
Type | Description |
Intent.Message.QuickReplies | The quickReplies. |
getQuickRepliesOrBuilder()
public Intent.Message.QuickRepliesOrBuilder getQuickRepliesOrBuilder()
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;
Type | Description |
Intent.Message.QuickRepliesOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getSimpleResponses()
public Intent.Message.SimpleResponses getSimpleResponses()
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;
Type | Description |
Intent.Message.SimpleResponses | The simpleResponses. |
getSimpleResponsesOrBuilder()
public Intent.Message.SimpleResponsesOrBuilder getSimpleResponsesOrBuilder()
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;
Type | Description |
Intent.Message.SimpleResponsesOrBuilder |
getSuggestions()
public Intent.Message.Suggestions getSuggestions()
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;
Type | Description |
Intent.Message.Suggestions | The suggestions. |
getSuggestionsOrBuilder()
public Intent.Message.SuggestionsOrBuilder getSuggestionsOrBuilder()
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;
Type | Description |
Intent.Message.SuggestionsOrBuilder |
getTableCard()
public Intent.Message.TableCard getTableCard()
Table card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.TableCard table_card = 23;
Type | Description |
Intent.Message.TableCard | The tableCard. |
getTableCardOrBuilder()
public Intent.Message.TableCardOrBuilder getTableCardOrBuilder()
Table card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.TableCard table_card = 23;
Type | Description |
Intent.Message.TableCardOrBuilder |
getText()
public Intent.Message.Text getText()
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;
Type | Description |
Intent.Message.Text | The text. |
getTextOrBuilder()
public Intent.Message.TextOrBuilder getTextOrBuilder()
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;
Type | Description |
Intent.Message.TextOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasBasicCard()
public boolean hasBasicCard()
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;
Type | Description |
boolean | Whether the basicCard field is set. |
hasBrowseCarouselCard()
public boolean hasBrowseCarouselCard()
Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;
Type | Description |
boolean | Whether the browseCarouselCard field is set. |
hasCard()
public boolean hasCard()
The card response.
.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;
Type | Description |
boolean | Whether the card field is set. |
hasCarouselSelect()
public boolean hasCarouselSelect()
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;
Type | Description |
boolean | Whether the carouselSelect field is set. |
hasImage()
public boolean hasImage()
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;
Type | Description |
boolean | Whether the image field is set. |
hasLinkOutSuggestion()
public boolean hasLinkOutSuggestion()
The link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;
Type | Description |
boolean | Whether the linkOutSuggestion field is set. |
hasListSelect()
public boolean hasListSelect()
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;
Type | Description |
boolean | Whether the listSelect field is set. |
hasMediaContent()
public boolean hasMediaContent()
The media content card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.MediaContent media_content = 24;
Type | Description |
boolean | Whether the mediaContent field is set. |
hasPayload()
public boolean hasPayload()
A custom platform-specific response.
.google.protobuf.Struct payload = 5;
Type | Description |
boolean | Whether the payload field is set. |
hasQuickReplies()
public boolean hasQuickReplies()
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;
Type | Description |
boolean | Whether the quickReplies field is set. |
hasSimpleResponses()
public boolean hasSimpleResponses()
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;
Type | Description |
boolean | Whether the simpleResponses field is set. |
hasSuggestions()
public boolean hasSuggestions()
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;
Type | Description |
boolean | Whether the suggestions field is set. |
hasTableCard()
public boolean hasTableCard()
Table card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.TableCard table_card = 23;
Type | Description |
boolean | Whether the tableCard field is set. |
hasText()
public boolean hasText()
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;
Type | Description |
boolean | Whether the text field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Intent.Message.Builder newBuilderForType()
Type | Description |
Intent.Message.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Intent.Message.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Intent.Message.Builder toBuilder()
Type | Description |
Intent.Message.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |