# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/tasks_v2/proto/cloudtasks.proto

import sys

_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import client_pb2 as google_dot_api_dot_client__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
from google.cloud.tasks_v2.proto import (
    queue_pb2 as google_dot_cloud_dot_tasks__v2_dot_proto_dot_queue__pb2,
)
from google.cloud.tasks_v2.proto import (
    task_pb2 as google_dot_cloud_dot_tasks__v2_dot_proto_dot_task__pb2,
)
from google.iam.v1 import iam_policy_pb2 as google_dot_iam_dot_v1_dot_iam__policy__pb2
from google.iam.v1 import policy_pb2 as google_dot_iam_dot_v1_dot_policy__pb2
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/tasks_v2/proto/cloudtasks.proto",
    package="google.cloud.tasks.v2",
    syntax="proto3",
    serialized_options=_b(
        "\n\031com.google.cloud.tasks.v2B\017CloudTasksProtoP\001Z:google.golang.org/genproto/googleapis/cloud/tasks/v2;tasks\242\002\005TASKS"
    ),
    serialized_pb=_b(
        '\n,google/cloud/tasks_v2/proto/cloudtasks.proto\x12\x15google.cloud.tasks.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/tasks_v2/proto/queue.proto\x1a&google/cloud/tasks_v2/proto/task.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto"\x83\x01\n\x11ListQueuesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63loudtasks.googleapis.com/Queue\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"[\n\x12ListQueuesResponse\x12,\n\x06queues\x18\x01 \x03(\x0b\x32\x1c.google.cloud.tasks.v2.Queue\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"H\n\x0fGetQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue"\x7f\n\x12\x43reateQueueRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63loudtasks.googleapis.com/Queue\x12\x30\n\x05queue\x18\x02 \x01(\x0b\x32\x1c.google.cloud.tasks.v2.QueueB\x03\xe0\x41\x02"w\n\x12UpdateQueueRequest\x12\x30\n\x05queue\x18\x01 \x01(\x0b\x32\x1c.google.cloud.tasks.v2.QueueB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"K\n\x12\x44\x65leteQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue"J\n\x11PurgeQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue"J\n\x11PauseQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue"K\n\x12ResumeQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue"\xaa\x01\n\x10ListTasksRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12\x37\n\rresponse_view\x18\x02 \x01(\x0e\x32 .google.cloud.tasks.v2.Task.View\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"X\n\x11ListTasksResponse\x12*\n\x05tasks\x18\x01 \x03(\x0b\x32\x1b.google.cloud.tasks.v2.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x7f\n\x0eGetTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x37\n\rresponse_view\x18\x02 \x01(\x0e\x32 .google.cloud.tasks.v2.Task.View"\xb4\x01\n\x11\x43reateTaskRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12.\n\x04task\x18\x02 \x01(\x0b\x32\x1b.google.cloud.tasks.v2.TaskB\x03\xe0\x41\x02\x12\x37\n\rresponse_view\x18\x03 \x01(\x0e\x32 .google.cloud.tasks.v2.Task.View"I\n\x11\x44\x65leteTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task"\x7f\n\x0eRunTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x37\n\rresponse_view\x18\x02 \x01(\x0e\x32 .google.cloud.tasks.v2.Task.View2\xdd\x14\n\nCloudTasks\x12\x9e\x01\n\nListQueues\x12(.google.cloud.tasks.v2.ListQueuesRequest\x1a).google.cloud.tasks.v2.ListQueuesResponse";\x82\xd3\xe4\x93\x02,\x12*/v2/{parent=projects/*/locations/*}/queues\xda\x41\x06parent\x12\x8b\x01\n\x08GetQueue\x12&.google.cloud.tasks.v2.GetQueueRequest\x1a\x1c.google.cloud.tasks.v2.Queue"9\x82\xd3\xe4\x93\x02,\x12*/v2/{name=projects/*/locations/*/queues/*}\xda\x41\x04name\x12\xa0\x01\n\x0b\x43reateQueue\x12).google.cloud.tasks.v2.CreateQueueRequest\x1a\x1c.google.cloud.tasks.v2.Queue"H\x82\xd3\xe4\x93\x02\x33"*/v2/{parent=projects/*/locations/*}/queues:\x05queue\xda\x41\x0cparent,queue\x12\xab\x01\n\x0bUpdateQueue\x12).google.cloud.tasks.v2.UpdateQueueRequest\x1a\x1c.google.cloud.tasks.v2.Queue"S\x82\xd3\xe4\x93\x02\x39\x32\x30/v2/{queue.name=projects/*/locations/*/queues/*}:\x05queue\xda\x41\x11queue,update_mask\x12\x8b\x01\n\x0b\x44\x65leteQueue\x12).google.cloud.tasks.v2.DeleteQueueRequest\x1a\x16.google.protobuf.Empty"9\x82\xd3\xe4\x93\x02,**/v2/{name=projects/*/locations/*/queues/*}\xda\x41\x04name\x12\x98\x01\n\nPurgeQueue\x12(.google.cloud.tasks.v2.PurgeQueueRequest\x1a\x1c.google.cloud.tasks.v2.Queue"B\x82\xd3\xe4\x93\x02\x35"0/v2/{name=projects/*/locations/*/queues/*}:purge:\x01*\xda\x41\x04name\x12\x98\x01\n\nPauseQueue\x12(.google.cloud.tasks.v2.PauseQueueRequest\x1a\x1c.google.cloud.tasks.v2.Queue"B\x82\xd3\xe4\x93\x02\x35"0/v2/{name=projects/*/locations/*/queues/*}:pause:\x01*\xda\x41\x04name\x12\x9b\x01\n\x0bResumeQueue\x12).google.cloud.tasks.v2.ResumeQueueRequest\x1a\x1c.google.cloud.tasks.v2.Queue"C\x82\xd3\xe4\x93\x02\x36"1/v2/{name=projects/*/locations/*/queues/*}:resume:\x01*\xda\x41\x04name\x12\x9c\x01\n\x0cGetIamPolicy\x12".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"Q\x82\xd3\xe4\x93\x02@";/v2/{resource=projects/*/locations/*/queues/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\xa3\x01\n\x0cSetIamPolicy\x12".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"X\x82\xd3\xe4\x93\x02@";/v2/{resource=projects/*/locations/*/queues/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xce\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse"c\x82\xd3\xe4\x93\x02\x46"A/v2/{resource=projects/*/locations/*/queues/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x12\xa3\x01\n\tListTasks\x12\'.google.cloud.tasks.v2.ListTasksRequest\x1a(.google.cloud.tasks.v2.ListTasksResponse"C\x82\xd3\xe4\x93\x02\x34\x12\x32/v2/{parent=projects/*/locations/*/queues/*}/tasks\xda\x41\x06parent\x12\x90\x01\n\x07GetTask\x12%.google.cloud.tasks.v2.GetTaskRequest\x1a\x1b.google.cloud.tasks.v2.Task"A\x82\xd3\xe4\x93\x02\x34\x12\x32/v2/{name=projects/*/locations/*/queues/*/tasks/*}\xda\x41\x04name\x12\xa0\x01\n\nCreateTask\x12(.google.cloud.tasks.v2.CreateTaskRequest\x1a\x1b.google.cloud.tasks.v2.Task"K\x82\xd3\xe4\x93\x02\x37"2/v2/{parent=projects/*/locations/*/queues/*}/tasks:\x01*\xda\x41\x0bparent,task\x12\x91\x01\n\nDeleteTask\x12(.google.cloud.tasks.v2.DeleteTaskRequest\x1a\x16.google.protobuf.Empty"A\x82\xd3\xe4\x93\x02\x34*2/v2/{name=projects/*/locations/*/queues/*/tasks/*}\xda\x41\x04name\x12\x97\x01\n\x07RunTask\x12%.google.cloud.tasks.v2.RunTaskRequest\x1a\x1b.google.cloud.tasks.v2.Task"H\x82\xd3\xe4\x93\x02;"6/v2/{name=projects/*/locations/*/queues/*/tasks/*}:run:\x01*\xda\x41\x04name\x1aM\xca\x41\x19\x63loudtasks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBr\n\x19\x63om.google.cloud.tasks.v2B\x0f\x43loudTasksProtoP\x01Z:google.golang.org/genproto/googleapis/cloud/tasks/v2;tasks\xa2\x02\x05TASKSb\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_api_dot_client__pb2.DESCRIPTOR,
        google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,
        google_dot_api_dot_resource__pb2.DESCRIPTOR,
        google_dot_cloud_dot_tasks__v2_dot_proto_dot_queue__pb2.DESCRIPTOR,
        google_dot_cloud_dot_tasks__v2_dot_proto_dot_task__pb2.DESCRIPTOR,
        google_dot_iam_dot_v1_dot_iam__policy__pb2.DESCRIPTOR,
        google_dot_iam_dot_v1_dot_policy__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,
    ],
)


