Class SessionEntityTypesGrpc.SessionEntityTypesStub (4.7.4)

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

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateSessionEntityTypeRequest
responseObserverio.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
NameDescription
requestDeleteSessionEntityTypeRequest
responseObserverio.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
NameDescription
requestGetSessionEntityTypeRequest
responseObserverio.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
NameDescription
requestListSessionEntityTypesRequest
responseObserverio.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
NameDescription
requestUpdateSessionEntityTypeRequest
responseObserverio.grpc.stub.StreamObserver<SessionEntityType>