Interface SessionEntityTypesGrpc.AsyncService (4.24.0)

public static interface SessionEntityTypesGrpc.AsyncService

Service for managing SessionEntityTypes.

Methods

createSessionEntityType(CreateSessionEntityTypeRequest request, StreamObserver<SessionEntityType> responseObserver)

public default void createSessionEntityType(CreateSessionEntityTypeRequest request, StreamObserver<SessionEntityType> responseObserver)

Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Parameters
Name Description
request CreateSessionEntityTypeRequest
responseObserver io.grpc.stub.StreamObserver<SessionEntityType>

deleteSessionEntityType(DeleteSessionEntityTypeRequest request, StreamObserver<Empty> responseObserver)

public default void deleteSessionEntityType(DeleteSessionEntityTypeRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Parameters
Name Description
request DeleteSessionEntityTypeRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getSessionEntityType(GetSessionEntityTypeRequest request, StreamObserver<SessionEntityType> responseObserver)

public default void getSessionEntityType(GetSessionEntityTypeRequest request, StreamObserver<SessionEntityType> responseObserver)

Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Parameters
Name Description
request GetSessionEntityTypeRequest
responseObserver io.grpc.stub.StreamObserver<SessionEntityType>

listSessionEntityTypes(ListSessionEntityTypesRequest request, StreamObserver<ListSessionEntityTypesResponse> responseObserver)

public default void listSessionEntityTypes(ListSessionEntityTypesRequest request, StreamObserver<ListSessionEntityTypesResponse> responseObserver)

Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Parameters
Name Description
request ListSessionEntityTypesRequest
responseObserver io.grpc.stub.StreamObserver<ListSessionEntityTypesResponse>

updateSessionEntityType(UpdateSessionEntityTypeRequest request, StreamObserver<SessionEntityType> responseObserver)

public default void updateSessionEntityType(UpdateSessionEntityTypeRequest request, StreamObserver<SessionEntityType> responseObserver)

Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Parameters
Name Description
request UpdateSessionEntityTypeRequest
responseObserver io.grpc.stub.StreamObserver<SessionEntityType>