# -*- 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.api import client_pb2 as google_dot_api_dot_client__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.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\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.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"\xb9\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\x42\n\x06labels\x18\x08 \x03(\x0b\x32-.google.cloud.dataproc.v1.Cluster.LabelsEntryB\x03\xe0\x41\x01\x12<\n\x06status\x18\x04 \x01(\x0b\x32\'.google.cloud.dataproc.v1.ClusterStatusB\x03\xe0\x41\x03\x12\x44\n\x0estatus_history\x18\x07 \x03(\x0b\x32\'.google.cloud.dataproc.v1.ClusterStatusB\x03\xe0\x41\x03\x12\x19\n\x0c\x63luster_uuid\x18\x06 \x01(\tB\x03\xe0\x41\x03\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"\xe6\x05\n\rClusterConfig\x12\x1a\n\rconfig_bucket\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12K\n\x12gce_cluster_config\x18\x08 \x01(\x0b\x32*.google.cloud.dataproc.v1.GceClusterConfigB\x03\xe0\x41\x01\x12I\n\rmaster_config\x18\t \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfigB\x03\xe0\x41\x01\x12I\n\rworker_config\x18\n \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfigB\x03\xe0\x41\x01\x12S\n\x17secondary_worker_config\x18\x0c \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfigB\x03\xe0\x41\x01\x12\x46\n\x0fsoftware_config\x18\r \x01(\x0b\x32(.google.cloud.dataproc.v1.SoftwareConfigB\x03\xe0\x41\x01\x12W\n\x16initialization_actions\x18\x0b \x03(\x0b\x32\x32.google.cloud.dataproc.v1.NodeInitializationActionB\x03\xe0\x41\x01\x12J\n\x11\x65ncryption_config\x18\x0f \x01(\x0b\x32*.google.cloud.dataproc.v1.EncryptionConfigB\x03\xe0\x41\x01\x12L\n\x12\x61utoscaling_config\x18\x12 \x01(\x0b\x32+.google.cloud.dataproc.v1.AutoscalingConfigB\x03\xe0\x41\x01\x12\x46\n\x0fsecurity_config\x18\x10 \x01(\x0b\x32(.google.cloud.dataproc.v1.SecurityConfigB\x03\xe0\x41\x01",\n\x11\x41utoscalingConfig\x12\x17\n\npolicy_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01"4\n\x10\x45ncryptionConfig\x12 \n\x13gce_pd_kms_key_name\x18\x01 \x01(\tB\x03\xe0\x41\x01"\xcd\x02\n\x10GceClusterConfig\x12\x15\n\x08zone_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bnetwork_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0esubnetwork_uri\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10internal_ip_only\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0fservice_account\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16service_account_scopes\x18\x03 \x03(\tB\x03\xe0\x41\x01\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"\x9a\x03\n\x13InstanceGroupConfig\x12\x1a\n\rnum_instances\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0einstance_names\x18\x02 \x03(\tB\x03\xe0\x41\x03\x12\x16\n\timage_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10machine_type_uri\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12>\n\x0b\x64isk_config\x18\x05 \x01(\x0b\x32$.google.cloud.dataproc.v1.DiskConfigB\x03\xe0\x41\x01\x12\x1b\n\x0eis_preemptible\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12O\n\x14managed_group_config\x18\x07 \x01(\x0b\x32,.google.cloud.dataproc.v1.ManagedGroupConfigB\x03\xe0\x41\x03\x12\x46\n\x0c\x61\x63\x63\x65lerators\x18\x08 \x03(\x0b\x32+.google.cloud.dataproc.v1.AcceleratorConfigB\x03\xe0\x41\x01\x12\x1d\n\x10min_cpu_platform\x18\t \x01(\tB\x03\xe0\x41\x01"c\n\x12ManagedGroupConfig\x12#\n\x16instance_template_name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12(\n\x1binstance_group_manager_name\x18\x02 \x01(\tB\x03\xe0\x41\x03"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"f\n\nDiskConfig\x12\x1b\n\x0e\x62oot_disk_type\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x62oot_disk_size_gb\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0enum_local_ssds\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01"s\n\x18NodeInitializationAction\x12\x1c\n\x0f\x65xecutable_file\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x11\x65xecution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01"\x84\x03\n\rClusterStatus\x12\x41\n\x05state\x18\x01 \x01(\x0e\x32-.google.cloud.dataproc.v1.ClusterStatus.StateB\x03\xe0\x41\x03\x12\x16\n\x06\x64\x65tail\x18\x02 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x01\x12\x39\n\x10state_start_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x08substate\x18\x04 \x01(\x0e\x32\x30.google.cloud.dataproc.v1.ClusterStatus.SubstateB\x03\xe0\x41\x03"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"S\n\x0eSecurityConfig\x12\x41\n\x0fkerberos_config\x18\x01 \x01(\x0b\x32(.google.cloud.dataproc.v1.KerberosConfig"\x90\x04\n\x0eKerberosConfig\x12\x1c\n\x0f\x65nable_kerberos\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12(\n\x1broot_principal_password_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0bkms_key_uri\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0ckeystore_uri\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0etruststore_uri\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12"\n\x15keystore_password_uri\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10key_password_uri\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17truststore_password_uri\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17\x63ross_realm_trust_realm\x18\t \x01(\tB\x03\xe0\x41\x01\x12"\n\x15\x63ross_realm_trust_kdc\x18\n \x01(\tB\x03\xe0\x41\x01\x12+\n\x1e\x63ross_realm_trust_admin_server\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x32\n%cross_realm_trust_shared_password_uri\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0ekdc_db_key_uri\x18\r \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12tgt_lifetime_hours\x18\x0e \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\x05realm\x18\x0f \x01(\tB\x03\xe0\x41\x01"\xf9\x01\n\x0eSoftwareConfig\x12\x1a\n\rimage_version\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12Q\n\nproperties\x18\x02 \x03(\x0b\x32\x38.google.cloud.dataproc.v1.SoftwareConfig.PropertiesEntryB\x03\xe0\x41\x01\x12\x45\n\x13optional_components\x18\x03 \x03(\x0e\x32#.google.cloud.dataproc.v1.ComponentB\x03\xe0\x41\x01\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"\x96\x01\n\x14\x43reateClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x07\x63luster\x18\x02 \x01(\x0b\x32!.google.cloud.dataproc.v1.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01"\xae\x02\n\x14UpdateClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x07\x63luster\x18\x03 \x01(\x0b\x32!.google.cloud.dataproc.v1.ClusterB\x03\xe0\x41\x02\x12\x45\n\x1dgraceful_decommission_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x07 \x01(\tB\x03\xe0\x41\x01"\x93\x01\n\x14\x44\x65leteClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_uuid\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01"\\\n\x11GetClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x02 \x01(\tB\x03\xe0\x41\x02"\x89\x01\n\x13ListClustersRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01"n\n\x14ListClustersResponse\x12\x38\n\x08\x63lusters\x18\x01 \x03(\x0b\x32!.google.cloud.dataproc.v1.ClusterB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03"a\n\x16\x44iagnoseClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x02 \x01(\tB\x03\xe0\x41\x02"1\n\x16\x44iagnoseClusterResults\x12\x17\n\noutput_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x32\xae\x0c\n\x11\x43lusterController\x12\x80\x02\n\rCreateCluster\x12..google.cloud.dataproc.v1.CreateClusterRequest\x1a\x1d.google.longrunning.Operation"\x9f\x01\x82\xd3\xe4\x93\x02>"3/v1/projects/{project_id}/regions/{region}/clusters:\x07\x63luster\xda\x41\x19project_id,region,cluster\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\xf3\x01\n\rUpdateCluster\x12..google.cloud.dataproc.v1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation"\x92\x01\x82\xd3\xe4\x93\x02M2B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:\x07\x63luster\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\x99\x02\n\rDeleteCluster\x12..google.cloud.dataproc.v1.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation"\xb8\x01\x82\xd3\xe4\x93\x02\x44*B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\xda\x41\x1eproject_id,region,cluster_name\xca\x41J\n\x15google.protobuf.Empty\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\xc9\x01\n\nGetCluster\x12+.google.cloud.dataproc.v1.GetClusterRequest\x1a!.google.cloud.dataproc.v1.Cluster"k\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\xda\x41\x1eproject_id,region,cluster_name\x12\xd9\x01\n\x0cListClusters\x12-.google.cloud.dataproc.v1.ListClustersRequest\x1a..google.cloud.dataproc.v1.ListClustersResponse"j\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/projects/{project_id}/regions/{region}/clusters\xda\x41\x11project_id,region\xda\x41\x18project_id,region,filter\x12\x8e\x02\n\x0f\x44iagnoseCluster\x12\x30.google.cloud.dataproc.v1.DiagnoseClusterRequest\x1a\x1d.google.longrunning.Operation"\xa9\x01\x82\xd3\xe4\x93\x02P"K/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:diagnose:\x01*\xda\x41\x1eproject_id,region,cluster_name\xca\x41/\n\x15google.protobuf.Empty\x12\x16\x44iagnoseClusterResults\x1aK\xca\x41\x17\x64\x61taproc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBq\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_api_dot_client__pb2.DESCRIPTOR,
        google_dot_api_dot_field__behavior__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=3023,
    serialized_end=3109,
)
_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=3111,
    serialized_end=3171,
)
_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=741,
    serialized_end=786,
)

