# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dataproc_v1/proto/autoscaling_policies.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 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.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.api import client_pb2 as google_dot_api_dot_client__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/dataproc_v1/proto/autoscaling_policies.proto",
    package="google.cloud.dataproc.v1",
    syntax="proto3",
    serialized_options=_b(
        "\n\034com.google.cloud.dataproc.v1B\030AutoscalingPoliciesProtoP\001Z@google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataproc"
    ),
    serialized_pb=_b(
        '\n9google/cloud/dataproc_v1/proto/autoscaling_policies.proto\x12\x18google.cloud.dataproc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/api/client.proto"\xd4\x03\n\x11\x41utoscalingPolicy\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12S\n\x0f\x62\x61sic_algorithm\x18\x03 \x01(\x0b\x32\x33.google.cloud.dataproc.v1.BasicAutoscalingAlgorithmB\x03\xe0\x41\x02H\x00\x12Z\n\rworker_config\x18\x04 \x01(\x0b\x32>.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfigB\x03\xe0\x41\x02\x12\x64\n\x17secondary_worker_config\x18\x05 \x01(\x0b\x32>.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfigB\x03\xe0\x41\x01:|\xea\x41y\n)dataproc.googleapis.com/AutoscalingPolicy\x12Lprojects/{project}/regions/{region}/autoscalingPolicies/{autoscaling_policy}B\x0b\n\talgorithm"\xa4\x01\n\x19\x42\x61sicAutoscalingAlgorithm\x12N\n\x0byarn_config\x18\x01 \x01(\x0b\x32\x34.google.cloud.dataproc.v1.BasicYarnAutoscalingConfigB\x03\xe0\x41\x02\x12\x37\n\x0f\x63ooldown_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01"\xf9\x01\n\x1a\x42\x61sicYarnAutoscalingConfig\x12\x45\n\x1dgraceful_decommission_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12\x1c\n\x0fscale_up_factor\x18\x01 \x01(\x01\x42\x03\xe0\x41\x02\x12\x1e\n\x11scale_down_factor\x18\x02 \x01(\x01\x42\x03\xe0\x41\x02\x12)\n\x1cscale_up_min_worker_fraction\x18\x03 \x01(\x01\x42\x03\xe0\x41\x01\x12+\n\x1escale_down_min_worker_fraction\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01"s\n$InstanceGroupAutoscalingPolicyConfig\x12\x1a\n\rmin_instances\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1a\n\rmax_instances\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x13\n\x06weight\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01"\xa0\x01\n\x1e\x43reateAutoscalingPolicyRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)dataproc.googleapis.com/AutoscalingPolicy\x12;\n\x06policy\x18\x02 \x01(\x0b\x32+.google.cloud.dataproc.v1.AutoscalingPolicy"^\n\x1bGetAutoscalingPolicyRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)dataproc.googleapis.com/AutoscalingPolicy"b\n\x1eUpdateAutoscalingPolicyRequest\x12@\n\x06policy\x18\x01 \x01(\x0b\x32+.google.cloud.dataproc.v1.AutoscalingPolicyB\x03\xe0\x41\x02"a\n\x1e\x44\x65leteAutoscalingPolicyRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)dataproc.googleapis.com/AutoscalingPolicy"\x94\x01\n\x1eListAutoscalingPoliciesRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)dataproc.googleapis.com/AutoscalingPolicy\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01"\x83\x01\n\x1fListAutoscalingPoliciesResponse\x12\x42\n\x08policies\x18\x01 \x03(\x0b\x32+.google.cloud.dataproc.v1.AutoscalingPolicyB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\x32\xfd\n\n\x18\x41utoscalingPolicyService\x12\x8c\x02\n\x17\x43reateAutoscalingPolicy\x12\x38.google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest\x1a+.google.cloud.dataproc.v1.AutoscalingPolicy"\x89\x01\x82\xd3\xe4\x93\x02\x82\x01"7/v1/{parent=projects/*/locations/*}/autoscalingPolicies:\x06policyZ?"5/v1/{parent=projects/*/regions/*}/autoscalingPolicies:\x06policy\x12\x9a\x02\n\x17UpdateAutoscalingPolicy\x12\x38.google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest\x1a+.google.cloud.dataproc.v1.AutoscalingPolicy"\x97\x01\x82\xd3\xe4\x93\x02\x90\x01\x1a>/v1/{policy.name=projects/*/locations/*/autoscalingPolicies/*}:\x06policyZF\x1a</v1/{policy.name=projects/*/regions/*/autoscalingPolicies/*}:\x06policy\x12\xf4\x01\n\x14GetAutoscalingPolicy\x12\x35.google.cloud.dataproc.v1.GetAutoscalingPolicyRequest\x1a+.google.cloud.dataproc.v1.AutoscalingPolicy"x\x82\xd3\xe4\x93\x02r\x12\x37/v1/{name=projects/*/locations/*/autoscalingPolicies/*}Z7\x12\x35/v1/{name=projects/*/regions/*/autoscalingPolicies/*}\x12\x88\x02\n\x17ListAutoscalingPolicies\x12\x38.google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest\x1a\x39.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse"x\x82\xd3\xe4\x93\x02r\x12\x37/v1/{parent=projects/*/locations/*}/autoscalingPoliciesZ7\x12\x35/v1/{parent=projects/*/regions/*}/autoscalingPolicies\x12\xe5\x01\n\x17\x44\x65leteAutoscalingPolicy\x12\x38.google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest\x1a\x16.google.protobuf.Empty"x\x82\xd3\xe4\x93\x02r*7/v1/{name=projects/*/locations/*/autoscalingPolicies/*}Z7*5/v1/{name=projects/*/regions/*/autoscalingPolicies/*}\x1aK\xca\x41\x17\x64\x61taproc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB|\n\x1c\x63om.google.cloud.dataproc.v1B\x18\x41utoscalingPoliciesProtoP\x01Z@google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataprocb\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,
        google_dot_api_dot_resource__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,
        google_dot_api_dot_client__pb2.DESCRIPTOR,
    ],
)


