Class StreamingServiceStub (0.9.0)

public abstract class StreamingServiceStub implements BackgroundResource

Base stub class for the StreamingService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > StreamingServiceStub

Implements

BackgroundResource

Constructors

StreamingServiceStub()

public StreamingServiceStub()

Methods

acquireLeaseCallable()

public UnaryCallable<AcquireLeaseRequest,Lease> acquireLeaseCallable()
Returns
Type Description
UnaryCallable<AcquireLeaseRequest,Lease>

close()

public abstract void close()

receiveEventsCallable()

public BidiStreamingCallable<ReceiveEventsRequest,ReceiveEventsResponse> receiveEventsCallable()
Returns
Type Description
BidiStreamingCallable<ReceiveEventsRequest,ReceiveEventsResponse>

receivePacketsCallable()

public BidiStreamingCallable<ReceivePacketsRequest,ReceivePacketsResponse> receivePacketsCallable()
Returns
Type Description
BidiStreamingCallable<ReceivePacketsRequest,ReceivePacketsResponse>

releaseLeaseCallable()

public UnaryCallable<ReleaseLeaseRequest,ReleaseLeaseResponse> releaseLeaseCallable()
Returns
Type Description
UnaryCallable<ReleaseLeaseRequest,ReleaseLeaseResponse>

renewLeaseCallable()

public UnaryCallable<RenewLeaseRequest,Lease> renewLeaseCallable()
Returns
Type Description
UnaryCallable<RenewLeaseRequest,Lease>

sendPacketsCallable()

public BidiStreamingCallable<SendPacketsRequest,SendPacketsResponse> sendPacketsCallable()
Returns
Type Description
BidiStreamingCallable<SendPacketsRequest,SendPacketsResponse>