Class UserEventServiceGrpc (0.41.0)

public final class UserEventServiceGrpc

Service for ingesting end user actions on a website to Discovery Engine API.

Inheritance

java.lang.Object > UserEventServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(UserEventServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(UserEventServiceGrpc.AsyncService service)
Parameter
Name Description
service UserEventServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCollectUserEventMethod()

public static MethodDescriptor<CollectUserEventRequest,HttpBody> getCollectUserEventMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CollectUserEventRequest,com.google.api.HttpBody>

getImportUserEventsMethod()

public static MethodDescriptor<ImportUserEventsRequest,Operation> getImportUserEventsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ImportUserEventsRequest,Operation>

getPurgeUserEventsMethod()

public static MethodDescriptor<PurgeUserEventsRequest,Operation> getPurgeUserEventsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<PurgeUserEventsRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getWriteUserEventMethod()

public static MethodDescriptor<WriteUserEventRequest,UserEvent> getWriteUserEventMethod()
Returns
Type Description
io.grpc.MethodDescriptor<WriteUserEventRequest,UserEvent>

newBlockingStub(Channel channel)

public static UserEventServiceGrpc.UserEventServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
UserEventServiceGrpc.UserEventServiceBlockingStub

newFutureStub(Channel channel)

public static UserEventServiceGrpc.UserEventServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
UserEventServiceGrpc.UserEventServiceFutureStub

newStub(Channel channel)

public static UserEventServiceGrpc.UserEventServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
UserEventServiceGrpc.UserEventServiceStub