Class GrpcJobServiceStub (3.37.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcJobServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcJobServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcJobServiceStub
Exceptions
TypeDescription
IOException

create(JobServiceStubSettings settings)

public static final GrpcJobServiceStub create(JobServiceStubSettings settings)
Parameter
NameDescription
settingsJobServiceStubSettings
Returns
TypeDescription
GrpcJobServiceStub
Exceptions
TypeDescription
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
NameDescription
settingsJobServiceStubSettings
clientContextClientContext

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
NameDescription
settingsJobServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

cancelBatchPredictionJobCallable()

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

cancelCustomJobCallable()

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

cancelDataLabelingJobCallable()

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

cancelHyperparameterTuningJobCallable()

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

cancelNasJobCallable()

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

close()

public final void close()
Overrides

createBatchPredictionJobCallable()

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

createCustomJobCallable()

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

createDataLabelingJobCallable()

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

createHyperparameterTuningJobCallable()

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

createModelDeploymentMonitoringJobCallable()

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

createNasJobCallable()

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

deleteBatchPredictionJobCallable()

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

deleteBatchPredictionJobOperationCallable()

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

deleteCustomJobCallable()

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

deleteCustomJobOperationCallable()

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

deleteDataLabelingJobCallable()

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

deleteDataLabelingJobOperationCallable()

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

deleteHyperparameterTuningJobCallable()

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

deleteHyperparameterTuningJobOperationCallable()

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

deleteModelDeploymentMonitoringJobCallable()

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

deleteModelDeploymentMonitoringJobOperationCallable()

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

deleteNasJobCallable()

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

deleteNasJobOperationCallable()

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

getBatchPredictionJobCallable()

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

getCustomJobCallable()

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

getDataLabelingJobCallable()

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

getHyperparameterTuningJobCallable()

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

getIamPolicyCallable()

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

getLocationCallable()

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

getModelDeploymentMonitoringJobCallable()

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

getNasJobCallable()

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

getNasTrialDetailCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listBatchPredictionJobsCallable()

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

listBatchPredictionJobsPagedCallable()

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

listCustomJobsCallable()

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

listCustomJobsPagedCallable()

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

listDataLabelingJobsCallable()

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

listDataLabelingJobsPagedCallable()

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

listHyperparameterTuningJobsCallable()

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

listHyperparameterTuningJobsPagedCallable()

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

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,JobServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listModelDeploymentMonitoringJobsCallable()

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

listModelDeploymentMonitoringJobsPagedCallable()

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

listNasJobsCallable()

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

listNasJobsPagedCallable()

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

listNasTrialDetailsCallable()

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

listNasTrialDetailsPagedCallable()

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

pauseModelDeploymentMonitoringJobCallable()

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

resumeModelDeploymentMonitoringJobCallable()

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

searchModelDeploymentMonitoringStatsAnomaliesCallable()

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

searchModelDeploymentMonitoringStatsAnomaliesPagedCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateModelDeploymentMonitoringJobCallable()

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

updateModelDeploymentMonitoringJobOperationCallable()

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