Class GrpcJobServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.JobServiceStub
com.google.cloud.aiplatform.v1beta1.stub.GrpcJobServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcJobServiceStub, using the given settings.protectedGrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcJobServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) UnaryCallable<CancelBatchPredictionJobRequest,com.google.protobuf.Empty> UnaryCallable<CancelCustomJobRequest,com.google.protobuf.Empty> UnaryCallable<CancelDataLabelingJobRequest,com.google.protobuf.Empty> UnaryCallable<CancelHyperparameterTuningJobRequest,com.google.protobuf.Empty> UnaryCallable<CancelNasJobRequest,com.google.protobuf.Empty> final voidclose()static final GrpcJobServiceStubcreate(ClientContext clientContext) static final GrpcJobServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcJobServiceStubcreate(JobServiceStubSettings settings) OperationCallable<DeleteBatchPredictionJobRequest,com.google.protobuf.Empty, DeleteOperationMetadata> OperationCallable<DeleteCustomJobRequest,com.google.protobuf.Empty, DeleteOperationMetadata> OperationCallable<DeleteDataLabelingJobRequest,com.google.protobuf.Empty, DeleteOperationMetadata> OperationCallable<DeleteHyperparameterTuningJobRequest,com.google.protobuf.Empty, DeleteOperationMetadata> OperationCallable<DeleteModelDeploymentMonitoringJobRequest,com.google.protobuf.Empty, DeleteOperationMetadata> OperationCallable<DeleteNasJobRequest,com.google.protobuf.Empty, DeleteOperationMetadata> booleanbooleanUnaryCallable<ListHyperparameterTuningJobsRequest,JobServiceClient.ListHyperparameterTuningJobsPagedResponse> UnaryCallable<ListModelDeploymentMonitoringJobsRequest,JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse> UnaryCallable<PauseModelDeploymentMonitoringJobRequest,com.google.protobuf.Empty> UnaryCallable<ResumeModelDeploymentMonitoringJobRequest,com.google.protobuf.Empty> UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesResponse> UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest,JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse> voidshutdown()voidOperationCallable<UpdateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata>
-
Constructor Details
-
GrpcJobServiceStub
protected GrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
GrpcJobServiceStub
protected GrpcJobServiceStub(JobServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
- Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcJobServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classJobServiceStub
-
createCustomJobCallable
- Overrides:
createCustomJobCallablein classJobServiceStub
-
getCustomJobCallable
- Overrides:
getCustomJobCallablein classJobServiceStub
-
listCustomJobsCallable
- Overrides:
listCustomJobsCallablein classJobServiceStub
-
listCustomJobsPagedCallable
public UnaryCallable<ListCustomJobsRequest,JobServiceClient.ListCustomJobsPagedResponse> listCustomJobsPagedCallable()- Overrides:
listCustomJobsPagedCallablein classJobServiceStub
-
deleteCustomJobCallable
- Overrides:
deleteCustomJobCallablein classJobServiceStub
-
deleteCustomJobOperationCallable
public OperationCallable<DeleteCustomJobRequest,com.google.protobuf.Empty, deleteCustomJobOperationCallable()DeleteOperationMetadata> - Overrides:
deleteCustomJobOperationCallablein classJobServiceStub
-
cancelCustomJobCallable
- Overrides:
cancelCustomJobCallablein classJobServiceStub
-
createDataLabelingJobCallable
- Overrides:
createDataLabelingJobCallablein classJobServiceStub
-
getDataLabelingJobCallable
- Overrides:
getDataLabelingJobCallablein classJobServiceStub
-
listDataLabelingJobsCallable
public UnaryCallable<ListDataLabelingJobsRequest,ListDataLabelingJobsResponse> listDataLabelingJobsCallable()- Overrides:
listDataLabelingJobsCallablein classJobServiceStub
-
listDataLabelingJobsPagedCallable
public UnaryCallable<ListDataLabelingJobsRequest,JobServiceClient.ListDataLabelingJobsPagedResponse> listDataLabelingJobsPagedCallable()- Overrides:
listDataLabelingJobsPagedCallablein classJobServiceStub
-
deleteDataLabelingJobCallable
- Overrides:
deleteDataLabelingJobCallablein classJobServiceStub
-
deleteDataLabelingJobOperationCallable
public OperationCallable<DeleteDataLabelingJobRequest,com.google.protobuf.Empty, deleteDataLabelingJobOperationCallable()DeleteOperationMetadata> - Overrides:
deleteDataLabelingJobOperationCallablein classJobServiceStub
-
cancelDataLabelingJobCallable
public UnaryCallable<CancelDataLabelingJobRequest,com.google.protobuf.Empty> cancelDataLabelingJobCallable()- Overrides:
cancelDataLabelingJobCallablein classJobServiceStub
-
createHyperparameterTuningJobCallable
public UnaryCallable<CreateHyperparameterTuningJobRequest,HyperparameterTuningJob> createHyperparameterTuningJobCallable()- Overrides:
createHyperparameterTuningJobCallablein classJobServiceStub
-
getHyperparameterTuningJobCallable
public UnaryCallable<GetHyperparameterTuningJobRequest,HyperparameterTuningJob> getHyperparameterTuningJobCallable()- Overrides:
getHyperparameterTuningJobCallablein classJobServiceStub
-
listHyperparameterTuningJobsCallable
public UnaryCallable<ListHyperparameterTuningJobsRequest,ListHyperparameterTuningJobsResponse> listHyperparameterTuningJobsCallable()- Overrides:
listHyperparameterTuningJobsCallablein classJobServiceStub
-
listHyperparameterTuningJobsPagedCallable
public UnaryCallable<ListHyperparameterTuningJobsRequest,JobServiceClient.ListHyperparameterTuningJobsPagedResponse> listHyperparameterTuningJobsPagedCallable()- Overrides:
listHyperparameterTuningJobsPagedCallablein classJobServiceStub
-
deleteHyperparameterTuningJobCallable
public UnaryCallable<DeleteHyperparameterTuningJobRequest,Operation> deleteHyperparameterTuningJobCallable()- Overrides:
deleteHyperparameterTuningJobCallablein classJobServiceStub
-
deleteHyperparameterTuningJobOperationCallable
public OperationCallable<DeleteHyperparameterTuningJobRequest,com.google.protobuf.Empty, deleteHyperparameterTuningJobOperationCallable()DeleteOperationMetadata> - Overrides:
deleteHyperparameterTuningJobOperationCallablein classJobServiceStub
-
cancelHyperparameterTuningJobCallable
public UnaryCallable<CancelHyperparameterTuningJobRequest,com.google.protobuf.Empty> cancelHyperparameterTuningJobCallable()- Overrides:
cancelHyperparameterTuningJobCallablein classJobServiceStub
-
createNasJobCallable
- Overrides:
createNasJobCallablein classJobServiceStub
-
getNasJobCallable
- Overrides:
getNasJobCallablein classJobServiceStub
-
listNasJobsCallable
- Overrides:
listNasJobsCallablein classJobServiceStub
-
listNasJobsPagedCallable
public UnaryCallable<ListNasJobsRequest,JobServiceClient.ListNasJobsPagedResponse> listNasJobsPagedCallable()- Overrides:
listNasJobsPagedCallablein classJobServiceStub
-
deleteNasJobCallable
- Overrides:
deleteNasJobCallablein classJobServiceStub
-
deleteNasJobOperationCallable
public OperationCallable<DeleteNasJobRequest,com.google.protobuf.Empty, deleteNasJobOperationCallable()DeleteOperationMetadata> - Overrides:
deleteNasJobOperationCallablein classJobServiceStub
-
cancelNasJobCallable
- Overrides:
cancelNasJobCallablein classJobServiceStub
-
getNasTrialDetailCallable
- Overrides:
getNasTrialDetailCallablein classJobServiceStub
-
listNasTrialDetailsCallable
public UnaryCallable<ListNasTrialDetailsRequest,ListNasTrialDetailsResponse> listNasTrialDetailsCallable()- Overrides:
listNasTrialDetailsCallablein classJobServiceStub
-
listNasTrialDetailsPagedCallable
public UnaryCallable<ListNasTrialDetailsRequest,JobServiceClient.ListNasTrialDetailsPagedResponse> listNasTrialDetailsPagedCallable()- Overrides:
listNasTrialDetailsPagedCallablein classJobServiceStub
-
createBatchPredictionJobCallable
public UnaryCallable<CreateBatchPredictionJobRequest,BatchPredictionJob> createBatchPredictionJobCallable()- Overrides:
createBatchPredictionJobCallablein classJobServiceStub
-
getBatchPredictionJobCallable
public UnaryCallable<GetBatchPredictionJobRequest,BatchPredictionJob> getBatchPredictionJobCallable()- Overrides:
getBatchPredictionJobCallablein classJobServiceStub
-
listBatchPredictionJobsCallable
public UnaryCallable<ListBatchPredictionJobsRequest,ListBatchPredictionJobsResponse> listBatchPredictionJobsCallable()- Overrides:
listBatchPredictionJobsCallablein classJobServiceStub
-
listBatchPredictionJobsPagedCallable
public UnaryCallable<ListBatchPredictionJobsRequest,JobServiceClient.ListBatchPredictionJobsPagedResponse> listBatchPredictionJobsPagedCallable()- Overrides:
listBatchPredictionJobsPagedCallablein classJobServiceStub
-
deleteBatchPredictionJobCallable
- Overrides:
deleteBatchPredictionJobCallablein classJobServiceStub
-
deleteBatchPredictionJobOperationCallable
public OperationCallable<DeleteBatchPredictionJobRequest,com.google.protobuf.Empty, deleteBatchPredictionJobOperationCallable()DeleteOperationMetadata> - Overrides:
deleteBatchPredictionJobOperationCallablein classJobServiceStub
-
cancelBatchPredictionJobCallable
public UnaryCallable<CancelBatchPredictionJobRequest,com.google.protobuf.Empty> cancelBatchPredictionJobCallable()- Overrides:
cancelBatchPredictionJobCallablein classJobServiceStub
-
createModelDeploymentMonitoringJobCallable
public UnaryCallable<CreateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> createModelDeploymentMonitoringJobCallable()- Overrides:
createModelDeploymentMonitoringJobCallablein classJobServiceStub
-
searchModelDeploymentMonitoringStatsAnomaliesCallable
public UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesResponse> searchModelDeploymentMonitoringStatsAnomaliesCallable()- Overrides:
searchModelDeploymentMonitoringStatsAnomaliesCallablein classJobServiceStub
-
searchModelDeploymentMonitoringStatsAnomaliesPagedCallable
public UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest,JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse> searchModelDeploymentMonitoringStatsAnomaliesPagedCallable()- Overrides:
searchModelDeploymentMonitoringStatsAnomaliesPagedCallablein classJobServiceStub
-
getModelDeploymentMonitoringJobCallable
public UnaryCallable<GetModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> getModelDeploymentMonitoringJobCallable()- Overrides:
getModelDeploymentMonitoringJobCallablein classJobServiceStub
-
listModelDeploymentMonitoringJobsCallable
public UnaryCallable<ListModelDeploymentMonitoringJobsRequest,ListModelDeploymentMonitoringJobsResponse> listModelDeploymentMonitoringJobsCallable()- Overrides:
listModelDeploymentMonitoringJobsCallablein classJobServiceStub
-
listModelDeploymentMonitoringJobsPagedCallable
public UnaryCallable<ListModelDeploymentMonitoringJobsRequest,JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse> listModelDeploymentMonitoringJobsPagedCallable()- Overrides:
listModelDeploymentMonitoringJobsPagedCallablein classJobServiceStub
-
updateModelDeploymentMonitoringJobCallable
public UnaryCallable<UpdateModelDeploymentMonitoringJobRequest,Operation> updateModelDeploymentMonitoringJobCallable()- Overrides:
updateModelDeploymentMonitoringJobCallablein classJobServiceStub
-
updateModelDeploymentMonitoringJobOperationCallable
public OperationCallable<UpdateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob, updateModelDeploymentMonitoringJobOperationCallable()UpdateModelDeploymentMonitoringJobOperationMetadata> - Overrides:
updateModelDeploymentMonitoringJobOperationCallablein classJobServiceStub
-
deleteModelDeploymentMonitoringJobCallable
public UnaryCallable<DeleteModelDeploymentMonitoringJobRequest,Operation> deleteModelDeploymentMonitoringJobCallable()- Overrides:
deleteModelDeploymentMonitoringJobCallablein classJobServiceStub
-
deleteModelDeploymentMonitoringJobOperationCallable
public OperationCallable<DeleteModelDeploymentMonitoringJobRequest,com.google.protobuf.Empty, deleteModelDeploymentMonitoringJobOperationCallable()DeleteOperationMetadata> - Overrides:
deleteModelDeploymentMonitoringJobOperationCallablein classJobServiceStub
-
pauseModelDeploymentMonitoringJobCallable
public UnaryCallable<PauseModelDeploymentMonitoringJobRequest,com.google.protobuf.Empty> pauseModelDeploymentMonitoringJobCallable()- Overrides:
pauseModelDeploymentMonitoringJobCallablein classJobServiceStub
-
resumeModelDeploymentMonitoringJobCallable
public UnaryCallable<ResumeModelDeploymentMonitoringJobRequest,com.google.protobuf.Empty> resumeModelDeploymentMonitoringJobCallable()- Overrides:
resumeModelDeploymentMonitoringJobCallablein classJobServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classJobServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,JobServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classJobServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classJobServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classJobServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classJobServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classJobServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classJobServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-