lib/google/cloud/dataproc/v1/clusters_pb.rb in google-cloud-dataproc-v1-0.17.0 vs lib/google/cloud/dataproc/v1/clusters_pb.rb in google-cloud-dataproc-v1-0.18.0
- old
+ new
@@ -1,5 +1,6 @@
+# frozen_string_literal: true
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/dataproc/v1/clusters.proto
require 'google/protobuf'
@@ -11,300 +12,38 @@
require 'google/longrunning/operations_pb'
require 'google/protobuf/duration_pb'
require 'google/protobuf/field_mask_pb'
require 'google/protobuf/timestamp_pb'
-Google::Protobuf::DescriptorPool.generated_pool.build do
- add_file("google/cloud/dataproc/v1/clusters.proto", :syntax => :proto3) do
- add_message "google.cloud.dataproc.v1.Cluster" do
- optional :project_id, :string, 1
- optional :cluster_name, :string, 2
- optional :config, :message, 3, "google.cloud.dataproc.v1.ClusterConfig"
- optional :virtual_cluster_config, :message, 10, "google.cloud.dataproc.v1.VirtualClusterConfig"
- map :labels, :string, :string, 8
- optional :status, :message, 4, "google.cloud.dataproc.v1.ClusterStatus"
- repeated :status_history, :message, 7, "google.cloud.dataproc.v1.ClusterStatus"
- optional :cluster_uuid, :string, 6
- optional :metrics, :message, 9, "google.cloud.dataproc.v1.ClusterMetrics"
+
+descriptor_data = "\n\'google/cloud/dataproc/v1/clusters.proto\x12\x18google.cloud.dataproc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a%google/cloud/dataproc/v1/shared.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa2\x04\n\x07\x43luster\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\'.google.cloud.dataproc.v1.ClusterConfigB\x03\xe0\x41\x01\x12S\n\x16virtual_cluster_config\x18\n \x01(\x0b\x32..google.cloud.dataproc.v1.VirtualClusterConfigB\x03\xe0\x41\x01\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>\n\x07metrics\x18\t \x01(\x0b\x32(.google.cloud.dataproc.v1.ClusterMetricsB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x83\t\n\rClusterConfig\x12\x1a\n\rconfig_bucket\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0btemp_bucket\x18\x02 \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\x12H\n\x10lifecycle_config\x18\x11 \x01(\x0b\x32).google.cloud.dataproc.v1.LifecycleConfigB\x03\xe0\x41\x01\x12\x46\n\x0f\x65ndpoint_config\x18\x13 \x01(\x0b\x32(.google.cloud.dataproc.v1.EndpointConfigB\x03\xe0\x41\x01\x12H\n\x10metastore_config\x18\x14 \x01(\x0b\x32).google.cloud.dataproc.v1.MetastoreConfigB\x03\xe0\x41\x01\x12S\n\x16\x64\x61taproc_metric_config\x18\x17 \x01(\x0b\x32..google.cloud.dataproc.v1.DataprocMetricConfigB\x03\xe0\x41\x01\x12P\n\x15\x61uxiliary_node_groups\x18\x19 \x03(\x0b\x32,.google.cloud.dataproc.v1.AuxiliaryNodeGroupB\x03\xe0\x41\x01\"\x84\x02\n\x14VirtualClusterConfig\x12\x1b\n\x0estaging_bucket\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12[\n\x19kubernetes_cluster_config\x18\x06 \x01(\x0b\x32\x31.google.cloud.dataproc.v1.KubernetesClusterConfigB\x03\xe0\x41\x02H\x00\x12Y\n\x19\x61uxiliary_services_config\x18\x07 \x01(\x0b\x32\x31.google.cloud.dataproc.v1.AuxiliaryServicesConfigB\x03\xe0\x41\x01\x42\x17\n\x15infrastructure_config\"\xc1\x01\n\x17\x41uxiliaryServicesConfig\x12H\n\x10metastore_config\x18\x01 \x01(\x0b\x32).google.cloud.dataproc.v1.MetastoreConfigB\x03\xe0\x41\x01\x12\\\n\x1bspark_history_server_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.dataproc.v1.SparkHistoryServerConfigB\x03\xe0\x41\x01\"\xba\x01\n\x0e\x45ndpointConfig\x12P\n\nhttp_ports\x18\x01 \x03(\x0b\x32\x37.google.cloud.dataproc.v1.EndpointConfig.HttpPortsEntryB\x03\xe0\x41\x03\x12$\n\x17\x65nable_http_port_access\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x30\n\x0eHttpPortsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\",\n\x11\x41utoscalingConfig\x12\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\"\xb5\x07\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\"\n\x10internal_ip_only\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12k\n\x1aprivate_ipv6_google_access\x18\x0c \x01(\x0e\x32\x42.google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccessB\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\x12P\n\x14reservation_affinity\x18\x0b \x01(\x0b\x32-.google.cloud.dataproc.v1.ReservationAffinityB\x03\xe0\x41\x01\x12M\n\x13node_group_affinity\x18\r \x01(\x0b\x32+.google.cloud.dataproc.v1.NodeGroupAffinityB\x03\xe0\x41\x01\x12W\n\x18shielded_instance_config\x18\x0e \x01(\x0b\x32\x30.google.cloud.dataproc.v1.ShieldedInstanceConfigB\x03\xe0\x41\x01\x12_\n\x1c\x63onfidential_instance_config\x18\x0f \x01(\x0b\x32\x34.google.cloud.dataproc.v1.ConfidentialInstanceConfigB\x03\xe0\x41\x01\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x83\x01\n\x17PrivateIpv6GoogleAccess\x12*\n&PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\x10\x00\x12\x1b\n\x17INHERIT_FROM_SUBNETWORK\x10\x01\x12\x0c\n\x08OUTBOUND\x10\x02\x12\x11\n\rBIDIRECTIONAL\x10\x03\x42\x13\n\x11_internal_ip_only\"0\n\x11NodeGroupAffinity\x12\x1b\n\x0enode_group_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xd3\x01\n\x16ShieldedInstanceConfig\x12$\n\x12\x65nable_secure_boot\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1d\n\x0b\x65nable_vtpm\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12-\n\x1b\x65nable_integrity_monitoring\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x42\x15\n\x13_enable_secure_bootB\x0e\n\x0c_enable_vtpmB\x1e\n\x1c_enable_integrity_monitoring\"F\n\x1a\x43onfidentialInstanceConfig\x12(\n\x1b\x65nable_confidential_compute\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"\xd7\x04\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\x03\x12Y\n\x0epreemptibility\x18\n \x01(\x0e\x32<.google.cloud.dataproc.v1.InstanceGroupConfig.PreemptibilityB\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\"`\n\x0ePreemptibility\x12\x1e\n\x1aPREEMPTIBILITY_UNSPECIFIED\x10\x00\x12\x13\n\x0fNON_PREEMPTIBLE\x10\x01\x12\x0f\n\x0bPREEMPTIBLE\x10\x02\x12\x08\n\x04SPOT\x10\x03\"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\"\x88\x01\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\x12 \n\x13local_ssd_interface\x18\x04 \x01(\tB\x03\xe0\x41\x01\"n\n\x12\x41uxiliaryNodeGroup\x12<\n\nnode_group\x18\x01 \x01(\x0b\x32#.google.cloud.dataproc.v1.NodeGroupB\x03\xe0\x41\x02\x12\x1a\n\rnode_group_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xbd\x03\n\tNodeGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12<\n\x05roles\x18\x02 \x03(\x0e\x32(.google.cloud.dataproc.v1.NodeGroup.RoleB\x03\xe0\x41\x02\x12M\n\x11node_group_config\x18\x03 \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfigB\x03\xe0\x41\x01\x12\x44\n\x06labels\x18\x04 \x03(\x0b\x32/.google.cloud.dataproc.v1.NodeGroup.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"(\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44RIVER\x10\x01:v\xea\x41s\n!dataproc.googleapis.com/NodeGroup\x12Nprojects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{node_group}\"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\"\xc7\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\"\x98\x01\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\x17\n\x13\x45RROR_DUE_TO_UPDATE\x10\t\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\x0c\n\x08STOPPING\x10\x06\x12\x0b\n\x07STOPPED\x10\x07\x12\x0c\n\x08STARTING\x10\x08\"<\n\x08Substate\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\r\n\tUNHEALTHY\x10\x01\x12\x10\n\x0cSTALE_STATUS\x10\x02\"\xa0\x01\n\x0eSecurityConfig\x12\x46\n\x0fkerberos_config\x18\x01 \x01(\x0b\x32(.google.cloud.dataproc.v1.KerberosConfigB\x03\xe0\x41\x01\x12\x46\n\x0fidentity_config\x18\x02 \x01(\x0b\x32(.google.cloud.dataproc.v1.IdentityConfigB\x03\xe0\x41\x01\"\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\x01\x12\x18\n\x0bkms_key_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\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\"\xc6\x01\n\x0eIdentityConfig\x12r\n\x1cuser_service_account_mapping\x18\x01 \x03(\x0b\x32G.google.cloud.dataproc.v1.IdentityConfig.UserServiceAccountMappingEntryB\x03\xe0\x41\x02\x1a@\n\x1eUserServiceAccountMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\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\"\x83\x02\n\x0fLifecycleConfig\x12\x37\n\x0fidle_delete_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12;\n\x10\x61uto_delete_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01H\x00\x12\x39\n\x0f\x61uto_delete_ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01H\x00\x12\x38\n\x0fidle_start_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x42\x05\n\x03ttl\"_\n\x0fMetastoreConfig\x12L\n\x1a\x64\x61taproc_metastore_service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\"\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\"\x92\x03\n\x14\x44\x61taprocMetricConfig\x12K\n\x07metrics\x18\x01 \x03(\x0b\x32\x35.google.cloud.dataproc.v1.DataprocMetricConfig.MetricB\x03\xe0\x41\x02\x1a\x80\x01\n\x06Metric\x12W\n\rmetric_source\x18\x01 \x01(\x0e\x32;.google.cloud.dataproc.v1.DataprocMetricConfig.MetricSourceB\x03\xe0\x41\x02\x12\x1d\n\x10metric_overrides\x18\x02 \x03(\tB\x03\xe0\x41\x01\"\xa9\x01\n\x0cMetricSource\x12\x1d\n\x19METRIC_SOURCE_UNSPECIFIED\x10\x00\x12\x1d\n\x19MONITORING_AGENT_DEFAULTS\x10\x01\x12\x08\n\x04HDFS\x10\x02\x12\t\n\x05SPARK\x10\x03\x12\x08\n\x04YARN\x10\x04\x12\x18\n\x14SPARK_HISTORY_SERVER\x10\x05\x12\x0f\n\x0bHIVESERVER2\x10\x06\x12\x11\n\rHIVEMETASTORE\x10\x07\"\xee\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\x12V\n action_on_failed_primary_workers\x18\x05 \x01(\x0e\x32\'.google.cloud.dataproc.v1.FailureActionB\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\"\x91\x01\n\x12StopClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x03 \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\"\x92\x01\n\x13StartClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x03 \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\"\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\"\xf8\x01\n\x13ReservationAffinity\x12Y\n\x18\x63onsume_reservation_type\x18\x01 \x01(\x0e\x32\x32.google.cloud.dataproc.v1.ReservationAffinity.TypeB\x03\xe0\x41\x01\x12\x10\n\x03key\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06values\x18\x03 \x03(\tB\x03\xe0\x41\x01\"_\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eNO_RESERVATION\x10\x01\x12\x13\n\x0f\x41NY_RESERVATION\x10\x02\x12\x18\n\x14SPECIFIC_RESERVATION\x10\x03\x32\xe4\x10\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\xa8\x02\n\rUpdateCluster\x12..google.cloud.dataproc.v1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"\xc7\x01\x82\xd3\xe4\x93\x02M2B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:\x07\x63luster\xda\x41\x32project_id,region,cluster_name,cluster,update_mask\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\xee\x01\n\x0bStopCluster\x12,.google.cloud.dataproc.v1.StopClusterRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02L\"G/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:stop:\x01*\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\xf1\x01\n\x0cStartCluster\x12-.google.cloud.dataproc.v1.StartClusterRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\x82\xd3\xe4\x93\x02M\"H/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:start:\x01*\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\xaa\x02\n\x0f\x44iagnoseCluster\x12\x30.google.cloud.dataproc.v1.DiagnoseClusterRequest\x1a\x1d.google.longrunning.Operation\"\xc5\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\x41K\n\x16\x44iagnoseClusterResults\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x1aK\xca\x41\x17\x64\x61taproc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBl\n\x1c\x63om.google.cloud.dataproc.v1B\rClustersProtoP\x01Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpbb\x06proto3"
+
+pool = Google::Protobuf::DescriptorPool.generated_pool
+
+begin
+ pool.add_serialized_file(descriptor_data)
+rescue TypeError => e
+ # Compatibility code: will be removed in the next major version.
+ require 'google/protobuf/descriptor_pb'
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
+ parsed.clear_dependency
+ serialized = parsed.class.encode(parsed)
+ file = pool.add_serialized_file(serialized)
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
+ imports = [
+ ["google.cloud.dataproc.v1.KubernetesClusterConfig", "google/cloud/dataproc/v1/shared.proto"],
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
+ ]
+ imports.each do |type_name, expected_filename|
+ import_file = pool.lookup(type_name).file_descriptor
+ if import_file.name != expected_filename
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
end
- add_message "google.cloud.dataproc.v1.ClusterConfig" do
- optional :config_bucket, :string, 1
- optional :temp_bucket, :string, 2
- optional :gce_cluster_config, :message, 8, "google.cloud.dataproc.v1.GceClusterConfig"
- optional :master_config, :message, 9, "google.cloud.dataproc.v1.InstanceGroupConfig"
- optional :worker_config, :message, 10, "google.cloud.dataproc.v1.InstanceGroupConfig"
- optional :secondary_worker_config, :message, 12, "google.cloud.dataproc.v1.InstanceGroupConfig"
- optional :software_config, :message, 13, "google.cloud.dataproc.v1.SoftwareConfig"
- repeated :initialization_actions, :message, 11, "google.cloud.dataproc.v1.NodeInitializationAction"
- optional :encryption_config, :message, 15, "google.cloud.dataproc.v1.EncryptionConfig"
- optional :autoscaling_config, :message, 18, "google.cloud.dataproc.v1.AutoscalingConfig"
- optional :security_config, :message, 16, "google.cloud.dataproc.v1.SecurityConfig"
- optional :lifecycle_config, :message, 17, "google.cloud.dataproc.v1.LifecycleConfig"
- optional :endpoint_config, :message, 19, "google.cloud.dataproc.v1.EndpointConfig"
- optional :metastore_config, :message, 20, "google.cloud.dataproc.v1.MetastoreConfig"
- optional :dataproc_metric_config, :message, 23, "google.cloud.dataproc.v1.DataprocMetricConfig"
- repeated :auxiliary_node_groups, :message, 25, "google.cloud.dataproc.v1.AuxiliaryNodeGroup"
- end
- add_message "google.cloud.dataproc.v1.VirtualClusterConfig" do
- optional :staging_bucket, :string, 1
- optional :auxiliary_services_config, :message, 7, "google.cloud.dataproc.v1.AuxiliaryServicesConfig"
- oneof :infrastructure_config do
- optional :kubernetes_cluster_config, :message, 6, "google.cloud.dataproc.v1.KubernetesClusterConfig"
- end
- end
- add_message "google.cloud.dataproc.v1.AuxiliaryServicesConfig" do
- optional :metastore_config, :message, 1, "google.cloud.dataproc.v1.MetastoreConfig"
- optional :spark_history_server_config, :message, 2, "google.cloud.dataproc.v1.SparkHistoryServerConfig"
- end
- add_message "google.cloud.dataproc.v1.EndpointConfig" do
- map :http_ports, :string, :string, 1
- optional :enable_http_port_access, :bool, 2
- end
- add_message "google.cloud.dataproc.v1.AutoscalingConfig" do
- optional :policy_uri, :string, 1
- end
- add_message "google.cloud.dataproc.v1.EncryptionConfig" do
- optional :gce_pd_kms_key_name, :string, 1
- end
- add_message "google.cloud.dataproc.v1.GceClusterConfig" do
- optional :zone_uri, :string, 1
- optional :network_uri, :string, 2
- optional :subnetwork_uri, :string, 6
- proto3_optional :internal_ip_only, :bool, 7
- optional :private_ipv6_google_access, :enum, 12, "google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess"
- optional :service_account, :string, 8
- repeated :service_account_scopes, :string, 3
- repeated :tags, :string, 4
- map :metadata, :string, :string, 5
- optional :reservation_affinity, :message, 11, "google.cloud.dataproc.v1.ReservationAffinity"
- optional :node_group_affinity, :message, 13, "google.cloud.dataproc.v1.NodeGroupAffinity"
- optional :shielded_instance_config, :message, 14, "google.cloud.dataproc.v1.ShieldedInstanceConfig"
- optional :confidential_instance_config, :message, 15, "google.cloud.dataproc.v1.ConfidentialInstanceConfig"
- end
- add_enum "google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess" do
- value :PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, 0
- value :INHERIT_FROM_SUBNETWORK, 1
- value :OUTBOUND, 2
- value :BIDIRECTIONAL, 3
- end
- add_message "google.cloud.dataproc.v1.NodeGroupAffinity" do
- optional :node_group_uri, :string, 1
- end
- add_message "google.cloud.dataproc.v1.ShieldedInstanceConfig" do
- proto3_optional :enable_secure_boot, :bool, 1
- proto3_optional :enable_vtpm, :bool, 2
- proto3_optional :enable_integrity_monitoring, :bool, 3
- end
- add_message "google.cloud.dataproc.v1.ConfidentialInstanceConfig" do
- optional :enable_confidential_compute, :bool, 1
- end
- add_message "google.cloud.dataproc.v1.InstanceGroupConfig" do
- optional :num_instances, :int32, 1
- repeated :instance_names, :string, 2
- optional :image_uri, :string, 3
- optional :machine_type_uri, :string, 4
- optional :disk_config, :message, 5, "google.cloud.dataproc.v1.DiskConfig"
- optional :is_preemptible, :bool, 6
- optional :preemptibility, :enum, 10, "google.cloud.dataproc.v1.InstanceGroupConfig.Preemptibility"
- optional :managed_group_config, :message, 7, "google.cloud.dataproc.v1.ManagedGroupConfig"
- repeated :accelerators, :message, 8, "google.cloud.dataproc.v1.AcceleratorConfig"
- optional :min_cpu_platform, :string, 9
- end
- add_enum "google.cloud.dataproc.v1.InstanceGroupConfig.Preemptibility" do
- value :PREEMPTIBILITY_UNSPECIFIED, 0
- value :NON_PREEMPTIBLE, 1
- value :PREEMPTIBLE, 2
- value :SPOT, 3
- end
- add_message "google.cloud.dataproc.v1.ManagedGroupConfig" do
- optional :instance_template_name, :string, 1
- optional :instance_group_manager_name, :string, 2
- end
- add_message "google.cloud.dataproc.v1.AcceleratorConfig" do
- optional :accelerator_type_uri, :string, 1
- optional :accelerator_count, :int32, 2
- end
- add_message "google.cloud.dataproc.v1.DiskConfig" do
- optional :boot_disk_type, :string, 3
- optional :boot_disk_size_gb, :int32, 1
- optional :num_local_ssds, :int32, 2
- optional :local_ssd_interface, :string, 4
- end
- add_message "google.cloud.dataproc.v1.AuxiliaryNodeGroup" do
- optional :node_group, :message, 1, "google.cloud.dataproc.v1.NodeGroup"
- optional :node_group_id, :string, 2
- end
- add_message "google.cloud.dataproc.v1.NodeGroup" do
- optional :name, :string, 1
- repeated :roles, :enum, 2, "google.cloud.dataproc.v1.NodeGroup.Role"
- optional :node_group_config, :message, 3, "google.cloud.dataproc.v1.InstanceGroupConfig"
- map :labels, :string, :string, 4
- end
- add_enum "google.cloud.dataproc.v1.NodeGroup.Role" do
- value :ROLE_UNSPECIFIED, 0
- value :DRIVER, 1
- end
- add_message "google.cloud.dataproc.v1.NodeInitializationAction" do
- optional :executable_file, :string, 1
- optional :execution_timeout, :message, 2, "google.protobuf.Duration"
- end
- add_message "google.cloud.dataproc.v1.ClusterStatus" do
- optional :state, :enum, 1, "google.cloud.dataproc.v1.ClusterStatus.State"
- optional :detail, :string, 2
- optional :state_start_time, :message, 3, "google.protobuf.Timestamp"
- optional :substate, :enum, 4, "google.cloud.dataproc.v1.ClusterStatus.Substate"
- end
- add_enum "google.cloud.dataproc.v1.ClusterStatus.State" do
- value :UNKNOWN, 0
- value :CREATING, 1
- value :RUNNING, 2
- value :ERROR, 3
- value :ERROR_DUE_TO_UPDATE, 9
- value :DELETING, 4
- value :UPDATING, 5
- value :STOPPING, 6
- value :STOPPED, 7
- value :STARTING, 8
- end
- add_enum "google.cloud.dataproc.v1.ClusterStatus.Substate" do
- value :UNSPECIFIED, 0
- value :UNHEALTHY, 1
- value :STALE_STATUS, 2
- end
- add_message "google.cloud.dataproc.v1.SecurityConfig" do
- optional :kerberos_config, :message, 1, "google.cloud.dataproc.v1.KerberosConfig"
- optional :identity_config, :message, 2, "google.cloud.dataproc.v1.IdentityConfig"
- end
- add_message "google.cloud.dataproc.v1.KerberosConfig" do
- optional :enable_kerberos, :bool, 1
- optional :root_principal_password_uri, :string, 2
- optional :kms_key_uri, :string, 3
- optional :keystore_uri, :string, 4
- optional :truststore_uri, :string, 5
- optional :keystore_password_uri, :string, 6
- optional :key_password_uri, :string, 7
- optional :truststore_password_uri, :string, 8
- optional :cross_realm_trust_realm, :string, 9
- optional :cross_realm_trust_kdc, :string, 10
- optional :cross_realm_trust_admin_server, :string, 11
- optional :cross_realm_trust_shared_password_uri, :string, 12
- optional :kdc_db_key_uri, :string, 13
- optional :tgt_lifetime_hours, :int32, 14
- optional :realm, :string, 15
- end
- add_message "google.cloud.dataproc.v1.IdentityConfig" do
- map :user_service_account_mapping, :string, :string, 1
- end
- add_message "google.cloud.dataproc.v1.SoftwareConfig" do
- optional :image_version, :string, 1
- map :properties, :string, :string, 2
- repeated :optional_components, :enum, 3, "google.cloud.dataproc.v1.Component"
- end
- add_message "google.cloud.dataproc.v1.LifecycleConfig" do
- optional :idle_delete_ttl, :message, 1, "google.protobuf.Duration"
- optional :idle_start_time, :message, 4, "google.protobuf.Timestamp"
- oneof :ttl do
- optional :auto_delete_time, :message, 2, "google.protobuf.Timestamp"
- optional :auto_delete_ttl, :message, 3, "google.protobuf.Duration"
- end
- end
- add_message "google.cloud.dataproc.v1.MetastoreConfig" do
- optional :dataproc_metastore_service, :string, 1
- end
- add_message "google.cloud.dataproc.v1.ClusterMetrics" do
- map :hdfs_metrics, :string, :int64, 1
- map :yarn_metrics, :string, :int64, 2
- end
- add_message "google.cloud.dataproc.v1.DataprocMetricConfig" do
- repeated :metrics, :message, 1, "google.cloud.dataproc.v1.DataprocMetricConfig.Metric"
- end
- add_message "google.cloud.dataproc.v1.DataprocMetricConfig.Metric" do
- optional :metric_source, :enum, 1, "google.cloud.dataproc.v1.DataprocMetricConfig.MetricSource"
- repeated :metric_overrides, :string, 2
- end
- add_enum "google.cloud.dataproc.v1.DataprocMetricConfig.MetricSource" do
- value :METRIC_SOURCE_UNSPECIFIED, 0
- value :MONITORING_AGENT_DEFAULTS, 1
- value :HDFS, 2
- value :SPARK, 3
- value :YARN, 4
- value :SPARK_HISTORY_SERVER, 5
- value :HIVESERVER2, 6
- value :HIVEMETASTORE, 7
- end
- add_message "google.cloud.dataproc.v1.CreateClusterRequest" do
- optional :project_id, :string, 1
- optional :region, :string, 3
- optional :cluster, :message, 2, "google.cloud.dataproc.v1.Cluster"
- optional :request_id, :string, 4
- optional :action_on_failed_primary_workers, :enum, 5, "google.cloud.dataproc.v1.FailureAction"
- end
- add_message "google.cloud.dataproc.v1.UpdateClusterRequest" do
- optional :project_id, :string, 1
- optional :region, :string, 5
- optional :cluster_name, :string, 2
- optional :cluster, :message, 3, "google.cloud.dataproc.v1.Cluster"
- optional :graceful_decommission_timeout, :message, 6, "google.protobuf.Duration"
- optional :update_mask, :message, 4, "google.protobuf.FieldMask"
- optional :request_id, :string, 7
- end
- add_message "google.cloud.dataproc.v1.StopClusterRequest" do
- optional :project_id, :string, 1
- optional :region, :string, 2
- optional :cluster_name, :string, 3
- optional :cluster_uuid, :string, 4
- optional :request_id, :string, 5
- end
- add_message "google.cloud.dataproc.v1.StartClusterRequest" do
- optional :project_id, :string, 1
- optional :region, :string, 2
- optional :cluster_name, :string, 3
- optional :cluster_uuid, :string, 4
- optional :request_id, :string, 5
- end
- add_message "google.cloud.dataproc.v1.DeleteClusterRequest" do
- optional :project_id, :string, 1
- optional :region, :string, 3
- optional :cluster_name, :string, 2
- optional :cluster_uuid, :string, 4
- optional :request_id, :string, 5
- end
- add_message "google.cloud.dataproc.v1.GetClusterRequest" do
- optional :project_id, :string, 1
- optional :region, :string, 3
- optional :cluster_name, :string, 2
- end
- add_message "google.cloud.dataproc.v1.ListClustersRequest" do
- optional :project_id, :string, 1
- optional :region, :string, 4
- optional :filter, :string, 5
- optional :page_size, :int32, 2
- optional :page_token, :string, 3
- end
- add_message "google.cloud.dataproc.v1.ListClustersResponse" do
- repeated :clusters, :message, 1, "google.cloud.dataproc.v1.Cluster"
- optional :next_page_token, :string, 2
- end
- add_message "google.cloud.dataproc.v1.DiagnoseClusterRequest" do
- optional :project_id, :string, 1
- optional :region, :string, 3
- optional :cluster_name, :string, 2
- end
- add_message "google.cloud.dataproc.v1.DiagnoseClusterResults" do
- optional :output_uri, :string, 1
- end
- add_message "google.cloud.dataproc.v1.ReservationAffinity" do
- optional :consume_reservation_type, :enum, 1, "google.cloud.dataproc.v1.ReservationAffinity.Type"
- optional :key, :string, 2
- repeated :values, :string, 3
- end
- add_enum "google.cloud.dataproc.v1.ReservationAffinity.Type" do
- value :TYPE_UNSPECIFIED, 0
- value :NO_RESERVATION, 1
- value :ANY_RESERVATION, 2
- value :SPECIFIC_RESERVATION, 3
- end
end
+ warn "Each proto file must use a consistent fully-qualified name."
+ warn "This will become an error in the next major version."
end
module Google
module Cloud
module Dataproc