# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dataproc_v1beta2/proto/clusters.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.cloud.dataproc_v1beta2.proto import (
    operations_pb2 as google_dot_cloud_dot_dataproc__v1beta2_dot_proto_dot_operations__pb2,
)
from google.cloud.dataproc_v1beta2.proto import (
    shared_pb2 as google_dot_cloud_dot_dataproc__v1beta2_dot_proto_dot_shared__pb2,
)
from google.longrunning import (
    operations_pb2 as google_dot_longrunning_dot_operations__pb2,
)
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/dataproc_v1beta2/proto/clusters.proto",
    package="google.cloud.dataproc.v1beta2",
    syntax="proto3",
    serialized_options=_b(
        "\n!com.google.cloud.dataproc.v1beta2B\rClustersProtoP\001ZEgoogle.golang.org/genproto/googleapis/cloud/dataproc/v1beta2;dataproc"
    ),
    serialized_pb=_b(
        '\n2google/cloud/dataproc_v1beta2/proto/clusters.proto\x12\x1dgoogle.cloud.dataproc.v1beta2\x1a\x1cgoogle/api/annotations.proto\x1a\x34google/cloud/dataproc_v1beta2/proto/operations.proto\x1a\x30google/cloud/dataproc_v1beta2/proto/shared.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xbe\x03\n\x07\x43luster\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x14\n\x0c\x63luster_name\x18\x02 \x01(\t\x12<\n\x06\x63onfig\x18\x03 \x01(\x0b\x32,.google.cloud.dataproc.v1beta2.ClusterConfig\x12\x42\n\x06labels\x18\x08 \x03(\x0b\x32\x32.google.cloud.dataproc.v1beta2.Cluster.LabelsEntry\x12<\n\x06status\x18\x04 \x01(\x0b\x32,.google.cloud.dataproc.v1beta2.ClusterStatus\x12\x44\n\x0estatus_history\x18\x07 \x03(\x0b\x32,.google.cloud.dataproc.v1beta2.ClusterStatus\x12\x14\n\x0c\x63luster_uuid\x18\x06 \x01(\t\x12>\n\x07metrics\x18\t \x01(\x0b\x32-.google.cloud.dataproc.v1beta2.ClusterMetrics\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xf3\x06\n\rClusterConfig\x12\x15\n\rconfig_bucket\x18\x01 \x01(\t\x12K\n\x12gce_cluster_config\x18\x08 \x01(\x0b\x32/.google.cloud.dataproc.v1beta2.GceClusterConfig\x12I\n\rmaster_config\x18\t \x01(\x0b\x32\x32.google.cloud.dataproc.v1beta2.InstanceGroupConfig\x12I\n\rworker_config\x18\n \x01(\x0b\x32\x32.google.cloud.dataproc.v1beta2.InstanceGroupConfig\x12S\n\x17secondary_worker_config\x18\x0c \x01(\x0b\x32\x32.google.cloud.dataproc.v1beta2.InstanceGroupConfig\x12\x46\n\x0fsoftware_config\x18\r \x01(\x0b\x32-.google.cloud.dataproc.v1beta2.SoftwareConfig\x12H\n\x10lifecycle_config\x18\x0e \x01(\x0b\x32..google.cloud.dataproc.v1beta2.LifecycleConfig\x12W\n\x16initialization_actions\x18\x0b \x03(\x0b\x32\x37.google.cloud.dataproc.v1beta2.NodeInitializationAction\x12J\n\x11\x65ncryption_config\x18\x0f \x01(\x0b\x32/.google.cloud.dataproc.v1beta2.EncryptionConfig\x12L\n\x12\x61utoscaling_config\x18\x10 \x01(\x0b\x32\x30.google.cloud.dataproc.v1beta2.AutoscalingConfig\x12\x46\n\x0f\x65ndpoint_config\x18\x11 \x01(\x0b\x32-.google.cloud.dataproc.v1beta2.EndpointConfig\x12\x46\n\x0fsecurity_config\x18\x12 \x01(\x0b\x32-.google.cloud.dataproc.v1beta2.SecurityConfig"\xb5\x01\n\x0e\x45ndpointConfig\x12P\n\nhttp_ports\x18\x01 \x03(\x0b\x32<.google.cloud.dataproc.v1beta2.EndpointConfig.HttpPortsEntry\x12\x1f\n\x17\x65nable_http_port_access\x18\x02 \x01(\x08\x1a\x30\n\x0eHttpPortsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\'\n\x11\x41utoscalingConfig\x12\x12\n\npolicy_uri\x18\x01 \x01(\t"/\n\x10\x45ncryptionConfig\x12\x1b\n\x13gce_pd_kms_key_name\x18\x01 \x01(\t"\x86\x03\n\x10GceClusterConfig\x12\x10\n\x08zone_uri\x18\x01 \x01(\t\x12\x13\n\x0bnetwork_uri\x18\x02 \x01(\t\x12\x16\n\x0esubnetwork_uri\x18\x06 \x01(\t\x12\x18\n\x10internal_ip_only\x18\x07 \x01(\x08\x12\x17\n\x0fservice_account\x18\x08 \x01(\t\x12\x1e\n\x16service_account_scopes\x18\x03 \x03(\t\x12\x0c\n\x04tags\x18\x04 \x03(\t\x12O\n\x08metadata\x18\x05 \x03(\x0b\x32=.google.cloud.dataproc.v1beta2.GceClusterConfig.MetadataEntry\x12P\n\x14reservation_affinity\x18\x0b \x01(\x0b\x32\x32.google.cloud.dataproc.v1beta2.ReservationAffinity\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xfc\x02\n\x13InstanceGroupConfig\x12\x15\n\rnum_instances\x18\x01 \x01(\x05\x12\x16\n\x0einstance_names\x18\x02 \x03(\t\x12\x11\n\timage_uri\x18\x03 \x01(\t\x12\x18\n\x10machine_type_uri\x18\x04 \x01(\t\x12>\n\x0b\x64isk_config\x18\x05 \x01(\x0b\x32).google.cloud.dataproc.v1beta2.DiskConfig\x12\x16\n\x0eis_preemptible\x18\x06 \x01(\x08\x12O\n\x14managed_group_config\x18\x07 \x01(\x0b\x32\x31.google.cloud.dataproc.v1beta2.ManagedGroupConfig\x12\x46\n\x0c\x61\x63\x63\x65lerators\x18\x08 \x03(\x0b\x32\x30.google.cloud.dataproc.v1beta2.AcceleratorConfig\x12\x18\n\x10min_cpu_platform\x18\t \x01(\t"Y\n\x12ManagedGroupConfig\x12\x1e\n\x16instance_template_name\x18\x01 \x01(\t\x12#\n\x1binstance_group_manager_name\x18\x02 \x01(\t"L\n\x11\x41\x63\x63\x65leratorConfig\x12\x1c\n\x14\x61\x63\x63\x65lerator_type_uri\x18\x01 \x01(\t\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x02 \x01(\x05"W\n\nDiskConfig\x12\x16\n\x0e\x62oot_disk_type\x18\x03 \x01(\t\x12\x19\n\x11\x62oot_disk_size_gb\x18\x01 \x01(\x05\x12\x16\n\x0enum_local_ssds\x18\x02 \x01(\x05"\xba\x01\n\x0fLifecycleConfig\x12\x32\n\x0fidle_delete_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x10\x61uto_delete_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\x34\n\x0f\x61uto_delete_ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x42\x05\n\x03ttl"X\n\x0eSecurityConfig\x12\x46\n\x0fkerberos_config\x18\x01 \x01(\x0b\x32-.google.cloud.dataproc.v1beta2.KerberosConfig"\xb6\x03\n\x0eKerberosConfig\x12\x17\n\x0f\x65nable_kerberos\x18\x01 \x01(\x08\x12#\n\x1broot_principal_password_uri\x18\x02 \x01(\t\x12\x13\n\x0bkms_key_uri\x18\x03 \x01(\t\x12\x14\n\x0ckeystore_uri\x18\x04 \x01(\t\x12\x16\n\x0etruststore_uri\x18\x05 \x01(\t\x12\x1d\n\x15keystore_password_uri\x18\x06 \x01(\t\x12\x18\n\x10key_password_uri\x18\x07 \x01(\t\x12\x1f\n\x17truststore_password_uri\x18\x08 \x01(\t\x12\x1f\n\x17\x63ross_realm_trust_realm\x18\t \x01(\t\x12\x1d\n\x15\x63ross_realm_trust_kdc\x18\n \x01(\t\x12&\n\x1e\x63ross_realm_trust_admin_server\x18\x0b \x01(\t\x12-\n%cross_realm_trust_shared_password_uri\x18\x0c \x01(\t\x12\x16\n\x0ekdc_db_key_uri\x18\r \x01(\t\x12\x1a\n\x12tgt_lifetime_hours\x18\x0e \x01(\x05"i\n\x18NodeInitializationAction\x12\x17\n\x0f\x65xecutable_file\x18\x01 \x01(\t\x12\x34\n\x11\x65xecution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"\xf7\x02\n\rClusterStatus\x12\x41\n\x05state\x18\x01 \x01(\x0e\x32\x32.google.cloud.dataproc.v1beta2.ClusterStatus.State\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\x12\x34\n\x10state_start_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12G\n\x08substate\x18\x04 \x01(\x0e\x32\x35.google.cloud.dataproc.v1beta2.ClusterStatus.Substate"V\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05"<\n\x08Substate\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\r\n\tUNHEALTHY\x10\x01\x12\x10\n\x0cSTALE_STATUS\x10\x02"\xf4\x01\n\x0eSoftwareConfig\x12\x15\n\rimage_version\x18\x01 \x01(\t\x12Q\n\nproperties\x18\x02 \x03(\x0b\x32=.google.cloud.dataproc.v1beta2.SoftwareConfig.PropertiesEntry\x12\x45\n\x13optional_components\x18\x03 \x03(\x0e\x32(.google.cloud.dataproc.v1beta2.Component\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xa4\x02\n\x0e\x43lusterMetrics\x12T\n\x0chdfs_metrics\x18\x01 \x03(\x0b\x32>.google.cloud.dataproc.v1beta2.ClusterMetrics.HdfsMetricsEntry\x12T\n\x0cyarn_metrics\x18\x02 \x03(\x0b\x32>.google.cloud.dataproc.v1beta2.ClusterMetrics.YarnMetricsEntry\x1a\x32\n\x10HdfsMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a\x32\n\x10YarnMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01"\x87\x01\n\x14\x43reateClusterRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\x12\x37\n\x07\x63luster\x18\x02 \x01(\x0b\x32&.google.cloud.dataproc.v1beta2.Cluster\x12\x12\n\nrequest_id\x18\x04 \x01(\t"\x90\x02\n\x14UpdateClusterRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x05 \x01(\t\x12\x14\n\x0c\x63luster_name\x18\x02 \x01(\t\x12\x37\n\x07\x63luster\x18\x03 \x01(\x0b\x32&.google.cloud.dataproc.v1beta2.Cluster\x12@\n\x1dgraceful_decommission_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x12\n\nrequest_id\x18\x07 \x01(\t"z\n\x14\x44\x65leteClusterRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\x12\x14\n\x0c\x63luster_name\x18\x02 \x01(\t\x12\x14\n\x0c\x63luster_uuid\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t"M\n\x11GetClusterRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\x12\x14\n\x0c\x63luster_name\x18\x02 \x01(\t"p\n\x13ListClustersRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"i\n\x14ListClustersResponse\x12\x38\n\x08\x63lusters\x18\x01 \x03(\x0b\x32&.google.cloud.dataproc.v1beta2.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"R\n\x16\x44iagnoseClusterRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\x12\x14\n\x0c\x63luster_name\x18\x02 \x01(\t",\n\x16\x44iagnoseClusterResults\x12\x12\n\noutput_uri\x18\x01 \x01(\t"\xee\x01\n\x13ReservationAffinity\x12Y\n\x18\x63onsume_reservation_type\x18\x01 \x01(\x0e\x32\x37.google.cloud.dataproc.v1beta2.ReservationAffinity.Type\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\x0e\n\x06values\x18\x03 \x03(\t"_\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eNO_RESERVATION\x10\x01\x12\x13\n\x0f\x41NY_RESERVATION\x10\x02\x12\x18\n\x14SPECIFIC_RESERVATION\x10\x03\x32\xf8\x08\n\x11\x43lusterController\x12\xae\x01\n\rCreateCluster\x12\x33.google.cloud.dataproc.v1beta2.CreateClusterRequest\x1a\x1d.google.longrunning.Operation"I\x82\xd3\xe4\x93\x02\x43"8/v1beta2/projects/{project_id}/regions/{region}/clusters:\x07\x63luster\x12\xbd\x01\n\rUpdateCluster\x12\x33.google.cloud.dataproc.v1beta2.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation"X\x82\xd3\xe4\x93\x02R2G/v1beta2/projects/{project_id}/regions/{region}/clusters/{cluster_name}:\x07\x63luster\x12\xb4\x01\n\rDeleteCluster\x12\x33.google.cloud.dataproc.v1beta2.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation"O\x82\xd3\xe4\x93\x02I*G/v1beta2/projects/{project_id}/regions/{region}/clusters/{cluster_name}\x12\xb7\x01\n\nGetCluster\x12\x30.google.cloud.dataproc.v1beta2.GetClusterRequest\x1a&.google.cloud.dataproc.v1beta2.Cluster"O\x82\xd3\xe4\x93\x02I\x12G/v1beta2/projects/{project_id}/regions/{region}/clusters/{cluster_name}\x12\xb9\x01\n\x0cListClusters\x12\x32.google.cloud.dataproc.v1beta2.ListClustersRequest\x1a\x33.google.cloud.dataproc.v1beta2.ListClustersResponse"@\x82\xd3\xe4\x93\x02:\x12\x38/v1beta2/projects/{project_id}/regions/{region}/clusters\x12\xc4\x01\n\x0f\x44iagnoseCluster\x12\x35.google.cloud.dataproc.v1beta2.DiagnoseClusterRequest\x1a\x1d.google.longrunning.Operation"[\x82\xd3\xe4\x93\x02U"P/v1beta2/projects/{project_id}/regions/{region}/clusters/{cluster_name}:diagnose:\x01*B{\n!com.google.cloud.dataproc.v1beta2B\rClustersProtoP\x01ZEgoogle.golang.org/genproto/googleapis/cloud/dataproc/v1beta2;dataprocb\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_cloud_dot_dataproc__v1beta2_dot_proto_dot_operations__pb2.DESCRIPTOR,
        google_dot_cloud_dot_dataproc__v1beta2_dot_proto_dot_shared__pb2.DESCRIPTOR,
        google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,
    ],
)