_AUTOSCALINGPOLICY = _descriptor.Descriptor(
    name="AutoscalingPolicy",
    full_name="google.cloud.dataproc.v1.AutoscalingPolicy",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="id",
            full_name="google.cloud.dataproc.v1.AutoscalingPolicy.id",
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.dataproc.v1.AutoscalingPolicy.name",
            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=_b("\340A\003"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="basic_algorithm",
            full_name="google.cloud.dataproc.v1.AutoscalingPolicy.basic_algorithm",
            index=2,
            number=3,
            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="worker_config",
            full_name="google.cloud.dataproc.v1.AutoscalingPolicy.worker_config",
            index=3,
            number=4,
            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="secondary_worker_config",
            full_name="google.cloud.dataproc.v1.AutoscalingPolicy.secondary_worker_config",
            index=4,
            number=5,
            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\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=_b(
        "\352Ay\n)dataproc.googleapis.com/AutoscalingPolicy\022Lprojects/{project}/regions/{region}/autoscalingPolicies/{autoscaling_policy}"
    ),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name="algorithm",
            full_name="google.cloud.dataproc.v1.AutoscalingPolicy.algorithm",
            index=0,
            containing_type=None,
            fields=[],
        )
    ],
    serialized_start=264,
    serialized_end=732,
)


_BASICAUTOSCALINGALGORITHM = _descriptor.Descriptor(
    name="BasicAutoscalingAlgorithm",
    full_name="google.cloud.dataproc.v1.BasicAutoscalingAlgorithm",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="yarn_config",
            full_name="google.cloud.dataproc.v1.BasicAutoscalingAlgorithm.yarn_config",
            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="cooldown_period",
            full_name="google.cloud.dataproc.v1.BasicAutoscalingAlgorithm.cooldown_period",
            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\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=735,
    serialized_end=899,
)


