Class GrpcJobServiceStub (3.46.0)

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.

Inheritance

java.lang.Object > JobServiceStub > GrpcJobServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcJobServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcJobServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcJobServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcJobServiceStub
Exceptions
Type Description
IOException

create(JobServiceStubSettings settings)

public static final GrpcJobServiceStub create(JobServiceStubSettings settings)
Parameter
Name Description
settings JobServiceStubSettings
Returns
Type Description
GrpcJobServiceStub
Exceptions
Type Description
IOException

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.

Parameters
Name Description
settings JobServiceStubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings JobServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

cancelBatchPredictionJobCallable()

public UnaryCallable<CancelBatchPredictionJobRequest,Empty> cancelBatchPredictionJobCallable()
Returns
Type Description
UnaryCallable<CancelBatchPredictionJobRequest,Empty>
Overrides

cancelCustomJobCallable()

public UnaryCallable<CancelCustomJobRequest,Empty> cancelCustomJobCallable()
Returns
Type Description
UnaryCallable<CancelCustomJobRequest,Empty>
Overrides

cancelDataLabelingJobCallable()

public UnaryCallable<CancelDataLabelingJobRequest,Empty> cancelDataLabelingJobCallable()
Returns
Type Description
UnaryCallable<CancelDataLabelingJobRequest,Empty>
Overrides

cancelHyperparameterTuningJobCallable()

public UnaryCallable<CancelHyperparameterTuningJobRequest,Empty> cancelHyperparameterTuningJobCallable()
Returns
Type Description
UnaryCallable<CancelHyperparameterTuningJobRequest,Empty>
Overrides

cancelNasJobCallable()

public UnaryCallable<CancelNasJobRequest,Empty> cancelNasJobCallable()
Returns
Type Description
UnaryCallable<CancelNasJobRequest,Empty>
Overrides

close()

public final void close()
Overrides

createBatchPredictionJobCallable()

public UnaryCallable<CreateBatchPredictionJobRequest,BatchPredictionJob> createBatchPredictionJobCallable()
Returns
Type Description
UnaryCallable<CreateBatchPredictionJobRequest,BatchPredictionJob>
Overrides

createCustomJobCallable()

public UnaryCallable<CreateCustomJobRequest,CustomJob> createCustomJobCallable()
Returns
Type Description
UnaryCallable<CreateCustomJobRequest,CustomJob>
Overrides

createDataLabelingJobCallable()

public UnaryCallable<CreateDataLabelingJobRequest,DataLabelingJob> createDataLabelingJobCallable()
Returns
Type Description
UnaryCallable<CreateDataLabelingJobRequest,DataLabelingJob>
Overrides

createHyperparameterTuningJobCallable()

public UnaryCallable<CreateHyperparameterTuningJobRequest,HyperparameterTuningJob> createHyperparameterTuningJobCallable()
Returns
Type Description
UnaryCallable<CreateHyperparameterTuningJobRequest,HyperparameterTuningJob>
Overrides

createModelDeploymentMonitoringJobCallable()

public UnaryCallable<CreateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> createModelDeploymentMonitoringJobCallable()
Returns
Type Description
UnaryCallable<CreateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob>
Overrides

createNasJobCallable()

public UnaryCallable<CreateNasJobRequest,NasJob> createNasJobCallable()
Returns
Type Description
UnaryCallable<CreateNasJobRequest,NasJob>
Overrides

deleteBatchPredictionJobCallable()

public UnaryCallable<DeleteBatchPredictionJobRequest,Operation> deleteBatchPredictionJobCallable()
Returns
Type Description
UnaryCallable<DeleteBatchPredictionJobRequest,Operation>
Overrides

deleteBatchPredictionJobOperationCallable()

public OperationCallable<DeleteBatchPredictionJobRequest,Empty,DeleteOperationMetadata> deleteBatchPredictionJobOperationCallable()
Returns
Type Description
OperationCallable<DeleteBatchPredictionJobRequest,Empty,DeleteOperationMetadata>
Overrides

deleteCustomJobCallable()

public UnaryCallable<DeleteCustomJobRequest,Operation> deleteCustomJobCallable()
Returns
Type Description
UnaryCallable<DeleteCustomJobRequest,Operation>
Overrides

deleteCustomJobOperationCallable()

public OperationCallable<DeleteCustomJobRequest,Empty,DeleteOperationMetadata> deleteCustomJobOperationCallable()
Returns
Type Description
OperationCallable<DeleteCustomJobRequest,Empty,DeleteOperationMetadata>
Overrides

deleteDataLabelingJobCallable()

public UnaryCallable<DeleteDataLabelingJobRequest,Operation> deleteDataLabelingJobCallable()
Returns
Type Description
UnaryCallable<DeleteDataLabelingJobRequest,Operation>
Overrides

deleteDataLabelingJobOperationCallable()