_CLUSTERSTATUS_STATE = _descriptor.EnumDescriptor(
    name="State",
    full_name="google.cloud.dataproc.v1beta2.ClusterStatus.State",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="UNKNOWN", index=0, number=0, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="CREATING", index=1, number=1, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="RUNNING", index=2, number=2, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="ERROR", index=3, number=3, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="DELETING", index=4, number=4, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="UPDATING", index=5, number=5, serialized_options=None, type=None
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=4053,
    serialized_end=4139,
)
_sym_db.RegisterEnumDescriptor(_CLUSTERSTATUS_STATE)

_CLUSTERSTATUS_SUBSTATE = _descriptor.EnumDescriptor(
    name="Substate",
    full_name="google.cloud.dataproc.v1beta2.ClusterStatus.Substate",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="UNSPECIFIED", index=0, number=0, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="UNHEALTHY", index=1, number=1, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="STALE_STATUS", index=2, number=2, serialized_options=None, type=None
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=4141,
    serialized_end=4201,
)
_sym_db.RegisterEnumDescriptor(_CLUSTERSTATUS_SUBSTATE)

_RESERVATIONAFFINITY_TYPE = _descriptor.EnumDescriptor(
    name="Type",
    full_name="google.cloud.dataproc.v1beta2.ReservationAffinity.Type",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="TYPE_UNSPECIFIED",
            index=0,
            number=0,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="NO_RESERVATION", index=1, number=1, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="ANY_RESERVATION",
            index=2,
            number=2,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="SPECIFIC_RESERVATION",
            index=3,
            number=3,
            serialized_options=None,
            type=None,
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=5856,
    serialized_end=5951,
)
_sym_db.RegisterEnumDescriptor(_RESERVATIONAFFINITY_TYPE)


_CLUSTER_LABELSENTRY = _descriptor.Descriptor(
    name="LabelsEntry",
    full_name="google.cloud.dataproc.v1beta2.Cluster.LabelsEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.dataproc.v1beta2.Cluster.LabelsEntry.key",
            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="value",
            full_name="google.cloud.dataproc.v1beta2.Cluster.LabelsEntry.value",
            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=_b("8\001"),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=757,
    serialized_end=802,
)

_CLUSTER = _descriptor.Descriptor(
    name="Cluster",
    full_name="google.cloud.dataproc.v1beta2.Cluster",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1beta2.Cluster.project_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="cluster_name",
            full_name="google.cloud.dataproc.v1beta2.Cluster.cluster_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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="config",
            full_name="google.cloud.dataproc.v1beta2.Cluster.config",
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="labels",
            full_name="google.cloud.dataproc.v1beta2.Cluster.labels",
            index=3,
            number=8,
            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="status",
            full_name="google.cloud.dataproc.v1beta2.Cluster.status",
            index=4,
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="status_history",
            full_name="google.cloud.dataproc.v1beta2.Cluster.status_history",
            index=5,
            number=7,
            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="cluster_uuid",
            full_name="google.cloud.dataproc.v1beta2.Cluster.cluster_uuid",
            index=6,
            number=6,
            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="metrics",
            full_name="google.cloud.dataproc.v1beta2.Cluster.metrics",
            index=7,
            number=9,
            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=[_CLUSTER_LABELSENTRY],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=356,
    serialized_end=802,
)


_CLUSTERCONFIG = _descriptor.Descriptor(
    name="ClusterConfig",
    full_name="google.cloud.dataproc.v1beta2.ClusterConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="config_bucket",
            full_name="google.cloud.dataproc.v1beta2.ClusterConfig.config_bucket",
            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="gce_cluster_config",
            full_name="google.cloud.dataproc.v1beta2.ClusterConfig.gce_cluster_config",
            index=1,
            number=8,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="master_config",
            full_name="google.cloud.dataproc.v1beta2.ClusterConfig.master_config",
            index=2,
            number=9,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="worker_config",
            full_name="google.cloud.dataproc.v1beta2.ClusterConfig.worker_config",
            index=3,
            number=10,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="secondary_worker_config",
            full_name="google.cloud.dataproc.v1beta2.ClusterConfig.secondary_worker_config",
            index=4,
            number=12,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="software_config",
            full_name="google.cloud.dataproc.v1beta2.ClusterConfig.software_config",
            index=5,
            number=13,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="lifecycle_config",
            full_name="google.cloud.dataproc.v1beta2.ClusterConfig.lifecycle_config",
            index=6,
            number=14,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="initialization_actions",
            full_name="google.cloud.dataproc.v1beta2.ClusterConfig.initialization_actions",
            index=7,
            number=11,
            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="encryption_config",
            full_name="google.cloud.dataproc.v1beta2.ClusterConfig.encryption_config",
            index=8,
            number=15,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="autoscaling_config",
            full_name="google.cloud.dataproc.v1beta2.ClusterConfig.autoscaling_config",
            index=9,
            number=16,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="endpoint_config",
            full_name="google.cloud.dataproc.v1beta2.ClusterConfig.endpoint_config",
            index=10,
            number=17,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="security_config",
            full_name="google.cloud.dataproc.v1beta2.ClusterConfig.security_config",
            index=11,
            number=18,
            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=805,
    serialized_end=1688,
)


_ENDPOINTCONFIG_HTTPPORTSENTRY = _descriptor.Descriptor(
    name="HttpPortsEntry",
    full_name="google.cloud.dataproc.v1beta2.EndpointConfig.HttpPortsEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.dataproc.v1beta2.EndpointConfig.HttpPortsEntry.key",
            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="value",
            full_name="google.cloud.dataproc.v1beta2.EndpointConfig.HttpPortsEntry.value",
            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=_b("8\001"),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1824,
    serialized_end=1872,
)

_ENDPOINTCONFIG = _descriptor.Descriptor(
    name="EndpointConfig",
    full_name="google.cloud.dataproc.v1beta2.EndpointConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="http_ports",
            full_name="google.cloud.dataproc.v1beta2.EndpointConfig.http_ports",
            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="enable_http_port_access",
            full_name="google.cloud.dataproc.v1beta2.EndpointConfig.enable_http_port_access",
            index=1,
            number=2,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[_ENDPOINTCONFIG_HTTPPORTSENTRY],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1691,
    serialized_end=1872,
)


_AUTOSCALINGCONFIG = _descriptor.Descriptor(
    name="AutoscalingConfig",
    full_name="google.cloud.dataproc.v1beta2.AutoscalingConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="policy_uri",
            full_name="google.cloud.dataproc.v1beta2.AutoscalingConfig.policy_uri",
            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,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1874,
    serialized_end=1913,
)


_ENCRYPTIONCONFIG = _descriptor.Descriptor(
    name="EncryptionConfig",
    full_name="google.cloud.dataproc.v1beta2.EncryptionConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="gce_pd_kms_key_name",
            full_name="google.cloud.dataproc.v1beta2.EncryptionConfig.gce_pd_kms_key_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=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1915,
    serialized_end=1962,
)


