@BetaApi @Generated(value="by gapic-generator-java") public class GrpcEventServiceStub extends EventServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcEventServiceStub(EventServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcEventServiceStub, using the given settings.
|
protected |
GrpcEventServiceStub(EventServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcEventServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcEventServiceStub |
create(ClientContext clientContext) |
static GrpcEventServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcEventServiceStub |
create(EventServiceStubSettings settings) |
UnaryCallable<CreateClientEventRequest,ClientEvent> |
createClientEventCallable() |
GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcEventServiceStub(EventServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcEventServiceStub(EventServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcEventServiceStub create(EventServiceStubSettings settings) throws IOException
IOException
public static final GrpcEventServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcEventServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
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.