public static final class Intent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder> implements IntentOrBuilder
An intent represents a user's intent to interact with a conversational agent. You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.Protobuf type
google.cloud.dialogflow.cx.v3.Intent| Modifier and Type | Method and Description |
|---|---|
Intent.Builder |
addAllParameters(Iterable<? extends Intent.Parameter> values)
The collection of parameters associated with the intent.
|
Intent.Builder |
addAllTrainingPhrases(Iterable<? extends Intent.TrainingPhrase> values)
The collection of training phrases the agent is trained on to identify the
intent.
|
Intent.Builder |
addParameters(Intent.Parameter.Builder builderForValue)
The collection of parameters associated with the intent.
|
Intent.Builder |
addParameters(Intent.Parameter value)
The collection of parameters associated with the intent.
|
Intent.Builder |
addParameters(int index,
Intent.Parameter.Builder builderForValue)
The collection of parameters associated with the intent.
|
Intent.Builder |
addParameters(int index,
Intent.Parameter value)
The collection of parameters associated with the intent.
|
Intent.Parameter.Builder |
addParametersBuilder()
The collection of parameters associated with the intent.
|
Intent.Parameter.Builder |
addParametersBuilder(int index)
The collection of parameters associated with the intent.
|
Intent.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Intent.Builder |
addTrainingPhrases(Intent.TrainingPhrase.Builder builderForValue)
The collection of training phrases the agent is trained on to identify the
intent.
|
Intent.Builder |
addTrainingPhrases(Intent.TrainingPhrase value)
The collection of training phrases the agent is trained on to identify the
intent.
|
Intent.Builder |
addTrainingPhrases(int index,
Intent.TrainingPhrase.Builder builderForValue)
The collection of training phrases the agent is trained on to identify the
intent.
|
Intent.Builder |
addTrainingPhrases(int index,
Intent.TrainingPhrase value)
The collection of training phrases the agent is trained on to identify the
intent.
|
Intent.TrainingPhrase.Builder |
addTrainingPhrasesBuilder()
The collection of training phrases the agent is trained on to identify the
intent.
|
Intent.TrainingPhrase.Builder |
addTrainingPhrasesBuilder(int index)
The collection of training phrases the agent is trained on to identify the
intent.
|
Intent |
build() |
Intent |
buildPartial() |
Intent.Builder |
clear() |
Intent.Builder |
clearDescription()
Human readable description for better understanding an intent like its
scope, content, result etc.
|
Intent.Builder |
clearDisplayName()
Required.
|
Intent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Intent.Builder |
clearIsFallback()
Indicates whether this is a fallback intent.
|
Intent.Builder |
clearLabels() |
Intent.Builder |
clearName()
The unique identifier of the intent.
|
Intent.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Intent.Builder |
clearParameters()
The collection of parameters associated with the intent.
|
Intent.Builder |
clearPriority()
The priority of this intent.
|
Intent.Builder |
clearTrainingPhrases()
The collection of training phrases the agent is trained on to identify the
intent.
|
Intent.Builder |
clone() |
boolean |
containsLabels(String key)
The key/value metadata to label an intent.
|
Intent |
getDefaultInstanceForType() |
String |
getDescription()
Human readable description for better understanding an intent like its
scope, content, result etc.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Human readable description for better understanding an intent like its
scope, content, result etc.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
boolean |
getIsFallback()
Indicates whether this is a fallback intent.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The key/value metadata to label an intent.
|
Map<String,String> |
getLabelsMap()
The key/value metadata to label an intent.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The key/value metadata to label an intent.
|
String |
getLabelsOrThrow(String key)
The key/value metadata to label an intent.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
The unique identifier of the intent.
|
com.google.protobuf.ByteString |
getNameBytes()
The unique identifier of the intent.
|
Intent.Parameter |
getParameters(int index)
The collection of parameters associated with the intent.
|
Intent.Parameter.Builder |
getParametersBuilder(int index)
The collection of parameters associated with the intent.
|
List<Intent.Parameter.Builder> |
getParametersBuilderList()
The collection of parameters associated with the intent.
|
int |
getParametersCount()
The collection of parameters associated with the intent.
|
List<Intent.Parameter> |
getParametersList()
The collection of parameters associated with the intent.
|
Intent.ParameterOrBuilder |
getParametersOrBuilder(int index)
The collection of parameters associated with the intent.
|
List<? extends Intent.ParameterOrBuilder> |
getParametersOrBuilderList()
The collection of parameters associated with the intent.
|
int |
getPriority()
The priority of this intent.
|
Intent.TrainingPhrase |
getTrainingPhrases(int index)
The collection of training phrases the agent is trained on to identify the
intent.
|
Intent.TrainingPhrase.Builder |
getTrainingPhrasesBuilder(int index)
The collection of training phrases the agent is trained on to identify the
intent.
|
List<Intent.TrainingPhrase.Builder> |
getTrainingPhrasesBuilderList()
The collection of training phrases the agent is trained on to identify the
intent.
|
int |
getTrainingPhrasesCount()
The collection of training phrases the agent is trained on to identify the
intent.
|
List<Intent.TrainingPhrase> |
getTrainingPhrasesList()
The collection of training phrases the agent is trained on to identify the
intent.
|
Intent.TrainingPhraseOrBuilder |
getTrainingPhrasesOrBuilder(int index)
The collection of training phrases the agent is trained on to identify the
intent.
|
List<? extends Intent.TrainingPhraseOrBuilder> |
getTrainingPhrasesOrBuilderList()
The collection of training phrases the agent is trained on to identify the
intent.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
Intent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Intent.Builder |
mergeFrom(Intent other) |
Intent.Builder |
mergeFrom(com.google.protobuf.Message other) |
Intent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Intent.Builder |
putAllLabels(Map<String,String> values)
The key/value metadata to label an intent.
|
Intent.Builder |
putLabels(String key,
String value)
The key/value metadata to label an intent.
|
Intent.Builder |
removeLabels(String key)
The key/value metadata to label an intent.
|
Intent.Builder |
removeParameters(int index)
The collection of parameters associated with the intent.
|
Intent.Builder |
removeTrainingPhrases(int index)
The collection of training phrases the agent is trained on to identify the
intent.
|
Intent.Builder |
setDescription(String value)
Human readable description for better understanding an intent like its
scope, content, result etc.
|
Intent.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Human readable description for better understanding an intent like its
scope, content, result etc.
|
Intent.Builder |
setDisplayName(String value)
Required.
|
Intent.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
Intent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Intent.Builder |
setIsFallback(boolean value)
Indicates whether this is a fallback intent.
|
Intent.Builder |
setName(String value)
The unique identifier of the intent.
|
Intent.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the intent.
|
Intent.Builder |
setParameters(int index,
Intent.Parameter.Builder builderForValue)
The collection of parameters associated with the intent.
|
Intent.Builder |
setParameters(int index,
Intent.Parameter value)
The collection of parameters associated with the intent.
|
Intent.Builder |
setPriority(int value)
The priority of this intent.
|
Intent.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Intent.Builder |
setTrainingPhrases(int index,
Intent.TrainingPhrase.Builder builderForValue)
The collection of training phrases the agent is trained on to identify the
intent.
|
Intent.Builder |
setTrainingPhrases(int index,
Intent.TrainingPhrase value)
The collection of training phrases the agent is trained on to identify the
intent.
|
Intent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Intent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Intent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Intent.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Intent.Builder>public Intent.Builder mergeFrom(Intent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Intent.Builder>IOExceptionpublic String getName()
The unique identifier of the intent. Required for the [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string name = 1;getName in interface IntentOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The unique identifier of the intent. Required for the [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string name = 1;getNameBytes in interface IntentOrBuilderpublic Intent.Builder setName(String value)
The unique identifier of the intent. Required for the [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string name = 1;value - The name to set.public Intent.Builder clearName()
The unique identifier of the intent. Required for the [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string name = 1;public Intent.Builder setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the intent. Required for the [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string name = 1;value - The bytes for name to set.public String getDisplayName()
Required. The human-readable name of the intent, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface IntentOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The human-readable name of the intent, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface IntentOrBuilderpublic Intent.Builder setDisplayName(String value)
Required. The human-readable name of the intent, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The displayName to set.public Intent.Builder clearDisplayName()
Required. The human-readable name of the intent, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];public Intent.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The human-readable name of the intent, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for displayName to set.public 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;
getTrainingPhrasesList in interface IntentOrBuilderpublic 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;
getTrainingPhrasesCount in interface IntentOrBuilderpublic 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;
getTrainingPhrases in interface IntentOrBuilderpublic Intent.Builder setTrainingPhrases(int index, Intent.TrainingPhrase value)
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;
public Intent.Builder setTrainingPhrases(int index, Intent.TrainingPhrase.Builder builderForValue)
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;
public Intent.Builder addTrainingPhrases(Intent.TrainingPhrase value)
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;
public Intent.Builder addTrainingPhrases(int index, Intent.TrainingPhrase value)
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;
public Intent.Builder addTrainingPhrases(Intent.TrainingPhrase.Builder builderForValue)
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;
public Intent.Builder addTrainingPhrases(int index, Intent.TrainingPhrase.Builder builderForValue)
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;
public Intent.Builder addAllTrainingPhrases(Iterable<? extends Intent.TrainingPhrase> values)
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;
public Intent.Builder clearTrainingPhrases()
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;
public Intent.Builder removeTrainingPhrases(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;
public Intent.TrainingPhrase.Builder getTrainingPhrasesBuilder(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;
public 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;
getTrainingPhrasesOrBuilder in interface IntentOrBuilderpublic 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;
getTrainingPhrasesOrBuilderList in interface IntentOrBuilderpublic Intent.TrainingPhrase.Builder addTrainingPhrasesBuilder()
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;
public Intent.TrainingPhrase.Builder addTrainingPhrasesBuilder(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;
public List<Intent.TrainingPhrase.Builder> getTrainingPhrasesBuilderList()
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;
public List<Intent.Parameter> getParametersList()
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;getParametersList in interface IntentOrBuilderpublic int getParametersCount()
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;getParametersCount in interface IntentOrBuilderpublic Intent.Parameter getParameters(int index)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;getParameters in interface IntentOrBuilderpublic Intent.Builder setParameters(int index, Intent.Parameter value)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;public Intent.Builder setParameters(int index, Intent.Parameter.Builder builderForValue)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;public Intent.Builder addParameters(Intent.Parameter value)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;public Intent.Builder addParameters(int index, Intent.Parameter value)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;public Intent.Builder addParameters(Intent.Parameter.Builder builderForValue)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;public Intent.Builder addParameters(int index, Intent.Parameter.Builder builderForValue)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;public Intent.Builder addAllParameters(Iterable<? extends Intent.Parameter> values)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;public Intent.Builder clearParameters()
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;public Intent.Builder removeParameters(int index)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;public Intent.Parameter.Builder getParametersBuilder(int index)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;public Intent.ParameterOrBuilder getParametersOrBuilder(int index)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;getParametersOrBuilder in interface IntentOrBuilderpublic List<? extends Intent.ParameterOrBuilder> getParametersOrBuilderList()
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;getParametersOrBuilderList in interface IntentOrBuilderpublic Intent.Parameter.Builder addParametersBuilder()
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;public Intent.Parameter.Builder addParametersBuilder(int index)
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;public List<Intent.Parameter.Builder> getParametersBuilderList()
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3.Intent.Parameter parameters = 4;public 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;getPriority in interface IntentOrBuilderpublic Intent.Builder setPriority(int value)
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;value - The priority to set.public Intent.Builder clearPriority()
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;public 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;getIsFallback in interface IntentOrBuilderpublic Intent.Builder setIsFallback(boolean value)
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;value - The isFallback to set.public Intent.Builder clearIsFallback()
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;public int getLabelsCount()
IntentOrBuilderThe 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;getLabelsCount in interface IntentOrBuilderpublic 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;containsLabels in interface IntentOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface IntentOrBuilderpublic 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;getLabelsMap in interface IntentOrBuilderpublic 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;getLabelsOrDefault in interface IntentOrBuilderpublic 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;getLabelsOrThrow in interface IntentOrBuilderpublic Intent.Builder clearLabels()
public Intent.Builder removeLabels(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;@Deprecated public Map<String,String> getMutableLabels()
public Intent.Builder putLabels(String key, String value)
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;public Intent.Builder putAllLabels(Map<String,String> values)
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;public String getDescription()
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 8;getDescription in interface IntentOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 8;getDescriptionBytes in interface IntentOrBuilderpublic Intent.Builder setDescription(String value)
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 8;value - The description to set.public Intent.Builder clearDescription()
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 8;public Intent.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 8;value - The bytes for description to set.public final Intent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public final Intent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>Copyright © 2025 Google LLC. All rights reserved.