_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=_b("\340A\001"),
            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=_b("\340A\003"),
            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=_b("\340A\003"),
            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=_b("\340A\003"),
            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=345,
    serialized_end=786,
)


_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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="autoscaling_config",
            full_name="google.cloud.dataproc.v1.ClusterConfig.autoscaling_config",
            index=8,
            number=18,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="security_config",
            full_name="google.cloud.dataproc.v1.ClusterConfig.security_config",
            index=9,
            number=16,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=789,
    serialized_end=1531,
)


_AUTOSCALINGCONFIG = _descriptor.Descriptor(
    name="AutoscalingConfig",
    full_name="google.cloud.dataproc.v1.AutoscalingConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="policy_uri",
            full_name="google.cloud.dataproc.v1.AutoscalingConfig.policy_uri",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1533,
    serialized_end=1577,
)


_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=_b("\340A\001"),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1579,
    serialized_end=1631,
)


_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=1920,
    serialized_end=1967,
)

_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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=1634,
    serialized_end=1967,
)


_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=_b("\340A\001"),
            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=_b("\340A\003"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\003"),
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="min_cpu_platform",
            full_name="google.cloud.dataproc.v1.InstanceGroupConfig.min_cpu_platform",
            index=8,
            number=9,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1970,
    serialized_end=2380,
)


