Class UserEventServiceGrpc (0.35.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
TypeDescription
String

Static Methods

bindService(UserEventServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(UserEventServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceUserEventServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCollectUserEventMethod()

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

getImportUserEventsMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getWriteUserEventMethod()

public static MethodDescriptor<WriteUserEventRequest,UserEvent> getWriteUserEventMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
UserEventServiceGrpc.UserEventServiceStub