Class CloudTasksSettings.Builder

    • Method Detail

      • applyToAllUnaryMethods

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

      • getQueueSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetQueueRequest,​Queue> getQueueSettings()
        Returns the builder for the settings used for calls to getQueue.
      • createQueueSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateQueueRequest,​Queue> createQueueSettings()
        Returns the builder for the settings used for calls to createQueue.
      • updateQueueSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateQueueRequest,​Queue> updateQueueSettings()
        Returns the builder for the settings used for calls to updateQueue.
      • deleteQueueSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteQueueRequest,​com.google.protobuf.Empty> deleteQueueSettings()
        Returns the builder for the settings used for calls to deleteQueue.
      • purgeQueueSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<PurgeQueueRequest,​Queue> purgeQueueSettings()
        Returns the builder for the settings used for calls to purgeQueue.
      • pauseQueueSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<PauseQueueRequest,​Queue> pauseQueueSettings()
        Returns the builder for the settings used for calls to pauseQueue.
      • resumeQueueSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResumeQueueRequest,​Queue> resumeQueueSettings()
        Returns the builder for the settings used for calls to resumeQueue.
      • 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.
      • getTaskSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTaskRequest,​Task> getTaskSettings()
        Returns the builder for the settings used for calls to getTask.
      • createTaskSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTaskRequest,​Task> createTaskSettings()
        Returns the builder for the settings used for calls to createTask.
      • deleteTaskSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTaskRequest,​com.google.protobuf.Empty> deleteTaskSettings()
        Returns the builder for the settings used for calls to deleteTask.
      • runTaskSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RunTaskRequest,​Task> runTaskSettings()
        Returns the builder for the settings used for calls to runTask.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​CloudTasksClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the builder for the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the builder for the settings used for calls to getLocation.