_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=_b("\340A\003"),
            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=_b("\340A\003"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2382,
    serialized_end=2481,
)


_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=2483,
    serialized_end=2559,
)


_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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2561,
    serialized_end=2663,
)


_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=_b("\340A\002"),
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2665,
    serialized_end=2780,
)


_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=_b("\340A\003"),
            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=_b("\340A\003\340A\001"),
            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=_b("\340A\003"),
            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=_b("\340A\003"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[_CLUSTERSTATUS_STATE, _CLUSTERSTATUS_SUBSTATE],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2783,
    serialized_end=3171,
)


_SECURITYCONFIG = _descriptor.Descriptor(
    name="SecurityConfig",
    full_name="google.cloud.dataproc.v1.SecurityConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="kerberos_config",
            full_name="google.cloud.dataproc.v1.SecurityConfig.kerberos_config",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=3173,
    serialized_end=3256,
)


_KERBEROSCONFIG = _descriptor.Descriptor(
    name="KerberosConfig",
    full_name="google.cloud.dataproc.v1.KerberosConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="enable_kerberos",
            full_name="google.cloud.dataproc.v1.KerberosConfig.enable_kerberos",
            index=0,
            number=1,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="root_principal_password_uri",
            full_name="google.cloud.dataproc.v1.KerberosConfig.root_principal_password_uri",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="kms_key_uri",
            full_name="google.cloud.dataproc.v1.KerberosConfig.kms_key_uri",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="keystore_uri",
            full_name="google.cloud.dataproc.v1.KerberosConfig.keystore_uri",
            index=3,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="truststore_uri",
            full_name="google.cloud.dataproc.v1.KerberosConfig.truststore_uri",
            index=4,
            number=5,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="keystore_password_uri",
            full_name="google.cloud.dataproc.v1.KerberosConfig.keystore_password_uri",
            index=5,
            number=6,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="key_password_uri",
            full_name="google.cloud.dataproc.v1.KerberosConfig.key_password_uri",
            index=6,
            number=7,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="truststore_password_uri",
            full_name="google.cloud.dataproc.v1.KerberosConfig.truststore_password_uri",
            index=7,
            number=8,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="cross_realm_trust_realm",
            full_name="google.cloud.dataproc.v1.KerberosConfig.cross_realm_trust_realm",
            index=8,
            number=9,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="cross_realm_trust_kdc",
            full_name="google.cloud.dataproc.v1.KerberosConfig.cross_realm_trust_kdc",
            index=9,
            number=10,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="cross_realm_trust_admin_server",
            full_name="google.cloud.dataproc.v1.KerberosConfig.cross_realm_trust_admin_server",
            index=10,
            number=11,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="cross_realm_trust_shared_password_uri",
            full_name="google.cloud.dataproc.v1.KerberosConfig.cross_realm_trust_shared_password_uri",
            index=11,
            number=12,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="kdc_db_key_uri",
            full_name="google.cloud.dataproc.v1.KerberosConfig.kdc_db_key_uri",
            index=12,
            number=13,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="tgt_lifetime_hours",
            full_name="google.cloud.dataproc.v1.KerberosConfig.tgt_lifetime_hours",
            index=13,
            number=14,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="realm",
            full_name="google.cloud.dataproc.v1.KerberosConfig.realm",
            index=14,
            number=15,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=3259,
    serialized_end=3787,
)


