Class SpecialistPoolServiceGrpc.SpecialistPoolServiceStub (3.4.1)

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

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateSpecialistPoolRequest
responseObserverio.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
NameDescription
requestDeleteSpecialistPoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getSpecialistPool(GetSpecialistPoolRequest request, StreamObserver<SpecialistPool> responseObserver)

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

Gets a SpecialistPool.

Parameters
NameDescription
requestGetSpecialistPoolRequest
responseObserverio.grpc.stub.StreamObserver<SpecialistPool>

listSpecialistPools(ListSpecialistPoolsRequest request, StreamObserver<ListSpecialistPoolsResponse> responseObserver)

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

Lists SpecialistPools in a Location.

Parameters
NameDescription
requestListSpecialistPoolsRequest
responseObserverio.grpc.stub.StreamObserver<ListSpecialistPoolsResponse>

updateSpecialistPool(UpdateSpecialistPoolRequest request, StreamObserver<Operation> responseObserver)

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

Updates a SpecialistPool.

Parameters
NameDescription
requestUpdateSpecialistPoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>