Class EntityType.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EntityType.Builder>
com.google.cloud.dialogflow.cx.v3beta1.EntityType.Builder
- All Implemented Interfaces:
EntityTypeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EntityType
public static final class EntityType.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EntityType.Builder>
implements EntityTypeOrBuilder
Entities are extracted from user input and represent parameters that are meaningful to your application. For example, a date range, a proper name such as a geographic location or landmark, and so on. Entities represent actionable data for your application. When you define an entity, you can also include synonyms that all map to that entity. For example, "soft drink", "soda", "pop", and so on. There are three types of entities: * **System** - entities that are defined by the Dialogflow API for common data types such as date, time, currency, and so on. A system entity is represented by the `EntityType` type. * **Custom** - entities that are defined by you that represent actionable data that is meaningful to your application. For example, you could define a `pizza.sauce` entity for red or white pizza sauce, a `pizza.cheese` entity for the different types of cheese on a pizza, a `pizza.topping` entity for different toppings, and so on. A custom entity is represented by the `EntityType` type. * **User** - entities that are built for an individual user such as favorites, preferences, playlists, and so on. A user entity is represented by the [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] type. For more information about entity types, see the [Dialogflow documentation](https://cloud.google.com/dialogflow/docs/entities-overview).Protobuf type
google.cloud.dialogflow.cx.v3beta1.EntityType-
Method Summary
Modifier and TypeMethodDescriptionaddAllEntities(Iterable<? extends EntityType.Entity> values) The collection of entity entries associated with the entity type.addAllExcludedPhrases(Iterable<? extends EntityType.ExcludedPhrase> values) Collection of exceptional words and phrases that shouldn't be matched.addEntities(int index, EntityType.Entity value) The collection of entity entries associated with the entity type.addEntities(int index, EntityType.Entity.Builder builderForValue) The collection of entity entries associated with the entity type.addEntities(EntityType.Entity value) The collection of entity entries associated with the entity type.addEntities(EntityType.Entity.Builder builderForValue) The collection of entity entries associated with the entity type.The collection of entity entries associated with the entity type.addEntitiesBuilder(int index) The collection of entity entries associated with the entity type.addExcludedPhrases(int index, EntityType.ExcludedPhrase value) Collection of exceptional words and phrases that shouldn't be matched.addExcludedPhrases(int index, EntityType.ExcludedPhrase.Builder builderForValue) Collection of exceptional words and phrases that shouldn't be matched.Collection of exceptional words and phrases that shouldn't be matched.addExcludedPhrases(EntityType.ExcludedPhrase.Builder builderForValue) Collection of exceptional words and phrases that shouldn't be matched.Collection of exceptional words and phrases that shouldn't be matched.addExcludedPhrasesBuilder(int index) Collection of exceptional words and phrases that shouldn't be matched.build()clear()Indicates whether the entity type can be automatically expanded.Required.Enables fuzzy entity extraction during classification.The collection of entity entries associated with the entity type.Collection of exceptional words and phrases that shouldn't be matched.Required.The unique identifier of the entity type.Indicates whether parameters of the entity type should be redacted in log.Indicates whether the entity type can be automatically expanded.intIndicates whether the entity type can be automatically expanded.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.booleanEnables fuzzy entity extraction during classification.getEntities(int index) The collection of entity entries associated with the entity type.getEntitiesBuilder(int index) The collection of entity entries associated with the entity type.The collection of entity entries associated with the entity type.intThe collection of entity entries associated with the entity type.The collection of entity entries associated with the entity type.getEntitiesOrBuilder(int index) The collection of entity entries associated with the entity type.List<? extends EntityType.EntityOrBuilder>The collection of entity entries associated with the entity type.getExcludedPhrases(int index) Collection of exceptional words and phrases that shouldn't be matched.getExcludedPhrasesBuilder(int index) Collection of exceptional words and phrases that shouldn't be matched.Collection of exceptional words and phrases that shouldn't be matched.intCollection of exceptional words and phrases that shouldn't be matched.Collection of exceptional words and phrases that shouldn't be matched.getExcludedPhrasesOrBuilder(int index) Collection of exceptional words and phrases that shouldn't be matched.List<? extends EntityType.ExcludedPhraseOrBuilder>Collection of exceptional words and phrases that shouldn't be matched.getKind()Required.intRequired.getName()The unique identifier of the entity type.com.google.protobuf.ByteStringThe unique identifier of the entity type.booleanIndicates whether parameters of the entity type should be redacted in log.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(EntityType other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeEntities(int index) The collection of entity entries associated with the entity type.removeExcludedPhrases(int index) Collection of exceptional words and phrases that shouldn't be matched.Indicates whether the entity type can be automatically expanded.setAutoExpansionModeValue(int value) Indicates whether the entity type can be automatically expanded.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.setEnableFuzzyExtraction(boolean value) Enables fuzzy entity extraction during classification.setEntities(int index, EntityType.Entity value) The collection of entity entries associated with the entity type.setEntities(int index, EntityType.Entity.Builder builderForValue) The collection of entity entries associated with the entity type.setExcludedPhrases(int index, EntityType.ExcludedPhrase value) Collection of exceptional words and phrases that shouldn't be matched.setExcludedPhrases(int index, EntityType.ExcludedPhrase.Builder builderForValue) Collection of exceptional words and phrases that shouldn't be matched.setKind(EntityType.Kind value) Required.setKindValue(int value) Required.The unique identifier of the entity type.setNameBytes(com.google.protobuf.ByteString value) The unique identifier of the entity type.setRedact(boolean value) Indicates whether parameters of the entity type should be redacted in log.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EntityType.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<EntityType.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<EntityType.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<EntityType.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EntityType.Builder>
-
mergeFrom
public EntityType.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<EntityType.Builder>- Throws:
IOException
-
getName
The unique identifier of the entity type. Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType]. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
string name = 1;- Specified by:
getNamein interfaceEntityTypeOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The unique identifier of the entity type. Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType]. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
string name = 1;- Specified by:
getNameBytesin interfaceEntityTypeOrBuilder- Returns:
- The bytes for name.
-
setName
The unique identifier of the entity type. Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType]. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The unique identifier of the entity type. Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType]. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The unique identifier of the entity type. Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType]. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Required. The human-readable name of the entity type, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceEntityTypeOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. The human-readable name of the entity type, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceEntityTypeOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. The human-readable name of the entity type, 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 entity type, 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 entity type, 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.
-
getKindValue
public int getKindValue()Required. Indicates the kind of entity type.
.google.cloud.dialogflow.cx.v3beta1.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getKindValuein interfaceEntityTypeOrBuilder- Returns:
- The enum numeric value on the wire for kind.
-
setKindValue
Required. Indicates the kind of entity type.
.google.cloud.dialogflow.cx.v3beta1.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for kind to set.- Returns:
- This builder for chaining.
-
getKind
Required. Indicates the kind of entity type.
.google.cloud.dialogflow.cx.v3beta1.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getKindin interfaceEntityTypeOrBuilder- Returns:
- The kind.
-
setKind
Required. Indicates the kind of entity type.
.google.cloud.dialogflow.cx.v3beta1.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Required. Indicates the kind of entity type.
.google.cloud.dialogflow.cx.v3beta1.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getAutoExpansionModeValue
public int getAutoExpansionModeValue()Indicates whether the entity type can be automatically expanded.
.google.cloud.dialogflow.cx.v3beta1.EntityType.AutoExpansionMode auto_expansion_mode = 4;- Specified by:
getAutoExpansionModeValuein interfaceEntityTypeOrBuilder- Returns:
- The enum numeric value on the wire for autoExpansionMode.
-
setAutoExpansionModeValue
Indicates whether the entity type can be automatically expanded.
.google.cloud.dialogflow.cx.v3beta1.EntityType.AutoExpansionMode auto_expansion_mode = 4;- Parameters:
value- The enum numeric value on the wire for autoExpansionMode to set.- Returns:
- This builder for chaining.
-
getAutoExpansionMode
Indicates whether the entity type can be automatically expanded.
.google.cloud.dialogflow.cx.v3beta1.EntityType.AutoExpansionMode auto_expansion_mode = 4;- Specified by:
getAutoExpansionModein interfaceEntityTypeOrBuilder- Returns:
- The autoExpansionMode.
-
setAutoExpansionMode
Indicates whether the entity type can be automatically expanded.
.google.cloud.dialogflow.cx.v3beta1.EntityType.AutoExpansionMode auto_expansion_mode = 4;- Parameters:
value- The autoExpansionMode to set.- Returns:
- This builder for chaining.
-
clearAutoExpansionMode
Indicates whether the entity type can be automatically expanded.
.google.cloud.dialogflow.cx.v3beta1.EntityType.AutoExpansionMode auto_expansion_mode = 4;- Returns:
- This builder for chaining.
-
getEntitiesList
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5;- Specified by:
getEntitiesListin interfaceEntityTypeOrBuilder
-
getEntitiesCount
public int getEntitiesCount()The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5;- Specified by:
getEntitiesCountin interfaceEntityTypeOrBuilder
-
getEntities
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5;- Specified by:
getEntitiesin interfaceEntityTypeOrBuilder
-
setEntities
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5; -
setEntities
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5; -
addEntities
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5; -
addEntities
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5; -
addEntities
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5; -
addEntities
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5; -
addAllEntities
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5; -
clearEntities
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5; -
removeEntities
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5; -
getEntitiesBuilder
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5; -
getEntitiesOrBuilder
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5;- Specified by:
getEntitiesOrBuilderin interfaceEntityTypeOrBuilder
-
getEntitiesOrBuilderList
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5;- Specified by:
getEntitiesOrBuilderListin interfaceEntityTypeOrBuilder
-
addEntitiesBuilder
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5; -
addEntitiesBuilder
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5; -
getEntitiesBuilderList
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 5; -
getExcludedPhrasesList
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6;- Specified by:
getExcludedPhrasesListin interfaceEntityTypeOrBuilder
-
getExcludedPhrasesCount
public int getExcludedPhrasesCount()Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6;- Specified by:
getExcludedPhrasesCountin interfaceEntityTypeOrBuilder
-
getExcludedPhrases
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6;- Specified by:
getExcludedPhrasesin interfaceEntityTypeOrBuilder
-
setExcludedPhrases
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6; -
setExcludedPhrases
public EntityType.Builder setExcludedPhrases(int index, EntityType.ExcludedPhrase.Builder builderForValue) Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6; -
addExcludedPhrases
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6; -
addExcludedPhrases
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6; -
addExcludedPhrases
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6; -
addExcludedPhrases
public EntityType.Builder addExcludedPhrases(int index, EntityType.ExcludedPhrase.Builder builderForValue) Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6; -
addAllExcludedPhrases
public EntityType.Builder addAllExcludedPhrases(Iterable<? extends EntityType.ExcludedPhrase> values) Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6; -
clearExcludedPhrases
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6; -
removeExcludedPhrases
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6; -
getExcludedPhrasesBuilder
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6; -
getExcludedPhrasesOrBuilder
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6;- Specified by:
getExcludedPhrasesOrBuilderin interfaceEntityTypeOrBuilder
-
getExcludedPhrasesOrBuilderList
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6;- Specified by:
getExcludedPhrasesOrBuilderListin interfaceEntityTypeOrBuilder
-
addExcludedPhrasesBuilder
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6; -
addExcludedPhrasesBuilder
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6; -
getExcludedPhrasesBuilderList
Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.
repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.ExcludedPhrase excluded_phrases = 6; -
getEnableFuzzyExtraction
public boolean getEnableFuzzyExtraction()Enables fuzzy entity extraction during classification.
bool enable_fuzzy_extraction = 7;- Specified by:
getEnableFuzzyExtractionin interfaceEntityTypeOrBuilder- Returns:
- The enableFuzzyExtraction.
-
setEnableFuzzyExtraction
Enables fuzzy entity extraction during classification.
bool enable_fuzzy_extraction = 7;- Parameters:
value- The enableFuzzyExtraction to set.- Returns:
- This builder for chaining.
-
clearEnableFuzzyExtraction
Enables fuzzy entity extraction during classification.
bool enable_fuzzy_extraction = 7;- Returns:
- This builder for chaining.
-
getRedact
public boolean getRedact()Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name during logging.
bool redact = 9;- Specified by:
getRedactin interfaceEntityTypeOrBuilder- Returns:
- The redact.
-
setRedact
Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name during logging.
bool redact = 9;- Parameters:
value- The redact to set.- Returns:
- This builder for chaining.
-
clearRedact
Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name during logging.
bool redact = 9;- Returns:
- This builder for chaining.
-