Interface SessionEntityTypeOrBuilder (4.7.2)

public interface SessionEntityTypeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEntities(int index)

public abstract EntityType.Entity getEntities(int index)

Required. The collection of entities associated with this session entity type.

repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityType.Entity

getEntitiesCount()

public abstract int getEntitiesCount()

Required. The collection of entities associated with this session entity type.

repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 3;

Returns
TypeDescription
int

getEntitiesList()

public abstract List<EntityType.Entity> getEntitiesList()

Required. The collection of entities associated with this session entity type.

repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 3;

Returns
TypeDescription
List<Entity>

getEntitiesOrBuilder(int index)

public abstract EntityType.EntityOrBuilder getEntitiesOrBuilder(int index)

Required. The collection of entities associated with this session entity type.

repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityType.EntityOrBuilder

getEntitiesOrBuilderList()

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

Required. The collection of entities associated with this session entity type.

repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 3;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.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.v2beta1.SessionEntityType.EntityOverrideMode entity_override_mode = 2;

Returns
TypeDescription
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.v2beta1.SessionEntityType.EntityOverrideMode entity_override_mode = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for entityOverrideMode.

getName()

public abstract String getName()

Required. The unique identifier of this session entity type. Supported formats:

  • projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>
  • projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>
  • projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>
  • projects/<Project ID>/locations/<Location ID>/agent/environments/ <Environment ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name> If Location ID is not specified we assume default 'us' location. 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;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The unique identifier of this session entity type. Supported formats:

  • projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>
  • projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>
  • projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>
  • projects/<Project ID>/locations/<Location ID>/agent/environments/ <Environment ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name> If Location ID is not specified we assume default 'us' location. 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;

Returns
TypeDescription
ByteString

The bytes for name.