Class Intent.Message.Builder (4.22.0)

public static final class Intent.Message.Builder extends GeneratedMessageV3.Builder<Intent.Message.Builder> implements Intent.MessageOrBuilder

Corresponds to the Response field in the Dialogflow console.

Protobuf type google.cloud.dialogflow.v2beta1.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()

Displays a basic card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;

Returns
Type Description
Intent.Message.Builder

clearCard()

public Intent.Message.Builder clearCard()

Displays a card.

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

Returns
Type Description
Intent.Message.Builder

clearCarouselSelect()

public Intent.Message.Builder clearCarouselSelect()

Displays a carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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()

Displays an image.

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

Returns
Type Description
Intent.Message.Builder

clearLinkOutSuggestion()

public Intent.Message.Builder clearLinkOutSuggestion()

Displays a link out suggestion chip for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;

Returns
Type Description
Intent.Message.Builder

clearListSelect()

public Intent.Message.Builder clearListSelect()

Displays a list card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.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.v2beta1.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()

Displays quick replies.

.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;

Returns
Type Description
Intent.Message.Builder

clearRbmCarouselRichCard()

public Intent.Message.Builder clearRbmCarouselRichCard()

Rich Business Messaging (RBM) carousel rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20;

Returns
Type Description
Intent.Message.Builder

clearRbmStandaloneRichCard()

public Intent.Message.Builder clearRbmStandaloneRichCard()

Standalone Rich Business Messaging (RBM) rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19;

Returns
Type Description
Intent.Message.Builder

clearRbmText()

public Intent.Message.Builder clearRbmText()

Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmText rbm_text = 18;

Returns
Type Description
Intent.Message.Builder

clearSimpleResponses()

public Intent.Message.Builder clearSimpleResponses()

Returns a voice or text-only response for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses simple_responses = 7;

Returns
Type Description
Intent.Message.Builder

clearSuggestions()

public Intent.Message.Builder clearSuggestions()

Displays suggestion chips for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.Intent.Message.TableCard table_card = 23;

Returns
Type Description
Intent.Message.Builder

clearTelephonyPlayAudio()

public Intent.Message.Builder clearTelephonyPlayAudio()

Plays audio from a file in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;

Returns
Type Description
Intent.Message.Builder

clearTelephonySynthesizeSpeech()

public Intent.Message.Builder clearTelephonySynthesizeSpeech()

Synthesizes speech in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;

Returns
Type Description
Intent.Message.Builder

clearTelephonyTransferCall()

public Intent.Message.Builder clearTelephonyTransferCall()

Transfers the call in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;

Returns
Type Description
Intent.Message.Builder

clearText()

public Intent.Message.Builder clearText()

Returns a text response.

.google.cloud.dialogflow.v2beta1.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()

Displays a basic card for Actions on Google.

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

Returns
Type Description
Intent.Message.BasicCard

The basicCard.

getBasicCardBuilder()

public Intent.Message.BasicCard.Builder getBasicCardBuilder()

Displays a basic card for Actions on Google.

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

Returns
Type Description
Intent.Message.BasicCard.Builder

getBasicCardOrBuilder()

public Intent.Message.BasicCardOrBuilder getBasicCardOrBuilder()

Displays a basic card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;

Returns
Type Description
Intent.Message.BrowseCarouselCardOrBuilder

getCard()

public Intent.Message.Card getCard()

Displays a card.

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

Returns
Type Description
Intent.Message.Card

The card.

getCardBuilder()

public Intent.Message.Card.Builder getCardBuilder()

Displays a card.

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

Returns
Type Description
Intent.Message.Card.Builder

getCardOrBuilder()

public Intent.Message.CardOrBuilder getCardOrBuilder()

Displays a card.

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

Returns
Type Description
Intent.Message.CardOrBuilder

getCarouselSelect()

public Intent.Message.CarouselSelect getCarouselSelect()

Displays a carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12;

Returns
Type Description
Intent.Message.CarouselSelect

The carouselSelect.

getCarouselSelectBuilder()

public Intent.Message.CarouselSelect.Builder getCarouselSelectBuilder()

Displays a carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12;

Returns
Type Description
Intent.Message.CarouselSelect.Builder

getCarouselSelectOrBuilder()

public Intent.Message.CarouselSelectOrBuilder getCarouselSelectOrBuilder()

Displays a carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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()

Displays an image.

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

Returns
Type Description
Intent.Message.Image

The image.

getImageBuilder()

public Intent.Message.Image.Builder getImageBuilder()

Displays an image.

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

Returns
Type Description
Intent.Message.Image.Builder

getImageOrBuilder()