_BASICYARNAUTOSCALINGCONFIG = _descriptor.Descriptor(
    name="BasicYarnAutoscalingConfig",
    full_name="google.cloud.dataproc.v1.BasicYarnAutoscalingConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="graceful_decommission_timeout",
            full_name="google.cloud.dataproc.v1.BasicYarnAutoscalingConfig.graceful_decommission_timeout",
            index=0,
            number=5,
            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="scale_up_factor",
            full_name="google.cloud.dataproc.v1.BasicYarnAutoscalingConfig.scale_up_factor",
            index=1,
            number=1,
            type=1,
            cpp_type=5,
            label=1,
            has_default_value=False,
            default_value=float(0),
            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="scale_down_factor",
            full_name="google.cloud.dataproc.v1.BasicYarnAutoscalingConfig.scale_down_factor",
            index=2,
            number=2,
            type=1,
            cpp_type=5,
            label=1,
            has_default_value=False,
            default_value=float(0),
            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="scale_up_min_worker_fraction",
            full_name="google.cloud.dataproc.v1.BasicYarnAutoscalingConfig.scale_up_min_worker_fraction",
            index=3,
            number=3,
            type=1,
            cpp_type=5,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="scale_down_min_worker_fraction",
            full_name="google.cloud.dataproc.v1.BasicYarnAutoscalingConfig.scale_down_min_worker_fraction",
            index=4,
            number=4,
            type=1,
            cpp_type=5,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=902,
    serialized_end=1151,
)


_INSTANCEGROUPAUTOSCALINGPOLICYCONFIG = _descriptor.Descriptor(
    name="InstanceGroupAutoscalingPolicyConfig",
    full_name="google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="min_instances",
            full_name="google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig.min_instances",
            index=0,
            number=1,
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="max_instances",
            full_name="google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig.max_instances",
            index=1,
            number=2,
            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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="weight",
            full_name="google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig.weight",
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1153,
    serialized_end=1268,
)


_CREATEAUTOSCALINGPOLICYREQUEST = _descriptor.Descriptor(
    name="CreateAutoscalingPolicyRequest",
    full_name="google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest.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)dataproc.googleapis.com/AutoscalingPolicy"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="policy",
            full_name="google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest.policy",
            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=1271,
    serialized_end=1431,
)


_GETAUTOSCALINGPOLICYREQUEST = _descriptor.Descriptor(
    name="GetAutoscalingPolicyRequest",
    full_name="google.cloud.dataproc.v1.GetAutoscalingPolicyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.dataproc.v1.GetAutoscalingPolicyRequest.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)dataproc.googleapis.com/AutoscalingPolicy"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1433,
    serialized_end=1527,
)


_UPDATEAUTOSCALINGPOLICYREQUEST = _descriptor.Descriptor(
    name="UpdateAutoscalingPolicyRequest",
    full_name="google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="policy",
            full_name="google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest.policy",
            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,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1529,
    serialized_end=1627,
)


_DELETEAUTOSCALINGPOLICYREQUEST = _descriptor.Descriptor(
    name="DeleteAutoscalingPolicyRequest",
    full_name="google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest.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)dataproc.googleapis.com/AutoscalingPolicy"
            ),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1629,
    serialized_end=1726,
)


_LISTAUTOSCALINGPOLICIESREQUEST = _descriptor.Descriptor(
    name="ListAutoscalingPoliciesRequest",
    full_name="google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest.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)dataproc.googleapis.com/AutoscalingPolicy"
            ),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_size",
            full_name="google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest.page_size",
            index=1,
            number=2,
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_token",
            full_name="google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest.page_token",
            index=2,
            number=3,
            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\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1729,
    serialized_end=1877,
)


