Class Intent.Message.Builder (4.5.11)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Intent.Message.Builder
Overrides

build()

public Intent.Message build()
Returns
TypeDescription
Intent.Message

buildPartial()

public Intent.Message buildPartial()
Returns
TypeDescription
Intent.Message

clear()

public Intent.Message.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Intent.Message.Builder

clearCard()

public Intent.Message.Builder clearCard()

The card response.

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

Returns
TypeDescription
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
TypeDescription
Intent.Message.Builder

clearField(Descriptors.FieldDescriptor field)

public Intent.Message.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Intent.Message.Builder
Overrides

clearImage()

public Intent.Message.Builder clearImage()

The image response.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Intent.Message.Builder

clearMessage()

public Intent.Message.Builder clearMessage()
Returns
TypeDescription
Intent.Message.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Intent.Message.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Intent.Message.Builder
Overrides

clearPayload()

public Intent.Message.Builder clearPayload()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Intent.Message.Builder

clearText()

public Intent.Message.Builder clearText()

The text response.

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

Returns
TypeDescription
Intent.Message.Builder

clone()

public Intent.Message.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Intent.Message.BrowseCarouselCardOrBuilder

getCard()

public Intent.Message.Card getCard()

The card response.

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

Returns
TypeDescription
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
TypeDescription
Intent.Message.Card.Builder

getCardOrBuilder()

public Intent.Message.CardOrBuilder getCardOrBuilder()

The card response.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Intent.Message.CarouselSelectOrBuilder

getDefaultInstanceForType()

public Intent.Message getDefaultInstanceForType()
Returns
TypeDescription
Intent.Message

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImage()

public Intent.Message.Image getImage()

The image response.

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

Returns
TypeDescription
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
TypeDescription
Intent.Message.Image.Builder

getImageOrBuilder()

public Intent.Message.ImageOrBuilder getImageOrBuilder()

The image response.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Intent.Message.MediaContentOrBuilder

getMessageCase()

public Intent.Message.MessageCase getMessageCase()
Returns
TypeDescription
Intent.Message.MessageCase

getPayload()

public Struct getPayload()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
TypeDescription
Struct

The payload.

getPayloadBuilder()

public Struct.Builder getPayloadBuilder()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
TypeDescription
Builder

getPayloadOrBuilder()

public StructOrBuilder getPayloadOrBuilder()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Intent.Message.TableCardOrBuilder

getText()

public Intent.Message.Text getText()

The text response.

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

Returns
TypeDescription
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
TypeDescription
Intent.Message.Text.Builder

getTextOrBuilder()

public Intent.Message.TextOrBuilder getTextOrBuilder()

The text response.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the browseCarouselCard field is set.

hasCard()

public boolean hasCard()

The card response.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the carouselSelect field is set.

hasImage()

public boolean hasImage()

The image response.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the mediaContent field is set.

hasPayload()

public boolean hasPayload()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the tableCard field is set.

hasText()

public boolean hasText()

The text response.

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

Returns
TypeDescription
boolean

Whether the text field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueIntent.Message.BasicCard
Returns
TypeDescription
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
NameDescription
valueIntent.Message.BrowseCarouselCard
Returns
TypeDescription
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
NameDescription
valueIntent.Message.Card
Returns
TypeDescription
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
NameDescription
valueIntent.Message.CarouselSelect
Returns
TypeDescription
Intent.Message.Builder

mergeFrom(Intent.Message other)

public Intent.Message.Builder mergeFrom(Intent.Message other)
Parameter
NameDescription
otherIntent.Message
Returns
TypeDescription
Intent.Message.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Intent.Message.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Intent.Message.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueIntent.Message.Image
Returns
TypeDescription
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
NameDescription
valueIntent.Message.LinkOutSuggestion
Returns
TypeDescription
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
NameDescription
valueIntent.Message.ListSelect
Returns
TypeDescription
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
NameDescription
valueIntent.Message.MediaContent
Returns
TypeDescription
Intent.Message.Builder

mergePayload(Struct value)

public Intent.Message.Builder mergePayload(Struct value)

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
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
NameDescription
valueIntent.Message.QuickReplies
Returns
TypeDescription
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
NameDescription
valueIntent.Message.SimpleResponses
Returns
TypeDescription
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
NameDescription
valueIntent.Message.Suggestions
Returns
TypeDescription
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
NameDescription
valueIntent.Message.TableCard
Returns
TypeDescription
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
NameDescription
valueIntent.Message.Text
Returns
TypeDescription
Intent.Message.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueIntent.Message.BasicCard
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.BasicCard.Builder
Returns
TypeDescription
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
NameDescription
valueIntent.Message.BrowseCarouselCard
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.BrowseCarouselCard.Builder
Returns
TypeDescription
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
NameDescription
valueIntent.Message.Card
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.Card.Builder
Returns
TypeDescription
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
NameDescription
valueIntent.Message.CarouselSelect
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.CarouselSelect.Builder
Returns
TypeDescription
Intent.Message.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueIntent.Message.Image
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.Image.Builder
Returns
TypeDescription
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
NameDescription
valueIntent.Message.LinkOutSuggestion
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.LinkOutSuggestion.Builder
Returns
TypeDescription
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
NameDescription
valueIntent.Message.ListSelect
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.ListSelect.Builder
Returns
TypeDescription
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
NameDescription
valueIntent.Message.MediaContent
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.MediaContent.Builder
Returns
TypeDescription
Intent.Message.Builder

setPayload(Struct value)

public Intent.Message.Builder setPayload(Struct value)

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueIntent.Message.Platform

The platform to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueIntent.Message.QuickReplies
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.QuickReplies.Builder
Returns
TypeDescription
Intent.Message.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Intent.Message.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueIntent.Message.SimpleResponses
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.SimpleResponses.Builder
Returns
TypeDescription
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
NameDescription
valueIntent.Message.Suggestions
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.Suggestions.Builder
Returns
TypeDescription
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
NameDescription
valueIntent.Message.TableCard
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.TableCard.Builder
Returns
TypeDescription
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
NameDescription
valueIntent.Message.Text
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.Text.Builder
Returns
TypeDescription
Intent.Message.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Intent.Message.Builder
Overrides