public OperationCallable<DeleteDataLabelingJobRequest,Empty,DeleteOperationMetadata> deleteDataLabelingJobOperationCallable()
Returns
Type Description
OperationCallable<DeleteDataLabelingJobRequest,Empty,DeleteOperationMetadata>
Overrides

deleteHyperparameterTuningJobCallable()

public UnaryCallable<DeleteHyperparameterTuningJobRequest,Operation> deleteHyperparameterTuningJobCallable()
Returns
Type Description
UnaryCallable<DeleteHyperparameterTuningJobRequest,Operation>
Overrides

deleteHyperparameterTuningJobOperationCallable()

public OperationCallable<DeleteHyperparameterTuningJobRequest,Empty,DeleteOperationMetadata> deleteHyperparameterTuningJobOperationCallable()
Returns
Type Description
OperationCallable<DeleteHyperparameterTuningJobRequest,Empty,DeleteOperationMetadata>
Overrides

deleteModelDeploymentMonitoringJobCallable()

public UnaryCallable<DeleteModelDeploymentMonitoringJobRequest,Operation> deleteModelDeploymentMonitoringJobCallable()
Returns
Type Description
UnaryCallable<DeleteModelDeploymentMonitoringJobRequest,Operation>
Overrides

deleteModelDeploymentMonitoringJobOperationCallable()

public OperationCallable<DeleteModelDeploymentMonitoringJobRequest,Empty,DeleteOperationMetadata> deleteModelDeploymentMonitoringJobOperationCallable()
Returns
Type Description
OperationCallable<DeleteModelDeploymentMonitoringJobRequest,Empty,DeleteOperationMetadata>
Overrides

deleteNasJobCallable()

public UnaryCallable<DeleteNasJobRequest,Operation> deleteNasJobCallable()
Returns
Type Description
UnaryCallable<DeleteNasJobRequest,Operation>
Overrides

deleteNasJobOperationCallable()

public OperationCallable<DeleteNasJobRequest,Empty,DeleteOperationMetadata> deleteNasJobOperationCallable()
Returns
Type Description
OperationCallable<DeleteNasJobRequest,Empty,DeleteOperationMetadata>
Overrides

getBatchPredictionJobCallable()

public UnaryCallable<GetBatchPredictionJobRequest,BatchPredictionJob> getBatchPredictionJobCallable()
Returns
Type Description
UnaryCallable<GetBatchPredictionJobRequest,BatchPredictionJob>
Overrides

getCustomJobCallable()

public UnaryCallable<GetCustomJobRequest,CustomJob> getCustomJobCallable()
Returns
Type Description
UnaryCallable<GetCustomJobRequest,CustomJob>
Overrides

getDataLabelingJobCallable()

public UnaryCallable<GetDataLabelingJobRequest,DataLabelingJob> getDataLabelingJobCallable()
Returns
Type Description
UnaryCallable<GetDataLabelingJobRequest,DataLabelingJob>
Overrides

getHyperparameterTuningJobCallable()

public UnaryCallable<GetHyperparameterTuningJobRequest,HyperparameterTuningJob> getHyperparameterTuningJobCallable()
Returns
Type Description
UnaryCallable<GetHyperparameterTuningJobRequest,HyperparameterTuningJob>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getModelDeploymentMonitoringJobCallable()

public UnaryCallable<GetModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> getModelDeploymentMonitoringJobCallable()
Returns
Type Description
UnaryCallable<GetModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob>
Overrides

getNasJobCallable()

public UnaryCallable<GetNasJobRequest,NasJob> getNasJobCallable()
Returns
Type Description
UnaryCallable<GetNasJobRequest,NasJob>
Overrides

getNasTrialDetailCallable()

public UnaryCallable<GetNasTrialDetailRequest,NasTrialDetail> getNasTrialDetailCallable()
Returns
Type Description
UnaryCallable<GetNasTrialDetailRequest,NasTrialDetail>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listBatchPredictionJobsCallable()

public UnaryCallable<ListBatchPredictionJobsRequest,ListBatchPredictionJobsResponse> listBatchPredictionJobsCallable()
Returns
Type Description
UnaryCallable<ListBatchPredictionJobsRequest,ListBatchPredictionJobsResponse>
Overrides

listBatchPredictionJobsPagedCallable()

public UnaryCallable<ListBatchPredictionJobsRequest,JobServiceClient.ListBatchPredictionJobsPagedResponse> listBatchPredictionJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListBatchPredictionJobsRequest,ListBatchPredictionJobsPagedResponse>
Overrides

listCustomJobsCallable()

public UnaryCallable<ListCustomJobsRequest,ListCustomJobsResponse> listCustomJobsCallable()
Returns
Type Description
UnaryCallable<ListCustomJobsRequest,ListCustomJobsResponse>
Overrides

listCustomJobsPagedCallable()

public UnaryCallable<ListCustomJobsRequest,JobServiceClient.ListCustomJobsPagedResponse> listCustomJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListCustomJobsRequest,ListCustomJobsPagedResponse>
Overrides