public Intent.Message.ImageOrBuilder getImageOrBuilder()

Displays an image.

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

Returns
Type Description
Intent.Message.ImageOrBuilder

getLinkOutSuggestion()

public Intent.Message.LinkOutSuggestion getLinkOutSuggestion()

Displays a link out suggestion chip for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;

Returns
Type Description
Intent.Message.LinkOutSuggestion

The linkOutSuggestion.

getLinkOutSuggestionBuilder()

public Intent.Message.LinkOutSuggestion.Builder getLinkOutSuggestionBuilder()

Displays a link out suggestion chip for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;

Returns
Type Description
Intent.Message.LinkOutSuggestion.Builder

getLinkOutSuggestionOrBuilder()

public Intent.Message.LinkOutSuggestionOrBuilder getLinkOutSuggestionOrBuilder()

Displays a link out suggestion chip for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;

Returns
Type Description
Intent.Message.LinkOutSuggestionOrBuilder

getListSelect()

public Intent.Message.ListSelect getListSelect()

Displays a list card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect list_select = 11;

Returns
Type Description
Intent.Message.ListSelect

The listSelect.

getListSelectBuilder()

public Intent.Message.ListSelect.Builder getListSelectBuilder()

Displays a list card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect list_select = 11;

Returns
Type Description
Intent.Message.ListSelect.Builder

getListSelectOrBuilder()

public Intent.Message.ListSelectOrBuilder getListSelectOrBuilder()

Displays a list card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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()

Displays quick replies.

.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;

Returns
Type Description
Intent.Message.QuickReplies

The quickReplies.

getQuickRepliesBuilder()

public Intent.Message.QuickReplies.Builder getQuickRepliesBuilder()

Displays quick replies.

.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;

Returns
Type Description
Intent.Message.QuickReplies.Builder

getQuickRepliesOrBuilder()

public Intent.Message.QuickRepliesOrBuilder getQuickRepliesOrBuilder()

Displays quick replies.

.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;

Returns
Type Description
Intent.Message.QuickRepliesOrBuilder

getRbmCarouselRichCard()

public Intent.Message.RbmCarouselCard getRbmCarouselRichCard()

Rich Business Messaging (RBM) carousel rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20;

Returns
Type Description
Intent.Message.RbmCarouselCard

The rbmCarouselRichCard.

getRbmCarouselRichCardBuilder()

public Intent.Message.RbmCarouselCard.Builder getRbmCarouselRichCardBuilder()

Rich Business Messaging (RBM) carousel rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20;

Returns
Type Description
Intent.Message.RbmCarouselCard.Builder

getRbmCarouselRichCardOrBuilder()

public Intent.Message.RbmCarouselCardOrBuilder getRbmCarouselRichCardOrBuilder()

Rich Business Messaging (RBM) carousel rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20;

Returns
Type Description
Intent.Message.RbmCarouselCardOrBuilder

getRbmStandaloneRichCard()

public Intent.Message.RbmStandaloneCard getRbmStandaloneRichCard()

Standalone Rich Business Messaging (RBM) rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19;

Returns
Type Description
Intent.Message.RbmStandaloneCard

The rbmStandaloneRichCard.

getRbmStandaloneRichCardBuilder()

public Intent.Message.RbmStandaloneCard.Builder getRbmStandaloneRichCardBuilder()

Standalone Rich Business Messaging (RBM) rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19;

Returns
Type Description
Intent.Message.RbmStandaloneCard.Builder

getRbmStandaloneRichCardOrBuilder()

public Intent.Message.RbmStandaloneCardOrBuilder getRbmStandaloneRichCardOrBuilder()

Standalone Rich Business Messaging (RBM) rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19;

Returns
Type Description
Intent.Message.RbmStandaloneCardOrBuilder

getRbmText()

public Intent.Message.RbmText getRbmText()

Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmText rbm_text = 18;

Returns
Type Description
Intent.Message.RbmText

The rbmText.

getRbmTextBuilder()

public Intent.Message.RbmText.Builder getRbmTextBuilder()

Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmText rbm_text = 18;

Returns
Type Description
Intent.Message.RbmText.Builder

getRbmTextOrBuilder()

public Intent.Message.RbmTextOrBuilder getRbmTextOrBuilder()

Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmText rbm_text = 18;

Returns
Type Description
Intent.Message.RbmTextOrBuilder

getSimpleResponses()

public Intent.Message.SimpleResponses getSimpleResponses()

Returns a voice or text-only response for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses simple_responses = 7;

Returns
Type Description
Intent.Message.SimpleResponses

The simpleResponses.

