Package s2.v1alpha
Class StreamServiceGrpc.StreamServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<StreamServiceGrpc.StreamServiceBlockingV2Stub>
s2.v1alpha.StreamServiceGrpc.StreamServiceBlockingV2Stub
- Enclosing class:
- StreamServiceGrpc
public static final class StreamServiceGrpc.StreamServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<StreamServiceGrpc.StreamServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service StreamService.
Operate on an S2 stream.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionappend
(AppendRequest request) Append a batch of records to a stream.io.grpc.stub.BlockingClientCall<AppendSessionRequest,
AppendSessionResponse> Append batches of records to a stream continuously, while guaranteeing pipelined requests are processed in order.build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) checkTail
(CheckTailRequest request) Check the sequence number that will be assigned to the next record on a stream.read
(ReadRequest request) Retrieve a batch of records from a stream.io.grpc.stub.BlockingClientCall<?,
ReadSessionResponse> readSession
(ReadSessionRequest request) Retrieve batches of records from a stream continuously.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected StreamServiceGrpc.StreamServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<StreamServiceGrpc.StreamServiceBlockingV2Stub>
-
checkTail
Check the sequence number that will be assigned to the next record on a stream.
-
append
Append a batch of records to a stream.
-
appendSession
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<AppendSessionRequest,AppendSessionResponse> appendSession()Append batches of records to a stream continuously, while guaranteeing pipelined requests are processed in order. If any request fails, the session is terminated.
-
read
Retrieve a batch of records from a stream.
-
readSession
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,ReadSessionResponse> readSession(ReadSessionRequest request) Retrieve batches of records from a stream continuously.
-