_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=3990,
    serialized_end=4039,
)

_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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[_SOFTWARECONFIG_PROPERTIESENTRY],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=3790,
    serialized_end=4039,
)


_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=4222,
    serialized_end=4272,
)

_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=4274,
    serialized_end=4324,
)

_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=4042,
    serialized_end=4324,
)


_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=_b("\340A\002"),
            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=_b("\340A\002"),
            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=_b("\340A\002"),
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4327,
    serialized_end=4477,
)


_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=_b("\340A\002"),
            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=_b("\340A\002"),
            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=_b("\340A\002"),
            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=_b("\340A\002"),
            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=_b("\340A\001"),
            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=_b("\340A\002"),
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4480,
    serialized_end=4782,
)


_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=_b("\340A\002"),
            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=_b("\340A\002"),
            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=_b("\340A\002"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4785,
    serialized_end=4932,
)


_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=_b("\340A\002"),
            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=_b("\340A\002"),
            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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4934,
    serialized_end=5026,
)


_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=_b("\340A\002"),
            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=_b("\340A\002"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5029,
    serialized_end=5166,
)


_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=_b("\340A\003"),
            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=_b("\340A\003"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5168,
    serialized_end=5278,
)


_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=_b("\340A\002"),
            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=_b("\340A\002"),
            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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5280,
    serialized_end=5377,
)


_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=_b("\340A\003"),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5379,
    serialized_end=5428,
)

