Class SessionEntityTypesGrpc.SessionEntityTypesStub (4.30.0)

public static final class SessionEntityTypesGrpc.SessionEntityTypesStub extends AbstractAsyncStub<SessionEntityTypesGrpc.SessionEntityTypesStub>

A stub to allow clients to do asynchronous rpc calls to service SessionEntityTypes.

Service for managing SessionEntityTypes.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SessionEntityTypesGrpc.SessionEntityTypesStub

Methods

build(Channel channel, CallOptions callOptions)

protected SessionEntityTypesGrpc.SessionEntityTypesStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
SessionEntityTypesGrpc.SessionEntityTypesStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createSessionEntityType(CreateSessionEntityTypeRequest request, StreamObserver<SessionEntityType> responseObserver)

public 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 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 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 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 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>