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 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
A rich response message.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.v2.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
The rich response message integration platform.static class
Intent.Message.QuickReplies
The quick replies response message.static interface
Intent.Message.QuickRepliesOrBuilder
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.v2.Intent.Message.TableCardRow].static interface
Intent.Message.TableCardCellOrBuilder
static interface
Intent.Message.TableCardOrBuilder
static class
Intent.Message.TableCardRow
Row of [TableCard][google.cloud.dialogflow.v2.Intent.Message.TableCard].static interface
Intent.Message.TableCardRowOrBuilder
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
SIMPLE_RESPONSES_FIELD_NUMBER
static int
SUGGESTIONS_FIELD_NUMBER
static int
TABLE_CARD_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()
The basic card response for Actions on Google.Intent.Message.BasicCardOrBuilder
getBasicCardOrBuilder()
The basic card response 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()
The card response.Intent.Message.CardOrBuilder
getCardOrBuilder()
The card response.Intent.Message.CarouselSelect
getCarouselSelect()
The carousel card response for Actions on Google.Intent.Message.CarouselSelectOrBuilder
getCarouselSelectOrBuilder()
The carousel card response for Actions on Google.static Intent.Message
getDefaultInstance()
Intent.Message
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Intent.Message.Image
getImage()
The image response.Intent.Message.ImageOrBuilder
getImageOrBuilder()
The image response.Intent.Message.LinkOutSuggestion
getLinkOutSuggestion()
The link out suggestion chip for Actions on Google.Intent.Message.LinkOutSuggestionOrBuilder
getLinkOutSuggestionOrBuilder()
The link out suggestion chip for Actions on Google.Intent.Message.ListSelect
getListSelect()
The list card response for Actions on Google.Intent.Message.ListSelectOrBuilder
getListSelectOrBuilder()
The list card response 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()
The quick replies response.Intent.Message.QuickRepliesOrBuilder
getQuickRepliesOrBuilder()
The quick replies response.int
getSerializedSize()
Intent.Message.SimpleResponses
getSimpleResponses()
The voice and text-only responses for Actions on Google.Intent.Message.SimpleResponsesOrBuilder
getSimpleResponsesOrBuilder()
The voice and text-only responses for Actions on Google.Intent.Message.Suggestions
getSuggestions()
The suggestion chips for Actions on Google.Intent.Message.SuggestionsOrBuilder
getSuggestionsOrBuilder()
The 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.Text
getText()
The text response.Intent.Message.TextOrBuilder
getTextOrBuilder()
The text response.boolean
hasBasicCard()
The basic card response for Actions on Google.boolean
hasBrowseCarouselCard()
Browse carousel card for Actions on Google.boolean
hasCard()
The card response.boolean
hasCarouselSelect()
The carousel card response for Actions on Google.int
hashCode()
boolean
hasImage()
The image response.boolean
hasLinkOutSuggestion()
The link out suggestion chip for Actions on Google.boolean
hasListSelect()
The list card response for Actions on Google.boolean
hasMediaContent()
The media content card for Actions on Google.boolean
hasPayload()
A custom platform-specific response.boolean
hasQuickReplies()
The quick replies response.boolean
hasSimpleResponses()
The voice and text-only responses for Actions on Google.boolean
hasSuggestions()
The suggestion chips for Actions on Google.boolean
hasTableCard()
Table card for Actions on Google.boolean
hasText()
The 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
-
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()
The text response.
.google.cloud.dialogflow.v2.Intent.Message.Text text = 1;
- Specified by:
hasText
in 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:
getText
in 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:
getTextOrBuilder
in interfaceIntent.MessageOrBuilder
-
hasImage
public boolean hasImage()
The image response.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 2;
- Specified by:
hasImage
in 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:
getImage
in 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:
getImageOrBuilder
in interfaceIntent.MessageOrBuilder
-
hasQuickReplies
public boolean hasQuickReplies()
The quick replies response.
.google.cloud.dialogflow.v2.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()
The quick replies response.
.google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3;
- Specified by:
getQuickReplies
in 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:
getQuickRepliesOrBuilder
in interfaceIntent.MessageOrBuilder
-
hasCard
public boolean hasCard()
The card response.
.google.cloud.dialogflow.v2.Intent.Message.Card card = 4;
- Specified by:
hasCard
in 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:
getCard
in 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:
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()
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.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()
The voice and text-only responses for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7;
- Specified by:
getSimpleResponses
in 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:
getSimpleResponsesOrBuilder
in 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:
hasBasicCard
in 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:
getBasicCard
in 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:
getBasicCardOrBuilder
in interfaceIntent.MessageOrBuilder
-
hasSuggestions
public boolean hasSuggestions()
The suggestion chips for Actions on Google.
.google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9;
- Specified by:
hasSuggestions
in 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:
getSuggestions
in 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:
getSuggestionsOrBuilder
in 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:
hasLinkOutSuggestion
in 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:
getLinkOutSuggestion
in 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:
getLinkOutSuggestionOrBuilder
in 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:
hasListSelect
in 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:
getListSelect
in 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:
getListSelectOrBuilder
in 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:
hasCarouselSelect
in 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:
getCarouselSelect
in 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:
getCarouselSelectOrBuilder
in 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:
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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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
-
-