Class JobServiceStubSettings.Builder (3.40.0)

public static class JobServiceStubSettings.Builder extends StubSettings.Builder<JobServiceStubSettings,JobServiceStubSettings.Builder>

Builder for JobServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > JobServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(JobServiceStubSettings settings)

protected Builder(JobServiceStubSettings settings)
Parameter
NameDescription
settingsJobServiceStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public JobServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
JobServiceStubSettings.Builder

build()

public JobServiceStubSettings build()
Returns
TypeDescription
JobServiceStubSettings
Overrides
Exceptions
TypeDescription
IOException

cancelBatchPredictionJobSettings()

public UnaryCallSettings.Builder<CancelBatchPredictionJobRequest,Empty> cancelBatchPredictionJobSettings()

Returns the builder for the settings used for calls to cancelBatchPredictionJob.

Returns
TypeDescription
Builder<CancelBatchPredictionJobRequest,Empty>

cancelCustomJobSettings()

public UnaryCallSettings.Builder<CancelCustomJobRequest,Empty> cancelCustomJobSettings()

Returns the builder for the settings used for calls to cancelCustomJob.

Returns
TypeDescription
Builder<CancelCustomJobRequest,Empty>

cancelDataLabelingJobSettings()

public UnaryCallSettings.Builder<CancelDataLabelingJobRequest,Empty> cancelDataLabelingJobSettings()

Returns the builder for the settings used for calls to cancelDataLabelingJob.

Returns
TypeDescription
Builder<CancelDataLabelingJobRequest,Empty>

cancelHyperparameterTuningJobSettings()

public UnaryCallSettings.Builder<CancelHyperparameterTuningJobRequest,Empty> cancelHyperparameterTuningJobSettings()

Returns the builder for the settings used for calls to cancelHyperparameterTuningJob.

Returns
TypeDescription
Builder<CancelHyperparameterTuningJobRequest,Empty>

cancelNasJobSettings()

public UnaryCallSettings.Builder<CancelNasJobRequest,Empty> cancelNasJobSettings()

Returns the builder for the settings used for calls to cancelNasJob.

Returns
TypeDescription
Builder<CancelNasJobRequest,Empty>

createBatchPredictionJobSettings()

public UnaryCallSettings.Builder<CreateBatchPredictionJobRequest,BatchPredictionJob> createBatchPredictionJobSettings()

Returns the builder for the settings used for calls to createBatchPredictionJob.

Returns
TypeDescription
Builder<CreateBatchPredictionJobRequest,BatchPredictionJob>

createCustomJobSettings()

public UnaryCallSettings.Builder<CreateCustomJobRequest,CustomJob> createCustomJobSettings()

Returns the builder for the settings used for calls to createCustomJob.

Returns
TypeDescription
Builder<CreateCustomJobRequest,CustomJob>

createDataLabelingJobSettings()

public UnaryCallSettings.Builder<CreateDataLabelingJobRequest,DataLabelingJob> createDataLabelingJobSettings()

Returns the builder for the settings used for calls to createDataLabelingJob.

Returns
TypeDescription
Builder<CreateDataLabelingJobRequest,DataLabelingJob>

createHyperparameterTuningJobSettings()

public UnaryCallSettings.Builder<CreateHyperparameterTuningJobRequest,HyperparameterTuningJob> createHyperparameterTuningJobSettings()

Returns the builder for the settings used for calls to createHyperparameterTuningJob.

Returns
TypeDescription
Builder<CreateHyperparameterTuningJobRequest,HyperparameterTuningJob>

createModelDeploymentMonitoringJobSettings()

public UnaryCallSettings.Builder<CreateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> createModelDeploymentMonitoringJobSettings()

Returns the builder for the settings used for calls to createModelDeploymentMonitoringJob.

Returns
TypeDescription
Builder<CreateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob>

createNasJobSettings()

public UnaryCallSettings.Builder<CreateNasJobRequest,NasJob> createNasJobSettings()

Returns the builder for the settings used for calls to createNasJob.

Returns
TypeDescription
Builder<CreateNasJobRequest,NasJob>

