Package com.google.cloud.dialogflow.v2
Class Intent.Message
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.v2.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
A rich response message. Corresponds to the intent `Response` field in the Dialogflow console. For more information, see [Rich response messages](https://cloud.google.com/dialogflow/docs/intents-rich-messages).
Protobuf typegoogle.cloud.dialogflow.v2.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.BuilderA rich response message.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.v2.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.PlatformThe rich response message integration platform.static classIntent.Message.QuickRepliesThe quick replies response message.static interfaceIntent.Message.QuickRepliesOrBuilderstatic 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.v2.Intent.Message.TableCardRow].static interfaceIntent.Message.TableCardCellOrBuilderstatic interfaceIntent.Message.TableCardOrBuilderstatic classIntent.Message.TableCardRowRow of [TableCard][google.cloud.dialogflow.v2.Intent.Message.TableCard].static interfaceIntent.Message.TableCardRowOrBuilderstatic 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 intSIMPLE_RESPONSES_FIELD_NUMBERstatic intSUGGESTIONS_FIELD_NUMBERstatic intTABLE_CARD_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()The basic card response for Actions on Google.Intent.Message.BasicCardOrBuildergetBasicCardOrBuilder()The basic card response 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()The card response.Intent.Message.CardOrBuildergetCardOrBuilder()The card response.Intent.Message.CarouselSelectgetCarouselSelect()The carousel card response for Actions on Google.Intent.Message.CarouselSelectOrBuildergetCarouselSelectOrBuilder()The carousel card response for Actions on Google.static Intent.MessagegetDefaultInstance()Intent.MessagegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Intent.Message.ImagegetImage()The image response.Intent.Message.ImageOrBuildergetImageOrBuilder()The image response.Intent.Message.LinkOutSuggestiongetLinkOutSuggestion()The link out suggestion chip for Actions on Google.Intent.Message.LinkOutSuggestionOrBuildergetLinkOutSuggestionOrBuilder()The link out suggestion chip for Actions on Google.Intent.Message.ListSelectgetListSelect()The list card response for Actions on Google.Intent.Message.ListSelectOrBuildergetListSelectOrBuilder()The list card response 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()The quick replies response.Intent.Message.QuickRepliesOrBuildergetQuickRepliesOrBuilder()The quick replies response.intgetSerializedSize()Intent.Message.SimpleResponsesgetSimpleResponses()The voice and text-only responses for Actions on Google.Intent.Message.SimpleResponsesOrBuildergetSimpleResponsesOrBuilder()The voice and text-only responses for Actions on Google.Intent.Message.SuggestionsgetSuggestions()The suggestion chips for Actions on Google.Intent.Message.SuggestionsOrBuildergetSuggestionsOrBuilder()The 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.TextgetText()The text response.Intent.Message.TextOrBuildergetTextOrBuilder()The text response.booleanhasBasicCard()The basic card response for Actions on Google.booleanhasBrowseCarouselCard()Browse carousel card for Actions on Google.booleanhasCard()The card response.booleanhasCarouselSelect()The carousel card response for Actions on Google.inthashCode()booleanhasImage()The image response.booleanhasLinkOutSuggestion()The link out suggestion chip for Actions on Google.booleanhasListSelect()The list card response for Actions on Google.booleanhasMediaContent()The media content card for Actions on Google.booleanhasPayload()A custom platform-specific response.booleanhasQuickReplies()The quick replies response.booleanhasSimpleResponses()The voice and text-only responses for Actions on Google.booleanhasSuggestions()The suggestion chips for Actions on Google.booleanhasTableCard()Table card for Actions on Google.booleanhasText()The 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
-
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()
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;- Specified by:
hasTextin interfaceIntent.MessageOrBuilder- Returns:
- Whether the text field is set.
-
getText
public Intent.Message.Text getText()
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;- Specified by:
getTextin interfaceIntent.MessageOrBuilder- Returns:
- The text.
-
getTextOrBuilder
public Intent.Message.TextOrBuilder getTextOrBuilder()
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;- Specified by:
getTextOrBuilderin interfaceIntent.MessageOrBuilder
-
hasImage
public boolean hasImage()
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;- Specified by:
hasImagein interfaceIntent.MessageOrBuilder- Returns:
- Whether the image field is set.
-
getImage
public Intent.Message.Image getImage()
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;- Specified by:
getImagein interfaceIntent.MessageOrBuilder- Returns:
- The image.
-
getImageOrBuilder
public Intent.Message.ImageOrBuilder getImageOrBuilder()
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;- Specified by:
getImageOrBuilderin interfaceIntent.MessageOrBuilder
-
hasQuickReplies
public boolean hasQuickReplies()
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;- Specified by:
hasQuickRepliesin interfaceIntent.MessageOrBuilder- Returns:
- Whether the quickReplies field is set.
-
getQuickReplies
public Intent.Message.QuickReplies getQuickReplies()
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;- Specified by:
getQuickRepliesin interfaceIntent.MessageOrBuilder- Returns:
- The quickReplies.
-
getQuickRepliesOrBuilder
public Intent.Message.QuickRepliesOrBuilder getQuickRepliesOrBuilder()
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;- Specified by:
getQuickRepliesOrBuilderin interfaceIntent.MessageOrBuilder
-
hasCard
public boolean hasCard()
The card response.
.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;- Specified by:
hasCardin interfaceIntent.MessageOrBuilder- Returns:
- Whether the card field is set.
-
getCard
public Intent.Message.Card getCard()
The card response.
.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;- Specified by:
getCardin interfaceIntent.MessageOrBuilder- Returns:
- The card.
-
getCardOrBuilder
public Intent.Message.CardOrBuilder getCardOrBuilder()
The card response.
.google.cloud.dialogflow.v2.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()
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;- Specified by:
hasSimpleResponsesin interfaceIntent.MessageOrBuilder- Returns:
- Whether the simpleResponses field is set.
-
getSimpleResponses
public Intent.Message.SimpleResponses getSimpleResponses()
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;- Specified by:
getSimpleResponsesin interfaceIntent.MessageOrBuilder- Returns:
- The simpleResponses.
-
getSimpleResponsesOrBuilder
public Intent.Message.SimpleResponsesOrBuilder getSimpleResponsesOrBuilder()
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;- Specified by:
getSimpleResponsesOrBuilderin interfaceIntent.MessageOrBuilder
-
hasBasicCard
public boolean hasBasicCard()
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;- Specified by:
hasBasicCardin interfaceIntent.MessageOrBuilder- Returns:
- Whether the basicCard field is set.
-
getBasicCard
public Intent.Message.BasicCard getBasicCard()
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;- Specified by:
getBasicCardin interfaceIntent.MessageOrBuilder- Returns:
- The basicCard.
-
getBasicCardOrBuilder
public Intent.Message.BasicCardOrBuilder getBasicCardOrBuilder()
The basic card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8;- Specified by:
getBasicCardOrBuilderin interfaceIntent.MessageOrBuilder
-
hasSuggestions
public boolean hasSuggestions()
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;- Specified by:
hasSuggestionsin interfaceIntent.MessageOrBuilder- Returns:
- Whether the suggestions field is set.
-
getSuggestions
public Intent.Message.Suggestions getSuggestions()
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;- Specified by:
getSuggestionsin interfaceIntent.MessageOrBuilder- Returns:
- The suggestions.
-
getSuggestionsOrBuilder
public Intent.Message.SuggestionsOrBuilder getSuggestionsOrBuilder()
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;- Specified by:
getSuggestionsOrBuilderin interfaceIntent.MessageOrBuilder
-
hasLinkOutSuggestion
public boolean hasLinkOutSuggestion()
The link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2.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()
The link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;- Specified by:
getLinkOutSuggestionin interfaceIntent.MessageOrBuilder- Returns:
- The linkOutSuggestion.
-
getLinkOutSuggestionOrBuilder
public Intent.Message.LinkOutSuggestionOrBuilder getLinkOutSuggestionOrBuilder()
The link out suggestion chip for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10;- Specified by:
getLinkOutSuggestionOrBuilderin interfaceIntent.MessageOrBuilder
-
hasListSelect
public boolean hasListSelect()
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;- Specified by:
hasListSelectin interfaceIntent.MessageOrBuilder- Returns:
- Whether the listSelect field is set.
-
getListSelect
public Intent.Message.ListSelect getListSelect()
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;- Specified by:
getListSelectin interfaceIntent.MessageOrBuilder- Returns:
- The listSelect.
-
getListSelectOrBuilder
public Intent.Message.ListSelectOrBuilder getListSelectOrBuilder()
The list card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11;- Specified by:
getListSelectOrBuilderin interfaceIntent.MessageOrBuilder
-
hasCarouselSelect
public boolean hasCarouselSelect()
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;- Specified by:
hasCarouselSelectin interfaceIntent.MessageOrBuilder- Returns:
- Whether the carouselSelect field is set.
-
getCarouselSelect
public Intent.Message.CarouselSelect getCarouselSelect()
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;- Specified by:
getCarouselSelectin interfaceIntent.MessageOrBuilder- Returns:
- The carouselSelect.
-
getCarouselSelectOrBuilder
public Intent.Message.CarouselSelectOrBuilder getCarouselSelectOrBuilder()
The carousel card response for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12;- Specified by:
getCarouselSelectOrBuilderin interfaceIntent.MessageOrBuilder
-
hasBrowseCarouselCard
public boolean hasBrowseCarouselCard()
Browse carousel card for Actions on Google.
.google.cloud.dialogflow.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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
-
-