_LISTQUEUESREQUEST = _descriptor.Descriptor(
    name="ListQueuesRequest",
    full_name="google.cloud.tasks.v2.ListQueuesRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.tasks.v2.ListQueuesRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="filter",
            full_name="google.cloud.tasks.v2.ListQueuesRequest.filter",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_size",
            full_name="google.cloud.tasks.v2.ListQueuesRequest.page_size",
            index=2,
            number=3,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_token",
            full_name="google.cloud.tasks.v2.ListQueuesRequest.page_token",
            index=3,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=391,
    serialized_end=522,
)


_LISTQUEUESRESPONSE = _descriptor.Descriptor(
    name="ListQueuesResponse",
    full_name="google.cloud.tasks.v2.ListQueuesResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="queues",
            full_name="google.cloud.tasks.v2.ListQueuesResponse.queues",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="next_page_token",
            full_name="google.cloud.tasks.v2.ListQueuesResponse.next_page_token",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=524,
    serialized_end=615,
)


_GETQUEUEREQUEST = _descriptor.Descriptor(
    name="GetQueueRequest",
    full_name="google.cloud.tasks.v2.GetQueueRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.tasks.v2.GetQueueRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=617,
    serialized_end=689,
)


_CREATEQUEUEREQUEST = _descriptor.Descriptor(
    name="CreateQueueRequest",
    full_name="google.cloud.tasks.v2.CreateQueueRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.tasks.v2.CreateQueueRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="queue",
            full_name="google.cloud.tasks.v2.CreateQueueRequest.queue",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=691,
    serialized_end=818,
)


