Class SpannerExecutorProxyGrpc.SpannerExecutorProxyStub (6.62.0)

public static final class SpannerExecutorProxyGrpc.SpannerExecutorProxyStub extends AbstractAsyncStub<SpannerExecutorProxyGrpc.SpannerExecutorProxyStub>

A stub to allow clients to do asynchronous rpc calls to service SpannerExecutorProxy.

Service that executes SpannerActions asynchronously.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SpannerExecutorProxyGrpc.SpannerExecutorProxyStub

Methods

build(Channel channel, CallOptions callOptions)

protected SpannerExecutorProxyGrpc.SpannerExecutorProxyStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
SpannerExecutorProxyGrpc.SpannerExecutorProxyStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

executeActionAsync(StreamObserver<SpannerAsyncActionResponse> responseObserver)

public StreamObserver<SpannerAsyncActionRequest> executeActionAsync(StreamObserver<SpannerAsyncActionResponse> responseObserver)

ExecuteActionAsync is a streaming call that starts executing a new Spanner action. For each request, the server will reply with one or more responses, but only the last response will contain status in the outcome. Responses can be matched to requests by action_id. It is allowed to have multiple actions in flight--in that case, actions are be executed in parallel.

Parameter
NameDescription
responseObserverio.grpc.stub.StreamObserver<SpannerAsyncActionResponse>
Returns
TypeDescription
io.grpc.stub.StreamObserver<SpannerAsyncActionRequest>