deleteBatchPredictionJobOperationSettings()

public OperationCallSettings.Builder<DeleteBatchPredictionJobRequest,Empty,DeleteOperationMetadata> deleteBatchPredictionJobOperationSettings()

Returns the builder for the settings used for calls to deleteBatchPredictionJob.

Returns
TypeDescription
Builder<DeleteBatchPredictionJobRequest,Empty,DeleteOperationMetadata>

deleteBatchPredictionJobSettings()

public UnaryCallSettings.Builder<DeleteBatchPredictionJobRequest,Operation> deleteBatchPredictionJobSettings()

Returns the builder for the settings used for calls to deleteBatchPredictionJob.

Returns
TypeDescription
Builder<DeleteBatchPredictionJobRequest,Operation>

deleteCustomJobOperationSettings()

public OperationCallSettings.Builder<DeleteCustomJobRequest,Empty,DeleteOperationMetadata> deleteCustomJobOperationSettings()

Returns the builder for the settings used for calls to deleteCustomJob.

Returns
TypeDescription
Builder<DeleteCustomJobRequest,Empty,DeleteOperationMetadata>

deleteCustomJobSettings()

public UnaryCallSettings.Builder<DeleteCustomJobRequest,Operation> deleteCustomJobSettings()

Returns the builder for the settings used for calls to deleteCustomJob.

Returns
TypeDescription
Builder<DeleteCustomJobRequest,Operation>

deleteDataLabelingJobOperationSettings()

public OperationCallSettings.Builder<DeleteDataLabelingJobRequest,Empty,DeleteOperationMetadata> deleteDataLabelingJobOperationSettings()

Returns the builder for the settings used for calls to deleteDataLabelingJob.

Returns
TypeDescription
Builder<DeleteDataLabelingJobRequest,Empty,DeleteOperationMetadata>

deleteDataLabelingJobSettings()

public UnaryCallSettings.Builder<DeleteDataLabelingJobRequest,Operation> deleteDataLabelingJobSettings()

Returns the builder for the settings used for calls to deleteDataLabelingJob.

Returns
TypeDescription
Builder<DeleteDataLabelingJobRequest,Operation>

deleteHyperparameterTuningJobOperationSettings()

public OperationCallSettings.Builder<DeleteHyperparameterTuningJobRequest,Empty,DeleteOperationMetadata> deleteHyperparameterTuningJobOperationSettings()

Returns the builder for the settings used for calls to deleteHyperparameterTuningJob.

Returns
TypeDescription
Builder<DeleteHyperparameterTuningJobRequest,Empty,DeleteOperationMetadata>

deleteHyperparameterTuningJobSettings()

public UnaryCallSettings.Builder<DeleteHyperparameterTuningJobRequest,Operation> deleteHyperparameterTuningJobSettings()

Returns the builder for the settings used for calls to deleteHyperparameterTuningJob.

Returns
TypeDescription
Builder<DeleteHyperparameterTuningJobRequest,Operation>

deleteModelDeploymentMonitoringJobOperationSettings()

public OperationCallSettings.Builder<DeleteModelDeploymentMonitoringJobRequest,Empty,DeleteOperationMetadata> deleteModelDeploymentMonitoringJobOperationSettings()

Returns the builder for the settings used for calls to deleteModelDeploymentMonitoringJob.

Returns
TypeDescription
Builder<DeleteModelDeploymentMonitoringJobRequest,Empty,DeleteOperationMetadata>

deleteModelDeploymentMonitoringJobSettings()

public UnaryCallSettings.Builder<DeleteModelDeploymentMonitoringJobRequest,Operation> deleteModelDeploymentMonitoringJobSettings()

Returns the builder for the settings used for calls to deleteModelDeploymentMonitoringJob.

Returns
TypeDescription
Builder<DeleteModelDeploymentMonitoringJobRequest,Operation>

deleteNasJobOperationSettings()

public OperationCallSettings.Builder<DeleteNasJobRequest,Empty,DeleteOperationMetadata> deleteNasJobOperationSettings()