_UPDATEQUEUEREQUEST = _descriptor.Descriptor(
    name="UpdateQueueRequest",
    full_name="google.cloud.tasks.v2.UpdateQueueRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="queue",
            full_name="google.cloud.tasks.v2.UpdateQueueRequest.queue",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="update_mask",
            full_name="google.cloud.tasks.v2.UpdateQueueRequest.update_mask",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=820,
    serialized_end=939,
)


_DELETEQUEUEREQUEST = _descriptor.Descriptor(
    name="DeleteQueueRequest",
    full_name="google.cloud.tasks.v2.DeleteQueueRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.tasks.v2.DeleteQueueRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=941,
    serialized_end=1016,
)


_PURGEQUEUEREQUEST = _descriptor.Descriptor(
    name="PurgeQueueRequest",
    full_name="google.cloud.tasks.v2.PurgeQueueRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.tasks.v2.PurgeQueueRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1018,
    serialized_end=1092,
)


_PAUSEQUEUEREQUEST = _descriptor.Descriptor(
    name="PauseQueueRequest",
    full_name="google.cloud.tasks.v2.PauseQueueRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.tasks.v2.PauseQueueRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1094,
    serialized_end=1168,
)


_RESUMEQUEUEREQUEST = _descriptor.Descriptor(
    name="ResumeQueueRequest",
    full_name="google.cloud.tasks.v2.ResumeQueueRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.tasks.v2.ResumeQueueRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1170,
    serialized_end=1245,
)


_LISTTASKSREQUEST = _descriptor.Descriptor(
    name="ListTasksRequest",
    full_name="google.cloud.tasks.v2.ListTasksRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.tasks.v2.ListTasksRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A \022\036cloudtasks.googleapis.com/Task"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="response_view",
            full_name="google.cloud.tasks.v2.ListTasksRequest.response_view",
            index=1,
            number=2,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_size",
            full_name="google.cloud.tasks.v2.ListTasksRequest.page_size",
            index=2,
            number=3,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_token",
            full_name="google.cloud.tasks.v2.ListTasksRequest.page_token",
            index=3,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1248,
    serialized_end=1418,
)


_LISTTASKSRESPONSE = _descriptor.Descriptor(
    name="ListTasksResponse",
    full_name="google.cloud.tasks.v2.ListTasksResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="tasks",
            full_name="google.cloud.tasks.v2.ListTasksResponse.tasks",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="next_page_token",
            full_name="google.cloud.tasks.v2.ListTasksResponse.next_page_token",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1420,
    serialized_end=1508,
)


_GETTASKREQUEST = _descriptor.Descriptor(
    name="GetTaskRequest",
    full_name="google.cloud.tasks.v2.GetTaskRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.tasks.v2.GetTaskRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A \n\036cloudtasks.googleapis.com/Task"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="response_view",
            full_name="google.cloud.tasks.v2.GetTaskRequest.response_view",
            index=1,
            number=2,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1510,
    serialized_end=1637,
)


_CREATETASKREQUEST = _descriptor.Descriptor(
    name="CreateTaskRequest",
    full_name="google.cloud.tasks.v2.CreateTaskRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.tasks.v2.CreateTaskRequest.parent",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A \022\036cloudtasks.googleapis.com/Task"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="task",
            full_name="google.cloud.tasks.v2.CreateTaskRequest.task",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="response_view",
            full_name="google.cloud.tasks.v2.CreateTaskRequest.response_view",
            index=2,
            number=3,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1640,
    serialized_end=1820,
)


_DELETETASKREQUEST = _descriptor.Descriptor(
    name="DeleteTaskRequest",
    full_name="google.cloud.tasks.v2.DeleteTaskRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.tasks.v2.DeleteTaskRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A \n\036cloudtasks.googleapis.com/Task"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1822,
    serialized_end=1895,
)


_RUNTASKREQUEST = _descriptor.Descriptor(
    name="RunTaskRequest",
    full_name="google.cloud.tasks.v2.RunTaskRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.tasks.v2.RunTaskRequest.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b(
                "\340A\002\372A \n\036cloudtasks.googleapis.com/Task"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="response_view",
            full_name="google.cloud.tasks.v2.RunTaskRequest.response_view",
            index=1,
            number=2,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1897,
    serialized_end=2024,
)

