Package com.google.cloud.dialogflow.v2
Class ContextsGrpc.ContextsBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<ContextsGrpc.ContextsBlockingStub>
-
- com.google.cloud.dialogflow.v2.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.v2.Context].
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ContextsGrpc.ContextsBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)ContextcreateContext(CreateContextRequest request)Creates a context.com.google.protobuf.EmptydeleteAllContexts(DeleteAllContextsRequest request)Deletes all active contexts in the specified session.com.google.protobuf.EmptydeleteContext(DeleteContextRequest request)Deletes the specified context.ContextgetContext(GetContextRequest request)Retrieves the specified context.ListContextsResponselistContexts(ListContextsRequest request)Returns the list of all contexts in the specified session.ContextupdateContext(UpdateContextRequest request)Updates the specified context.
-
-
-
Method Detail
-
build
protected ContextsGrpc.ContextsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin 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.
-
-