Package com.google.cloud.dialogflow.v2
Class Intent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.v2.Intent
- All Implemented Interfaces:
IntentOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Intent
extends com.google.protobuf.GeneratedMessage
implements IntentOrBuilder
An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).Protobuf type
google.cloud.dialogflow.v2.Intent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn intent categorizes an end-user's intention for one conversation turn.static final classRepresents a single followup intent in the chain.static interfacestatic final classA rich response message.static interfacestatic final classRepresents intent parameters.static interfacestatic final classRepresents an example that the agent is trained on.static interfacestatic enumRepresents the different states that webhooks can be in.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.com.google.protobuf.ByteStringOptional.static IntentgetDefaultResponsePlatforms(int index) Optional.intOptional.Optional.intgetDefaultResponsePlatformsValue(int index) Optional.Optional.static final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.booleanOptional.getEvents(int index) Optional.com.google.protobuf.ByteStringgetEventsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getFollowupIntentInfo(int index) Output only.intOutput only.Output only.getFollowupIntentInfoOrBuilder(int index) Output only.List<? extends Intent.FollowupIntentInfoOrBuilder>Output only.getInputContextNames(int index) Optional.com.google.protobuf.ByteStringgetInputContextNamesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.booleanOptional.booleanOptional.getMessages(int index) Optional.intOptional.Optional.getMessagesOrBuilder(int index) Optional.List<? extends Intent.MessageOrBuilder>Optional.booleanOptional.getName()Optional.com.google.protobuf.ByteStringOptional.getOutputContexts(int index) Optional.intOptional.Optional.getOutputContextsOrBuilder(int index) Optional.List<? extends ContextOrBuilder>Optional.getParameters(int index) Optional.intOptional.Optional.getParametersOrBuilder(int index) Optional.List<? extends Intent.ParameterOrBuilder>Optional.Read-only after creation.com.google.protobuf.ByteStringRead-only after creation.com.google.protobuf.Parser<Intent>intOptional.booleanOptional.Output only.com.google.protobuf.ByteStringOutput only.intgetTrainingPhrases(int index) Optional.intOptional.Optional.getTrainingPhrasesOrBuilder(int index) Optional.List<? extends Intent.TrainingPhraseOrBuilder>Optional.Optional.intOptional.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Intent.Builderstatic Intent.BuildernewBuilder(Intent prototype) protected Intent.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static IntentparseDelimitedFrom(InputStream input) static IntentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IntentparseFrom(byte[] data) static IntentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IntentparseFrom(com.google.protobuf.ByteString data) static IntentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IntentparseFrom(com.google.protobuf.CodedInputStream input) static IntentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IntentparseFrom(InputStream input) static IntentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IntentparseFrom(ByteBuffer data) static IntentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Intent>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
WEBHOOK_STATE_FIELD_NUMBER
public static final int WEBHOOK_STATE_FIELD_NUMBER- See Also:
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER- See Also:
-
IS_FALLBACK_FIELD_NUMBER
public static final int IS_FALLBACK_FIELD_NUMBER- See Also:
-
ML_DISABLED_FIELD_NUMBER
public static final int ML_DISABLED_FIELD_NUMBER- See Also:
-
LIVE_AGENT_HANDOFF_FIELD_NUMBER
public static final int LIVE_AGENT_HANDOFF_FIELD_NUMBER- See Also:
-
END_INTERACTION_FIELD_NUMBER
public static final int END_INTERACTION_FIELD_NUMBER- See Also:
-
INPUT_CONTEXT_NAMES_FIELD_NUMBER
public static final int INPUT_CONTEXT_NAMES_FIELD_NUMBER- See Also:
-
EVENTS_FIELD_NUMBER
public static final int EVENTS_FIELD_NUMBER- See Also:
-
TRAINING_PHRASES_FIELD_NUMBER
public static final int TRAINING_PHRASES_FIELD_NUMBER- See Also:
-
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER- See Also:
-
OUTPUT_CONTEXTS_FIELD_NUMBER
public static final int OUTPUT_CONTEXTS_FIELD_NUMBER- See Also:
-
RESET_CONTEXTS_FIELD_NUMBER
public static final int RESET_CONTEXTS_FIELD_NUMBER- See Also:
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER- See Also:
-
MESSAGES_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER- See Also:
-
DEFAULT_RESPONSE_PLATFORMS_FIELD_NUMBER
public static final int DEFAULT_RESPONSE_PLATFORMS_FIELD_NUMBER- See Also:
-
ROOT_FOLLOWUP_INTENT_NAME_FIELD_NUMBER
public static final int ROOT_FOLLOWUP_INTENT_NAME_FIELD_NUMBER- See Also:
-
PARENT_FOLLOWUP_INTENT_NAME_FIELD_NUMBER
public static final int PARENT_FOLLOWUP_INTENT_NAME_FIELD_NUMBER- See Also:
-
FOLLOWUP_INTENT_INFO_FIELD_NUMBER
public static final int FOLLOWUP_INTENT_INFO_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents] methods. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNamein interfaceIntentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents] methods. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNameBytesin interfaceIntentOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceIntentOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceIntentOrBuilder- Returns:
- The bytes for displayName.
-
getWebhookStateValue
public int getWebhookStateValue()Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWebhookStateValuein interfaceIntentOrBuilder- Returns:
- The enum numeric value on the wire for webhookState.
-
getWebhookState
Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWebhookStatein interfaceIntentOrBuilder- Returns:
- The webhookState.
-
getPriority
public int getPriority()Optional. The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
int32 priority = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPriorityin interfaceIntentOrBuilder- Returns:
- The priority.
-
getIsFallback
public boolean getIsFallback()Optional. Indicates whether this is a fallback intent.
bool is_fallback = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIsFallbackin interfaceIntentOrBuilder- Returns:
- The isFallback.
-
getMlDisabled
public boolean getMlDisabled()Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
bool ml_disabled = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMlDisabledin interfaceIntentOrBuilder- Returns:
- The mlDisabled.
-
getLiveAgentHandoff
public boolean getLiveAgentHandoff()Optional. Indicates that a live agent should be brought in to handle the interaction with the user. In most cases, when you set this flag to true, you would also want to set end_interaction to true as well. Default is false.
bool live_agent_handoff = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLiveAgentHandoffin interfaceIntentOrBuilder- Returns:
- The liveAgentHandoff.
-
getEndInteraction
public boolean getEndInteraction()Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
bool end_interaction = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndInteractionin interfaceIntentOrBuilder- Returns:
- The endInteraction.
-
getInputContextNamesList
public com.google.protobuf.ProtocolStringList getInputContextNamesList()Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInputContextNamesListin interfaceIntentOrBuilder- Returns:
- A list containing the inputContextNames.
-
getInputContextNamesCount
public int getInputContextNamesCount()Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInputContextNamesCountin interfaceIntentOrBuilder- Returns:
- The count of inputContextNames.
-
getInputContextNames
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInputContextNamesin interfaceIntentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The inputContextNames at the given index.
-
getInputContextNamesBytes
public com.google.protobuf.ByteString getInputContextNamesBytes(int index) Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInputContextNamesBytesin interfaceIntentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inputContextNames at the given index.
-
getEventsList
public com.google.protobuf.ProtocolStringList getEventsList()Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventsListin interfaceIntentOrBuilder- Returns:
- A list containing the events.
-
getEventsCount
public int getEventsCount()Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventsCountin interfaceIntentOrBuilder- Returns:
- The count of events.
-
getEvents
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventsin interfaceIntentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The events at the given index.
-
getEventsBytes
public com.google.protobuf.ByteString getEventsBytes(int index) Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventsBytesin interfaceIntentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the events at the given index.
-
getTrainingPhrasesList
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTrainingPhrasesListin interfaceIntentOrBuilder
-
getTrainingPhrasesOrBuilderList
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTrainingPhrasesOrBuilderListin interfaceIntentOrBuilder
-
getTrainingPhrasesCount
public int getTrainingPhrasesCount()Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTrainingPhrasesCountin interfaceIntentOrBuilder
-
getTrainingPhrases
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTrainingPhrasesin interfaceIntentOrBuilder
-
getTrainingPhrasesOrBuilder
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTrainingPhrasesOrBuilderin interfaceIntentOrBuilder
-
getAction
Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
string action = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionin interfaceIntentOrBuilder- Returns:
- The action.
-
getActionBytes
public com.google.protobuf.ByteString getActionBytes()Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
string action = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionBytesin interfaceIntentOrBuilder- Returns:
- The bytes for action.
-
getOutputContextsList
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputContextsListin interfaceIntentOrBuilder
-
getOutputContextsOrBuilderList
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputContextsOrBuilderListin interfaceIntentOrBuilder
-
getOutputContextsCount
public int getOutputContextsCount()Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputContextsCountin interfaceIntentOrBuilder
-
getOutputContexts
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputContextsin interfaceIntentOrBuilder
-
getOutputContextsOrBuilder
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputContextsOrBuilderin interfaceIntentOrBuilder
-
getResetContexts
public boolean getResetContexts()Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
bool reset_contexts = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getResetContextsin interfaceIntentOrBuilder- Returns:
- The resetContexts.
-
getParametersList
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersListin interfaceIntentOrBuilder
-
getParametersOrBuilderList
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersOrBuilderListin interfaceIntentOrBuilder
-
getParametersCount
public int getParametersCount()Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersCountin interfaceIntentOrBuilder
-
getParameters
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersin interfaceIntentOrBuilder
-
getParametersOrBuilder
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersOrBuilderin interfaceIntentOrBuilder
-
getMessagesList
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMessagesListin interfaceIntentOrBuilder
-
getMessagesOrBuilderList
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMessagesOrBuilderListin interfaceIntentOrBuilder
-
getMessagesCount
public int getMessagesCount()Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMessagesCountin interfaceIntentOrBuilder
-
getMessages
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMessagesin interfaceIntentOrBuilder
-
getMessagesOrBuilder
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMessagesOrBuilderin interfaceIntentOrBuilder
-
getDefaultResponsePlatformsList
Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultResponsePlatformsListin interfaceIntentOrBuilder- Returns:
- A list containing the defaultResponsePlatforms.
-
getDefaultResponsePlatformsCount
public int getDefaultResponsePlatformsCount()Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultResponsePlatformsCountin interfaceIntentOrBuilder- Returns:
- The count of defaultResponsePlatforms.
-
getDefaultResponsePlatforms
Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultResponsePlatformsin interfaceIntentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The defaultResponsePlatforms at the given index.
-
getDefaultResponsePlatformsValueList
Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultResponsePlatformsValueListin interfaceIntentOrBuilder- Returns:
- A list containing the enum numeric values on the wire for defaultResponsePlatforms.
-
getDefaultResponsePlatformsValue
public int getDefaultResponsePlatformsValue(int index) Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultResponsePlatformsValuein interfaceIntentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of defaultResponsePlatforms at the given index.
-
getRootFollowupIntentName
Output only. Read-only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. We populate this field only in the output. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRootFollowupIntentNamein interfaceIntentOrBuilder- Returns:
- The rootFollowupIntentName.
-
getRootFollowupIntentNameBytes
public com.google.protobuf.ByteString getRootFollowupIntentNameBytes()Output only. Read-only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. We populate this field only in the output. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRootFollowupIntentNameBytesin interfaceIntentOrBuilder- Returns:
- The bytes for rootFollowupIntentName.
-
getParentFollowupIntentName
Read-only after creation. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents], in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;- Specified by:
getParentFollowupIntentNamein interfaceIntentOrBuilder- Returns:
- The parentFollowupIntentName.
-
getParentFollowupIntentNameBytes
public com.google.protobuf.ByteString getParentFollowupIntentNameBytes()Read-only after creation. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents], in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;- Specified by:
getParentFollowupIntentNameBytesin interfaceIntentOrBuilder- Returns:
- The bytes for parentFollowupIntentName.
-
getFollowupIntentInfoList
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFollowupIntentInfoListin interfaceIntentOrBuilder
-
getFollowupIntentInfoOrBuilderList
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFollowupIntentInfoOrBuilderListin interfaceIntentOrBuilder
-
getFollowupIntentInfoCount
public int getFollowupIntentInfoCount()Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFollowupIntentInfoCountin interfaceIntentOrBuilder
-
getFollowupIntentInfo
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFollowupIntentInfoin interfaceIntentOrBuilder
-
getFollowupIntentInfoOrBuilder
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFollowupIntentInfoOrBuilderin interfaceIntentOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Intent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Intent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Intent 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Intent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Intent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Intent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Intent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Intent.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-