# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dataproc_v1/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_v1.proto import (
    operations_pb2 as google_dot_cloud_dot_dataproc__v1_dot_proto_dot_operations__pb2,
)
from google.cloud.dataproc_v1.proto import (
    shared_pb2 as google_dot_cloud_dot_dataproc__v1_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_v1/proto/clusters.proto",
    package="google.cloud.dataproc.v1",
    syntax="proto3",
    serialized_options=_b(
        "\n\034com.google.cloud.dataproc.v1B\rClustersProtoP\001Z@google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataproc"
    ),
    serialized_pb=_b(
        '\n-google/cloud/dataproc_v1/proto/clusters.proto\x12\x18google.cloud.dataproc.v1\x1a\x1cgoogle/api/annotations.proto\x1a/google/cloud/dataproc_v1/proto/operations.proto\x1a+google/cloud/dataproc_v1/proto/shared.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa5\x03\n\x07\x43luster\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x14\n\x0c\x63luster_name\x18\x02 \x01(\t\x12\x37\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\'.google.cloud.dataproc.v1.ClusterConfig\x12=\n\x06labels\x18\x08 \x03(\x0b\x32-.google.cloud.dataproc.v1.Cluster.LabelsEntry\x12\x37\n\x06status\x18\x04 \x01(\x0b\x32\'.google.cloud.dataproc.v1.ClusterStatus\x12?\n\x0estatus_history\x18\x07 \x03(\x0b\x32\'.google.cloud.dataproc.v1.ClusterStatus\x12\x14\n\x0c\x63luster_uuid\x18\x06 \x01(\t\x12\x39\n\x07metrics\x18\t \x01(\x0b\x32(.google.cloud.dataproc.v1.ClusterMetrics\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xa8\x04\n\rClusterConfig\x12\x15\n\rconfig_bucket\x18\x01 \x01(\t\x12\x46\n\x12gce_cluster_config\x18\x08 \x01(\x0b\x32*.google.cloud.dataproc.v1.GceClusterConfig\x12\x44\n\rmaster_config\x18\t \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfig\x12\x44\n\rworker_config\x18\n \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfig\x12N\n\x17secondary_worker_config\x18\x0c \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfig\x12\x41\n\x0fsoftware_config\x18\r \x01(\x0b\x32(.google.cloud.dataproc.v1.SoftwareConfig\x12R\n\x16initialization_actions\x18\x0b \x03(\x0b\x32\x32.google.cloud.dataproc.v1.NodeInitializationAction\x12\x45\n\x11\x65ncryption_config\x18\x0f \x01(\x0b\x32*.google.cloud.dataproc.v1.EncryptionConfig"/\n\x10\x45ncryptionConfig\x12\x1b\n\x13gce_pd_kms_key_name\x18\x01 \x01(\t"\xaf\x02\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\x12J\n\x08metadata\x18\x05 \x03(\x0b\x32\x38.google.cloud.dataproc.v1.GceClusterConfig.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xd3\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\x39\n\x0b\x64isk_config\x18\x05 \x01(\x0b\x32$.google.cloud.dataproc.v1.DiskConfig\x12\x16\n\x0eis_preemptible\x18\x06 \x01(\x08\x12J\n\x14managed_group_config\x18\x07 \x01(\x0b\x32,.google.cloud.dataproc.v1.ManagedGroupConfig\x12\x41\n\x0c\x61\x63\x63\x65lerators\x18\x08 \x03(\x0b\x32+.google.cloud.dataproc.v1.AcceleratorConfig"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"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"\xed\x02\n\rClusterStatus\x12<\n\x05state\x18\x01 \x01(\x0e\x32-.google.cloud.dataproc.v1.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\x12\x42\n\x08substate\x18\x04 \x01(\x0e\x32\x30.google.cloud.dataproc.v1.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"\xea\x01\n\x0eSoftwareConfig\x12\x15\n\rimage_version\x18\x01 \x01(\t\x12L\n\nproperties\x18\x02 \x03(\x0b\x32\x38.google.cloud.dataproc.v1.SoftwareConfig.PropertiesEntry\x12@\n\x13optional_components\x18\x03 \x03(\x0e\x32#.google.cloud.dataproc.v1.Component\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x9a\x02\n\x0e\x43lusterMetrics\x12O\n\x0chdfs_metrics\x18\x01 \x03(\x0b\x32\x39.google.cloud.dataproc.v1.ClusterMetrics.HdfsMetricsEntry\x12O\n\x0cyarn_metrics\x18\x02 \x03(\x0b\x32\x39.google.cloud.dataproc.v1.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"\x82\x01\n\x14\x43reateClusterRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\x12\x32\n\x07\x63luster\x18\x02 \x01(\x0b\x32!.google.cloud.dataproc.v1.Cluster\x12\x12\n\nrequest_id\x18\x04 \x01(\t"\x8b\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\x32\n\x07\x63luster\x18\x03 \x01(\x0b\x32!.google.cloud.dataproc.v1.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"d\n\x14ListClustersResponse\x12\x33\n\x08\x63lusters\x18\x01 \x03(\x0b\x32!.google.cloud.dataproc.v1.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(\t2\xb2\x08\n\x11\x43lusterController\x12\xa4\x01\n\rCreateCluster\x12..google.cloud.dataproc.v1.CreateClusterRequest\x1a\x1d.google.longrunning.Operation"D\x82\xd3\xe4\x93\x02>"3/v1/projects/{project_id}/regions/{region}/clusters:\x07\x63luster\x12\xb3\x01\n\rUpdateCluster\x12..google.cloud.dataproc.v1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation"S\x82\xd3\xe4\x93\x02M2B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:\x07\x63luster\x12\xaa\x01\n\rDeleteCluster\x12..google.cloud.dataproc.v1.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation"J\x82\xd3\xe4\x93\x02\x44*B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\x12\xa8\x01\n\nGetCluster\x12+.google.cloud.dataproc.v1.GetClusterRequest\x1a!.google.cloud.dataproc.v1.Cluster"J\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\x12\xaa\x01\n\x0cListClusters\x12-.google.cloud.dataproc.v1.ListClustersRequest\x1a..google.cloud.dataproc.v1.ListClustersResponse";\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/projects/{project_id}/regions/{region}/clusters\x12\xba\x01\n\x0f\x44iagnoseCluster\x12\x30.google.cloud.dataproc.v1.DiagnoseClusterRequest\x1a\x1d.google.longrunning.Operation"V\x82\xd3\xe4\x93\x02P"K/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:diagnose:\x01*Bq\n\x1c\x63om.google.cloud.dataproc.v1B\rClustersProtoP\x01Z@google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataprocb\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_cloud_dot_dataproc__v1_dot_proto_dot_operations__pb2.DESCRIPTOR,
        google_dot_cloud_dot_dataproc__v1_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.v1.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=2594,
    serialized_end=2680,
)
_sym_db.RegisterEnumDescriptor(_CLUSTERSTATUS_STATE)

_CLUSTERSTATUS_SUBSTATE = _descriptor.EnumDescriptor(
    name="Substate",
    full_name="google.cloud.dataproc.v1.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=2682,
    serialized_end=2742,
)
_sym_db.RegisterEnumDescriptor(_CLUSTERSTATUS_SUBSTATE)


_CLUSTER_LABELSENTRY = _descriptor.Descriptor(
    name="LabelsEntry",
    full_name="google.cloud.dataproc.v1.Cluster.LabelsEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.dataproc.v1.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.v1.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=712,
    serialized_end=757,
)

_CLUSTER = _descriptor.Descriptor(
    name="Cluster",
    full_name="google.cloud.dataproc.v1.Cluster",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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=336,
    serialized_end=757,
)


_CLUSTERCONFIG = _descriptor.Descriptor(
    name="ClusterConfig",
    full_name="google.cloud.dataproc.v1.ClusterConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="config_bucket",
            full_name="google.cloud.dataproc.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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="initialization_actions",
            full_name="google.cloud.dataproc.v1.ClusterConfig.initialization_actions",
            index=6,
            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.v1.ClusterConfig.encryption_config",
            index=7,
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=760,
    serialized_end=1312,
)


_ENCRYPTIONCONFIG = _descriptor.Descriptor(
    name="EncryptionConfig",
    full_name="google.cloud.dataproc.v1.EncryptionConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="gce_pd_kms_key_name",
            full_name="google.cloud.dataproc.v1.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=1314,
    serialized_end=1361,
)


_GCECLUSTERCONFIG_METADATAENTRY = _descriptor.Descriptor(
    name="MetadataEntry",
    full_name="google.cloud.dataproc.v1.GceClusterConfig.MetadataEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.dataproc.v1.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.v1.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=1620,
    serialized_end=1667,
)

_GCECLUSTERCONFIG = _descriptor.Descriptor(
    name="GceClusterConfig",
    full_name="google.cloud.dataproc.v1.GceClusterConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="zone_uri",
            full_name="google.cloud.dataproc.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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,
        ),
    ],
    extensions=[],
    nested_types=[_GCECLUSTERCONFIG_METADATAENTRY],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1364,
    serialized_end=1667,
)


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


