Class GrpcUserEventServiceStub (2.43.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcUserEventServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcUserEventServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcUserEventServiceStub
Exceptions
TypeDescription
IOException

create(UserEventServiceStubSettings settings)

public static final GrpcUserEventServiceStub create(UserEventServiceStubSettings settings)
Parameter
NameDescription
settingsUserEventServiceStubSettings
Returns
TypeDescription
GrpcUserEventServiceStub
Exceptions
TypeDescription
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
NameDescription
settingsUserEventServiceStubSettings
clientContextClientContext

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
NameDescription
settingsUserEventServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

collectUserEventCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

importUserEventsCallable()

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

importUserEventsOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

purgeUserEventsCallable()

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

purgeUserEventsOperationCallable()

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

rejoinUserEventsCallable()

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

rejoinUserEventsOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

writeUserEventCallable()

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