listDataLabelingJobsCallable()

public UnaryCallable<ListDataLabelingJobsRequest,ListDataLabelingJobsResponse> listDataLabelingJobsCallable()
Returns
Type Description
UnaryCallable<ListDataLabelingJobsRequest,ListDataLabelingJobsResponse>
Overrides

listDataLabelingJobsPagedCallable()

public UnaryCallable<ListDataLabelingJobsRequest,JobServiceClient.ListDataLabelingJobsPagedResponse> listDataLabelingJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListDataLabelingJobsRequest,ListDataLabelingJobsPagedResponse>
Overrides

listHyperparameterTuningJobsCallable()

public UnaryCallable<ListHyperparameterTuningJobsRequest,ListHyperparameterTuningJobsResponse> listHyperparameterTuningJobsCallable()
Returns
Type Description
UnaryCallable<ListHyperparameterTuningJobsRequest,ListHyperparameterTuningJobsResponse>
Overrides

listHyperparameterTuningJobsPagedCallable()

public UnaryCallable<ListHyperparameterTuningJobsRequest,JobServiceClient.ListHyperparameterTuningJobsPagedResponse> listHyperparameterTuningJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListHyperparameterTuningJobsRequest,ListHyperparameterTuningJobsPagedResponse>
Overrides

listLocationsCallable()

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()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listModelDeploymentMonitoringJobsCallable()

public UnaryCallable<ListModelDeploymentMonitoringJobsRequest,ListModelDeploymentMonitoringJobsResponse> listModelDeploymentMonitoringJobsCallable()
Returns
Type Description
UnaryCallable<ListModelDeploymentMonitoringJobsRequest,ListModelDeploymentMonitoringJobsResponse>
Overrides

listModelDeploymentMonitoringJobsPagedCallable()

public UnaryCallable<ListModelDeploymentMonitoringJobsRequest,JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse> listModelDeploymentMonitoringJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListModelDeploymentMonitoringJobsRequest,ListModelDeploymentMonitoringJobsPagedResponse>
Overrides

listNasJobsCallable()

public UnaryCallable<ListNasJobsRequest,ListNasJobsResponse> listNasJobsCallable()
Returns
Type Description
UnaryCallable<ListNasJobsRequest,ListNasJobsResponse>
Overrides

listNasJobsPagedCallable()

public UnaryCallable<ListNasJobsRequest,JobServiceClient.ListNasJobsPagedResponse> listNasJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListNasJobsRequest,ListNasJobsPagedResponse>
Overrides

listNasTrialDetailsCallable()

public UnaryCallable<ListNasTrialDetailsRequest,ListNasTrialDetailsResponse> listNasTrialDetailsCallable()
Returns
Type Description
UnaryCallable<ListNasTrialDetailsRequest,ListNasTrialDetailsResponse>
Overrides

listNasTrialDetailsPagedCallable()

public UnaryCallable<ListNasTrialDetailsRequest,JobServiceClient.ListNasTrialDetailsPagedResponse> listNasTrialDetailsPagedCallable()
Returns
Type Description
UnaryCallable<ListNasTrialDetailsRequest,ListNasTrialDetailsPagedResponse>
Overrides

pauseModelDeploymentMonitoringJobCallable()

public UnaryCallable<PauseModelDeploymentMonitoringJobRequest,Empty> pauseModelDeploymentMonitoringJobCallable()
Returns
Type Description
UnaryCallable<PauseModelDeploymentMonitoringJobRequest,Empty>
Overrides

resumeModelDeploymentMonitoringJobCallable()

public UnaryCallable<ResumeModelDeploymentMonitoringJobRequest,Empty> resumeModelDeploymentMonitoringJobCallable()
Returns
Type Description
UnaryCallable<ResumeModelDeploymentMonitoringJobRequest,Empty>
Overrides

searchModelDeploymentMonitoringStatsAnomaliesCallable()

public UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesResponse> searchModelDeploymentMonitoringStatsAnomaliesCallable()
Returns
Type Description
UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesResponse>
Overrides

searchModelDeploymentMonitoringStatsAnomaliesPagedCallable()

public UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest,JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse> searchModelDeploymentMonitoringStatsAnomaliesPagedCallable()
Returns
Type Description
UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateModelDeploymentMonitoringJobCallable()

public UnaryCallable<UpdateModelDeploymentMonitoringJobRequest,Operation> updateModelDeploymentMonitoringJobCallable()
Returns
Type Description
UnaryCallable<UpdateModelDeploymentMonitoringJobRequest,Operation>
Overrides

updateModelDeploymentMonitoringJobOperationCallable()

public OperationCallable<UpdateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob,UpdateModelDeploymentMonitoringJobOperationMetadata> updateModelDeploymentMonitoringJobOperationCallable()
Returns
Type Description
OperationCallable<UpdateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob,UpdateModelDeploymentMonitoringJobOperationMetadata>
Overrides