Class ContextsGrpc.ContextsBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<ContextsGrpc.ContextsBlockingStub>
-
- com.google.cloud.dialogflow.v2beta1.ContextsGrpc.ContextsBlockingStub
-
- Enclosing class:
- ContextsGrpc
public static final class ContextsGrpc.ContextsBlockingStub extends io.grpc.stub.AbstractBlockingStub<ContextsGrpc.ContextsBlockingStub>
A stub to allow clients to do synchronous rpc calls to service Contexts.Service for managing [Contexts][google.cloud.dialogflow.v2beta1.Context].
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ContextsGrpc.ContextsBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
Context
createContext(CreateContextRequest request)
Creates a context.com.google.protobuf.Empty
deleteAllContexts(DeleteAllContextsRequest request)
Deletes all active contexts in the specified session.com.google.protobuf.Empty
deleteContext(DeleteContextRequest request)
Deletes the specified context.Context
getContext(GetContextRequest request)
Retrieves the specified context.ListContextsResponse
listContexts(ListContextsRequest request)
Returns the list of all contexts in the specified session.Context
updateContext(UpdateContextRequest request)
Updates the specified context.
-
-
-
Method Detail
-
build
protected ContextsGrpc.ContextsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ContextsGrpc.ContextsBlockingStub>
-
listContexts
public ListContextsResponse listContexts(ListContextsRequest request)
Returns the list of all contexts in the specified session.
-
getContext
public Context getContext(GetContextRequest request)
Retrieves the specified context.
-
createContext
public Context createContext(CreateContextRequest request)
Creates a context. If the specified context already exists, overrides the context.
-
updateContext
public Context updateContext(UpdateContextRequest request)
Updates the specified context.
-
deleteContext
public com.google.protobuf.Empty deleteContext(DeleteContextRequest request)
Deletes the specified context.
-
deleteAllContexts
public com.google.protobuf.Empty deleteAllContexts(DeleteAllContextsRequest request)
Deletes all active contexts in the specified session.
-
-