_MANAGEDGROUPCONFIG = _descriptor.Descriptor(
    name="ManagedGroupConfig",
    full_name="google.cloud.dataproc.v1.ManagedGroupConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="instance_template_name",
            full_name="google.cloud.dataproc.v1.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.v1.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=2011,
    serialized_end=2100,
)


_ACCELERATORCONFIG = _descriptor.Descriptor(
    name="AcceleratorConfig",
    full_name="google.cloud.dataproc.v1.AcceleratorConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="accelerator_type_uri",
            full_name="google.cloud.dataproc.v1.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.v1.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=2102,
    serialized_end=2178,
)


_DISKCONFIG = _descriptor.Descriptor(
    name="DiskConfig",
    full_name="google.cloud.dataproc.v1.DiskConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="boot_disk_type",
            full_name="google.cloud.dataproc.v1.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.v1.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.v1.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=2180,
    serialized_end=2267,
)


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


_CLUSTERSTATUS = _descriptor.Descriptor(
    name="ClusterStatus",
    full_name="google.cloud.dataproc.v1.ClusterStatus",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="state",
            full_name="google.cloud.dataproc.v1.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.v1.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.v1.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.v1.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=2377,
    serialized_end=2742,
)


_SOFTWARECONFIG_PROPERTIESENTRY = _descriptor.Descriptor(
    name="PropertiesEntry",
    full_name="google.cloud.dataproc.v1.SoftwareConfig.PropertiesEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.dataproc.v1.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.v1.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=2930,
    serialized_end=2979,
)

