public class GrpcJobControllerStub extends JobControllerStub
gRPC stub implementation for the JobController service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcJobControllerStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcJobControllerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(JobControllerStubSettings settings)
public static final GrpcJobControllerStub create(JobControllerStubSettings settings)
Constructors
GrpcJobControllerStub(JobControllerStubSettings settings, ClientContext clientContext)
protected GrpcJobControllerStub(JobControllerStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcJobControllerStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcJobControllerStub(JobControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcJobControllerStub(JobControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcJobControllerStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
cancelJobCallable()
public UnaryCallable<CancelJobRequest,Job> cancelJobCallable()
Overrides
close()
public final void close()
Overrides
deleteJobCallable()
public UnaryCallable<DeleteJobRequest,Empty> deleteJobCallable()
Overrides
getJobCallable()
public UnaryCallable<GetJobRequest,Job> getJobCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listJobsCallable()
public UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
Overrides
listJobsPagedCallable()
public UnaryCallable<ListJobsRequest,JobControllerClient.ListJobsPagedResponse> listJobsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
submitJobAsOperationCallable()
public UnaryCallable<SubmitJobRequest,Operation> submitJobAsOperationCallable()
Overrides
submitJobAsOperationOperationCallable()
public OperationCallable<SubmitJobRequest,Job,JobMetadata> submitJobAsOperationOperationCallable()
Overrides
submitJobCallable()
public UnaryCallable<SubmitJobRequest,Job> submitJobCallable()
Overrides
updateJobCallable()
public UnaryCallable<UpdateJobRequest,Job> updateJobCallable()
Overrides