_LISTAUTOSCALINGPOLICIESRESPONSE = _descriptor.Descriptor(
    name="ListAutoscalingPoliciesResponse",
    full_name="google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="policies",
            full_name="google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse.policies",
            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=_b("\340A\003"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="next_page_token",
            full_name="google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse.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=_b("\340A\003"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1880,
    serialized_end=2011,
)

_AUTOSCALINGPOLICY.fields_by_name[
    "basic_algorithm"
].message_type = _BASICAUTOSCALINGALGORITHM
_AUTOSCALINGPOLICY.fields_by_name[
    "worker_config"
].message_type = _INSTANCEGROUPAUTOSCALINGPOLICYCONFIG
_AUTOSCALINGPOLICY.fields_by_name[
    "secondary_worker_config"
].message_type = _INSTANCEGROUPAUTOSCALINGPOLICYCONFIG
_AUTOSCALINGPOLICY.oneofs_by_name["algorithm"].fields.append(
    _AUTOSCALINGPOLICY.fields_by_name["basic_algorithm"]
)
_AUTOSCALINGPOLICY.fields_by_name[
    "basic_algorithm"
].containing_oneof = _AUTOSCALINGPOLICY.oneofs_by_name["algorithm"]
_BASICAUTOSCALINGALGORITHM.fields_by_name[
    "yarn_config"
].message_type = _BASICYARNAUTOSCALINGCONFIG
_BASICAUTOSCALINGALGORITHM.fields_by_name[
    "cooldown_period"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_BASICYARNAUTOSCALINGCONFIG.fields_by_name[
    "graceful_decommission_timeout"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_CREATEAUTOSCALINGPOLICYREQUEST.fields_by_name[
    "policy"
].message_type = _AUTOSCALINGPOLICY
_UPDATEAUTOSCALINGPOLICYREQUEST.fields_by_name[
    "policy"
].message_type = _AUTOSCALINGPOLICY
_LISTAUTOSCALINGPOLICIESRESPONSE.fields_by_name[
    "policies"
].message_type = _AUTOSCALINGPOLICY
DESCRIPTOR.message_types_by_name["AutoscalingPolicy"] = _AUTOSCALINGPOLICY
DESCRIPTOR.message_types_by_name[
    "BasicAutoscalingAlgorithm"
] = _BASICAUTOSCALINGALGORITHM
DESCRIPTOR.message_types_by_name[
    "BasicYarnAutoscalingConfig"
] = _BASICYARNAUTOSCALINGCONFIG
DESCRIPTOR.message_types_by_name[
    "InstanceGroupAutoscalingPolicyConfig"
] = _INSTANCEGROUPAUTOSCALINGPOLICYCONFIG
DESCRIPTOR.message_types_by_name[
    "CreateAutoscalingPolicyRequest"
] = _CREATEAUTOSCALINGPOLICYREQUEST
DESCRIPTOR.message_types_by_name[
    "GetAutoscalingPolicyRequest"
] = _GETAUTOSCALINGPOLICYREQUEST
DESCRIPTOR.message_types_by_name[
    "UpdateAutoscalingPolicyRequest"
] = _UPDATEAUTOSCALINGPOLICYREQUEST
DESCRIPTOR.message_types_by_name[
    "DeleteAutoscalingPolicyRequest"
] = _DELETEAUTOSCALINGPOLICYREQUEST
DESCRIPTOR.message_types_by_name[
    "ListAutoscalingPoliciesRequest"
] = _LISTAUTOSCALINGPOLICIESREQUEST
DESCRIPTOR.message_types_by_name[
    "ListAutoscalingPoliciesResponse"
] = _LISTAUTOSCALINGPOLICIESRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

AutoscalingPolicy = _reflection.GeneratedProtocolMessageType(
    "AutoscalingPolicy",
    (_message.Message,),
    dict(
        DESCRIPTOR=_AUTOSCALINGPOLICY,
        __module__="google.cloud.dataproc_v1.proto.autoscaling_policies_pb2",
        __doc__="""Describes an autoscaling policy for Dataproc cluster autoscaler.
  
  
  Attributes:
      id:
          Required. The policy id.  The id must contain only letters
          (a-z, A-Z), numbers (0-9), underscores (\_), and hyphens (-).
          Cannot begin or end with underscore or hyphen. Must consist of
          between 3 and 50 characters.
      name:
          Output only. The "resource name" of the autoscaling policy, as
          described in
          https://cloud.google.com/apis/design/resource\_names.  -  For
          ``projects.regions.autoscalingPolicies``, the resource name of
          the policy has the following format:    ``projects/{project_id
          }/regions/{region}/autoscalingPolicies/{policy_id}``  -  For
          ``projects.locations.autoscalingPolicies``, the resource name
          of    the policy has the following format:    ``projects/{proj
          ect_id}/locations/{location}/autoscalingPolicies/{policy_id}``
      algorithm:
          Autoscaling algorithm for policy.
      worker_config:
          Required. Describes how the autoscaler will operate for
          primary workers.
      secondary_worker_config:
          Optional. Describes how the autoscaler will operate for
          secondary workers.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.AutoscalingPolicy)
    ),
)
_sym_db.RegisterMessage(AutoscalingPolicy)

BasicAutoscalingAlgorithm = _reflection.GeneratedProtocolMessageType(
    "BasicAutoscalingAlgorithm",
    (_message.Message,),
    dict(
        DESCRIPTOR=_BASICAUTOSCALINGALGORITHM,
        __module__="google.cloud.dataproc_v1.proto.autoscaling_policies_pb2",
        __doc__="""Basic algorithm for autoscaling.
  
  
  Attributes:
      yarn_config:
          Required. YARN autoscaling configuration.
      cooldown_period:
          Optional. Duration between scaling events. A scaling period
          starts after the update operation from the previous event has
          completed.  Bounds: [2m, 1d]. Default: 2m.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.BasicAutoscalingAlgorithm)
    ),
)
_sym_db.RegisterMessage(BasicAutoscalingAlgorithm)

BasicYarnAutoscalingConfig = _reflection.GeneratedProtocolMessageType(
    "BasicYarnAutoscalingConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_BASICYARNAUTOSCALINGCONFIG,
        __module__="google.cloud.dataproc_v1.proto.autoscaling_policies_pb2",
        __doc__="""Basic autoscaling configurations for YARN.
  
  
  Attributes:
      graceful_decommission_timeout:
          Required. Timeout for YARN graceful decommissioning of Node
          Managers. Specifies the duration to wait for jobs to complete
          before forcefully removing workers (and potentially
          interrupting jobs). Only applicable to downscaling operations.
          Bounds: [0s, 1d].
      scale_up_factor:
          Required. Fraction of average pending memory in the last
          cooldown period for which to add workers. A scale-up factor of
          1.0 will result in scaling up so that there is no pending
          memory remaining after the update (more aggressive scaling). A
          scale-up factor closer to 0 will result in a smaller magnitude
          of scaling up (less aggressive scaling).  Bounds: [0.0, 1.0].
      scale_down_factor:
          Required. Fraction of average pending memory in the last
          cooldown period for which to remove workers. A scale-down
          factor of 1 will result in scaling down so that there is no
          available memory remaining after the update (more aggressive
          scaling). A scale-down factor of 0 disables removing workers,
          which can be beneficial for autoscaling a single job.  Bounds:
          [0.0, 1.0].
      scale_up_min_worker_fraction:
          Optional. Minimum scale-up threshold as a fraction of total
          cluster size before scaling occurs. For example, in a
          20-worker cluster, a threshold of 0.1 means the autoscaler
          must recommend at least a 2-worker scale-up for the cluster to
          scale. A threshold of 0 means the autoscaler will scale up on
          any recommended change.  Bounds: [0.0, 1.0]. Default: 0.0.
      scale_down_min_worker_fraction:
          Optional. Minimum scale-down threshold as a fraction of total
          cluster size before scaling occurs. For example, in a
          20-worker cluster, a threshold of 0.1 means the autoscaler
          must recommend at least a 2 worker scale-down for the cluster
          to scale. A threshold of 0 means the autoscaler will scale
          down on any recommended change.  Bounds: [0.0, 1.0]. Default:
          0.0.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.BasicYarnAutoscalingConfig)
    ),
)
_sym_db.RegisterMessage(BasicYarnAutoscalingConfig)

InstanceGroupAutoscalingPolicyConfig = _reflection.GeneratedProtocolMessageType(
    "InstanceGroupAutoscalingPolicyConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_INSTANCEGROUPAUTOSCALINGPOLICYCONFIG,
        __module__="google.cloud.dataproc_v1.proto.autoscaling_policies_pb2",
        __doc__="""Configuration for the size bounds of an instance group, including its
  proportional size to other groups.
  
  
  Attributes:
      min_instances:
          Optional. Minimum number of instances for this group.  Primary
          workers - Bounds: [2, max\_instances]. Default: 2. Secondary
          workers - Bounds: [0, max\_instances]. Default: 0.
      max_instances:
          Required. Maximum number of instances for this group. Required
          for primary workers. Note that by default, clusters will not
          use secondary workers. Required for secondary workers if the
          minimum secondary instances is set.  Primary workers - Bounds:
          [min\_instances, ). Secondary workers - Bounds:
          [min\_instances, ). Default: 0.
      weight:
          Optional. Weight for the instance group, which is used to
          determine the fraction of total workers in the cluster from
          this instance group. For example, if primary workers have
          weight 2, and secondary workers have weight 1, the cluster
          will have approximately 2 primary workers for each secondary
          worker.  The cluster may not reach the specified balance if
          constrained by min/max bounds or other autoscaling settings.
          For example, if ``max_instances`` for secondary workers is 0,
          then only primary workers will be added. The cluster can also
          be out of balance when created.  If weight is not set on any
          instance group, the cluster will default to equal weight for
          all groups: the cluster will attempt to maintain an equal
          number of workers in each group within the configured size
          bounds for each group. If weight is set for one group only,
          the cluster will default to zero weight on the unset group.
          For example if weight is set only on primary workers, the
          cluster will use primary workers only and no secondary
          workers.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig)
    ),
)
_sym_db.RegisterMessage(InstanceGroupAutoscalingPolicyConfig)

