public static final class ContextsGrpc.ContextsBlockingStub extends AbstractBlockingStub<ContextsGrpc.ContextsBlockingStub>
Service for managing [Contexts][google.cloud.dialogflow.v2.Context].
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected ContextsGrpc.ContextsBlockingStub |
build(Channel channel,
CallOptions callOptions) |
Context |
createContext(CreateContextRequest request)
Creates a context.
|
Empty |
deleteAllContexts(DeleteAllContextsRequest request)
Deletes all active contexts in the specified session.
|
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.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected ContextsGrpc.ContextsBlockingStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<ContextsGrpc.ContextsBlockingStub>
public ListContextsResponse listContexts(ListContextsRequest request)
Returns the list of all contexts in the specified session.
public Context getContext(GetContextRequest request)
Retrieves the specified context.
public Context createContext(CreateContextRequest request)
Creates a context. If the specified context already exists, overrides the context.
public Context updateContext(UpdateContextRequest request)
Updates the specified context.
public Empty deleteContext(DeleteContextRequest request)
Deletes the specified context.
public Empty deleteAllContexts(DeleteAllContextsRequest request)
Deletes all active contexts in the specified session.
Copyright © 2022 Google LLC. All rights reserved.