public final class Intent extends GeneratedMessageV3 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.v2beta1.Intent
Modifier and Type | Class and Description |
---|---|
static class |
Intent.Builder
An intent categorizes an end-user's intention for one conversation turn.
|
static class |
Intent.FollowupIntentInfo
Represents a single followup intent in the chain.
|
static interface |
Intent.FollowupIntentInfoOrBuilder |
static class |
Intent.Message
Corresponds to the `Response` field in the Dialogflow console.
|
static interface |
Intent.MessageOrBuilder |
static class |
Intent.Parameter
Represents intent parameters.
|
static interface |
Intent.ParameterOrBuilder |
static class |
Intent.TrainingPhrase
Represents an example that the agent is trained on.
|
static interface |
Intent.TrainingPhraseOrBuilder |
static class |
Intent.WebhookState
Represents the different states that webhooks can be in.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
ACTION_FIELD_NUMBER |
static int |
DEFAULT_RESPONSE_PLATFORMS_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
END_INTERACTION_FIELD_NUMBER |
static int |
EVENTS_FIELD_NUMBER |
static int |
FOLLOWUP_INTENT_INFO_FIELD_NUMBER |
static int |
INPUT_CONTEXT_NAMES_FIELD_NUMBER |
static int |
IS_FALLBACK_FIELD_NUMBER |
static int |
LIVE_AGENT_HANDOFF_FIELD_NUMBER |
static int |
MESSAGES_FIELD_NUMBER |
static int |
ML_DISABLED_FIELD_NUMBER |
static int |
ML_ENABLED_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OUTPUT_CONTEXTS_FIELD_NUMBER |
static int |
PARAMETERS_FIELD_NUMBER |
static int |
PARENT_FOLLOWUP_INTENT_NAME_FIELD_NUMBER |
static int |
PRIORITY_FIELD_NUMBER |
static int |
RESET_CONTEXTS_FIELD_NUMBER |
static int |
ROOT_FOLLOWUP_INTENT_NAME_FIELD_NUMBER |
static int |
TRAINING_PHRASES_FIELD_NUMBER |
static int |
WEBHOOK_STATE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int WEBHOOK_STATE_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
public static final int IS_FALLBACK_FIELD_NUMBER
public static final int ML_ENABLED_FIELD_NUMBER
public static final int ML_DISABLED_FIELD_NUMBER
public static final int LIVE_AGENT_HANDOFF_FIELD_NUMBER
public static final int END_INTERACTION_FIELD_NUMBER
public static final int INPUT_CONTEXT_NAMES_FIELD_NUMBER
public static final int EVENTS_FIELD_NUMBER
public static final int TRAINING_PHRASES_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
public static final int OUTPUT_CONTEXTS_FIELD_NUMBER
public static final int RESET_CONTEXTS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER
public static final int DEFAULT_RESPONSE_PLATFORMS_FIELD_NUMBER
public static final int ROOT_FOLLOWUP_INTENT_NAME_FIELD_NUMBER
public static final int PARENT_FOLLOWUP_INTENT_NAME_FIELD_NUMBER
public static final int FOLLOWUP_INTENT_INFO_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getName()
Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents] methods. Supported formats: - `projects/<Project ID>/agent/intents/<Intent ID>` - `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>`
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
getName
in interface IntentOrBuilder
public ByteString getNameBytes()
Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents] methods. Supported formats: - `projects/<Project ID>/agent/intents/<Intent ID>` - `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>`
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
getNameBytes
in interface IntentOrBuilder
public String getDisplayName()
Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
getDisplayName
in interface IntentOrBuilder
public ByteString getDisplayNameBytes()
Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
getDisplayNameBytes
in interface IntentOrBuilder
public int getWebhookStateValue()
Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];
getWebhookStateValue
in interface IntentOrBuilder
public Intent.WebhookState getWebhookState()
Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];
getWebhookState
in interface IntentOrBuilder
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];
getPriority
in interface IntentOrBuilder
public boolean getIsFallback()
Optional. Indicates whether this is a fallback intent.
bool is_fallback = 4 [(.google.api.field_behavior) = OPTIONAL];
getIsFallback
in interface IntentOrBuilder
@Deprecated public boolean getMlEnabled()
Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.
bool ml_enabled = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
getMlEnabled
in interface IntentOrBuilder
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];
getMlDisabled
in interface IntentOrBuilder
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];
getLiveAgentHandoff
in interface IntentOrBuilder
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];
getEndInteraction
in interface IntentOrBuilder
public ProtocolStringList getInputContextNamesList()
Optional. The list of context names required for this intent to be triggered. Formats: - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` - `projects/<Project ID>/locations/<Location ID>/agent/sessions/-/contexts/<Context ID>`
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
getInputContextNamesList
in interface IntentOrBuilder
public int getInputContextNamesCount()
Optional. The list of context names required for this intent to be triggered. Formats: - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` - `projects/<Project ID>/locations/<Location ID>/agent/sessions/-/contexts/<Context ID>`
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
getInputContextNamesCount
in interface IntentOrBuilder
public String getInputContextNames(int index)
Optional. The list of context names required for this intent to be triggered. Formats: - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` - `projects/<Project ID>/locations/<Location ID>/agent/sessions/-/contexts/<Context ID>`
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
getInputContextNames
in interface IntentOrBuilder
index
- The index of the element to return.public ByteString getInputContextNamesBytes(int index)
Optional. The list of context names required for this intent to be triggered. Formats: - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` - `projects/<Project ID>/locations/<Location ID>/agent/sessions/-/contexts/<Context ID>`
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
getInputContextNamesBytes
in interface IntentOrBuilder
index
- The index of the value to return.public 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];
getEventsList
in interface IntentOrBuilder
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];
getEventsCount
in interface IntentOrBuilder
public String getEvents(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];
getEvents
in interface IntentOrBuilder
index
- The index of the element to return.public 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];
getEventsBytes
in interface IntentOrBuilder
index
- The index of the value to return.public List<Intent.TrainingPhrase> getTrainingPhrasesList()
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
getTrainingPhrasesList
in interface IntentOrBuilder
public List<? extends Intent.TrainingPhraseOrBuilder> getTrainingPhrasesOrBuilderList()
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
getTrainingPhrasesOrBuilderList
in interface IntentOrBuilder
public int getTrainingPhrasesCount()
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
getTrainingPhrasesCount
in interface IntentOrBuilder
public Intent.TrainingPhrase getTrainingPhrases(int index)
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
getTrainingPhrases
in interface IntentOrBuilder
public Intent.TrainingPhraseOrBuilder getTrainingPhrasesOrBuilder(int index)
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
getTrainingPhrasesOrBuilder
in interface IntentOrBuilder
public String 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];
getAction
in interface IntentOrBuilder
public 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];
getActionBytes
in interface IntentOrBuilder
public List<Context> 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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
getOutputContextsList
in interface IntentOrBuilder
public List<? extends ContextOrBuilder> 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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
getOutputContextsOrBuilderList
in interface IntentOrBuilder
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
getOutputContextsCount
in interface IntentOrBuilder
public Context getOutputContexts(int index)
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
getOutputContexts
in interface IntentOrBuilder
public ContextOrBuilder getOutputContextsOrBuilder(int index)
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
getOutputContextsOrBuilder
in interface IntentOrBuilder
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];
getResetContexts
in interface IntentOrBuilder
public List<Intent.Parameter> getParametersList()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
getParametersList
in interface IntentOrBuilder
public List<? extends Intent.ParameterOrBuilder> getParametersOrBuilderList()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
getParametersOrBuilderList
in interface IntentOrBuilder
public int getParametersCount()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
getParametersCount
in interface IntentOrBuilder
public Intent.Parameter getParameters(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
getParameters
in interface IntentOrBuilder
public Intent.ParameterOrBuilder getParametersOrBuilder(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
getParametersOrBuilder
in interface IntentOrBuilder
public List<Intent.Message> getMessagesList()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
getMessagesList
in interface IntentOrBuilder
public List<? extends Intent.MessageOrBuilder> getMessagesOrBuilderList()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
getMessagesOrBuilderList
in interface IntentOrBuilder
public int getMessagesCount()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
getMessagesCount
in interface IntentOrBuilder
public Intent.Message getMessages(int index)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
getMessages
in interface IntentOrBuilder
public Intent.MessageOrBuilder getMessagesOrBuilder(int index)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
getMessagesOrBuilder
in interface IntentOrBuilder
public List<Intent.Message.Platform> 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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
getDefaultResponsePlatformsList
in interface IntentOrBuilder
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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
getDefaultResponsePlatformsCount
in interface IntentOrBuilder
public Intent.Message.Platform getDefaultResponsePlatforms(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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
getDefaultResponsePlatforms
in interface IntentOrBuilder
index
- The index of the element to return.public List<Integer> 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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
getDefaultResponsePlatformsValueList
in interface IntentOrBuilder
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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
getDefaultResponsePlatformsValue
in interface IntentOrBuilder
index
- The index of the value to return.public String getRootFollowupIntentName()
Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRootFollowupIntentName
in interface IntentOrBuilder
public ByteString getRootFollowupIntentNameBytes()
Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRootFollowupIntentNameBytes
in interface IntentOrBuilder
public String getParentFollowupIntentName()
Optional. 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.v2beta1.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.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 [(.google.api.field_behavior) = OPTIONAL];
getParentFollowupIntentName
in interface IntentOrBuilder
public ByteString getParentFollowupIntentNameBytes()
Optional. 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.v2beta1.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.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 [(.google.api.field_behavior) = OPTIONAL];
getParentFollowupIntentNameBytes
in interface IntentOrBuilder
public List<Intent.FollowupIntentInfo> getFollowupIntentInfoList()
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFollowupIntentInfoList
in interface IntentOrBuilder
public List<? extends Intent.FollowupIntentInfoOrBuilder> getFollowupIntentInfoOrBuilderList()
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFollowupIntentInfoOrBuilderList
in interface IntentOrBuilder
public int getFollowupIntentInfoCount()
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFollowupIntentInfoCount
in interface IntentOrBuilder
public Intent.FollowupIntentInfo getFollowupIntentInfo(int index)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFollowupIntentInfo
in interface IntentOrBuilder
public Intent.FollowupIntentInfoOrBuilder getFollowupIntentInfoOrBuilder(int index)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFollowupIntentInfoOrBuilder
in interface IntentOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Intent parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Intent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Intent parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Intent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Intent parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Intent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Intent parseFrom(InputStream input) throws IOException
IOException
public static Intent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Intent parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Intent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Intent parseFrom(CodedInputStream input) throws IOException
IOException
public static Intent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Intent.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Intent.Builder newBuilder()
public static Intent.Builder newBuilder(Intent prototype)
public Intent.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Intent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Intent getDefaultInstance()
public Parser<Intent> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Intent getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.