CreateAutoscalingPolicyRequest = _reflection.GeneratedProtocolMessageType(
    "CreateAutoscalingPolicyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CREATEAUTOSCALINGPOLICYREQUEST,
        __module__="google.cloud.dataproc_v1.proto.autoscaling_policies_pb2",
        __doc__="""A request to create an autoscaling policy.
  
  
  Attributes:
      parent:
          Required. The "resource name" of the region or location, as
          described in
          https://cloud.google.com/apis/design/resource\_names.  -  For
          ``projects.regions.autoscalingPolicies.create``, the resource
          name of the region has the following format:
          ``projects/{project_id}/regions/{region}``  -  For
          ``projects.locations.autoscalingPolicies.create``, the
          resource    name of the location has the following format:
          ``projects/{project_id}/locations/{location}``
      policy:
          The autoscaling policy to create.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest)
    ),
)
_sym_db.RegisterMessage(CreateAutoscalingPolicyRequest)

GetAutoscalingPolicyRequest = _reflection.GeneratedProtocolMessageType(
    "GetAutoscalingPolicyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETAUTOSCALINGPOLICYREQUEST,
        __module__="google.cloud.dataproc_v1.proto.autoscaling_policies_pb2",
        __doc__="""A request to fetch an autoscaling policy.
  
  
  Attributes:
      name:
          Required. The "resource name" of the autoscaling policy, as
          described in
          https://cloud.google.com/apis/design/resource\_names.  -  For
          ``projects.regions.autoscalingPolicies.get``, the resource
          name    of the policy has the following format:    ``projects/
          {project_id}/regions/{region}/autoscalingPolicies/{policy_id}`
          `  -  For ``projects.locations.autoscalingPolicies.get``, the
          resource name    of the policy has the following format:    ``
          projects/{project_id}/locations/{location}/autoscalingPolicies
          /{policy_id}``
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.GetAutoscalingPolicyRequest)
    ),
)
_sym_db.RegisterMessage(GetAutoscalingPolicyRequest)