_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
_CLUSTERCONFIG.fields_by_name["autoscaling_config"].message_type = _AUTOSCALINGCONFIG
_CLUSTERCONFIG.fields_by_name["security_config"].message_type = _SECURITYCONFIG
_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
_SECURITYCONFIG.fields_by_name["kerberos_config"].message_type = _KERBEROSCONFIG
_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["AutoscalingConfig"] = _AUTOSCALINGCONFIG
DESCRIPTOR.message_types_by_name["EncryptionConfig"] = _ENCRYPTIONCONFIG
DESCRIPTOR.message_types_by_name["GceClusterConfig"] = _GCECLUSTERCONFIG
DESCRIPTOR.message_types_by_name["InstanceGroupConfig"] = _INSTANCEGROUPCONFIG
DESCRIPTOR.message_types_by_name["ManagedGroupConfig"] = _MANAGEDGROUPCONFIG
DESCRIPTOR.message_types_by_name["AcceleratorConfig"] = _ACCELERATORCONFIG
DESCRIPTOR.message_types_by_name["DiskConfig"] = _DISKCONFIG
DESCRIPTOR.message_types_by_name["NodeInitializationAction"] = _NODEINITIALIZATIONACTION
DESCRIPTOR.message_types_by_name["ClusterStatus"] = _CLUSTERSTATUS
DESCRIPTOR.message_types_by_name["SecurityConfig"] = _SECURITYCONFIG
DESCRIPTOR.message_types_by_name["KerberosConfig"] = _KERBEROSCONFIG
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.
      autoscaling_config:
          Optional. Autoscaling config for the policy associated with
          the cluster. Cluster does not autoscale if this field is
          unset.
      security_config:
          Optional. Security settings for the cluster.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.v1.ClusterConfig)
    ),
)
_sym_db.RegisterMessage(ClusterConfig)

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

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.
      min_cpu_platform:
          Optional. Specifies the minimum cpu platform for the Instance
          Group. See [Cloud Dataproc→Minimum CPU Platform]
          (/dataproc/docs/concepts/compute/dataproc-min-cpu).
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.dataproc.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:
          Optional. Output only. 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)

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

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

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:
          Optional. The set of 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     <tr>  .. raw:: html     <td>
          config.autoscaling\_config.policy\_uri  .. raw:: html
          </td>  .. raw:: html     <td>  Use, stop using, or change
          autoscaling policies  .. raw:: html     </td>  .. raw:: html
          </tr>  .. raw:: html     </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
