public interface IntentOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction()
Optional.
|
ByteString |
getActionBytes()
Optional.
|
Intent.Message.Platform |
getDefaultResponsePlatforms(int index)
Optional.
|
int |
getDefaultResponsePlatformsCount()
Optional.
|
java.util.List<Intent.Message.Platform> |
getDefaultResponsePlatformsList()
Optional.
|
int |
getDefaultResponsePlatformsValue(int index)
Optional.
|
java.util.List<java.lang.Integer> |
getDefaultResponsePlatformsValueList()
Optional.
|
java.lang.String |
getDisplayName()
Required.
|
ByteString |
getDisplayNameBytes()
Required.
|
java.lang.String |
getEvents(int index)
Optional.
|
ByteString |
getEventsBytes(int index)
Optional.
|
int |
getEventsCount()
Optional.
|
java.util.List<java.lang.String> |
getEventsList()
Optional.
|
Intent.FollowupIntentInfo |
getFollowupIntentInfo(int index)
Optional.
|
int |
getFollowupIntentInfoCount()
Optional.
|
java.util.List<Intent.FollowupIntentInfo> |
getFollowupIntentInfoList()
Optional.
|
Intent.FollowupIntentInfoOrBuilder |
getFollowupIntentInfoOrBuilder(int index)
Optional.
|
java.util.List<? extends Intent.FollowupIntentInfoOrBuilder> |
getFollowupIntentInfoOrBuilderList()
Optional.
|
java.lang.String |
getInputContextNames(int index)
Optional.
|
ByteString |
getInputContextNamesBytes(int index)
Optional.
|
int |
getInputContextNamesCount()
Optional.
|
java.util.List<java.lang.String> |
getInputContextNamesList()
Optional.
|
boolean |
getIsFallback()
Optional.
|
Intent.Message |
getMessages(int index)
Optional.
|
int |
getMessagesCount()
Optional.
|
java.util.List<Intent.Message> |
getMessagesList()
Optional.
|
Intent.MessageOrBuilder |
getMessagesOrBuilder(int index)
Optional.
|
java.util.List<? extends Intent.MessageOrBuilder> |
getMessagesOrBuilderList()
Optional.
|
boolean |
getMlDisabled()
Optional.
|
boolean |
getMlEnabled()
Optional.
|
java.lang.String |
getName()
Required for all methods except `create` (`create` populates the name
automatically.
|
ByteString |
getNameBytes()
Required for all methods except `create` (`create` populates the name
automatically.
|
Context |
getOutputContexts(int index)
Optional.
|
int |
getOutputContextsCount()
Optional.
|
java.util.List<Context> |
getOutputContextsList()
Optional.
|
ContextOrBuilder |
getOutputContextsOrBuilder(int index)
Optional.
|
java.util.List<? extends ContextOrBuilder> |
getOutputContextsOrBuilderList()
Optional.
|
Intent.Parameter |
getParameters(int index)
Optional.
|
int |
getParametersCount()
Optional.
|
java.util.List<Intent.Parameter> |
getParametersList()
Optional.
|
Intent.ParameterOrBuilder |
getParametersOrBuilder(int index)
Optional.
|
java.util.List<? extends Intent.ParameterOrBuilder> |
getParametersOrBuilderList()
Optional.
|
java.lang.String |
getParentFollowupIntentName()
The unique identifier of the parent intent in the chain of followup
intents.
|
ByteString |
getParentFollowupIntentNameBytes()
The unique identifier of the parent intent in the chain of followup
intents.
|
int |
getPriority()
Optional.
|
boolean |
getResetContexts()
Optional.
|
java.lang.String |
getRootFollowupIntentName()
The unique identifier of the root intent in the chain of followup intents.
|
ByteString |
getRootFollowupIntentNameBytes()
The unique identifier of the root intent in the chain of followup intents.
|
Intent.TrainingPhrase |
getTrainingPhrases(int index)
Optional.
|
int |
getTrainingPhrasesCount()
Optional.
|
java.util.List<Intent.TrainingPhrase> |
getTrainingPhrasesList()
Optional.
|
Intent.TrainingPhraseOrBuilder |
getTrainingPhrasesOrBuilder(int index)
Optional.
|
java.util.List<? extends Intent.TrainingPhraseOrBuilder> |
getTrainingPhrasesOrBuilderList()
Optional.
|
Intent.WebhookState |
getWebhookState()
Required.
|
int |
getWebhookStateValue()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getName()
Required for all methods except `create` (`create` populates the name automatically. The unique identifier of this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1;
ByteString getNameBytes()
Required for all methods except `create` (`create` populates the name automatically. The unique identifier of this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1;
java.lang.String getDisplayName()
Required. The name of this intent.
string display_name = 2;
ByteString getDisplayNameBytes()
Required. The name of this intent.
string display_name = 2;
int getWebhookStateValue()
Required. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6;
Intent.WebhookState getWebhookState()
Required. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6;
int getPriority()
Optional. The priority of this intent. Higher numbers represent higher priorities. Zero or negative numbers mean that the intent is disabled.
int32 priority = 3;
boolean getIsFallback()
Optional. Indicates whether this is a fallback intent.
bool is_fallback = 4;
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 neither `ml_enabled` nor `ml_disabled` field is set, 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;
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;
java.util.List<java.lang.String> 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;
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;
java.lang.String getInputContextNames(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;
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;
java.util.List<java.lang.String> 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.
repeated string events = 8;
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.
repeated string events = 8;
java.lang.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.
repeated string events = 8;
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.
repeated string events = 8;
java.util.List<Intent.TrainingPhrase> getTrainingPhrasesList()
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
Intent.TrainingPhrase getTrainingPhrases(int index)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
int getTrainingPhrasesCount()
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
java.util.List<? extends Intent.TrainingPhraseOrBuilder> getTrainingPhrasesOrBuilderList()
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
Intent.TrainingPhraseOrBuilder getTrainingPhrasesOrBuilder(int index)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
java.lang.String getAction()
Optional. The name of the action associated with the intent.
string action = 10;
ByteString getActionBytes()
Optional. The name of the action associated with the intent.
string action = 10;
java.util.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;
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;
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;
java.util.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;
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;
boolean getResetContexts()
Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
bool reset_contexts = 12;
java.util.List<Intent.Parameter> getParametersList()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
Intent.Parameter getParameters(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
int getParametersCount()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
java.util.List<? extends Intent.ParameterOrBuilder> getParametersOrBuilderList()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
Intent.ParameterOrBuilder getParametersOrBuilder(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
java.util.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;
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;
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;
java.util.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;
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;
java.util.List<Intent.Message.Platform> getDefaultResponsePlatformsList()
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
int getDefaultResponsePlatformsCount()
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
Intent.Message.Platform getDefaultResponsePlatforms(int index)
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
java.util.List<java.lang.Integer> getDefaultResponsePlatformsValueList()
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
int getDefaultResponsePlatformsValue(int index)
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
java.lang.String getRootFollowupIntentName()
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;
ByteString getRootFollowupIntentNameBytes()
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;
java.lang.String getParentFollowupIntentName()
The unique identifier of the parent intent in the chain of followup intents. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;
ByteString getParentFollowupIntentNameBytes()
The unique identifier of the parent intent in the chain of followup intents. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;
java.util.List<Intent.FollowupIntentInfo> getFollowupIntentInfoList()
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
Intent.FollowupIntentInfo getFollowupIntentInfo(int index)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
int getFollowupIntentInfoCount()
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
java.util.List<? extends Intent.FollowupIntentInfoOrBuilder> getFollowupIntentInfoOrBuilderList()
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
Intent.FollowupIntentInfoOrBuilder getFollowupIntentInfoOrBuilder(int index)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;