_LISTQUEUESRESPONSE.fields_by_name[
    "queues"
].message_type = google_dot_cloud_dot_tasks__v2_dot_proto_dot_queue__pb2._QUEUE
_CREATEQUEUEREQUEST.fields_by_name[
    "queue"
].message_type = google_dot_cloud_dot_tasks__v2_dot_proto_dot_queue__pb2._QUEUE
_UPDATEQUEUEREQUEST.fields_by_name[
    "queue"
].message_type = google_dot_cloud_dot_tasks__v2_dot_proto_dot_queue__pb2._QUEUE
_UPDATEQUEUEREQUEST.fields_by_name[
    "update_mask"
].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
_LISTTASKSREQUEST.fields_by_name[
    "response_view"
].enum_type = google_dot_cloud_dot_tasks__v2_dot_proto_dot_task__pb2._TASK_VIEW
_LISTTASKSRESPONSE.fields_by_name[
    "tasks"
].message_type = google_dot_cloud_dot_tasks__v2_dot_proto_dot_task__pb2._TASK
_GETTASKREQUEST.fields_by_name[
    "response_view"
].enum_type = google_dot_cloud_dot_tasks__v2_dot_proto_dot_task__pb2._TASK_VIEW
_CREATETASKREQUEST.fields_by_name[
    "task"
].message_type = google_dot_cloud_dot_tasks__v2_dot_proto_dot_task__pb2._TASK
_CREATETASKREQUEST.fields_by_name[
    "response_view"
].enum_type = google_dot_cloud_dot_tasks__v2_dot_proto_dot_task__pb2._TASK_VIEW
_RUNTASKREQUEST.fields_by_name[
    "response_view"
].enum_type = google_dot_cloud_dot_tasks__v2_dot_proto_dot_task__pb2._TASK_VIEW
DESCRIPTOR.message_types_by_name["ListQueuesRequest"] = _LISTQUEUESREQUEST
DESCRIPTOR.message_types_by_name["ListQueuesResponse"] = _LISTQUEUESRESPONSE
DESCRIPTOR.message_types_by_name["GetQueueRequest"] = _GETQUEUEREQUEST
DESCRIPTOR.message_types_by_name["CreateQueueRequest"] = _CREATEQUEUEREQUEST
DESCRIPTOR.message_types_by_name["UpdateQueueRequest"] = _UPDATEQUEUEREQUEST
DESCRIPTOR.message_types_by_name["DeleteQueueRequest"] = _DELETEQUEUEREQUEST
DESCRIPTOR.message_types_by_name["PurgeQueueRequest"] = _PURGEQUEUEREQUEST
DESCRIPTOR.message_types_by_name["PauseQueueRequest"] = _PAUSEQUEUEREQUEST
DESCRIPTOR.message_types_by_name["ResumeQueueRequest"] = _RESUMEQUEUEREQUEST
DESCRIPTOR.message_types_by_name["ListTasksRequest"] = _LISTTASKSREQUEST
DESCRIPTOR.message_types_by_name["ListTasksResponse"] = _LISTTASKSRESPONSE
DESCRIPTOR.message_types_by_name["GetTaskRequest"] = _GETTASKREQUEST
DESCRIPTOR.message_types_by_name["CreateTaskRequest"] = _CREATETASKREQUEST
DESCRIPTOR.message_types_by_name["DeleteTaskRequest"] = _DELETETASKREQUEST
DESCRIPTOR.message_types_by_name["RunTaskRequest"] = _RUNTASKREQUEST
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ListQueuesRequest = _reflection.GeneratedProtocolMessageType(
    "ListQueuesRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTQUEUESREQUEST,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Request message for
  [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  
  
  Attributes:
      parent:
          Required. The location name. For example:
          ``projects/PROJECT_ID/locations/LOCATION_ID``
      filter:
          ``filter`` can be used to specify a subset of queues. Any
          [Queue][google.cloud.tasks.v2.Queue] field can be used as a
          filter and several operators as supported. For example: ``<=,
          <, >=, >, !=, =, :``. The filter syntax is the same as
          described in `Stackdriver's Advanced Logs Filters <https://clo
          ud.google.com/logging/docs/view/advanced_filters>`_.  Sample
          filter "state: PAUSED".  Note that using filters might cause
          fewer queues than the requested page\_size to be returned.
      page_size:
          Requested page size.  The maximum page size is 9800. If
          unspecified, the page size will be the maximum. Fewer queues
          than requested might be returned, even if more queues exist;
          use the [next\_page\_token][google.cloud.tasks.v2.ListQueuesRe
          sponse.next\_page\_token] in the response to determine if more
          queues exist.
      page_token:
          A token identifying the page of results to return.  To request
          the first page results, page\_token must be empty. To request
          the next page of results, page\_token must be the value of [ne
          xt\_page\_token][google.cloud.tasks.v2.ListQueuesResponse.next
          \_page\_token] returned from the previous call to
          [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues]
          method. It is an error to switch the value of the
          [filter][google.cloud.tasks.v2.ListQueuesRequest.filter] while
          iterating through pages.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesRequest)
    ),
)
_sym_db.RegisterMessage(ListQueuesRequest)

