Package com.google.cloud.dataproc.v1
Class JobControllerSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<JobControllerSettings,JobControllerSettings.Builder>
-
- com.google.cloud.dataproc.v1.JobControllerSettings.Builder
-
- Enclosing class:
- JobControllerSettings
public static class JobControllerSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<JobControllerSettings,JobControllerSettings.Builder>
Builder for JobControllerSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(JobControllerSettings settings)
protected
Builder(JobControllerStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobControllerSettings.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.JobControllerSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CancelJobRequest,Job>
cancelJobSettings()
Returns the builder for the settings used for calls to cancelJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobRequest,com.google.protobuf.Empty>
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.JobControllerStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,JobControllerClient.ListJobsPagedResponse>
listJobsSettings()
Returns the builder for the settings used for calls to listJobs.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.OperationCallSettings.Builder<SubmitJobRequest,Job,JobMetadata>
submitJobAsOperationOperationSettings()
Returns the builder for the settings used for calls to submitJobAsOperation.com.google.api.gax.rpc.UnaryCallSettings.Builder<SubmitJobRequest,com.google.longrunning.Operation>
submitJobAsOperationSettings()
Returns the builder for the settings used for calls to submitJobAs.com.google.api.gax.rpc.UnaryCallSettings.Builder<SubmitJobRequest,Job>
submitJobSettings()
Returns the builder for the settings used for calls to submitJob.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.UnaryCallSettings.Builder<UpdateJobRequest,Job>
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(JobControllerSettings settings)
-
Builder
protected Builder(JobControllerStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public JobControllerStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public JobControllerSettings.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.
-
submitJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SubmitJobRequest,Job> submitJobSettings()
Returns the builder for the settings used for calls to submitJob.
-
submitJobAsOperationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SubmitJobRequest,com.google.longrunning.Operation> submitJobAsOperationSettings()
Returns the builder for the settings used for calls to submitJobAs.
-
submitJobAsOperationOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SubmitJobRequest,Job,JobMetadata> submitJobAsOperationOperationSettings()
Returns the builder for the settings used for calls to submitJobAsOperation.
-
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,JobControllerClient.ListJobsPagedResponse> listJobsSettings()
Returns the builder for the settings used for calls to listJobs.
-
updateJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateJobRequest,Job> updateJobSettings()
Returns the builder for the settings used for calls to updateJob.
-
cancelJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CancelJobRequest,Job> cancelJobSettings()
Returns the builder for the settings used for calls to cancelJob.
-
deleteJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobRequest,com.google.protobuf.Empty> deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.
-
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.
-
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.
-
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 JobControllerSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<JobControllerSettings,JobControllerSettings.Builder>
- Throws:
IOException
-
-