getSimpleResponsesBuilder()

public Intent.Message.SimpleResponses.Builder getSimpleResponsesBuilder()

Returns a voice or text-only response for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses simple_responses = 7;

Returns
Type Description
Intent.Message.SimpleResponses.Builder

getSimpleResponsesOrBuilder()

public Intent.Message.SimpleResponsesOrBuilder getSimpleResponsesOrBuilder()

Returns a voice or text-only response for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses simple_responses = 7;

Returns
Type Description
Intent.Message.SimpleResponsesOrBuilder

getSuggestions()

public Intent.Message.Suggestions getSuggestions()

Displays suggestion chips for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;

Returns
Type Description
Intent.Message.Suggestions

The suggestions.

getSuggestionsBuilder()

public Intent.Message.Suggestions.Builder getSuggestionsBuilder()

Displays suggestion chips for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;

Returns
Type Description
Intent.Message.Suggestions.Builder

getSuggestionsOrBuilder()

public Intent.Message.SuggestionsOrBuilder getSuggestionsOrBuilder()

Displays suggestion chips for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.Intent.Message.TableCard table_card = 23;

Returns
Type Description
Intent.Message.TableCardOrBuilder

getTelephonyPlayAudio()

public Intent.Message.TelephonyPlayAudio getTelephonyPlayAudio()

Plays audio from a file in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;

Returns
Type Description
Intent.Message.TelephonyPlayAudio

The telephonyPlayAudio.

getTelephonyPlayAudioBuilder()

public Intent.Message.TelephonyPlayAudio.Builder getTelephonyPlayAudioBuilder()

Plays audio from a file in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;

Returns
Type Description
Intent.Message.TelephonyPlayAudio.Builder

getTelephonyPlayAudioOrBuilder()

public Intent.Message.TelephonyPlayAudioOrBuilder getTelephonyPlayAudioOrBuilder()

Plays audio from a file in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;

Returns
Type Description
Intent.Message.TelephonyPlayAudioOrBuilder

getTelephonySynthesizeSpeech()

public Intent.Message.TelephonySynthesizeSpeech getTelephonySynthesizeSpeech()

Synthesizes speech in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;

Returns
Type Description
Intent.Message.TelephonySynthesizeSpeech

The telephonySynthesizeSpeech.

getTelephonySynthesizeSpeechBuilder()

public Intent.Message.TelephonySynthesizeSpeech.Builder getTelephonySynthesizeSpeechBuilder()

Synthesizes speech in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;

Returns
Type Description
Intent.Message.TelephonySynthesizeSpeech.Builder

getTelephonySynthesizeSpeechOrBuilder()

public Intent.Message.TelephonySynthesizeSpeechOrBuilder getTelephonySynthesizeSpeechOrBuilder()

Synthesizes speech in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;

Returns
Type Description
Intent.Message.TelephonySynthesizeSpeechOrBuilder

getTelephonyTransferCall()

public Intent.Message.TelephonyTransferCall getTelephonyTransferCall()

Transfers the call in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;

Returns
Type Description
Intent.Message.TelephonyTransferCall

The telephonyTransferCall.

getTelephonyTransferCallBuilder()

public Intent.Message.TelephonyTransferCall.Builder getTelephonyTransferCallBuilder()

Transfers the call in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;

Returns
Type Description
Intent.Message.TelephonyTransferCall.Builder

getTelephonyTransferCallOrBuilder()

public Intent.Message.TelephonyTransferCallOrBuilder getTelephonyTransferCallOrBuilder()

Transfers the call in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;

Returns
Type Description
Intent.Message.TelephonyTransferCallOrBuilder

getText()

public Intent.Message.Text getText()

Returns a text response.

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

Returns
Type Description
Intent.Message.Text

The text.

getTextBuilder()

public Intent.Message.Text.Builder getTextBuilder()

Returns a text response.

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

Returns
Type Description
Intent.Message.Text.Builder

getTextOrBuilder()

public Intent.Message.TextOrBuilder getTextOrBuilder()

Returns a text response.

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

Returns
Type Description
Intent.Message.TextOrBuilder

hasBasicCard()

public boolean hasBasicCard()

Displays a basic card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;

Returns
Type Description
boolean

Whether the browseCarouselCard field is set.

hasCard()

public boolean hasCard()

Displays a card.

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

Returns
Type Description
boolean

Whether the card field is set.

hasCarouselSelect()

public boolean hasCarouselSelect()

Displays a carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12;

Returns
Type Description
boolean

Whether the carouselSelect field is set.

hasImage()

public boolean hasImage()

Displays an image.

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

Returns
Type Description
boolean