ListQueuesResponse = _reflection.GeneratedProtocolMessageType(
    "ListQueuesResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTQUEUESRESPONSE,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Response message for
  [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  
  
  Attributes:
      queues:
          The list of queues.
      next_page_token:
          A token to retrieve next page of results.  To return the next
          page of results, call
          [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues] with
          this value as the [page\_token][google.cloud.tasks.v2.ListQueu
          esRequest.page\_token].  If the next\_page\_token is empty,
          there are no more results.  The page token is valid for only 2
          hours.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesResponse)
    ),
)
_sym_db.RegisterMessage(ListQueuesResponse)

GetQueueRequest = _reflection.GeneratedProtocolMessageType(
    "GetQueueRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETQUEUEREQUEST,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Request message for
  [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
  
  
  Attributes:
      name:
          Required. The resource name of the queue. For example:
          ``projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID``
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetQueueRequest)
    ),
)
_sym_db.RegisterMessage(GetQueueRequest)

CreateQueueRequest = _reflection.GeneratedProtocolMessageType(
    "CreateQueueRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CREATEQUEUEREQUEST,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Request message for
  [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
  
  
  Attributes:
      parent:
          Required. The location name in which the queue will be
          created. For example:
          ``projects/PROJECT_ID/locations/LOCATION_ID``  The list of
          allowed locations can be obtained by calling Cloud Tasks'
          implementation of [ListLocations][google.cloud.location.Locati
          ons.ListLocations].
      queue:
          Required. The queue to create.  [Queue's
          name][google.cloud.tasks.v2.Queue.name] cannot be the same as
          an existing queue.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateQueueRequest)
    ),
)
_sym_db.RegisterMessage(CreateQueueRequest)

UpdateQueueRequest = _reflection.GeneratedProtocolMessageType(
    "UpdateQueueRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_UPDATEQUEUEREQUEST,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Request message for
  [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
  
  
  Attributes:
      queue:
          Required. The queue to create or update.  The queue's
          [name][google.cloud.tasks.v2.Queue.name] must be specified.
          Output only fields cannot be modified using UpdateQueue. Any
          value specified for an output only field will be ignored. The
          queue's [name][google.cloud.tasks.v2.Queue.name] cannot be
          changed.
      update_mask:
          A mask used to specify which fields of the queue are being
          updated.  If empty, then all fields will be updated.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.UpdateQueueRequest)
    ),
)
_sym_db.RegisterMessage(UpdateQueueRequest)

DeleteQueueRequest = _reflection.GeneratedProtocolMessageType(
    "DeleteQueueRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DELETEQUEUEREQUEST,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Request message for
  [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
  
  
  Attributes:
      name:
          Required. The queue name. For example:
          ``projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID``
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteQueueRequest)
    ),
)
_sym_db.RegisterMessage(DeleteQueueRequest)

PurgeQueueRequest = _reflection.GeneratedProtocolMessageType(
    "PurgeQueueRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_PURGEQUEUEREQUEST,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Request message for
  [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
  
  
  Attributes:
      name:
          Required. The queue name. For example:
          ``projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID``
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PurgeQueueRequest)
    ),
)
_sym_db.RegisterMessage(PurgeQueueRequest)

PauseQueueRequest = _reflection.GeneratedProtocolMessageType(
    "PauseQueueRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_PAUSEQUEUEREQUEST,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Request message for
  [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
  
  
  Attributes:
      name:
          Required. The queue name. For example:
          ``projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID``
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PauseQueueRequest)
    ),
)
_sym_db.RegisterMessage(PauseQueueRequest)

ResumeQueueRequest = _reflection.GeneratedProtocolMessageType(
    "ResumeQueueRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_RESUMEQUEUEREQUEST,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Request message for
  [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
  
  
  Attributes:
      name:
          Required. The queue name. For example:
          ``projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID``
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ResumeQueueRequest)
    ),
)
_sym_db.RegisterMessage(ResumeQueueRequest)