_GCECLUSTERCONFIG_METADATAENTRY = _descriptor.Descriptor(
    name="MetadataEntry",
    full_name="google.cloud.dataproc.v1beta2.GceClusterConfig.MetadataEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.dataproc.v1beta2.GceClusterConfig.MetadataEntry.key",
            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="value",
            full_name="google.cloud.dataproc.v1beta2.GceClusterConfig.MetadataEntry.value",
            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=_b("8\001"),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2308,
    serialized_end=2355,
)

_GCECLUSTERCONFIG = _descriptor.Descriptor(
    name="GceClusterConfig",
    full_name="google.cloud.dataproc.v1beta2.GceClusterConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="zone_uri",
            full_name="google.cloud.dataproc.v1beta2.GceClusterConfig.zone_uri",
            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="network_uri",
            full_name="google.cloud.dataproc.v1beta2.GceClusterConfig.network_uri",
            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="subnetwork_uri",
            full_name="google.cloud.dataproc.v1beta2.GceClusterConfig.subnetwork_uri",
            index=2,
            number=6,
            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="internal_ip_only",
            full_name="google.cloud.dataproc.v1beta2.GceClusterConfig.internal_ip_only",
            index=3,
            number=7,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="service_account",
            full_name="google.cloud.dataproc.v1beta2.GceClusterConfig.service_account",
            index=4,
            number=8,
            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="service_account_scopes",
            full_name="google.cloud.dataproc.v1beta2.GceClusterConfig.service_account_scopes",
            index=5,
            number=3,
            type=9,
            cpp_type=9,
            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="tags",
            full_name="google.cloud.dataproc.v1beta2.GceClusterConfig.tags",
            index=6,
            number=4,
            type=9,
            cpp_type=9,
            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="metadata",
            full_name="google.cloud.dataproc.v1beta2.GceClusterConfig.metadata",
            index=7,
            number=5,
            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="reservation_affinity",
            full_name="google.cloud.dataproc.v1beta2.GceClusterConfig.reservation_affinity",
            index=8,
            number=11,
            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=[_GCECLUSTERCONFIG_METADATAENTRY],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1965,
    serialized_end=2355,
)


_INSTANCEGROUPCONFIG = _descriptor.Descriptor(
    name="InstanceGroupConfig",
    full_name="google.cloud.dataproc.v1beta2.InstanceGroupConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="num_instances",
            full_name="google.cloud.dataproc.v1beta2.InstanceGroupConfig.num_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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="instance_names",
            full_name="google.cloud.dataproc.v1beta2.InstanceGroupConfig.instance_names",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            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="image_uri",
            full_name="google.cloud.dataproc.v1beta2.InstanceGroupConfig.image_uri",
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="machine_type_uri",
            full_name="google.cloud.dataproc.v1beta2.InstanceGroupConfig.machine_type_uri",
            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,
        ),
        _descriptor.FieldDescriptor(
            name="disk_config",
            full_name="google.cloud.dataproc.v1beta2.InstanceGroupConfig.disk_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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="is_preemptible",
            full_name="google.cloud.dataproc.v1beta2.InstanceGroupConfig.is_preemptible",
            index=5,
            number=6,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="managed_group_config",
            full_name="google.cloud.dataproc.v1beta2.InstanceGroupConfig.managed_group_config",
            index=6,
            number=7,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="accelerators",
            full_name="google.cloud.dataproc.v1beta2.InstanceGroupConfig.accelerators",
            index=7,
            number=8,
            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="min_cpu_platform",
            full_name="google.cloud.dataproc.v1beta2.InstanceGroupConfig.min_cpu_platform",
            index=8,
            number=9,
            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=2358,
    serialized_end=2738,
)


_MANAGEDGROUPCONFIG = _descriptor.Descriptor(
    name="ManagedGroupConfig",
    full_name="google.cloud.dataproc.v1beta2.ManagedGroupConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="instance_template_name",
            full_name="google.cloud.dataproc.v1beta2.ManagedGroupConfig.instance_template_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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="instance_group_manager_name",
            full_name="google.cloud.dataproc.v1beta2.ManagedGroupConfig.instance_group_manager_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=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2740,
    serialized_end=2829,
)


_ACCELERATORCONFIG = _descriptor.Descriptor(
    name="AcceleratorConfig",
    full_name="google.cloud.dataproc.v1beta2.AcceleratorConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="accelerator_type_uri",
            full_name="google.cloud.dataproc.v1beta2.AcceleratorConfig.accelerator_type_uri",
            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="accelerator_count",
            full_name="google.cloud.dataproc.v1beta2.AcceleratorConfig.accelerator_count",
            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=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2831,
    serialized_end=2907,
)


_DISKCONFIG = _descriptor.Descriptor(
    name="DiskConfig",
    full_name="google.cloud.dataproc.v1beta2.DiskConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="boot_disk_type",
            full_name="google.cloud.dataproc.v1beta2.DiskConfig.boot_disk_type",
            index=0,
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="boot_disk_size_gb",
            full_name="google.cloud.dataproc.v1beta2.DiskConfig.boot_disk_size_gb",
            index=1,
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="num_local_ssds",
            full_name="google.cloud.dataproc.v1beta2.DiskConfig.num_local_ssds",
            index=2,
            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=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2909,
    serialized_end=2996,
)


_LIFECYCLECONFIG = _descriptor.Descriptor(
    name="LifecycleConfig",
    full_name="google.cloud.dataproc.v1beta2.LifecycleConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="idle_delete_ttl",
            full_name="google.cloud.dataproc.v1beta2.LifecycleConfig.idle_delete_ttl",
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="auto_delete_time",
            full_name="google.cloud.dataproc.v1beta2.LifecycleConfig.auto_delete_time",
            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,
        ),
        _descriptor.FieldDescriptor(
            name="auto_delete_ttl",
            full_name="google.cloud.dataproc.v1beta2.LifecycleConfig.auto_delete_ttl",
            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=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name="ttl",
            full_name="google.cloud.dataproc.v1beta2.LifecycleConfig.ttl",
            index=0,
            containing_type=None,
            fields=[],
        )
    ],
    serialized_start=2999,
    serialized_end=3185,
)


_SECURITYCONFIG = _descriptor.Descriptor(
    name="SecurityConfig",
    full_name="google.cloud.dataproc.v1beta2.SecurityConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="kerberos_config",
            full_name="google.cloud.dataproc.v1beta2.SecurityConfig.kerberos_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=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=3187,
    serialized_end=3275,
)


_KERBEROSCONFIG = _descriptor.Descriptor(
    name="KerberosConfig",
    full_name="google.cloud.dataproc.v1beta2.KerberosConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="enable_kerberos",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.enable_kerberos",
            index=0,
            number=1,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="root_principal_password_uri",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.root_principal_password_uri",
            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="kms_key_uri",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.kms_key_uri",
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="keystore_uri",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.keystore_uri",
            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,
        ),
        _descriptor.FieldDescriptor(
            name="truststore_uri",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.truststore_uri",
            index=4,
            number=5,
            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="keystore_password_uri",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.keystore_password_uri",
            index=5,
            number=6,
            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="key_password_uri",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.key_password_uri",
            index=6,
            number=7,
            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="truststore_password_uri",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.truststore_password_uri",
            index=7,
            number=8,
            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="cross_realm_trust_realm",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.cross_realm_trust_realm",
            index=8,
            number=9,
            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="cross_realm_trust_kdc",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.cross_realm_trust_kdc",
            index=9,
            number=10,
            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="cross_realm_trust_admin_server",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.cross_realm_trust_admin_server",
            index=10,
            number=11,
            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="cross_realm_trust_shared_password_uri",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.cross_realm_trust_shared_password_uri",
            index=11,
            number=12,
            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="kdc_db_key_uri",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.kdc_db_key_uri",
            index=12,
            number=13,
            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="tgt_lifetime_hours",
            full_name="google.cloud.dataproc.v1beta2.KerberosConfig.tgt_lifetime_hours",
            index=13,
            number=14,
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=3278,
    serialized_end=3716,
)


_NODEINITIALIZATIONACTION = _descriptor.Descriptor(
    name="NodeInitializationAction",
    full_name="google.cloud.dataproc.v1beta2.NodeInitializationAction",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="executable_file",
            full_name="google.cloud.dataproc.v1beta2.NodeInitializationAction.executable_file",
            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="execution_timeout",
            full_name="google.cloud.dataproc.v1beta2.NodeInitializationAction.execution_timeout",
            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=3718,
    serialized_end=3823,
)


_CLUSTERSTATUS = _descriptor.Descriptor(
    name="ClusterStatus",
    full_name="google.cloud.dataproc.v1beta2.ClusterStatus",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="state",
            full_name="google.cloud.dataproc.v1beta2.ClusterStatus.state",
            index=0,
            number=1,
            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="detail",
            full_name="google.cloud.dataproc.v1beta2.ClusterStatus.detail",
            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="state_start_time",
            full_name="google.cloud.dataproc.v1beta2.ClusterStatus.state_start_time",
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="substate",
            full_name="google.cloud.dataproc.v1beta2.ClusterStatus.substate",
            index=3,
            number=4,
            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=[_CLUSTERSTATUS_STATE, _CLUSTERSTATUS_SUBSTATE],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=3826,
    serialized_end=4201,
)


_SOFTWARECONFIG_PROPERTIESENTRY = _descriptor.Descriptor(
    name="PropertiesEntry",
    full_name="google.cloud.dataproc.v1beta2.SoftwareConfig.PropertiesEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.dataproc.v1beta2.SoftwareConfig.PropertiesEntry.key",
            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="value",
            full_name="google.cloud.dataproc.v1beta2.SoftwareConfig.PropertiesEntry.value",
            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=_b("8\001"),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4399,
    serialized_end=4448,
)

_SOFTWARECONFIG = _descriptor.Descriptor(
    name="SoftwareConfig",
    full_name="google.cloud.dataproc.v1beta2.SoftwareConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="image_version",
            full_name="google.cloud.dataproc.v1beta2.SoftwareConfig.image_version",
            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="properties",
            full_name="google.cloud.dataproc.v1beta2.SoftwareConfig.properties",
            index=1,
            number=2,
            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="optional_components",
            full_name="google.cloud.dataproc.v1beta2.SoftwareConfig.optional_components",
            index=2,
            number=3,
            type=14,
            cpp_type=8,
            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,
        ),
    ],
    extensions=[],
    nested_types=[_SOFTWARECONFIG_PROPERTIESENTRY],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4204,
    serialized_end=4448,
)


_CLUSTERMETRICS_HDFSMETRICSENTRY = _descriptor.Descriptor(
    name="HdfsMetricsEntry",
    full_name="google.cloud.dataproc.v1beta2.ClusterMetrics.HdfsMetricsEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.dataproc.v1beta2.ClusterMetrics.HdfsMetricsEntry.key",
            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="value",
            full_name="google.cloud.dataproc.v1beta2.ClusterMetrics.HdfsMetricsEntry.value",
            index=1,
            number=2,
            type=3,
            cpp_type=2,
            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=_b("8\001"),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4641,
    serialized_end=4691,
)

