Package com.google.cloud.visionai.v1
Class StreamingServiceGrpc.StreamingServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<StreamingServiceGrpc.StreamingServiceFutureStub>
com.google.cloud.visionai.v1.StreamingServiceGrpc.StreamingServiceFutureStub
- Enclosing class:
- StreamingServiceGrpc
public static final class StreamingServiceGrpc.StreamingServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<StreamingServiceGrpc.StreamingServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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 TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<Lease>acquireLease(AcquireLeaseRequest request) AcquireLease acquires a lease.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<ReleaseLeaseResponse>releaseLease(ReleaseLeaseRequest request) RleaseLease releases a lease.com.google.common.util.concurrent.ListenableFuture<Lease>renewLease(RenewLeaseRequest request) RenewLease renews a lease.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.StreamingServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<StreamingServiceGrpc.StreamingServiceFutureStub>
-
acquireLease
public com.google.common.util.concurrent.ListenableFuture<Lease> acquireLease(AcquireLeaseRequest request) AcquireLease acquires a lease.
-
renewLease
public com.google.common.util.concurrent.ListenableFuture<Lease> renewLease(RenewLeaseRequest request) RenewLease renews a lease.
-
releaseLease
public com.google.common.util.concurrent.ListenableFuture<ReleaseLeaseResponse> releaseLease(ReleaseLeaseRequest request) RleaseLease releases a lease.
-