UpdateAutoscalingPolicyRequest = _reflection.GeneratedProtocolMessageType(
    "UpdateAutoscalingPolicyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_UPDATEAUTOSCALINGPOLICYREQUEST,
        __module__="google.cloud.dataproc_v1.proto.autoscaling_policies_pb2",
        __doc__="""A request to update an autoscaling policy.
  
  
  Attributes:
      policy:
          Required. The updated autoscaling policy.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest)
    ),
)
_sym_db.RegisterMessage(UpdateAutoscalingPolicyRequest)

DeleteAutoscalingPolicyRequest = _reflection.GeneratedProtocolMessageType(
    "DeleteAutoscalingPolicyRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DELETEAUTOSCALINGPOLICYREQUEST,
        __module__="google.cloud.dataproc_v1.proto.autoscaling_policies_pb2",
        __doc__="""A request to delete an autoscaling policy.
  
  Autoscaling policies in use by one or more clusters will not be deleted.
  
  
  Attributes:
      name:
          Required. The "resource name" of the autoscaling policy, as
          described in
          https://cloud.google.com/apis/design/resource\_names.  -  For
          ``projects.regions.autoscalingPolicies.delete``, the resource
          name of the policy has the following format:    ``projects/{pr
          oject_id}/regions/{region}/autoscalingPolicies/{policy_id}``
          -  For ``projects.locations.autoscalingPolicies.delete``, the
          resource    name of the policy has the following format:    ``
          projects/{project_id}/locations/{location}/autoscalingPolicies
          /{policy_id}``
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest)
    ),
)
_sym_db.RegisterMessage(DeleteAutoscalingPolicyRequest)

