- 4.61.0 (latest)
- 4.60.0
- 4.59.0
- 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.Builder extends GeneratedMessageV3.Builder<Intent.Message.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Intent.Message.BuilderImplements
Intent.MessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Intent.Message.Builder |
build()
public Intent.Message build()
Type | Description |
Intent.Message |
buildPartial()
public Intent.Message buildPartial()
Type | Description |
Intent.Message |
clear()
public Intent.Message.Builder clear()
Type | Description |
Intent.Message.Builder |
clearBasicCard()
public Intent.Message.Builder clearBasicCard()
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;
Type | Description |
Intent.Message.Builder |
clearBrowseCarouselCard()
public Intent.Message.Builder clearBrowseCarouselCard()
Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;
Type | Description |
Intent.Message.Builder |
clearCard()
public Intent.Message.Builder clearCard()
The card response.
.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;
Type | Description |
Intent.Message.Builder |
clearCarouselSelect()
public Intent.Message.Builder clearCarouselSelect()
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;
Type | Description |
Intent.Message.Builder |
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
Intent.Message.Builder |
clearImage()
public Intent.Message.Builder clearImage()
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;
Type | Description |
Intent.Message.Builder |
clearLinkOutSuggestion()
public Intent.Message.Builder clearLinkOutSuggestion()
The link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;
Type | Description |
Intent.Message.Builder |
clearListSelect()
public Intent.Message.Builder clearListSelect()
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;
Type | Description |
Intent.Message.Builder |
clearMediaContent()
public Intent.Message.Builder clearMediaContent()
The media content card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.MediaContent media_content = 24;
Type | Description |
Intent.Message.Builder |
clearMessage()
public Intent.Message.Builder clearMessage()
Type | Description |
Intent.Message.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
Intent.Message.Builder |
clearPayload()
public Intent.Message.Builder clearPayload()
A custom platform-specific response.
.google.protobuf.Struct payload = 5;
Type | Description |
Intent.Message.Builder |
clearPlatform()
public Intent.Message.Builder clearPlatform()
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.Builder |
This builder for chaining. |
clearQuickReplies()
public Intent.Message.Builder clearQuickReplies()
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;
Type | Description |
Intent.Message.Builder |
clearSimpleResponses()
public Intent.Message.Builder clearSimpleResponses()
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;
Type | Description |
Intent.Message.Builder |
clearSuggestions()
public Intent.Message.Builder clearSuggestions()
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;
Type | Description |
Intent.Message.Builder |
clearTableCard()
public Intent.Message.Builder clearTableCard()
Table card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.TableCard table_card = 23;
Type | Description |
Intent.Message.Builder |
clearText()
public Intent.Message.Builder clearText()
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;
Type | Description |
Intent.Message.Builder |
clone()
public Intent.Message.Builder clone()
Type | Description |
Intent.Message.Builder |
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. |
getBasicCardBuilder()
public Intent.Message.BasicCard.Builder getBasicCardBuilder()
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;
Type | Description |
Intent.Message.BasicCard.Builder |
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. |
getBrowseCarouselCardBuilder()
public Intent.Message.BrowseCarouselCard.Builder getBrowseCarouselCardBuilder()
Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;
Type | Description |
Intent.Message.BrowseCarouselCard.Builder |
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. |
getCardBuilder()
public Intent.Message.Card.Builder getCardBuilder()
The card response.
.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;
Type | Description |
Intent.Message.Card.Builder |
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. |
getCarouselSelectBuilder()
public Intent.Message.CarouselSelect.Builder getCarouselSelectBuilder()
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;
Type | Description |
Intent.Message.CarouselSelect.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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. |
getImageBuilder()
public Intent.Message.Image.Builder getImageBuilder()
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;
Type | Description |
Intent.Message.Image.Builder |
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. |
getLinkOutSuggestionBuilder()
public Intent.Message.LinkOutSuggestion.Builder getLinkOutSuggestionBuilder()
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.Builder |
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. |
getListSelectBuilder()
public Intent.Message.ListSelect.Builder getListSelectBuilder()
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;
Type | Description |
Intent.Message.ListSelect.Builder |
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. |
getMediaContentBuilder()
public Intent.Message.MediaContent.Builder getMediaContentBuilder()
The media content card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.MediaContent media_content = 24;
Type | Description |
Intent.Message.MediaContent.Builder |
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 |
getPayload()
public Struct getPayload()
A custom platform-specific response.
.google.protobuf.Struct payload = 5;
Type | Description |
Struct |
The payload. |
getPayloadBuilder()
public Struct.Builder getPayloadBuilder()
A custom platform-specific response.
.google.protobuf.Struct payload = 5;
Type | Description |
Builder |
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. |
getQuickRepliesBuilder()
public Intent.Message.QuickReplies.Builder getQuickRepliesBuilder()
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;
Type | Description |
Intent.Message.QuickReplies.Builder |
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 |
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. |
getSimpleResponsesBuilder()
public Intent.Message.SimpleResponses.Builder getSimpleResponsesBuilder()
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.Builder |
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. |
getSuggestionsBuilder()
public Intent.Message.Suggestions.Builder getSuggestionsBuilder()
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;
Type | Description |
Intent.Message.Suggestions.Builder |
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. |
getTableCardBuilder()
public Intent.Message.TableCard.Builder getTableCardBuilder()
Table card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.TableCard table_card = 23;
Type | Description |
Intent.Message.TableCard.Builder |
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. |
getTextBuilder()
public Intent.Message.Text.Builder getTextBuilder()
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;
Type | Description |
Intent.Message.Text.Builder |
getTextOrBuilder()
public Intent.Message.TextOrBuilder getTextOrBuilder()
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;
Type | Description |
Intent.Message.TextOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeBasicCard(Intent.Message.BasicCard value)
public Intent.Message.Builder mergeBasicCard(Intent.Message.BasicCard value)
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;
Name | Description |
value |
Intent.Message.BasicCard |
Type | Description |
Intent.Message.Builder |
mergeBrowseCarouselCard(Intent.Message.BrowseCarouselCard value)
public Intent.Message.Builder mergeBrowseCarouselCard(Intent.Message.BrowseCarouselCard value)
Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;
Name | Description |
value |
Intent.Message.BrowseCarouselCard |
Type | Description |
Intent.Message.Builder |
mergeCard(Intent.Message.Card value)
public Intent.Message.Builder mergeCard(Intent.Message.Card value)
The card response.
.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;
Name | Description |
value |
Intent.Message.Card |
Type | Description |
Intent.Message.Builder |
mergeCarouselSelect(Intent.Message.CarouselSelect value)
public Intent.Message.Builder mergeCarouselSelect(Intent.Message.CarouselSelect value)
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;
Name | Description |
value |
Intent.Message.CarouselSelect |
Type | Description |
Intent.Message.Builder |
mergeFrom(Intent.Message other)
public Intent.Message.Builder mergeFrom(Intent.Message other)
Name | Description |
other |
Intent.Message |
Type | Description |
Intent.Message.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Message.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Intent.Message.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Intent.Message.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
Intent.Message.Builder |
mergeImage(Intent.Message.Image value)
public Intent.Message.Builder mergeImage(Intent.Message.Image value)
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;
Name | Description |
value |
Intent.Message.Image |
Type | Description |
Intent.Message.Builder |
mergeLinkOutSuggestion(Intent.Message.LinkOutSuggestion value)
public Intent.Message.Builder mergeLinkOutSuggestion(Intent.Message.LinkOutSuggestion value)
The link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;
Name | Description |
value |
Intent.Message.LinkOutSuggestion |
Type | Description |
Intent.Message.Builder |
mergeListSelect(Intent.Message.ListSelect value)
public Intent.Message.Builder mergeListSelect(Intent.Message.ListSelect value)
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;
Name | Description |
value |
Intent.Message.ListSelect |
Type | Description |
Intent.Message.Builder |
mergeMediaContent(Intent.Message.MediaContent value)
public Intent.Message.Builder mergeMediaContent(Intent.Message.MediaContent value)
The media content card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.MediaContent media_content = 24;
Name | Description |
value |
Intent.Message.MediaContent |
Type | Description |
Intent.Message.Builder |
mergePayload(Struct value)
public Intent.Message.Builder mergePayload(Struct value)
A custom platform-specific response.
.google.protobuf.Struct payload = 5;
Name | Description |
value |
Struct |
Type | Description |
Intent.Message.Builder |
mergeQuickReplies(Intent.Message.QuickReplies value)
public Intent.Message.Builder mergeQuickReplies(Intent.Message.QuickReplies value)
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;
Name | Description |
value |
Intent.Message.QuickReplies |
Type | Description |
Intent.Message.Builder |
mergeSimpleResponses(Intent.Message.SimpleResponses value)
public Intent.Message.Builder mergeSimpleResponses(Intent.Message.SimpleResponses value)
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;
Name | Description |
value |
Intent.Message.SimpleResponses |
Type | Description |
Intent.Message.Builder |
mergeSuggestions(Intent.Message.Suggestions value)
public Intent.Message.Builder mergeSuggestions(Intent.Message.Suggestions value)
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;
Name | Description |
value |
Intent.Message.Suggestions |
Type | Description |
Intent.Message.Builder |
mergeTableCard(Intent.Message.TableCard value)
public Intent.Message.Builder mergeTableCard(Intent.Message.TableCard value)
Table card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.TableCard table_card = 23;
Name | Description |
value |
Intent.Message.TableCard |
Type | Description |
Intent.Message.Builder |
mergeText(Intent.Message.Text value)
public Intent.Message.Builder mergeText(Intent.Message.Text value)
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;
Name | Description |
value |
Intent.Message.Text |
Type | Description |
Intent.Message.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Intent.Message.Builder |
setBasicCard(Intent.Message.BasicCard value)
public Intent.Message.Builder setBasicCard(Intent.Message.BasicCard value)
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;
Name | Description |
value |
Intent.Message.BasicCard |
Type | Description |
Intent.Message.Builder |
setBasicCard(Intent.Message.BasicCard.Builder builderForValue)
public Intent.Message.Builder setBasicCard(Intent.Message.BasicCard.Builder builderForValue)
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;
Name | Description |
builderForValue |
Intent.Message.BasicCard.Builder |
Type | Description |
Intent.Message.Builder |
setBrowseCarouselCard(Intent.Message.BrowseCarouselCard value)
public Intent.Message.Builder setBrowseCarouselCard(Intent.Message.BrowseCarouselCard value)
Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;
Name | Description |
value |
Intent.Message.BrowseCarouselCard |
Type | Description |
Intent.Message.Builder |
setBrowseCarouselCard(Intent.Message.BrowseCarouselCard.Builder builderForValue)
public Intent.Message.Builder setBrowseCarouselCard(Intent.Message.BrowseCarouselCard.Builder builderForValue)
Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;
Name | Description |
builderForValue |
Intent.Message.BrowseCarouselCard.Builder |
Type | Description |
Intent.Message.Builder |
setCard(Intent.Message.Card value)
public Intent.Message.Builder setCard(Intent.Message.Card value)
The card response.
.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;
Name | Description |
value |
Intent.Message.Card |
Type | Description |
Intent.Message.Builder |
setCard(Intent.Message.Card.Builder builderForValue)
public Intent.Message.Builder setCard(Intent.Message.Card.Builder builderForValue)
The card response.
.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;
Name | Description |
builderForValue |
Intent.Message.Card.Builder |
Type | Description |
Intent.Message.Builder |
setCarouselSelect(Intent.Message.CarouselSelect value)
public Intent.Message.Builder setCarouselSelect(Intent.Message.CarouselSelect value)
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;
Name | Description |
value |
Intent.Message.CarouselSelect |
Type | Description |
Intent.Message.Builder |
setCarouselSelect(Intent.Message.CarouselSelect.Builder builderForValue)
public Intent.Message.Builder setCarouselSelect(Intent.Message.CarouselSelect.Builder builderForValue)
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;
Name | Description |
builderForValue |
Intent.Message.CarouselSelect.Builder |
Type | Description |
Intent.Message.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Intent.Message.Builder |
setImage(Intent.Message.Image value)
public Intent.Message.Builder setImage(Intent.Message.Image value)
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;
Name | Description |
value |
Intent.Message.Image |
Type | Description |
Intent.Message.Builder |
setImage(Intent.Message.Image.Builder builderForValue)
public Intent.Message.Builder setImage(Intent.Message.Image.Builder builderForValue)
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;
Name | Description |
builderForValue |
Intent.Message.Image.Builder |
Type | Description |
Intent.Message.Builder |
setLinkOutSuggestion(Intent.Message.LinkOutSuggestion value)
public Intent.Message.Builder setLinkOutSuggestion(Intent.Message.LinkOutSuggestion value)
The link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;
Name | Description |
value |
Intent.Message.LinkOutSuggestion |
Type | Description |
Intent.Message.Builder |
setLinkOutSuggestion(Intent.Message.LinkOutSuggestion.Builder builderForValue)
public Intent.Message.Builder setLinkOutSuggestion(Intent.Message.LinkOutSuggestion.Builder builderForValue)
The link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;
Name | Description |
builderForValue |
Intent.Message.LinkOutSuggestion.Builder |
Type | Description |
Intent.Message.Builder |
setListSelect(Intent.Message.ListSelect value)
public Intent.Message.Builder setListSelect(Intent.Message.ListSelect value)
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;
Name | Description |
value |
Intent.Message.ListSelect |
Type | Description |
Intent.Message.Builder |
setListSelect(Intent.Message.ListSelect.Builder builderForValue)
public Intent.Message.Builder setListSelect(Intent.Message.ListSelect.Builder builderForValue)
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;
Name | Description |
builderForValue |
Intent.Message.ListSelect.Builder |
Type | Description |
Intent.Message.Builder |
setMediaContent(Intent.Message.MediaContent value)
public Intent.Message.Builder setMediaContent(Intent.Message.MediaContent value)
The media content card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.MediaContent media_content = 24;
Name | Description |
value |
Intent.Message.MediaContent |
Type | Description |
Intent.Message.Builder |
setMediaContent(Intent.Message.MediaContent.Builder builderForValue)
public Intent.Message.Builder setMediaContent(Intent.Message.MediaContent.Builder builderForValue)
The media content card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.MediaContent media_content = 24;
Name | Description |
builderForValue |
Intent.Message.MediaContent.Builder |
Type | Description |
Intent.Message.Builder |
setPayload(Struct value)
public Intent.Message.Builder setPayload(Struct value)
A custom platform-specific response.
.google.protobuf.Struct payload = 5;
Name | Description |
value |
Struct |
Type | Description |
Intent.Message.Builder |
setPayload(Struct.Builder builderForValue)
public Intent.Message.Builder setPayload(Struct.Builder builderForValue)
A custom platform-specific response.
.google.protobuf.Struct payload = 5;
Name | Description |
builderForValue |
Builder |
Type | Description |
Intent.Message.Builder |
setPlatform(Intent.Message.Platform value)
public Intent.Message.Builder setPlatform(Intent.Message.Platform value)
Optional. The platform that this message is intended for.
.google.cloud.dialogflow.v2.Intent.Message.Platform platform = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
Intent.Message.Platform The platform to set. |
Type | Description |
Intent.Message.Builder |
This builder for chaining. |
setPlatformValue(int value)
public Intent.Message.Builder setPlatformValue(int value)
Optional. The platform that this message is intended for.
.google.cloud.dialogflow.v2.Intent.Message.Platform platform = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
int The enum numeric value on the wire for platform to set. |
Type | Description |
Intent.Message.Builder |
This builder for chaining. |
setQuickReplies(Intent.Message.QuickReplies value)
public Intent.Message.Builder setQuickReplies(Intent.Message.QuickReplies value)
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;
Name | Description |
value |
Intent.Message.QuickReplies |
Type | Description |
Intent.Message.Builder |
setQuickReplies(Intent.Message.QuickReplies.Builder builderForValue)
public Intent.Message.Builder setQuickReplies(Intent.Message.QuickReplies.Builder builderForValue)
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;
Name | Description |
builderForValue |
Intent.Message.QuickReplies.Builder |
Type | Description |
Intent.Message.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
Intent.Message.Builder |
setSimpleResponses(Intent.Message.SimpleResponses value)
public Intent.Message.Builder setSimpleResponses(Intent.Message.SimpleResponses value)
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;
Name | Description |
value |
Intent.Message.SimpleResponses |
Type | Description |
Intent.Message.Builder |
setSimpleResponses(Intent.Message.SimpleResponses.Builder builderForValue)
public Intent.Message.Builder setSimpleResponses(Intent.Message.SimpleResponses.Builder builderForValue)
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;
Name | Description |
builderForValue |
Intent.Message.SimpleResponses.Builder |
Type | Description |
Intent.Message.Builder |
setSuggestions(Intent.Message.Suggestions value)
public Intent.Message.Builder setSuggestions(Intent.Message.Suggestions value)
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;
Name | Description |
value |
Intent.Message.Suggestions |
Type | Description |
Intent.Message.Builder |
setSuggestions(Intent.Message.Suggestions.Builder builderForValue)
public Intent.Message.Builder setSuggestions(Intent.Message.Suggestions.Builder builderForValue)
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;
Name | Description |
builderForValue |
Intent.Message.Suggestions.Builder |
Type | Description |
Intent.Message.Builder |
setTableCard(Intent.Message.TableCard value)
public Intent.Message.Builder setTableCard(Intent.Message.TableCard value)
Table card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.TableCard table_card = 23;
Name | Description |
value |
Intent.Message.TableCard |
Type | Description |
Intent.Message.Builder |
setTableCard(Intent.Message.TableCard.Builder builderForValue)
public Intent.Message.Builder setTableCard(Intent.Message.TableCard.Builder builderForValue)
Table card for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.TableCard table_card = 23;
Name | Description |
builderForValue |
Intent.Message.TableCard.Builder |
Type | Description |
Intent.Message.Builder |
setText(Intent.Message.Text value)
public Intent.Message.Builder setText(Intent.Message.Text value)
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;
Name | Description |
value |
Intent.Message.Text |
Type | Description |
Intent.Message.Builder |
setText(Intent.Message.Text.Builder builderForValue)
public Intent.Message.Builder setText(Intent.Message.Text.Builder builderForValue)
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;
Name | Description |
builderForValue |
Intent.Message.Text.Builder |
Type | Description |
Intent.Message.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Intent.Message.Builder |