public abstract static class ContextsGrpc.ContextsImplBase extends Object implements BindableService
Service for managing [Contexts][google.cloud.dialogflow.v2.Context].
Constructor and Description |
---|
ContextsImplBase() |
Modifier and Type | Method and Description |
---|---|
ServerServiceDefinition |
bindService() |
void |
createContext(CreateContextRequest request,
StreamObserver<Context> responseObserver)
Creates a context.
|
void |
deleteAllContexts(DeleteAllContextsRequest request,
StreamObserver<Empty> responseObserver)
Deletes all active contexts in the specified session.
|
void |
deleteContext(DeleteContextRequest request,
StreamObserver<Empty> responseObserver)
Deletes the specified context.
|
void |
getContext(GetContextRequest request,
StreamObserver<Context> responseObserver)
Retrieves the specified context.
|
void |
listContexts(ListContextsRequest request,
StreamObserver<ListContextsResponse> responseObserver)
Returns the list of all contexts in the specified session.
|
void |
updateContext(UpdateContextRequest request,
StreamObserver<Context> responseObserver)
Updates the specified context.
|
public void listContexts(ListContextsRequest request, StreamObserver<ListContextsResponse> responseObserver)
Returns the list of all contexts in the specified session.
public void getContext(GetContextRequest request, StreamObserver<Context> responseObserver)
Retrieves the specified context.
public void createContext(CreateContextRequest request, StreamObserver<Context> responseObserver)
Creates a context. If the specified context already exists, overrides the context.
public void updateContext(UpdateContextRequest request, StreamObserver<Context> responseObserver)
Updates the specified context.
public void deleteContext(DeleteContextRequest request, StreamObserver<Empty> responseObserver)
Deletes the specified context.
public void deleteAllContexts(DeleteAllContextsRequest request, StreamObserver<Empty> responseObserver)
Deletes all active contexts in the specified session.
public final ServerServiceDefinition bindService()
bindService
in interface BindableService
Copyright © 2022 Google LLC. All rights reserved.