ListAutoscalingPoliciesRequest = _reflection.GeneratedProtocolMessageType(
    "ListAutoscalingPoliciesRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTAUTOSCALINGPOLICIESREQUEST,
        __module__="google.cloud.dataproc_v1.proto.autoscaling_policies_pb2",
        __doc__="""A request to list autoscaling policies in a project.
  
  
  Attributes:
      parent:
          Required. The "resource name" of the region or location, as
          described in
          https://cloud.google.com/apis/design/resource\_names.  -  For
          ``projects.regions.autoscalingPolicies.list``, the resource
          name    of the region has the following format:
          ``projects/{project_id}/regions/{region}``  -  For
          ``projects.locations.autoscalingPolicies.list``, the resource
          name of the location has the following format:
          ``projects/{project_id}/locations/{location}``
      page_size:
          Optional. The maximum number of results to return in each
          response. Must be less than or equal to 1000. Defaults to 100.
      page_token:
          Optional. The page token, returned by a previous call, to
          request the next page of results.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest)
    ),
)
_sym_db.RegisterMessage(ListAutoscalingPoliciesRequest)

ListAutoscalingPoliciesResponse = _reflection.GeneratedProtocolMessageType(
    "ListAutoscalingPoliciesResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTAUTOSCALINGPOLICIESRESPONSE,
        __module__="google.cloud.dataproc_v1.proto.autoscaling_policies_pb2",
        __doc__="""A response to a request to list autoscaling policies in a project.
  
  
  Attributes:
      policies:
          Output only. Autoscaling policies list.
      next_page_token:
          Output only. This token is included in the response if there
          are more results to fetch.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse)
    ),
)
_sym_db.RegisterMessage(ListAutoscalingPoliciesResponse)


DESCRIPTOR._options = None
_AUTOSCALINGPOLICY.fields_by_name["name"]._options = None
_AUTOSCALINGPOLICY.fields_by_name["basic_algorithm"]._options = None
_AUTOSCALINGPOLICY.fields_by_name["worker_config"]._options = None
_AUTOSCALINGPOLICY.fields_by_name["secondary_worker_config"]._options = None
_AUTOSCALINGPOLICY._options = None
_BASICAUTOSCALINGALGORITHM.fields_by_name["yarn_config"]._options = None
_BASICAUTOSCALINGALGORITHM.fields_by_name["cooldown_period"]._options = None
_BASICYARNAUTOSCALINGCONFIG.fields_by_name[
    "graceful_decommission_timeout"
]._options = None
_BASICYARNAUTOSCALINGCONFIG.fields_by_name["scale_up_factor"]._options = None
_BASICYARNAUTOSCALINGCONFIG.fields_by_name["scale_down_factor"]._options = None
_BASICYARNAUTOSCALINGCONFIG.fields_by_name[
    "scale_up_min_worker_fraction"
]._options = None
_BASICYARNAUTOSCALINGCONFIG.fields_by_name[
    "scale_down_min_worker_fraction"
]._options = None
_INSTANCEGROUPAUTOSCALINGPOLICYCONFIG.fields_by_name["min_instances"]._options = None
_INSTANCEGROUPAUTOSCALINGPOLICYCONFIG.fields_by_name["max_instances"]._options = None
_INSTANCEGROUPAUTOSCALINGPOLICYCONFIG.fields_by_name["weight"]._options = None
_CREATEAUTOSCALINGPOLICYREQUEST.fields_by_name["parent"]._options = None
_GETAUTOSCALINGPOLICYREQUEST.fields_by_name["name"]._options = None
_UPDATEAUTOSCALINGPOLICYREQUEST.fields_by_name["policy"]._options = None
_DELETEAUTOSCALINGPOLICYREQUEST.fields_by_name["name"]._options = None
_LISTAUTOSCALINGPOLICIESREQUEST.fields_by_name["parent"]._options = None
_LISTAUTOSCALINGPOLICIESREQUEST.fields_by_name["page_size"]._options = None
_LISTAUTOSCALINGPOLICIESREQUEST.fields_by_name["page_token"]._options = None
_LISTAUTOSCALINGPOLICIESRESPONSE.fields_by_name["policies"]._options = None
_LISTAUTOSCALINGPOLICIESRESPONSE.fields_by_name["next_page_token"]._options = None

