Class Intent.Message.Builder (4.59.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Intent.Message.Builder
Overrides

build()

public Intent.Message build()
Returns
Type Description
Intent.Message

buildPartial()

public Intent.Message buildPartial()
Returns
Type Description
Intent.Message

clear()

public Intent.Message.Builder clear()
Returns
Type Description
Intent.Message.Builder
Overrides

clearBasicCard()

public Intent.Message.Builder clearBasicCard()

The basic card response for Actions on Google.

.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;

Returns
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;

Returns
Type Description
Intent.Message.Builder

clearCard()

public Intent.Message.Builder clearCard()

The card response.

.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;

Returns
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;

Returns
Type Description
Intent.Message.Builder

clearField(Descriptors.FieldDescriptor field)

public Intent.Message.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Intent.Message.Builder
Overrides

clearImage()

public Intent.Message.Builder clearImage()

The image response.

.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
Intent.Message.Builder

clearMessage()

public Intent.Message.Builder clearMessage()
Returns
Type Description
Intent.Message.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Intent.Message.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Intent.Message.Builder
Overrides

clearPayload()

public Intent.Message.Builder clearPayload()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
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];

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
Intent.Message.Builder

clearText()

public Intent.Message.Builder clearText()

The text response.

.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;

Returns
Type Description
Intent.Message.Builder

clone()

public Intent.Message.Builder clone()
Returns
Type Description
Intent.Message.Builder
Overrides

getBasicCard()

public Intent.Message.BasicCard getBasicCard()

The basic card response for Actions on Google.

.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
Intent.Message.BrowseCarouselCardOrBuilder

getCard()

public Intent.Message.Card getCard()

The card response.

.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;

Returns
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;

Returns
Type Description
Intent.Message.Card.Builder

getCardOrBuilder()

public Intent.Message.CardOrBuilder getCardOrBuilder()

The card response.

.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
Intent.Message.CarouselSelectOrBuilder

getDefaultInstanceForType()

public Intent.Message getDefaultInstanceForType()
Returns
Type Description
Intent.Message

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getImage()

public Intent.Message.Image getImage()

The image response.

.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;

Returns
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;

Returns
Type Description
Intent.Message.Image.Builder

getImageOrBuilder()

public Intent.Message.ImageOrBuilder getImageOrBuilder()

The image response.

.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
Intent.Message.MediaContentOrBuilder

getMessageCase()

public Intent.Message.MessageCase getMessageCase()
Returns
Type Description
Intent.Message.MessageCase

getPayload()

public Struct getPayload()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
Type Description
Struct

The payload.

getPayloadBuilder()

public Struct.Builder getPayloadBuilder()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
Type Description
Builder

getPayloadOrBuilder()

public StructOrBuilder getPayloadOrBuilder()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
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];

Returns
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];

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
Intent.Message.TableCardOrBuilder

getText()

public Intent.Message.Text getText()

The text response.

.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;

Returns
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;

Returns
Type Description
Intent.Message.Text.Builder

getTextOrBuilder()

public Intent.Message.TextOrBuilder getTextOrBuilder()

The text response.

.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
boolean

Whether the mediaContent field is set.

hasPayload()

public boolean hasPayload()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
boolean

Whether the text field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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;

Parameter
Name Description
value Intent.Message.BasicCard
Returns
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;

Parameter
Name Description
value Intent.Message.BrowseCarouselCard
Returns
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;

Parameter
Name Description
value Intent.Message.Card
Returns
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;

Parameter
Name Description
value Intent.Message.CarouselSelect
Returns
Type Description
Intent.Message.Builder

mergeFrom(Intent.Message other)

public Intent.Message.Builder mergeFrom(Intent.Message other)
Parameter
Name Description
other Intent.Message
Returns
Type Description
Intent.Message.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Intent.Message.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Intent.Message.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Intent.Message.Builder
Overrides

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;

Parameter
Name Description
value Intent.Message.Image
Returns
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;

Parameter
Name Description
value Intent.Message.LinkOutSuggestion
Returns
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;

Parameter
Name Description
value Intent.Message.ListSelect
Returns
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;

Parameter
Name Description
value Intent.Message.MediaContent
Returns
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;

Parameter
Name Description
value Struct
Returns
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;

Parameter
Name Description
value Intent.Message.QuickReplies
Returns
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;

Parameter
Name Description
value Intent.Message.SimpleResponses
Returns
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;

Parameter
Name Description
value Intent.Message.Suggestions
Returns
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;

Parameter
Name Description
value Intent.Message.TableCard
Returns
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;

Parameter
Name Description
value Intent.Message.Text
Returns
Type Description
Intent.Message.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Intent.Message.Builder
Overrides

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;

Parameter
Name Description
value Intent.Message.BasicCard
Returns
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;

Parameter
Name Description
builderForValue Intent.Message.BasicCard.Builder
Returns
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;

Parameter
Name Description
value Intent.Message.BrowseCarouselCard
Returns
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;

Parameter
Name Description
builderForValue Intent.Message.BrowseCarouselCard.Builder
Returns
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;

Parameter
Name Description
value Intent.Message.Card
Returns
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;

Parameter
Name Description
builderForValue Intent.Message.Card.Builder
Returns
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;

Parameter
Name Description
value Intent.Message.CarouselSelect
Returns
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;

Parameter
Name Description
builderForValue Intent.Message.CarouselSelect.Builder
Returns
Type Description
Intent.Message.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Intent.Message.Builder
Overrides

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;

Parameter
Name Description
value Intent.Message.Image
Returns
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;

Parameter
Name Description
builderForValue Intent.Message.Image.Builder
Returns
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;

Parameter
Name Description
value Intent.Message.LinkOutSuggestion
Returns
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;

Parameter
Name Description
builderForValue Intent.Message.LinkOutSuggestion.Builder
Returns
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;

Parameter
Name Description
value Intent.Message.ListSelect
Returns
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;

Parameter
Name Description
builderForValue Intent.Message.ListSelect.Builder
Returns
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;

Parameter
Name Description
value Intent.Message.MediaContent
Returns
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;

Parameter
Name Description
builderForValue Intent.Message.MediaContent.Builder
Returns
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;

Parameter
Name Description
value Struct
Returns
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;

Parameter
Name Description
builderForValue Builder
Returns
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];

Parameter
Name Description
value Intent.Message.Platform

The platform to set.

Returns
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];

Parameter
Name Description
value int

The enum numeric value on the wire for platform to set.

Returns
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;

Parameter
Name Description
value Intent.Message.QuickReplies
Returns
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;

Parameter
Name Description
builderForValue Intent.Message.QuickReplies.Builder
Returns
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)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Intent.Message.Builder
Overrides

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;

Parameter
Name Description
value Intent.Message.SimpleResponses
Returns
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;

Parameter
Name Description
builderForValue Intent.Message.SimpleResponses.Builder
Returns
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;

Parameter
Name Description
value Intent.Message.Suggestions
Returns
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;

Parameter
Name Description
builderForValue Intent.Message.Suggestions.Builder
Returns
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;

Parameter
Name Description
value Intent.Message.TableCard
Returns
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;

Parameter
Name Description
builderForValue Intent.Message.TableCard.Builder
Returns
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;

Parameter
Name Description
value Intent.Message.Text
Returns
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;

Parameter
Name Description
builderForValue Intent.Message.Text.Builder
Returns
Type Description
Intent.Message.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Intent.Message.Builder
Overrides