@Generated(value="by gapic-generator-java") public class GrpcUserEventServiceStub extends UserEventServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcUserEventServiceStub(UserEventServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcUserEventServiceStub, using the given settings.
|
protected |
GrpcUserEventServiceStub(UserEventServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcUserEventServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
com.google.api.gax.rpc.UnaryCallable<CollectUserEventRequest,com.google.api.HttpBody> |
collectUserEventCallable() |
static GrpcUserEventServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcUserEventServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcUserEventServiceStub |
create(UserEventServiceStubSettings settings) |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<ImportUserEventsRequest,com.google.longrunning.Operation> |
importUserEventsCallable() |
com.google.api.gax.rpc.OperationCallable<ImportUserEventsRequest,ImportUserEventsResponse,ImportUserEventsMetadata> |
importUserEventsOperationCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<WriteUserEventRequest,UserEvent> |
writeUserEventCallable() |
getHttpJsonOperationsStubprotected GrpcUserEventServiceStub(UserEventServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcUserEventServiceStub(UserEventServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcUserEventServiceStub create(UserEventServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcUserEventServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcUserEventServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class UserEventServiceStubpublic com.google.api.gax.rpc.UnaryCallable<WriteUserEventRequest,UserEvent> writeUserEventCallable()
writeUserEventCallable in class UserEventServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CollectUserEventRequest,com.google.api.HttpBody> collectUserEventCallable()
collectUserEventCallable in class UserEventServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ImportUserEventsRequest,com.google.longrunning.Operation> importUserEventsCallable()
importUserEventsCallable in class UserEventServiceStubpublic com.google.api.gax.rpc.OperationCallable<ImportUserEventsRequest,ImportUserEventsResponse,ImportUserEventsMetadata> importUserEventsOperationCallable()
importUserEventsOperationCallable in class UserEventServiceStubpublic final void close()
close in interface AutoCloseableclose in class UserEventServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.