ListTasksRequest = _reflection.GeneratedProtocolMessageType(
    "ListTasksRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTTASKSREQUEST,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Request message for listing tasks using
  [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  
  
  Attributes:
      parent:
          Required. The queue name. For example:
          ``projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID``
      response_view:
          The response\_view specifies which subset of the
          [Task][google.cloud.tasks.v2.Task] will be returned.  By
          default response\_view is
          [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; not all
          information is retrieved by default because some data, such as
          payloads, might be desirable to return only when needed
          because of its large size or because of the sensitivity of
          data that it contains.  Authorization for
          [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
          ``cloudtasks.tasks.fullView`` `Google IAM
          <https://cloud.google.com/iam/>`_ permission on the
          [Task][google.cloud.tasks.v2.Task] resource.
      page_size:
          Maximum page size.  Fewer tasks than requested might be
          returned, even if more tasks exist; use [next\_page\_token][go
          ogle.cloud.tasks.v2.ListTasksResponse.next\_page\_token] in
          the response to determine if more tasks exist.  The maximum
          page size is 1000. If unspecified, the page size will be the
          maximum.
      page_token:
          A token identifying the page of results to return.  To request
          the first page results, page\_token must be empty. To request
          the next page of results, page\_token must be the value of [ne
          xt\_page\_token][google.cloud.tasks.v2.ListTasksResponse.next\
          _page\_token] returned from the previous call to
          [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks]
          method.  The page token is valid for only 2 hours.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksRequest)
    ),
)
_sym_db.RegisterMessage(ListTasksRequest)

ListTasksResponse = _reflection.GeneratedProtocolMessageType(
    "ListTasksResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTTASKSRESPONSE,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Response message for listing tasks using
  [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  
  
  Attributes:
      tasks:
          The list of tasks.
      next_page_token:
          A token to retrieve next page of results.  To return the next
          page of results, call
          [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks] with
          this value as the [page\_token][google.cloud.tasks.v2.ListTask
          sRequest.page\_token].  If the next\_page\_token is empty,
          there are no more results.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksResponse)
    ),
)
_sym_db.RegisterMessage(ListTasksResponse)

