Package com.google.cloud.run.v2
Class JobsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<JobsSettings,JobsSettings.Builder>
-
- com.google.cloud.run.v2.JobsSettings.Builder
-
- Enclosing class:
- JobsSettings
public static class JobsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<JobsSettings,JobsSettings.Builder>
Builder for JobsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(JobsSettings settings)
protected
Builder(JobsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobsSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.JobsSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateJobRequest,Job,Job>
createJobOperationSettings()
Returns the builder for the settings used for calls to createJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateJobRequest,com.google.longrunning.Operation>
createJobSettings()
Returns the builder for the settings used for calls to createJob.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteJobRequest,Job,Job>
deleteJobOperationSettings()
Returns the builder for the settings used for calls to deleteJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobRequest,com.google.longrunning.Operation>
deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetJobRequest,Job>
getJobSettings()
Returns the builder for the settings used for calls to getJob.JobsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,JobsClient.ListJobsPagedResponse>
listJobsSettings()
Returns the builder for the settings used for calls to listJobs.com.google.api.gax.rpc.OperationCallSettings.Builder<RunJobRequest,Execution,Execution>
runJobOperationSettings()
Returns the builder for the settings used for calls to runJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<RunJobRequest,com.google.longrunning.Operation>
runJobSettings()
Returns the builder for the settings used for calls to runJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateJobRequest,Job,Job>
updateJobOperationSettings()
Returns the builder for the settings used for calls to updateJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateJobRequest,com.google.longrunning.Operation>
updateJobSettings()
Returns the builder for the settings used for calls to updateJob.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(JobsSettings settings)
-
Builder
protected Builder(JobsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public JobsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public JobsSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
createJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateJobRequest,com.google.longrunning.Operation> createJobSettings()
Returns the builder for the settings used for calls to createJob.
-
createJobOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateJobRequest,Job,Job> createJobOperationSettings()
Returns the builder for the settings used for calls to createJob.
-
getJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetJobRequest,Job> getJobSettings()
Returns the builder for the settings used for calls to getJob.
-
listJobsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,JobsClient.ListJobsPagedResponse> listJobsSettings()
Returns the builder for the settings used for calls to listJobs.
-
updateJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateJobRequest,com.google.longrunning.Operation> updateJobSettings()
Returns the builder for the settings used for calls to updateJob.
-
updateJobOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateJobRequest,Job,Job> updateJobOperationSettings()
Returns the builder for the settings used for calls to updateJob.
-
deleteJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobRequest,com.google.longrunning.Operation> deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.
-
deleteJobOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteJobRequest,Job,Job> deleteJobOperationSettings()
Returns the builder for the settings used for calls to deleteJob.
-
runJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RunJobRequest,com.google.longrunning.Operation> runJobSettings()
Returns the builder for the settings used for calls to runJob.
-
runJobOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RunJobRequest,Execution,Execution> runJobOperationSettings()
Returns the builder for the settings used for calls to runJob.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public JobsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<JobsSettings,JobsSettings.Builder>
- Throws:
IOException
-
-