_CLUSTERMETRICS_YARNMETRICSENTRY = _descriptor.Descriptor(
    name="YarnMetricsEntry",
    full_name="google.cloud.dataproc.v1beta2.ClusterMetrics.YarnMetricsEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.dataproc.v1beta2.ClusterMetrics.YarnMetricsEntry.key",
            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="value",
            full_name="google.cloud.dataproc.v1beta2.ClusterMetrics.YarnMetricsEntry.value",
            index=1,
            number=2,
            type=3,
            cpp_type=2,
            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=_b("8\001"),
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4693,
    serialized_end=4743,
)

_CLUSTERMETRICS = _descriptor.Descriptor(
    name="ClusterMetrics",
    full_name="google.cloud.dataproc.v1beta2.ClusterMetrics",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="hdfs_metrics",
            full_name="google.cloud.dataproc.v1beta2.ClusterMetrics.hdfs_metrics",
            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="yarn_metrics",
            full_name="google.cloud.dataproc.v1beta2.ClusterMetrics.yarn_metrics",
            index=1,
            number=2,
            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,
        ),
    ],
    extensions=[],
    nested_types=[_CLUSTERMETRICS_HDFSMETRICSENTRY, _CLUSTERMETRICS_YARNMETRICSENTRY],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4451,
    serialized_end=4743,
)


_CREATECLUSTERREQUEST = _descriptor.Descriptor(
    name="CreateClusterRequest",
    full_name="google.cloud.dataproc.v1beta2.CreateClusterRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1beta2.CreateClusterRequest.project_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="region",
            full_name="google.cloud.dataproc.v1beta2.CreateClusterRequest.region",
            index=1,
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="cluster",
            full_name="google.cloud.dataproc.v1beta2.CreateClusterRequest.cluster",
            index=2,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="request_id",
            full_name="google.cloud.dataproc.v1beta2.CreateClusterRequest.request_id",
            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=4746,
    serialized_end=4881,
)


_UPDATECLUSTERREQUEST = _descriptor.Descriptor(
    name="UpdateClusterRequest",
    full_name="google.cloud.dataproc.v1beta2.UpdateClusterRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1beta2.UpdateClusterRequest.project_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="region",
            full_name="google.cloud.dataproc.v1beta2.UpdateClusterRequest.region",
            index=1,
            number=5,
            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="cluster_name",
            full_name="google.cloud.dataproc.v1beta2.UpdateClusterRequest.cluster_name",
            index=2,
            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="cluster",
            full_name="google.cloud.dataproc.v1beta2.UpdateClusterRequest.cluster",
            index=3,
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="graceful_decommission_timeout",
            full_name="google.cloud.dataproc.v1beta2.UpdateClusterRequest.graceful_decommission_timeout",
            index=4,
            number=6,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="update_mask",
            full_name="google.cloud.dataproc.v1beta2.UpdateClusterRequest.update_mask",
            index=5,
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="request_id",
            full_name="google.cloud.dataproc.v1beta2.UpdateClusterRequest.request_id",
            index=6,
            number=7,
            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=4884,
    serialized_end=5156,
)


_DELETECLUSTERREQUEST = _descriptor.Descriptor(
    name="DeleteClusterRequest",
    full_name="google.cloud.dataproc.v1beta2.DeleteClusterRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1beta2.DeleteClusterRequest.project_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="region",
            full_name="google.cloud.dataproc.v1beta2.DeleteClusterRequest.region",
            index=1,
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="cluster_name",
            full_name="google.cloud.dataproc.v1beta2.DeleteClusterRequest.cluster_name",
            index=2,
            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="cluster_uuid",
            full_name="google.cloud.dataproc.v1beta2.DeleteClusterRequest.cluster_uuid",
            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,
        ),
        _descriptor.FieldDescriptor(
            name="request_id",
            full_name="google.cloud.dataproc.v1beta2.DeleteClusterRequest.request_id",
            index=4,
            number=5,
            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=5158,
    serialized_end=5280,
)


_GETCLUSTERREQUEST = _descriptor.Descriptor(
    name="GetClusterRequest",
    full_name="google.cloud.dataproc.v1beta2.GetClusterRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1beta2.GetClusterRequest.project_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="region",
            full_name="google.cloud.dataproc.v1beta2.GetClusterRequest.region",
            index=1,
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="cluster_name",
            full_name="google.cloud.dataproc.v1beta2.GetClusterRequest.cluster_name",
            index=2,
            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=5282,
    serialized_end=5359,
)


_LISTCLUSTERSREQUEST = _descriptor.Descriptor(
    name="ListClustersRequest",
    full_name="google.cloud.dataproc.v1beta2.ListClustersRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1beta2.ListClustersRequest.project_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="region",
            full_name="google.cloud.dataproc.v1beta2.ListClustersRequest.region",
            index=1,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="filter",
            full_name="google.cloud.dataproc.v1beta2.ListClustersRequest.filter",
            index=2,
            number=5,
            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.dataproc.v1beta2.ListClustersRequest.page_size",
            index=3,
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="page_token",
            full_name="google.cloud.dataproc.v1beta2.ListClustersRequest.page_token",
            index=4,
            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=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5361,
    serialized_end=5473,
)


_LISTCLUSTERSRESPONSE = _descriptor.Descriptor(
    name="ListClustersResponse",
    full_name="google.cloud.dataproc.v1beta2.ListClustersResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="clusters",
            full_name="google.cloud.dataproc.v1beta2.ListClustersResponse.clusters",
            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.dataproc.v1beta2.ListClustersResponse.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=5475,
    serialized_end=5580,
)


_DIAGNOSECLUSTERREQUEST = _descriptor.Descriptor(
    name="DiagnoseClusterRequest",
    full_name="google.cloud.dataproc.v1beta2.DiagnoseClusterRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1beta2.DiagnoseClusterRequest.project_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="region",
            full_name="google.cloud.dataproc.v1beta2.DiagnoseClusterRequest.region",
            index=1,
            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=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="cluster_name",
            full_name="google.cloud.dataproc.v1beta2.DiagnoseClusterRequest.cluster_name",
            index=2,
            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=5582,
    serialized_end=5664,
)


_DIAGNOSECLUSTERRESULTS = _descriptor.Descriptor(
    name="DiagnoseClusterResults",
    full_name="google.cloud.dataproc.v1beta2.DiagnoseClusterResults",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="output_uri",
            full_name="google.cloud.dataproc.v1beta2.DiagnoseClusterResults.output_uri",
            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,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5666,
    serialized_end=5710,
)


_RESERVATIONAFFINITY = _descriptor.Descriptor(
    name="ReservationAffinity",
    full_name="google.cloud.dataproc.v1beta2.ReservationAffinity",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="consume_reservation_type",
            full_name="google.cloud.dataproc.v1beta2.ReservationAffinity.consume_reservation_type",
            index=0,
            number=1,
            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="key",
            full_name="google.cloud.dataproc.v1beta2.ReservationAffinity.key",
            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="values",
            full_name="google.cloud.dataproc.v1beta2.ReservationAffinity.values",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[_RESERVATIONAFFINITY_TYPE],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5713,
    serialized_end=5951,
)

