Class HttpJsonUserEventServiceStub (2.47.0)

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.

Inheritance

java.lang.Object > UserEventServiceStub > HttpJsonUserEventServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonUserEventServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonUserEventServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonUserEventServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonUserEventServiceStub
Exceptions
Type Description
IOException

create(UserEventServiceStubSettings settings)

public static final HttpJsonUserEventServiceStub create(UserEventServiceStubSettings settings)
Parameter
Name Description
settings UserEventServiceStubSettings
Returns
Type Description
HttpJsonUserEventServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext)

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.

Parameters
Name Description
settings UserEventServiceStubSettings
clientContext ClientContext

HttpJsonUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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.

Parameters
Name Description
settings UserEventServiceStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

collectUserEventCallable()

public UnaryCallable<CollectUserEventRequest,HttpBody> collectUserEventCallable()
Returns
Type Description
UnaryCallable<CollectUserEventRequest,com.google.api.HttpBody>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

importUserEventsCallable()

public UnaryCallable<ImportUserEventsRequest,Operation> importUserEventsCallable()
Returns
Type Description
UnaryCallable<ImportUserEventsRequest,Operation>
Overrides

importUserEventsOperationCallable()

public OperationCallable<ImportUserEventsRequest,ImportUserEventsResponse,ImportMetadata> importUserEventsOperationCallable()
Returns
Type Description
OperationCallable<ImportUserEventsRequest,ImportUserEventsResponse,ImportMetadata>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

purgeUserEventsCallable()

public UnaryCallable<PurgeUserEventsRequest,Operation> purgeUserEventsCallable()
Returns
Type Description
UnaryCallable<PurgeUserEventsRequest,Operation>
Overrides

purgeUserEventsOperationCallable()

public OperationCallable<PurgeUserEventsRequest,PurgeUserEventsResponse,PurgeMetadata> purgeUserEventsOperationCallable()
Returns
Type Description
OperationCallable<PurgeUserEventsRequest,PurgeUserEventsResponse,PurgeMetadata>
Overrides

rejoinUserEventsCallable()

public UnaryCallable<RejoinUserEventsRequest,Operation> rejoinUserEventsCallable()
Returns
Type Description
UnaryCallable<RejoinUserEventsRequest,Operation>
Overrides

rejoinUserEventsOperationCallable()

public OperationCallable<RejoinUserEventsRequest,RejoinUserEventsResponse,RejoinUserEventsMetadata> rejoinUserEventsOperationCallable()
Returns
Type Description
OperationCallable<RejoinUserEventsRequest,RejoinUserEventsResponse,RejoinUserEventsMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

writeUserEventCallable()

public UnaryCallable<WriteUserEventRequest,UserEvent> writeUserEventCallable()
Returns
Type Description
UnaryCallable<WriteUserEventRequest,UserEvent>
Overrides