Class Intent.Message (4.7.5)

public static final class Intent.Message extends GeneratedMessageV3 implements Intent.MessageOrBuilder

Corresponds to the Response field in the Dialogflow console.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message

Static Fields

BASIC_CARD_FIELD_NUMBER

public static final int BASIC_CARD_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int BROWSE_CAROUSEL_CARD_FIELD_NUMBER
Field Value
TypeDescription
int

CARD_FIELD_NUMBER

public static final int CARD_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int CAROUSEL_SELECT_FIELD_NUMBER
Field Value
TypeDescription
int

IMAGE_FIELD_NUMBER

public static final int IMAGE_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int LINK_OUT_SUGGESTION_FIELD_NUMBER
Field Value
TypeDescription
int

LIST_SELECT_FIELD_NUMBER

public static final int LIST_SELECT_FIELD_NUMBER
Field Value
TypeDescription
int

MEDIA_CONTENT_FIELD_NUMBER

public static final int MEDIA_CONTENT_FIELD_NUMBER
Field Value
TypeDescription
int

PAYLOAD_FIELD_NUMBER

public static final int PAYLOAD_FIELD_NUMBER
Field Value
TypeDescription
int

PLATFORM_FIELD_NUMBER

public static final int PLATFORM_FIELD_NUMBER
Field Value
TypeDescription
int

QUICK_REPLIES_FIELD_NUMBER

public static final int QUICK_REPLIES_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int RBM_CAROUSEL_RICH_CARD_FIELD_NUMBER
Field Value
TypeDescription
int

RBM_STANDALONE_RICH_CARD_FIELD_NUMBER

public static final int RBM_STANDALONE_RICH_CARD_FIELD_NUMBER
Field Value
TypeDescription
int

RBM_TEXT_FIELD_NUMBER

public static final int RBM_TEXT_FIELD_NUMBER
Field Value
TypeDescription
int

SIMPLE_RESPONSES_FIELD_NUMBER

public static final int SIMPLE_RESPONSES_FIELD_NUMBER
Field Value
TypeDescription
int

SUGGESTIONS_FIELD_NUMBER

public static final int SUGGESTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

TABLE_CARD_FIELD_NUMBER

public static final int TABLE_CARD_FIELD_NUMBER
Field Value
TypeDescription
int

TELEPHONY_PLAY_AUDIO_FIELD_NUMBER

public static final int TELEPHONY_PLAY_AUDIO_FIELD_NUMBER
Field Value
TypeDescription
int

TELEPHONY_SYNTHESIZE_SPEECH_FIELD_NUMBER

public static final int TELEPHONY_SYNTHESIZE_SPEECH_FIELD_NUMBER
Field Value
TypeDescription
int

TELEPHONY_TRANSFER_CALL_FIELD_NUMBER

public static final int TELEPHONY_TRANSFER_CALL_FIELD_NUMBER
Field Value
TypeDescription
int

TEXT_FIELD_NUMBER

public static final int TEXT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Intent.Message getDefaultInstance()
Returns
TypeDescription
Intent.Message

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Intent.Message.Builder newBuilder()
Returns
TypeDescription
Intent.Message.Builder

newBuilder(Intent.Message prototype)

public static Intent.Message.Builder newBuilder(Intent.Message prototype)
Parameter
NameDescription
prototypeIntent.Message
Returns
TypeDescription
Intent.Message.Builder

parseDelimitedFrom(InputStream input)

public static Intent.Message parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Intent.Message parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Intent.Message
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Intent.Message parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Intent.Message
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Intent.Message
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Intent.Message parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Intent.Message parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Intent.Message
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Intent.Message> parser()
Returns
TypeDescription
Parser<Message>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
Intent.Message.BasicCard

The basicCard.

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

The browseCarouselCard.

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

getCard()

public Intent.Message.Card getCard()

Displays a card.

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

Returns
TypeDescription
Intent.Message.Card

The card.

getCardOrBuilder()

public Intent.Message.CardOrBuilder getCardOrBuilder()

Displays a card.

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

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

The carouselSelect.

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

getDefaultInstanceForType()

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

getImage()

public Intent.Message.Image getImage()

Displays an image.

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

Returns
TypeDescription
Intent.Message.Image

The image.

getImageOrBuilder()

public Intent.Message.ImageOrBuilder getImageOrBuilder()

Displays an image.

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

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

The linkOutSuggestion.

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

The listSelect.

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

The mediaContent.

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

getMessageCase()

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

getParserForType()

public Parser<Intent.Message> getParserForType()
Returns
TypeDescription
Parser<Message>
Overrides

getPayload()

public Struct getPayload()

A custom platform-specific response.

.google.protobuf.Struct payload = 5;

Returns
TypeDescription
Struct

The payload.

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

Displays quick replies.

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

Returns
TypeDescription
Intent.Message.QuickReplies

The quickReplies.

getQuickRepliesOrBuilder()

public Intent.Message.QuickRepliesOrBuilder getQuickRepliesOrBuilder()

Displays quick replies.

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

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

The rbmCarouselRichCard.

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

The rbmStandaloneRichCard.

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

The rbmText.

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

The simpleResponses.

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

The suggestions.

getSuggestionsOrBuilder()

public Intent.Message.SuggestionsOrBuilder getSuggestionsOrBuilder()

Displays suggestion chips for Actions on Google.

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

Returns
TypeDescription
Intent.Message.TableCard

The tableCard.

getTableCardOrBuilder()

public Intent.Message.TableCardOrBuilder getTableCardOrBuilder()

Table card for Actions on Google.

.google.cloud.dialogflow.v2beta1.Intent.Message.TableCard table_card = 23;

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

The telephonyPlayAudio.

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

The telephonySynthesizeSpeech.

getTelephonySynthesizeSpeechOrBuilder()

public Intent.Message.TelephonySynthesizeSpeechOrBuilder getTelephonySynthesizeSpeechOrBuilder()

Synthesizes speech in Telephony Gateway.

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

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

The telephonyTransferCall.

getTelephonyTransferCallOrBuilder()

public Intent.Message.TelephonyTransferCallOrBuilder getTelephonyTransferCallOrBuilder()

Transfers the call in Telephony Gateway.

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

Returns
TypeDescription
Intent.Message.TelephonyTransferCallOrBuilder

getText()

public Intent.Message.Text getText()

Returns a text response.

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

Returns
TypeDescription
Intent.Message.Text

The text.

getTextOrBuilder()

public Intent.Message.TextOrBuilder getTextOrBuilder()

Returns a text response.

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

Returns
TypeDescription
Intent.Message.TextOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasBasicCard()

public boolean hasBasicCard()

Displays a basic card for Actions on Google.

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

Returns
TypeDescription
boolean

Whether the browseCarouselCard field is set.

hasCard()

public boolean hasCard()

Displays a card.

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

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

Whether the carouselSelect field is set.

hasImage()

public boolean hasImage()

Displays an image.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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()

Displays quick replies.

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

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

Whether the text field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Intent.Message.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException