- 0.66.0 (latest)
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public interface IntentOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include:
- sys-head
- sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys.contextual" means the intent is a contextual intent.
map<string, string> labels = 7;
Name | Description |
key |
String |
Type | Description |
boolean |
getDescription()
public abstract String getDescription()
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 8;
Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 8;
Type | Description |
ByteString |
The bytes for description. |
getDisplayName()
public abstract String getDisplayName()
Required. The human-readable name of the intent, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
Required. The human-readable name of the intent, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString |
The bytes for displayName. |
getIsFallback()
public abstract boolean getIsFallback()
Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.
bool is_fallback = 6;
Type | Description |
boolean |
The isFallback. |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include:
- sys-head
- sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys.contextual" means the intent is a contextual intent.
map<string, string> labels = 7;
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include:
- sys-head
- sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys.contextual" means the intent is a contextual intent.
map<string, string> labels = 7;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include:
- sys-head
- sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys.contextual" means the intent is a contextual intent.
map<string, string> labels = 7;
Name | Description |
key |
String |
defaultValue |
String |
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include:
- sys-head
- sys-contextual The above labels do not require value. "sys-head" means the intent is a head intent. "sys.contextual" means the intent is a contextual intent.
map<string, string> labels = 7;
Name | Description |
key |
String |
Type | Description |
String |
getName()
public abstract String getName()
The unique identifier of the intent.
Required for the
Intents.UpdateIntent
method.
Intents.CreateIntent
populates the name automatically.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/intents/<Intent ID>
.
string name = 1;
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
The unique identifier of the intent.
Required for the
Intents.UpdateIntent
method.
Intents.CreateIntent
populates the name automatically.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/intents/<Intent ID>
.
string name = 1;
Type | Description |
ByteString |
The bytes for name. |
getParameters(int index)
public abstract Intent.Parameter getParameters(int index)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;
Name | Description |
index |
int |
Type | Description |
Intent.Parameter |
getParametersCount()
public abstract int getParametersCount()
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;
Type | Description |
int |
getParametersList()
public abstract List<Intent.Parameter> getParametersList()
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;
Type | Description |
List<Parameter> |
getParametersOrBuilder(int index)
public abstract Intent.ParameterOrBuilder getParametersOrBuilder(int index)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;
Name | Description |
index |
int |
Type | Description |
Intent.ParameterOrBuilder |
getParametersOrBuilderList()
public abstract List<? extends Intent.ParameterOrBuilder> getParametersOrBuilderList()
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3.Intent.ParameterOrBuilder> |
getPriority()
public abstract int getPriority()
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 = 5;
Type | Description |
int |
The priority. |
getTrainingPhrases(int index)
public abstract Intent.TrainingPhrase getTrainingPhrases(int index)
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase training_phrases = 3;
Name | Description |
index |
int |
Type | Description |
Intent.TrainingPhrase |
getTrainingPhrasesCount()
public abstract int getTrainingPhrasesCount()
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase training_phrases = 3;
Type | Description |
int |
getTrainingPhrasesList()
public abstract List<Intent.TrainingPhrase> getTrainingPhrasesList()
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase training_phrases = 3;
Type | Description |
List<TrainingPhrase> |
getTrainingPhrasesOrBuilder(int index)
public abstract Intent.TrainingPhraseOrBuilder getTrainingPhrasesOrBuilder(int index)
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase training_phrases = 3;
Name | Description |
index |
int |
Type | Description |
Intent.TrainingPhraseOrBuilder |
getTrainingPhrasesOrBuilderList()
public abstract List<? extends Intent.TrainingPhraseOrBuilder> getTrainingPhrasesOrBuilderList()
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase training_phrases = 3;
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3.Intent.TrainingPhraseOrBuilder> |