_CLUSTER.fields_by_name["labels"]._options = None
_CLUSTER.fields_by_name["status"]._options = None
_CLUSTER.fields_by_name["status_history"]._options = None
_CLUSTER.fields_by_name["cluster_uuid"]._options = None
_CLUSTERCONFIG.fields_by_name["config_bucket"]._options = None
_CLUSTERCONFIG.fields_by_name["gce_cluster_config"]._options = None
_CLUSTERCONFIG.fields_by_name["master_config"]._options = None
_CLUSTERCONFIG.fields_by_name["worker_config"]._options = None
_CLUSTERCONFIG.fields_by_name["secondary_worker_config"]._options = None
_CLUSTERCONFIG.fields_by_name["software_config"]._options = None
_CLUSTERCONFIG.fields_by_name["initialization_actions"]._options = None
_CLUSTERCONFIG.fields_by_name["encryption_config"]._options = None
_CLUSTERCONFIG.fields_by_name["autoscaling_config"]._options = None
_CLUSTERCONFIG.fields_by_name["security_config"]._options = None
_AUTOSCALINGCONFIG.fields_by_name["policy_uri"]._options = None
_ENCRYPTIONCONFIG.fields_by_name["gce_pd_kms_key_name"]._options = None
_GCECLUSTERCONFIG_METADATAENTRY._options = None
_GCECLUSTERCONFIG.fields_by_name["zone_uri"]._options = None
_GCECLUSTERCONFIG.fields_by_name["network_uri"]._options = None
_GCECLUSTERCONFIG.fields_by_name["subnetwork_uri"]._options = None
_GCECLUSTERCONFIG.fields_by_name["internal_ip_only"]._options = None
_GCECLUSTERCONFIG.fields_by_name["service_account"]._options = None
_GCECLUSTERCONFIG.fields_by_name["service_account_scopes"]._options = None
_INSTANCEGROUPCONFIG.fields_by_name["num_instances"]._options = None
_INSTANCEGROUPCONFIG.fields_by_name["instance_names"]._options = None
_INSTANCEGROUPCONFIG.fields_by_name["image_uri"]._options = None
_INSTANCEGROUPCONFIG.fields_by_name["machine_type_uri"]._options = None
_INSTANCEGROUPCONFIG.fields_by_name["disk_config"]._options = None
_INSTANCEGROUPCONFIG.fields_by_name["is_preemptible"]._options = None
_INSTANCEGROUPCONFIG.fields_by_name["managed_group_config"]._options = None
_INSTANCEGROUPCONFIG.fields_by_name["accelerators"]._options = None
_INSTANCEGROUPCONFIG.fields_by_name["min_cpu_platform"]._options = None
_MANAGEDGROUPCONFIG.fields_by_name["instance_template_name"]._options = None
_MANAGEDGROUPCONFIG.fields_by_name["instance_group_manager_name"]._options = None
_DISKCONFIG.fields_by_name["boot_disk_type"]._options = None
_DISKCONFIG.fields_by_name["boot_disk_size_gb"]._options = None
_DISKCONFIG.fields_by_name["num_local_ssds"]._options = None
_NODEINITIALIZATIONACTION.fields_by_name["executable_file"]._options = None
_NODEINITIALIZATIONACTION.fields_by_name["execution_timeout"]._options = None
_CLUSTERSTATUS.fields_by_name["state"]._options = None
_CLUSTERSTATUS.fields_by_name["detail"]._options = None
_CLUSTERSTATUS.fields_by_name["state_start_time"]._options = None
_CLUSTERSTATUS.fields_by_name["substate"]._options = None
_KERBEROSCONFIG.fields_by_name["enable_kerberos"]._options = None
_KERBEROSCONFIG.fields_by_name["root_principal_password_uri"]._options = None
_KERBEROSCONFIG.fields_by_name["kms_key_uri"]._options = None
_KERBEROSCONFIG.fields_by_name["keystore_uri"]._options = None
_KERBEROSCONFIG.fields_by_name["truststore_uri"]._options = None
_KERBEROSCONFIG.fields_by_name["keystore_password_uri"]._options = None
_KERBEROSCONFIG.fields_by_name["key_password_uri"]._options = None
_KERBEROSCONFIG.fields_by_name["truststore_password_uri"]._options = None
_KERBEROSCONFIG.fields_by_name["cross_realm_trust_realm"]._options = None
_KERBEROSCONFIG.fields_by_name["cross_realm_trust_kdc"]._options = None
_KERBEROSCONFIG.fields_by_name["cross_realm_trust_admin_server"]._options = None
_KERBEROSCONFIG.fields_by_name["cross_realm_trust_shared_password_uri"]._options = None
_KERBEROSCONFIG.fields_by_name["kdc_db_key_uri"]._options = None
_KERBEROSCONFIG.fields_by_name["tgt_lifetime_hours"]._options = None
_KERBEROSCONFIG.fields_by_name["realm"]._options = None
_SOFTWARECONFIG_PROPERTIESENTRY._options = None
_SOFTWARECONFIG.fields_by_name["image_version"]._options = None
_SOFTWARECONFIG.fields_by_name["properties"]._options = None
_SOFTWARECONFIG.fields_by_name["optional_components"]._options = None
_CLUSTERMETRICS_HDFSMETRICSENTRY._options = None
_CLUSTERMETRICS_YARNMETRICSENTRY._options = None
_CREATECLUSTERREQUEST.fields_by_name["project_id"]._options = None
_CREATECLUSTERREQUEST.fields_by_name["region"]._options = None
_CREATECLUSTERREQUEST.fields_by_name["cluster"]._options = None
_CREATECLUSTERREQUEST.fields_by_name["request_id"]._options = None
_UPDATECLUSTERREQUEST.fields_by_name["project_id"]._options = None
_UPDATECLUSTERREQUEST.fields_by_name["region"]._options = None
_UPDATECLUSTERREQUEST.fields_by_name["cluster_name"]._options = None
_UPDATECLUSTERREQUEST.fields_by_name["cluster"]._options = None
_UPDATECLUSTERREQUEST.fields_by_name["graceful_decommission_timeout"]._options = None
_UPDATECLUSTERREQUEST.fields_by_name["update_mask"]._options = None
_UPDATECLUSTERREQUEST.fields_by_name["request_id"]._options = None
_DELETECLUSTERREQUEST.fields_by_name["project_id"]._options = None
_DELETECLUSTERREQUEST.fields_by_name["region"]._options = None
_DELETECLUSTERREQUEST.fields_by_name["cluster_name"]._options = None
_DELETECLUSTERREQUEST.fields_by_name["cluster_uuid"]._options = None
_DELETECLUSTERREQUEST.fields_by_name["request_id"]._options = None
_GETCLUSTERREQUEST.fields_by_name["project_id"]._options = None
_GETCLUSTERREQUEST.fields_by_name["region"]._options = None
_GETCLUSTERREQUEST.fields_by_name["cluster_name"]._options = None
_LISTCLUSTERSREQUEST.fields_by_name["project_id"]._options = None
_LISTCLUSTERSREQUEST.fields_by_name["region"]._options = None
_LISTCLUSTERSREQUEST.fields_by_name["filter"]._options = None
_LISTCLUSTERSREQUEST.fields_by_name["page_size"]._options = None
_LISTCLUSTERSREQUEST.fields_by_name["page_token"]._options = None
_LISTCLUSTERSRESPONSE.fields_by_name["clusters"]._options = None
_LISTCLUSTERSRESPONSE.fields_by_name["next_page_token"]._options = None
_DIAGNOSECLUSTERREQUEST.fields_by_name["project_id"]._options = None
_DIAGNOSECLUSTERREQUEST.fields_by_name["region"]._options = None
_DIAGNOSECLUSTERREQUEST.fields_by_name["cluster_name"]._options = None
_DIAGNOSECLUSTERRESULTS.fields_by_name["output_uri"]._options = None