Returns the builder for the settings used for calls to deleteNasJob.

Returns
TypeDescription
Builder<DeleteNasJobRequest,Empty,DeleteOperationMetadata>

deleteNasJobSettings()

public UnaryCallSettings.Builder<DeleteNasJobRequest,Operation> deleteNasJobSettings()

Returns the builder for the settings used for calls to deleteNasJob.

Returns
TypeDescription
Builder<DeleteNasJobRequest,Operation>

getBatchPredictionJobSettings()

public UnaryCallSettings.Builder<GetBatchPredictionJobRequest,BatchPredictionJob> getBatchPredictionJobSettings()

Returns the builder for the settings used for calls to getBatchPredictionJob.

Returns
TypeDescription
Builder<GetBatchPredictionJobRequest,BatchPredictionJob>

getCustomJobSettings()

public UnaryCallSettings.Builder<GetCustomJobRequest,CustomJob> getCustomJobSettings()

Returns the builder for the settings used for calls to getCustomJob.

Returns
TypeDescription
Builder<GetCustomJobRequest,CustomJob>

getDataLabelingJobSettings()

public UnaryCallSettings.Builder<GetDataLabelingJobRequest,DataLabelingJob> getDataLabelingJobSettings()

Returns the builder for the settings used for calls to getDataLabelingJob.

Returns
TypeDescription
Builder<GetDataLabelingJobRequest,DataLabelingJob>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getHyperparameterTuningJobSettings()

public UnaryCallSettings.Builder<GetHyperparameterTuningJobRequest,HyperparameterTuningJob> getHyperparameterTuningJobSettings()

Returns the builder for the settings used for calls to getHyperparameterTuningJob.

Returns
TypeDescription
Builder<GetHyperparameterTuningJobRequest,HyperparameterTuningJob>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
TypeDescription
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getModelDeploymentMonitoringJobSettings()

public UnaryCallSettings.Builder<GetModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> getModelDeploymentMonitoringJobSettings()

Returns the builder for the settings used for calls to getModelDeploymentMonitoringJob.

Returns
TypeDescription
Builder<GetModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob>

getNasJobSettings()

public UnaryCallSettings.Builder<GetNasJobRequest,NasJob> getNasJobSettings()

Returns the builder for the settings used for calls to getNasJob.

Returns
TypeDescription
Builder<GetNasJobRequest,NasJob>

getNasTrialDetailSettings()

public UnaryCallSettings.Builder<GetNasTrialDetailRequest,NasTrialDetail> getNasTrialDetailSettings()

Returns the builder for the settings used for calls to getNasTrialDetail.

Returns
TypeDescription
Builder<GetNasTrialDetailRequest,NasTrialDetail>

listBatchPredictionJobsSettings()

public PagedCallSettings.Builder<ListBatchPredictionJobsRequest,ListBatchPredictionJobsResponse,JobServiceClient.ListBatchPredictionJobsPagedResponse> listBatchPredictionJobsSettings()

Returns the builder for the settings used for calls to listBatchPredictionJobs.

Returns
TypeDescription
Builder<ListBatchPredictionJobsRequest,ListBatchPredictionJobsResponse,ListBatchPredictionJobsPagedResponse>

listCustomJobsSettings()

public PagedCallSettings.Builder<ListCustomJobsRequest,ListCustomJobsResponse,JobServiceClient.ListCustomJobsPagedResponse> listCustomJobsSettings()

Returns the builder for the settings used for calls to listCustomJobs.

Returns
TypeDescription
Builder<ListCustomJobsRequest,ListCustomJobsResponse,ListCustomJobsPagedResponse>

listDataLabelingJobsSettings()

public PagedCallSettings.Builder<ListDataLabelingJobsRequest,ListDataLabelingJobsResponse,JobServiceClient.ListDataLabelingJobsPagedResponse> listDataLabelingJobsSettings()

Returns the builder for the settings used for calls to listDataLabelingJobs.

Returns
TypeDescription
Builder<ListDataLabelingJobsRequest,ListDataLabelingJobsResponse,ListDataLabelingJobsPagedResponse>