_CLUSTER_LABELSENTRY.containing_type = _CLUSTER
_CLUSTER.fields_by_name["config"].message_type = _CLUSTERCONFIG
_CLUSTER.fields_by_name["labels"].message_type = _CLUSTER_LABELSENTRY
_CLUSTER.fields_by_name["status"].message_type = _CLUSTERSTATUS
_CLUSTER.fields_by_name["status_history"].message_type = _CLUSTERSTATUS
_CLUSTER.fields_by_name["metrics"].message_type = _CLUSTERMETRICS
_CLUSTERCONFIG.fields_by_name["gce_cluster_config"].message_type = _GCECLUSTERCONFIG
_CLUSTERCONFIG.fields_by_name["master_config"].message_type = _INSTANCEGROUPCONFIG
_CLUSTERCONFIG.fields_by_name["worker_config"].message_type = _INSTANCEGROUPCONFIG
_CLUSTERCONFIG.fields_by_name[
    "secondary_worker_config"
].message_type = _INSTANCEGROUPCONFIG
_CLUSTERCONFIG.fields_by_name["software_config"].message_type = _SOFTWARECONFIG
_CLUSTERCONFIG.fields_by_name["lifecycle_config"].message_type = _LIFECYCLECONFIG
_CLUSTERCONFIG.fields_by_name[
    "initialization_actions"
].message_type = _NODEINITIALIZATIONACTION
_CLUSTERCONFIG.fields_by_name["encryption_config"].message_type = _ENCRYPTIONCONFIG
_CLUSTERCONFIG.fields_by_name["autoscaling_config"].message_type = _AUTOSCALINGCONFIG
_CLUSTERCONFIG.fields_by_name["endpoint_config"].message_type = _ENDPOINTCONFIG
_CLUSTERCONFIG.fields_by_name["security_config"].message_type = _SECURITYCONFIG
_ENDPOINTCONFIG_HTTPPORTSENTRY.containing_type = _ENDPOINTCONFIG
_ENDPOINTCONFIG.fields_by_name[
    "http_ports"
].message_type = _ENDPOINTCONFIG_HTTPPORTSENTRY
_GCECLUSTERCONFIG_METADATAENTRY.containing_type = _GCECLUSTERCONFIG
_GCECLUSTERCONFIG.fields_by_name[
    "metadata"
].message_type = _GCECLUSTERCONFIG_METADATAENTRY
_GCECLUSTERCONFIG.fields_by_name[
    "reservation_affinity"
].message_type = _RESERVATIONAFFINITY
_INSTANCEGROUPCONFIG.fields_by_name["disk_config"].message_type = _DISKCONFIG
_INSTANCEGROUPCONFIG.fields_by_name[
    "managed_group_config"
].message_type = _MANAGEDGROUPCONFIG
_INSTANCEGROUPCONFIG.fields_by_name["accelerators"].message_type = _ACCELERATORCONFIG
_LIFECYCLECONFIG.fields_by_name[
    "idle_delete_ttl"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_LIFECYCLECONFIG.fields_by_name[
    "auto_delete_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_LIFECYCLECONFIG.fields_by_name[
    "auto_delete_ttl"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_LIFECYCLECONFIG.oneofs_by_name["ttl"].fields.append(
    _LIFECYCLECONFIG.fields_by_name["auto_delete_time"]
)
_LIFECYCLECONFIG.fields_by_name[
    "auto_delete_time"
].containing_oneof = _LIFECYCLECONFIG.oneofs_by_name["ttl"]
_LIFECYCLECONFIG.oneofs_by_name["ttl"].fields.append(
    _LIFECYCLECONFIG.fields_by_name["auto_delete_ttl"]
)
_LIFECYCLECONFIG.fields_by_name[
    "auto_delete_ttl"
].containing_oneof = _LIFECYCLECONFIG.oneofs_by_name["ttl"]
_SECURITYCONFIG.fields_by_name["kerberos_config"].message_type = _KERBEROSCONFIG
_NODEINITIALIZATIONACTION.fields_by_name[
    "execution_timeout"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_CLUSTERSTATUS.fields_by_name["state"].enum_type = _CLUSTERSTATUS_STATE
_CLUSTERSTATUS.fields_by_name[
    "state_start_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_CLUSTERSTATUS.fields_by_name["substate"].enum_type = _CLUSTERSTATUS_SUBSTATE
_CLUSTERSTATUS_STATE.containing_type = _CLUSTERSTATUS
_CLUSTERSTATUS_SUBSTATE.containing_type = _CLUSTERSTATUS
_SOFTWARECONFIG_PROPERTIESENTRY.containing_type = _SOFTWARECONFIG
_SOFTWARECONFIG.fields_by_name[
    "properties"
].message_type = _SOFTWARECONFIG_PROPERTIESENTRY
_SOFTWARECONFIG.fields_by_name[
    "optional_components"
].enum_type = (
    google_dot_cloud_dot_dataproc__v1beta2_dot_proto_dot_shared__pb2._COMPONENT
)
_CLUSTERMETRICS_HDFSMETRICSENTRY.containing_type = _CLUSTERMETRICS
_CLUSTERMETRICS_YARNMETRICSENTRY.containing_type = _CLUSTERMETRICS
_CLUSTERMETRICS.fields_by_name[
    "hdfs_metrics"
].message_type = _CLUSTERMETRICS_HDFSMETRICSENTRY
_CLUSTERMETRICS.fields_by_name[
    "yarn_metrics"
].message_type = _CLUSTERMETRICS_YARNMETRICSENTRY
_CREATECLUSTERREQUEST.fields_by_name["cluster"].message_type = _CLUSTER
_UPDATECLUSTERREQUEST.fields_by_name["cluster"].message_type = _CLUSTER
_UPDATECLUSTERREQUEST.fields_by_name[
    "graceful_decommission_timeout"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_UPDATECLUSTERREQUEST.fields_by_name[
    "update_mask"
].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
_LISTCLUSTERSRESPONSE.fields_by_name["clusters"].message_type = _CLUSTER
_RESERVATIONAFFINITY.fields_by_name[
    "consume_reservation_type"
].enum_type = _RESERVATIONAFFINITY_TYPE
_RESERVATIONAFFINITY_TYPE.containing_type = _RESERVATIONAFFINITY
DESCRIPTOR.message_types_by_name["Cluster"] = _CLUSTER
DESCRIPTOR.message_types_by_name["ClusterConfig"] = _CLUSTERCONFIG
DESCRIPTOR.message_types_by_name["EndpointConfig"] = _ENDPOINTCONFIG
DESCRIPTOR.message_types_by_name["AutoscalingConfig"] = _AUTOSCALINGCONFIG
DESCRIPTOR.message_types_by_name["EncryptionConfig"] = _ENCRYPTIONCONFIG
DESCRIPTOR.message_types_by_name["GceClusterConfig"] = _GCECLUSTERCONFIG
DESCRIPTOR.message_types_by_name["InstanceGroupConfig"] = _INSTANCEGROUPCONFIG
DESCRIPTOR.message_types_by_name["ManagedGroupConfig"] = _MANAGEDGROUPCONFIG
DESCRIPTOR.message_types_by_name["AcceleratorConfig"] = _ACCELERATORCONFIG
DESCRIPTOR.message_types_by_name["DiskConfig"] = _DISKCONFIG
DESCRIPTOR.message_types_by_name["LifecycleConfig"] = _LIFECYCLECONFIG
DESCRIPTOR.message_types_by_name["SecurityConfig"] = _SECURITYCONFIG
DESCRIPTOR.message_types_by_name["KerberosConfig"] = _KERBEROSCONFIG
DESCRIPTOR.message_types_by_name["NodeInitializationAction"] = _NODEINITIALIZATIONACTION
DESCRIPTOR.message_types_by_name["ClusterStatus"] = _CLUSTERSTATUS
DESCRIPTOR.message_types_by_name["SoftwareConfig"] = _SOFTWARECONFIG
DESCRIPTOR.message_types_by_name["ClusterMetrics"] = _CLUSTERMETRICS
DESCRIPTOR.message_types_by_name["CreateClusterRequest"] = _CREATECLUSTERREQUEST
DESCRIPTOR.message_types_by_name["UpdateClusterRequest"] = _UPDATECLUSTERREQUEST
DESCRIPTOR.message_types_by_name["DeleteClusterRequest"] = _DELETECLUSTERREQUEST
DESCRIPTOR.message_types_by_name["GetClusterRequest"] = _GETCLUSTERREQUEST
DESCRIPTOR.message_types_by_name["ListClustersRequest"] = _LISTCLUSTERSREQUEST
DESCRIPTOR.message_types_by_name["ListClustersResponse"] = _LISTCLUSTERSRESPONSE
DESCRIPTOR.message_types_by_name["DiagnoseClusterRequest"] = _DIAGNOSECLUSTERREQUEST
DESCRIPTOR.message_types_by_name["DiagnoseClusterResults"] = _DIAGNOSECLUSTERRESULTS
DESCRIPTOR.message_types_by_name["ReservationAffinity"] = _RESERVATIONAFFINITY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Cluster = _reflection.GeneratedProtocolMessageType(
    "Cluster",
    (_message.Message,),
    dict(
        LabelsEntry=_reflection.GeneratedProtocolMessageType(
            "LabelsEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_CLUSTER_LABELSENTRY,
                __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.Cluster.LabelsEntry)
            ),
        ),
        DESCRIPTOR=_CLUSTER,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Describes the identifying information, config, and status of a cluster
  of Compute Engine instances.
  
  
  Attributes:
      project_id:
          Required. The Google Cloud Platform project ID that the
          cluster belongs to.
      cluster_name:
          Required. The cluster name. Cluster names within a project
          must be unique. Names of deleted clusters can be reused.
      config:
          Required. The cluster config. Note that Cloud Dataproc may set
          default values, and values may change when clusters are
          updated.
      labels:
          Optional. The labels to associate with this cluster. Label
          **keys** must contain 1 to 63 characters, and must conform to
          `RFC 1035 <https://www.ietf.org/rfc/rfc1035.txt>`__. Label
          **values** may be empty, but, if present, must contain 1 to 63
          characters, and must conform to `RFC 1035
          <https://www.ietf.org/rfc/rfc1035.txt>`__. No more than 32
          labels can be associated with a cluster.
      status:
          Output only. Cluster status.
      status_history:
          Output only. The previous cluster status.
      cluster_uuid:
          Output only. A cluster UUID (Unique Universal Identifier).
          Cloud Dataproc generates this value when it creates the
          cluster.
      metrics:
          Output only. Contains cluster daemon metrics such as HDFS and
          YARN stats.  **Beta Feature**: This report is available for
          testing purposes only. It may be changed before final release.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.Cluster)
    ),
)
_sym_db.RegisterMessage(Cluster)
_sym_db.RegisterMessage(Cluster.LabelsEntry)

ClusterConfig = _reflection.GeneratedProtocolMessageType(
    "ClusterConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CLUSTERCONFIG,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""The cluster config.
  
  
  Attributes:
      config_bucket:
          Optional. A Google Cloud Storage bucket used to stage job
          dependencies, config files, and job driver console output. If
          you do not specify a staging bucket, Cloud Dataproc will
          determine a Cloud Storage location (US, ASIA, or EU) for your
          cluster's staging bucket according to the Google Compute
          Engine zone where your cluster is deployed, and then create
          and manage this project-level, per-location bucket (see `Cloud
          Dataproc staging bucket </dataproc/docs/concepts/configuring-
          clusters/staging-bucket>`__).
      gce_cluster_config:
          Optional. The shared Compute Engine config settings for all
          instances in a cluster.
      master_config:
          Optional. The Compute Engine config settings for the master
          instance in a cluster.
      worker_config:
          Optional. The Compute Engine config settings for worker
          instances in a cluster.
      secondary_worker_config:
          Optional. The Compute Engine config settings for additional
          worker instances in a cluster.
      software_config:
          Optional. The config settings for software inside the cluster.
      lifecycle_config:
          Optional. The config setting for auto delete cluster schedule.
      initialization_actions:
          Optional. Commands to execute on each node after config is
          completed. By default, executables are run on master and all
          worker nodes. You can test a node's role metadata to run an
          executable on a master or worker node, as shown below using
          ``curl`` (you can also use ``wget``):  ::      ROLE=$(curl -H
          Metadata-Flavor:Google     http://metadata/computeMetadata/v1b
          eta2/instance/attributes/dataproc-role)     if [[ "${ROLE}" ==
          'Master' ]]; then       ... master specific actions ...
          else       ... worker specific actions ...     fi
      encryption_config:
          Optional. Encryption settings for the cluster.
      autoscaling_config:
          Optional. Autoscaling config for the policy associated with
          the cluster. Cluster does not autoscale if this field is
          unset.
      endpoint_config:
          Optional. Port/endpoint configuration for this cluster
      security_config:
          Optional. Security related configuration.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.ClusterConfig)
    ),
)
_sym_db.RegisterMessage(ClusterConfig)

EndpointConfig = _reflection.GeneratedProtocolMessageType(
    "EndpointConfig",
    (_message.Message,),
    dict(
        HttpPortsEntry=_reflection.GeneratedProtocolMessageType(
            "HttpPortsEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_ENDPOINTCONFIG_HTTPPORTSENTRY,
                __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.EndpointConfig.HttpPortsEntry)
            ),
        ),
        DESCRIPTOR=_ENDPOINTCONFIG,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Endpoint config for this cluster
  
  
  Attributes:
      http_ports:
          Output only. The map of port descriptions to URLs. Will only
          be populated if enable\_http\_port\_access is true.
      enable_http_port_access:
          Optional. If true, enable http access to specific ports on the
          cluster from external sources. Defaults to false.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.EndpointConfig)
    ),
)
_sym_db.RegisterMessage(EndpointConfig)
_sym_db.RegisterMessage(EndpointConfig.HttpPortsEntry)

AutoscalingConfig = _reflection.GeneratedProtocolMessageType(
    "AutoscalingConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_AUTOSCALINGCONFIG,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Autoscaling Policy config associated with the cluster.
  
  
  Attributes:
      policy_uri:
          Optional. The autoscaling policy used by the cluster.  Only
          resource names including projectid and location (region) are
          valid. Examples:  -  ``https://www.googleapis.com/compute/v1/p
          rojects/[project_id]/locations/[dataproc_region]/autoscalingPo
          licies/[policy_id]`` -  ``projects/[project_id]/locations/[dat
          aproc_region]/autoscalingPolicies/[policy_id]``  Note that the
          policy must be in the same project and Cloud Dataproc region.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.AutoscalingConfig)
    ),
)
_sym_db.RegisterMessage(AutoscalingConfig)