Whether the image field is set.

hasLinkOutSuggestion()

public boolean hasLinkOutSuggestion()

Displays a link out suggestion chip for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;

Returns
Type Description
boolean

Whether the linkOutSuggestion field is set.

hasListSelect()

public boolean hasListSelect()

Displays a list card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.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()

Displays quick replies.

.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;

Returns
Type Description
boolean

Whether the quickReplies field is set.

hasRbmCarouselRichCard()

public boolean hasRbmCarouselRichCard()

Rich Business Messaging (RBM) carousel rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20;

Returns
Type Description
boolean

Whether the rbmCarouselRichCard field is set.

hasRbmStandaloneRichCard()

public boolean hasRbmStandaloneRichCard()

Standalone Rich Business Messaging (RBM) rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19;

Returns
Type Description
boolean

Whether the rbmStandaloneRichCard field is set.

hasRbmText()

public boolean hasRbmText()

Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmText rbm_text = 18;

Returns
Type Description
boolean

Whether the rbmText field is set.

hasSimpleResponses()

public boolean hasSimpleResponses()

Returns a voice or text-only response for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses simple_responses = 7;

Returns
Type Description
boolean

Whether the simpleResponses field is set.

hasSuggestions()

public boolean hasSuggestions()

Displays suggestion chips for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.Intent.Message.TableCard table_card = 23;

Returns
Type Description
boolean

Whether the tableCard field is set.

hasTelephonyPlayAudio()

public boolean hasTelephonyPlayAudio()

Plays audio from a file in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;

Returns
Type Description
boolean

Whether the telephonyPlayAudio field is set.

hasTelephonySynthesizeSpeech()

public boolean hasTelephonySynthesizeSpeech()

Synthesizes speech in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;

Returns
Type Description
boolean

Whether the telephonySynthesizeSpeech field is set.

hasTelephonyTransferCall()

public boolean hasTelephonyTransferCall()

Transfers the call in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;

Returns
Type Description
boolean

Whether the telephonyTransferCall field is set.

hasText()

public boolean hasText()

Returns a text response.

.google.cloud.dialogflow.v2beta1.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)

Displays a basic card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.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)

Displays a card.

.google.cloud.dialogflow.v2beta1.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)

Displays a carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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)

Displays an image.

.google.cloud.dialogflow.v2beta1.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)

Displays a link out suggestion chip for Actions on Google.

.google.cloud.dialogflow.v2beta1.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)

Displays a list card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.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)

Displays quick replies.

.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;

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

mergeRbmCarouselRichCard(Intent.Message.RbmCarouselCard value)

public Intent.Message.Builder mergeRbmCarouselRichCard(Intent.Message.RbmCarouselCard value)

Rich Business Messaging (RBM) carousel rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20;

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

mergeRbmStandaloneRichCard(Intent.Message.RbmStandaloneCard value)

public Intent.Message.Builder mergeRbmStandaloneRichCard(Intent.Message.RbmStandaloneCard value)

Standalone Rich Business Messaging (RBM) rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19;

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

mergeRbmText(Intent.Message.RbmText value)

public Intent.Message.Builder mergeRbmText(Intent.Message.RbmText value)

Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmText rbm_text = 18;

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

mergeSimpleResponses(Intent.Message.SimpleResponses value)

public Intent.Message.Builder mergeSimpleResponses(Intent.Message.SimpleResponses value)

Returns a voice or text-only response for Actions on Google.

.google.cloud.dialogflow.v2beta1.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)

Displays suggestion chips for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.Intent.Message.TableCard table_card = 23;

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

mergeTelephonyPlayAudio(Intent.Message.TelephonyPlayAudio value)

public Intent.Message.Builder mergeTelephonyPlayAudio(Intent.Message.TelephonyPlayAudio value)

Plays audio from a file in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;

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

mergeTelephonySynthesizeSpeech(Intent.Message.TelephonySynthesizeSpeech value)

public Intent.Message.Builder mergeTelephonySynthesizeSpeech(Intent.Message.TelephonySynthesizeSpeech value)

Synthesizes speech in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;

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

mergeTelephonyTransferCall(Intent.Message.TelephonyTransferCall value)

public Intent.Message.Builder mergeTelephonyTransferCall(Intent.Message.TelephonyTransferCall value)

Transfers the call in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;

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

mergeText(Intent.Message.Text value)

public Intent.Message.Builder mergeText(Intent.Message.Text value)

Returns a text response.

.google.cloud.dialogflow.v2beta1.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)

Displays a basic card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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)

Displays a basic card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.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.v2beta1.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)

Displays a card.

