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.
 
 
 

2359 lines
96 KiB

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