Class JobControllerStubSettings.Builder

    • Method Summary

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

        @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<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.
      • 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.