@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonEventServiceStub extends EventServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonEventServiceStub(EventServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonEventServiceStub, using the given settings.
|
protected |
HttpJsonEventServiceStub(EventServiceStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonEventServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonEventServiceStub |
create(ClientContext clientContext) |
static HttpJsonEventServiceStub |
create(ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory) |
static HttpJsonEventServiceStub |
create(EventServiceStubSettings settings) |
UnaryCallable<CreateClientEventRequest,ClientEvent> |
createClientEventCallable() |
static List<ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
protected HttpJsonEventServiceStub(EventServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonEventServiceStub(EventServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonEventServiceStub create(EventServiceStubSettings settings) throws IOException
IOException
public static final HttpJsonEventServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonEventServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public UnaryCallable<CreateClientEventRequest,ClientEvent> createClientEventCallable()
createClientEventCallable
in class EventServiceStub
public final void close()
close
in interface AutoCloseable
close
in class EventServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.