public static final class EntityType.Builder extends com.google.protobuf.GeneratedMessageV3.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.v3.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.v3.EntityType| Modifier and Type | Method and Description |
|---|---|
EntityType.Builder |
addAllEntities(Iterable<? extends EntityType.Entity> values)
The collection of entity entries associated with the entity type.
|
EntityType.Builder |
addAllExcludedPhrases(Iterable<? extends EntityType.ExcludedPhrase> values)
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.Builder |
addEntities(EntityType.Entity.Builder builderForValue)
The collection of entity entries associated with the entity type.
|
EntityType.Builder |
addEntities(EntityType.Entity value)
The collection of entity entries associated with the entity type.
|
EntityType.Builder |
addEntities(int index,
EntityType.Entity.Builder builderForValue)
The collection of entity entries associated with the entity type.
|
EntityType.Builder |
addEntities(int index,
EntityType.Entity value)
The collection of entity entries associated with the entity type.
|
EntityType.Entity.Builder |
addEntitiesBuilder()
The collection of entity entries associated with the entity type.
|
EntityType.Entity.Builder |
addEntitiesBuilder(int index)
The collection of entity entries associated with the entity type.
|
EntityType.Builder |
addExcludedPhrases(EntityType.ExcludedPhrase.Builder builderForValue)
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.Builder |
addExcludedPhrases(EntityType.ExcludedPhrase value)
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.Builder |
addExcludedPhrases(int index,
EntityType.ExcludedPhrase.Builder builderForValue)
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.Builder |
addExcludedPhrases(int index,
EntityType.ExcludedPhrase value)
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.ExcludedPhrase.Builder |
addExcludedPhrasesBuilder()
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.ExcludedPhrase.Builder |
addExcludedPhrasesBuilder(int index)
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EntityType |
build() |
EntityType |
buildPartial() |
EntityType.Builder |
clear() |
EntityType.Builder |
clearAutoExpansionMode()
Indicates whether the entity type can be automatically expanded.
|
EntityType.Builder |
clearDisplayName()
Required.
|
EntityType.Builder |
clearEnableFuzzyExtraction()
Enables fuzzy entity extraction during classification.
|
EntityType.Builder |
clearEntities()
The collection of entity entries associated with the entity type.
|
EntityType.Builder |
clearExcludedPhrases()
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EntityType.Builder |
clearKind()
Required.
|
EntityType.Builder |
clearName()
The unique identifier of the entity type.
|
EntityType.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EntityType.Builder |
clearRedact()
Indicates whether parameters of the entity type should be redacted in log.
|
EntityType.Builder |
clone() |
EntityType.AutoExpansionMode |
getAutoExpansionMode()
Indicates whether the entity type can be automatically expanded.
|
int |
getAutoExpansionModeValue()
Indicates whether the entity type can be automatically expanded.
|
EntityType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
boolean |
getEnableFuzzyExtraction()
Enables fuzzy entity extraction during classification.
|
EntityType.Entity |
getEntities(int index)
The collection of entity entries associated with the entity type.
|
EntityType.Entity.Builder |
getEntitiesBuilder(int index)
The collection of entity entries associated with the entity type.
|
List<EntityType.Entity.Builder> |
getEntitiesBuilderList()
The collection of entity entries associated with the entity type.
|
int |
getEntitiesCount()
The collection of entity entries associated with the entity type.
|
List<EntityType.Entity> |
getEntitiesList()
The collection of entity entries associated with the entity type.
|
EntityType.EntityOrBuilder |
getEntitiesOrBuilder(int index)
The collection of entity entries associated with the entity type.
|
List<? extends EntityType.EntityOrBuilder> |
getEntitiesOrBuilderList()
The collection of entity entries associated with the entity type.
|
EntityType.ExcludedPhrase |
getExcludedPhrases(int index)
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.ExcludedPhrase.Builder |
getExcludedPhrasesBuilder(int index)
Collection of exceptional words and phrases that shouldn't be matched.
|
List<EntityType.ExcludedPhrase.Builder> |
getExcludedPhrasesBuilderList()
Collection of exceptional words and phrases that shouldn't be matched.
|
int |
getExcludedPhrasesCount()
Collection of exceptional words and phrases that shouldn't be matched.
|
List<EntityType.ExcludedPhrase> |
getExcludedPhrasesList()
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.ExcludedPhraseOrBuilder |
getExcludedPhrasesOrBuilder(int index)
Collection of exceptional words and phrases that shouldn't be matched.
|
List<? extends EntityType.ExcludedPhraseOrBuilder> |
getExcludedPhrasesOrBuilderList()
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.Kind |
getKind()
Required.
|
int |
getKindValue()
Required.
|
String |
getName()
The unique identifier of the entity type.
|
com.google.protobuf.ByteString |
getNameBytes()
The unique identifier of the entity type.
|
boolean |
getRedact()
Indicates whether parameters of the entity type should be redacted in log.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EntityType.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EntityType.Builder |
mergeFrom(EntityType other) |
EntityType.Builder |
mergeFrom(com.google.protobuf.Message other) |
EntityType.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EntityType.Builder |
removeEntities(int index)
The collection of entity entries associated with the entity type.
|
EntityType.Builder |
removeExcludedPhrases(int index)
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.Builder |
setAutoExpansionMode(EntityType.AutoExpansionMode value)
Indicates whether the entity type can be automatically expanded.
|
EntityType.Builder |
setAutoExpansionModeValue(int value)
Indicates whether the entity type can be automatically expanded.
|
EntityType.Builder |
setDisplayName(String value)
Required.
|
EntityType.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
EntityType.Builder |
setEnableFuzzyExtraction(boolean value)
Enables fuzzy entity extraction during classification.
|
EntityType.Builder |
setEntities(int index,
EntityType.Entity.Builder builderForValue)
The collection of entity entries associated with the entity type.
|
EntityType.Builder |
setEntities(int index,
EntityType.Entity value)
The collection of entity entries associated with the entity type.
|
EntityType.Builder |
setExcludedPhrases(int index,
EntityType.ExcludedPhrase.Builder builderForValue)
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.Builder |
setExcludedPhrases(int index,
EntityType.ExcludedPhrase value)
Collection of exceptional words and phrases that shouldn't be matched.
|
EntityType.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EntityType.Builder |
setKind(EntityType.Kind value)
Required.
|
EntityType.Builder |
setKindValue(int value)
Required.
|
EntityType.Builder |
setName(String value)
The unique identifier of the entity type.
|
EntityType.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the entity type.
|
EntityType.Builder |
setRedact(boolean value)
Indicates whether parameters of the entity type should be redacted in log.
|
EntityType.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
EntityType.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, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Builder>public EntityType.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.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<EntityType.Builder>public EntityType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EntityType build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EntityType buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EntityType.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Builder>public EntityType.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<EntityType.Builder>public EntityType.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Builder>public EntityType.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Builder>public EntityType.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<EntityType.Builder>public EntityType.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<EntityType.Builder>public EntityType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EntityType.Builder>public EntityType.Builder mergeFrom(EntityType other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Builder>public EntityType.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<EntityType.Builder>IOExceptionpublic String getName()
The unique identifier of the entity type. Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType]. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>`.
string name = 1;getName in interface EntityTypeOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The unique identifier of the entity type. Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType]. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>`.
string name = 1;getNameBytes in interface EntityTypeOrBuilderpublic EntityType.Builder setName(String value)
The unique identifier of the entity type. Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType]. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>`.
string name = 1;value - The name to set.public EntityType.Builder clearName()
The unique identifier of the entity type. Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType]. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>`.
string name = 1;public EntityType.Builder setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the entity type. Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType]. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>`.
string name = 1;value - The bytes for name to set.public String getDisplayName()
Required. The human-readable name of the entity type, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface EntityTypeOrBuilderpublic 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];getDisplayNameBytes in interface EntityTypeOrBuilderpublic EntityType.Builder setDisplayName(String value)
Required. The human-readable name of the entity type, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The displayName to set.public EntityType.Builder clearDisplayName()
Required. The human-readable name of the entity type, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];public EntityType.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The human-readable name of the entity type, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for displayName to set.public int getKindValue()
Required. Indicates the kind of entity type.
.google.cloud.dialogflow.cx.v3.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED];
getKindValue in interface EntityTypeOrBuilderpublic EntityType.Builder setKindValue(int value)
Required. Indicates the kind of entity type.
.google.cloud.dialogflow.cx.v3.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for kind to set.public EntityType.Kind getKind()
Required. Indicates the kind of entity type.
.google.cloud.dialogflow.cx.v3.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED];
getKind in interface EntityTypeOrBuilderpublic EntityType.Builder setKind(EntityType.Kind value)
Required. Indicates the kind of entity type.
.google.cloud.dialogflow.cx.v3.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED];
value - The kind to set.public EntityType.Builder clearKind()
Required. Indicates the kind of entity type.
.google.cloud.dialogflow.cx.v3.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED];
public int getAutoExpansionModeValue()
Indicates whether the entity type can be automatically expanded.
.google.cloud.dialogflow.cx.v3.EntityType.AutoExpansionMode auto_expansion_mode = 4;
getAutoExpansionModeValue in interface EntityTypeOrBuilderpublic EntityType.Builder setAutoExpansionModeValue(int value)
Indicates whether the entity type can be automatically expanded.
.google.cloud.dialogflow.cx.v3.EntityType.AutoExpansionMode auto_expansion_mode = 4;
value - The enum numeric value on the wire for autoExpansionMode to set.public EntityType.AutoExpansionMode getAutoExpansionMode()
Indicates whether the entity type can be automatically expanded.
.google.cloud.dialogflow.cx.v3.EntityType.AutoExpansionMode auto_expansion_mode = 4;
getAutoExpansionMode in interface EntityTypeOrBuilderpublic EntityType.Builder setAutoExpansionMode(EntityType.AutoExpansionMode value)
Indicates whether the entity type can be automatically expanded.
.google.cloud.dialogflow.cx.v3.EntityType.AutoExpansionMode auto_expansion_mode = 4;
value - The autoExpansionMode to set.public EntityType.Builder clearAutoExpansionMode()
Indicates whether the entity type can be automatically expanded.
.google.cloud.dialogflow.cx.v3.EntityType.AutoExpansionMode auto_expansion_mode = 4;
public List<EntityType.Entity> getEntitiesList()
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;getEntitiesList in interface EntityTypeOrBuilderpublic int getEntitiesCount()
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;getEntitiesCount in interface EntityTypeOrBuilderpublic EntityType.Entity getEntities(int index)
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;getEntities in interface EntityTypeOrBuilderpublic EntityType.Builder setEntities(int index, EntityType.Entity value)
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;public EntityType.Builder setEntities(int index, EntityType.Entity.Builder builderForValue)
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;public EntityType.Builder addEntities(EntityType.Entity value)
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;public EntityType.Builder addEntities(int index, EntityType.Entity value)
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;public EntityType.Builder addEntities(EntityType.Entity.Builder builderForValue)
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;public EntityType.Builder addEntities(int index, EntityType.Entity.Builder builderForValue)
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;public EntityType.Builder addAllEntities(Iterable<? extends EntityType.Entity> values)
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;public EntityType.Builder clearEntities()
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;public EntityType.Builder removeEntities(int index)
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;public EntityType.Entity.Builder getEntitiesBuilder(int index)
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;public EntityType.EntityOrBuilder getEntitiesOrBuilder(int index)
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;getEntitiesOrBuilder in interface EntityTypeOrBuilderpublic List<? extends EntityType.EntityOrBuilder> getEntitiesOrBuilderList()
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;getEntitiesOrBuilderList in interface EntityTypeOrBuilderpublic EntityType.Entity.Builder addEntitiesBuilder()
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;public EntityType.Entity.Builder addEntitiesBuilder(int index)
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;public List<EntityType.Entity.Builder> getEntitiesBuilderList()
The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.cx.v3.EntityType.Entity entities = 5;public List<EntityType.ExcludedPhrase> 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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
getExcludedPhrasesList in interface EntityTypeOrBuilderpublic 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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
getExcludedPhrasesCount in interface EntityTypeOrBuilderpublic EntityType.ExcludedPhrase getExcludedPhrases(int index)
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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
getExcludedPhrases in interface EntityTypeOrBuilderpublic EntityType.Builder setExcludedPhrases(int index, EntityType.ExcludedPhrase value)
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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
public EntityType.Builder addExcludedPhrases(EntityType.ExcludedPhrase value)
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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
public EntityType.Builder addExcludedPhrases(int index, EntityType.ExcludedPhrase value)
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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
public EntityType.Builder addExcludedPhrases(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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
public EntityType.Builder 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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
public EntityType.Builder removeExcludedPhrases(int index)
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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
public EntityType.ExcludedPhrase.Builder getExcludedPhrasesBuilder(int index)
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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
public EntityType.ExcludedPhraseOrBuilder getExcludedPhrasesOrBuilder(int index)
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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
getExcludedPhrasesOrBuilder in interface EntityTypeOrBuilderpublic List<? extends EntityType.ExcludedPhraseOrBuilder> 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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
getExcludedPhrasesOrBuilderList in interface EntityTypeOrBuilderpublic EntityType.ExcludedPhrase.Builder 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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
public EntityType.ExcludedPhrase.Builder addExcludedPhrasesBuilder(int index)
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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
public List<EntityType.ExcludedPhrase.Builder> 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.v3.EntityType.ExcludedPhrase excluded_phrases = 6;
public boolean getEnableFuzzyExtraction()
Enables fuzzy entity extraction during classification.
bool enable_fuzzy_extraction = 7;getEnableFuzzyExtraction in interface EntityTypeOrBuilderpublic EntityType.Builder setEnableFuzzyExtraction(boolean value)
Enables fuzzy entity extraction during classification.
bool enable_fuzzy_extraction = 7;value - The enableFuzzyExtraction to set.public EntityType.Builder clearEnableFuzzyExtraction()
Enables fuzzy entity extraction during classification.
bool enable_fuzzy_extraction = 7;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 when logging.
bool redact = 9;getRedact in interface EntityTypeOrBuilderpublic EntityType.Builder setRedact(boolean value)
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 when logging.
bool redact = 9;value - The redact to set.public EntityType.Builder 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 when logging.
bool redact = 9;public final EntityType.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Builder>public final EntityType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EntityType.Builder>Copyright © 2022 Google LLC. All rights reserved.