EncryptionConfig = _reflection.GeneratedProtocolMessageType(
    "EncryptionConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ENCRYPTIONCONFIG,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Encryption settings for the cluster.
  
  
  Attributes:
      gce_pd_kms_key_name:
          Optional. The Cloud KMS key name to use for PD disk encryption
          for all instances in the cluster.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.EncryptionConfig)
    ),
)
_sym_db.RegisterMessage(EncryptionConfig)

GceClusterConfig = _reflection.GeneratedProtocolMessageType(
    "GceClusterConfig",
    (_message.Message,),
    dict(
        MetadataEntry=_reflection.GeneratedProtocolMessageType(
            "MetadataEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_GCECLUSTERCONFIG_METADATAENTRY,
                __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.GceClusterConfig.MetadataEntry)
            ),
        ),
        DESCRIPTOR=_GCECLUSTERCONFIG,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Common config settings for resources of Compute Engine cluster
  instances, applicable to all instances in the cluster.
  
  
  Attributes:
      zone_uri:
          Optional. The zone where the Compute Engine cluster will be
          located. On a create request, it is required in the "global"
          region. If omitted in a non-global Cloud Dataproc region, the
          service will pick a zone in the corresponding Compute Engine
          region. On a get request, zone will always be present.  A full
          URL, partial URI, or short name are valid. Examples:  -  ``htt
          ps://www.googleapis.com/compute/v1/projects/[project_id]/zones
          /[zone]`` -  ``projects/[project_id]/zones/[zone]`` -  ``us-
          central1-f``
      network_uri:
          Optional. The Compute Engine network to be used for machine
          communications. Cannot be specified with subnetwork\_uri. If
          neither ``network_uri`` nor ``subnetwork_uri`` is specified,
          the "default" network of the project is used, if it exists.
          Cannot be a "Custom Subnet Network" (see `Using Subnetworks
          </compute/docs/subnetworks>`__ for more information).  A full
          URL, partial URI, or short name are valid. Examples:  -  ``htt
          ps://www.googleapis.com/compute/v1/projects/[project_id]/regio
          ns/global/default`` -
          ``projects/[project_id]/regions/global/default`` -
          ``default``
      subnetwork_uri:
          Optional. The Compute Engine subnetwork to be used for machine
          communications. Cannot be specified with network\_uri.  A full
          URL, partial URI, or short name are valid. Examples:  -  ``htt
          ps://www.googleapis.com/compute/v1/projects/[project_id]/regio
          ns/us-east1/subnetworks/sub0`` -
          ``projects/[project_id]/regions/us-east1/subnetworks/sub0`` -
          ``sub0``
      internal_ip_only:
          Optional. If true, all instances in the cluster will only have
          internal IP addresses. By default, clusters are not restricted
          to internal IP addresses, and will have ephemeral external IP
          addresses assigned to each instance. This ``internal_ip_only``
          restriction can only be enabled for subnetwork enabled
          networks, and all off-cluster dependencies must be configured
          to be accessible without external IP addresses.
      service_account:
          Optional. The service account of the instances. Defaults to
          the default Compute Engine service account. Custom service
          accounts need permissions equivalent to the following IAM
          roles:  -  roles/logging.logWriter -
          roles/storage.objectAdmin  (see
          https://cloud.google.com/compute/docs/access/service-
          accounts#custom\_service\_accounts for more information).
          Example: ``[account_id]@[project_id].iam.gserviceaccount.com``
      service_account_scopes:
          Optional. The URIs of service account scopes to be included in
          Compute Engine instances. The following base set of scopes is
          always included:  -
          https://www.googleapis.com/auth/cloud.useraccounts.readonly -
          https://www.googleapis.com/auth/devstorage.read\_write -
          https://www.googleapis.com/auth/logging.write  If no scopes
          are specified, the following defaults are also provided:  -
          https://www.googleapis.com/auth/bigquery -
          https://www.googleapis.com/auth/bigtable.admin.table -
          https://www.googleapis.com/auth/bigtable.data -
          https://www.googleapis.com/auth/devstorage.full\_control
      tags:
          The Compute Engine tags to add to all instances (see `Tagging
          instances </compute/docs/label-or-tag-resources#tags>`__).
      metadata:
          The Compute Engine metadata entries to add to all instances
          (see `Project and instance metadata
          <https://cloud.google.com/compute/docs/storing-retrieving-
          metadata#project_and_instance_metadata>`__).
      reservation_affinity:
          Optional. Reservation Affinity for consuming Zonal
          reservation.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.GceClusterConfig)
    ),
)
_sym_db.RegisterMessage(GceClusterConfig)
_sym_db.RegisterMessage(GceClusterConfig.MetadataEntry)

InstanceGroupConfig = _reflection.GeneratedProtocolMessageType(
    "InstanceGroupConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_INSTANCEGROUPCONFIG,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Optional. The config settings for Compute Engine resources in an
  instance group, such as a master or worker group.
  
  
  Attributes:
      num_instances:
          Optional. The number of VM instances in the instance group.
          For master instance groups, must be set to 1.
      instance_names:
          Output only. The list of instance names. Cloud Dataproc
          derives the names from ``cluster_name``, ``num_instances``,
          and the instance group.
      image_uri:
          Optional. The Compute Engine image resource used for cluster
          instances. It can be specified or may be inferred from
          ``SoftwareConfig.image_version``.
      machine_type_uri:
          Optional. The Compute Engine machine type used for cluster
          instances.  A full URL, partial URI, or short name are valid.
          Examples:  -  ``https://www.googleapis.com/compute/v1/projects
          /[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`` -
          ``projects/[project_id]/zones/us-
          east1-a/machineTypes/n1-standard-2`` -  ``n1-standard-2``
          **Auto Zone Exception**: If you are using the Cloud Dataproc
          `Auto Zone Placement </dataproc/docs/concepts/configuring-
          clusters/auto-zone#using_auto_zone_placement>`__ feature, you
          must use the short name of the machine type resource, for
          example, ``n1-standard-2``.
      disk_config:
          Optional. Disk option config settings.
      is_preemptible:
          Optional. Specifies that this instance group contains
          preemptible instances.
      managed_group_config:
          Output only. The config for Compute Engine Instance Group
          Manager that manages this group. This is only used for
          preemptible instance groups.
      accelerators:
          Optional. The Compute Engine accelerator configuration for
          these instances.  **Beta Feature**: This feature is still
          under development. It may be changed before final release.
      min_cpu_platform:
          Optional. Specifies the minimum cpu platform for the Instance
          Group. See [Cloud Dataproc→Minimum CPU Platform]
          (/dataproc/docs/concepts/compute/dataproc-min-cpu).
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.InstanceGroupConfig)
    ),
)
_sym_db.RegisterMessage(InstanceGroupConfig)

ManagedGroupConfig = _reflection.GeneratedProtocolMessageType(
    "ManagedGroupConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_MANAGEDGROUPCONFIG,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Specifies the resources used to actively manage an instance group.
  
  
  Attributes:
      instance_template_name:
          Output only. The name of the Instance Template used for the
          Managed Instance Group.
      instance_group_manager_name:
          Output only. The name of the Instance Group Manager for this
          group.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.ManagedGroupConfig)
    ),
)
_sym_db.RegisterMessage(ManagedGroupConfig)

AcceleratorConfig = _reflection.GeneratedProtocolMessageType(
    "AcceleratorConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ACCELERATORCONFIG,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Specifies the type and number of accelerator cards attached to the
  instances of an instance group (see `GPUs on Compute
  Engine </compute/docs/gpus/>`__).
  
  
  Attributes:
      accelerator_type_uri:
          Full URL, partial URI, or short name of the accelerator type
          resource to expose to this instance. See `Compute Engine
          AcceleratorTypes
          </compute/docs/reference/beta/acceleratorTypes>`__  Examples
          \* ``https://www.googleapis.com/compute/beta/projects/[project
          _id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`` \*
          ``projects/[project_id]/zones/us-
          east1-a/acceleratorTypes/nvidia-tesla-k80`` \* ``nvidia-
          tesla-k80``  **Auto Zone Exception**: If you are using the
          Cloud Dataproc `Auto Zone Placement
          </dataproc/docs/concepts/configuring-clusters/auto-
          zone#using_auto_zone_placement>`__ feature, you must use the
          short name of the accelerator type resource, for example,
          ``nvidia-tesla-k80``.
      accelerator_count:
          The number of the accelerator cards of this type exposed to
          this instance.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.AcceleratorConfig)
    ),
)
_sym_db.RegisterMessage(AcceleratorConfig)

DiskConfig = _reflection.GeneratedProtocolMessageType(
    "DiskConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DISKCONFIG,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Specifies the config of disk options for a group of VM instances.
  
  
  Attributes:
      boot_disk_type:
          Optional. Type of the boot disk (default is "pd-standard").
          Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
          "pd-standard" (Persistent Disk Hard Disk Drive).
      boot_disk_size_gb:
          Optional. Size in GB of the boot disk (default is 500GB).
      num_local_ssds:
          Optional. Number of attached SSDs, from 0 to 4 (default is 0).
          If SSDs are not attached, the boot disk is used to store
          runtime logs and `HDFS <https://hadoop.apache.org/docs/r1.2.1/
          hdfs_user_guide.html>`__ data. If one or more SSDs are
          attached, this runtime bulk data is spread across them, and
          the boot disk contains only basic config and installed
          binaries.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.DiskConfig)
    ),
)
_sym_db.RegisterMessage(DiskConfig)

LifecycleConfig = _reflection.GeneratedProtocolMessageType(
    "LifecycleConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LIFECYCLECONFIG,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Specifies the cluster auto-delete schedule configuration.
  
  
  Attributes:
      idle_delete_ttl:
          Optional. The duration to keep the cluster alive while idling.
          Passing this threshold will cause the cluster to be deleted.
          Valid range: **[10m, 14d]**.  Example: **"10m"**, the minimum
          value, to delete the cluster when it has had no jobs running
          for 10 minutes.
      ttl:
          Optional. Either the exact time the cluster should be deleted
          at or the cluster maximum age.
      auto_delete_time:
          Optional. The time when cluster will be auto-deleted.
      auto_delete_ttl:
          Optional. The lifetime duration of cluster. The cluster will
          be auto-deleted at the end of this period. Valid range:
          **[10m, 14d]**.  Example: **"1d"**, to delete the cluster 1
          day after its creation..
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.LifecycleConfig)
    ),
)
_sym_db.RegisterMessage(LifecycleConfig)

