Class GrpcUserEventServiceStub (0.44.0)

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.

Inheritance

java.lang.Object > UserEventServiceStub > GrpcUserEventServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(UserEventServiceStubSettings settings)

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

Constructors

GrpcUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext)

protected GrpcUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext)

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.

Parameters
Name Description
settings UserEventServiceStubSettings
clientContext ClientContext

GrpcUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcUserEventServiceStub(UserEventServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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.

Parameters
Name Description
settings UserEventServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

importUserEventsCallable()

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

importUserEventsOperationCallable()

public OperationCallable<ImportUserEventsRequest,ImportUserEventsResponse,ImportUserEventsMetadata> importUserEventsOperationCallable()
Returns
Type Description
OperationCallable<ImportUserEventsRequest,ImportUserEventsResponse,ImportUserEventsMetadata>
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,PurgeUserEventsMetadata> purgeUserEventsOperationCallable()
Returns
Type Description
OperationCallable<PurgeUserEventsRequest,PurgeUserEventsResponse,PurgeUserEventsMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

writeUserEventCallable()

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