_SOFTWARECONFIG = _descriptor.Descriptor(
    name="SoftwareConfig",
    full_name="google.cloud.dataproc.v1.SoftwareConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="image_version",
            full_name="google.cloud.dataproc.v1.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.v1.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.v1.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=2745,
    serialized_end=2979,
)


_CLUSTERMETRICS_HDFSMETRICSENTRY = _descriptor.Descriptor(
    name="HdfsMetricsEntry",
    full_name="google.cloud.dataproc.v1.ClusterMetrics.HdfsMetricsEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.dataproc.v1.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.v1.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=3162,
    serialized_end=3212,
)

_CLUSTERMETRICS_YARNMETRICSENTRY = _descriptor.Descriptor(
    name="YarnMetricsEntry",
    full_name="google.cloud.dataproc.v1.ClusterMetrics.YarnMetricsEntry",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.dataproc.v1.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.v1.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=3214,
    serialized_end=3264,
)

_CLUSTERMETRICS = _descriptor.Descriptor(
    name="ClusterMetrics",
    full_name="google.cloud.dataproc.v1.ClusterMetrics",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="hdfs_metrics",
            full_name="google.cloud.dataproc.v1.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.v1.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=2982,
    serialized_end=3264,
)


_CREATECLUSTERREQUEST = _descriptor.Descriptor(
    name="CreateClusterRequest",
    full_name="google.cloud.dataproc.v1.CreateClusterRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1.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.v1.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.v1.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.v1.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=3267,
    serialized_end=3397,
)


