Class JobServiceStubSettings.Builder (2.9.8)

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>

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>

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>

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>

getHyperparameterTuningJobSettings()

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

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

Returns
TypeDescription
Builder<GetHyperparameterTuningJobRequest,HyperparameterTuningJob>

getModelDeploymentMonitoringJobSettings()

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

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

Returns
TypeDescription
Builder<GetModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob>

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>

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>

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>

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>