_AUTOSCALINGPOLICYSERVICE = _descriptor.ServiceDescriptor(
    name="AutoscalingPolicyService",
    full_name="google.cloud.dataproc.v1.AutoscalingPolicyService",
    file=DESCRIPTOR,
    index=0,
    serialized_options=_b(
        "\312A\027dataproc.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform"
    ),
    serialized_start=2014,
    serialized_end=3419,
    methods=[
        _descriptor.MethodDescriptor(
            name="CreateAutoscalingPolicy",
            full_name="google.cloud.dataproc.v1.AutoscalingPolicyService.CreateAutoscalingPolicy",
            index=0,
            containing_service=None,
            input_type=_CREATEAUTOSCALINGPOLICYREQUEST,
            output_type=_AUTOSCALINGPOLICY,
            serialized_options=_b(
                '\202\323\344\223\002\202\001"7/v1/{parent=projects/*/locations/*}/autoscalingPolicies:\006policyZ?"5/v1/{parent=projects/*/regions/*}/autoscalingPolicies:\006policy'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="UpdateAutoscalingPolicy",
            full_name="google.cloud.dataproc.v1.AutoscalingPolicyService.UpdateAutoscalingPolicy",
            index=1,
            containing_service=None,
            input_type=_UPDATEAUTOSCALINGPOLICYREQUEST,
            output_type=_AUTOSCALINGPOLICY,
            serialized_options=_b(
                "\202\323\344\223\002\220\001\032>/v1/{policy.name=projects/*/locations/*/autoscalingPolicies/*}:\006policyZF\032</v1/{policy.name=projects/*/regions/*/autoscalingPolicies/*}:\006policy"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetAutoscalingPolicy",
            full_name="google.cloud.dataproc.v1.AutoscalingPolicyService.GetAutoscalingPolicy",
            index=2,
            containing_service=None,
            input_type=_GETAUTOSCALINGPOLICYREQUEST,
            output_type=_AUTOSCALINGPOLICY,
            serialized_options=_b(
                "\202\323\344\223\002r\0227/v1/{name=projects/*/locations/*/autoscalingPolicies/*}Z7\0225/v1/{name=projects/*/regions/*/autoscalingPolicies/*}"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ListAutoscalingPolicies",
            full_name="google.cloud.dataproc.v1.AutoscalingPolicyService.ListAutoscalingPolicies",
            index=3,
            containing_service=None,
            input_type=_LISTAUTOSCALINGPOLICIESREQUEST,
            output_type=_LISTAUTOSCALINGPOLICIESRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\002r\0227/v1/{parent=projects/*/locations/*}/autoscalingPoliciesZ7\0225/v1/{parent=projects/*/regions/*}/autoscalingPolicies"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="DeleteAutoscalingPolicy",
            full_name="google.cloud.dataproc.v1.AutoscalingPolicyService.DeleteAutoscalingPolicy",
            index=4,
            containing_service=None,
            input_type=_DELETEAUTOSCALINGPOLICYREQUEST,
            output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
            serialized_options=_b(
                "\202\323\344\223\002r*7/v1/{name=projects/*/locations/*/autoscalingPolicies/*}Z7*5/v1/{name=projects/*/regions/*/autoscalingPolicies/*}"
            ),
        ),
    ],
)
_sym_db.RegisterServiceDescriptor(_AUTOSCALINGPOLICYSERVICE)

DESCRIPTOR.services_by_name["AutoscalingPolicyService"] = _AUTOSCALINGPOLICYSERVICE

# @@protoc_insertion_point(module_scope)
