Class SearchTuningServiceGrpc (0.51.0)

public final class SearchTuningServiceGrpc

Service for search tuning.

Inheritance

java.lang.Object > SearchTuningServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(SearchTuningServiceGrpc.AsyncService service)

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

getListCustomModelsMethod()

public static MethodDescriptor<ListCustomModelsRequest,ListCustomModelsResponse> getListCustomModelsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListCustomModelsRequest,ListCustomModelsResponse>

getServiceDescriptor()

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

getTrainCustomModelMethod()

public static MethodDescriptor<TrainCustomModelRequest,Operation> getTrainCustomModelMethod()
Returns
Type Description
io.grpc.MethodDescriptor<TrainCustomModelRequest,Operation>

newBlockingStub(Channel channel)

public static SearchTuningServiceGrpc.SearchTuningServiceBlockingStub 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
SearchTuningServiceGrpc.SearchTuningServiceBlockingStub

newFutureStub(Channel channel)

public static SearchTuningServiceGrpc.SearchTuningServiceFutureStub 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
SearchTuningServiceGrpc.SearchTuningServiceFutureStub

newStub(Channel channel)

public static SearchTuningServiceGrpc.SearchTuningServiceStub 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
SearchTuningServiceGrpc.SearchTuningServiceStub