GetTaskRequest = _reflection.GeneratedProtocolMessageType(
    "GetTaskRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETTASKREQUEST,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Request message for getting a task using
  [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
  
  
  Attributes:
      name:
          Required. The task name. For example: ``projects/PROJECT_ID/lo
          cations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID``
      response_view:
          The response\_view specifies which subset of the
          [Task][google.cloud.tasks.v2.Task] will be returned.  By
          default response\_view is
          [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; not all
          information is retrieved by default because some data, such as
          payloads, might be desirable to return only when needed
          because of its large size or because of the sensitivity of
          data that it contains.  Authorization for
          [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
          ``cloudtasks.tasks.fullView`` `Google IAM
          <https://cloud.google.com/iam/>`_ permission on the
          [Task][google.cloud.tasks.v2.Task] resource.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetTaskRequest)
    ),
)
_sym_db.RegisterMessage(GetTaskRequest)

CreateTaskRequest = _reflection.GeneratedProtocolMessageType(
    "CreateTaskRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CREATETASKREQUEST,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Request message for
  [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
  
  
  Attributes:
      parent:
          Required. The queue name. For example:
          ``projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID``
          The queue must already exist.
      task:
          Required. The task to add.  Task names have the following
          format: ``projects/PROJECT_ID/locations/LOCATION_ID/queues/QUE
          UE_ID/tasks/TASK_ID``. The user can optionally specify a task
          [name][google.cloud.tasks.v2.Task.name]. If a name is not
          specified then the system will generate a random unique task
          id, which will be set in the task returned in the
          [response][google.cloud.tasks.v2.Task.name].  If
          [schedule\_time][google.cloud.tasks.v2.Task.schedule\_time] is
          not set or is in the past then Cloud Tasks will set it to the
          current time.  Task De-duplication:  Explicitly specifying a
          task ID enables task de-duplication. If a task's ID is
          identical to that of an existing task or a task that was
          deleted or executed recently then the call will fail with
          [ALREADY\_EXISTS][google.rpc.Code.ALREADY\_EXISTS]. If the
          task's queue was created using Cloud Tasks, then another task
          with the same name can't be created for ~1hour after the
          original task was deleted or executed. If the task's queue was
          created using queue.yaml or queue.xml, then another task with
          the same name can't be created for ~9days after the original
          task was deleted or executed.  Because there is an extra
          lookup cost to identify duplicate task names, these
          [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask]
          calls have significantly increased latency. Using hashed
          strings for the task id or for the prefix of the task id is
          recommended. Choosing task ids that are sequential or have
          sequential prefixes, for example using a timestamp, causes an
          increase in latency and error rates in all task commands. The
          infrastructure relies on an approximately uniform distribution
          of task ids to store and serve tasks efficiently.
      response_view:
          The response\_view specifies which subset of the
          [Task][google.cloud.tasks.v2.Task] will be returned.  By
          default response\_view is
          [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; not all
          information is retrieved by default because some data, such as
          payloads, might be desirable to return only when needed
          because of its large size or because of the sensitivity of
          data that it contains.  Authorization for
          [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
          ``cloudtasks.tasks.fullView`` `Google IAM
          <https://cloud.google.com/iam/>`_ permission on the
          [Task][google.cloud.tasks.v2.Task] resource.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateTaskRequest)
    ),
)
_sym_db.RegisterMessage(CreateTaskRequest)

DeleteTaskRequest = _reflection.GeneratedProtocolMessageType(
    "DeleteTaskRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DELETETASKREQUEST,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Request message for deleting a task using
  [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
  
  
  Attributes:
      name:
          Required. The task name. For example: ``projects/PROJECT_ID/lo
          cations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID``
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteTaskRequest)
    ),
)
_sym_db.RegisterMessage(DeleteTaskRequest)

RunTaskRequest = _reflection.GeneratedProtocolMessageType(
    "RunTaskRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_RUNTASKREQUEST,
        __module__="google.cloud.tasks_v2.proto.cloudtasks_pb2",
        __doc__="""Request message for forcing a task to run now using
  [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
  
  
  Attributes:
      name:
          Required. The task name. For example: ``projects/PROJECT_ID/lo
          cations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID``
      response_view:
          The response\_view specifies which subset of the
          [Task][google.cloud.tasks.v2.Task] will be returned.  By
          default response\_view is
          [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; not all
          information is retrieved by default because some data, such as
          payloads, might be desirable to return only when needed
          because of its large size or because of the sensitivity of
          data that it contains.  Authorization for
          [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
          ``cloudtasks.tasks.fullView`` `Google IAM
          <https://cloud.google.com/iam/>`_ permission on the
          [Task][google.cloud.tasks.v2.Task] resource.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RunTaskRequest)
    ),
)
_sym_db.RegisterMessage(RunTaskRequest)


DESCRIPTOR._options = None
_LISTQUEUESREQUEST.fields_by_name["parent"]._options = None
_GETQUEUEREQUEST.fields_by_name["name"]._options = None
_CREATEQUEUEREQUEST.fields_by_name["parent"]._options = None
_CREATEQUEUEREQUEST.fields_by_name["queue"]._options = None
_UPDATEQUEUEREQUEST.fields_by_name["queue"]._options = None
_DELETEQUEUEREQUEST.fields_by_name["name"]._options = None
_PURGEQUEUEREQUEST.fields_by_name["name"]._options = None
_PAUSEQUEUEREQUEST.fields_by_name["name"]._options = None
_RESUMEQUEUEREQUEST.fields_by_name["name"]._options = None
_LISTTASKSREQUEST.fields_by_name["parent"]._options = None
_GETTASKREQUEST.fields_by_name["name"]._options = None
_CREATETASKREQUEST.fields_by_name["parent"]._options = None
_CREATETASKREQUEST.fields_by_name["task"]._options = None
_DELETETASKREQUEST.fields_by_name["name"]._options = None
_RUNTASKREQUEST.fields_by_name["name"]._options = None

_CLOUDTASKS = _descriptor.ServiceDescriptor(
    name="CloudTasks",
    full_name="google.cloud.tasks.v2.CloudTasks",
    file=DESCRIPTOR,
    index=0,
    serialized_options=_b(
        "\312A\031cloudtasks.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform"
    ),
    serialized_start=2027,
    serialized_end=4680,
    methods=[
        _descriptor.MethodDescriptor(
            name="ListQueues",
            full_name="google.cloud.tasks.v2.CloudTasks.ListQueues",
            index=0,
            containing_service=None,
            input_type=_LISTQUEUESREQUEST,
            output_type=_LISTQUEUESRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\002,\022*/v2/{parent=projects/*/locations/*}/queues\332A\006parent"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetQueue",
            full_name="google.cloud.tasks.v2.CloudTasks.GetQueue",
            index=1,
            containing_service=None,
            input_type=_GETQUEUEREQUEST,
            output_type=google_dot_cloud_dot_tasks__v2_dot_proto_dot_queue__pb2._QUEUE,
            serialized_options=_b(
                "\202\323\344\223\002,\022*/v2/{name=projects/*/locations/*/queues/*}\332A\004name"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="CreateQueue",
            full_name="google.cloud.tasks.v2.CloudTasks.CreateQueue",
            index=2,
            containing_service=None,
            input_type=_CREATEQUEUEREQUEST,
            output_type=google_dot_cloud_dot_tasks__v2_dot_proto_dot_queue__pb2._QUEUE,
            serialized_options=_b(
                '\202\323\344\223\0023"*/v2/{parent=projects/*/locations/*}/queues:\005queue\332A\014parent,queue'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="UpdateQueue",
            full_name="google.cloud.tasks.v2.CloudTasks.UpdateQueue",
            index=3,
            containing_service=None,
            input_type=_UPDATEQUEUEREQUEST,
            output_type=google_dot_cloud_dot_tasks__v2_dot_proto_dot_queue__pb2._QUEUE,
            serialized_options=_b(
                "\202\323\344\223\002920/v2/{queue.name=projects/*/locations/*/queues/*}:\005queue\332A\021queue,update_mask"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="DeleteQueue",
            full_name="google.cloud.tasks.v2.CloudTasks.DeleteQueue",
            index=4,
            containing_service=None,
            input_type=_DELETEQUEUEREQUEST,
            output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
            serialized_options=_b(
                "\202\323\344\223\002,**/v2/{name=projects/*/locations/*/queues/*}\332A\004name"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="PurgeQueue",
            full_name="google.cloud.tasks.v2.CloudTasks.PurgeQueue",
            index=5,
            containing_service=None,
            input_type=_PURGEQUEUEREQUEST,
            output_type=google_dot_cloud_dot_tasks__v2_dot_proto_dot_queue__pb2._QUEUE,
            serialized_options=_b(
                '\202\323\344\223\0025"0/v2/{name=projects/*/locations/*/queues/*}:purge:\001*\332A\004name'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="PauseQueue",
            full_name="google.cloud.tasks.v2.CloudTasks.PauseQueue",
            index=6,
            containing_service=None,
            input_type=_PAUSEQUEUEREQUEST,
            output_type=google_dot_cloud_dot_tasks__v2_dot_proto_dot_queue__pb2._QUEUE,
            serialized_options=_b(
                '\202\323\344\223\0025"0/v2/{name=projects/*/locations/*/queues/*}:pause:\001*\332A\004name'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ResumeQueue",
            full_name="google.cloud.tasks.v2.CloudTasks.ResumeQueue",
            index=7,
            containing_service=None,
            input_type=_RESUMEQUEUEREQUEST,
            output_type=google_dot_cloud_dot_tasks__v2_dot_proto_dot_queue__pb2._QUEUE,
            serialized_options=_b(
                '\202\323\344\223\0026"1/v2/{name=projects/*/locations/*/queues/*}:resume:\001*\332A\004name'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetIamPolicy",
            full_name="google.cloud.tasks.v2.CloudTasks.GetIamPolicy",
            index=8,
            containing_service=None,
            input_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._GETIAMPOLICYREQUEST,
            output_type=google_dot_iam_dot_v1_dot_policy__pb2._POLICY,
            serialized_options=_b(
                '\202\323\344\223\002@";/v2/{resource=projects/*/locations/*/queues/*}:getIamPolicy:\001*\332A\010resource'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="SetIamPolicy",
            full_name="google.cloud.tasks.v2.CloudTasks.SetIamPolicy",
            index=9,
            containing_service=None,
            input_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._SETIAMPOLICYREQUEST,
            output_type=google_dot_iam_dot_v1_dot_policy__pb2._POLICY,
            serialized_options=_b(
                '\202\323\344\223\002@";/v2/{resource=projects/*/locations/*/queues/*}:setIamPolicy:\001*\332A\017resource,policy'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="TestIamPermissions",
            full_name="google.cloud.tasks.v2.CloudTasks.TestIamPermissions",
            index=10,
            containing_service=None,
            input_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._TESTIAMPERMISSIONSREQUEST,
            output_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._TESTIAMPERMISSIONSRESPONSE,
            serialized_options=_b(
                '\202\323\344\223\002F"A/v2/{resource=projects/*/locations/*/queues/*}:testIamPermissions:\001*\332A\024resource,permissions'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ListTasks",
            full_name="google.cloud.tasks.v2.CloudTasks.ListTasks",
            index=11,
            containing_service=None,
            input_type=_LISTTASKSREQUEST,
            output_type=_LISTTASKSRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\0024\0222/v2/{parent=projects/*/locations/*/queues/*}/tasks\332A\006parent"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetTask",
            full_name="google.cloud.tasks.v2.CloudTasks.GetTask",
            index=12,
            containing_service=None,
            input_type=_GETTASKREQUEST,
            output_type=google_dot_cloud_dot_tasks__v2_dot_proto_dot_task__pb2._TASK,
            serialized_options=_b(
                "\202\323\344\223\0024\0222/v2/{name=projects/*/locations/*/queues/*/tasks/*}\332A\004name"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="CreateTask",
            full_name="google.cloud.tasks.v2.CloudTasks.CreateTask",
            index=13,
            containing_service=None,
            input_type=_CREATETASKREQUEST,
            output_type=google_dot_cloud_dot_tasks__v2_dot_proto_dot_task__pb2._TASK,
            serialized_options=_b(
                '\202\323\344\223\0027"2/v2/{parent=projects/*/locations/*/queues/*}/tasks:\001*\332A\013parent,task'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="DeleteTask",
            full_name="google.cloud.tasks.v2.CloudTasks.DeleteTask",
            index=14,
            containing_service=None,
            input_type=_DELETETASKREQUEST,
            output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
            serialized_options=_b(
                "\202\323\344\223\0024*2/v2/{name=projects/*/locations/*/queues/*/tasks/*}\332A\004name"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="RunTask",
            full_name="google.cloud.tasks.v2.CloudTasks.RunTask",
            index=15,
            containing_service=None,
            input_type=_RUNTASKREQUEST,
            output_type=google_dot_cloud_dot_tasks__v2_dot_proto_dot_task__pb2._TASK,
            serialized_options=_b(
                '\202\323\344\223\002;"6/v2/{name=projects/*/locations/*/queues/*/tasks/*}:run:\001*\332A\004name'
            ),
        ),
    ],
)
_sym_db.RegisterServiceDescriptor(_CLOUDTASKS)

DESCRIPTOR.services_by_name["CloudTasks"] = _CLOUDTASKS

# @@protoc_insertion_point(module_scope)
