@Generated(value="by gapic-generator-java") public class HttpJsonStreamingServiceStub extends StreamingServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonStreamingServiceStub(StreamingServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonStreamingServiceStub, using the given settings.
|
protected |
HttpJsonStreamingServiceStub(StreamingServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonStreamingServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.UnaryCallable<AcquireLeaseRequest,Lease> |
acquireLeaseCallable() |
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonStreamingServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonStreamingServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonStreamingServiceStub |
create(StreamingServiceStubSettings settings) |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.BidiStreamingCallable<ReceiveEventsRequest,ReceiveEventsResponse> |
receiveEventsCallable() |
com.google.api.gax.rpc.BidiStreamingCallable<ReceivePacketsRequest,ReceivePacketsResponse> |
receivePacketsCallable() |
com.google.api.gax.rpc.UnaryCallable<ReleaseLeaseRequest,ReleaseLeaseResponse> |
releaseLeaseCallable() |
com.google.api.gax.rpc.UnaryCallable<RenewLeaseRequest,Lease> |
renewLeaseCallable() |
com.google.api.gax.rpc.BidiStreamingCallable<SendPacketsRequest,SendPacketsResponse> |
sendPacketsCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected HttpJsonStreamingServiceStub(StreamingServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonStreamingServiceStub(StreamingServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonStreamingServiceStub create(StreamingServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonStreamingServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonStreamingServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.rpc.UnaryCallable<AcquireLeaseRequest,Lease> acquireLeaseCallable()
acquireLeaseCallable in class StreamingServiceStubpublic com.google.api.gax.rpc.UnaryCallable<RenewLeaseRequest,Lease> renewLeaseCallable()
renewLeaseCallable in class StreamingServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ReleaseLeaseRequest,ReleaseLeaseResponse> releaseLeaseCallable()
releaseLeaseCallable in class StreamingServiceStubpublic com.google.api.gax.rpc.BidiStreamingCallable<SendPacketsRequest,SendPacketsResponse> sendPacketsCallable()
sendPacketsCallable in class StreamingServiceStubpublic com.google.api.gax.rpc.BidiStreamingCallable<ReceivePacketsRequest,ReceivePacketsResponse> receivePacketsCallable()
receivePacketsCallable in class StreamingServiceStubpublic com.google.api.gax.rpc.BidiStreamingCallable<ReceiveEventsRequest,ReceiveEventsResponse> receiveEventsCallable()
receiveEventsCallable in class StreamingServiceStubpublic final void close()
close in interface AutoCloseableclose in class StreamingServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.