Interface CreateSessionEntityTypeRequestOrBuilder (4.26.0)

public interface CreateSessionEntityTypeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The session to create a session entity type for. Format: projects/<Project ID>/agent/sessions/<Session ID> or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/ sessions/<Session ID>. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The session to create a session entity type for. Format: projects/<Project ID>/agent/sessions/<Session ID> or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/ sessions/<Session ID>. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getSessionEntityType()

public abstract SessionEntityType getSessionEntityType()

Required. The session entity type to create.

.google.cloud.dialogflow.v2.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SessionEntityType

The sessionEntityType.

getSessionEntityTypeOrBuilder()

public abstract SessionEntityTypeOrBuilder getSessionEntityTypeOrBuilder()

Required. The session entity type to create.

.google.cloud.dialogflow.v2.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SessionEntityTypeOrBuilder

hasSessionEntityType()

public abstract boolean hasSessionEntityType()

Required. The session entity type to create.

.google.cloud.dialogflow.v2.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the sessionEntityType field is set.