_CLUSTERCONTROLLER = _descriptor.ServiceDescriptor(
    name="ClusterController",
    full_name="google.cloud.dataproc.v1.ClusterController",
    file=DESCRIPTOR,
    index=0,
    serialized_options=_b(
        "\312A\027dataproc.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform"
    ),
    serialized_start=5431,
    serialized_end=7013,
    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\332A\031project_id,region,cluster\312A<\n\007Cluster\0221google.cloud.dataproc.v1.ClusterOperationMetadata'
            ),
        ),
        _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\312A<\n\007Cluster\0221google.cloud.dataproc.v1.ClusterOperationMetadata"
            ),
        ),
        _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}\332A\036project_id,region,cluster_name\312AJ\n\025google.protobuf.Empty\0221google.cloud.dataproc.v1.ClusterOperationMetadata"
            ),
        ),
        _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}\332A\036project_id,region,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\332A\021project_id,region\332A\030project_id,region,filter"
            ),
        ),
        _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*\332A\036project_id,region,cluster_name\312A/\n\025google.protobuf.Empty\022\026DiagnoseClusterResults'
            ),
        ),
    ],
)
_sym_db.RegisterServiceDescriptor(_CLUSTERCONTROLLER)

DESCRIPTOR.services_by_name["ClusterController"] = _CLUSTERCONTROLLER

# @@protoc_insertion_point(module_scope)
