Class SpecialistPoolServiceGrpc.SpecialistPoolServiceStub (3.50.0)

public static final class SpecialistPoolServiceGrpc.SpecialistPoolServiceStub extends AbstractAsyncStub<SpecialistPoolServiceGrpc.SpecialistPoolServiceStub>

A stub to allow clients to do asynchronous rpc calls to service SpecialistPoolService.

A service for creating and managing Customer SpecialistPools. When customers start Data Labeling jobs, they can reuse/create Specialist Pools to bring their own Specialists to label the data. Customers can add/remove Managers for the Specialist Pool on Cloud console, then Managers will get email notifications to manage Specialists and tasks on CrowdCompute console.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SpecialistPoolServiceGrpc.SpecialistPoolServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected SpecialistPoolServiceGrpc.SpecialistPoolServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
SpecialistPoolServiceGrpc.SpecialistPoolServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createSpecialistPool(CreateSpecialistPoolRequest request, StreamObserver<Operation> responseObserver)

public void createSpecialistPool(CreateSpecialistPoolRequest request, StreamObserver<Operation> responseObserver)

Creates a SpecialistPool.

Parameters
Name Description
request CreateSpecialistPoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteSpecialistPool(DeleteSpecialistPoolRequest request, StreamObserver<Operation> responseObserver)

public void deleteSpecialistPool(DeleteSpecialistPoolRequest request, StreamObserver<Operation> responseObserver)

Deletes a SpecialistPool as well as all Specialists in the pool.

Parameters
Name Description
request DeleteSpecialistPoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getSpecialistPool(GetSpecialistPoolRequest request, StreamObserver<SpecialistPool> responseObserver)

public void getSpecialistPool(GetSpecialistPoolRequest request, StreamObserver<SpecialistPool> responseObserver)

Gets a SpecialistPool.

Parameters
Name Description
request GetSpecialistPoolRequest
responseObserver io.grpc.stub.StreamObserver<SpecialistPool>

listSpecialistPools(ListSpecialistPoolsRequest request, StreamObserver<ListSpecialistPoolsResponse> responseObserver)

public void listSpecialistPools(ListSpecialistPoolsRequest request, StreamObserver<ListSpecialistPoolsResponse> responseObserver)

Lists SpecialistPools in a Location.

Parameters
Name Description
request ListSpecialistPoolsRequest
responseObserver io.grpc.stub.StreamObserver<ListSpecialistPoolsResponse>

updateSpecialistPool(UpdateSpecialistPoolRequest request, StreamObserver<Operation> responseObserver)

public void updateSpecialistPool(UpdateSpecialistPoolRequest request, StreamObserver<Operation> responseObserver)

Updates a SpecialistPool.

Parameters
Name Description
request UpdateSpecialistPoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>