_UPDATECLUSTERREQUEST = _descriptor.Descriptor(
    name="UpdateClusterRequest",
    full_name="google.cloud.dataproc.v1.UpdateClusterRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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=3400,
    serialized_end=3667,
)


_DELETECLUSTERREQUEST = _descriptor.Descriptor(
    name="DeleteClusterRequest",
    full_name="google.cloud.dataproc.v1.DeleteClusterRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1.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.v1.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.v1.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.v1.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.v1.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=3669,
    serialized_end=3791,
)


_GETCLUSTERREQUEST = _descriptor.Descriptor(
    name="GetClusterRequest",
    full_name="google.cloud.dataproc.v1.GetClusterRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1.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.v1.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.v1.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=3793,
    serialized_end=3870,
)


_LISTCLUSTERSREQUEST = _descriptor.Descriptor(
    name="ListClustersRequest",
    full_name="google.cloud.dataproc.v1.ListClustersRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1.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.v1.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.v1.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.v1.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.v1.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=3872,
    serialized_end=3984,
)


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


_DIAGNOSECLUSTERREQUEST = _descriptor.Descriptor(
    name="DiagnoseClusterRequest",
    full_name="google.cloud.dataproc.v1.DiagnoseClusterRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="project_id",
            full_name="google.cloud.dataproc.v1.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.v1.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.v1.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=4088,
    serialized_end=4170,
)


_DIAGNOSECLUSTERRESULTS = _descriptor.Descriptor(
    name="DiagnoseClusterResults",
    full_name="google.cloud.dataproc.v1.DiagnoseClusterResults",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="output_uri",
            full_name="google.cloud.dataproc.v1.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=4172,
    serialized_end=4216,
)

_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[
    "initialization_actions"
].message_type = _NODEINITIALIZATIONACTION
_CLUSTERCONFIG.fields_by_name["encryption_config"].message_type = _ENCRYPTIONCONFIG
_GCECLUSTERCONFIG_METADATAENTRY.containing_type = _GCECLUSTERCONFIG
_GCECLUSTERCONFIG.fields_by_name[
    "metadata"
].message_type = _GCECLUSTERCONFIG_METADATAENTRY
_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
_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__v1_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
DESCRIPTOR.message_types_by_name["Cluster"] = _CLUSTER
DESCRIPTOR.message_types_by_name["ClusterConfig"] = _CLUSTERCONFIG
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["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
_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_v1.proto.clusters_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.Cluster.LabelsEntry)
            ),
        ),
        DESCRIPTOR=_CLUSTER,
        __module__="google.cloud.dataproc_v1.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:
          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.v1.Cluster)
    ),
)
_sym_db.RegisterMessage(Cluster)
_sym_db.RegisterMessage(Cluster.LabelsEntry)

ClusterConfig = _reflection.GeneratedProtocolMessageType(
    "ClusterConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CLUSTERCONFIG,
        __module__="google.cloud.dataproc_v1.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.
      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/v1/
          instance/attributes/dataproc-role)     if [[ "${ROLE}" ==
          'Master' ]]; then       ... master specific actions ...
          else       ... worker specific actions ...     fi
      encryption_config:
          Optional. Encryption settings for the cluster.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.ClusterConfig)
    ),
)
_sym_db.RegisterMessage(ClusterConfig)

