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 class
Intent.Message.BasicCard
The basic card message.static interface
Intent.Message.BasicCardOrBuilder
static class
Intent.Message.BrowseCarouselCard
Browse Carousel Card for Actions on Google.static interface
Intent.Message.BrowseCarouselCardOrBuilder
static class
Intent.Message.Builder
Corresponds to the `Response` field in the Dialogflow console.static class
Intent.Message.Card
The card response message.static interface
Intent.Message.CardOrBuilder
static class
Intent.Message.CarouselSelect
The card for presenting a carousel of options to select from.static interface
Intent.Message.CarouselSelectOrBuilder
static class
Intent.Message.ColumnProperties
Column properties for [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].static interface
Intent.Message.ColumnPropertiesOrBuilder
static class
Intent.Message.Image
The image response message.static interface
Intent.Message.ImageOrBuilder
static class
Intent.Message.LinkOutSuggestion
The suggestion chip message that allows the user to jump out to the app or website associated with this agent.static interface
Intent.Message.LinkOutSuggestionOrBuilder
static class
Intent.Message.ListSelect
The card for presenting a list of options to select from.static interface
Intent.Message.ListSelectOrBuilder
static class
Intent.Message.MediaContent
The media content card for Actions on Google.static interface
Intent.Message.MediaContentOrBuilder
static class
Intent.Message.MessageCase
static class
Intent.Message.Platform
Represents different platforms that a rich message can be intended for.static class
Intent.Message.QuickReplies
The quick replies response message.static interface
Intent.Message.QuickRepliesOrBuilder
static class
Intent.Message.RbmCardContent
Rich Business Messaging (RBM) Card contentstatic interface
Intent.Message.RbmCardContentOrBuilder
static class
Intent.Message.RbmCarouselCard
Carousel Rich Business Messaging (RBM) rich card.static interface
Intent.Message.RbmCarouselCardOrBuilder
static class
Intent.Message.RbmStandaloneCard
Standalone Rich Business Messaging (RBM) rich card.static interface
Intent.Message.RbmStandaloneCardOrBuilder
static class
Intent.Message.RbmSuggestedAction
Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.static interface
Intent.Message.RbmSuggestedActionOrBuilder
static class
Intent.Message.RbmSuggestedReply
Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response.static interface
Intent.Message.RbmSuggestedReplyOrBuilder
static class
Intent.Message.RbmSuggestion
Rich Business Messaging (RBM) suggestion.static interface
Intent.Message.RbmSuggestionOrBuilder
static class
Intent.Message.RbmText
Rich Business Messaging (RBM) text response with suggestions.static interface
Intent.Message.RbmTextOrBuilder
static class
Intent.Message.SelectItemInfo
Additional info about the select item for when it is triggered in a dialog.static interface
Intent.Message.SelectItemInfoOrBuilder
static class
Intent.Message.SimpleResponse
The simple response message containing speech or text.static interface
Intent.Message.SimpleResponseOrBuilder
static class
Intent.Message.SimpleResponses
The collection of simple response candidates.static interface
Intent.Message.SimpleResponsesOrBuilder
static class
Intent.Message.Suggestion
The suggestion chip message that the user can tap to quickly post a reply to the conversation.static interface
Intent.Message.SuggestionOrBuilder
static class
Intent.Message.Suggestions
The collection of suggestions.static interface
Intent.Message.SuggestionsOrBuilder
static class
Intent.Message.TableCard
Table card for Actions on Google.static class
Intent.Message.TableCardCell
Cell of [TableCardRow][google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow].static interface
Intent.Message.TableCardCellOrBuilder
static interface
Intent.Message.TableCardOrBuilder
static class
Intent.Message.TableCardRow
Row of [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].static interface
Intent.Message.TableCardRowOrBuilder
static class
Intent.Message.TelephonyPlayAudio
Plays audio from a file in Telephony Gateway.static interface
Intent.Message.TelephonyPlayAudioOrBuilder
static class
Intent.Message.TelephonySynthesizeSpeech
Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway.static interface
Intent.Message.TelephonySynthesizeSpeechOrBuilder
static class
Intent.Message.TelephonyTransferCall
Transfers the call in Telephony Gateway.static interface
Intent.Message.TelephonyTransferCallOrBuilder
static class
Intent.Message.Text
The text response message.static interface
Intent.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 int
BASIC_CARD_FIELD_NUMBER
static int
BROWSE_CAROUSEL_CARD_FIELD_NUMBER
static int
CARD_FIELD_NUMBER
static int
CAROUSEL_SELECT_FIELD_NUMBER
static int
IMAGE_FIELD_NUMBER
static int
LINK_OUT_SUGGESTION_FIELD_NUMBER
static int
LIST_SELECT_FIELD_NUMBER
static int
MEDIA_CONTENT_FIELD_NUMBER
static int
PAYLOAD_FIELD_NUMBER
static int
PLATFORM_FIELD_NUMBER
static int
QUICK_REPLIES_FIELD_NUMBER
static int
RBM_CAROUSEL_RICH_CARD_FIELD_NUMBER
static int
RBM_STANDALONE_RICH_CARD_FIELD_NUMBER
static int
RBM_TEXT_FIELD_NUMBER
static int
SIMPLE_RESPONSES_FIELD_NUMBER
static int
SUGGESTIONS_FIELD_NUMBER
static int
TABLE_CARD_FIELD_NUMBER
static int
TELEPHONY_PLAY_AUDIO_FIELD_NUMBER
static int
TELEPHONY_SYNTHESIZE_SPEECH_FIELD_NUMBER
static int
TELEPHONY_TRANSFER_CALL_FIELD_NUMBER
static int
TEXT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Intent.Message.BasicCard
getBasicCard()
Displays a basic card for Actions on Google.Intent.Message.BasicCardOrBuilder
getBasicCardOrBuilder()
Displays a basic card for Actions on Google.Intent.Message.BrowseCarouselCard
getBrowseCarouselCard()
Browse carousel card for Actions on Google.Intent.Message.BrowseCarouselCardOrBuilder
getBrowseCarouselCardOrBuilder()
Browse carousel card for Actions on Google.Intent.Message.Card
getCard()
Displays a card.Intent.Message.CardOrBuilder
getCardOrBuilder()
Displays a card.Intent.Message.CarouselSelect
getCarouselSelect()
Displays a carousel card for Actions on Google.Intent.Message.CarouselSelectOrBuilder
getCarouselSelectOrBuilder()
Displays a carousel card for Actions on Google.static Intent.Message
getDefaultInstance()
Intent.Message
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Intent.Message.Image
getImage()
Displays an image.Intent.Message.ImageOrBuilder
getImageOrBuilder()
Displays an image.Intent.Message.LinkOutSuggestion
getLinkOutSuggestion()
Displays a link out suggestion chip for Actions on Google.Intent.Message.LinkOutSuggestionOrBuilder
getLinkOutSuggestionOrBuilder()
Displays a link out suggestion chip for Actions on Google.Intent.Message.ListSelect
getListSelect()
Displays a list card for Actions on Google.Intent.Message.ListSelectOrBuilder
getListSelectOrBuilder()
Displays a list card for Actions on Google.Intent.Message.MediaContent
getMediaContent()
The media content card for Actions on Google.Intent.Message.MediaContentOrBuilder
getMediaContentOrBuilder()
The media content card for Actions on Google.Intent.Message.MessageCase
getMessageCase()
com.google.protobuf.Parser<Intent.Message>
getParserForType()
com.google.protobuf.Struct
getPayload()
A custom platform-specific response.com.google.protobuf.StructOrBuilder
getPayloadOrBuilder()
A custom platform-specific response.Intent.Message.Platform
getPlatform()
Optional.int
getPlatformValue()
Optional.Intent.Message.QuickReplies
getQuickReplies()
Displays quick replies.Intent.Message.QuickRepliesOrBuilder
getQuickRepliesOrBuilder()
Displays quick replies.Intent.Message.RbmCarouselCard
getRbmCarouselRichCard()
Rich Business Messaging (RBM) carousel rich card response.Intent.Message.RbmCarouselCardOrBuilder
getRbmCarouselRichCardOrBuilder()
Rich Business Messaging (RBM) carousel rich card response.Intent.Message.RbmStandaloneCard
getRbmStandaloneRichCard()
Standalone Rich Business Messaging (RBM) rich card response.Intent.Message.RbmStandaloneCardOrBuilder
getRbmStandaloneRichCardOrBuilder()
Standalone Rich Business Messaging (RBM) rich card response.Intent.Message.RbmText
getRbmText()
Rich Business Messaging (RBM) text response.Intent.Message.RbmTextOrBuilder
getRbmTextOrBuilder()
Rich Business Messaging (RBM) text response.int
getSerializedSize()
Intent.Message.SimpleResponses
getSimpleResponses()
Returns a voice or text-only response for Actions on Google.Intent.Message.SimpleResponsesOrBuilder
getSimpleResponsesOrBuilder()
Returns a voice or text-only response for Actions on Google.Intent.Message.Suggestions
getSuggestions()
Displays suggestion chips for Actions on Google.Intent.Message.SuggestionsOrBuilder
getSuggestionsOrBuilder()
Displays suggestion chips for Actions on Google.Intent.Message.TableCard
getTableCard()
Table card for Actions on Google.Intent.Message.TableCardOrBuilder
getTableCardOrBuilder()
Table card for Actions on Google.Intent.Message.TelephonyPlayAudio
getTelephonyPlayAudio()
Plays audio from a file in Telephony Gateway.Intent.Message.TelephonyPlayAudioOrBuilder
getTelephonyPlayAudioOrBuilder()
Plays audio from a file in Telephony Gateway.Intent.Message.TelephonySynthesizeSpeech
getTelephonySynthesizeSpeech()
Synthesizes speech in Telephony Gateway.Intent.Message.TelephonySynthesizeSpeechOrBuilder
getTelephonySynthesizeSpeechOrBuilder()
Synthesizes speech in Telephony Gateway.Intent.Message.TelephonyTransferCall
getTelephonyTransferCall()
Transfers the call in Telephony Gateway.Intent.Message.TelephonyTransferCallOrBuilder
getTelephonyTransferCallOrBuilder()
Transfers the call in Telephony Gateway.Intent.Message.Text
getText()
Returns a text response.Intent.Message.TextOrBuilder
getTextOrBuilder()
Returns a text response.boolean
hasBasicCard()
Displays a basic card for Actions on Google.boolean
hasBrowseCarouselCard()
Browse carousel card for Actions on Google.boolean
hasCard()
Displays a card.boolean
hasCarouselSelect()
Displays a carousel card for Actions on Google.int
hashCode()
boolean
hasImage()
Displays an image.boolean
hasLinkOutSuggestion()
Displays a link out suggestion chip for Actions on Google.boolean
hasListSelect()
Displays a list card for Actions on Google.boolean
hasMediaContent()
The media content card for Actions on Google.boolean
hasPayload()
A custom platform-specific response.boolean
hasQuickReplies()
Displays quick replies.boolean
hasRbmCarouselRichCard()
Rich Business Messaging (RBM) carousel rich card response.boolean
hasRbmStandaloneRichCard()
Standalone Rich Business Messaging (RBM) rich card response.boolean
hasRbmText()
Rich Business Messaging (RBM) text response.boolean
hasSimpleResponses()
Returns a voice or text-only response for Actions on Google.boolean
hasSuggestions()
Displays suggestion chips for Actions on Google.boolean
hasTableCard()
Table card for Actions on Google.boolean
hasTelephonyPlayAudio()
Plays audio from a file in Telephony Gateway.boolean
hasTelephonySynthesizeSpeech()
Synthesizes speech in Telephony Gateway.boolean
hasTelephonyTransferCall()
Transfers the call in Telephony Gateway.boolean
hasText()
Returns a text response.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Intent.Message.Builder
newBuilder()
static Intent.Message.Builder
newBuilder(Intent.Message prototype)
Intent.Message.Builder
newBuilderForType()
protected Intent.Message.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Intent.Message
parseDelimitedFrom(InputStream input)
static Intent.Message
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Intent.Message
parseFrom(byte[] data)
static Intent.Message
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Intent.Message
parseFrom(com.google.protobuf.ByteString data)
static Intent.Message
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Intent.Message
parseFrom(com.google.protobuf.CodedInputStream input)
static Intent.Message
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Intent.Message
parseFrom(InputStream input)
static Intent.Message
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Intent.Message
parseFrom(ByteBuffer data)
static Intent.Message
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Intent.Message>
parser()
Intent.Message.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getMessageCase
public Intent.Message.MessageCase getMessageCase()
- Specified by:
getMessageCase
in interfaceIntent.MessageOrBuilder
-
hasText
public boolean hasText()
Returns a text response.
.google.cloud.dialogflow.v2beta1.Intent.Message.Text text = 1;
- Specified by:
hasText
in 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:
getText
in 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:
getTextOrBuilder
in interfaceIntent.MessageOrBuilder
-
hasImage
public boolean hasImage()
Displays an image.
.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 2;
- Specified by:
hasImage
in 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:
getImage
in 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:
getImageOrBuilder
in interfaceIntent.MessageOrBuilder
-
hasQuickReplies
public boolean hasQuickReplies()
Displays quick replies.
.google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies quick_replies = 3;
- Specified by:
hasQuickReplies
in 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:
getQuickReplies
in 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:
getQuickRepliesOrBuilder
in interfaceIntent.MessageOrBuilder
-
hasCard
public boolean hasCard()
Displays a card.
.google.cloud.dialogflow.v2beta1.Intent.Message.Card card = 4;
- Specified by:
hasCard
in 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:
getCard
in 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:
getCardOrBuilder
in interfaceIntent.MessageOrBuilder
-
hasPayload
public boolean hasPayload()
A custom platform-specific response.
.google.protobuf.Struct payload = 5;
- Specified by:
hasPayload
in 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:
getPayload
in interfaceIntent.MessageOrBuilder
- Returns:
- The payload.
-
getPayloadOrBuilder
public com.google.protobuf.StructOrBuilder getPayloadOrBuilder()
A custom platform-specific response.
.google.protobuf.Struct payload = 5;
- Specified by:
getPayloadOrBuilder
in 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:
hasSimpleResponses
in 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:
getSimpleResponses
in 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:
getSimpleResponsesOrBuilder
in 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:
hasBasicCard
in 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:
getBasicCard
in 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:
getBasicCardOrBuilder
in interfaceIntent.MessageOrBuilder
-
hasSuggestions
public boolean hasSuggestions()
Displays suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions suggestions = 9;
- Specified by:
hasSuggestions
in 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:
getSuggestions
in 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:
getSuggestionsOrBuilder
in 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:
hasLinkOutSuggestion
in 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:
getLinkOutSuggestion
in 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:
getLinkOutSuggestionOrBuilder
in 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:
hasListSelect
in 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:
getListSelect
in 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:
getListSelectOrBuilder
in 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:
hasCarouselSelect
in 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:
getCarouselSelect
in 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:
getCarouselSelectOrBuilder
in 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:
hasTelephonyPlayAudio
in 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:
getTelephonyPlayAudio
in 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:
getTelephonyPlayAudioOrBuilder
in interfaceIntent.MessageOrBuilder
-
hasTelephonySynthesizeSpeech
public boolean hasTelephonySynthesizeSpeech()
Synthesizes speech in Telephony Gateway.
.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech telephony_synthesize_speech = 14;
- Specified by:
hasTelephonySynthesizeSpeech
in 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:
getTelephonySynthesizeSpeech
in 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:
getTelephonySynthesizeSpeechOrBuilder
in 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:
hasTelephonyTransferCall
in 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:
getTelephonyTransferCall
in 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:
getTelephonyTransferCallOrBuilder
in 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:
hasRbmText
in 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:
getRbmText
in 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:
getRbmTextOrBuilder
in 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:
hasRbmStandaloneRichCard
in 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:
getRbmStandaloneRichCard
in 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:
getRbmStandaloneRichCardOrBuilder
in 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:
hasRbmCarouselRichCard
in 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:
getRbmCarouselRichCard
in 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:
getRbmCarouselRichCardOrBuilder
in 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:
hasBrowseCarouselCard
in 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:
getBrowseCarouselCard
in 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:
getBrowseCarouselCardOrBuilder
in interfaceIntent.MessageOrBuilder
-
hasTableCard
public boolean hasTableCard()
Table card for Actions on Google.
.google.cloud.dialogflow.v2beta1.Intent.Message.TableCard table_card = 23;
- Specified by:
hasTableCard
in 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:
getTableCard
in 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:
getTableCardOrBuilder
in 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:
hasMediaContent
in 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:
getMediaContent
in 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:
getMediaContentOrBuilder
in 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:
getPlatformValue
in 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:
getPlatform
in interfaceIntent.MessageOrBuilder
- Returns:
- The platform.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Intent.Message.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Intent.Message getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-