You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

2158 lines
88 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/dataproc/v1/clusters.proto
  3. package dataproc // import "google.golang.org/genproto/googleapis/cloud/dataproc/v1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import duration "github.com/golang/protobuf/ptypes/duration"
  8. import timestamp "github.com/golang/protobuf/ptypes/timestamp"
  9. import _ "google.golang.org/genproto/googleapis/api/annotations"
  10. import longrunning "google.golang.org/genproto/googleapis/longrunning"
  11. import field_mask "google.golang.org/genproto/protobuf/field_mask"
  12. import (
  13. context "golang.org/x/net/context"
  14. grpc "google.golang.org/grpc"
  15. )
  16. // Reference imports to suppress errors if they are not otherwise used.
  17. var _ = proto.Marshal
  18. var _ = fmt.Errorf
  19. var _ = math.Inf
  20. // This is a compile-time assertion to ensure that this generated file
  21. // is compatible with the proto package it is being compiled against.
  22. // A compilation error at this line likely means your copy of the
  23. // proto package needs to be updated.
  24. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  25. // The cluster state.
  26. type ClusterStatus_State int32
  27. const (
  28. // The cluster state is unknown.
  29. ClusterStatus_UNKNOWN ClusterStatus_State = 0
  30. // The cluster is being created and set up. It is not ready for use.
  31. ClusterStatus_CREATING ClusterStatus_State = 1
  32. // The cluster is currently running and healthy. It is ready for use.
  33. ClusterStatus_RUNNING ClusterStatus_State = 2
  34. // The cluster encountered an error. It is not ready for use.
  35. ClusterStatus_ERROR ClusterStatus_State = 3
  36. // The cluster is being deleted. It cannot be used.
  37. ClusterStatus_DELETING ClusterStatus_State = 4
  38. // The cluster is being updated. It continues to accept and process jobs.
  39. ClusterStatus_UPDATING ClusterStatus_State = 5
  40. )
  41. var ClusterStatus_State_name = map[int32]string{
  42. 0: "UNKNOWN",
  43. 1: "CREATING",
  44. 2: "RUNNING",
  45. 3: "ERROR",
  46. 4: "DELETING",
  47. 5: "UPDATING",
  48. }
  49. var ClusterStatus_State_value = map[string]int32{
  50. "UNKNOWN": 0,
  51. "CREATING": 1,
  52. "RUNNING": 2,
  53. "ERROR": 3,
  54. "DELETING": 4,
  55. "UPDATING": 5,
  56. }
  57. func (x ClusterStatus_State) String() string {
  58. return proto.EnumName(ClusterStatus_State_name, int32(x))
  59. }
  60. func (ClusterStatus_State) EnumDescriptor() ([]byte, []int) {
  61. return fileDescriptor_clusters_52b770c030d66ddb, []int{9, 0}
  62. }
  63. // The cluster substate.
  64. type ClusterStatus_Substate int32
  65. const (
  66. // The cluster substate is unknown.
  67. ClusterStatus_UNSPECIFIED ClusterStatus_Substate = 0
  68. // The cluster is known to be in an unhealthy state
  69. // (for example, critical daemons are not running or HDFS capacity is
  70. // exhausted).
  71. //
  72. // Applies to RUNNING state.
  73. ClusterStatus_UNHEALTHY ClusterStatus_Substate = 1
  74. // The agent-reported status is out of date (may occur if
  75. // Cloud Dataproc loses communication with Agent).
  76. //
  77. // Applies to RUNNING state.
  78. ClusterStatus_STALE_STATUS ClusterStatus_Substate = 2
  79. )
  80. var ClusterStatus_Substate_name = map[int32]string{
  81. 0: "UNSPECIFIED",
  82. 1: "UNHEALTHY",
  83. 2: "STALE_STATUS",
  84. }
  85. var ClusterStatus_Substate_value = map[string]int32{
  86. "UNSPECIFIED": 0,
  87. "UNHEALTHY": 1,
  88. "STALE_STATUS": 2,
  89. }
  90. func (x ClusterStatus_Substate) String() string {
  91. return proto.EnumName(ClusterStatus_Substate_name, int32(x))
  92. }
  93. func (ClusterStatus_Substate) EnumDescriptor() ([]byte, []int) {
  94. return fileDescriptor_clusters_52b770c030d66ddb, []int{9, 1}
  95. }
  96. // Describes the identifying information, config, and status of
  97. // a cluster of Compute Engine instances.
  98. type Cluster struct {
  99. // Required. The Google Cloud Platform project ID that the cluster belongs to.
  100. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  101. // Required. The cluster name. Cluster names within a project must be
  102. // unique. Names of deleted clusters can be reused.
  103. ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
  104. // Required. The cluster config. Note that Cloud Dataproc may set
  105. // default values, and values may change when clusters are updated.
  106. Config *ClusterConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
  107. // Optional. The labels to associate with this cluster.
  108. // Label **keys** must contain 1 to 63 characters, and must conform to
  109. // [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
  110. // Label **values** may be empty, but, if present, must contain 1 to 63
  111. // characters, and must conform to [RFC
  112. // 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be
  113. // associated with a cluster.
  114. Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  115. // Output only. Cluster status.
  116. Status *ClusterStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
  117. // Output only. The previous cluster status.
  118. StatusHistory []*ClusterStatus `protobuf:"bytes,7,rep,name=status_history,json=statusHistory,proto3" json:"status_history,omitempty"`
  119. // Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
  120. // generates this value when it creates the cluster.
  121. ClusterUuid string `protobuf:"bytes,6,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"`
  122. // Contains cluster daemon metrics such as HDFS and YARN stats.
  123. //
  124. // **Beta Feature**: This report is available for testing purposes only. It
  125. // may be changed before final release.
  126. Metrics *ClusterMetrics `protobuf:"bytes,9,opt,name=metrics,proto3" json:"metrics,omitempty"`
  127. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  128. XXX_unrecognized []byte `json:"-"`
  129. XXX_sizecache int32 `json:"-"`
  130. }
  131. func (m *Cluster) Reset() { *m = Cluster{} }
  132. func (m *Cluster) String() string { return proto.CompactTextString(m) }
  133. func (*Cluster) ProtoMessage() {}
  134. func (*Cluster) Descriptor() ([]byte, []int) {
  135. return fileDescriptor_clusters_52b770c030d66ddb, []int{0}
  136. }
  137. func (m *Cluster) XXX_Unmarshal(b []byte) error {
  138. return xxx_messageInfo_Cluster.Unmarshal(m, b)
  139. }
  140. func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  141. return xxx_messageInfo_Cluster.Marshal(b, m, deterministic)
  142. }
  143. func (dst *Cluster) XXX_Merge(src proto.Message) {
  144. xxx_messageInfo_Cluster.Merge(dst, src)
  145. }
  146. func (m *Cluster) XXX_Size() int {
  147. return xxx_messageInfo_Cluster.Size(m)
  148. }
  149. func (m *Cluster) XXX_DiscardUnknown() {
  150. xxx_messageInfo_Cluster.DiscardUnknown(m)
  151. }
  152. var xxx_messageInfo_Cluster proto.InternalMessageInfo
  153. func (m *Cluster) GetProjectId() string {
  154. if m != nil {
  155. return m.ProjectId
  156. }
  157. return ""
  158. }
  159. func (m *Cluster) GetClusterName() string {
  160. if m != nil {
  161. return m.ClusterName
  162. }
  163. return ""
  164. }
  165. func (m *Cluster) GetConfig() *ClusterConfig {
  166. if m != nil {
  167. return m.Config
  168. }
  169. return nil
  170. }
  171. func (m *Cluster) GetLabels() map[string]string {
  172. if m != nil {
  173. return m.Labels
  174. }
  175. return nil
  176. }
  177. func (m *Cluster) GetStatus() *ClusterStatus {
  178. if m != nil {
  179. return m.Status
  180. }
  181. return nil
  182. }
  183. func (m *Cluster) GetStatusHistory() []*ClusterStatus {
  184. if m != nil {
  185. return m.StatusHistory
  186. }
  187. return nil
  188. }
  189. func (m *Cluster) GetClusterUuid() string {
  190. if m != nil {
  191. return m.ClusterUuid
  192. }
  193. return ""
  194. }
  195. func (m *Cluster) GetMetrics() *ClusterMetrics {
  196. if m != nil {
  197. return m.Metrics
  198. }
  199. return nil
  200. }
  201. // The cluster config.
  202. type ClusterConfig struct {
  203. // Optional. A Cloud Storage staging bucket used for sharing generated
  204. // SSH keys and config. If you do not specify a staging bucket, Cloud
  205. // Dataproc will determine an appropriate Cloud Storage location (US,
  206. // ASIA, or EU) for your cluster's staging bucket according to the Google
  207. // Compute Engine zone where your cluster is deployed, and then it will create
  208. // and manage this project-level, per-location bucket for you.
  209. ConfigBucket string `protobuf:"bytes,1,opt,name=config_bucket,json=configBucket,proto3" json:"config_bucket,omitempty"`
  210. // Required. The shared Compute Engine config settings for
  211. // all instances in a cluster.
  212. GceClusterConfig *GceClusterConfig `protobuf:"bytes,8,opt,name=gce_cluster_config,json=gceClusterConfig,proto3" json:"gce_cluster_config,omitempty"`
  213. // Optional. The Compute Engine config settings for
  214. // the master instance in a cluster.
  215. MasterConfig *InstanceGroupConfig `protobuf:"bytes,9,opt,name=master_config,json=masterConfig,proto3" json:"master_config,omitempty"`
  216. // Optional. The Compute Engine config settings for
  217. // worker instances in a cluster.
  218. WorkerConfig *InstanceGroupConfig `protobuf:"bytes,10,opt,name=worker_config,json=workerConfig,proto3" json:"worker_config,omitempty"`
  219. // Optional. The Compute Engine config settings for
  220. // additional worker instances in a cluster.
  221. SecondaryWorkerConfig *InstanceGroupConfig `protobuf:"bytes,12,opt,name=secondary_worker_config,json=secondaryWorkerConfig,proto3" json:"secondary_worker_config,omitempty"`
  222. // Optional. The config settings for software inside the cluster.
  223. SoftwareConfig *SoftwareConfig `protobuf:"bytes,13,opt,name=software_config,json=softwareConfig,proto3" json:"software_config,omitempty"`
  224. // Optional. Commands to execute on each node after config is
  225. // completed. By default, executables are run on master and all worker nodes.
  226. // You can test a node's `role` metadata to run an executable on
  227. // a master or worker node, as shown below using `curl` (you can also use
  228. // `wget`):
  229. //
  230. // ROLE=$(curl -H Metadata-Flavor:Google
  231. // http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)
  232. // if [[ "${ROLE}" == 'Master' ]]; then
  233. // ... master specific actions ...
  234. // else
  235. // ... worker specific actions ...
  236. // fi
  237. InitializationActions []*NodeInitializationAction `protobuf:"bytes,11,rep,name=initialization_actions,json=initializationActions,proto3" json:"initialization_actions,omitempty"`
  238. // Optional. Encryption settings for the cluster.
  239. EncryptionConfig *EncryptionConfig `protobuf:"bytes,15,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"`
  240. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  241. XXX_unrecognized []byte `json:"-"`
  242. XXX_sizecache int32 `json:"-"`
  243. }
  244. func (m *ClusterConfig) Reset() { *m = ClusterConfig{} }
  245. func (m *ClusterConfig) String() string { return proto.CompactTextString(m) }
  246. func (*ClusterConfig) ProtoMessage() {}
  247. func (*ClusterConfig) Descriptor() ([]byte, []int) {
  248. return fileDescriptor_clusters_52b770c030d66ddb, []int{1}
  249. }
  250. func (m *ClusterConfig) XXX_Unmarshal(b []byte) error {
  251. return xxx_messageInfo_ClusterConfig.Unmarshal(m, b)
  252. }
  253. func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  254. return xxx_messageInfo_ClusterConfig.Marshal(b, m, deterministic)
  255. }
  256. func (dst *ClusterConfig) XXX_Merge(src proto.Message) {
  257. xxx_messageInfo_ClusterConfig.Merge(dst, src)
  258. }
  259. func (m *ClusterConfig) XXX_Size() int {
  260. return xxx_messageInfo_ClusterConfig.Size(m)
  261. }
  262. func (m *ClusterConfig) XXX_DiscardUnknown() {
  263. xxx_messageInfo_ClusterConfig.DiscardUnknown(m)
  264. }
  265. var xxx_messageInfo_ClusterConfig proto.InternalMessageInfo
  266. func (m *ClusterConfig) GetConfigBucket() string {
  267. if m != nil {
  268. return m.ConfigBucket
  269. }
  270. return ""
  271. }
  272. func (m *ClusterConfig) GetGceClusterConfig() *GceClusterConfig {
  273. if m != nil {
  274. return m.GceClusterConfig
  275. }
  276. return nil
  277. }
  278. func (m *ClusterConfig) GetMasterConfig() *InstanceGroupConfig {
  279. if m != nil {
  280. return m.MasterConfig
  281. }
  282. return nil
  283. }
  284. func (m *ClusterConfig) GetWorkerConfig() *InstanceGroupConfig {
  285. if m != nil {
  286. return m.WorkerConfig
  287. }
  288. return nil
  289. }
  290. func (m *ClusterConfig) GetSecondaryWorkerConfig() *InstanceGroupConfig {
  291. if m != nil {
  292. return m.SecondaryWorkerConfig
  293. }
  294. return nil
  295. }
  296. func (m *ClusterConfig) GetSoftwareConfig() *SoftwareConfig {
  297. if m != nil {
  298. return m.SoftwareConfig
  299. }
  300. return nil
  301. }
  302. func (m *ClusterConfig) GetInitializationActions() []*NodeInitializationAction {
  303. if m != nil {
  304. return m.InitializationActions
  305. }
  306. return nil
  307. }
  308. func (m *ClusterConfig) GetEncryptionConfig() *EncryptionConfig {
  309. if m != nil {
  310. return m.EncryptionConfig
  311. }
  312. return nil
  313. }
  314. // Encryption settings for the cluster.
  315. type EncryptionConfig struct {
  316. // Optional. The Cloud KMS key name to use for PD disk encryption for all
  317. // instances in the cluster.
  318. GcePdKmsKeyName string `protobuf:"bytes,1,opt,name=gce_pd_kms_key_name,json=gcePdKmsKeyName,proto3" json:"gce_pd_kms_key_name,omitempty"`
  319. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  320. XXX_unrecognized []byte `json:"-"`
  321. XXX_sizecache int32 `json:"-"`
  322. }
  323. func (m *EncryptionConfig) Reset() { *m = EncryptionConfig{} }
  324. func (m *EncryptionConfig) String() string { return proto.CompactTextString(m) }
  325. func (*EncryptionConfig) ProtoMessage() {}
  326. func (*EncryptionConfig) Descriptor() ([]byte, []int) {
  327. return fileDescriptor_clusters_52b770c030d66ddb, []int{2}
  328. }
  329. func (m *EncryptionConfig) XXX_Unmarshal(b []byte) error {
  330. return xxx_messageInfo_EncryptionConfig.Unmarshal(m, b)
  331. }
  332. func (m *EncryptionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  333. return xxx_messageInfo_EncryptionConfig.Marshal(b, m, deterministic)
  334. }
  335. func (dst *EncryptionConfig) XXX_Merge(src proto.Message) {
  336. xxx_messageInfo_EncryptionConfig.Merge(dst, src)
  337. }
  338. func (m *EncryptionConfig) XXX_Size() int {
  339. return xxx_messageInfo_EncryptionConfig.Size(m)
  340. }
  341. func (m *EncryptionConfig) XXX_DiscardUnknown() {
  342. xxx_messageInfo_EncryptionConfig.DiscardUnknown(m)
  343. }
  344. var xxx_messageInfo_EncryptionConfig proto.InternalMessageInfo
  345. func (m *EncryptionConfig) GetGcePdKmsKeyName() string {
  346. if m != nil {
  347. return m.GcePdKmsKeyName
  348. }
  349. return ""
  350. }
  351. // Common config settings for resources of Compute Engine cluster
  352. // instances, applicable to all instances in the cluster.
  353. type GceClusterConfig struct {
  354. // Optional. The zone where the Compute Engine cluster will be located.
  355. // On a create request, it is required in the "global" region. If omitted
  356. // in a non-global Cloud Dataproc region, the service will pick a zone in the
  357. // corresponding Compute Engine region. On a get request, zone will
  358. // always be present.
  359. //
  360. // A full URL, partial URI, or short name are valid. Examples:
  361. //
  362. // * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]`
  363. // * `projects/[project_id]/zones/[zone]`
  364. // * `us-central1-f`
  365. ZoneUri string `protobuf:"bytes,1,opt,name=zone_uri,json=zoneUri,proto3" json:"zone_uri,omitempty"`
  366. // Optional. The Compute Engine network to be used for machine
  367. // communications. Cannot be specified with subnetwork_uri. If neither
  368. // `network_uri` nor `subnetwork_uri` is specified, the "default" network of
  369. // the project is used, if it exists. Cannot be a "Custom Subnet Network" (see
  370. // [Using Subnetworks](/compute/docs/subnetworks) for more information).
  371. //
  372. // A full URL, partial URI, or short name are valid. Examples:
  373. //
  374. // * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`
  375. // * `projects/[project_id]/regions/global/default`
  376. // * `default`
  377. NetworkUri string `protobuf:"bytes,2,opt,name=network_uri,json=networkUri,proto3" json:"network_uri,omitempty"`
  378. // Optional. The Compute Engine subnetwork to be used for machine
  379. // communications. Cannot be specified with network_uri.
  380. //
  381. // A full URL, partial URI, or short name are valid. Examples:
  382. //
  383. // * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`
  384. // * `projects/[project_id]/regions/us-east1/sub0`
  385. // * `sub0`
  386. SubnetworkUri string `protobuf:"bytes,6,opt,name=subnetwork_uri,json=subnetworkUri,proto3" json:"subnetwork_uri,omitempty"`
  387. // Optional. If true, all instances in the cluster will only have internal IP
  388. // addresses. By default, clusters are not restricted to internal IP
  389. // addresses, and will have ephemeral external IP addresses assigned to each
  390. // instance. This `internal_ip_only` restriction can only be enabled for
  391. // subnetwork enabled networks, and all off-cluster dependencies must be
  392. // configured to be accessible without external IP addresses.
  393. InternalIpOnly bool `protobuf:"varint,7,opt,name=internal_ip_only,json=internalIpOnly,proto3" json:"internal_ip_only,omitempty"`
  394. // Optional. The service account of the instances. Defaults to the default
  395. // Compute Engine service account. Custom service accounts need
  396. // permissions equivalent to the following IAM roles:
  397. //
  398. // * roles/logging.logWriter
  399. // * roles/storage.objectAdmin
  400. //
  401. // (see
  402. // https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts
  403. // for more information).
  404. // Example: `[account_id]@[project_id].iam.gserviceaccount.com`
  405. ServiceAccount string `protobuf:"bytes,8,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
  406. // Optional. The URIs of service account scopes to be included in
  407. // Compute Engine instances. The following base set of scopes is always
  408. // included:
  409. //
  410. // * https://www.googleapis.com/auth/cloud.useraccounts.readonly
  411. // * https://www.googleapis.com/auth/devstorage.read_write
  412. // * https://www.googleapis.com/auth/logging.write
  413. //
  414. // If no scopes are specified, the following defaults are also provided:
  415. //
  416. // * https://www.googleapis.com/auth/bigquery
  417. // * https://www.googleapis.com/auth/bigtable.admin.table
  418. // * https://www.googleapis.com/auth/bigtable.data
  419. // * https://www.googleapis.com/auth/devstorage.full_control
  420. ServiceAccountScopes []string `protobuf:"bytes,3,rep,name=service_account_scopes,json=serviceAccountScopes,proto3" json:"service_account_scopes,omitempty"`
  421. // The Compute Engine tags to add to all instances (see
  422. // [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
  423. Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
  424. // The Compute Engine metadata entries to add to all instances (see
  425. // [Project and instance
  426. // metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
  427. Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  428. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  429. XXX_unrecognized []byte `json:"-"`
  430. XXX_sizecache int32 `json:"-"`
  431. }
  432. func (m *GceClusterConfig) Reset() { *m = GceClusterConfig{} }
  433. func (m *GceClusterConfig) String() string { return proto.CompactTextString(m) }
  434. func (*GceClusterConfig) ProtoMessage() {}
  435. func (*GceClusterConfig) Descriptor() ([]byte, []int) {
  436. return fileDescriptor_clusters_52b770c030d66ddb, []int{3}
  437. }
  438. func (m *GceClusterConfig) XXX_Unmarshal(b []byte) error {
  439. return xxx_messageInfo_GceClusterConfig.Unmarshal(m, b)
  440. }
  441. func (m *GceClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  442. return xxx_messageInfo_GceClusterConfig.Marshal(b, m, deterministic)
  443. }
  444. func (dst *GceClusterConfig) XXX_Merge(src proto.Message) {
  445. xxx_messageInfo_GceClusterConfig.Merge(dst, src)
  446. }
  447. func (m *GceClusterConfig) XXX_Size() int {
  448. return xxx_messageInfo_GceClusterConfig.Size(m)
  449. }
  450. func (m *GceClusterConfig) XXX_DiscardUnknown() {
  451. xxx_messageInfo_GceClusterConfig.DiscardUnknown(m)
  452. }
  453. var xxx_messageInfo_GceClusterConfig proto.InternalMessageInfo
  454. func (m *GceClusterConfig) GetZoneUri() string {
  455. if m != nil {
  456. return m.ZoneUri
  457. }
  458. return ""
  459. }
  460. func (m *GceClusterConfig) GetNetworkUri() string {
  461. if m != nil {
  462. return m.NetworkUri
  463. }
  464. return ""
  465. }
  466. func (m *GceClusterConfig) GetSubnetworkUri() string {
  467. if m != nil {
  468. return m.SubnetworkUri
  469. }
  470. return ""
  471. }
  472. func (m *GceClusterConfig) GetInternalIpOnly() bool {
  473. if m != nil {
  474. return m.InternalIpOnly
  475. }
  476. return false
  477. }
  478. func (m *GceClusterConfig) GetServiceAccount() string {
  479. if m != nil {
  480. return m.ServiceAccount
  481. }
  482. return ""
  483. }
  484. func (m *GceClusterConfig) GetServiceAccountScopes() []string {
  485. if m != nil {
  486. return m.ServiceAccountScopes
  487. }
  488. return nil
  489. }
  490. func (m *GceClusterConfig) GetTags() []string {
  491. if m != nil {
  492. return m.Tags
  493. }
  494. return nil
  495. }
  496. func (m *GceClusterConfig) GetMetadata() map[string]string {
  497. if m != nil {
  498. return m.Metadata
  499. }
  500. return nil
  501. }
  502. // Optional. The config settings for Compute Engine resources in
  503. // an instance group, such as a master or worker group.
  504. type InstanceGroupConfig struct {
  505. // Optional. The number of VM instances in the instance group.
  506. // For master instance groups, must be set to 1.
  507. NumInstances int32 `protobuf:"varint,1,opt,name=num_instances,json=numInstances,proto3" json:"num_instances,omitempty"`
  508. // Output only. The list of instance names. Cloud Dataproc derives the names
  509. // from `cluster_name`, `num_instances`, and the instance group.
  510. InstanceNames []string `protobuf:"bytes,2,rep,name=instance_names,json=instanceNames,proto3" json:"instance_names,omitempty"`
  511. // Optional. The Compute Engine image resource used for cluster
  512. // instances. It can be specified or may be inferred from
  513. // `SoftwareConfig.image_version`.
  514. ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
  515. // Optional. The Compute Engine machine type used for cluster instances.
  516. //
  517. // A full URL, partial URI, or short name are valid. Examples:
  518. //
  519. // * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
  520. // * `projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`
  521. // * `n1-standard-2`
  522. //
  523. // **Auto Zone Exception**: If you are using the Cloud Dataproc
  524. // [Auto Zone
  525. // Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
  526. // feature, you must use the short name of the machine type
  527. // resource, for example, `n1-standard-2`.
  528. MachineTypeUri string `protobuf:"bytes,4,opt,name=machine_type_uri,json=machineTypeUri,proto3" json:"machine_type_uri,omitempty"`
  529. // Optional. Disk option config settings.
  530. DiskConfig *DiskConfig `protobuf:"bytes,5,opt,name=disk_config,json=diskConfig,proto3" json:"disk_config,omitempty"`
  531. // Optional. Specifies that this instance group contains preemptible
  532. // instances.
  533. IsPreemptible bool `protobuf:"varint,6,opt,name=is_preemptible,json=isPreemptible,proto3" json:"is_preemptible,omitempty"`
  534. // Output only. The config for Compute Engine Instance Group
  535. // Manager that manages this group.
  536. // This is only used for preemptible instance groups.
  537. ManagedGroupConfig *ManagedGroupConfig `protobuf:"bytes,7,opt,name=managed_group_config,json=managedGroupConfig,proto3" json:"managed_group_config,omitempty"`
  538. // Optional. The Compute Engine accelerator configuration for these
  539. // instances.
  540. //
  541. // **Beta Feature**: This feature is still under development. It may be
  542. // changed before final release.
  543. Accelerators []*AcceleratorConfig `protobuf:"bytes,8,rep,name=accelerators,proto3" json:"accelerators,omitempty"`
  544. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  545. XXX_unrecognized []byte `json:"-"`
  546. XXX_sizecache int32 `json:"-"`
  547. }
  548. func (m *InstanceGroupConfig) Reset() { *m = InstanceGroupConfig{} }
  549. func (m *InstanceGroupConfig) String() string { return proto.CompactTextString(m) }
  550. func (*InstanceGroupConfig) ProtoMessage() {}
  551. func (*InstanceGroupConfig) Descriptor() ([]byte, []int) {
  552. return fileDescriptor_clusters_52b770c030d66ddb, []int{4}
  553. }
  554. func (m *InstanceGroupConfig) XXX_Unmarshal(b []byte) error {
  555. return xxx_messageInfo_InstanceGroupConfig.Unmarshal(m, b)
  556. }
  557. func (m *InstanceGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  558. return xxx_messageInfo_InstanceGroupConfig.Marshal(b, m, deterministic)
  559. }
  560. func (dst *InstanceGroupConfig) XXX_Merge(src proto.Message) {
  561. xxx_messageInfo_InstanceGroupConfig.Merge(dst, src)
  562. }
  563. func (m *InstanceGroupConfig) XXX_Size() int {
  564. return xxx_messageInfo_InstanceGroupConfig.Size(m)
  565. }
  566. func (m *InstanceGroupConfig) XXX_DiscardUnknown() {
  567. xxx_messageInfo_InstanceGroupConfig.DiscardUnknown(m)
  568. }
  569. var xxx_messageInfo_InstanceGroupConfig proto.InternalMessageInfo
  570. func (m *InstanceGroupConfig) GetNumInstances() int32 {
  571. if m != nil {
  572. return m.NumInstances
  573. }
  574. return 0
  575. }
  576. func (m *InstanceGroupConfig) GetInstanceNames() []string {
  577. if m != nil {
  578. return m.InstanceNames
  579. }
  580. return nil
  581. }
  582. func (m *InstanceGroupConfig) GetImageUri() string {
  583. if m != nil {
  584. return m.ImageUri
  585. }
  586. return ""
  587. }
  588. func (m *InstanceGroupConfig) GetMachineTypeUri() string {
  589. if m != nil {
  590. return m.MachineTypeUri
  591. }
  592. return ""
  593. }
  594. func (m *InstanceGroupConfig) GetDiskConfig() *DiskConfig {
  595. if m != nil {
  596. return m.DiskConfig
  597. }
  598. return nil
  599. }
  600. func (m *InstanceGroupConfig) GetIsPreemptible() bool {
  601. if m != nil {
  602. return m.IsPreemptible
  603. }
  604. return false
  605. }
  606. func (m *InstanceGroupConfig) GetManagedGroupConfig() *ManagedGroupConfig {
  607. if m != nil {
  608. return m.ManagedGroupConfig
  609. }
  610. return nil
  611. }
  612. func (m *InstanceGroupConfig) GetAccelerators() []*AcceleratorConfig {
  613. if m != nil {
  614. return m.Accelerators
  615. }
  616. return nil
  617. }
  618. // Specifies the resources used to actively manage an instance group.
  619. type ManagedGroupConfig struct {
  620. // Output only. The name of the Instance Template used for the Managed
  621. // Instance Group.
  622. InstanceTemplateName string `protobuf:"bytes,1,opt,name=instance_template_name,json=instanceTemplateName,proto3" json:"instance_template_name,omitempty"`
  623. // Output only. The name of the Instance Group Manager for this group.
  624. InstanceGroupManagerName string `protobuf:"bytes,2,opt,name=instance_group_manager_name,json=instanceGroupManagerName,proto3" json:"instance_group_manager_name,omitempty"`
  625. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  626. XXX_unrecognized []byte `json:"-"`
  627. XXX_sizecache int32 `json:"-"`
  628. }
  629. func (m *ManagedGroupConfig) Reset() { *m = ManagedGroupConfig{} }
  630. func (m *ManagedGroupConfig) String() string { return proto.CompactTextString(m) }
  631. func (*ManagedGroupConfig) ProtoMessage() {}
  632. func (*ManagedGroupConfig) Descriptor() ([]byte, []int) {
  633. return fileDescriptor_clusters_52b770c030d66ddb, []int{5}
  634. }
  635. func (m *ManagedGroupConfig) XXX_Unmarshal(b []byte) error {
  636. return xxx_messageInfo_ManagedGroupConfig.Unmarshal(m, b)
  637. }
  638. func (m *ManagedGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  639. return xxx_messageInfo_ManagedGroupConfig.Marshal(b, m, deterministic)
  640. }
  641. func (dst *ManagedGroupConfig) XXX_Merge(src proto.Message) {
  642. xxx_messageInfo_ManagedGroupConfig.Merge(dst, src)
  643. }
  644. func (m *ManagedGroupConfig) XXX_Size() int {
  645. return xxx_messageInfo_ManagedGroupConfig.Size(m)
  646. }
  647. func (m *ManagedGroupConfig) XXX_DiscardUnknown() {
  648. xxx_messageInfo_ManagedGroupConfig.DiscardUnknown(m)
  649. }
  650. var xxx_messageInfo_ManagedGroupConfig proto.InternalMessageInfo
  651. func (m *ManagedGroupConfig) GetInstanceTemplateName() string {
  652. if m != nil {
  653. return m.InstanceTemplateName
  654. }
  655. return ""
  656. }
  657. func (m *ManagedGroupConfig) GetInstanceGroupManagerName() string {
  658. if m != nil {
  659. return m.InstanceGroupManagerName
  660. }
  661. return ""
  662. }
  663. // Specifies the type and number of accelerator cards attached to the instances
  664. // of an instance. See [GPUs on Compute Engine](/compute/docs/gpus/).
  665. type AcceleratorConfig struct {
  666. // Full URL, partial URI, or short name of the accelerator type resource to
  667. // expose to this instance. See
  668. // [Compute Engine
  669. // AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes).
  670. //
  671. // Examples:
  672. //
  673. // * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
  674. // * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
  675. // * `nvidia-tesla-k80`
  676. //
  677. // **Auto Zone Exception**: If you are using the Cloud Dataproc
  678. // [Auto Zone
  679. // Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
  680. // feature, you must use the short name of the accelerator type
  681. // resource, for example, `nvidia-tesla-k80`.
  682. AcceleratorTypeUri string `protobuf:"bytes,1,opt,name=accelerator_type_uri,json=acceleratorTypeUri,proto3" json:"accelerator_type_uri,omitempty"`
  683. // The number of the accelerator cards of this type exposed to this instance.
  684. AcceleratorCount int32 `protobuf:"varint,2,opt,name=accelerator_count,json=acceleratorCount,proto3" json:"accelerator_count,omitempty"`
  685. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  686. XXX_unrecognized []byte `json:"-"`
  687. XXX_sizecache int32 `json:"-"`
  688. }
  689. func (m *AcceleratorConfig) Reset() { *m = AcceleratorConfig{} }
  690. func (m *AcceleratorConfig) String() string { return proto.CompactTextString(m) }
  691. func (*AcceleratorConfig) ProtoMessage() {}
  692. func (*AcceleratorConfig) Descriptor() ([]byte, []int) {
  693. return fileDescriptor_clusters_52b770c030d66ddb, []int{6}
  694. }
  695. func (m *AcceleratorConfig) XXX_Unmarshal(b []byte) error {
  696. return xxx_messageInfo_AcceleratorConfig.Unmarshal(m, b)
  697. }
  698. func (m *AcceleratorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  699. return xxx_messageInfo_AcceleratorConfig.Marshal(b, m, deterministic)
  700. }
  701. func (dst *AcceleratorConfig) XXX_Merge(src proto.Message) {
  702. xxx_messageInfo_AcceleratorConfig.Merge(dst, src)
  703. }
  704. func (m *AcceleratorConfig) XXX_Size() int {
  705. return xxx_messageInfo_AcceleratorConfig.Size(m)
  706. }
  707. func (m *AcceleratorConfig) XXX_DiscardUnknown() {
  708. xxx_messageInfo_AcceleratorConfig.DiscardUnknown(m)
  709. }
  710. var xxx_messageInfo_AcceleratorConfig proto.InternalMessageInfo
  711. func (m *AcceleratorConfig) GetAcceleratorTypeUri() string {
  712. if m != nil {
  713. return m.AcceleratorTypeUri
  714. }
  715. return ""
  716. }
  717. func (m *AcceleratorConfig) GetAcceleratorCount() int32 {
  718. if m != nil {
  719. return m.AcceleratorCount
  720. }
  721. return 0
  722. }
  723. // Specifies the config of disk options for a group of VM instances.
  724. type DiskConfig struct {
  725. // Optional. Type of the boot disk (default is "pd-standard").
  726. // Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
  727. // "pd-standard" (Persistent Disk Hard Disk Drive).
  728. BootDiskType string `protobuf:"bytes,3,opt,name=boot_disk_type,json=bootDiskType,proto3" json:"boot_disk_type,omitempty"`
  729. // Optional. Size in GB of the boot disk (default is 500GB).
  730. BootDiskSizeGb int32 `protobuf:"varint,1,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"`
  731. // Optional. Number of attached SSDs, from 0 to 4 (default is 0).
  732. // If SSDs are not attached, the boot disk is used to store runtime logs and
  733. // [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data.
  734. // If one or more SSDs are attached, this runtime bulk
  735. // data is spread across them, and the boot disk contains only basic
  736. // config and installed binaries.
  737. NumLocalSsds int32 `protobuf:"varint,2,opt,name=num_local_ssds,json=numLocalSsds,proto3" json:"num_local_ssds,omitempty"`
  738. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  739. XXX_unrecognized []byte `json:"-"`
  740. XXX_sizecache int32 `json:"-"`
  741. }
  742. func (m *DiskConfig) Reset() { *m = DiskConfig{} }
  743. func (m *DiskConfig) String() string { return proto.CompactTextString(m) }
  744. func (*DiskConfig) ProtoMessage() {}
  745. func (*DiskConfig) Descriptor() ([]byte, []int) {
  746. return fileDescriptor_clusters_52b770c030d66ddb, []int{7}
  747. }
  748. func (m *DiskConfig) XXX_Unmarshal(b []byte) error {
  749. return xxx_messageInfo_DiskConfig.Unmarshal(m, b)
  750. }
  751. func (m *DiskConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  752. return xxx_messageInfo_DiskConfig.Marshal(b, m, deterministic)
  753. }
  754. func (dst *DiskConfig) XXX_Merge(src proto.Message) {
  755. xxx_messageInfo_DiskConfig.Merge(dst, src)
  756. }
  757. func (m *DiskConfig) XXX_Size() int {
  758. return xxx_messageInfo_DiskConfig.Size(m)
  759. }
  760. func (m *DiskConfig) XXX_DiscardUnknown() {
  761. xxx_messageInfo_DiskConfig.DiscardUnknown(m)
  762. }
  763. var xxx_messageInfo_DiskConfig proto.InternalMessageInfo
  764. func (m *DiskConfig) GetBootDiskType() string {
  765. if m != nil {
  766. return m.BootDiskType
  767. }
  768. return ""
  769. }
  770. func (m *DiskConfig) GetBootDiskSizeGb() int32 {
  771. if m != nil {
  772. return m.BootDiskSizeGb
  773. }
  774. return 0
  775. }
  776. func (m *DiskConfig) GetNumLocalSsds() int32 {
  777. if m != nil {
  778. return m.NumLocalSsds
  779. }
  780. return 0
  781. }
  782. // Specifies an executable to run on a fully configured node and a
  783. // timeout period for executable completion.
  784. type NodeInitializationAction struct {
  785. // Required. Cloud Storage URI of executable file.
  786. ExecutableFile string `protobuf:"bytes,1,opt,name=executable_file,json=executableFile,proto3" json:"executable_file,omitempty"`
  787. // Optional. Amount of time executable has to complete. Default is
  788. // 10 minutes. Cluster creation fails with an explanatory error message (the
  789. // name of the executable that caused the error and the exceeded timeout
  790. // period) if the executable is not completed at end of the timeout period.
  791. ExecutionTimeout *duration.Duration `protobuf:"bytes,2,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"`
  792. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  793. XXX_unrecognized []byte `json:"-"`
  794. XXX_sizecache int32 `json:"-"`
  795. }
  796. func (m *NodeInitializationAction) Reset() { *m = NodeInitializationAction{} }
  797. func (m *NodeInitializationAction) String() string { return proto.CompactTextString(m) }
  798. func (*NodeInitializationAction) ProtoMessage() {}
  799. func (*NodeInitializationAction) Descriptor() ([]byte, []int) {
  800. return fileDescriptor_clusters_52b770c030d66ddb, []int{8}
  801. }
  802. func (m *NodeInitializationAction) XXX_Unmarshal(b []byte) error {
  803. return xxx_messageInfo_NodeInitializationAction.Unmarshal(m, b)
  804. }
  805. func (m *NodeInitializationAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  806. return xxx_messageInfo_NodeInitializationAction.Marshal(b, m, deterministic)
  807. }
  808. func (dst *NodeInitializationAction) XXX_Merge(src proto.Message) {
  809. xxx_messageInfo_NodeInitializationAction.Merge(dst, src)
  810. }
  811. func (m *NodeInitializationAction) XXX_Size() int {
  812. return xxx_messageInfo_NodeInitializationAction.Size(m)
  813. }
  814. func (m *NodeInitializationAction) XXX_DiscardUnknown() {
  815. xxx_messageInfo_NodeInitializationAction.DiscardUnknown(m)
  816. }
  817. var xxx_messageInfo_NodeInitializationAction proto.InternalMessageInfo
  818. func (m *NodeInitializationAction) GetExecutableFile() string {
  819. if m != nil {
  820. return m.ExecutableFile
  821. }
  822. return ""
  823. }
  824. func (m *NodeInitializationAction) GetExecutionTimeout() *duration.Duration {
  825. if m != nil {
  826. return m.ExecutionTimeout
  827. }
  828. return nil
  829. }
  830. // The status of a cluster and its instances.
  831. type ClusterStatus struct {
  832. // Output only. The cluster's state.
  833. State ClusterStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dataproc.v1.ClusterStatus_State" json:"state,omitempty"`
  834. // Output only. Optional details of cluster's state.
  835. Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
  836. // Output only. Time when this state was entered.
  837. StateStartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=state_start_time,json=stateStartTime,proto3" json:"state_start_time,omitempty"`
  838. // Output only. Additional state information that includes
  839. // status reported by the agent.
  840. Substate ClusterStatus_Substate `protobuf:"varint,4,opt,name=substate,proto3,enum=google.cloud.dataproc.v1.ClusterStatus_Substate" json:"substate,omitempty"`
  841. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  842. XXX_unrecognized []byte `json:"-"`
  843. XXX_sizecache int32 `json:"-"`
  844. }
  845. func (m *ClusterStatus) Reset() { *m = ClusterStatus{} }
  846. func (m *ClusterStatus) String() string { return proto.CompactTextString(m) }
  847. func (*ClusterStatus) ProtoMessage() {}
  848. func (*ClusterStatus) Descriptor() ([]byte, []int) {
  849. return fileDescriptor_clusters_52b770c030d66ddb, []int{9}
  850. }
  851. func (m *ClusterStatus) XXX_Unmarshal(b []byte) error {
  852. return xxx_messageInfo_ClusterStatus.Unmarshal(m, b)
  853. }
  854. func (m *ClusterStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  855. return xxx_messageInfo_ClusterStatus.Marshal(b, m, deterministic)
  856. }
  857. func (dst *ClusterStatus) XXX_Merge(src proto.Message) {
  858. xxx_messageInfo_ClusterStatus.Merge(dst, src)
  859. }
  860. func (m *ClusterStatus) XXX_Size() int {
  861. return xxx_messageInfo_ClusterStatus.Size(m)
  862. }
  863. func (m *ClusterStatus) XXX_DiscardUnknown() {
  864. xxx_messageInfo_ClusterStatus.DiscardUnknown(m)
  865. }
  866. var xxx_messageInfo_ClusterStatus proto.InternalMessageInfo
  867. func (m *ClusterStatus) GetState() ClusterStatus_State {
  868. if m != nil {
  869. return m.State
  870. }
  871. return ClusterStatus_UNKNOWN
  872. }
  873. func (m *ClusterStatus) GetDetail() string {
  874. if m != nil {
  875. return m.Detail
  876. }
  877. return ""
  878. }
  879. func (m *ClusterStatus) GetStateStartTime() *timestamp.Timestamp {
  880. if m != nil {
  881. return m.StateStartTime
  882. }
  883. return nil
  884. }
  885. func (m *ClusterStatus) GetSubstate() ClusterStatus_Substate {
  886. if m != nil {
  887. return m.Substate
  888. }
  889. return ClusterStatus_UNSPECIFIED
  890. }
  891. // Specifies the selection and config of software inside the cluster.
  892. type SoftwareConfig struct {
  893. // Optional. The version of software inside the cluster. It must be one of the
  894. // supported [Cloud Dataproc
  895. // Versions](/dataproc/docs/concepts/versioning/dataproc-versions#supported_cloud_dataproc_versions),
  896. // such as "1.2" (including a subminor version, such as "1.2.29"), or the
  897. // ["preview"
  898. // version](/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).
  899. // If unspecified, it defaults to the latest version.
  900. ImageVersion string `protobuf:"bytes,1,opt,name=image_version,json=imageVersion,proto3" json:"image_version,omitempty"`
  901. // Optional. The properties to set on daemon config files.
  902. //
  903. // Property keys are specified in `prefix:property` format, such as
  904. // `core:fs.defaultFS`. The following are supported prefixes
  905. // and their mappings:
  906. //
  907. // * capacity-scheduler: `capacity-scheduler.xml`
  908. // * core: `core-site.xml`
  909. // * distcp: `distcp-default.xml`
  910. // * hdfs: `hdfs-site.xml`
  911. // * hive: `hive-site.xml`
  912. // * mapred: `mapred-site.xml`
  913. // * pig: `pig.properties`
  914. // * spark: `spark-defaults.conf`
  915. // * yarn: `yarn-site.xml`
  916. //
  917. // For more information, see
  918. // [Cluster properties](/dataproc/docs/concepts/cluster-properties).
  919. Properties map[string]string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  920. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  921. XXX_unrecognized []byte `json:"-"`
  922. XXX_sizecache int32 `json:"-"`
  923. }
  924. func (m *SoftwareConfig) Reset() { *m = SoftwareConfig{} }
  925. func (m *SoftwareConfig) String() string { return proto.CompactTextString(m) }
  926. func (*SoftwareConfig) ProtoMessage() {}
  927. func (*SoftwareConfig) Descriptor() ([]byte, []int) {
  928. return fileDescriptor_clusters_52b770c030d66ddb, []int{10}
  929. }
  930. func (m *SoftwareConfig) XXX_Unmarshal(b []byte) error {
  931. return xxx_messageInfo_SoftwareConfig.Unmarshal(m, b)
  932. }
  933. func (m *SoftwareConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  934. return xxx_messageInfo_SoftwareConfig.Marshal(b, m, deterministic)
  935. }
  936. func (dst *SoftwareConfig) XXX_Merge(src proto.Message) {
  937. xxx_messageInfo_SoftwareConfig.Merge(dst, src)
  938. }
  939. func (m *SoftwareConfig) XXX_Size() int {
  940. return xxx_messageInfo_SoftwareConfig.Size(m)
  941. }
  942. func (m *SoftwareConfig) XXX_DiscardUnknown() {
  943. xxx_messageInfo_SoftwareConfig.DiscardUnknown(m)
  944. }
  945. var xxx_messageInfo_SoftwareConfig proto.InternalMessageInfo
  946. func (m *SoftwareConfig) GetImageVersion() string {
  947. if m != nil {
  948. return m.ImageVersion
  949. }
  950. return ""
  951. }
  952. func (m *SoftwareConfig) GetProperties() map[string]string {
  953. if m != nil {
  954. return m.Properties
  955. }
  956. return nil
  957. }
  958. // Contains cluster daemon metrics, such as HDFS and YARN stats.
  959. //
  960. // **Beta Feature**: This report is available for testing purposes only. It may
  961. // be changed before final release.
  962. type ClusterMetrics struct {
  963. // The HDFS metrics.
  964. HdfsMetrics map[string]int64 `protobuf:"bytes,1,rep,name=hdfs_metrics,json=hdfsMetrics,proto3" json:"hdfs_metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  965. // The YARN metrics.
  966. YarnMetrics map[string]int64 `protobuf:"bytes,2,rep,name=yarn_metrics,json=yarnMetrics,proto3" json:"yarn_metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  967. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  968. XXX_unrecognized []byte `json:"-"`
  969. XXX_sizecache int32 `json:"-"`
  970. }
  971. func (m *ClusterMetrics) Reset() { *m = ClusterMetrics{} }
  972. func (m *ClusterMetrics) String() string { return proto.CompactTextString(m) }
  973. func (*ClusterMetrics) ProtoMessage() {}
  974. func (*ClusterMetrics) Descriptor() ([]byte, []int) {
  975. return fileDescriptor_clusters_52b770c030d66ddb, []int{11}
  976. }
  977. func (m *ClusterMetrics) XXX_Unmarshal(b []byte) error {
  978. return xxx_messageInfo_ClusterMetrics.Unmarshal(m, b)
  979. }
  980. func (m *ClusterMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  981. return xxx_messageInfo_ClusterMetrics.Marshal(b, m, deterministic)
  982. }
  983. func (dst *ClusterMetrics) XXX_Merge(src proto.Message) {
  984. xxx_messageInfo_ClusterMetrics.Merge(dst, src)
  985. }
  986. func (m *ClusterMetrics) XXX_Size() int {
  987. return xxx_messageInfo_ClusterMetrics.Size(m)
  988. }
  989. func (m *ClusterMetrics) XXX_DiscardUnknown() {
  990. xxx_messageInfo_ClusterMetrics.DiscardUnknown(m)
  991. }
  992. var xxx_messageInfo_ClusterMetrics proto.InternalMessageInfo
  993. func (m *ClusterMetrics) GetHdfsMetrics() map[string]int64 {
  994. if m != nil {
  995. return m.HdfsMetrics
  996. }
  997. return nil
  998. }
  999. func (m *ClusterMetrics) GetYarnMetrics() map[string]int64 {
  1000. if m != nil {
  1001. return m.YarnMetrics
  1002. }
  1003. return nil
  1004. }
  1005. // A request to create a cluster.
  1006. type CreateClusterRequest struct {
  1007. // Required. The ID of the Google Cloud Platform project that the cluster
  1008. // belongs to.
  1009. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  1010. // Required. The Cloud Dataproc region in which to handle the request.
  1011. Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
  1012. // Required. The cluster to create.
  1013. Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
  1014. // Optional. A unique id used to identify the request. If the server
  1015. // receives two
  1016. // [CreateClusterRequest][google.cloud.dataproc.v1.CreateClusterRequest]
  1017. // requests with the same id, then the second request will be ignored and the
  1018. // first [google.longrunning.Operation][google.longrunning.Operation] created
  1019. // and stored in the backend is returned.
  1020. //
  1021. // It is recommended to always set this value to a
  1022. // [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
  1023. //
  1024. // The id must contain only letters (a-z, A-Z), numbers (0-9),
  1025. // underscores (_), and hyphens (-). The maximum length is 40 characters.
  1026. RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
  1027. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1028. XXX_unrecognized []byte `json:"-"`
  1029. XXX_sizecache int32 `json:"-"`
  1030. }
  1031. func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} }
  1032. func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) }
  1033. func (*CreateClusterRequest) ProtoMessage() {}
  1034. func (*CreateClusterRequest) Descriptor() ([]byte, []int) {
  1035. return fileDescriptor_clusters_52b770c030d66ddb, []int{12}
  1036. }
  1037. func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error {
  1038. return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b)
  1039. }
  1040. func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1041. return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic)
  1042. }
  1043. func (dst *CreateClusterRequest) XXX_Merge(src proto.Message) {
  1044. xxx_messageInfo_CreateClusterRequest.Merge(dst, src)
  1045. }
  1046. func (m *CreateClusterRequest) XXX_Size() int {
  1047. return xxx_messageInfo_CreateClusterRequest.Size(m)
  1048. }
  1049. func (m *CreateClusterRequest) XXX_DiscardUnknown() {
  1050. xxx_messageInfo_CreateClusterRequest.DiscardUnknown(m)
  1051. }
  1052. var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo
  1053. func (m *CreateClusterRequest) GetProjectId() string {
  1054. if m != nil {
  1055. return m.ProjectId
  1056. }
  1057. return ""
  1058. }
  1059. func (m *CreateClusterRequest) GetRegion() string {
  1060. if m != nil {
  1061. return m.Region
  1062. }
  1063. return ""
  1064. }
  1065. func (m *CreateClusterRequest) GetCluster() *Cluster {
  1066. if m != nil {
  1067. return m.Cluster
  1068. }
  1069. return nil
  1070. }
  1071. func (m *CreateClusterRequest) GetRequestId() string {
  1072. if m != nil {
  1073. return m.RequestId
  1074. }
  1075. return ""
  1076. }
  1077. // A request to update a cluster.
  1078. type UpdateClusterRequest struct {
  1079. // Required. The ID of the Google Cloud Platform project the
  1080. // cluster belongs to.
  1081. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  1082. // Required. The Cloud Dataproc region in which to handle the request.
  1083. Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"`
  1084. // Required. The cluster name.
  1085. ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
  1086. // Required. The changes to the cluster.
  1087. Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
  1088. // Optional. Timeout for graceful YARN decomissioning. Graceful
  1089. // decommissioning allows removing nodes from the cluster without
  1090. // interrupting jobs in progress. Timeout specifies how long to wait for jobs
  1091. // in progress to finish before forcefully removing nodes (and potentially
  1092. // interrupting jobs). Default timeout is 0 (for forceful decommission), and
  1093. // the maximum allowed timeout is 1 day.
  1094. //
  1095. // Only supported on Dataproc image versions 1.2 and higher.
  1096. GracefulDecommissionTimeout *duration.Duration `protobuf:"bytes,6,opt,name=graceful_decommission_timeout,json=gracefulDecommissionTimeout,proto3" json:"graceful_decommission_timeout,omitempty"`
  1097. // Required. Specifies the path, relative to `Cluster`, of
  1098. // the field to update. For example, to change the number of workers
  1099. // in a cluster to 5, the `update_mask` parameter would be
  1100. // specified as `config.worker_config.num_instances`,
  1101. // and the `PATCH` request body would specify the new value, as follows:
  1102. //
  1103. // {
  1104. // "config":{
  1105. // "workerConfig":{
  1106. // "numInstances":"5"
  1107. // }
  1108. // }
  1109. // }
  1110. // Similarly, to change the number of preemptible workers in a cluster to 5,
  1111. // the `update_mask` parameter would be
  1112. // `config.secondary_worker_config.num_instances`, and the `PATCH` request
  1113. // body would be set as follows:
  1114. //
  1115. // {
  1116. // "config":{
  1117. // "secondaryWorkerConfig":{
  1118. // "numInstances":"5"
  1119. // }
  1120. // }
  1121. // }
  1122. // <strong>Note:</strong> Currently, only the following fields can be updated:
  1123. //
  1124. // <table>
  1125. // <tbody>
  1126. // <tr>
  1127. // <td><strong>Mask</strong></td>
  1128. // <td><strong>Purpose</strong></td>
  1129. // </tr>
  1130. // <tr>
  1131. // <td><strong><em>labels</em></strong></td>
  1132. // <td>Update labels</td>
  1133. // </tr>
  1134. // <tr>
  1135. // <td><strong><em>config.worker_config.num_instances</em></strong></td>
  1136. // <td>Resize primary worker group</td>
  1137. // </tr>
  1138. // <tr>
  1139. // <td><strong><em>config.secondary_worker_config.num_instances</em></strong></td>
  1140. // <td>Resize secondary worker group</td>
  1141. // </tr>
  1142. // </tbody>
  1143. // </table>
  1144. UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
  1145. // Optional. A unique id used to identify the request. If the server
  1146. // receives two
  1147. // [UpdateClusterRequest][google.cloud.dataproc.v1.UpdateClusterRequest]
  1148. // requests with the same id, then the second request will be ignored and the
  1149. // first [google.longrunning.Operation][google.longrunning.Operation] created
  1150. // and stored in the backend is returned.
  1151. //
  1152. // It is recommended to always set this value to a
  1153. // [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
  1154. //
  1155. // The id must contain only letters (a-z, A-Z), numbers (0-9),
  1156. // underscores (_), and hyphens (-). The maximum length is 40 characters.
  1157. RequestId string `protobuf:"bytes,7,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
  1158. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1159. XXX_unrecognized []byte `json:"-"`
  1160. XXX_sizecache int32 `json:"-"`
  1161. }
  1162. func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} }
  1163. func (m *UpdateClusterRequest) String() string { return proto.CompactTextString(m) }
  1164. func (*UpdateClusterRequest) ProtoMessage() {}
  1165. func (*UpdateClusterRequest) Descriptor() ([]byte, []int) {
  1166. return fileDescriptor_clusters_52b770c030d66ddb, []int{13}
  1167. }
  1168. func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error {
  1169. return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b)
  1170. }
  1171. func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1172. return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic)
  1173. }
  1174. func (dst *UpdateClusterRequest) XXX_Merge(src proto.Message) {
  1175. xxx_messageInfo_UpdateClusterRequest.Merge(dst, src)
  1176. }
  1177. func (m *UpdateClusterRequest) XXX_Size() int {
  1178. return xxx_messageInfo_UpdateClusterRequest.Size(m)
  1179. }
  1180. func (m *UpdateClusterRequest) XXX_DiscardUnknown() {
  1181. xxx_messageInfo_UpdateClusterRequest.DiscardUnknown(m)
  1182. }
  1183. var xxx_messageInfo_UpdateClusterRequest proto.InternalMessageInfo
  1184. func (m *UpdateClusterRequest) GetProjectId() string {
  1185. if m != nil {
  1186. return m.ProjectId
  1187. }
  1188. return ""
  1189. }
  1190. func (m *UpdateClusterRequest) GetRegion() string {
  1191. if m != nil {
  1192. return m.Region
  1193. }
  1194. return ""
  1195. }
  1196. func (m *UpdateClusterRequest) GetClusterName() string {
  1197. if m != nil {
  1198. return m.ClusterName
  1199. }
  1200. return ""
  1201. }
  1202. func (m *UpdateClusterRequest) GetCluster() *Cluster {
  1203. if m != nil {
  1204. return m.Cluster
  1205. }
  1206. return nil
  1207. }
  1208. func (m *UpdateClusterRequest) GetGracefulDecommissionTimeout() *duration.Duration {
  1209. if m != nil {
  1210. return m.GracefulDecommissionTimeout
  1211. }
  1212. return nil
  1213. }
  1214. func (m *UpdateClusterRequest) GetUpdateMask() *field_mask.FieldMask {
  1215. if m != nil {
  1216. return m.UpdateMask
  1217. }
  1218. return nil
  1219. }
  1220. func (m *UpdateClusterRequest) GetRequestId() string {
  1221. if m != nil {
  1222. return m.RequestId
  1223. }
  1224. return ""
  1225. }
  1226. // A request to delete a cluster.
  1227. type DeleteClusterRequest struct {
  1228. // Required. The ID of the Google Cloud Platform project that the cluster
  1229. // belongs to.
  1230. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  1231. // Required. The Cloud Dataproc region in which to handle the request.
  1232. Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
  1233. // Required. The cluster name.
  1234. ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
  1235. // Optional. Specifying the `cluster_uuid` means the RPC should fail
  1236. // (with error NOT_FOUND) if cluster with specified UUID does not exist.
  1237. ClusterUuid string `protobuf:"bytes,4,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"`
  1238. // Optional. A unique id used to identify the request. If the server
  1239. // receives two
  1240. // [DeleteClusterRequest][google.cloud.dataproc.v1.DeleteClusterRequest]
  1241. // requests with the same id, then the second request will be ignored and the
  1242. // first [google.longrunning.Operation][google.longrunning.Operation] created
  1243. // and stored in the backend is returned.
  1244. //
  1245. // It is recommended to always set this value to a
  1246. // [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
  1247. //
  1248. // The id must contain only letters (a-z, A-Z), numbers (0-9),
  1249. // underscores (_), and hyphens (-). The maximum length is 40 characters.
  1250. RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
  1251. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1252. XXX_unrecognized []byte `json:"-"`
  1253. XXX_sizecache int32 `json:"-"`
  1254. }
  1255. func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} }
  1256. func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) }
  1257. func (*DeleteClusterRequest) ProtoMessage() {}
  1258. func (*DeleteClusterRequest) Descriptor() ([]byte, []int) {
  1259. return fileDescriptor_clusters_52b770c030d66ddb, []int{14}
  1260. }
  1261. func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error {
  1262. return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b)
  1263. }
  1264. func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1265. return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic)
  1266. }
  1267. func (dst *DeleteClusterRequest) XXX_Merge(src proto.Message) {
  1268. xxx_messageInfo_DeleteClusterRequest.Merge(dst, src)
  1269. }
  1270. func (m *DeleteClusterRequest) XXX_Size() int {
  1271. return xxx_messageInfo_DeleteClusterRequest.Size(m)
  1272. }
  1273. func (m *DeleteClusterRequest) XXX_DiscardUnknown() {
  1274. xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m)
  1275. }
  1276. var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo
  1277. func (m *DeleteClusterRequest) GetProjectId() string {
  1278. if m != nil {
  1279. return m.ProjectId
  1280. }
  1281. return ""
  1282. }
  1283. func (m *DeleteClusterRequest) GetRegion() string {
  1284. if m != nil {
  1285. return m.Region
  1286. }
  1287. return ""
  1288. }
  1289. func (m *DeleteClusterRequest) GetClusterName() string {
  1290. if m != nil {
  1291. return m.ClusterName
  1292. }
  1293. return ""
  1294. }
  1295. func (m *DeleteClusterRequest) GetClusterUuid() string {
  1296. if m != nil {
  1297. return m.ClusterUuid
  1298. }
  1299. return ""
  1300. }
  1301. func (m *DeleteClusterRequest) GetRequestId() string {
  1302. if m != nil {
  1303. return m.RequestId
  1304. }
  1305. return ""
  1306. }
  1307. // Request to get the resource representation for a cluster in a project.
  1308. type GetClusterRequest struct {
  1309. // Required. The ID of the Google Cloud Platform project that the cluster
  1310. // belongs to.
  1311. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  1312. // Required. The Cloud Dataproc region in which to handle the request.
  1313. Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
  1314. // Required. The cluster name.
  1315. ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
  1316. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1317. XXX_unrecognized []byte `json:"-"`
  1318. XXX_sizecache int32 `json:"-"`
  1319. }
  1320. func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} }
  1321. func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) }
  1322. func (*GetClusterRequest) ProtoMessage() {}
  1323. func (*GetClusterRequest) Descriptor() ([]byte, []int) {
  1324. return fileDescriptor_clusters_52b770c030d66ddb, []int{15}
  1325. }
  1326. func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error {
  1327. return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b)
  1328. }
  1329. func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1330. return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic)
  1331. }
  1332. func (dst *GetClusterRequest) XXX_Merge(src proto.Message) {
  1333. xxx_messageInfo_GetClusterRequest.Merge(dst, src)
  1334. }
  1335. func (m *GetClusterRequest) XXX_Size() int {
  1336. return xxx_messageInfo_GetClusterRequest.Size(m)
  1337. }
  1338. func (m *GetClusterRequest) XXX_DiscardUnknown() {
  1339. xxx_messageInfo_GetClusterRequest.DiscardUnknown(m)
  1340. }
  1341. var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo
  1342. func (m *GetClusterRequest) GetProjectId() string {
  1343. if m != nil {
  1344. return m.ProjectId
  1345. }
  1346. return ""
  1347. }
  1348. func (m *GetClusterRequest) GetRegion() string {
  1349. if m != nil {
  1350. return m.Region
  1351. }
  1352. return ""
  1353. }
  1354. func (m *GetClusterRequest) GetClusterName() string {
  1355. if m != nil {
  1356. return m.ClusterName
  1357. }
  1358. return ""
  1359. }
  1360. // A request to list the clusters in a project.
  1361. type ListClustersRequest struct {
  1362. // Required. The ID of the Google Cloud Platform project that the cluster
  1363. // belongs to.
  1364. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  1365. // Required. The Cloud Dataproc region in which to handle the request.
  1366. Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
  1367. // Optional. A filter constraining the clusters to list. Filters are
  1368. // case-sensitive and have the following syntax:
  1369. //
  1370. // field = value [AND [field = value]] ...
  1371. //
  1372. // where **field** is one of `status.state`, `clusterName`, or `labels.[KEY]`,
  1373. // and `[KEY]` is a label key. **value** can be `*` to match all values.
  1374. // `status.state` can be one of the following: `ACTIVE`, `INACTIVE`,
  1375. // `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. `ACTIVE`
  1376. // contains the `CREATING`, `UPDATING`, and `RUNNING` states. `INACTIVE`
  1377. // contains the `DELETING` and `ERROR` states.
  1378. // `clusterName` is the name of the cluster provided at creation time.
  1379. // Only the logical `AND` operator is supported; space-separated items are
  1380. // treated as having an implicit `AND` operator.
  1381. //
  1382. // Example filter:
  1383. //
  1384. // status.state = ACTIVE AND clusterName = mycluster
  1385. // AND labels.env = staging AND labels.starred = *
  1386. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
  1387. // Optional. The standard List page size.
  1388. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  1389. // Optional. The standard List page token.
  1390. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  1391. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1392. XXX_unrecognized []byte `json:"-"`
  1393. XXX_sizecache int32 `json:"-"`
  1394. }
  1395. func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} }
  1396. func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) }
  1397. func (*ListClustersRequest) ProtoMessage() {}
  1398. func (*ListClustersRequest) Descriptor() ([]byte, []int) {
  1399. return fileDescriptor_clusters_52b770c030d66ddb, []int{16}
  1400. }
  1401. func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error {
  1402. return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b)
  1403. }
  1404. func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1405. return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic)
  1406. }
  1407. func (dst *ListClustersRequest) XXX_Merge(src proto.Message) {
  1408. xxx_messageInfo_ListClustersRequest.Merge(dst, src)
  1409. }
  1410. func (m *ListClustersRequest) XXX_Size() int {
  1411. return xxx_messageInfo_ListClustersRequest.Size(m)
  1412. }
  1413. func (m *ListClustersRequest) XXX_DiscardUnknown() {
  1414. xxx_messageInfo_ListClustersRequest.DiscardUnknown(m)
  1415. }
  1416. var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo
  1417. func (m *ListClustersRequest) GetProjectId() string {
  1418. if m != nil {
  1419. return m.ProjectId
  1420. }
  1421. return ""
  1422. }
  1423. func (m *ListClustersRequest) GetRegion() string {
  1424. if m != nil {
  1425. return m.Region
  1426. }
  1427. return ""
  1428. }
  1429. func (m *ListClustersRequest) GetFilter() string {
  1430. if m != nil {
  1431. return m.Filter
  1432. }
  1433. return ""
  1434. }
  1435. func (m *ListClustersRequest) GetPageSize() int32 {
  1436. if m != nil {
  1437. return m.PageSize
  1438. }
  1439. return 0
  1440. }
  1441. func (m *ListClustersRequest) GetPageToken() string {
  1442. if m != nil {
  1443. return m.PageToken
  1444. }
  1445. return ""
  1446. }
  1447. // The list of all clusters in a project.
  1448. type ListClustersResponse struct {
  1449. // Output only. The clusters in the project.
  1450. Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
  1451. // Output only. This token is included in the response if there are more
  1452. // results to fetch. To fetch additional results, provide this value as the
  1453. // `page_token` in a subsequent `ListClustersRequest`.
  1454. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  1455. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1456. XXX_unrecognized []byte `json:"-"`
  1457. XXX_sizecache int32 `json:"-"`
  1458. }
  1459. func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} }
  1460. func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) }
  1461. func (*ListClustersResponse) ProtoMessage() {}
  1462. func (*ListClustersResponse) Descriptor() ([]byte, []int) {
  1463. return fileDescriptor_clusters_52b770c030d66ddb, []int{17}
  1464. }
  1465. func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error {
  1466. return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b)
  1467. }
  1468. func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1469. return xxx_messageInfo_ListClustersResponse.Marshal(b, m, deterministic)
  1470. }
  1471. func (dst *ListClustersResponse) XXX_Merge(src proto.Message) {
  1472. xxx_messageInfo_ListClustersResponse.Merge(dst, src)
  1473. }
  1474. func (m *ListClustersResponse) XXX_Size() int {
  1475. return xxx_messageInfo_ListClustersResponse.Size(m)
  1476. }
  1477. func (m *ListClustersResponse) XXX_DiscardUnknown() {
  1478. xxx_messageInfo_ListClustersResponse.DiscardUnknown(m)
  1479. }
  1480. var xxx_messageInfo_ListClustersResponse proto.InternalMessageInfo
  1481. func (m *ListClustersResponse) GetClusters() []*Cluster {
  1482. if m != nil {
  1483. return m.Clusters
  1484. }
  1485. return nil
  1486. }
  1487. func (m *ListClustersResponse) GetNextPageToken() string {
  1488. if m != nil {
  1489. return m.NextPageToken
  1490. }
  1491. return ""
  1492. }
  1493. // A request to collect cluster diagnostic information.
  1494. type DiagnoseClusterRequest struct {
  1495. // Required. The ID of the Google Cloud Platform project that the cluster
  1496. // belongs to.
  1497. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  1498. // Required. The Cloud Dataproc region in which to handle the request.
  1499. Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
  1500. // Required. The cluster name.
  1501. ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
  1502. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1503. XXX_unrecognized []byte `json:"-"`
  1504. XXX_sizecache int32 `json:"-"`
  1505. }
  1506. func (m *DiagnoseClusterRequest) Reset() { *m = DiagnoseClusterRequest{} }
  1507. func (m *DiagnoseClusterRequest) String() string { return proto.CompactTextString(m) }
  1508. func (*DiagnoseClusterRequest) ProtoMessage() {}
  1509. func (*DiagnoseClusterRequest) Descriptor() ([]byte, []int) {
  1510. return fileDescriptor_clusters_52b770c030d66ddb, []int{18}
  1511. }
  1512. func (m *DiagnoseClusterRequest) XXX_Unmarshal(b []byte) error {
  1513. return xxx_messageInfo_DiagnoseClusterRequest.Unmarshal(m, b)
  1514. }
  1515. func (m *DiagnoseClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1516. return xxx_messageInfo_DiagnoseClusterRequest.Marshal(b, m, deterministic)
  1517. }
  1518. func (dst *DiagnoseClusterRequest) XXX_Merge(src proto.Message) {
  1519. xxx_messageInfo_DiagnoseClusterRequest.Merge(dst, src)
  1520. }
  1521. func (m *DiagnoseClusterRequest) XXX_Size() int {
  1522. return xxx_messageInfo_DiagnoseClusterRequest.Size(m)
  1523. }
  1524. func (m *DiagnoseClusterRequest) XXX_DiscardUnknown() {
  1525. xxx_messageInfo_DiagnoseClusterRequest.DiscardUnknown(m)
  1526. }
  1527. var xxx_messageInfo_DiagnoseClusterRequest proto.InternalMessageInfo
  1528. func (m *DiagnoseClusterRequest) GetProjectId() string {
  1529. if m != nil {
  1530. return m.ProjectId
  1531. }
  1532. return ""
  1533. }
  1534. func (m *DiagnoseClusterRequest) GetRegion() string {
  1535. if m != nil {
  1536. return m.Region
  1537. }
  1538. return ""
  1539. }
  1540. func (m *DiagnoseClusterRequest) GetClusterName() string {
  1541. if m != nil {
  1542. return m.ClusterName
  1543. }
  1544. return ""
  1545. }
  1546. // The location of diagnostic output.
  1547. type DiagnoseClusterResults struct {
  1548. // Output only. The Cloud Storage URI of the diagnostic output.
  1549. // The output report is a plain text file with a summary of collected
  1550. // diagnostics.
  1551. OutputUri string `protobuf:"bytes,1,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"`
  1552. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1553. XXX_unrecognized []byte `json:"-"`
  1554. XXX_sizecache int32 `json:"-"`
  1555. }
  1556. func (m *DiagnoseClusterResults) Reset() { *m = DiagnoseClusterResults{} }
  1557. func (m *DiagnoseClusterResults) String() string { return proto.CompactTextString(m) }
  1558. func (*DiagnoseClusterResults) ProtoMessage() {}
  1559. func (*DiagnoseClusterResults) Descriptor() ([]byte, []int) {
  1560. return fileDescriptor_clusters_52b770c030d66ddb, []int{19}
  1561. }
  1562. func (m *DiagnoseClusterResults) XXX_Unmarshal(b []byte) error {
  1563. return xxx_messageInfo_DiagnoseClusterResults.Unmarshal(m, b)
  1564. }
  1565. func (m *DiagnoseClusterResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1566. return xxx_messageInfo_DiagnoseClusterResults.Marshal(b, m, deterministic)
  1567. }
  1568. func (dst *DiagnoseClusterResults) XXX_Merge(src proto.Message) {
  1569. xxx_messageInfo_DiagnoseClusterResults.Merge(dst, src)
  1570. }
  1571. func (m *DiagnoseClusterResults) XXX_Size() int {
  1572. return xxx_messageInfo_DiagnoseClusterResults.Size(m)
  1573. }
  1574. func (m *DiagnoseClusterResults) XXX_DiscardUnknown() {
  1575. xxx_messageInfo_DiagnoseClusterResults.DiscardUnknown(m)
  1576. }
  1577. var xxx_messageInfo_DiagnoseClusterResults proto.InternalMessageInfo
  1578. func (m *DiagnoseClusterResults) GetOutputUri() string {
  1579. if m != nil {
  1580. return m.OutputUri
  1581. }
  1582. return ""
  1583. }
  1584. func init() {
  1585. proto.RegisterType((*Cluster)(nil), "google.cloud.dataproc.v1.Cluster")
  1586. proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.Cluster.LabelsEntry")
  1587. proto.RegisterType((*ClusterConfig)(nil), "google.cloud.dataproc.v1.ClusterConfig")
  1588. proto.RegisterType((*EncryptionConfig)(nil), "google.cloud.dataproc.v1.EncryptionConfig")
  1589. proto.RegisterType((*GceClusterConfig)(nil), "google.cloud.dataproc.v1.GceClusterConfig")
  1590. proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.GceClusterConfig.MetadataEntry")
  1591. proto.RegisterType((*InstanceGroupConfig)(nil), "google.cloud.dataproc.v1.InstanceGroupConfig")
  1592. proto.RegisterType((*ManagedGroupConfig)(nil), "google.cloud.dataproc.v1.ManagedGroupConfig")
  1593. proto.RegisterType((*AcceleratorConfig)(nil), "google.cloud.dataproc.v1.AcceleratorConfig")
  1594. proto.RegisterType((*DiskConfig)(nil), "google.cloud.dataproc.v1.DiskConfig")
  1595. proto.RegisterType((*NodeInitializationAction)(nil), "google.cloud.dataproc.v1.NodeInitializationAction")
  1596. proto.RegisterType((*ClusterStatus)(nil), "google.cloud.dataproc.v1.ClusterStatus")
  1597. proto.RegisterType((*SoftwareConfig)(nil), "google.cloud.dataproc.v1.SoftwareConfig")
  1598. proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.SoftwareConfig.PropertiesEntry")
  1599. proto.RegisterType((*ClusterMetrics)(nil), "google.cloud.dataproc.v1.ClusterMetrics")
  1600. proto.RegisterMapType((map[string]int64)(nil), "google.cloud.dataproc.v1.ClusterMetrics.HdfsMetricsEntry")
  1601. proto.RegisterMapType((map[string]int64)(nil), "google.cloud.dataproc.v1.ClusterMetrics.YarnMetricsEntry")
  1602. proto.RegisterType((*CreateClusterRequest)(nil), "google.cloud.dataproc.v1.CreateClusterRequest")
  1603. proto.RegisterType((*UpdateClusterRequest)(nil), "google.cloud.dataproc.v1.UpdateClusterRequest")
  1604. proto.RegisterType((*DeleteClusterRequest)(nil), "google.cloud.dataproc.v1.DeleteClusterRequest")
  1605. proto.RegisterType((*GetClusterRequest)(nil), "google.cloud.dataproc.v1.GetClusterRequest")
  1606. proto.RegisterType((*ListClustersRequest)(nil), "google.cloud.dataproc.v1.ListClustersRequest")
  1607. proto.RegisterType((*ListClustersResponse)(nil), "google.cloud.dataproc.v1.ListClustersResponse")
  1608. proto.RegisterType((*DiagnoseClusterRequest)(nil), "google.cloud.dataproc.v1.DiagnoseClusterRequest")
  1609. proto.RegisterType((*DiagnoseClusterResults)(nil), "google.cloud.dataproc.v1.DiagnoseClusterResults")
  1610. proto.RegisterEnum("google.cloud.dataproc.v1.ClusterStatus_State", ClusterStatus_State_name, ClusterStatus_State_value)
  1611. proto.RegisterEnum("google.cloud.dataproc.v1.ClusterStatus_Substate", ClusterStatus_Substate_name, ClusterStatus_Substate_value)
  1612. }
  1613. // Reference imports to suppress errors if they are not otherwise used.
  1614. var _ context.Context
  1615. var _ grpc.ClientConn
  1616. // This is a compile-time assertion to ensure that this generated file
  1617. // is compatible with the grpc package it is being compiled against.
  1618. const _ = grpc.SupportPackageIsVersion4
  1619. // ClusterControllerClient is the client API for ClusterController service.
  1620. //
  1621. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1622. type ClusterControllerClient interface {
  1623. // Creates a cluster in a project.
  1624. CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1625. // Updates a cluster in a project.
  1626. UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1627. // Deletes a cluster in a project.
  1628. DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1629. // Gets the resource representation for a cluster in a project.
  1630. GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
  1631. // Lists all regions/{region}/clusters in a project.
  1632. ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
  1633. // Gets cluster diagnostic information.
  1634. // After the operation completes, the Operation.response field
  1635. // contains `DiagnoseClusterOutputLocation`.
  1636. DiagnoseCluster(ctx context.Context, in *DiagnoseClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  1637. }
  1638. type clusterControllerClient struct {
  1639. cc *grpc.ClientConn
  1640. }
  1641. func NewClusterControllerClient(cc *grpc.ClientConn) ClusterControllerClient {
  1642. return &clusterControllerClient{cc}
  1643. }
  1644. func (c *clusterControllerClient) CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1645. out := new(longrunning.Operation)
  1646. err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/CreateCluster", in, out, opts...)
  1647. if err != nil {
  1648. return nil, err
  1649. }
  1650. return out, nil
  1651. }
  1652. func (c *clusterControllerClient) UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1653. out := new(longrunning.Operation)
  1654. err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/UpdateCluster", in, out, opts...)
  1655. if err != nil {
  1656. return nil, err
  1657. }
  1658. return out, nil
  1659. }
  1660. func (c *clusterControllerClient) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1661. out := new(longrunning.Operation)
  1662. err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/DeleteCluster", in, out, opts...)
  1663. if err != nil {
  1664. return nil, err
  1665. }
  1666. return out, nil
  1667. }
  1668. func (c *clusterControllerClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) {
  1669. out := new(Cluster)
  1670. err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/GetCluster", in, out, opts...)
  1671. if err != nil {
  1672. return nil, err
  1673. }
  1674. return out, nil
  1675. }
  1676. func (c *clusterControllerClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) {
  1677. out := new(ListClustersResponse)
  1678. err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/ListClusters", in, out, opts...)
  1679. if err != nil {
  1680. return nil, err
  1681. }
  1682. return out, nil
  1683. }
  1684. func (c *clusterControllerClient) DiagnoseCluster(ctx context.Context, in *DiagnoseClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  1685. out := new(longrunning.Operation)
  1686. err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1.ClusterController/DiagnoseCluster", in, out, opts...)
  1687. if err != nil {
  1688. return nil, err
  1689. }
  1690. return out, nil
  1691. }
  1692. // ClusterControllerServer is the server API for ClusterController service.
  1693. type ClusterControllerServer interface {
  1694. // Creates a cluster in a project.
  1695. CreateCluster(context.Context, *CreateClusterRequest) (*longrunning.Operation, error)
  1696. // Updates a cluster in a project.
  1697. UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunning.Operation, error)
  1698. // Deletes a cluster in a project.
  1699. DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunning.Operation, error)
  1700. // Gets the resource representation for a cluster in a project.
  1701. GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
  1702. // Lists all regions/{region}/clusters in a project.
  1703. ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
  1704. // Gets cluster diagnostic information.
  1705. // After the operation completes, the Operation.response field
  1706. // contains `DiagnoseClusterOutputLocation`.
  1707. DiagnoseCluster(context.Context, *DiagnoseClusterRequest) (*longrunning.Operation, error)
  1708. }
  1709. func RegisterClusterControllerServer(s *grpc.Server, srv ClusterControllerServer) {
  1710. s.RegisterService(&_ClusterController_serviceDesc, srv)
  1711. }
  1712. func _ClusterController_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1713. in := new(CreateClusterRequest)
  1714. if err := dec(in); err != nil {
  1715. return nil, err
  1716. }
  1717. if interceptor == nil {
  1718. return srv.(ClusterControllerServer).CreateCluster(ctx, in)
  1719. }
  1720. info := &grpc.UnaryServerInfo{
  1721. Server: srv,
  1722. FullMethod: "/google.cloud.dataproc.v1.ClusterController/CreateCluster",
  1723. }
  1724. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1725. return srv.(ClusterControllerServer).CreateCluster(ctx, req.(*CreateClusterRequest))
  1726. }
  1727. return interceptor(ctx, in, info, handler)
  1728. }
  1729. func _ClusterController_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1730. in := new(UpdateClusterRequest)
  1731. if err := dec(in); err != nil {
  1732. return nil, err
  1733. }
  1734. if interceptor == nil {
  1735. return srv.(ClusterControllerServer).UpdateCluster(ctx, in)
  1736. }
  1737. info := &grpc.UnaryServerInfo{
  1738. Server: srv,
  1739. FullMethod: "/google.cloud.dataproc.v1.ClusterController/UpdateCluster",
  1740. }
  1741. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1742. return srv.(ClusterControllerServer).UpdateCluster(ctx, req.(*UpdateClusterRequest))
  1743. }
  1744. return interceptor(ctx, in, info, handler)
  1745. }
  1746. func _ClusterController_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1747. in := new(DeleteClusterRequest)
  1748. if err := dec(in); err != nil {
  1749. return nil, err
  1750. }
  1751. if interceptor == nil {
  1752. return srv.(ClusterControllerServer).DeleteCluster(ctx, in)
  1753. }
  1754. info := &grpc.UnaryServerInfo{
  1755. Server: srv,
  1756. FullMethod: "/google.cloud.dataproc.v1.ClusterController/DeleteCluster",
  1757. }
  1758. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1759. return srv.(ClusterControllerServer).DeleteCluster(ctx, req.(*DeleteClusterRequest))
  1760. }
  1761. return interceptor(ctx, in, info, handler)
  1762. }
  1763. func _ClusterController_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1764. in := new(GetClusterRequest)
  1765. if err := dec(in); err != nil {
  1766. return nil, err
  1767. }
  1768. if interceptor == nil {
  1769. return srv.(ClusterControllerServer).GetCluster(ctx, in)
  1770. }
  1771. info := &grpc.UnaryServerInfo{
  1772. Server: srv,
  1773. FullMethod: "/google.cloud.dataproc.v1.ClusterController/GetCluster",
  1774. }
  1775. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1776. return srv.(ClusterControllerServer).GetCluster(ctx, req.(*GetClusterRequest))
  1777. }
  1778. return interceptor(ctx, in, info, handler)
  1779. }
  1780. func _ClusterController_ListClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1781. in := new(ListClustersRequest)
  1782. if err := dec(in); err != nil {
  1783. return nil, err
  1784. }
  1785. if interceptor == nil {
  1786. return srv.(ClusterControllerServer).ListClusters(ctx, in)
  1787. }
  1788. info := &grpc.UnaryServerInfo{
  1789. Server: srv,
  1790. FullMethod: "/google.cloud.dataproc.v1.ClusterController/ListClusters",
  1791. }
  1792. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1793. return srv.(ClusterControllerServer).ListClusters(ctx, req.(*ListClustersRequest))
  1794. }
  1795. return interceptor(ctx, in, info, handler)
  1796. }
  1797. func _ClusterController_DiagnoseCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1798. in := new(DiagnoseClusterRequest)
  1799. if err := dec(in); err != nil {
  1800. return nil, err
  1801. }
  1802. if interceptor == nil {
  1803. return srv.(ClusterControllerServer).DiagnoseCluster(ctx, in)
  1804. }
  1805. info := &grpc.UnaryServerInfo{
  1806. Server: srv,
  1807. FullMethod: "/google.cloud.dataproc.v1.ClusterController/DiagnoseCluster",
  1808. }
  1809. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1810. return srv.(ClusterControllerServer).DiagnoseCluster(ctx, req.(*DiagnoseClusterRequest))
  1811. }
  1812. return interceptor(ctx, in, info, handler)
  1813. }
  1814. var _ClusterController_serviceDesc = grpc.ServiceDesc{
  1815. ServiceName: "google.cloud.dataproc.v1.ClusterController",
  1816. HandlerType: (*ClusterControllerServer)(nil),
  1817. Methods: []grpc.MethodDesc{
  1818. {
  1819. MethodName: "CreateCluster",
  1820. Handler: _ClusterController_CreateCluster_Handler,
  1821. },
  1822. {
  1823. MethodName: "UpdateCluster",
  1824. Handler: _ClusterController_UpdateCluster_Handler,
  1825. },
  1826. {
  1827. MethodName: "DeleteCluster",
  1828. Handler: _ClusterController_DeleteCluster_Handler,
  1829. },
  1830. {
  1831. MethodName: "GetCluster",
  1832. Handler: _ClusterController_GetCluster_Handler,
  1833. },
  1834. {
  1835. MethodName: "ListClusters",
  1836. Handler: _ClusterController_ListClusters_Handler,
  1837. },
  1838. {
  1839. MethodName: "DiagnoseCluster",
  1840. Handler: _ClusterController_DiagnoseCluster_Handler,
  1841. },
  1842. },
  1843. Streams: []grpc.StreamDesc{},
  1844. Metadata: "google/cloud/dataproc/v1/clusters.proto",
  1845. }
  1846. func init() {
  1847. proto.RegisterFile("google/cloud/dataproc/v1/clusters.proto", fileDescriptor_clusters_52b770c030d66ddb)
  1848. }
  1849. var fileDescriptor_clusters_52b770c030d66ddb = []byte{
  1850. // 2079 bytes of a gzipped FileDescriptorProto
  1851. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xcd, 0x73, 0x1c, 0x47,
  1852. 0x15, 0xcf, 0x68, 0xb5, 0xd2, 0xea, 0xed, 0x87, 0x56, 0x1d, 0x45, 0x6c, 0x94, 0x84, 0x38, 0x93,
  1853. 0x80, 0x15, 0x27, 0xec, 0xda, 0x0a, 0x14, 0x89, 0x4d, 0x42, 0x64, 0xed, 0xda, 0x16, 0x96, 0xd7,
  1854. 0x62, 0x76, 0x65, 0x27, 0x14, 0x30, 0xd5, 0x3b, 0xd3, 0x5a, 0x37, 0x9a, 0xaf, 0x4c, 0xf7, 0x28,
  1855. 0x59, 0xbb, 0x7c, 0x81, 0x2a, 0xaa, 0x28, 0x8e, 0x54, 0x71, 0xe6, 0x00, 0x55, 0x90, 0x63, 0xe0,
  1856. 0xc4, 0x3f, 0xc0, 0x85, 0xe2, 0xc2, 0xbf, 0xc0, 0x81, 0x3f, 0x83, 0xea, 0x8f, 0xd9, 0x9d, 0x59,
  1857. 0x7d, 0xac, 0x64, 0x5c, 0x39, 0x69, 0xe6, 0xf5, 0xef, 0xbd, 0xf7, 0xeb, 0xee, 0xd7, 0xbf, 0x79,
  1858. 0xbd, 0x82, 0xcb, 0xc3, 0x30, 0x1c, 0x7a, 0xa4, 0xe5, 0x78, 0x61, 0xe2, 0xb6, 0x5c, 0xcc, 0x71,
  1859. 0x14, 0x87, 0x4e, 0xeb, 0xe8, 0x5a, 0xcb, 0xf1, 0x12, 0xc6, 0x49, 0xcc, 0x9a, 0x51, 0x1c, 0xf2,
  1860. 0x10, 0x35, 0x14, 0xb0, 0x29, 0x81, 0xcd, 0x14, 0xd8, 0x3c, 0xba, 0xb6, 0xfe, 0xaa, 0x0e, 0x81,
  1861. 0x23, 0xda, 0xc2, 0x41, 0x10, 0x72, 0xcc, 0x69, 0x18, 0x68, 0xbf, 0xf5, 0xb7, 0x4f, 0x4d, 0x10,
  1862. 0x46, 0x24, 0xce, 0x41, 0xdf, 0xd4, 0x50, 0x2f, 0x0c, 0x86, 0x71, 0x12, 0x04, 0x34, 0x18, 0x1e,
  1863. 0x07, 0x7d, 0x53, 0x83, 0xe4, 0xdb, 0x20, 0x39, 0x68, 0xb9, 0x89, 0x02, 0xe8, 0xf1, 0x4b, 0xd3,
  1864. 0xe3, 0x07, 0x94, 0x78, 0xae, 0xed, 0x63, 0x76, 0xa8, 0x11, 0xaf, 0x4f, 0x23, 0x38, 0xf5, 0x09,
  1865. 0xe3, 0xd8, 0x8f, 0x14, 0xc0, 0xfc, 0xf5, 0x3c, 0x2c, 0x6e, 0xab, 0xd9, 0xa3, 0xd7, 0x00, 0xa2,
  1866. 0x38, 0xfc, 0x05, 0x71, 0xb8, 0x4d, 0xdd, 0x86, 0x71, 0xc9, 0xd8, 0x58, 0xb2, 0x96, 0xb4, 0x65,
  1867. 0xc7, 0x45, 0x6f, 0x40, 0x45, 0xaf, 0x93, 0x1d, 0x60, 0x9f, 0x34, 0xe6, 0x24, 0xa0, 0xac, 0x6d,
  1868. 0x5d, 0xec, 0x13, 0xf4, 0x43, 0x58, 0x70, 0xc2, 0xe0, 0x80, 0x0e, 0x1b, 0x85, 0x4b, 0xc6, 0x46,
  1869. 0x79, 0xf3, 0x72, 0xf3, 0xb4, 0x95, 0x6c, 0xea, 0xa4, 0xdb, 0x12, 0x6e, 0x69, 0x37, 0xd4, 0x81,
  1870. 0x05, 0x0f, 0x0f, 0x88, 0xc7, 0x1a, 0xa5, 0x4b, 0x85, 0x8d, 0xf2, 0xe6, 0x77, 0x66, 0x06, 0x68,
  1871. 0xee, 0x4a, 0x7c, 0x27, 0xe0, 0xf1, 0xc8, 0xd2, 0xce, 0x82, 0x07, 0xe3, 0x98, 0x27, 0xac, 0x31,
  1872. 0x7f, 0x4e, 0x1e, 0x3d, 0x09, 0xb7, 0xb4, 0x1b, 0xea, 0x42, 0x4d, 0x3d, 0xd9, 0x8f, 0x28, 0xe3,
  1873. 0x61, 0x3c, 0x6a, 0x2c, 0x4a, 0x3e, 0xe7, 0x0e, 0x54, 0x55, 0xee, 0x77, 0x94, 0x77, 0x76, 0xed,
  1874. 0x92, 0x84, 0xba, 0x8d, 0x85, 0xdc, 0xda, 0xed, 0x27, 0xd4, 0x45, 0x37, 0x61, 0xd1, 0x27, 0x3c,
  1875. 0xa6, 0x0e, 0x6b, 0x2c, 0x49, 0xd2, 0x1b, 0x33, 0x73, 0xdd, 0x53, 0x78, 0x2b, 0x75, 0x5c, 0xff,
  1876. 0x00, 0xca, 0x99, 0xe5, 0x40, 0x75, 0x28, 0x1c, 0x92, 0x91, 0xde, 0x49, 0xf1, 0x88, 0x56, 0xa1,
  1877. 0x78, 0x84, 0xbd, 0x24, 0xdd, 0x3c, 0xf5, 0x72, 0x7d, 0xee, 0x7d, 0xc3, 0xfc, 0x5b, 0x11, 0xaa,
  1878. 0xb9, 0x3d, 0x41, 0x6f, 0x42, 0x55, 0xed, 0x8a, 0x3d, 0x48, 0x9c, 0x43, 0xc2, 0x75, 0x9c, 0x8a,
  1879. 0x32, 0xde, 0x94, 0x36, 0xf4, 0x09, 0xa0, 0xa1, 0x43, 0xec, 0x74, 0x72, 0x7a, 0xf7, 0x4b, 0x72,
  1880. 0x02, 0x57, 0x4e, 0x9f, 0xc0, 0x6d, 0x87, 0xe4, 0x0b, 0xa0, 0x3e, 0x9c, 0xb2, 0x20, 0x0b, 0xaa,
  1881. 0x3e, 0xce, 0x06, 0x55, 0xab, 0x72, 0x46, 0x45, 0xec, 0x04, 0x8c, 0xe3, 0xc0, 0x21, 0xb7, 0xe3,
  1882. 0x30, 0x89, 0x74, 0xdc, 0x8a, 0x8a, 0x31, 0x89, 0xf9, 0x79, 0x18, 0x1f, 0x4e, 0x62, 0xc2, 0x33,
  1883. 0xc5, 0x54, 0x31, 0x74, 0x4c, 0x02, 0xdf, 0x60, 0xc4, 0x09, 0x03, 0x17, 0xc7, 0x23, 0x3b, 0x1f,
  1884. 0xbd, 0xf2, 0x2c, 0xd1, 0x5f, 0x1a, 0x47, 0x7b, 0x98, 0x4d, 0xf3, 0x63, 0x58, 0x66, 0xe1, 0x01,
  1885. 0xff, 0x1c, 0xc7, 0x24, 0x0d, 0x5f, 0x9d, 0x55, 0x26, 0x3d, 0xed, 0xa0, 0x23, 0xd7, 0x58, 0xee,
  1886. 0x1d, 0x51, 0x58, 0xa3, 0x01, 0xe5, 0x14, 0x7b, 0xf4, 0xb1, 0x94, 0x15, 0x1b, 0x3b, 0x52, 0x7e,
  1887. 0x1a, 0x65, 0x59, 0xec, 0x9b, 0xa7, 0x47, 0xee, 0x86, 0x2e, 0xd9, 0xc9, 0xf9, 0x6e, 0x49, 0x57,
  1888. 0xeb, 0x25, 0x7a, 0x82, 0x95, 0xa1, 0x87, 0xb0, 0x42, 0x02, 0x27, 0x1e, 0x45, 0x32, 0x8d, 0xe6,
  1889. 0xbf, 0x3c, 0xab, 0x4a, 0x3a, 0x63, 0x97, 0xb4, 0x4a, 0xc8, 0x94, 0xc5, 0xfc, 0x18, 0xea, 0xd3,
  1890. 0x28, 0xf4, 0x2e, 0xbc, 0x28, 0x6a, 0x32, 0x72, 0xed, 0x43, 0x9f, 0xd9, 0x87, 0x64, 0xa4, 0xf4,
  1891. 0x4a, 0x95, 0xef, 0xf2, 0xd0, 0x21, 0x7b, 0xee, 0x5d, 0x9f, 0xdd, 0x25, 0x23, 0xa1, 0x59, 0xe6,
  1892. 0x9f, 0x0a, 0x50, 0x9f, 0x2e, 0x47, 0xf4, 0x32, 0x94, 0x1e, 0x87, 0x01, 0xb1, 0x93, 0x98, 0x6a,
  1893. 0xbf, 0x45, 0xf1, 0xbe, 0x1f, 0x53, 0xf4, 0x3a, 0x94, 0x03, 0xc2, 0xc5, 0x46, 0xcb, 0x51, 0x75,
  1894. 0x90, 0x40, 0x9b, 0x04, 0xe0, 0x5b, 0x50, 0x63, 0xc9, 0x20, 0x8b, 0x51, 0xa7, 0xbd, 0x3a, 0xb1,
  1895. 0x0a, 0xd8, 0x06, 0xd4, 0x69, 0xc0, 0x49, 0x1c, 0x60, 0xcf, 0xa6, 0x91, 0x1d, 0x06, 0x9e, 0x10,
  1896. 0x19, 0x63, 0xa3, 0x64, 0xd5, 0x52, 0xfb, 0x4e, 0x74, 0x3f, 0xf0, 0x46, 0xe8, 0x32, 0x2c, 0x33,
  1897. 0x12, 0x1f, 0x51, 0x87, 0xd8, 0xd8, 0x71, 0xc2, 0x24, 0xe0, 0xf2, 0x80, 0x2d, 0x59, 0x35, 0x6d,
  1898. 0xde, 0x52, 0x56, 0xf4, 0x5d, 0x58, 0x9b, 0x02, 0xda, 0xcc, 0x09, 0x23, 0xc2, 0x1a, 0x85, 0x4b,
  1899. 0x85, 0x8d, 0x25, 0x6b, 0x35, 0x8f, 0xef, 0xc9, 0x31, 0x84, 0x60, 0x9e, 0xe3, 0xa1, 0x90, 0x4a,
  1900. 0x81, 0x91, 0xcf, 0xa8, 0x0f, 0x25, 0x9f, 0x70, 0x2c, 0x36, 0xa3, 0x51, 0x94, 0xc5, 0xf0, 0xfe,
  1901. 0xf9, 0x0f, 0x73, 0xf3, 0x9e, 0x76, 0x55, 0xa2, 0x3c, 0x8e, 0xb4, 0x7e, 0x03, 0xaa, 0xb9, 0xa1,
  1902. 0x0b, 0x09, 0xd4, 0x3f, 0x0a, 0xf0, 0xe2, 0x09, 0xe7, 0x45, 0xc8, 0x54, 0x90, 0xf8, 0x36, 0xd5,
  1903. 0x43, 0x4c, 0x46, 0x2b, 0x5a, 0x95, 0x20, 0xf1, 0x53, 0x38, 0x13, 0x7b, 0x92, 0x02, 0x64, 0x31,
  1904. 0xb0, 0xc6, 0x9c, 0x9c, 0x6d, 0x35, 0xb5, 0x8a, 0x52, 0x60, 0xe8, 0x15, 0x58, 0xa2, 0x3e, 0x1e,
  1905. 0xaa, 0x7d, 0x2f, 0x48, 0x06, 0x25, 0x69, 0xd0, 0x1b, 0xe6, 0x63, 0xe7, 0x11, 0x0d, 0x88, 0xcd,
  1906. 0x47, 0x91, 0xc2, 0xcc, 0xab, 0x7d, 0xd0, 0xf6, 0xfe, 0x28, 0x92, 0xc8, 0x0e, 0x94, 0x5d, 0xca,
  1907. 0x0e, 0xd3, 0x3a, 0x2f, 0xca, 0x3a, 0x7f, 0xeb, 0xf4, 0x05, 0x6c, 0x53, 0x76, 0xa8, 0x2b, 0x1c,
  1908. 0xdc, 0xf1, 0xb3, 0x24, 0xcd, 0xec, 0x28, 0x26, 0xc4, 0x8f, 0x38, 0x1d, 0x78, 0x44, 0x16, 0x52,
  1909. 0xc9, 0xaa, 0x52, 0xb6, 0x37, 0x31, 0xa2, 0x9f, 0xc3, 0xaa, 0x8f, 0x03, 0x3c, 0x24, 0xae, 0x3d,
  1910. 0x14, 0xeb, 0x92, 0xa6, 0x5d, 0x94, 0x69, 0xdf, 0x3d, 0x3d, 0xed, 0x3d, 0xe5, 0x95, 0x15, 0x1f,
  1911. 0xe4, 0x1f, 0xb3, 0xa1, 0xfb, 0x50, 0xc1, 0x8e, 0x43, 0x3c, 0xd1, 0x9c, 0x84, 0x71, 0xfa, 0x65,
  1912. 0x7e, 0xe7, 0xf4, 0xb8, 0x5b, 0x13, 0x74, 0xaa, 0x98, 0xd9, 0x00, 0xe6, 0x6f, 0x0c, 0x40, 0xc7,
  1913. 0x73, 0x8b, 0xea, 0x1d, 0xef, 0x11, 0x27, 0x7e, 0xe4, 0x61, 0x4e, 0xb2, 0x27, 0x77, 0x35, 0x1d,
  1914. 0xed, 0xeb, 0x41, 0xd9, 0x72, 0x7c, 0x08, 0xaf, 0x8c, 0xbd, 0xd4, 0xf4, 0xd5, 0x14, 0x72, 0x4d,
  1915. 0x4a, 0x83, 0x66, 0x0b, 0x47, 0xe5, 0x96, 0x1d, 0x8b, 0x19, 0xc3, 0xca, 0x31, 0xba, 0xe8, 0x2a,
  1916. 0xac, 0x66, 0x08, 0x4f, 0x76, 0x5b, 0xf1, 0x40, 0x99, 0xb1, 0x74, 0xc7, 0xdf, 0x81, 0x95, 0xac,
  1917. 0x87, 0x3a, 0xa4, 0x73, 0xb2, 0x10, 0xeb, 0x38, 0x1b, 0x3f, 0x09, 0xb8, 0xf9, 0x2b, 0x03, 0x60,
  1918. 0xb2, 0xe5, 0xe8, 0x2d, 0xa8, 0x0d, 0xc2, 0x90, 0xdb, 0xb2, 0x64, 0x44, 0x2e, 0x5d, 0x79, 0x15,
  1919. 0x61, 0x15, 0x38, 0x91, 0x04, 0xbd, 0x0d, 0x2b, 0x13, 0x14, 0xa3, 0x8f, 0x89, 0x3d, 0x1c, 0xe8,
  1920. 0x52, 0xaf, 0xa5, 0xc0, 0x1e, 0x7d, 0x4c, 0x6e, 0x0f, 0x44, 0x40, 0x71, 0x22, 0xbc, 0xd0, 0xc1,
  1921. 0x9e, 0xcd, 0x98, 0xcb, 0x34, 0x13, 0x71, 0x24, 0x76, 0x85, 0xb1, 0xc7, 0x5c, 0x66, 0xfe, 0xd6,
  1922. 0x80, 0xc6, 0x69, 0x32, 0x2e, 0x24, 0x87, 0x7c, 0x41, 0x9c, 0x84, 0xe3, 0x81, 0x47, 0xec, 0x03,
  1923. 0xea, 0xa5, 0x9b, 0x50, 0x9b, 0x98, 0x6f, 0x51, 0x8f, 0xa0, 0x5b, 0xb0, 0xa2, 0x2c, 0x42, 0xd7,
  1924. 0x45, 0x73, 0x19, 0x26, 0x6a, 0xe2, 0xe5, 0xcd, 0x97, 0xd3, 0x0a, 0x49, 0x9b, 0xcf, 0x66, 0x5b,
  1925. 0xb7, 0xaf, 0x56, 0x7d, 0xec, 0xd3, 0x57, 0x2e, 0xe6, 0xef, 0x0b, 0xe3, 0xf6, 0x43, 0x75, 0x50,
  1926. 0x68, 0x1b, 0x8a, 0xa2, 0x87, 0x52, 0x89, 0x6b, 0xe7, 0xe8, 0x04, 0x95, 0x5f, 0x53, 0xfc, 0x21,
  1927. 0x96, 0xf2, 0x45, 0x6b, 0xb0, 0xe0, 0x12, 0x8e, 0xa9, 0xa7, 0x0b, 0x41, 0xbf, 0xa1, 0x36, 0xd4,
  1928. 0x25, 0xc0, 0x66, 0x1c, 0xc7, 0x5c, 0x12, 0xd7, 0x2d, 0xeb, 0xfa, 0x31, 0xd6, 0xfd, 0xb4, 0x65,
  1929. 0xb6, 0x64, 0x4f, 0x48, 0x7a, 0xc2, 0x45, 0x18, 0xd1, 0x2e, 0x94, 0x58, 0x32, 0x50, 0x2c, 0xe7,
  1930. 0x25, 0xcb, 0xab, 0xe7, 0x66, 0xa9, 0xfd, 0xac, 0x71, 0x04, 0xf3, 0x01, 0x14, 0x25, 0x77, 0x54,
  1931. 0x86, 0xc5, 0xfd, 0xee, 0xdd, 0xee, 0xfd, 0x87, 0xdd, 0xfa, 0x0b, 0xa8, 0x02, 0xa5, 0x6d, 0xab,
  1932. 0xb3, 0xd5, 0xdf, 0xe9, 0xde, 0xae, 0x1b, 0x62, 0xc8, 0xda, 0xef, 0x76, 0xc5, 0xcb, 0x1c, 0x5a,
  1933. 0x82, 0x62, 0xc7, 0xb2, 0xee, 0x5b, 0xf5, 0x82, 0x40, 0xb5, 0x3b, 0xbb, 0x1d, 0x89, 0x9a, 0x17,
  1934. 0x6f, 0xfb, 0x7b, 0x6d, 0xe5, 0x53, 0x34, 0x7f, 0x00, 0xa5, 0x34, 0x1b, 0x5a, 0x86, 0xf2, 0x7e,
  1935. 0xb7, 0xb7, 0xd7, 0xd9, 0xde, 0xb9, 0xb5, 0xd3, 0x69, 0xd7, 0x5f, 0x40, 0x55, 0x58, 0xda, 0xef,
  1936. 0xde, 0xe9, 0x6c, 0xed, 0xf6, 0xef, 0x7c, 0x5a, 0x37, 0x50, 0x1d, 0x2a, 0xbd, 0xfe, 0xd6, 0x6e,
  1937. 0xc7, 0xee, 0xf5, 0xb7, 0xfa, 0xfb, 0xbd, 0xfa, 0x9c, 0xf9, 0x2f, 0x03, 0x6a, 0xf9, 0x3e, 0x42,
  1938. 0x28, 0xae, 0x52, 0xc9, 0x23, 0x12, 0x33, 0x1a, 0x06, 0x69, 0x63, 0x28, 0x8d, 0x0f, 0x94, 0x0d,
  1939. 0x7d, 0x22, 0x2f, 0x13, 0x11, 0x89, 0x39, 0xd5, 0x6a, 0x7b, 0xe6, 0x37, 0x24, 0x9f, 0xa2, 0xb9,
  1940. 0x37, 0x76, 0x55, 0xdf, 0x90, 0x4c, 0xac, 0xf5, 0x0f, 0x61, 0x79, 0x6a, 0xf8, 0x42, 0xdf, 0x91,
  1941. 0x7f, 0xce, 0x41, 0x2d, 0xdf, 0x3f, 0xa3, 0x9f, 0x42, 0xe5, 0x91, 0x7b, 0xc0, 0xec, 0xb4, 0xff,
  1942. 0x36, 0x24, 0xdb, 0x0f, 0xce, 0xdb, 0x7f, 0x37, 0xef, 0xb8, 0x07, 0x4c, 0x3f, 0x2b, 0xba, 0xe5,
  1943. 0x47, 0x13, 0x8b, 0x88, 0x3e, 0xc2, 0x71, 0x30, 0x8e, 0x3e, 0x77, 0xc1, 0xe8, 0x9f, 0xe2, 0x38,
  1944. 0xc8, 0x47, 0x1f, 0x4d, 0x2c, 0xeb, 0x1f, 0x41, 0x7d, 0x3a, 0xfd, 0xac, 0xe5, 0x28, 0x64, 0x96,
  1945. 0x43, 0xf8, 0x4f, 0x27, 0xb8, 0x88, 0xbf, 0xf9, 0x17, 0x03, 0x56, 0xb7, 0x63, 0x82, 0x79, 0xda,
  1946. 0x03, 0x58, 0xe4, 0xb3, 0x84, 0x30, 0x3e, 0xeb, 0x36, 0xb9, 0x06, 0x0b, 0x31, 0x19, 0x8a, 0xea,
  1947. 0x51, 0x6a, 0xa7, 0xdf, 0xd0, 0x0d, 0x58, 0xd4, 0x97, 0x09, 0x2d, 0x23, 0x6f, 0xcc, 0x5c, 0x28,
  1948. 0x2b, 0xf5, 0x10, 0x39, 0x63, 0x95, 0x5e, 0xe4, 0x54, 0x1f, 0xe7, 0x25, 0x6d, 0xd9, 0x71, 0xcd,
  1949. 0xff, 0xce, 0xc1, 0xea, 0x7e, 0xe4, 0xfe, 0x1f, 0x5c, 0x8b, 0x39, 0xae, 0xe7, 0xb8, 0x11, 0x67,
  1950. 0xa6, 0x53, 0xb8, 0xf0, 0x74, 0x7e, 0x06, 0xaf, 0x0d, 0x63, 0xec, 0x90, 0x83, 0xc4, 0xb3, 0x5d,
  1951. 0xe2, 0x84, 0xbe, 0x4f, 0x19, 0xcb, 0x0a, 0xed, 0xc2, 0x2c, 0xa1, 0x7d, 0x25, 0xf5, 0x6f, 0x67,
  1952. 0xdc, 0xb5, 0xe6, 0xa2, 0x1b, 0x50, 0x4e, 0xe4, 0x6a, 0xc8, 0x5f, 0x0c, 0xf4, 0x55, 0xf9, 0xb8,
  1953. 0xfe, 0xdd, 0xa2, 0xc4, 0x73, 0xef, 0x61, 0x76, 0x68, 0x81, 0x82, 0x8b, 0xe7, 0xa9, 0xa5, 0x5e,
  1954. 0x9c, 0x5e, 0xea, 0xaf, 0x0c, 0x58, 0x6d, 0x13, 0x8f, 0x3c, 0xaf, 0xb2, 0x38, 0xc7, 0x52, 0x4f,
  1955. 0xdf, 0xb1, 0xe7, 0x8f, 0xdf, 0xb1, 0xf3, 0xa4, 0x8b, 0xd3, 0xa4, 0x7d, 0x58, 0xb9, 0x4d, 0xf8,
  1956. 0xd7, 0x45, 0xd8, 0xfc, 0x83, 0x01, 0x2f, 0xee, 0x52, 0x96, 0x26, 0x64, 0x17, 0xce, 0x38, 0x9f,
  1957. 0xcb, 0xb8, 0x06, 0x0b, 0x07, 0xd4, 0x13, 0x95, 0xa6, 0xab, 0x54, 0xbd, 0x89, 0xa6, 0x36, 0x12,
  1958. 0x6a, 0x2d, 0x9a, 0x06, 0xdd, 0x09, 0x94, 0x84, 0x41, 0x74, 0x0b, 0x32, 0x97, 0x18, 0xe4, 0xe1,
  1959. 0x21, 0x49, 0xa7, 0x20, 0xe1, 0x7d, 0x61, 0x30, 0x9f, 0xc2, 0x6a, 0x9e, 0x21, 0x8b, 0xc2, 0x80,
  1960. 0x89, 0xae, 0xab, 0x94, 0xfe, 0x66, 0xa6, 0xd5, 0xf2, 0x1c, 0x75, 0x3d, 0x76, 0x41, 0xdf, 0x86,
  1961. 0xe5, 0x80, 0x7c, 0xc1, 0xed, 0x4c, 0x6a, 0xb5, 0x3e, 0x55, 0x61, 0xde, 0x1b, 0xa7, 0x8f, 0x61,
  1962. 0xad, 0x4d, 0xf1, 0x30, 0x08, 0xd9, 0xd7, 0x56, 0x46, 0xe6, 0xf7, 0x4f, 0xc8, 0xc9, 0x12, 0x8f,
  1963. 0x33, 0x91, 0x33, 0x4c, 0x78, 0x94, 0xf0, 0x4c, 0x33, 0xb8, 0xa4, 0x2c, 0xfb, 0x31, 0xdd, 0xfc,
  1964. 0xaa, 0x04, 0x2b, 0x93, 0x7b, 0x10, 0x8f, 0x43, 0xcf, 0x23, 0x31, 0xfa, 0xa3, 0x01, 0xd5, 0x9c,
  1965. 0x3e, 0xa2, 0xe6, 0x19, 0x2b, 0x75, 0x82, 0x90, 0xae, 0xbf, 0x96, 0xe2, 0x33, 0xbf, 0x15, 0x36,
  1966. 0xef, 0xa7, 0xbf, 0x15, 0x9a, 0xed, 0x5f, 0xfe, 0xfb, 0x3f, 0xbf, 0x9b, 0xfb, 0xc8, 0x7c, 0xaf,
  1967. 0x75, 0x74, 0xad, 0xa5, 0x57, 0x80, 0xb5, 0x9e, 0x4c, 0x56, 0xe7, 0x69, 0x4b, 0x4d, 0x9e, 0xb5,
  1968. 0x9e, 0xa8, 0x87, 0xa7, 0xe3, 0xdf, 0x3b, 0xaf, 0x8f, 0xa5, 0xe6, 0xaf, 0x06, 0x54, 0x73, 0xd2,
  1969. 0x78, 0x16, 0xcd, 0x93, 0x34, 0x74, 0x16, 0xcd, 0x9e, 0xa4, 0x79, 0x6f, 0xf3, 0xe6, 0x33, 0xd0,
  1970. 0x6c, 0x3d, 0xc9, 0x6e, 0xda, 0xd3, 0x09, 0xeb, 0x2f, 0x0d, 0xa8, 0xe6, 0x54, 0xe6, 0x2c, 0xd6,
  1971. 0x27, 0xc9, 0xd1, 0x2c, 0xd6, 0x3f, 0x92, 0xac, 0xdb, 0x57, 0x9e, 0x03, 0x6b, 0xf4, 0x67, 0x03,
  1972. 0x60, 0x22, 0x2f, 0xe8, 0x8c, 0x0b, 0xd4, 0x31, 0x11, 0x5a, 0x9f, 0x7d, 0xba, 0x52, 0xaa, 0xe8,
  1973. 0x79, 0x50, 0xfd, 0xd2, 0x80, 0x4a, 0xf6, 0xdc, 0xa3, 0x33, 0xba, 0xef, 0x13, 0x14, 0x6c, 0xbd,
  1974. 0x79, 0x5e, 0xb8, 0x92, 0x13, 0xf3, 0x86, 0xe4, 0xfe, 0x3d, 0xf4, 0x2c, 0x35, 0x8c, 0xfe, 0x6e,
  1975. 0xc0, 0xf2, 0xd4, 0x89, 0x45, 0x57, 0xcf, 0xba, 0x6c, 0x9f, 0x24, 0x28, 0xb3, 0x0a, 0xe1, 0x81,
  1976. 0x64, 0xb8, 0x67, 0xde, 0x7d, 0x0e, 0xe5, 0xeb, 0x6a, 0x06, 0xd7, 0x8d, 0x2b, 0x37, 0x3f, 0x83,
  1977. 0x57, 0x9d, 0xd0, 0x3f, 0x95, 0xed, 0xcd, 0xf4, 0x52, 0xc4, 0xf6, 0xc4, 0xe7, 0x78, 0xcf, 0xf8,
  1978. 0xc9, 0xc7, 0x1a, 0x3a, 0x0c, 0x3d, 0x1c, 0x0c, 0x9b, 0x61, 0x3c, 0x6c, 0x0d, 0x49, 0x20, 0x3f,
  1979. 0xd6, 0x2d, 0x35, 0x84, 0x23, 0xca, 0x8e, 0xff, 0x0b, 0xe2, 0x46, 0xfa, 0x3c, 0x58, 0x90, 0xe0,
  1980. 0xf7, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x97, 0xd2, 0xcf, 0x0f, 0x19, 0x00, 0x00,
  1981. }