EncryptionConfig = _reflection.GeneratedProtocolMessageType(
    "EncryptionConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ENCRYPTIONCONFIG,
        __module__="google.cloud.dataproc_v1.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.v1.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_v1.proto.clusters_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.GceClusterConfig.MetadataEntry)
            ),
        ),
        DESCRIPTOR=_GCECLUSTERCONFIG,
        __module__="google.cloud.dataproc_v1.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>`__).
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.GceClusterConfig)
    ),
)
_sym_db.RegisterMessage(GceClusterConfig)
_sym_db.RegisterMessage(GceClusterConfig.MetadataEntry)

InstanceGroupConfig = _reflection.GeneratedProtocolMessageType(
    "InstanceGroupConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_INSTANCEGROUPCONFIG,
        __module__="google.cloud.dataproc_v1.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.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.InstanceGroupConfig)
    ),
)
_sym_db.RegisterMessage(InstanceGroupConfig)

ManagedGroupConfig = _reflection.GeneratedProtocolMessageType(
    "ManagedGroupConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_MANAGEDGROUPCONFIG,
        __module__="google.cloud.dataproc_v1.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.v1.ManagedGroupConfig)
    ),
)
_sym_db.RegisterMessage(ManagedGroupConfig)

AcceleratorConfig = _reflection.GeneratedProtocolMessageType(
    "AcceleratorConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ACCELERATORCONFIG,
        __module__="google.cloud.dataproc_v1.proto.clusters_pb2",
        __doc__="""Specifies the type and number of accelerator cards attached to the
  instances of an instance. 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.v1.AcceleratorConfig)
    ),
)
_sym_db.RegisterMessage(AcceleratorConfig)

DiskConfig = _reflection.GeneratedProtocolMessageType(
    "DiskConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DISKCONFIG,
        __module__="google.cloud.dataproc_v1.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.v1.DiskConfig)
    ),
)
_sym_db.RegisterMessage(DiskConfig)

NodeInitializationAction = _reflection.GeneratedProtocolMessageType(
    "NodeInitializationAction",
    (_message.Message,),
    dict(
        DESCRIPTOR=_NODEINITIALIZATIONACTION,
        __module__="google.cloud.dataproc_v1.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.v1.NodeInitializationAction)
    ),
)
_sym_db.RegisterMessage(NodeInitializationAction)

ClusterStatus = _reflection.GeneratedProtocolMessageType(
    "ClusterStatus",
    (_message.Message,),
    dict(
        DESCRIPTOR=_CLUSTERSTATUS,
        __module__="google.cloud.dataproc_v1.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.v1.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_v1.proto.clusters_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.SoftwareConfig.PropertiesEntry)
            ),
        ),
        DESCRIPTOR=_SOFTWARECONFIG,
        __module__="google.cloud.dataproc_v1.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.v1.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_v1.proto.clusters_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.ClusterMetrics.HdfsMetricsEntry)
            ),
        ),
        YarnMetricsEntry=_reflection.GeneratedProtocolMessageType(
            "YarnMetricsEntry",
            (_message.Message,),
            dict(
                DESCRIPTOR=_CLUSTERMETRICS_YARNMETRICSENTRY,
                __module__="google.cloud.dataproc_v1.proto.clusters_pb2"
                # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.ClusterMetrics.YarnMetricsEntry)
            ),
        ),
        DESCRIPTOR=_CLUSTERMETRICS,
        __module__="google.cloud.dataproc_v1.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.v1.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_v1.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.v1.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.v1.CreateClusterRequest)
    ),
)
_sym_db.RegisterMessage(CreateClusterRequest)

UpdateClusterRequest = _reflection.GeneratedProtocolMessageType(
    "UpdateClusterRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_UPDATECLUSTERREQUEST,
        __module__="google.cloud.dataproc_v1.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     <tbody>  .. 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>  Update 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     </tbody>  .. raw:: html     </table>
      request_id:
          Optional. A unique id used to identify the request. If the
          server receives two [UpdateClusterRequest][google.cloud.datapr
          oc.v1.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.v1.UpdateClusterRequest)
    ),
)
_sym_db.RegisterMessage(UpdateClusterRequest)

DeleteClusterRequest = _reflection.GeneratedProtocolMessageType(
    "DeleteClusterRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DELETECLUSTERREQUEST,
        __module__="google.cloud.dataproc_v1.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.v1.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.v1.DeleteClusterRequest)
    ),
)
_sym_db.RegisterMessage(DeleteClusterRequest)

GetClusterRequest = _reflection.GeneratedProtocolMessageType(
    "GetClusterRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GETCLUSTERREQUEST,
        __module__="google.cloud.dataproc_v1.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.v1.GetClusterRequest)
    ),
)
_sym_db.RegisterMessage(GetClusterRequest)

ListClustersRequest = _reflection.GeneratedProtocolMessageType(
    "ListClustersRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTCLUSTERSREQUEST,
        __module__="google.cloud.dataproc_v1.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.v1.ListClustersRequest)
    ),
)
_sym_db.RegisterMessage(ListClustersRequest)

ListClustersResponse = _reflection.GeneratedProtocolMessageType(
    "ListClustersResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LISTCLUSTERSRESPONSE,
        __module__="google.cloud.dataproc_v1.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.v1.ListClustersResponse)
    ),
)
_sym_db.RegisterMessage(ListClustersResponse)

DiagnoseClusterRequest = _reflection.GeneratedProtocolMessageType(
    "DiagnoseClusterRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DIAGNOSECLUSTERREQUEST,
        __module__="google.cloud.dataproc_v1.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.v1.DiagnoseClusterRequest)
    ),
)
_sym_db.RegisterMessage(DiagnoseClusterRequest)

DiagnoseClusterResults = _reflection.GeneratedProtocolMessageType(
    "DiagnoseClusterResults",
    (_message.Message,),
    dict(
        DESCRIPTOR=_DIAGNOSECLUSTERRESULTS,
        __module__="google.cloud.dataproc_v1.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.v1.DiagnoseClusterResults)
    ),
)
_sym_db.RegisterMessage(DiagnoseClusterResults)


DESCRIPTOR._options = None
_CLUSTER_LABELSENTRY._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.v1.ClusterController",
    file=DESCRIPTOR,
    index=0,
    serialized_options=None,
    serialized_start=4219,
    serialized_end=5293,
    methods=[
        _descriptor.MethodDescriptor(
            name="CreateCluster",
            full_name="google.cloud.dataproc.v1.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\002>"3/v1/projects/{project_id}/regions/{region}/clusters:\007cluster'
            ),
        ),
        _descriptor.MethodDescriptor(
            name="UpdateCluster",
            full_name="google.cloud.dataproc.v1.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\002M2B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:\007cluster"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="DeleteCluster",
            full_name="google.cloud.dataproc.v1.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\002D*B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="GetCluster",
            full_name="google.cloud.dataproc.v1.ClusterController.GetCluster",
            index=3,
            containing_service=None,
            input_type=_GETCLUSTERREQUEST,
            output_type=_CLUSTER,
            serialized_options=_b(
                "\202\323\344\223\002D\022B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="ListClusters",
            full_name="google.cloud.dataproc.v1.ClusterController.ListClusters",
            index=4,
            containing_service=None,
            input_type=_LISTCLUSTERSREQUEST,
            output_type=_LISTCLUSTERSRESPONSE,
            serialized_options=_b(
                "\202\323\344\223\0025\0223/v1/projects/{project_id}/regions/{region}/clusters"
            ),
        ),
        _descriptor.MethodDescriptor(
            name="DiagnoseCluster",
            full_name="google.cloud.dataproc.v1.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\002P"K/v1/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)
