Package com.google.cloud.visionai.v1
Class StreamingServiceGrpc.StreamingServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<StreamingServiceGrpc.StreamingServiceBlockingV2Stub>
com.google.cloud.visionai.v1.StreamingServiceGrpc.StreamingServiceBlockingV2Stub
- Enclosing class:
- StreamingServiceGrpc
public static final class StreamingServiceGrpc.StreamingServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<StreamingServiceGrpc.StreamingServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service StreamingService.
Streaming service for receiving and sending packets.
-
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 TypeMethodDescriptionacquireLease(AcquireLeaseRequest request) AcquireLease acquires a lease.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) io.grpc.stub.BlockingClientCall<ReceiveEventsRequest,ReceiveEventsResponse> Receive events given the stream name.io.grpc.stub.BlockingClientCall<ReceivePacketsRequest,ReceivePacketsResponse> Receive packets from the series.releaseLease(ReleaseLeaseRequest request) RleaseLease releases a lease.renewLease(RenewLeaseRequest request) RenewLease renews a lease.io.grpc.stub.BlockingClientCall<SendPacketsRequest,SendPacketsResponse> Send packets to the series.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods 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 StreamingServiceGrpc.StreamingServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<StreamingServiceGrpc.StreamingServiceBlockingV2Stub>
-
sendPackets
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<SendPacketsRequest,SendPacketsResponse> sendPackets()Send packets to the series.
-
receivePackets
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<ReceivePacketsRequest,ReceivePacketsResponse> receivePackets()Receive packets from the series.
-
receiveEvents
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<ReceiveEventsRequest,ReceiveEventsResponse> receiveEvents()Receive events given the stream name.
-
acquireLease
AcquireLease acquires a lease.
- Throws:
io.grpc.StatusException
-
renewLease
RenewLease renews a lease.
- Throws:
io.grpc.StatusException
-
releaseLease
public ReleaseLeaseResponse releaseLease(ReleaseLeaseRequest request) throws io.grpc.StatusException RleaseLease releases a lease.
- Throws:
io.grpc.StatusException
-