@Generated(value="by gapic-generator-java") public class JobServiceStubSettings extends com.google.api.gax.rpc.StubSettings<JobServiceStubSettings>
JobServiceStub.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of createCustomJob to 30 seconds:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
JobServiceStubSettings.Builder jobServiceSettingsBuilder = JobServiceStubSettings.newBuilder();
jobServiceSettingsBuilder
.createCustomJobSettings()
.setRetrySettings(
jobServiceSettingsBuilder
.createCustomJobSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
JobServiceStubSettings jobServiceSettings = jobServiceSettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
JobServiceStubSettings.Builder
Builder for JobServiceStubSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
JobServiceStubSettings(JobServiceStubSettings.Builder settingsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.UnaryCallSettings<CancelBatchPredictionJobRequest,com.google.protobuf.Empty> |
cancelBatchPredictionJobSettings()
Returns the object with the settings used for calls to cancelBatchPredictionJob.
|
com.google.api.gax.rpc.UnaryCallSettings<CancelCustomJobRequest,com.google.protobuf.Empty> |
cancelCustomJobSettings()
Returns the object with the settings used for calls to cancelCustomJob.
|
com.google.api.gax.rpc.UnaryCallSettings<CancelDataLabelingJobRequest,com.google.protobuf.Empty> |
cancelDataLabelingJobSettings()
Returns the object with the settings used for calls to cancelDataLabelingJob.
|
com.google.api.gax.rpc.UnaryCallSettings<CancelHyperparameterTuningJobRequest,com.google.protobuf.Empty> |
cancelHyperparameterTuningJobSettings()
Returns the object with the settings used for calls to cancelHyperparameterTuningJob.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateBatchPredictionJobRequest,BatchPredictionJob> |
createBatchPredictionJobSettings()
Returns the object with the settings used for calls to createBatchPredictionJob.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateCustomJobRequest,CustomJob> |
createCustomJobSettings()
Returns the object with the settings used for calls to createCustomJob.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateDataLabelingJobRequest,DataLabelingJob> |
createDataLabelingJobSettings()
Returns the object with the settings used for calls to createDataLabelingJob.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateHyperparameterTuningJobRequest,HyperparameterTuningJob> |
createHyperparameterTuningJobSettings()
Returns the object with the settings used for calls to createHyperparameterTuningJob.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> |
createModelDeploymentMonitoringJobSettings()
Returns the object with the settings used for calls to createModelDeploymentMonitoringJob.
|
JobServiceStub |
createStub() |
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.OperationCallSettings<DeleteBatchPredictionJobRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteBatchPredictionJobOperationSettings()
Returns the object with the settings used for calls to deleteBatchPredictionJob.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteBatchPredictionJobRequest,com.google.longrunning.Operation> |
deleteBatchPredictionJobSettings()
Returns the object with the settings used for calls to deleteBatchPredictionJob.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteCustomJobRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteCustomJobOperationSettings()
Returns the object with the settings used for calls to deleteCustomJob.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteCustomJobRequest,com.google.longrunning.Operation> |
deleteCustomJobSettings()
Returns the object with the settings used for calls to deleteCustomJob.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteDataLabelingJobRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteDataLabelingJobOperationSettings()
Returns the object with the settings used for calls to deleteDataLabelingJob.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteDataLabelingJobRequest,com.google.longrunning.Operation> |
deleteDataLabelingJobSettings()
Returns the object with the settings used for calls to deleteDataLabelingJob.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteHyperparameterTuningJobRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteHyperparameterTuningJobOperationSettings()
Returns the object with the settings used for calls to deleteHyperparameterTuningJob.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteHyperparameterTuningJobRequest,com.google.longrunning.Operation> |
deleteHyperparameterTuningJobSettings()
Returns the object with the settings used for calls to deleteHyperparameterTuningJob.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteModelDeploymentMonitoringJobRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deleteModelDeploymentMonitoringJobOperationSettings()
Returns the object with the settings used for calls to deleteModelDeploymentMonitoringJob.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteModelDeploymentMonitoringJobRequest,com.google.longrunning.Operation> |
deleteModelDeploymentMonitoringJobSettings()
Returns the object with the settings used for calls to deleteModelDeploymentMonitoringJob.
|
com.google.api.gax.rpc.UnaryCallSettings<GetBatchPredictionJobRequest,BatchPredictionJob> |
getBatchPredictionJobSettings()
Returns the object with the settings used for calls to getBatchPredictionJob.
|
com.google.api.gax.rpc.UnaryCallSettings<GetCustomJobRequest,CustomJob> |
getCustomJobSettings()
Returns the object with the settings used for calls to getCustomJob.
|
com.google.api.gax.rpc.UnaryCallSettings<GetDataLabelingJobRequest,DataLabelingJob> |
getDataLabelingJobSettings()
Returns the object with the settings used for calls to getDataLabelingJob.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static String |
getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetHyperparameterTuningJobRequest,HyperparameterTuningJob> |
getHyperparameterTuningJobSettings()
Returns the object with the settings used for calls to getHyperparameterTuningJob.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the object with the settings used for calls to getLocation.
|
com.google.api.gax.rpc.UnaryCallSettings<GetModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> |
getModelDeploymentMonitoringJobSettings()
Returns the object with the settings used for calls to getModelDeploymentMonitoringJob.
|
com.google.api.gax.rpc.PagedCallSettings<ListBatchPredictionJobsRequest,ListBatchPredictionJobsResponse,JobServiceClient.ListBatchPredictionJobsPagedResponse> |
listBatchPredictionJobsSettings()
Returns the object with the settings used for calls to listBatchPredictionJobs.
|
com.google.api.gax.rpc.PagedCallSettings<ListCustomJobsRequest,ListCustomJobsResponse,JobServiceClient.ListCustomJobsPagedResponse> |
listCustomJobsSettings()
Returns the object with the settings used for calls to listCustomJobs.
|
com.google.api.gax.rpc.PagedCallSettings<ListDataLabelingJobsRequest,ListDataLabelingJobsResponse,JobServiceClient.ListDataLabelingJobsPagedResponse> |
listDataLabelingJobsSettings()
Returns the object with the settings used for calls to listDataLabelingJobs.
|
com.google.api.gax.rpc.PagedCallSettings<ListHyperparameterTuningJobsRequest,ListHyperparameterTuningJobsResponse,JobServiceClient.ListHyperparameterTuningJobsPagedResponse> |
listHyperparameterTuningJobsSettings()
Returns the object with the settings used for calls to listHyperparameterTuningJobs.
|
com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,JobServiceClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
|
com.google.api.gax.rpc.PagedCallSettings<ListModelDeploymentMonitoringJobsRequest,ListModelDeploymentMonitoringJobsResponse,JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse> |
listModelDeploymentMonitoringJobsSettings()
Returns the object with the settings used for calls to listModelDeploymentMonitoringJobs.
|
static JobServiceStubSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static JobServiceStubSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<PauseModelDeploymentMonitoringJobRequest,com.google.protobuf.Empty> |
pauseModelDeploymentMonitoringJobSettings()
Returns the object with the settings used for calls to pauseModelDeploymentMonitoringJob.
|
com.google.api.gax.rpc.UnaryCallSettings<ResumeModelDeploymentMonitoringJobRequest,com.google.protobuf.Empty> |
resumeModelDeploymentMonitoringJobSettings()
Returns the object with the settings used for calls to resumeModelDeploymentMonitoringJob.
|
com.google.api.gax.rpc.PagedCallSettings<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesResponse,JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse> |
searchModelDeploymentMonitoringStatsAnomaliesSettings()
Returns the object with the settings used for calls to
searchModelDeploymentMonitoringStatsAnomalies.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
|
JobServiceStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob,UpdateModelDeploymentMonitoringJobOperationMetadata> |
updateModelDeploymentMonitoringJobOperationSettings()
Returns the object with the settings used for calls to updateModelDeploymentMonitoringJob.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateModelDeploymentMonitoringJobRequest,com.google.longrunning.Operation> |
updateModelDeploymentMonitoringJobSettings()
Returns the object with the settings used for calls to updateModelDeploymentMonitoringJob.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toStringprotected JobServiceStubSettings(JobServiceStubSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallSettings<CreateCustomJobRequest,CustomJob> createCustomJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetCustomJobRequest,CustomJob> getCustomJobSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListCustomJobsRequest,ListCustomJobsResponse,JobServiceClient.ListCustomJobsPagedResponse> listCustomJobsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteCustomJobRequest,com.google.longrunning.Operation> deleteCustomJobSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteCustomJobRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteCustomJobOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CancelCustomJobRequest,com.google.protobuf.Empty> cancelCustomJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateDataLabelingJobRequest,DataLabelingJob> createDataLabelingJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetDataLabelingJobRequest,DataLabelingJob> getDataLabelingJobSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListDataLabelingJobsRequest,ListDataLabelingJobsResponse,JobServiceClient.ListDataLabelingJobsPagedResponse> listDataLabelingJobsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteDataLabelingJobRequest,com.google.longrunning.Operation> deleteDataLabelingJobSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteDataLabelingJobRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteDataLabelingJobOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CancelDataLabelingJobRequest,com.google.protobuf.Empty> cancelDataLabelingJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateHyperparameterTuningJobRequest,HyperparameterTuningJob> createHyperparameterTuningJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetHyperparameterTuningJobRequest,HyperparameterTuningJob> getHyperparameterTuningJobSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListHyperparameterTuningJobsRequest,ListHyperparameterTuningJobsResponse,JobServiceClient.ListHyperparameterTuningJobsPagedResponse> listHyperparameterTuningJobsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteHyperparameterTuningJobRequest,com.google.longrunning.Operation> deleteHyperparameterTuningJobSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteHyperparameterTuningJobRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteHyperparameterTuningJobOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CancelHyperparameterTuningJobRequest,com.google.protobuf.Empty> cancelHyperparameterTuningJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateBatchPredictionJobRequest,BatchPredictionJob> createBatchPredictionJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetBatchPredictionJobRequest,BatchPredictionJob> getBatchPredictionJobSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListBatchPredictionJobsRequest,ListBatchPredictionJobsResponse,JobServiceClient.ListBatchPredictionJobsPagedResponse> listBatchPredictionJobsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteBatchPredictionJobRequest,com.google.longrunning.Operation> deleteBatchPredictionJobSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteBatchPredictionJobRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteBatchPredictionJobOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CancelBatchPredictionJobRequest,com.google.protobuf.Empty> cancelBatchPredictionJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> createModelDeploymentMonitoringJobSettings()
public com.google.api.gax.rpc.PagedCallSettings<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesResponse,JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse> searchModelDeploymentMonitoringStatsAnomaliesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> getModelDeploymentMonitoringJobSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListModelDeploymentMonitoringJobsRequest,ListModelDeploymentMonitoringJobsResponse,JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse> listModelDeploymentMonitoringJobsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateModelDeploymentMonitoringJobRequest,com.google.longrunning.Operation> updateModelDeploymentMonitoringJobSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob,UpdateModelDeploymentMonitoringJobOperationMetadata> updateModelDeploymentMonitoringJobOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteModelDeploymentMonitoringJobRequest,com.google.longrunning.Operation> deleteModelDeploymentMonitoringJobSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteModelDeploymentMonitoringJobRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deleteModelDeploymentMonitoringJobOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<PauseModelDeploymentMonitoringJobRequest,com.google.protobuf.Empty> pauseModelDeploymentMonitoringJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ResumeModelDeploymentMonitoringJobRequest,com.google.protobuf.Empty> resumeModelDeploymentMonitoringJobSettings()
public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,JobServiceClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public JobServiceStub createStub() throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static String getDefaultMtlsEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static JobServiceStubSettings.Builder newBuilder()
public static JobServiceStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public JobServiceStubSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.StubSettings<JobServiceStubSettings>Copyright © 2022 Google LLC. All rights reserved.