Class StreamingServiceStub (0.51.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.
Constructors
StreamingServiceStub()
public StreamingServiceStub()
Methods
acquireLeaseCallable()
public UnaryCallable<AcquireLeaseRequest,Lease> acquireLeaseCallable()
close()
public abstract void close()
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
| Returns |
| Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
| Returns |
| Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,StreamingServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
receiveEventsCallable()
public BidiStreamingCallable<ReceiveEventsRequest,ReceiveEventsResponse> receiveEventsCallable()
receivePacketsCallable()
public BidiStreamingCallable<ReceivePacketsRequest,ReceivePacketsResponse> receivePacketsCallable()
releaseLeaseCallable()
public UnaryCallable<ReleaseLeaseRequest,ReleaseLeaseResponse> releaseLeaseCallable()
renewLeaseCallable()
public UnaryCallable<RenewLeaseRequest,Lease> renewLeaseCallable()
sendPacketsCallable()
public BidiStreamingCallable<SendPacketsRequest,SendPacketsResponse> sendPacketsCallable()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-01 UTC.
[null,null,["Last updated 2026-08-01 UTC."],[],[]]