.google.cloud.dialogflow.v2beta1.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)

Displays a card.

.google.cloud.dialogflow.v2beta1.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)

Displays a carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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)

Displays a carousel card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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)

Displays an image.

.google.cloud.dialogflow.v2beta1.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)

Displays an image.

.google.cloud.dialogflow.v2beta1.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)

Displays a link out suggestion chip for Actions on Google.

.google.cloud.dialogflow.v2beta1.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)

Displays a link out suggestion chip for Actions on Google.

.google.cloud.dialogflow.v2beta1.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)

Displays a list card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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)

Displays a list card for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.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)

Displays quick replies.

.google.cloud.dialogflow.v2beta1.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)

Displays quick replies.

.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;

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

setRbmCarouselRichCard(Intent.Message.RbmCarouselCard value)

public Intent.Message.Builder setRbmCarouselRichCard(Intent.Message.RbmCarouselCard value)

Rich Business Messaging (RBM) carousel rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20;

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

setRbmCarouselRichCard(Intent.Message.RbmCarouselCard.Builder builderForValue)

public Intent.Message.Builder setRbmCarouselRichCard(Intent.Message.RbmCarouselCard.Builder builderForValue)

Rich Business Messaging (RBM) carousel rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20;

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

setRbmStandaloneRichCard(Intent.Message.RbmStandaloneCard value)

public Intent.Message.Builder setRbmStandaloneRichCard(Intent.Message.RbmStandaloneCard value)

Standalone Rich Business Messaging (RBM) rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19;

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

setRbmStandaloneRichCard(Intent.Message.RbmStandaloneCard.Builder builderForValue)

public Intent.Message.Builder setRbmStandaloneRichCard(Intent.Message.RbmStandaloneCard.Builder builderForValue)

Standalone Rich Business Messaging (RBM) rich card response.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19;

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

setRbmText(Intent.Message.RbmText value)

public Intent.Message.Builder setRbmText(Intent.Message.RbmText value)

Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmText rbm_text = 18;

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

setRbmText(Intent.Message.RbmText.Builder builderForValue)

public Intent.Message.Builder setRbmText(Intent.Message.RbmText.Builder builderForValue)

Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmText rbm_text = 18;

Parameter
Name Description
builderForValue Intent.Message.RbmText.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)

Returns a voice or text-only response for Actions on Google.

.google.cloud.dialogflow.v2beta1.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)

Returns a voice or text-only response for Actions on Google.

.google.cloud.dialogflow.v2beta1.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)

Displays suggestion chips for Actions on Google.

.google.cloud.dialogflow.v2beta1.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)

Displays suggestion chips for Actions on Google.

.google.cloud.dialogflow.v2beta1.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.v2beta1.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.v2beta1.Intent.Message.TableCard table_card = 23;

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

setTelephonyPlayAudio(Intent.Message.TelephonyPlayAudio value)

public Intent.Message.Builder setTelephonyPlayAudio(Intent.Message.TelephonyPlayAudio value)

Plays audio from a file in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;

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

setTelephonyPlayAudio(Intent.Message.TelephonyPlayAudio.Builder builderForValue)

public Intent.Message.Builder setTelephonyPlayAudio(Intent.Message.TelephonyPlayAudio.Builder builderForValue)

Plays audio from a file in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;

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

setTelephonySynthesizeSpeech(Intent.Message.TelephonySynthesizeSpeech value)

public Intent.Message.Builder setTelephonySynthesizeSpeech(Intent.Message.TelephonySynthesizeSpeech value)

Synthesizes speech in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;

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

setTelephonySynthesizeSpeech(Intent.Message.TelephonySynthesizeSpeech.Builder builderForValue)

public Intent.Message.Builder setTelephonySynthesizeSpeech(Intent.Message.TelephonySynthesizeSpeech.Builder builderForValue)

Synthesizes speech in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;

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

setTelephonyTransferCall(Intent.Message.TelephonyTransferCall value)

public Intent.Message.Builder setTelephonyTransferCall(Intent.Message.TelephonyTransferCall value)

Transfers the call in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;

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

setTelephonyTransferCall(Intent.Message.TelephonyTransferCall.Builder builderForValue)

public Intent.Message.Builder setTelephonyTransferCall(Intent.Message.TelephonyTransferCall.Builder builderForValue)

Transfers the call in Telephony Gateway.

.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;

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

setText(Intent.Message.Text value)

public Intent.Message.Builder setText(Intent.Message.Text value)

Returns a text response.

.google.cloud.dialogflow.v2beta1.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)

Returns a text response.

.google.cloud.dialogflow.v2beta1.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