Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class GrpcJobServiceStub extends JobServiceStub
gRPC stub implementation for the JobService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcJobServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcJobServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcJobServiceStub create(JobServiceStubSettings settings)
Constructors
GrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext)
protected GrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcJobServiceStub, 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.
GrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcJobServiceStub, 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
public boolean awaitTermination(long duration, TimeUnit unit)
public UnaryCallable<CancelBatchPredictionJobRequest,Empty> cancelBatchPredictionJobCallable()
Overrides
public UnaryCallable<CancelCustomJobRequest,Empty> cancelCustomJobCallable()
Overrides
public UnaryCallable<CancelDataLabelingJobRequest,Empty> cancelDataLabelingJobCallable()
Overrides
public UnaryCallable<CancelHyperparameterTuningJobRequest,Empty> cancelHyperparameterTuningJobCallable()
Overrides
public UnaryCallable<CancelNasJobRequest,Empty> cancelNasJobCallable()
Overrides
public final void close()
Overrides
public UnaryCallable<CreateBatchPredictionJobRequest,BatchPredictionJob> createBatchPredictionJobCallable()
Overrides
public UnaryCallable<CreateCustomJobRequest,CustomJob> createCustomJobCallable()
Overrides
public UnaryCallable<CreateDataLabelingJobRequest,DataLabelingJob> createDataLabelingJobCallable()
Overrides
public UnaryCallable<CreateHyperparameterTuningJobRequest,HyperparameterTuningJob> createHyperparameterTuningJobCallable()
Overrides
public UnaryCallable<CreateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> createModelDeploymentMonitoringJobCallable()
Overrides
public UnaryCallable<CreateNasJobRequest,NasJob> createNasJobCallable()
Overrides
public UnaryCallable<DeleteBatchPredictionJobRequest,Operation> deleteBatchPredictionJobCallable()
Overrides
public OperationCallable<DeleteBatchPredictionJobRequest,Empty,DeleteOperationMetadata> deleteBatchPredictionJobOperationCallable()
Overrides
public UnaryCallable<DeleteCustomJobRequest,Operation> deleteCustomJobCallable()
Overrides
public OperationCallable<DeleteCustomJobRequest,Empty,DeleteOperationMetadata> deleteCustomJobOperationCallable()
Overrides
public UnaryCallable<DeleteDataLabelingJobRequest,Operation> deleteDataLabelingJobCallable()
Overrides
public OperationCallable<DeleteDataLabelingJobRequest,Empty,DeleteOperationMetadata> deleteDataLabelingJobOperationCallable()
Overrides
public UnaryCallable<DeleteHyperparameterTuningJobRequest,Operation> deleteHyperparameterTuningJobCallable()
Overrides
public OperationCallable<DeleteHyperparameterTuningJobRequest,Empty,DeleteOperationMetadata> deleteHyperparameterTuningJobOperationCallable()
Overrides
public UnaryCallable<DeleteModelDeploymentMonitoringJobRequest,Operation> deleteModelDeploymentMonitoringJobCallable()
Overrides
public OperationCallable<DeleteModelDeploymentMonitoringJobRequest,Empty,DeleteOperationMetadata> deleteModelDeploymentMonitoringJobOperationCallable()
Overrides
public UnaryCallable<DeleteNasJobRequest,Operation> deleteNasJobCallable()
Overrides
public OperationCallable<DeleteNasJobRequest,Empty,DeleteOperationMetadata> deleteNasJobOperationCallable()
Overrides
public UnaryCallable<GetBatchPredictionJobRequest,BatchPredictionJob> getBatchPredictionJobCallable()
Overrides
public UnaryCallable<GetCustomJobRequest,CustomJob> getCustomJobCallable()
Overrides
public UnaryCallable<GetDataLabelingJobRequest,DataLabelingJob> getDataLabelingJobCallable()
Overrides
public UnaryCallable<GetHyperparameterTuningJobRequest,HyperparameterTuningJob> getHyperparameterTuningJobCallable()
Overrides
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns Type Description UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns Type Description UnaryCallable <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
Overrides
public UnaryCallable<GetModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> getModelDeploymentMonitoringJobCallable()
Overrides
public UnaryCallable<GetNasJobRequest,NasJob> getNasJobCallable()
Overrides
public UnaryCallable<GetNasTrialDetailRequest,NasTrialDetail> getNasTrialDetailCallable()
Overrides
public GrpcOperationsStub getOperationsStub()
Overrides
public boolean isShutdown()
public boolean isTerminated()
public UnaryCallable<ListBatchPredictionJobsRequest,ListBatchPredictionJobsResponse> listBatchPredictionJobsCallable()
Overrides
listBatchPredictionJobsPagedCallable()
public UnaryCallable<ListBatchPredictionJobsRequest,JobServiceClient.ListBatchPredictionJobsPagedResponse> listBatchPredictionJobsPagedCallable()
Overrides
public UnaryCallable<ListCustomJobsRequest,ListCustomJobsResponse> listCustomJobsCallable()
Overrides
listCustomJobsPagedCallable()
public UnaryCallable<ListCustomJobsRequest,JobServiceClient.ListCustomJobsPagedResponse> listCustomJobsPagedCallable()
Overrides
public UnaryCallable<ListDataLabelingJobsRequest,ListDataLabelingJobsResponse> listDataLabelingJobsCallable()
Overrides
listDataLabelingJobsPagedCallable()
public UnaryCallable<ListDataLabelingJobsRequest,JobServiceClient.ListDataLabelingJobsPagedResponse> listDataLabelingJobsPagedCallable()
Overrides
public UnaryCallable<ListHyperparameterTuningJobsRequest,ListHyperparameterTuningJobsResponse> listHyperparameterTuningJobsCallable()
Overrides
listHyperparameterTuningJobsPagedCallable()
public UnaryCallable<ListHyperparameterTuningJobsRequest,JobServiceClient.ListHyperparameterTuningJobsPagedResponse> listHyperparameterTuningJobsPagedCallable()
Overrides
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns Type Description UnaryCallable <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse >
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,JobServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
public UnaryCallable<ListModelDeploymentMonitoringJobsRequest,ListModelDeploymentMonitoringJobsResponse> listModelDeploymentMonitoringJobsCallable()
Overrides
listModelDeploymentMonitoringJobsPagedCallable()
public UnaryCallable<ListModelDeploymentMonitoringJobsRequest,JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse> listModelDeploymentMonitoringJobsPagedCallable()
Overrides
public UnaryCallable<ListNasJobsRequest,ListNasJobsResponse> listNasJobsCallable()
Overrides
listNasJobsPagedCallable()
public UnaryCallable<ListNasJobsRequest,JobServiceClient.ListNasJobsPagedResponse> listNasJobsPagedCallable()
Overrides
public UnaryCallable<ListNasTrialDetailsRequest,ListNasTrialDetailsResponse> listNasTrialDetailsCallable()
Overrides
listNasTrialDetailsPagedCallable()
public UnaryCallable<ListNasTrialDetailsRequest,JobServiceClient.ListNasTrialDetailsPagedResponse> listNasTrialDetailsPagedCallable()
Overrides
public UnaryCallable<PauseModelDeploymentMonitoringJobRequest,Empty> pauseModelDeploymentMonitoringJobCallable()
Overrides
public UnaryCallable<ResumeModelDeploymentMonitoringJobRequest,Empty> resumeModelDeploymentMonitoringJobCallable()
Overrides
public UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesResponse> searchModelDeploymentMonitoringStatsAnomaliesCallable()
Overrides
searchModelDeploymentMonitoringStatsAnomaliesPagedCallable()
public UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest,JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse> searchModelDeploymentMonitoringStatsAnomaliesPagedCallable()
Overrides
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns Type Description UnaryCallable <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
public void shutdownNow()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns Type Description UnaryCallable <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
Overrides
public UnaryCallable<UpdateModelDeploymentMonitoringJobRequest,Operation> updateModelDeploymentMonitoringJobCallable()
Overrides
public OperationCallable<UpdateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob,UpdateModelDeploymentMonitoringJobOperationMetadata> updateModelDeploymentMonitoringJobOperationCallable()
Overrides