SecurityConfig = _reflection.GeneratedProtocolMessageType(
    "SecurityConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_SECURITYCONFIG,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Security related configuration, including encryption, Kerberos, etc.
  
  
  Attributes:
      kerberos_config:
          Kerberos related configuration.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.SecurityConfig)
    ),
)
_sym_db.RegisterMessage(SecurityConfig)

KerberosConfig = _reflection.GeneratedProtocolMessageType(
    "KerberosConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_KERBEROSCONFIG,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Specifies Kerberos related configuration.
  
  
  Attributes:
      enable_kerberos:
          Optional. Flag to indicate whether to Kerberize the cluster.
      root_principal_password_uri:
          Required. The Cloud Storage URI of a KMS encrypted file
          containing the root principal password.
      kms_key_uri:
          Required. The uri of the KMS key used to encrypt various
          sensitive files.
      keystore_uri:
          Optional. The Cloud Storage URI of the keystore file used for
          SSL encryption. If not provided, Dataproc will provide a self-
          signed certificate.
      truststore_uri:
          Optional. The Cloud Storage URI of the truststore file used
          for SSL encryption. If not provided, Dataproc will provide a
          self-signed certificate.
      keystore_password_uri:
          Optional. The Cloud Storage URI of a KMS encrypted file
          containing the password to the user provided keystore. For the
          self-signed certificate, this password is generated by
          Dataproc.
      key_password_uri:
          Optional. The Cloud Storage URI of a KMS encrypted file
          containing the password to the user provided key. For the
          self-signed certificate, this password is generated by
          Dataproc.
      truststore_password_uri:
          Optional. The Cloud Storage URI of a KMS encrypted file
          containing the password to the user provided truststore. For
          the self-signed certificate, this password is generated by
          Dataproc.
      cross_realm_trust_realm:
          Optional. The remote realm the Dataproc on-cluster KDC will
          trust, should the user enable cross realm trust.
      cross_realm_trust_kdc:
          Optional. The KDC (IP or hostname) for the remote trusted
          realm in a cross realm trust relationship.
      cross_realm_trust_admin_server:
          Optional. The admin server (IP or hostname) for the remote
          trusted realm in a cross realm trust relationship.
      cross_realm_trust_shared_password_uri:
          Optional. The Cloud Storage URI of a KMS encrypted file
          containing the shared password between the on-cluster Kerberos
          realm and the remote trusted realm, in a cross realm trust
          relationship.
      kdc_db_key_uri:
          Optional. The Cloud Storage URI of a KMS encrypted file
          containing the master key of the KDC database.
      tgt_lifetime_hours:
          Optional. The lifetime of the ticket granting ticket, in
          hours. If not specified, or user specifies 0, then default
          value 10 will be used.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.KerberosConfig)
    ),
)
_sym_db.RegisterMessage(KerberosConfig)

NodeInitializationAction = _reflection.GeneratedProtocolMessageType(
    "NodeInitializationAction",
    (_message.Message,),
    dict(
        DESCRIPTOR=_NODEINITIALIZATIONACTION,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Specifies an executable to run on a fully configured node and a timeout
  period for executable completion.
  
  
  Attributes:
      executable_file:
          Required. Cloud Storage URI of executable file.
      execution_timeout:
          Optional. Amount of time executable has to complete. Default
          is 10 minutes. Cluster creation fails with an explanatory
          error message (the name of the executable that caused the
          error and the exceeded timeout period) if the executable is
          not completed at end of the timeout period.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.NodeInitializationAction)
    ),
)
_sym_db.RegisterMessage(NodeInitializationAction)

ClusterStatus = _reflection.GeneratedProtocolMessageType(
    "ClusterStatus",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CLUSTERSTATUS,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""The status of a cluster and its instances.
  
  
  Attributes:
      state:
          Output only. The cluster's state.
      detail:
          Output only. Optional details of cluster's state.
      state_start_time:
          Output only. Time when this state was entered.
      substate:
          Output only. Additional state information that includes status
          reported by the agent.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.ClusterStatus)
    ),
)
_sym_db.RegisterMessage(ClusterStatus)

SoftwareConfig = _reflection.GeneratedProtocolMessageType(
    "SoftwareConfig",
    (_message.Message,),
    dict(
        PropertiesEntry=_reflection.GeneratedProtocolMessageType(
            "PropertiesEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_SOFTWARECONFIG_PROPERTIESENTRY,
                __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.SoftwareConfig.PropertiesEntry)
            ),
        ),
        DESCRIPTOR=_SOFTWARECONFIG,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Specifies the selection and config of software inside the cluster.
  
  
  Attributes:
      image_version:
          Optional. The version of software inside the cluster. It must
          be one of the supported `Cloud Dataproc Versions
          </dataproc/docs/concepts/versioning/dataproc-
          versions#supported_cloud_dataproc_versions>`__, such as "1.2"
          (including a subminor version, such as "1.2.29"), or the
          `"preview" version
          </dataproc/docs/concepts/versioning/dataproc-
          versions#other_versions>`__. If unspecified, it defaults to
          the latest Debian version.
      properties:
          Optional. The properties to set on daemon config files.
          Property keys are specified in ``prefix:property`` format, for
          example ``core:hadoop.tmp.dir``. The following are supported
          prefixes and their mappings:  -  capacity-scheduler:
          ``capacity-scheduler.xml`` -  core: ``core-site.xml`` -
          distcp: ``distcp-default.xml`` -  hdfs: ``hdfs-site.xml`` -
          hive: ``hive-site.xml`` -  mapred: ``mapred-site.xml`` -  pig:
          ``pig.properties`` -  spark: ``spark-defaults.conf`` -  yarn:
          ``yarn-site.xml``  For more information, see `Cluster
          properties </dataproc/docs/concepts/cluster-properties>`__.
      optional_components:
          The set of optional components to activate on the cluster.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.SoftwareConfig)
    ),
)
_sym_db.RegisterMessage(SoftwareConfig)
_sym_db.RegisterMessage(SoftwareConfig.PropertiesEntry)

ClusterMetrics = _reflection.GeneratedProtocolMessageType(
    "ClusterMetrics",
    (_message.Message,),
    dict(
        HdfsMetricsEntry=_reflection.GeneratedProtocolMessageType(
            "HdfsMetricsEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_CLUSTERMETRICS_HDFSMETRICSENTRY,
                __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.ClusterMetrics.HdfsMetricsEntry)
            ),
        ),
        YarnMetricsEntry=_reflection.GeneratedProtocolMessageType(
            "YarnMetricsEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_CLUSTERMETRICS_YARNMETRICSENTRY,
                __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.ClusterMetrics.YarnMetricsEntry)
            ),
        ),
        DESCRIPTOR=_CLUSTERMETRICS,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Contains cluster daemon metrics, such as HDFS and YARN stats.
  
  **Beta Feature**: This report is available for testing purposes only. It
  may be changed before final release.
  
  
  Attributes:
      hdfs_metrics:
          The HDFS metrics.
      yarn_metrics:
          The YARN metrics.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.ClusterMetrics)
    ),
)
_sym_db.RegisterMessage(ClusterMetrics)
_sym_db.RegisterMessage(ClusterMetrics.HdfsMetricsEntry)
_sym_db.RegisterMessage(ClusterMetrics.YarnMetricsEntry)

CreateClusterRequest = _reflection.GeneratedProtocolMessageType(
    "CreateClusterRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CREATECLUSTERREQUEST,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""A request to create a cluster.
  
  
  Attributes:
      project_id:
          Required. The ID of the Google Cloud Platform project that the
          cluster belongs to.
      region:
          Required. The Cloud Dataproc region in which to handle the
          request.
      cluster:
          Required. The cluster to create.
      request_id:
          Optional. A unique id used to identify the request. If the
          server receives two [CreateClusterRequest][google.cloud.datapr
          oc.v1beta2.CreateClusterRequest] requests with the same id,
          then the second request will be ignored and the first
          [google.longrunning.Operation][google.longrunning.Operation]
          created and stored in the backend is returned.  It is
          recommended to always set this value to a `UUID <https://en.wi
          kipedia.org/wiki/Universally_unique_identifier>`__.  The id
          must contain only letters (a-z, A-Z), numbers (0-9),
          underscores (\_), and hyphens (-). The maximum length is 40
          characters.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.CreateClusterRequest)
    ),
)
_sym_db.RegisterMessage(CreateClusterRequest)

UpdateClusterRequest = _reflection.GeneratedProtocolMessageType(
    "UpdateClusterRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_UPDATECLUSTERREQUEST,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""A request to update a cluster.
  
  
  Attributes:
      project_id:
          Required. The ID of the Google Cloud Platform project the
          cluster belongs to.
      region:
          Required. The Cloud Dataproc region in which to handle the
          request.
      cluster_name:
          Required. The cluster name.
      cluster:
          Required. The changes to the cluster.
      graceful_decommission_timeout:
          Optional. Timeout for graceful YARN decomissioning. Graceful
          decommissioning allows removing nodes from the cluster without
          interrupting jobs in progress. Timeout specifies how long to
          wait for jobs in progress to finish before forcefully removing
          nodes (and potentially interrupting jobs). Default timeout is
          0 (for forceful decommission), and the maximum allowed timeout
          is 1 day.  Only supported on Dataproc image versions 1.2 and
          higher.
      update_mask:
          Required. Specifies the path, relative to ``Cluster``, of the
          field to update. For example, to change the number of workers
          in a cluster to 5, the ``update_mask`` parameter would be
          specified as ``config.worker_config.num_instances``, and the
          ``PATCH`` request body would specify the new value, as
          follows:  ::      {       "config":{         "workerConfig":{
          "numInstances":"5"         }       }     }  Similarly, to
          change the number of preemptible workers in a cluster to 5,
          the ``update_mask`` parameter would be
          ``config.secondary_worker_config.num_instances``, and the
          ``PATCH`` request body would be set as follows:  ::      {
          "config":{         "secondaryWorkerConfig":{
          "numInstances":"5"         }       }     }  Note: currently
          only the following fields can be updated:  .. raw:: html
          <table>  .. raw:: html     <tr>  .. raw:: html     <td>  Mask
          .. raw:: html     </td>  .. raw:: html     <td>  Purpose  ..
          raw:: html     </td>  .. raw:: html     </tr>  .. raw:: html
          <tr>  .. raw:: html     <td>  labels  .. raw:: html     </td>
          .. raw:: html     <td>  Updates labels  .. raw:: html
          </td>  .. raw:: html     </tr>  .. raw:: html     <tr>  ..
          raw:: html     <td>  config.worker\_config.num\_instances  ..
          raw:: html     </td>  .. raw:: html     <td>  Resize primary
          worker group  .. raw:: html     </td>  .. raw:: html     </tr>
          .. raw:: html     <tr>  .. raw:: html     <td>
          config.secondary\_worker\_config.num\_instances  .. raw:: html
          </td>  .. raw:: html     <td>  Resize secondary worker group
          .. raw:: html     </td>  .. raw:: html     </tr>  .. raw::
          html     <tr>  .. raw:: html     <td>
          config.lifecycle\_config.auto\_delete\_ttl  .. raw:: html
          </td>  .. raw:: html     <td>  Reset MAX TTL duration  ..
          raw:: html     </td>  .. raw:: html     </tr>  .. raw:: html
          <tr>  .. raw:: html     <td>
          config.lifecycle\_config.auto\_delete\_time  .. raw:: html
          </td>  .. raw:: html     <td>  Update MAX TTL deletion
          timestamp  .. raw:: html     </td>  .. raw:: html     </tr>
          .. raw:: html     <tr>  .. raw:: html     <td>
          config.lifecycle\_config.idle\_delete\_ttl  .. raw:: html
          </td>  .. raw:: html     <td>  Update Idle TTL duration  ..
          raw:: html     </td>  .. raw:: html     </tr>  .. raw:: html
          <tr>  .. raw:: html     <td>
          config.autoscaling\_config.policy\_uri  .. raw:: html
          </td>  .. raw:: html     <td>  Use, stop using, or change
          autoscaling policies  .. raw:: html     </td>  .. raw:: html
          </tr>  .. raw:: html     </table>
      request_id:
          Optional. A unique id used to identify the request. If the
          server receives two [UpdateClusterRequest][google.cloud.datapr
          oc.v1beta2.UpdateClusterRequest] requests with the same id,
          then the second request will be ignored and the first
          [google.longrunning.Operation][google.longrunning.Operation]
          created and stored in the backend is returned.  It is
          recommended to always set this value to a `UUID <https://en.wi
          kipedia.org/wiki/Universally_unique_identifier>`__.  The id
          must contain only letters (a-z, A-Z), numbers (0-9),
          underscores (\_), and hyphens (-). The maximum length is 40
          characters.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.UpdateClusterRequest)
    ),
)
_sym_db.RegisterMessage(UpdateClusterRequest)

