Class GrpcJobServiceStub (3.59.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()
Overrides

cancelCustomJobCallable()

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

cancelDataLabelingJobCallable()

public UnaryCallable<CancelDataLabelingJobRequest,Empty> cancelDataLabelingJobCallable()
Overrides

cancelHyperparameterTuningJobCallable()

public UnaryCallable<CancelHyperparameterTuningJobRequest,Empty> cancelHyperparameterTuningJobCallable()
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()
Overrides

createCustomJobCallable()

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

createDataLabelingJobCallable()

public UnaryCallable<CreateDataLabelingJobRequest,DataLabelingJob> createDataLabelingJobCallable()
Overrides

createHyperparameterTuningJobCallable()

public UnaryCallable<CreateHyperparameterTuningJobRequest,HyperparameterTuningJob> createHyperparameterTuningJobCallable()
Overrides

createModelDeploymentMonitoringJobCallable()

public UnaryCallable<CreateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> createModelDeploymentMonitoringJobCallable()
Overrides

createNasJobCallable()

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

deleteBatchPredictionJobCallable()

public UnaryCallable<DeleteBatchPredictionJobRequest,Operation> deleteBatchPredictionJobCallable()
Overrides

deleteBatchPredictionJobOperationCallable()

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

deleteCustomJobCallable()

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

deleteCustomJobOperationCallable()

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

deleteDataLabelingJobCallable()

public UnaryCallable<DeleteDataLabelingJobRequest,Operation> deleteDataLabelingJobCallable()
Overrides

deleteDataLabelingJobOperationCallable()

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

deleteHyperparameterTuningJobCallable()

public UnaryCallable<DeleteHyperparameterTuningJobRequest,Operation> deleteHyperparameterTuningJobCallable()
Overrides

deleteHyperparameterTuningJobOperationCallable()

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

deleteModelDeploymentMonitoringJobCallable()

public UnaryCallable<DeleteModelDeploymentMonitoringJobRequest,Operation> deleteModelDeploymentMonitoringJobCallable()
Overrides

deleteModelDeploymentMonitoringJobOperationCallable()

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

deleteNasJobCallable()

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

deleteNasJobOperationCallable()

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

getBatchPredictionJobCallable()

public UnaryCallable<GetBatchPredictionJobRequest,BatchPredictionJob> getBatchPredictionJobCallable()
Overrides

getCustomJobCallable()

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

getDataLabelingJobCallable()

public UnaryCallable<GetDataLabelingJobRequest,DataLabelingJob> getDataLabelingJobCallable()
Overrides

getHyperparameterTuningJobCallable()

public UnaryCallable<GetHyperparameterTuningJobRequest,HyperparameterTuningJob> getHyperparameterTuningJobCallable()
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()
Overrides

getNasJobCallable()

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

getNasTrialDetailCallable()

public UnaryCallable<GetNasTrialDetailRequest,NasTrialDetail> getNasTrialDetailCallable()
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()
Overrides

listBatchPredictionJobsPagedCallable()

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

listCustomJobsCallable()

public UnaryCallable<ListCustomJobsRequest,ListCustomJobsResponse> listCustomJobsCallable()
Overrides

listCustomJobsPagedCallable()

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

listDataLabelingJobsCallable()

public UnaryCallable<ListDataLabelingJobsRequest,ListDataLabelingJobsResponse> listDataLabelingJobsCallable()
Overrides

listDataLabelingJobsPagedCallable()

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

listHyperparameterTuningJobsCallable()

public UnaryCallable<ListHyperparameterTuningJobsRequest,ListHyperparameterTuningJobsResponse> listHyperparameterTuningJobsCallable()
Overrides

listHyperparameterTuningJobsPagedCallable()

public UnaryCallable<ListHyperparameterTuningJobsRequest,JobServiceClient.ListHyperparameterTuningJobsPagedResponse> listHyperparameterTuningJobsPagedCallable()
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()
Overrides

listModelDeploymentMonitoringJobsPagedCallable()

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

listNasJobsCallable()

public UnaryCallable<ListNasJobsRequest,ListNasJobsResponse> listNasJobsCallable()
Overrides

listNasJobsPagedCallable()

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

listNasTrialDetailsCallable()

public UnaryCallable<ListNasTrialDetailsRequest,ListNasTrialDetailsResponse> listNasTrialDetailsCallable()
Overrides

listNasTrialDetailsPagedCallable()

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

pauseModelDeploymentMonitoringJobCallable()

public UnaryCallable<PauseModelDeploymentMonitoringJobRequest,Empty> pauseModelDeploymentMonitoringJobCallable()
Overrides

resumeModelDeploymentMonitoringJobCallable()

public UnaryCallable<ResumeModelDeploymentMonitoringJobRequest,Empty> resumeModelDeploymentMonitoringJobCallable()
Overrides

searchModelDeploymentMonitoringStatsAnomaliesCallable()

public UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesResponse> searchModelDeploymentMonitoringStatsAnomaliesCallable()
Overrides

searchModelDeploymentMonitoringStatsAnomaliesPagedCallable()

public UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest,JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse> searchModelDeploymentMonitoringStatsAnomaliesPagedCallable()
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()
Overrides

updateModelDeploymentMonitoringJobOperationCallable()

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