Interface SessionEntityTypeOrBuilder (0.24.0)

public interface SessionEntityTypeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEntities(int index)

public abstract EntityType.Entity getEntities(int index)

Required. The collection of entities to override or supplement the custom entity type.

repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EntityType.Entity

getEntitiesCount()

public abstract int getEntitiesCount()

Required. The collection of entities to override or supplement the custom entity type.

repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getEntitiesList()

public abstract List<EntityType.Entity> getEntitiesList()

Required. The collection of entities to override or supplement the custom entity type.

repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Entity>

getEntitiesOrBuilder(int index)

public abstract EntityType.EntityOrBuilder getEntitiesOrBuilder(int index)

Required. The collection of entities to override or supplement the custom entity type.

repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EntityType.EntityOrBuilder

getEntitiesOrBuilderList()

public abstract List<? extends EntityType.EntityOrBuilder> getEntitiesOrBuilderList()

Required. The collection of entities to override or supplement the custom entity type.

repeated .google.cloud.dialogflow.cx.v3beta1.EntityType.Entity entities = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.EntityType.EntityOrBuilder>

getEntityOverrideMode()

public abstract SessionEntityType.EntityOverrideMode getEntityOverrideMode()

Required. Indicates whether the additional data should override or supplement the custom entity type definition.

.google.cloud.dialogflow.cx.v3beta1.SessionEntityType.EntityOverrideMode entity_override_mode = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SessionEntityType.EntityOverrideMode

The entityOverrideMode.

getEntityOverrideModeValue()

public abstract int getEntityOverrideModeValue()

Required. Indicates whether the additional data should override or supplement the custom entity type definition.

.google.cloud.dialogflow.cx.v3beta1.SessionEntityType.EntityOverrideMode entity_override_mode = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for entityOverrideMode.

getName()

public abstract String getName()

Required. The unique identifier of the session entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The unique identifier of the session entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>/entityTypes/<Entity Type ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>. If Environment ID is not specified, we assume default 'draft' environment.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.