DeleteClusterRequest = _reflection.GeneratedProtocolMessageType(
    "DeleteClusterRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DELETECLUSTERREQUEST,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""A request to delete a cluster.
  
  
  Attributes:
      project_id:
          Required. The ID of the Google Cloud Platform project that the
          cluster belongs to.
      region:
          Required. The Cloud Dataproc region in which to handle the
          request.
      cluster_name:
          Required. The cluster name.
      cluster_uuid:
          Optional. Specifying the ``cluster_uuid`` means the RPC should
          fail (with error NOT\_FOUND) if cluster with specified UUID
          does not exist.
      request_id:
          Optional. A unique id used to identify the request. If the
          server receives two [DeleteClusterRequest][google.cloud.datapr
          oc.v1beta2.DeleteClusterRequest] requests with the same id,
          then the second request will be ignored and the first
          [google.longrunning.Operation][google.longrunning.Operation]
          created and stored in the backend is returned.  It is
          recommended to always set this value to a `UUID <https://en.wi
          kipedia.org/wiki/Universally_unique_identifier>`__.  The id
          must contain only letters (a-z, A-Z), numbers (0-9),
          underscores (\_), and hyphens (-). The maximum length is 40
          characters.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.DeleteClusterRequest)
    ),
)
_sym_db.RegisterMessage(DeleteClusterRequest)

GetClusterRequest = _reflection.GeneratedProtocolMessageType(
    "GetClusterRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETCLUSTERREQUEST,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Request to get the resource representation for a cluster in a project.
  
  
  Attributes:
      project_id:
          Required. The ID of the Google Cloud Platform project that the
          cluster belongs to.
      region:
          Required. The Cloud Dataproc region in which to handle the
          request.
      cluster_name:
          Required. The cluster name.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.GetClusterRequest)
    ),
)
_sym_db.RegisterMessage(GetClusterRequest)

ListClustersRequest = _reflection.GeneratedProtocolMessageType(
    "ListClustersRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTCLUSTERSREQUEST,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""A request to list the clusters in a project.
  
  
  Attributes:
      project_id:
          Required. The ID of the Google Cloud Platform project that the
          cluster belongs to.
      region:
          Required. The Cloud Dataproc region in which to handle the
          request.
      filter:
          Optional. A filter constraining the clusters to list. Filters
          are case-sensitive and have the following syntax:  field =
          value [AND [field = value]] ...  where **field** is one of
          ``status.state``, ``clusterName``, or ``labels.[KEY]``, and
          ``[KEY]`` is a label key. **value** can be ``*`` to match all
          values. ``status.state`` can be one of the following:
          ``ACTIVE``, ``INACTIVE``, ``CREATING``, ``RUNNING``,
          ``ERROR``, ``DELETING``, or ``UPDATING``. ``ACTIVE`` contains
          the ``CREATING``, ``UPDATING``, and ``RUNNING`` states.
          ``INACTIVE`` contains the ``DELETING`` and ``ERROR`` states.
          ``clusterName`` is the name of the cluster provided at
          creation time. Only the logical ``AND`` operator is supported;
          space-separated items are treated as having an implicit
          ``AND`` operator.  Example filter:  status.state = ACTIVE AND
          clusterName = mycluster AND labels.env = staging AND
          labels.starred = \*
      page_size:
          Optional. The standard List page size.
      page_token:
          Optional. The standard List page token.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.ListClustersRequest)
    ),
)
_sym_db.RegisterMessage(ListClustersRequest)

ListClustersResponse = _reflection.GeneratedProtocolMessageType(
    "ListClustersResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTCLUSTERSRESPONSE,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""The list of all clusters in a project.
  
  
  Attributes:
      clusters:
          Output only. The clusters in the project.
      next_page_token:
          Output only. This token is included in the response if there
          are more results to fetch. To fetch additional results,
          provide this value as the ``page_token`` in a subsequent
          ListClustersRequest.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.ListClustersResponse)
    ),
)
_sym_db.RegisterMessage(ListClustersResponse)

DiagnoseClusterRequest = _reflection.GeneratedProtocolMessageType(
    "DiagnoseClusterRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DIAGNOSECLUSTERREQUEST,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""A request to collect cluster diagnostic information.
  
  
  Attributes:
      project_id:
          Required. The ID of the Google Cloud Platform project that the
          cluster belongs to.
      region:
          Required. The Cloud Dataproc region in which to handle the
          request.
      cluster_name:
          Required. The cluster name.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.DiagnoseClusterRequest)
    ),
)
_sym_db.RegisterMessage(DiagnoseClusterRequest)

DiagnoseClusterResults = _reflection.GeneratedProtocolMessageType(
    "DiagnoseClusterResults",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DIAGNOSECLUSTERRESULTS,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""The location of diagnostic output.
  
  
  Attributes:
      output_uri:
          Output only. The Cloud Storage URI of the diagnostic output.
          The output report is a plain text file with a summary of
          collected diagnostics.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.DiagnoseClusterResults)
    ),
)
_sym_db.RegisterMessage(DiagnoseClusterResults)

ReservationAffinity = _reflection.GeneratedProtocolMessageType(
    "ReservationAffinity",
    (_message.Message,),
    dict(
        DESCRIPTOR=_RESERVATIONAFFINITY,
        __module__="google.cloud.dataproc_v1beta2.proto.clusters_pb2",
        __doc__="""Reservation Affinity for consuming Zonal reservation.
  
  
  Attributes:
      consume_reservation_type:
          Optional. Type of reservation to consume
      key:
          Optional. Corresponds to the label key of reservation
          resource.
      values:
          Optional. Corresponds to the label values of reservation
          resource.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1beta2.ReservationAffinity)
    ),
)
_sym_db.RegisterMessage(ReservationAffinity)


DESCRIPTOR._options = None
_CLUSTER_LABELSENTRY._options = None
_ENDPOINTCONFIG_HTTPPORTSENTRY._options = None
_GCECLUSTERCONFIG_METADATAENTRY._options = None
_SOFTWARECONFIG_PROPERTIESENTRY._options = None
_CLUSTERMETRICS_HDFSMETRICSENTRY._options = None
_CLUSTERMETRICS_YARNMETRICSENTRY._options = None

_CLUSTERCONTROLLER = _descriptor.ServiceDescriptor(
    name="ClusterController",
    full_name="google.cloud.dataproc.v1beta2.ClusterController",
    file=DESCRIPTOR,
    index=0,
    serialized_options=None,
    serialized_start=5954,
    serialized_end=7098,
    methods=[
        _descriptor.MethodDescriptor(
            name="CreateCluster",
            full_name="google.cloud.dataproc.v1beta2.ClusterController.CreateCluster",
            index=0,
            containing_service=None,
            input_type=_CREATECLUSTERREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                '\202\323\344\223\002C"8/v1beta2/projects/{project_id}/regions/{region}/clusters:\007cluster'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="UpdateCluster",
            full_name="google.cloud.dataproc.v1beta2.ClusterController.UpdateCluster",
            index=1,
            containing_service=None,
            input_type=_UPDATECLUSTERREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                "\202\323\344\223\002R2G/v1beta2/projects/{project_id}/regions/{region}/clusters/{cluster_name}:\007cluster"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="DeleteCluster",
            full_name="google.cloud.dataproc.v1beta2.ClusterController.DeleteCluster",
            index=2,
            containing_service=None,
            input_type=_DELETECLUSTERREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                "\202\323\344\223\002I*G/v1beta2/projects/{project_id}/regions/{region}/clusters/{cluster_name}"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetCluster",
            full_name="google.cloud.dataproc.v1beta2.ClusterController.GetCluster",
            index=3,
            containing_service=None,
            input_type=_GETCLUSTERREQUEST,
            output_type=_CLUSTER,
            serialized_options=_b(
                "\202\323\344\223\002I\022G/v1beta2/projects/{project_id}/regions/{region}/clusters/{cluster_name}"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ListClusters",
            full_name="google.cloud.dataproc.v1beta2.ClusterController.ListClusters",
            index=4,
            containing_service=None,
            input_type=_LISTCLUSTERSREQUEST,
            output_type=_LISTCLUSTERSRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\002:\0228/v1beta2/projects/{project_id}/regions/{region}/clusters"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="DiagnoseCluster",
            full_name="google.cloud.dataproc.v1beta2.ClusterController.DiagnoseCluster",
            index=5,
            containing_service=None,
            input_type=_DIAGNOSECLUSTERREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                '\202\323\344\223\002U"P/v1beta2/projects/{project_id}/regions/{region}/clusters/{cluster_name}:diagnose:\001*'
            ),
        ),
    ],
)
_sym_db.RegisterServiceDescriptor(_CLUSTERCONTROLLER)

DESCRIPTOR.services_by_name["ClusterController"] = _CLUSTERCONTROLLER

# @@protoc_insertion_point(module_scope)
