Class Intent.Message
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.v2beta1.Intent.Message
-
- All Implemented Interfaces:
Intent.MessageOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Intent
public static final class Intent.Message extends com.google.protobuf.GeneratedMessageV3 implements Intent.MessageOrBuilder
Corresponds to the `Response` field in the Dialogflow console.
Protobuf typegoogle.cloud.dialogflow.v2beta1.Intent.Message- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIntent.Message.BasicCardThe basic card message.static interfaceIntent.Message.BasicCardOrBuilderstatic classIntent.Message.BrowseCarouselCardBrowse Carousel Card for Actions on Google.static interfaceIntent.Message.BrowseCarouselCardOrBuilderstatic classIntent.Message.BuilderCorresponds to the `Response` field in the Dialogflow console.static classIntent.Message.CardThe card response message.static interfaceIntent.Message.CardOrBuilderstatic classIntent.Message.CarouselSelectThe card for presenting a carousel of options to select from.static interfaceIntent.Message.CarouselSelectOrBuilderstatic classIntent.Message.ColumnPropertiesColumn properties for [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].static interfaceIntent.Message.ColumnPropertiesOrBuilderstatic classIntent.Message.ImageThe image response message.static interfaceIntent.Message.ImageOrBuilderstatic classIntent.Message.LinkOutSuggestionThe suggestion chip message that allows the user to jump out to the app or website associated with this agent.static interfaceIntent.Message.LinkOutSuggestionOrBuilderstatic classIntent.Message.ListSelectThe card for presenting a list of options to select from.static interfaceIntent.Message.ListSelectOrBuilderstatic classIntent.Message.MediaContentThe media content card for Actions on Google.static interfaceIntent.Message.MediaContentOrBuilderstatic classIntent.Message.MessageCasestatic classIntent.Message.PlatformRepresents different platforms that a rich message can be intended for.static classIntent.Message.QuickRepliesThe quick replies response message.static interfaceIntent.Message.QuickRepliesOrBuilderstatic classIntent.Message.RbmCardContentRich Business Messaging (RBM) Card contentstatic interfaceIntent.Message.RbmCardContentOrBuilderstatic classIntent.Message.RbmCarouselCardCarousel Rich Business Messaging (RBM) rich card.static interfaceIntent.Message.RbmCarouselCardOrBuilderstatic classIntent.Message.RbmStandaloneCardStandalone Rich Business Messaging (RBM) rich card.static interfaceIntent.Message.RbmStandaloneCardOrBuilderstatic classIntent.Message.RbmSuggestedActionRich Business Messaging (RBM) suggested client-side action that the user can choose from the card.static interfaceIntent.Message.RbmSuggestedActionOrBuilderstatic classIntent.Message.RbmSuggestedReplyRich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response.static interfaceIntent.Message.RbmSuggestedReplyOrBuilderstatic classIntent.Message.RbmSuggestionRich Business Messaging (RBM) suggestion.static interfaceIntent.Message.RbmSuggestionOrBuilderstatic classIntent.Message.RbmTextRich Business Messaging (RBM) text response with suggestions.static interfaceIntent.Message.RbmTextOrBuilderstatic classIntent.Message.SelectItemInfoAdditional info about the select item for when it is triggered in a dialog.static interfaceIntent.Message.SelectItemInfoOrBuilderstatic classIntent.Message.SimpleResponseThe simple response message containing speech or text.static interfaceIntent.Message.SimpleResponseOrBuilderstatic classIntent.Message.SimpleResponsesThe collection of simple response candidates.static interfaceIntent.Message.SimpleResponsesOrBuilderstatic classIntent.Message.SuggestionThe suggestion chip message that the user can tap to quickly post a reply to the conversation.static interfaceIntent.Message.SuggestionOrBuilderstatic classIntent.Message.SuggestionsThe collection of suggestions.static interfaceIntent.Message.SuggestionsOrBuilderstatic classIntent.Message.TableCardTable card for Actions on Google.static classIntent.Message.TableCardCellCell of [TableCardRow][google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow].static interfaceIntent.Message.TableCardCellOrBuilderstatic interfaceIntent.Message.TableCardOrBuilderstatic classIntent.Message.TableCardRowRow of [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].static interfaceIntent.Message.TableCardRowOrBuilderstatic classIntent.Message.TelephonyPlayAudioPlays audio from a file in Telephony Gateway.static interfaceIntent.Message.TelephonyPlayAudioOrBuilderstatic classIntent.Message.TelephonySynthesizeSpeechSynthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway.static interfaceIntent.Message.TelephonySynthesizeSpeechOrBuilderstatic classIntent.Message.TelephonyTransferCallTransfers the call in Telephony Gateway.static interfaceIntent.Message.TelephonyTransferCallOrBuilderstatic classIntent.Message.TextThe text response message.static interfaceIntent.Message.TextOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBASIC_CARD_FIELD_NUMBERstatic intBROWSE_CAROUSEL_CARD_FIELD_NUMBERstatic intCARD_FIELD_NUMBERstatic intCAROUSEL_SELECT_FIELD_NUMBERstatic intIMAGE_FIELD_NUMBERstatic intLINK_OUT_SUGGESTION_FIELD_NUMBERstatic intLIST_SELECT_FIELD_NUMBERstatic intMEDIA_CONTENT_FIELD_NUMBERstatic intPAYLOAD_FIELD_NUMBERstatic intPLATFORM_FIELD_NUMBERstatic intQUICK_REPLIES_FIELD_NUMBERstatic intRBM_CAROUSEL_RICH_CARD_FIELD_NUMBERstatic intRBM_STANDALONE_RICH_CARD_FIELD_NUMBERstatic intRBM_TEXT_FIELD_NUMBERstatic intSIMPLE_RESPONSES_FIELD_NUMBERstatic intSUGGESTIONS_FIELD_NUMBERstatic intTABLE_CARD_FIELD_NUMBERstatic intTELEPHONY_PLAY_AUDIO_FIELD_NUMBERstatic intTELEPHONY_SYNTHESIZE_SPEECH_FIELD_NUMBERstatic intTELEPHONY_TRANSFER_CALL_FIELD_NUMBERstatic intTEXT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Intent.Message.BasicCardgetBasicCard()Displays a basic card for Actions on Google.Intent.Message.BasicCardOrBuildergetBasicCardOrBuilder()Displays a basic card for Actions on Google.Intent.Message.BrowseCarouselCardgetBrowseCarouselCard()Browse carousel card for Actions on Google.Intent.Message.BrowseCarouselCardOrBuildergetBrowseCarouselCardOrBuilder()Browse carousel card for Actions on Google.Intent.Message.CardgetCard()Displays a card.Intent.Message.CardOrBuildergetCardOrBuilder()Displays a card.Intent.Message.CarouselSelectgetCarouselSelect()Displays a carousel card for Actions on Google.Intent.Message.CarouselSelectOrBuildergetCarouselSelectOrBuilder()Displays a carousel card for Actions on Google.static Intent.MessagegetDefaultInstance()Intent.MessagegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Intent.Message.ImagegetImage()Displays an image.Intent.Message.ImageOrBuildergetImageOrBuilder()Displays an image.Intent.Message.LinkOutSuggestiongetLinkOutSuggestion()Displays a link out suggestion chip for Actions on Google.Intent.Message.LinkOutSuggestionOrBuildergetLinkOutSuggestionOrBuilder()Displays a link out suggestion chip for Actions on Google.Intent.Message.ListSelectgetListSelect()Displays a list card for Actions on Google.Intent.Message.ListSelectOrBuildergetListSelectOrBuilder()Displays a list card for Actions on Google.Intent.Message.MediaContentgetMediaContent()The media content card for Actions on Google.Intent.Message.MediaContentOrBuildergetMediaContentOrBuilder()The media content card for Actions on Google.Intent.Message.MessageCasegetMessageCase()com.google.protobuf.Parser<Intent.Message>getParserForType()com.google.protobuf.StructgetPayload()A custom platform-specific response.com.google.protobuf.StructOrBuildergetPayloadOrBuilder()A custom platform-specific response.Intent.Message.PlatformgetPlatform()Optional.intgetPlatformValue()Optional.Intent.Message.QuickRepliesgetQuickReplies()Displays quick replies.Intent.Message.QuickRepliesOrBuildergetQuickRepliesOrBuilder()Displays quick replies.Intent.Message.RbmCarouselCardgetRbmCarouselRichCard()Rich Business Messaging (RBM) carousel rich card response.Intent.Message.RbmCarouselCardOrBuildergetRbmCarouselRichCardOrBuilder()Rich Business Messaging (RBM) carousel rich card response.Intent.Message.RbmStandaloneCardgetRbmStandaloneRichCard()Standalone Rich Business Messaging (RBM) rich card response.Intent.Message.RbmStandaloneCardOrBuildergetRbmStandaloneRichCardOrBuilder()Standalone Rich Business Messaging (RBM) rich card response.Intent.Message.RbmTextgetRbmText()Rich Business Messaging (RBM) text response.Intent.Message.RbmTextOrBuildergetRbmTextOrBuilder()Rich Business Messaging (RBM) text response.intgetSerializedSize()Intent.Message.SimpleResponsesgetSimpleResponses()Returns a voice or text-only response for Actions on Google.Intent.Message.SimpleResponsesOrBuildergetSimpleResponsesOrBuilder()Returns a voice or text-only response for Actions on Google.Intent.Message.SuggestionsgetSuggestions()Displays suggestion chips for Actions on Google.Intent.Message.SuggestionsOrBuildergetSuggestionsOrBuilder()Displays suggestion chips for Actions on Google.Intent.Message.TableCardgetTableCard()Table card for Actions on Google.Intent.Message.TableCardOrBuildergetTableCardOrBuilder()Table card for Actions on Google.Intent.Message.TelephonyPlayAudiogetTelephonyPlayAudio()Plays audio from a file in Telephony Gateway.Intent.Message.TelephonyPlayAudioOrBuildergetTelephonyPlayAudioOrBuilder()Plays audio from a file in Telephony Gateway.Intent.Message.TelephonySynthesizeSpeechgetTelephonySynthesizeSpeech()Synthesizes speech in Telephony Gateway.Intent.Message.TelephonySynthesizeSpeechOrBuildergetTelephonySynthesizeSpeechOrBuilder()Synthesizes speech in Telephony Gateway.Intent.Message.TelephonyTransferCallgetTelephonyTransferCall()Transfers the call in Telephony Gateway.Intent.Message.TelephonyTransferCallOrBuildergetTelephonyTransferCallOrBuilder()Transfers the call in Telephony Gateway.Intent.Message.TextgetText()Returns a text response.Intent.Message.TextOrBuildergetTextOrBuilder()Returns a text response.booleanhasBasicCard()Displays a basic card for Actions on Google.booleanhasBrowseCarouselCard()Browse carousel card for Actions on Google.booleanhasCard()Displays a card.booleanhasCarouselSelect()Displays a carousel card for Actions on Google.inthashCode()booleanhasImage()Displays an image.booleanhasLinkOutSuggestion()Displays a link out suggestion chip for Actions on Google.booleanhasListSelect()Displays a list card for Actions on Google.booleanhasMediaContent()The media content card for Actions on Google.booleanhasPayload()A custom platform-specific response.booleanhasQuickReplies()Displays quick replies.booleanhasRbmCarouselRichCard()Rich Business Messaging (RBM) carousel rich card response.booleanhasRbmStandaloneRichCard()Standalone Rich Business Messaging (RBM) rich card response.booleanhasRbmText()Rich Business Messaging (RBM) text response.booleanhasSimpleResponses()Returns a voice or text-only response for Actions on Google.booleanhasSuggestions()Displays suggestion chips for Actions on Google.booleanhasTableCard()Table card for Actions on Google.booleanhasTelephonyPlayAudio()Plays audio from a file in Telephony Gateway.booleanhasTelephonySynthesizeSpeech()Synthesizes speech in Telephony Gateway.booleanhasTelephonyTransferCall()Transfers the call in Telephony Gateway.booleanhasText()Returns a text response.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Intent.Message.BuildernewBuilder()static Intent.Message.BuildernewBuilder(Intent.Message prototype)Intent.Message.BuildernewBuilderForType()protected Intent.Message.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Intent.MessageparseDelimitedFrom(InputStream input)static Intent.MessageparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Intent.MessageparseFrom(byte[] data)static Intent.MessageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Intent.MessageparseFrom(com.google.protobuf.ByteString data)static Intent.MessageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Intent.MessageparseFrom(com.google.protobuf.CodedInputStream input)static Intent.MessageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Intent.MessageparseFrom(InputStream input)static Intent.MessageparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Intent.MessageparseFrom(ByteBuffer data)static Intent.MessageparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Intent.Message>parser()Intent.Message.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUICK_REPLIES_FIELD_NUMBER
public static final int QUICK_REPLIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CARD_FIELD_NUMBER
public static final int CARD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SIMPLE_RESPONSES_FIELD_NUMBER
public static final int SIMPLE_RESPONSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BASIC_CARD_FIELD_NUMBER
public static final int BASIC_CARD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUGGESTIONS_FIELD_NUMBER
public static final int SUGGESTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LINK_OUT_SUGGESTION_FIELD_NUMBER
public static final int LINK_OUT_SUGGESTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIST_SELECT_FIELD_NUMBER
public static final int LIST_SELECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CAROUSEL_SELECT_FIELD_NUMBER
public static final int CAROUSEL_SELECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TELEPHONY_PLAY_AUDIO_FIELD_NUMBER
public static final int TELEPHONY_PLAY_AUDIO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TELEPHONY_SYNTHESIZE_SPEECH_FIELD_NUMBER
public static final int TELEPHONY_SYNTHESIZE_SPEECH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TELEPHONY_TRANSFER_CALL_FIELD_NUMBER
public static final int TELEPHONY_TRANSFER_CALL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RBM_TEXT_FIELD_NUMBER
public static final int RBM_TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RBM_STANDALONE_RICH_CARD_FIELD_NUMBER
public static final int RBM_STANDALONE_RICH_CARD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RBM_CAROUSEL_RICH_CARD_FIELD_NUMBER
public static final int RBM_CAROUSEL_RICH_CARD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BROWSE_CAROUSEL_CARD_FIELD_NUMBER
public static final int BROWSE_CAROUSEL_CARD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TABLE_CARD_FIELD_NUMBER
public static final int TABLE_CARD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEDIA_CONTENT_FIELD_NUMBER
public static final int MEDIA_CONTENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PLATFORM_FIELD_NUMBER
public static final int PLATFORM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getMessageCase
public Intent.Message.MessageCase getMessageCase()
- Specified by:
getMessageCasein interfaceIntent.MessageOrBuilder
-
hasText
public boolean hasText()
Returns a text response.
.google.cloud.dialogflow.v2beta1.Intent.Message.Text text = 1;- Specified by:
hasTextin interfaceIntent.MessageOrBuilder- Returns:
- Whether the text field is set.
-
getText
public Intent.Message.Text getText()
Returns a text response.
.google.cloud.dialogflow.v2beta1.Intent.Message.Text text = 1;- Specified by:
getTextin interfaceIntent.MessageOrBuilder- Returns:
- The text.
-
getTextOrBuilder
public Intent.Message.TextOrBuilder getTextOrBuilder()
Returns a text response.
.google.cloud.dialogflow.v2beta1.Intent.Message.Text text = 1;- Specified by:
getTextOrBuilderin interfaceIntent.MessageOrBuilder
-
hasImage
public boolean hasImage()
Displays an image.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 2;- Specified by:
hasImagein interfaceIntent.MessageOrBuilder- Returns:
- Whether the image field is set.
-
getImage
public Intent.Message.Image getImage()
Displays an image.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 2;- Specified by:
getImagein interfaceIntent.MessageOrBuilder- Returns:
- The image.
-
getImageOrBuilder
public Intent.Message.ImageOrBuilder getImageOrBuilder()
Displays an image.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 2;- Specified by:
getImageOrBuilderin interfaceIntent.MessageOrBuilder
-
hasQuickReplies
public boolean hasQuickReplies()
Displays quick replies.
.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;- Specified by:
hasQuickRepliesin interfaceIntent.MessageOrBuilder- Returns:
- Whether the quickReplies field is set.
-
getQuickReplies
public Intent.Message.QuickReplies getQuickReplies()
Displays quick replies.
.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;- Specified by:
getQuickRepliesin interfaceIntent.MessageOrBuilder- Returns:
- The quickReplies.
-
getQuickRepliesOrBuilder
public Intent.Message.QuickRepliesOrBuilder getQuickRepliesOrBuilder()
Displays quick replies.
.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;- Specified by:
getQuickRepliesOrBuilderin interfaceIntent.MessageOrBuilder
-
hasCard
public boolean hasCard()
Displays a card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Card card = 4;- Specified by:
hasCardin interfaceIntent.MessageOrBuilder- Returns:
- Whether the card field is set.
-
getCard
public Intent.Message.Card getCard()
Displays a card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Card card = 4;- Specified by:
getCardin interfaceIntent.MessageOrBuilder- Returns:
- The card.
-
getCardOrBuilder
public Intent.Message.CardOrBuilder getCardOrBuilder()
Displays a card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Card card = 4;- Specified by:
getCardOrBuilderin interfaceIntent.MessageOrBuilder
-
hasPayload
public boolean hasPayload()
A custom platform-specific response.
.google.protobuf.Struct payload = 5;- Specified by:
hasPayloadin interfaceIntent.MessageOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public com.google.protobuf.Struct getPayload()
A custom platform-specific response.
.google.protobuf.Struct payload = 5;- Specified by:
getPayloadin interfaceIntent.MessageOrBuilder- Returns:
- The payload.
-
getPayloadOrBuilder
public com.google.protobuf.StructOrBuilder getPayloadOrBuilder()
A custom platform-specific response.
.google.protobuf.Struct payload = 5;- Specified by:
getPayloadOrBuilderin interfaceIntent.MessageOrBuilder
-
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;- Specified by:
hasSimpleResponsesin interfaceIntent.MessageOrBuilder- Returns:
- Whether the simpleResponses field is set.
-
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;- Specified by:
getSimpleResponsesin interfaceIntent.MessageOrBuilder- Returns:
- 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;- Specified by:
getSimpleResponsesOrBuilderin interfaceIntent.MessageOrBuilder
-
hasBasicCard
public boolean hasBasicCard()
Displays a basic card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard basic_card = 8;- Specified by:
hasBasicCardin interfaceIntent.MessageOrBuilder- Returns:
- Whether the basicCard field is set.
-
getBasicCard
public Intent.Message.BasicCard getBasicCard()
Displays a basic card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard basic_card = 8;- Specified by:
getBasicCardin interfaceIntent.MessageOrBuilder- Returns:
- 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;- Specified by:
getBasicCardOrBuilderin interfaceIntent.MessageOrBuilder
-
hasSuggestions
public boolean hasSuggestions()
Displays suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;- Specified by:
hasSuggestionsin interfaceIntent.MessageOrBuilder- Returns:
- Whether the suggestions field is set.
-
getSuggestions
public Intent.Message.Suggestions getSuggestions()
Displays suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;- Specified by:
getSuggestionsin interfaceIntent.MessageOrBuilder- Returns:
- The suggestions.
-
getSuggestionsOrBuilder
public Intent.Message.SuggestionsOrBuilder getSuggestionsOrBuilder()
Displays suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;- Specified by:
getSuggestionsOrBuilderin interfaceIntent.MessageOrBuilder
-
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;- Specified by:
hasLinkOutSuggestionin interfaceIntent.MessageOrBuilder- Returns:
- Whether the linkOutSuggestion field is set.
-
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;- Specified by:
getLinkOutSuggestionin interfaceIntent.MessageOrBuilder- Returns:
- 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;- Specified by:
getLinkOutSuggestionOrBuilderin interfaceIntent.MessageOrBuilder
-
hasListSelect
public boolean hasListSelect()
Displays a list card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect list_select = 11;- Specified by:
hasListSelectin interfaceIntent.MessageOrBuilder- Returns:
- Whether the listSelect field is set.
-
getListSelect
public Intent.Message.ListSelect getListSelect()
Displays a list card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect list_select = 11;- Specified by:
getListSelectin interfaceIntent.MessageOrBuilder- Returns:
- 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;- Specified by:
getListSelectOrBuilderin interfaceIntent.MessageOrBuilder
-
hasCarouselSelect
public boolean hasCarouselSelect()
Displays a carousel card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12;- Specified by:
hasCarouselSelectin interfaceIntent.MessageOrBuilder- Returns:
- Whether the carouselSelect field is set.
-
getCarouselSelect
public Intent.Message.CarouselSelect getCarouselSelect()
Displays a carousel card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect carousel_select = 12;- Specified by:
getCarouselSelectin interfaceIntent.MessageOrBuilder- Returns:
- 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;- Specified by:
getCarouselSelectOrBuilderin interfaceIntent.MessageOrBuilder
-
hasTelephonyPlayAudio
public boolean hasTelephonyPlayAudio()
Plays audio from a file in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio telephony_play_audio = 13;- Specified by:
hasTelephonyPlayAudioin interfaceIntent.MessageOrBuilder- Returns:
- Whether the telephonyPlayAudio field is set.
-
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;- Specified by:
getTelephonyPlayAudioin interfaceIntent.MessageOrBuilder- Returns:
- 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;- Specified by:
getTelephonyPlayAudioOrBuilderin interfaceIntent.MessageOrBuilder
-
hasTelephonySynthesizeSpeech
public boolean hasTelephonySynthesizeSpeech()
Synthesizes speech in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;- Specified by:
hasTelephonySynthesizeSpeechin interfaceIntent.MessageOrBuilder- Returns:
- Whether the telephonySynthesizeSpeech field is set.
-
getTelephonySynthesizeSpeech
public Intent.Message.TelephonySynthesizeSpeech getTelephonySynthesizeSpeech()
Synthesizes speech in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;- Specified by:
getTelephonySynthesizeSpeechin interfaceIntent.MessageOrBuilder- Returns:
- The telephonySynthesizeSpeech.
-
getTelephonySynthesizeSpeechOrBuilder
public Intent.Message.TelephonySynthesizeSpeechOrBuilder getTelephonySynthesizeSpeechOrBuilder()
Synthesizes speech in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;- Specified by:
getTelephonySynthesizeSpeechOrBuilderin interfaceIntent.MessageOrBuilder
-
hasTelephonyTransferCall
public boolean hasTelephonyTransferCall()
Transfers the call in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;- Specified by:
hasTelephonyTransferCallin interfaceIntent.MessageOrBuilder- Returns:
- Whether the telephonyTransferCall field is set.
-
getTelephonyTransferCall
public Intent.Message.TelephonyTransferCall getTelephonyTransferCall()
Transfers the call in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall telephony_transfer_call = 15;- Specified by:
getTelephonyTransferCallin interfaceIntent.MessageOrBuilder- Returns:
- 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;- Specified by:
getTelephonyTransferCallOrBuilderin interfaceIntent.MessageOrBuilder
-
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;- Specified by:
hasRbmTextin interfaceIntent.MessageOrBuilder- Returns:
- Whether the rbmText field is set.
-
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;- Specified by:
getRbmTextin interfaceIntent.MessageOrBuilder- Returns:
- 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;- Specified by:
getRbmTextOrBuilderin interfaceIntent.MessageOrBuilder
-
hasRbmStandaloneRichCard
public boolean hasRbmStandaloneRichCard()
Standalone Rich Business Messaging (RBM) rich card response.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard rbm_standalone_rich_card = 19;- Specified by:
hasRbmStandaloneRichCardin interfaceIntent.MessageOrBuilder- Returns:
- Whether the rbmStandaloneRichCard field is set.
-
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;- Specified by:
getRbmStandaloneRichCardin interfaceIntent.MessageOrBuilder- Returns:
- 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;- Specified by:
getRbmStandaloneRichCardOrBuilderin interfaceIntent.MessageOrBuilder
-
hasRbmCarouselRichCard
public boolean hasRbmCarouselRichCard()
Rich Business Messaging (RBM) carousel rich card response.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard rbm_carousel_rich_card = 20;- Specified by:
hasRbmCarouselRichCardin interfaceIntent.MessageOrBuilder- Returns:
- Whether the rbmCarouselRichCard field is set.
-
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;- Specified by:
getRbmCarouselRichCardin interfaceIntent.MessageOrBuilder- Returns:
- 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;- Specified by:
getRbmCarouselRichCardOrBuilderin interfaceIntent.MessageOrBuilder
-
hasBrowseCarouselCard
public boolean hasBrowseCarouselCard()
Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;- Specified by:
hasBrowseCarouselCardin interfaceIntent.MessageOrBuilder- Returns:
- Whether the browseCarouselCard field is set.
-
getBrowseCarouselCard
public Intent.Message.BrowseCarouselCard getBrowseCarouselCard()
Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard browse_carousel_card = 22;- Specified by:
getBrowseCarouselCardin interfaceIntent.MessageOrBuilder- Returns:
- 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;- Specified by:
getBrowseCarouselCardOrBuilderin interfaceIntent.MessageOrBuilder
-
hasTableCard
public boolean hasTableCard()
Table card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.TableCard table_card = 23;- Specified by:
hasTableCardin interfaceIntent.MessageOrBuilder- Returns:
- Whether the tableCard field is set.
-
getTableCard
public Intent.Message.TableCard getTableCard()
Table card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.TableCard table_card = 23;- Specified by:
getTableCardin interfaceIntent.MessageOrBuilder- Returns:
- The tableCard.
-
getTableCardOrBuilder
public Intent.Message.TableCardOrBuilder getTableCardOrBuilder()
Table card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.TableCard table_card = 23;- Specified by:
getTableCardOrBuilderin interfaceIntent.MessageOrBuilder
-
hasMediaContent
public boolean hasMediaContent()
The media content card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent media_content = 24;- Specified by:
hasMediaContentin interfaceIntent.MessageOrBuilder- Returns:
- Whether the mediaContent field is set.
-
getMediaContent
public Intent.Message.MediaContent getMediaContent()
The media content card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent media_content = 24;- Specified by:
getMediaContentin interfaceIntent.MessageOrBuilder- Returns:
- 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;- Specified by:
getMediaContentOrBuilderin interfaceIntent.MessageOrBuilder
-
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];- Specified by:
getPlatformValuein interfaceIntent.MessageOrBuilder- Returns:
- The enum numeric value on the wire for platform.
-
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];- Specified by:
getPlatformin interfaceIntent.MessageOrBuilder- Returns:
- The platform.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Intent.Message parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Intent.Message parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Intent.Message parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Intent.Message parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Intent.Message parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Intent.Message parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Intent.Message parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Intent.Message parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Intent.Message parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Intent.Message parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Intent.Message parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Intent.Message parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Intent.Message.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Intent.Message.Builder newBuilder()
-
newBuilder
public static Intent.Message.Builder newBuilder(Intent.Message prototype)
-
toBuilder
public Intent.Message.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Intent.Message.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Intent.Message getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Intent.Message> parser()
-
getParserForType
public com.google.protobuf.Parser<Intent.Message> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Intent.Message getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-