Class JobsStubSettings.Builder

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Builder()  
      protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)  
      protected Builder​(JobsStubSettings settings)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      JobsStubSettings.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.
      JobsStubSettings 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.
      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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>> unaryMethodSettingsBuilders()  
      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.StubSettings.Builder

        applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • Method Detail

      • applyToAllUnaryMethods

        public JobsStubSettings.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.

      • unaryMethodSettingsBuilders

        public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>> unaryMethodSettingsBuilders()
      • 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

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        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.
      • 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

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        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

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        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

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        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.