listHyperparameterTuningJobsSettings()

public PagedCallSettings.Builder<ListHyperparameterTuningJobsRequest,ListHyperparameterTuningJobsResponse,JobServiceClient.ListHyperparameterTuningJobsPagedResponse> listHyperparameterTuningJobsSettings()

Returns the builder for the settings used for calls to listHyperparameterTuningJobs.

Returns
TypeDescription
Builder<ListHyperparameterTuningJobsRequest,ListHyperparameterTuningJobsResponse,ListHyperparameterTuningJobsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,JobServiceClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listModelDeploymentMonitoringJobsSettings()

public PagedCallSettings.Builder<ListModelDeploymentMonitoringJobsRequest,ListModelDeploymentMonitoringJobsResponse,JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse> listModelDeploymentMonitoringJobsSettings()

Returns the builder for the settings used for calls to listModelDeploymentMonitoringJobs.

Returns
TypeDescription
Builder<ListModelDeploymentMonitoringJobsRequest,ListModelDeploymentMonitoringJobsResponse,ListModelDeploymentMonitoringJobsPagedResponse>

listNasJobsSettings()

public PagedCallSettings.Builder<ListNasJobsRequest,ListNasJobsResponse,JobServiceClient.ListNasJobsPagedResponse> listNasJobsSettings()

Returns the builder for the settings used for calls to listNasJobs.

Returns
TypeDescription
Builder<ListNasJobsRequest,ListNasJobsResponse,ListNasJobsPagedResponse>

listNasTrialDetailsSettings()

public PagedCallSettings.Builder<ListNasTrialDetailsRequest,ListNasTrialDetailsResponse,JobServiceClient.ListNasTrialDetailsPagedResponse> listNasTrialDetailsSettings()

Returns the builder for the settings used for calls to listNasTrialDetails.

Returns
TypeDescription
Builder<ListNasTrialDetailsRequest,ListNasTrialDetailsResponse,ListNasTrialDetailsPagedResponse>

pauseModelDeploymentMonitoringJobSettings()

public UnaryCallSettings.Builder<PauseModelDeploymentMonitoringJobRequest,Empty> pauseModelDeploymentMonitoringJobSettings()

Returns the builder for the settings used for calls to pauseModelDeploymentMonitoringJob.

Returns
TypeDescription
Builder<PauseModelDeploymentMonitoringJobRequest,Empty>

resumeModelDeploymentMonitoringJobSettings()

public UnaryCallSettings.Builder<ResumeModelDeploymentMonitoringJobRequest,Empty> resumeModelDeploymentMonitoringJobSettings()

Returns the builder for the settings used for calls to resumeModelDeploymentMonitoringJob.

Returns
TypeDescription
Builder<ResumeModelDeploymentMonitoringJobRequest,Empty>

searchModelDeploymentMonitoringStatsAnomaliesSettings()

public PagedCallSettings.Builder<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesResponse,JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse> searchModelDeploymentMonitoringStatsAnomaliesSettings()

Returns the builder for the settings used for calls to searchModelDeploymentMonitoringStatsAnomalies.

Returns
TypeDescription
Builder<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesResponse,SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
TypeDescription
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

Returns the builder for the settings used for calls to testIamPermissions.

Returns
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateModelDeploymentMonitoringJobOperationSettings()

public OperationCallSettings.Builder<UpdateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob,UpdateModelDeploymentMonitoringJobOperationMetadata> updateModelDeploymentMonitoringJobOperationSettings()

Returns the builder for the settings used for calls to updateModelDeploymentMonitoringJob.

Returns
TypeDescription
Builder<UpdateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob,UpdateModelDeploymentMonitoringJobOperationMetadata>

updateModelDeploymentMonitoringJobSettings()

public UnaryCallSettings.Builder<UpdateModelDeploymentMonitoringJobRequest,Operation> updateModelDeploymentMonitoringJobSettings()

Returns the builder for the settings used for calls to updateModelDeploymentMonitoringJob.

Returns
TypeDescription
Builder<UpdateModelDeploymentMonitoringJobRequest,Operation>