Package com.google.cloud.dialogflow.v2
Interface SessionEntityTypeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SessionEntityType
,SessionEntityType.Builder
public interface SessionEntityTypeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityType.Entity
getEntities(int index)
Required.int
getEntitiesCount()
Required.List<EntityType.Entity>
getEntitiesList()
Required.EntityType.EntityOrBuilder
getEntitiesOrBuilder(int index)
Required.List<? extends EntityType.EntityOrBuilder>
getEntitiesOrBuilderList()
Required.SessionEntityType.EntityOverrideMode
getEntityOverrideMode()
Required.int
getEntityOverrideModeValue()
Required.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The unique identifier of this session entity type. Format: `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`, or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. `<Entity Type Display Name>` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The unique identifier of this session entity type. Format: `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`, or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. `<Entity Type Display Name>` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for name.
-
getEntityOverrideModeValue
int getEntityOverrideModeValue()
Required. Indicates whether the additional data should override or supplement the custom entity type definition.
.google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideMode entity_override_mode = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The enum numeric value on the wire for entityOverrideMode.
-
getEntityOverrideMode
SessionEntityType.EntityOverrideMode getEntityOverrideMode()
Required. Indicates whether the additional data should override or supplement the custom entity type definition.
.google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideMode entity_override_mode = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The entityOverrideMode.
-
getEntitiesList
List<EntityType.Entity> getEntitiesList()
Required. The collection of entities associated with this session entity type.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 3 [(.google.api.field_behavior) = REQUIRED];
-
getEntities
EntityType.Entity getEntities(int index)
Required. The collection of entities associated with this session entity type.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 3 [(.google.api.field_behavior) = REQUIRED];
-
getEntitiesCount
int getEntitiesCount()
Required. The collection of entities associated with this session entity type.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 3 [(.google.api.field_behavior) = REQUIRED];
-
getEntitiesOrBuilderList
List<? extends EntityType.EntityOrBuilder> getEntitiesOrBuilderList()
Required. The collection of entities associated with this session entity type.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 3 [(.google.api.field_behavior) = REQUIRED];
-
getEntitiesOrBuilder
EntityType.EntityOrBuilder getEntitiesOrBuilder(int index)
Required. The collection of entities associated with this session entity type.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 3 [(.google.api.field_behavior) = REQUIRED];
-
-