Class GrpcUserEventServiceStub
java.lang.Object
com.google.cloud.retail.v2alpha.stub.UserEventServiceStub
com.google.cloud.retail.v2alpha.stub.GrpcUserEventServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcUserEventServiceStub
extends UserEventServiceStub
gRPC stub implementation for the UserEventService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcUserEventServiceStub, using the given settings.protectedGrpcUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcUserEventServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcUserEventServiceStubcreate(ClientContext clientContext) static final GrpcUserEventServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcUserEventServiceStubcreate(UserEventServiceStubSettings settings) booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.retail.v2alpha.stub.UserEventServiceStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcUserEventServiceStub
protected GrpcUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcUserEventServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcUserEventServiceStub
protected GrpcUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcUserEventServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcUserEventServiceStub create(UserEventServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcUserEventServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classUserEventServiceStub
-
writeUserEventCallable
- Overrides:
writeUserEventCallablein classUserEventServiceStub
-
collectUserEventCallable
- Overrides:
collectUserEventCallablein classUserEventServiceStub
-
purgeUserEventsCallable
- Overrides:
purgeUserEventsCallablein classUserEventServiceStub
-
purgeUserEventsOperationCallable
public OperationCallable<PurgeUserEventsRequest,PurgeUserEventsResponse, purgeUserEventsOperationCallable()PurgeMetadata> - Overrides:
purgeUserEventsOperationCallablein classUserEventServiceStub
-
importUserEventsCallable
- Overrides:
importUserEventsCallablein classUserEventServiceStub
-
importUserEventsOperationCallable
public OperationCallable<ImportUserEventsRequest,ImportUserEventsResponse, importUserEventsOperationCallable()ImportMetadata> - Overrides:
importUserEventsOperationCallablein classUserEventServiceStub
-
exportUserEventsCallable
- Overrides:
exportUserEventsCallablein classUserEventServiceStub
-
exportUserEventsOperationCallable
public OperationCallable<ExportUserEventsRequest,ExportUserEventsResponse, exportUserEventsOperationCallable()ExportMetadata> - Overrides:
exportUserEventsOperationCallablein classUserEventServiceStub
-
rejoinUserEventsCallable
- Overrides:
rejoinUserEventsCallablein classUserEventServiceStub
-
rejoinUserEventsOperationCallable
public OperationCallable<RejoinUserEventsRequest,RejoinUserEventsResponse, rejoinUserEventsOperationCallable()RejoinUserEventsMetadata> - Overrides:
rejoinUserEventsOperationCallablein classUserEventServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classUserEventServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-