Package com.google.cloud.dialogflow.v2
Interface EntityTypeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EntityType,EntityType.Builder
@Generated
public interface EntityTypeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.intOptional.Required.com.google.protobuf.ByteStringRequired.booleanOptional.getEntities(int index) Optional.intOptional.Optional.getEntitiesOrBuilder(int index) Optional.List<? extends EntityType.EntityOrBuilder>Optional.getKind()Required.intRequired.getName()The unique identifier of the entity type.com.google.protobuf.ByteStringThe unique identifier of the entity type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The unique identifier of the entity type. Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2.EntityTypes.UpdateEntityType] and [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes] methods. Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The unique identifier of the entity type. Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2.EntityTypes.UpdateEntityType] and [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes] methods. Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
string name = 1;- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()Required. The name of the entity type.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Required. The name of the entity type.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for displayName.
-
getKindValue
int getKindValue()Required. Indicates the kind of entity type.
.google.cloud.dialogflow.v2.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for kind.
-
getKind
EntityType.Kind getKind()Required. Indicates the kind of entity type.
.google.cloud.dialogflow.v2.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The kind.
-
getAutoExpansionModeValue
int getAutoExpansionModeValue()Optional. Indicates whether the entity type can be automatically expanded.
.google.cloud.dialogflow.v2.EntityType.AutoExpansionMode auto_expansion_mode = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for autoExpansionMode.
-
getAutoExpansionMode
EntityType.AutoExpansionMode getAutoExpansionMode()Optional. Indicates whether the entity type can be automatically expanded.
.google.cloud.dialogflow.v2.EntityType.AutoExpansionMode auto_expansion_mode = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The autoExpansionMode.
-
getEntitiesList
List<EntityType.Entity> getEntitiesList()Optional. The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getEntities
Optional. The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getEntitiesCount
int getEntitiesCount()Optional. The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getEntitiesOrBuilderList
List<? extends EntityType.EntityOrBuilder> getEntitiesOrBuilderList()Optional. The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getEntitiesOrBuilder
Optional. The collection of entity entries associated with the entity type.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getEnableFuzzyExtraction
boolean getEnableFuzzyExtraction()Optional. Enables fuzzy entity extraction during classification.
bool enable_fuzzy_extraction = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enableFuzzyExtraction.
-