Class Intent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder
- All Implemented Interfaces:
IntentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Intent
public static final class Intent.Builder
extends com.google.protobuf.GeneratedMessage.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.v3beta1.Intent-
Method Summary
Modifier and TypeMethodDescriptionaddAllParameters(Iterable<? extends Intent.Parameter> values) The collection of parameters associated with the intent.addAllTrainingPhrases(Iterable<? extends Intent.TrainingPhrase> values) The collection of training phrases the agent is trained on to identify the intent.addParameters(int index, Intent.Parameter value) The collection of parameters associated with the intent.addParameters(int index, Intent.Parameter.Builder builderForValue) The collection of parameters associated with the intent.addParameters(Intent.Parameter value) The collection of parameters associated with the intent.addParameters(Intent.Parameter.Builder builderForValue) The collection of parameters associated with the intent.The collection of parameters associated with the intent.addParametersBuilder(int index) The collection of parameters associated with the intent.addTrainingPhrases(int index, Intent.TrainingPhrase value) The collection of training phrases the agent is trained on to identify the intent.addTrainingPhrases(int index, Intent.TrainingPhrase.Builder builderForValue) The collection of training phrases the agent is trained on to identify the intent.The collection of training phrases the agent is trained on to identify the intent.addTrainingPhrases(Intent.TrainingPhrase.Builder builderForValue) The collection of training phrases the agent is trained on to identify the intent.The collection of training phrases the agent is trained on to identify the intent.addTrainingPhrasesBuilder(int index) The collection of training phrases the agent is trained on to identify the intent.build()clear()Human readable description for better understanding an intent like its scope, content, result etc.Required.Optional.Indicates whether this is a fallback intent.The unique identifier of the intent.The collection of parameters associated with the intent.The priority of this intent.The collection of training phrases the agent is trained on to identify the intent.booleancontainsLabels(String key) The key/value metadata to label an intent.Human readable description for better understanding an intent like its scope, content, result etc.com.google.protobuf.ByteStringHuman readable description for better understanding an intent like its scope, content, result etc.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.booleanIndicates whether this is a fallback intent.Deprecated.intThe key/value metadata to label an intent.The key/value metadata to label an intent.getLabelsOrDefault(String key, String defaultValue) The key/value metadata to label an intent.getLabelsOrThrow(String key) The key/value metadata to label an intent.Deprecated.getName()The unique identifier of the intent.com.google.protobuf.ByteStringThe unique identifier of the intent.getParameters(int index) The collection of parameters associated with the intent.getParametersBuilder(int index) The collection of parameters associated with the intent.The collection of parameters associated with the intent.intThe collection of parameters associated with the intent.The collection of parameters associated with the intent.getParametersOrBuilder(int index) The collection of parameters associated with the intent.List<? extends Intent.ParameterOrBuilder>The collection of parameters associated with the intent.intThe priority of this intent.getTrainingPhrases(int index) The collection of training phrases the agent is trained on to identify the intent.getTrainingPhrasesBuilder(int index) The collection of training phrases the agent is trained on to identify the intent.The collection of training phrases the agent is trained on to identify the intent.intThe collection of training phrases the agent is trained on to identify the intent.The collection of training phrases the agent is trained on to identify the intent.getTrainingPhrasesOrBuilder(int index) The collection of training phrases the agent is trained on to identify the intent.List<? extends Intent.TrainingPhraseOrBuilder>The collection of training phrases the agent is trained on to identify the intent.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllLabels(Map<String, String> values) The key/value metadata to label an intent.The key/value metadata to label an intent.removeLabels(String key) The key/value metadata to label an intent.removeParameters(int index) The collection of parameters associated with the intent.removeTrainingPhrases(int index) The collection of training phrases the agent is trained on to identify the intent.setDescription(String value) Human readable description for better understanding an intent like its scope, content, result etc.setDescriptionBytes(com.google.protobuf.ByteString value) Human readable description for better understanding an intent like its scope, content, result etc.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.setDtmfPattern(String value) Optional.setDtmfPatternBytes(com.google.protobuf.ByteString value) Optional.setIsFallback(boolean value) Indicates whether this is a fallback intent.The unique identifier of the intent.setNameBytes(com.google.protobuf.ByteString value) The unique identifier of the intent.setParameters(int index, Intent.Parameter value) The collection of parameters associated with the intent.setParameters(int index, Intent.Parameter.Builder builderForValue) The collection of parameters associated with the intent.setPriority(int value) The priority of this intent.setTrainingPhrases(int index, Intent.TrainingPhrase value) The collection of training phrases the agent is trained on to identify the intent.setTrainingPhrases(int index, Intent.TrainingPhrase.Builder builderForValue) The collection of training phrases the agent is trained on to identify the intent.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Intent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
-
mergeFrom
public Intent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Intent.Builder>- Throws:
IOException
-
getName
The unique identifier of the intent. Required for the [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string name = 1;- Specified by:
getNamein interfaceIntentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The unique identifier of the intent. Required for the [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string name = 1;- Specified by:
getNameBytesin interfaceIntentOrBuilder- Returns:
- The bytes for name.
-
setName
The unique identifier of the intent. Required for the [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The unique identifier of the intent. Required for the [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The unique identifier of the intent. Required for the [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Required. The human-readable name of the intent, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceIntentOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. The human-readable name of the intent, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceIntentOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. The human-readable name of the intent, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Required. The human-readable name of the intent, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. The human-readable name of the intent, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getTrainingPhrasesList
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3;- Specified by:
getTrainingPhrasesListin interfaceIntentOrBuilder
-
getTrainingPhrasesCount
public int getTrainingPhrasesCount()The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3;- Specified by:
getTrainingPhrasesCountin interfaceIntentOrBuilder
-
getTrainingPhrases
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3;- Specified by:
getTrainingPhrasesin interfaceIntentOrBuilder
-
setTrainingPhrases
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3; -
setTrainingPhrases
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3; -
addTrainingPhrases
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3; -
addTrainingPhrases
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3; -
addTrainingPhrases
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3; -
addTrainingPhrases
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3; -
addAllTrainingPhrases
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3; -
clearTrainingPhrases
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3; -
removeTrainingPhrases
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3; -
getTrainingPhrasesBuilder
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3; -
getTrainingPhrasesOrBuilder
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3;- Specified by:
getTrainingPhrasesOrBuilderin interfaceIntentOrBuilder
-
getTrainingPhrasesOrBuilderList
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3;- Specified by:
getTrainingPhrasesOrBuilderListin interfaceIntentOrBuilder
-
addTrainingPhrasesBuilder
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3; -
addTrainingPhrasesBuilder
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3; -
getTrainingPhrasesBuilderList
The collection of training phrases the agent is trained on to identify the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase training_phrases = 3; -
getParametersList
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4;- Specified by:
getParametersListin interfaceIntentOrBuilder
-
getParametersCount
public int getParametersCount()The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4;- Specified by:
getParametersCountin interfaceIntentOrBuilder
-
getParameters
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4;- Specified by:
getParametersin interfaceIntentOrBuilder
-
setParameters
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4; -
setParameters
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4; -
addParameters
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4; -
addParameters
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4; -
addParameters
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4; -
addParameters
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4; -
addAllParameters
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4; -
clearParameters
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4; -
removeParameters
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4; -
getParametersBuilder
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4; -
getParametersOrBuilder
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4;- Specified by:
getParametersOrBuilderin interfaceIntentOrBuilder
-
getParametersOrBuilderList
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4;- Specified by:
getParametersOrBuilderListin interfaceIntentOrBuilder
-
addParametersBuilder
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4; -
addParametersBuilder
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4; -
getParametersBuilderList
The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.cx.v3beta1.Intent.Parameter parameters = 4; -
getPriority
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;- Specified by:
getPriorityin interfaceIntentOrBuilder- Returns:
- The priority.
-
setPriority
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;- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getIsFallback
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;- Specified by:
getIsFallbackin interfaceIntentOrBuilder- Returns:
- The isFallback.
-
setIsFallback
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;- Parameters:
value- The isFallback to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface: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;- Specified by:
getLabelsCountin interfaceIntentOrBuilder
-
containsLabels
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;- Specified by:
containsLabelsin interfaceIntentOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceIntentOrBuilder
-
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;- Specified by:
getLabelsMapin interfaceIntentOrBuilder
-
getLabelsOrDefault
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;- Specified by:
getLabelsOrDefaultin interfaceIntentOrBuilder
-
getLabelsOrThrow
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;- Specified by:
getLabelsOrThrowin interfaceIntentOrBuilder
-
clearLabels
-
removeLabels
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; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
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; -
putAllLabels
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; -
getDescription
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 8;- Specified by:
getDescriptionin interfaceIntentOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public 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;- Specified by:
getDescriptionBytesin interfaceIntentOrBuilder- Returns:
- The bytes for description.
-
setDescription
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 8;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 8;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.
string description = 8;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getDtmfPattern
Optional. Matching DTMF pattern for the intent.
string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDtmfPatternin interfaceIntentOrBuilder- Returns:
- The dtmfPattern.
-
getDtmfPatternBytes
public com.google.protobuf.ByteString getDtmfPatternBytes()Optional. Matching DTMF pattern for the intent.
string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDtmfPatternBytesin interfaceIntentOrBuilder- Returns:
- The bytes for dtmfPattern.
-
setDtmfPattern
Optional. Matching DTMF pattern for the intent.
string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The dtmfPattern to set.- Returns:
- This builder for chaining.
-
clearDtmfPattern
Optional. Matching DTMF pattern for the intent.
string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDtmfPatternBytes
Optional. Matching DTMF pattern for the intent.
string dtmf_pattern = 16 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for dtmfPattern to set.- Returns:
- This builder for chaining.
-