Package com.google.cloud.retail.v2.stub
Class HttpJsonUserEventServiceStub
java.lang.Object
com.google.cloud.retail.v2.stub.UserEventServiceStub
com.google.cloud.retail.v2.stub.HttpJsonUserEventServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonUserEventServiceStub
extends UserEventServiceStub
REST stub implementation for the UserEventService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonUserEventServiceStub, using the given settings.protectedHttpJsonUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonUserEventServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonUserEventServiceStubcreate(ClientContext clientContext) static final HttpJsonUserEventServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonUserEventServiceStubcreate(UserEventServiceStubSettings settings) static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.retail.v2.stub.UserEventServiceStub
getOperationsStub
-
Constructor Details
-
HttpJsonUserEventServiceStub
protected HttpJsonUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonUserEventServiceStub, 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
-
HttpJsonUserEventServiceStub
protected HttpJsonUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonUserEventServiceStub, 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 HttpJsonUserEventServiceStub create(UserEventServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonUserEventServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonUserEventServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin 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
-
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
-