1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0 18// protoc v3.13.0 19// source: google/cloud/dataproc/v1beta2/autoscaling_policies.proto 20 21package dataproc 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 grpc "google.golang.org/grpc" 31 codes "google.golang.org/grpc/codes" 32 status "google.golang.org/grpc/status" 33 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 34 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 35 durationpb "google.golang.org/protobuf/types/known/durationpb" 36 emptypb "google.golang.org/protobuf/types/known/emptypb" 37) 38 39const ( 40 // Verify that this generated code is sufficiently up-to-date. 41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 42 // Verify that runtime/protoimpl is sufficiently up-to-date. 43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 44) 45 46// This is a compile-time assertion that a sufficiently up-to-date version 47// of the legacy proto package is being used. 48const _ = proto.ProtoPackageIsVersion4 49 50// Describes an autoscaling policy for Dataproc cluster autoscaler. 51type AutoscalingPolicy struct { 52 state protoimpl.MessageState 53 sizeCache protoimpl.SizeCache 54 unknownFields protoimpl.UnknownFields 55 56 // Required. The policy id. 57 // 58 // The id must contain only letters (a-z, A-Z), numbers (0-9), 59 // underscores (_), and hyphens (-). Cannot begin or end with underscore 60 // or hyphen. Must consist of between 3 and 50 characters. 61 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 62 // Output only. The "resource name" of the autoscaling policy, as described 63 // in https://cloud.google.com/apis/design/resource_names. 64 // 65 // * For `projects.regions.autoscalingPolicies`, the resource name of the 66 // policy has the following format: 67 // `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}` 68 // 69 // * For `projects.locations.autoscalingPolicies`, the resource name of the 70 // policy has the following format: 71 // `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}` 72 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 73 // Required. Autoscaling algorithm for policy. 74 // 75 // Types that are assignable to Algorithm: 76 // *AutoscalingPolicy_BasicAlgorithm 77 Algorithm isAutoscalingPolicy_Algorithm `protobuf_oneof:"algorithm"` 78 // Required. Describes how the autoscaler will operate for primary workers. 79 WorkerConfig *InstanceGroupAutoscalingPolicyConfig `protobuf:"bytes,4,opt,name=worker_config,json=workerConfig,proto3" json:"worker_config,omitempty"` 80 // Optional. Describes how the autoscaler will operate for secondary workers. 81 SecondaryWorkerConfig *InstanceGroupAutoscalingPolicyConfig `protobuf:"bytes,5,opt,name=secondary_worker_config,json=secondaryWorkerConfig,proto3" json:"secondary_worker_config,omitempty"` 82} 83 84func (x *AutoscalingPolicy) Reset() { 85 *x = AutoscalingPolicy{} 86 if protoimpl.UnsafeEnabled { 87 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[0] 88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 89 ms.StoreMessageInfo(mi) 90 } 91} 92 93func (x *AutoscalingPolicy) String() string { 94 return protoimpl.X.MessageStringOf(x) 95} 96 97func (*AutoscalingPolicy) ProtoMessage() {} 98 99func (x *AutoscalingPolicy) ProtoReflect() protoreflect.Message { 100 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[0] 101 if protoimpl.UnsafeEnabled && x != nil { 102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 103 if ms.LoadMessageInfo() == nil { 104 ms.StoreMessageInfo(mi) 105 } 106 return ms 107 } 108 return mi.MessageOf(x) 109} 110 111// Deprecated: Use AutoscalingPolicy.ProtoReflect.Descriptor instead. 112func (*AutoscalingPolicy) Descriptor() ([]byte, []int) { 113 return file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescGZIP(), []int{0} 114} 115 116func (x *AutoscalingPolicy) GetId() string { 117 if x != nil { 118 return x.Id 119 } 120 return "" 121} 122 123func (x *AutoscalingPolicy) GetName() string { 124 if x != nil { 125 return x.Name 126 } 127 return "" 128} 129 130func (m *AutoscalingPolicy) GetAlgorithm() isAutoscalingPolicy_Algorithm { 131 if m != nil { 132 return m.Algorithm 133 } 134 return nil 135} 136 137func (x *AutoscalingPolicy) GetBasicAlgorithm() *BasicAutoscalingAlgorithm { 138 if x, ok := x.GetAlgorithm().(*AutoscalingPolicy_BasicAlgorithm); ok { 139 return x.BasicAlgorithm 140 } 141 return nil 142} 143 144func (x *AutoscalingPolicy) GetWorkerConfig() *InstanceGroupAutoscalingPolicyConfig { 145 if x != nil { 146 return x.WorkerConfig 147 } 148 return nil 149} 150 151func (x *AutoscalingPolicy) GetSecondaryWorkerConfig() *InstanceGroupAutoscalingPolicyConfig { 152 if x != nil { 153 return x.SecondaryWorkerConfig 154 } 155 return nil 156} 157 158type isAutoscalingPolicy_Algorithm interface { 159 isAutoscalingPolicy_Algorithm() 160} 161 162type AutoscalingPolicy_BasicAlgorithm struct { 163 BasicAlgorithm *BasicAutoscalingAlgorithm `protobuf:"bytes,3,opt,name=basic_algorithm,json=basicAlgorithm,proto3,oneof"` 164} 165 166func (*AutoscalingPolicy_BasicAlgorithm) isAutoscalingPolicy_Algorithm() {} 167 168// Basic algorithm for autoscaling. 169type BasicAutoscalingAlgorithm struct { 170 state protoimpl.MessageState 171 sizeCache protoimpl.SizeCache 172 unknownFields protoimpl.UnknownFields 173 174 // Required. YARN autoscaling configuration. 175 YarnConfig *BasicYarnAutoscalingConfig `protobuf:"bytes,1,opt,name=yarn_config,json=yarnConfig,proto3" json:"yarn_config,omitempty"` 176 // Optional. Duration between scaling events. A scaling period starts after 177 // the update operation from the previous event has completed. 178 // 179 // Bounds: [2m, 1d]. Default: 2m. 180 CooldownPeriod *durationpb.Duration `protobuf:"bytes,2,opt,name=cooldown_period,json=cooldownPeriod,proto3" json:"cooldown_period,omitempty"` 181} 182 183func (x *BasicAutoscalingAlgorithm) Reset() { 184 *x = BasicAutoscalingAlgorithm{} 185 if protoimpl.UnsafeEnabled { 186 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[1] 187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 188 ms.StoreMessageInfo(mi) 189 } 190} 191 192func (x *BasicAutoscalingAlgorithm) String() string { 193 return protoimpl.X.MessageStringOf(x) 194} 195 196func (*BasicAutoscalingAlgorithm) ProtoMessage() {} 197 198func (x *BasicAutoscalingAlgorithm) ProtoReflect() protoreflect.Message { 199 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[1] 200 if protoimpl.UnsafeEnabled && x != nil { 201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 202 if ms.LoadMessageInfo() == nil { 203 ms.StoreMessageInfo(mi) 204 } 205 return ms 206 } 207 return mi.MessageOf(x) 208} 209 210// Deprecated: Use BasicAutoscalingAlgorithm.ProtoReflect.Descriptor instead. 211func (*BasicAutoscalingAlgorithm) Descriptor() ([]byte, []int) { 212 return file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescGZIP(), []int{1} 213} 214 215func (x *BasicAutoscalingAlgorithm) GetYarnConfig() *BasicYarnAutoscalingConfig { 216 if x != nil { 217 return x.YarnConfig 218 } 219 return nil 220} 221 222func (x *BasicAutoscalingAlgorithm) GetCooldownPeriod() *durationpb.Duration { 223 if x != nil { 224 return x.CooldownPeriod 225 } 226 return nil 227} 228 229// Basic autoscaling configurations for YARN. 230type BasicYarnAutoscalingConfig struct { 231 state protoimpl.MessageState 232 sizeCache protoimpl.SizeCache 233 unknownFields protoimpl.UnknownFields 234 235 // Required. Timeout for YARN graceful decommissioning of Node Managers. 236 // Specifies the duration to wait for jobs to complete before forcefully 237 // removing workers (and potentially interrupting jobs). Only applicable to 238 // downscaling operations. 239 // 240 // Bounds: [0s, 1d]. 241 GracefulDecommissionTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=graceful_decommission_timeout,json=gracefulDecommissionTimeout,proto3" json:"graceful_decommission_timeout,omitempty"` 242 // Required. Fraction of average YARN pending memory in the last cooldown 243 // period for which to add workers. A scale-up factor of 1.0 will result in 244 // scaling up so that there is no pending memory remaining after the update 245 // (more aggressive scaling). A scale-up factor closer to 0 will result in a 246 // smaller magnitude of scaling up (less aggressive scaling). See [How 247 // autoscaling 248 // works](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works) 249 // for more information. 250 // 251 // Bounds: [0.0, 1.0]. 252 ScaleUpFactor float64 `protobuf:"fixed64,1,opt,name=scale_up_factor,json=scaleUpFactor,proto3" json:"scale_up_factor,omitempty"` 253 // Required. Fraction of average YARN pending memory in the last cooldown 254 // period for which to remove workers. A scale-down factor of 1 will result in 255 // scaling down so that there is no available memory remaining after the 256 // update (more aggressive scaling). A scale-down factor of 0 disables 257 // removing workers, which can be beneficial for autoscaling a single job. 258 // See [How autoscaling 259 // works](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works) 260 // for more information. 261 // 262 // Bounds: [0.0, 1.0]. 263 ScaleDownFactor float64 `protobuf:"fixed64,2,opt,name=scale_down_factor,json=scaleDownFactor,proto3" json:"scale_down_factor,omitempty"` 264 // Optional. Minimum scale-up threshold as a fraction of total cluster size 265 // before scaling occurs. For example, in a 20-worker cluster, a threshold of 266 // 0.1 means the autoscaler must recommend at least a 2-worker scale-up for 267 // the cluster to scale. A threshold of 0 means the autoscaler will scale up 268 // on any recommended change. 269 // 270 // Bounds: [0.0, 1.0]. Default: 0.0. 271 ScaleUpMinWorkerFraction float64 `protobuf:"fixed64,3,opt,name=scale_up_min_worker_fraction,json=scaleUpMinWorkerFraction,proto3" json:"scale_up_min_worker_fraction,omitempty"` 272 // Optional. Minimum scale-down threshold as a fraction of total cluster size 273 // before scaling occurs. For example, in a 20-worker cluster, a threshold of 274 // 0.1 means the autoscaler must recommend at least a 2 worker scale-down for 275 // the cluster to scale. A threshold of 0 means the autoscaler will scale down 276 // on any recommended change. 277 // 278 // Bounds: [0.0, 1.0]. Default: 0.0. 279 ScaleDownMinWorkerFraction float64 `protobuf:"fixed64,4,opt,name=scale_down_min_worker_fraction,json=scaleDownMinWorkerFraction,proto3" json:"scale_down_min_worker_fraction,omitempty"` 280} 281 282func (x *BasicYarnAutoscalingConfig) Reset() { 283 *x = BasicYarnAutoscalingConfig{} 284 if protoimpl.UnsafeEnabled { 285 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[2] 286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 287 ms.StoreMessageInfo(mi) 288 } 289} 290 291func (x *BasicYarnAutoscalingConfig) String() string { 292 return protoimpl.X.MessageStringOf(x) 293} 294 295func (*BasicYarnAutoscalingConfig) ProtoMessage() {} 296 297func (x *BasicYarnAutoscalingConfig) ProtoReflect() protoreflect.Message { 298 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[2] 299 if protoimpl.UnsafeEnabled && x != nil { 300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 301 if ms.LoadMessageInfo() == nil { 302 ms.StoreMessageInfo(mi) 303 } 304 return ms 305 } 306 return mi.MessageOf(x) 307} 308 309// Deprecated: Use BasicYarnAutoscalingConfig.ProtoReflect.Descriptor instead. 310func (*BasicYarnAutoscalingConfig) Descriptor() ([]byte, []int) { 311 return file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescGZIP(), []int{2} 312} 313 314func (x *BasicYarnAutoscalingConfig) GetGracefulDecommissionTimeout() *durationpb.Duration { 315 if x != nil { 316 return x.GracefulDecommissionTimeout 317 } 318 return nil 319} 320 321func (x *BasicYarnAutoscalingConfig) GetScaleUpFactor() float64 { 322 if x != nil { 323 return x.ScaleUpFactor 324 } 325 return 0 326} 327 328func (x *BasicYarnAutoscalingConfig) GetScaleDownFactor() float64 { 329 if x != nil { 330 return x.ScaleDownFactor 331 } 332 return 0 333} 334 335func (x *BasicYarnAutoscalingConfig) GetScaleUpMinWorkerFraction() float64 { 336 if x != nil { 337 return x.ScaleUpMinWorkerFraction 338 } 339 return 0 340} 341 342func (x *BasicYarnAutoscalingConfig) GetScaleDownMinWorkerFraction() float64 { 343 if x != nil { 344 return x.ScaleDownMinWorkerFraction 345 } 346 return 0 347} 348 349// Configuration for the size bounds of an instance group, including its 350// proportional size to other groups. 351type InstanceGroupAutoscalingPolicyConfig struct { 352 state protoimpl.MessageState 353 sizeCache protoimpl.SizeCache 354 unknownFields protoimpl.UnknownFields 355 356 // Optional. Minimum number of instances for this group. 357 // 358 // Primary workers - Bounds: [2, max_instances]. Default: 2. 359 // Secondary workers - Bounds: [0, max_instances]. Default: 0. 360 MinInstances int32 `protobuf:"varint,1,opt,name=min_instances,json=minInstances,proto3" json:"min_instances,omitempty"` 361 // Optional. Maximum number of instances for this group. Required for primary 362 // workers. Note that by default, clusters will not use secondary workers. 363 // Required for secondary workers if the minimum secondary instances is set. 364 // 365 // Primary workers - Bounds: [min_instances, ). Required. 366 // Secondary workers - Bounds: [min_instances, ). Default: 0. 367 MaxInstances int32 `protobuf:"varint,2,opt,name=max_instances,json=maxInstances,proto3" json:"max_instances,omitempty"` 368 // Optional. Weight for the instance group, which is used to determine the 369 // fraction of total workers in the cluster from this instance group. 370 // For example, if primary workers have weight 2, and secondary workers have 371 // weight 1, the cluster will have approximately 2 primary workers for each 372 // secondary worker. 373 // 374 // The cluster may not reach the specified balance if constrained 375 // by min/max bounds or other autoscaling settings. For example, if 376 // `max_instances` for secondary workers is 0, then only primary workers will 377 // be added. The cluster can also be out of balance when created. 378 // 379 // If weight is not set on any instance group, the cluster will default to 380 // equal weight for all groups: the cluster will attempt to maintain an equal 381 // number of workers in each group within the configured size bounds for each 382 // group. If weight is set for one group only, the cluster will default to 383 // zero weight on the unset group. For example if weight is set only on 384 // primary workers, the cluster will use primary workers only and no 385 // secondary workers. 386 Weight int32 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"` 387} 388 389func (x *InstanceGroupAutoscalingPolicyConfig) Reset() { 390 *x = InstanceGroupAutoscalingPolicyConfig{} 391 if protoimpl.UnsafeEnabled { 392 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[3] 393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 394 ms.StoreMessageInfo(mi) 395 } 396} 397 398func (x *InstanceGroupAutoscalingPolicyConfig) String() string { 399 return protoimpl.X.MessageStringOf(x) 400} 401 402func (*InstanceGroupAutoscalingPolicyConfig) ProtoMessage() {} 403 404func (x *InstanceGroupAutoscalingPolicyConfig) ProtoReflect() protoreflect.Message { 405 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[3] 406 if protoimpl.UnsafeEnabled && x != nil { 407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 408 if ms.LoadMessageInfo() == nil { 409 ms.StoreMessageInfo(mi) 410 } 411 return ms 412 } 413 return mi.MessageOf(x) 414} 415 416// Deprecated: Use InstanceGroupAutoscalingPolicyConfig.ProtoReflect.Descriptor instead. 417func (*InstanceGroupAutoscalingPolicyConfig) Descriptor() ([]byte, []int) { 418 return file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescGZIP(), []int{3} 419} 420 421func (x *InstanceGroupAutoscalingPolicyConfig) GetMinInstances() int32 { 422 if x != nil { 423 return x.MinInstances 424 } 425 return 0 426} 427 428func (x *InstanceGroupAutoscalingPolicyConfig) GetMaxInstances() int32 { 429 if x != nil { 430 return x.MaxInstances 431 } 432 return 0 433} 434 435func (x *InstanceGroupAutoscalingPolicyConfig) GetWeight() int32 { 436 if x != nil { 437 return x.Weight 438 } 439 return 0 440} 441 442// A request to create an autoscaling policy. 443type CreateAutoscalingPolicyRequest struct { 444 state protoimpl.MessageState 445 sizeCache protoimpl.SizeCache 446 unknownFields protoimpl.UnknownFields 447 448 // Required. The "resource name" of the region or location, as described 449 // in https://cloud.google.com/apis/design/resource_names. 450 // 451 // * For `projects.regions.autoscalingPolicies.create`, the resource name 452 // has the following format: 453 // `projects/{project_id}/regions/{region}` 454 // 455 // * For `projects.locations.autoscalingPolicies.create`, the resource name 456 // has the following format: 457 // `projects/{project_id}/locations/{location}` 458 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 459 // Required. The autoscaling policy to create. 460 Policy *AutoscalingPolicy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"` 461} 462 463func (x *CreateAutoscalingPolicyRequest) Reset() { 464 *x = CreateAutoscalingPolicyRequest{} 465 if protoimpl.UnsafeEnabled { 466 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[4] 467 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 468 ms.StoreMessageInfo(mi) 469 } 470} 471 472func (x *CreateAutoscalingPolicyRequest) String() string { 473 return protoimpl.X.MessageStringOf(x) 474} 475 476func (*CreateAutoscalingPolicyRequest) ProtoMessage() {} 477 478func (x *CreateAutoscalingPolicyRequest) ProtoReflect() protoreflect.Message { 479 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[4] 480 if protoimpl.UnsafeEnabled && x != nil { 481 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 482 if ms.LoadMessageInfo() == nil { 483 ms.StoreMessageInfo(mi) 484 } 485 return ms 486 } 487 return mi.MessageOf(x) 488} 489 490// Deprecated: Use CreateAutoscalingPolicyRequest.ProtoReflect.Descriptor instead. 491func (*CreateAutoscalingPolicyRequest) Descriptor() ([]byte, []int) { 492 return file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescGZIP(), []int{4} 493} 494 495func (x *CreateAutoscalingPolicyRequest) GetParent() string { 496 if x != nil { 497 return x.Parent 498 } 499 return "" 500} 501 502func (x *CreateAutoscalingPolicyRequest) GetPolicy() *AutoscalingPolicy { 503 if x != nil { 504 return x.Policy 505 } 506 return nil 507} 508 509// A request to fetch an autoscaling policy. 510type GetAutoscalingPolicyRequest struct { 511 state protoimpl.MessageState 512 sizeCache protoimpl.SizeCache 513 unknownFields protoimpl.UnknownFields 514 515 // Required. The "resource name" of the autoscaling policy, as described 516 // in https://cloud.google.com/apis/design/resource_names. 517 // 518 // * For `projects.regions.autoscalingPolicies.get`, the resource name 519 // of the policy has the following format: 520 // `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}` 521 // 522 // * For `projects.locations.autoscalingPolicies.get`, the resource name 523 // of the policy has the following format: 524 // `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}` 525 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 526} 527 528func (x *GetAutoscalingPolicyRequest) Reset() { 529 *x = GetAutoscalingPolicyRequest{} 530 if protoimpl.UnsafeEnabled { 531 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[5] 532 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 533 ms.StoreMessageInfo(mi) 534 } 535} 536 537func (x *GetAutoscalingPolicyRequest) String() string { 538 return protoimpl.X.MessageStringOf(x) 539} 540 541func (*GetAutoscalingPolicyRequest) ProtoMessage() {} 542 543func (x *GetAutoscalingPolicyRequest) ProtoReflect() protoreflect.Message { 544 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[5] 545 if protoimpl.UnsafeEnabled && x != nil { 546 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 547 if ms.LoadMessageInfo() == nil { 548 ms.StoreMessageInfo(mi) 549 } 550 return ms 551 } 552 return mi.MessageOf(x) 553} 554 555// Deprecated: Use GetAutoscalingPolicyRequest.ProtoReflect.Descriptor instead. 556func (*GetAutoscalingPolicyRequest) Descriptor() ([]byte, []int) { 557 return file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescGZIP(), []int{5} 558} 559 560func (x *GetAutoscalingPolicyRequest) GetName() string { 561 if x != nil { 562 return x.Name 563 } 564 return "" 565} 566 567// A request to update an autoscaling policy. 568type UpdateAutoscalingPolicyRequest struct { 569 state protoimpl.MessageState 570 sizeCache protoimpl.SizeCache 571 unknownFields protoimpl.UnknownFields 572 573 // Required. The updated autoscaling policy. 574 Policy *AutoscalingPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` 575} 576 577func (x *UpdateAutoscalingPolicyRequest) Reset() { 578 *x = UpdateAutoscalingPolicyRequest{} 579 if protoimpl.UnsafeEnabled { 580 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[6] 581 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 582 ms.StoreMessageInfo(mi) 583 } 584} 585 586func (x *UpdateAutoscalingPolicyRequest) String() string { 587 return protoimpl.X.MessageStringOf(x) 588} 589 590func (*UpdateAutoscalingPolicyRequest) ProtoMessage() {} 591 592func (x *UpdateAutoscalingPolicyRequest) ProtoReflect() protoreflect.Message { 593 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[6] 594 if protoimpl.UnsafeEnabled && x != nil { 595 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 596 if ms.LoadMessageInfo() == nil { 597 ms.StoreMessageInfo(mi) 598 } 599 return ms 600 } 601 return mi.MessageOf(x) 602} 603 604// Deprecated: Use UpdateAutoscalingPolicyRequest.ProtoReflect.Descriptor instead. 605func (*UpdateAutoscalingPolicyRequest) Descriptor() ([]byte, []int) { 606 return file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescGZIP(), []int{6} 607} 608 609func (x *UpdateAutoscalingPolicyRequest) GetPolicy() *AutoscalingPolicy { 610 if x != nil { 611 return x.Policy 612 } 613 return nil 614} 615 616// A request to delete an autoscaling policy. 617// 618// Autoscaling policies in use by one or more clusters will not be deleted. 619type DeleteAutoscalingPolicyRequest struct { 620 state protoimpl.MessageState 621 sizeCache protoimpl.SizeCache 622 unknownFields protoimpl.UnknownFields 623 624 // Required. The "resource name" of the autoscaling policy, as described 625 // in https://cloud.google.com/apis/design/resource_names. 626 // 627 // * For `projects.regions.autoscalingPolicies.delete`, the resource name 628 // of the policy has the following format: 629 // `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}` 630 // 631 // * For `projects.locations.autoscalingPolicies.delete`, the resource name 632 // of the policy has the following format: 633 // `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}` 634 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 635} 636 637func (x *DeleteAutoscalingPolicyRequest) Reset() { 638 *x = DeleteAutoscalingPolicyRequest{} 639 if protoimpl.UnsafeEnabled { 640 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[7] 641 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 642 ms.StoreMessageInfo(mi) 643 } 644} 645 646func (x *DeleteAutoscalingPolicyRequest) String() string { 647 return protoimpl.X.MessageStringOf(x) 648} 649 650func (*DeleteAutoscalingPolicyRequest) ProtoMessage() {} 651 652func (x *DeleteAutoscalingPolicyRequest) ProtoReflect() protoreflect.Message { 653 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[7] 654 if protoimpl.UnsafeEnabled && x != nil { 655 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 656 if ms.LoadMessageInfo() == nil { 657 ms.StoreMessageInfo(mi) 658 } 659 return ms 660 } 661 return mi.MessageOf(x) 662} 663 664// Deprecated: Use DeleteAutoscalingPolicyRequest.ProtoReflect.Descriptor instead. 665func (*DeleteAutoscalingPolicyRequest) Descriptor() ([]byte, []int) { 666 return file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescGZIP(), []int{7} 667} 668 669func (x *DeleteAutoscalingPolicyRequest) GetName() string { 670 if x != nil { 671 return x.Name 672 } 673 return "" 674} 675 676// A request to list autoscaling policies in a project. 677type ListAutoscalingPoliciesRequest struct { 678 state protoimpl.MessageState 679 sizeCache protoimpl.SizeCache 680 unknownFields protoimpl.UnknownFields 681 682 // Required. The "resource name" of the region or location, as described 683 // in https://cloud.google.com/apis/design/resource_names. 684 // 685 // * For `projects.regions.autoscalingPolicies.list`, the resource name 686 // of the region has the following format: 687 // `projects/{project_id}/regions/{region}` 688 // 689 // * For `projects.locations.autoscalingPolicies.list`, the resource name 690 // of the location has the following format: 691 // `projects/{project_id}/locations/{location}` 692 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 693 // Optional. The maximum number of results to return in each response. 694 // Must be less than or equal to 1000. Defaults to 100. 695 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 696 // Optional. The page token, returned by a previous call, to request the 697 // next page of results. 698 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 699} 700 701func (x *ListAutoscalingPoliciesRequest) Reset() { 702 *x = ListAutoscalingPoliciesRequest{} 703 if protoimpl.UnsafeEnabled { 704 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[8] 705 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 706 ms.StoreMessageInfo(mi) 707 } 708} 709 710func (x *ListAutoscalingPoliciesRequest) String() string { 711 return protoimpl.X.MessageStringOf(x) 712} 713 714func (*ListAutoscalingPoliciesRequest) ProtoMessage() {} 715 716func (x *ListAutoscalingPoliciesRequest) ProtoReflect() protoreflect.Message { 717 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[8] 718 if protoimpl.UnsafeEnabled && x != nil { 719 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 720 if ms.LoadMessageInfo() == nil { 721 ms.StoreMessageInfo(mi) 722 } 723 return ms 724 } 725 return mi.MessageOf(x) 726} 727 728// Deprecated: Use ListAutoscalingPoliciesRequest.ProtoReflect.Descriptor instead. 729func (*ListAutoscalingPoliciesRequest) Descriptor() ([]byte, []int) { 730 return file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescGZIP(), []int{8} 731} 732 733func (x *ListAutoscalingPoliciesRequest) GetParent() string { 734 if x != nil { 735 return x.Parent 736 } 737 return "" 738} 739 740func (x *ListAutoscalingPoliciesRequest) GetPageSize() int32 { 741 if x != nil { 742 return x.PageSize 743 } 744 return 0 745} 746 747func (x *ListAutoscalingPoliciesRequest) GetPageToken() string { 748 if x != nil { 749 return x.PageToken 750 } 751 return "" 752} 753 754// A response to a request to list autoscaling policies in a project. 755type ListAutoscalingPoliciesResponse struct { 756 state protoimpl.MessageState 757 sizeCache protoimpl.SizeCache 758 unknownFields protoimpl.UnknownFields 759 760 // Output only. Autoscaling policies list. 761 Policies []*AutoscalingPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` 762 // Output only. This token is included in the response if there are more 763 // results to fetch. 764 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 765} 766 767func (x *ListAutoscalingPoliciesResponse) Reset() { 768 *x = ListAutoscalingPoliciesResponse{} 769 if protoimpl.UnsafeEnabled { 770 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[9] 771 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 772 ms.StoreMessageInfo(mi) 773 } 774} 775 776func (x *ListAutoscalingPoliciesResponse) String() string { 777 return protoimpl.X.MessageStringOf(x) 778} 779 780func (*ListAutoscalingPoliciesResponse) ProtoMessage() {} 781 782func (x *ListAutoscalingPoliciesResponse) ProtoReflect() protoreflect.Message { 783 mi := &file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[9] 784 if protoimpl.UnsafeEnabled && x != nil { 785 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 786 if ms.LoadMessageInfo() == nil { 787 ms.StoreMessageInfo(mi) 788 } 789 return ms 790 } 791 return mi.MessageOf(x) 792} 793 794// Deprecated: Use ListAutoscalingPoliciesResponse.ProtoReflect.Descriptor instead. 795func (*ListAutoscalingPoliciesResponse) Descriptor() ([]byte, []int) { 796 return file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescGZIP(), []int{9} 797} 798 799func (x *ListAutoscalingPoliciesResponse) GetPolicies() []*AutoscalingPolicy { 800 if x != nil { 801 return x.Policies 802 } 803 return nil 804} 805 806func (x *ListAutoscalingPoliciesResponse) GetNextPageToken() string { 807 if x != nil { 808 return x.NextPageToken 809 } 810 return "" 811} 812 813var File_google_cloud_dataproc_v1beta2_autoscaling_policies_proto protoreflect.FileDescriptor 814 815var file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDesc = []byte{ 816 0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 817 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 818 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 819 0x63, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 820 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 821 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 822 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 823 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 824 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 825 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 826 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 827 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 828 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 829 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 830 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 831 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 832 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf9, 0x04, 0x0a, 0x11, 0x41, 0x75, 833 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 834 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 835 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 836 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x63, 0x0a, 837 0x0f, 0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 838 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 839 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 840 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x6f, 841 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 842 0x48, 0x00, 0x52, 0x0e, 0x62, 0x61, 0x73, 0x69, 0x63, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 843 0x68, 0x6d, 0x12, 0x6d, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 844 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 845 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 846 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 847 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 848 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 849 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 850 0x67, 0x12, 0x80, 0x01, 0x0a, 0x17, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 851 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 852 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 853 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 854 0x74, 0x61, 0x32, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 855 0x70, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 856 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x15, 0x73, 857 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x43, 0x6f, 858 0x6e, 0x66, 0x69, 0x67, 0x3a, 0xd1, 0x01, 0xea, 0x41, 0xcd, 0x01, 0x0a, 0x29, 0x64, 0x61, 0x74, 859 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 860 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 861 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x50, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 862 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 863 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 864 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 865 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 866 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x12, 0x4c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 867 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 868 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x75, 869 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 870 0x73, 0x2f, 0x7b, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x70, 871 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x20, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x61, 0x6c, 0x67, 0x6f, 872 0x72, 0x69, 0x74, 0x68, 0x6d, 0x22, 0xc5, 0x01, 0x0a, 0x19, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 873 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 874 0x74, 0x68, 0x6d, 0x12, 0x5f, 0x0a, 0x0b, 0x79, 0x61, 0x72, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 875 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 876 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 877 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x42, 0x61, 0x73, 0x69, 0x63, 0x59, 0x61, 878 0x72, 0x6e, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 879 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x79, 0x61, 0x72, 0x6e, 0x43, 0x6f, 880 0x6e, 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a, 0x0f, 0x63, 0x6f, 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, 881 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 882 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 883 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x63, 884 0x6f, 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x22, 0xec, 0x02, 885 0x0a, 0x1a, 0x42, 0x61, 0x73, 0x69, 0x63, 0x59, 0x61, 0x72, 0x6e, 0x41, 0x75, 0x74, 0x6f, 0x73, 886 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x62, 0x0a, 0x1d, 887 0x67, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x5f, 0x64, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 888 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 889 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 890 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 891 0xe0, 0x41, 0x02, 0x52, 0x1b, 0x67, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x44, 0x65, 0x63, 892 0x6f, 0x6d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 893 0x12, 0x2b, 0x0a, 0x0f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x5f, 0x75, 0x70, 0x5f, 0x66, 0x61, 0x63, 894 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 895 0x73, 0x63, 0x61, 0x6c, 0x65, 0x55, 0x70, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x2f, 0x0a, 896 0x11, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, 897 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x73, 898 0x63, 0x61, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x43, 899 0x0a, 0x1c, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x5f, 0x75, 0x70, 0x5f, 0x6d, 0x69, 0x6e, 0x5f, 0x77, 900 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x66, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 901 0x20, 0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x18, 0x73, 0x63, 0x61, 0x6c, 0x65, 902 0x55, 0x70, 0x4d, 0x69, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x46, 0x72, 0x61, 0x63, 0x74, 903 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x1e, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x5f, 0x64, 0x6f, 0x77, 904 0x6e, 0x5f, 0x6d, 0x69, 0x6e, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x66, 0x72, 0x61, 905 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, 0x41, 0x01, 906 0x52, 0x1a, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x4d, 0x69, 0x6e, 0x57, 0x6f, 907 0x72, 0x6b, 0x65, 0x72, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x97, 0x01, 0x0a, 908 0x24, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x75, 909 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 910 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x5f, 0x69, 0x6e, 0x73, 911 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 912 0x01, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 913 0x28, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 914 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x6d, 0x61, 0x78, 915 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x77, 0x65, 0x69, 916 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 917 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xba, 0x01, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 918 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 919 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x06, 0x70, 0x61, 0x72, 920 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xe0, 0x41, 0x02, 0xfa, 0x41, 921 0x2b, 0x12, 0x29, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 922 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x75, 0x74, 0x6f, 0x73, 923 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x61, 924 0x72, 0x65, 0x6e, 0x74, 0x12, 0x4d, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 925 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 926 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 927 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 928 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x6f, 0x6c, 929 0x69, 0x63, 0x79, 0x22, 0x64, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 930 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 931 0x73, 0x74, 0x12, 0x45, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 932 0x42, 0x31, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2b, 0x0a, 0x29, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 933 0x6f, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 934 0x6d, 0x2f, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 935 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6f, 0x0a, 0x1e, 0x55, 0x70, 0x64, 936 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 937 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x06, 0x70, 938 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 939 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 940 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x74, 0x6f, 941 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 942 0x41, 0x02, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x67, 0x0a, 0x1e, 0x44, 0x65, 943 0x6c, 0x65, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 944 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x04, 945 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xe0, 0x41, 0x02, 0xfa, 946 0x41, 0x2b, 0x0a, 0x29, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 947 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x75, 0x74, 0x6f, 948 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 949 0x61, 0x6d, 0x65, 0x22, 0xb1, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x6f, 950 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 951 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 952 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2b, 0x12, 0x29, 953 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 954 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 955 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 956 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 957 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 958 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 959 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 960 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa1, 0x01, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 961 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 962 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x08, 0x70, 963 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 964 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 965 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x75, 966 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 967 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2b, 968 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 969 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x6e, 0x65, 970 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0x8f, 0x0c, 0x0a, 0x18, 971 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 972 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb0, 0x02, 0x0a, 0x17, 0x43, 0x72, 0x65, 973 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 974 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 975 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 976 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 977 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 978 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 979 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 980 0x74, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 981 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0xa3, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x8c, 0x01, 0x22, 982 0x3c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 983 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 984 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 985 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x3a, 0x06, 0x70, 986 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5a, 0x44, 0x22, 0x3a, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 987 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 988 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 989 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 990 0x69, 0x65, 0x73, 0x3a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0xda, 0x41, 0x0d, 0x70, 0x61, 991 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xb7, 0x02, 0x0a, 0x17, 992 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 993 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 994 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 995 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 996 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 997 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 998 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 999 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 1000 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0xaa, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 1001 0x9a, 0x01, 0x1a, 0x43, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70, 0x6f, 1002 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 1003 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 1004 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 1005 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5a, 1006 0x4b, 0x1a, 0x41, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70, 0x6f, 0x6c, 1007 0x69, 0x63, 0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 1008 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x75, 1009 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 1010 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0xda, 0x41, 0x06, 0x70, 1011 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x90, 0x02, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 1012 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3a, 1013 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 1014 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 1015 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 1016 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 1017 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 1018 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x73, 1019 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x89, 0x01, 0x82, 1020 0xd3, 0xe4, 0x93, 0x02, 0x7c, 0x12, 0x3c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 1021 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 1022 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x75, 0x74, 1023 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 1024 0x2f, 0x2a, 0x7d, 0x5a, 0x3c, 0x12, 0x3a, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 1025 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 1026 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 1027 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 1028 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xa6, 0x02, 0x0a, 0x17, 0x4c, 0x69, 0x73, 1029 0x74, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 1030 0x63, 0x69, 0x65, 0x73, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1031 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 1032 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 1033 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 1034 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1035 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 1036 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 1037 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 1038 0x6e, 0x73, 0x65, 0x22, 0x8b, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x7c, 0x12, 0x3c, 0x2f, 0x76, 1039 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 1040 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 1041 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 1042 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5a, 0x3c, 0x12, 0x3a, 0x2f, 0x76, 1043 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 1044 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 1045 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 1046 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 1047 0x74, 0x12, 0xfc, 0x01, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 1048 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3d, 0x2e, 1049 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 1050 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x65, 1051 0x6c, 0x65, 0x74, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 1052 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 1053 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 1054 0x6d, 0x70, 0x74, 0x79, 0x22, 0x89, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x7c, 0x2a, 0x3c, 0x2f, 1055 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 1056 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 1057 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 1058 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x5a, 0x3c, 0x2a, 0x3a, 0x2f, 1059 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 1060 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 1061 0x2f, 0x2a, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 1062 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1063 0x1a, 0x4b, 0xca, 0x41, 0x17, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x67, 0x6f, 1064 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 1065 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1066 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 1067 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xce, 0x01, 1068 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1069 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 1070 0x74, 0x61, 0x32, 0x42, 0x18, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 1071 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 1072 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 1073 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 1074 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x61, 0x74, 1075 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x3b, 0x64, 0x61, 1076 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0xea, 0x41, 0x45, 0x0a, 0x1e, 0x64, 0x61, 0x74, 0x61, 0x70, 1077 0x72, 0x6f, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1078 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x70, 0x72, 0x6f, 0x6a, 0x65, 1079 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 1080 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x62, 0x06, 1081 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1082} 1083 1084var ( 1085 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescOnce sync.Once 1086 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescData = file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDesc 1087) 1088 1089func file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescGZIP() []byte { 1090 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescOnce.Do(func() { 1091 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescData) 1092 }) 1093 return file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDescData 1094} 1095 1096var file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 1097var file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_goTypes = []interface{}{ 1098 (*AutoscalingPolicy)(nil), // 0: google.cloud.dataproc.v1beta2.AutoscalingPolicy 1099 (*BasicAutoscalingAlgorithm)(nil), // 1: google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm 1100 (*BasicYarnAutoscalingConfig)(nil), // 2: google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig 1101 (*InstanceGroupAutoscalingPolicyConfig)(nil), // 3: google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig 1102 (*CreateAutoscalingPolicyRequest)(nil), // 4: google.cloud.dataproc.v1beta2.CreateAutoscalingPolicyRequest 1103 (*GetAutoscalingPolicyRequest)(nil), // 5: google.cloud.dataproc.v1beta2.GetAutoscalingPolicyRequest 1104 (*UpdateAutoscalingPolicyRequest)(nil), // 6: google.cloud.dataproc.v1beta2.UpdateAutoscalingPolicyRequest 1105 (*DeleteAutoscalingPolicyRequest)(nil), // 7: google.cloud.dataproc.v1beta2.DeleteAutoscalingPolicyRequest 1106 (*ListAutoscalingPoliciesRequest)(nil), // 8: google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesRequest 1107 (*ListAutoscalingPoliciesResponse)(nil), // 9: google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse 1108 (*durationpb.Duration)(nil), // 10: google.protobuf.Duration 1109 (*emptypb.Empty)(nil), // 11: google.protobuf.Empty 1110} 1111var file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_depIdxs = []int32{ 1112 1, // 0: google.cloud.dataproc.v1beta2.AutoscalingPolicy.basic_algorithm:type_name -> google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm 1113 3, // 1: google.cloud.dataproc.v1beta2.AutoscalingPolicy.worker_config:type_name -> google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig 1114 3, // 2: google.cloud.dataproc.v1beta2.AutoscalingPolicy.secondary_worker_config:type_name -> google.cloud.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfig 1115 2, // 3: google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm.yarn_config:type_name -> google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig 1116 10, // 4: google.cloud.dataproc.v1beta2.BasicAutoscalingAlgorithm.cooldown_period:type_name -> google.protobuf.Duration 1117 10, // 5: google.cloud.dataproc.v1beta2.BasicYarnAutoscalingConfig.graceful_decommission_timeout:type_name -> google.protobuf.Duration 1118 0, // 6: google.cloud.dataproc.v1beta2.CreateAutoscalingPolicyRequest.policy:type_name -> google.cloud.dataproc.v1beta2.AutoscalingPolicy 1119 0, // 7: google.cloud.dataproc.v1beta2.UpdateAutoscalingPolicyRequest.policy:type_name -> google.cloud.dataproc.v1beta2.AutoscalingPolicy 1120 0, // 8: google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse.policies:type_name -> google.cloud.dataproc.v1beta2.AutoscalingPolicy 1121 4, // 9: google.cloud.dataproc.v1beta2.AutoscalingPolicyService.CreateAutoscalingPolicy:input_type -> google.cloud.dataproc.v1beta2.CreateAutoscalingPolicyRequest 1122 6, // 10: google.cloud.dataproc.v1beta2.AutoscalingPolicyService.UpdateAutoscalingPolicy:input_type -> google.cloud.dataproc.v1beta2.UpdateAutoscalingPolicyRequest 1123 5, // 11: google.cloud.dataproc.v1beta2.AutoscalingPolicyService.GetAutoscalingPolicy:input_type -> google.cloud.dataproc.v1beta2.GetAutoscalingPolicyRequest 1124 8, // 12: google.cloud.dataproc.v1beta2.AutoscalingPolicyService.ListAutoscalingPolicies:input_type -> google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesRequest 1125 7, // 13: google.cloud.dataproc.v1beta2.AutoscalingPolicyService.DeleteAutoscalingPolicy:input_type -> google.cloud.dataproc.v1beta2.DeleteAutoscalingPolicyRequest 1126 0, // 14: google.cloud.dataproc.v1beta2.AutoscalingPolicyService.CreateAutoscalingPolicy:output_type -> google.cloud.dataproc.v1beta2.AutoscalingPolicy 1127 0, // 15: google.cloud.dataproc.v1beta2.AutoscalingPolicyService.UpdateAutoscalingPolicy:output_type -> google.cloud.dataproc.v1beta2.AutoscalingPolicy 1128 0, // 16: google.cloud.dataproc.v1beta2.AutoscalingPolicyService.GetAutoscalingPolicy:output_type -> google.cloud.dataproc.v1beta2.AutoscalingPolicy 1129 9, // 17: google.cloud.dataproc.v1beta2.AutoscalingPolicyService.ListAutoscalingPolicies:output_type -> google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse 1130 11, // 18: google.cloud.dataproc.v1beta2.AutoscalingPolicyService.DeleteAutoscalingPolicy:output_type -> google.protobuf.Empty 1131 14, // [14:19] is the sub-list for method output_type 1132 9, // [9:14] is the sub-list for method input_type 1133 9, // [9:9] is the sub-list for extension type_name 1134 9, // [9:9] is the sub-list for extension extendee 1135 0, // [0:9] is the sub-list for field type_name 1136} 1137 1138func init() { file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_init() } 1139func file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_init() { 1140 if File_google_cloud_dataproc_v1beta2_autoscaling_policies_proto != nil { 1141 return 1142 } 1143 if !protoimpl.UnsafeEnabled { 1144 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1145 switch v := v.(*AutoscalingPolicy); i { 1146 case 0: 1147 return &v.state 1148 case 1: 1149 return &v.sizeCache 1150 case 2: 1151 return &v.unknownFields 1152 default: 1153 return nil 1154 } 1155 } 1156 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1157 switch v := v.(*BasicAutoscalingAlgorithm); i { 1158 case 0: 1159 return &v.state 1160 case 1: 1161 return &v.sizeCache 1162 case 2: 1163 return &v.unknownFields 1164 default: 1165 return nil 1166 } 1167 } 1168 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1169 switch v := v.(*BasicYarnAutoscalingConfig); i { 1170 case 0: 1171 return &v.state 1172 case 1: 1173 return &v.sizeCache 1174 case 2: 1175 return &v.unknownFields 1176 default: 1177 return nil 1178 } 1179 } 1180 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1181 switch v := v.(*InstanceGroupAutoscalingPolicyConfig); i { 1182 case 0: 1183 return &v.state 1184 case 1: 1185 return &v.sizeCache 1186 case 2: 1187 return &v.unknownFields 1188 default: 1189 return nil 1190 } 1191 } 1192 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1193 switch v := v.(*CreateAutoscalingPolicyRequest); i { 1194 case 0: 1195 return &v.state 1196 case 1: 1197 return &v.sizeCache 1198 case 2: 1199 return &v.unknownFields 1200 default: 1201 return nil 1202 } 1203 } 1204 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1205 switch v := v.(*GetAutoscalingPolicyRequest); i { 1206 case 0: 1207 return &v.state 1208 case 1: 1209 return &v.sizeCache 1210 case 2: 1211 return &v.unknownFields 1212 default: 1213 return nil 1214 } 1215 } 1216 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1217 switch v := v.(*UpdateAutoscalingPolicyRequest); i { 1218 case 0: 1219 return &v.state 1220 case 1: 1221 return &v.sizeCache 1222 case 2: 1223 return &v.unknownFields 1224 default: 1225 return nil 1226 } 1227 } 1228 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1229 switch v := v.(*DeleteAutoscalingPolicyRequest); i { 1230 case 0: 1231 return &v.state 1232 case 1: 1233 return &v.sizeCache 1234 case 2: 1235 return &v.unknownFields 1236 default: 1237 return nil 1238 } 1239 } 1240 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1241 switch v := v.(*ListAutoscalingPoliciesRequest); i { 1242 case 0: 1243 return &v.state 1244 case 1: 1245 return &v.sizeCache 1246 case 2: 1247 return &v.unknownFields 1248 default: 1249 return nil 1250 } 1251 } 1252 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1253 switch v := v.(*ListAutoscalingPoliciesResponse); i { 1254 case 0: 1255 return &v.state 1256 case 1: 1257 return &v.sizeCache 1258 case 2: 1259 return &v.unknownFields 1260 default: 1261 return nil 1262 } 1263 } 1264 } 1265 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes[0].OneofWrappers = []interface{}{ 1266 (*AutoscalingPolicy_BasicAlgorithm)(nil), 1267 } 1268 type x struct{} 1269 out := protoimpl.TypeBuilder{ 1270 File: protoimpl.DescBuilder{ 1271 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1272 RawDescriptor: file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDesc, 1273 NumEnums: 0, 1274 NumMessages: 10, 1275 NumExtensions: 0, 1276 NumServices: 1, 1277 }, 1278 GoTypes: file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_goTypes, 1279 DependencyIndexes: file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_depIdxs, 1280 MessageInfos: file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_msgTypes, 1281 }.Build() 1282 File_google_cloud_dataproc_v1beta2_autoscaling_policies_proto = out.File 1283 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_rawDesc = nil 1284 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_goTypes = nil 1285 file_google_cloud_dataproc_v1beta2_autoscaling_policies_proto_depIdxs = nil 1286} 1287 1288// Reference imports to suppress errors if they are not otherwise used. 1289var _ context.Context 1290var _ grpc.ClientConnInterface 1291 1292// This is a compile-time assertion to ensure that this generated file 1293// is compatible with the grpc package it is being compiled against. 1294const _ = grpc.SupportPackageIsVersion6 1295 1296// AutoscalingPolicyServiceClient is the client API for AutoscalingPolicyService service. 1297// 1298// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1299type AutoscalingPolicyServiceClient interface { 1300 // Creates new autoscaling policy. 1301 CreateAutoscalingPolicy(ctx context.Context, in *CreateAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) 1302 // Updates (replaces) autoscaling policy. 1303 // 1304 // Disabled check for update_mask, because all updates will be full 1305 // replacements. 1306 UpdateAutoscalingPolicy(ctx context.Context, in *UpdateAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) 1307 // Retrieves autoscaling policy. 1308 GetAutoscalingPolicy(ctx context.Context, in *GetAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) 1309 // Lists autoscaling policies in the project. 1310 ListAutoscalingPolicies(ctx context.Context, in *ListAutoscalingPoliciesRequest, opts ...grpc.CallOption) (*ListAutoscalingPoliciesResponse, error) 1311 // Deletes an autoscaling policy. It is an error to delete an autoscaling 1312 // policy that is in use by one or more clusters. 1313 DeleteAutoscalingPolicy(ctx context.Context, in *DeleteAutoscalingPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1314} 1315 1316type autoscalingPolicyServiceClient struct { 1317 cc grpc.ClientConnInterface 1318} 1319 1320func NewAutoscalingPolicyServiceClient(cc grpc.ClientConnInterface) AutoscalingPolicyServiceClient { 1321 return &autoscalingPolicyServiceClient{cc} 1322} 1323 1324func (c *autoscalingPolicyServiceClient) CreateAutoscalingPolicy(ctx context.Context, in *CreateAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) { 1325 out := new(AutoscalingPolicy) 1326 err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/CreateAutoscalingPolicy", in, out, opts...) 1327 if err != nil { 1328 return nil, err 1329 } 1330 return out, nil 1331} 1332 1333func (c *autoscalingPolicyServiceClient) UpdateAutoscalingPolicy(ctx context.Context, in *UpdateAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) { 1334 out := new(AutoscalingPolicy) 1335 err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/UpdateAutoscalingPolicy", in, out, opts...) 1336 if err != nil { 1337 return nil, err 1338 } 1339 return out, nil 1340} 1341 1342func (c *autoscalingPolicyServiceClient) GetAutoscalingPolicy(ctx context.Context, in *GetAutoscalingPolicyRequest, opts ...grpc.CallOption) (*AutoscalingPolicy, error) { 1343 out := new(AutoscalingPolicy) 1344 err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/GetAutoscalingPolicy", in, out, opts...) 1345 if err != nil { 1346 return nil, err 1347 } 1348 return out, nil 1349} 1350 1351func (c *autoscalingPolicyServiceClient) ListAutoscalingPolicies(ctx context.Context, in *ListAutoscalingPoliciesRequest, opts ...grpc.CallOption) (*ListAutoscalingPoliciesResponse, error) { 1352 out := new(ListAutoscalingPoliciesResponse) 1353 err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/ListAutoscalingPolicies", in, out, opts...) 1354 if err != nil { 1355 return nil, err 1356 } 1357 return out, nil 1358} 1359 1360func (c *autoscalingPolicyServiceClient) DeleteAutoscalingPolicy(ctx context.Context, in *DeleteAutoscalingPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1361 out := new(emptypb.Empty) 1362 err := c.cc.Invoke(ctx, "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/DeleteAutoscalingPolicy", in, out, opts...) 1363 if err != nil { 1364 return nil, err 1365 } 1366 return out, nil 1367} 1368 1369// AutoscalingPolicyServiceServer is the server API for AutoscalingPolicyService service. 1370type AutoscalingPolicyServiceServer interface { 1371 // Creates new autoscaling policy. 1372 CreateAutoscalingPolicy(context.Context, *CreateAutoscalingPolicyRequest) (*AutoscalingPolicy, error) 1373 // Updates (replaces) autoscaling policy. 1374 // 1375 // Disabled check for update_mask, because all updates will be full 1376 // replacements. 1377 UpdateAutoscalingPolicy(context.Context, *UpdateAutoscalingPolicyRequest) (*AutoscalingPolicy, error) 1378 // Retrieves autoscaling policy. 1379 GetAutoscalingPolicy(context.Context, *GetAutoscalingPolicyRequest) (*AutoscalingPolicy, error) 1380 // Lists autoscaling policies in the project. 1381 ListAutoscalingPolicies(context.Context, *ListAutoscalingPoliciesRequest) (*ListAutoscalingPoliciesResponse, error) 1382 // Deletes an autoscaling policy. It is an error to delete an autoscaling 1383 // policy that is in use by one or more clusters. 1384 DeleteAutoscalingPolicy(context.Context, *DeleteAutoscalingPolicyRequest) (*emptypb.Empty, error) 1385} 1386 1387// UnimplementedAutoscalingPolicyServiceServer can be embedded to have forward compatible implementations. 1388type UnimplementedAutoscalingPolicyServiceServer struct { 1389} 1390 1391func (*UnimplementedAutoscalingPolicyServiceServer) CreateAutoscalingPolicy(context.Context, *CreateAutoscalingPolicyRequest) (*AutoscalingPolicy, error) { 1392 return nil, status.Errorf(codes.Unimplemented, "method CreateAutoscalingPolicy not implemented") 1393} 1394func (*UnimplementedAutoscalingPolicyServiceServer) UpdateAutoscalingPolicy(context.Context, *UpdateAutoscalingPolicyRequest) (*AutoscalingPolicy, error) { 1395 return nil, status.Errorf(codes.Unimplemented, "method UpdateAutoscalingPolicy not implemented") 1396} 1397func (*UnimplementedAutoscalingPolicyServiceServer) GetAutoscalingPolicy(context.Context, *GetAutoscalingPolicyRequest) (*AutoscalingPolicy, error) { 1398 return nil, status.Errorf(codes.Unimplemented, "method GetAutoscalingPolicy not implemented") 1399} 1400func (*UnimplementedAutoscalingPolicyServiceServer) ListAutoscalingPolicies(context.Context, *ListAutoscalingPoliciesRequest) (*ListAutoscalingPoliciesResponse, error) { 1401 return nil, status.Errorf(codes.Unimplemented, "method ListAutoscalingPolicies not implemented") 1402} 1403func (*UnimplementedAutoscalingPolicyServiceServer) DeleteAutoscalingPolicy(context.Context, *DeleteAutoscalingPolicyRequest) (*emptypb.Empty, error) { 1404 return nil, status.Errorf(codes.Unimplemented, "method DeleteAutoscalingPolicy not implemented") 1405} 1406 1407func RegisterAutoscalingPolicyServiceServer(s *grpc.Server, srv AutoscalingPolicyServiceServer) { 1408 s.RegisterService(&_AutoscalingPolicyService_serviceDesc, srv) 1409} 1410 1411func _AutoscalingPolicyService_CreateAutoscalingPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1412 in := new(CreateAutoscalingPolicyRequest) 1413 if err := dec(in); err != nil { 1414 return nil, err 1415 } 1416 if interceptor == nil { 1417 return srv.(AutoscalingPolicyServiceServer).CreateAutoscalingPolicy(ctx, in) 1418 } 1419 info := &grpc.UnaryServerInfo{ 1420 Server: srv, 1421 FullMethod: "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/CreateAutoscalingPolicy", 1422 } 1423 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1424 return srv.(AutoscalingPolicyServiceServer).CreateAutoscalingPolicy(ctx, req.(*CreateAutoscalingPolicyRequest)) 1425 } 1426 return interceptor(ctx, in, info, handler) 1427} 1428 1429func _AutoscalingPolicyService_UpdateAutoscalingPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1430 in := new(UpdateAutoscalingPolicyRequest) 1431 if err := dec(in); err != nil { 1432 return nil, err 1433 } 1434 if interceptor == nil { 1435 return srv.(AutoscalingPolicyServiceServer).UpdateAutoscalingPolicy(ctx, in) 1436 } 1437 info := &grpc.UnaryServerInfo{ 1438 Server: srv, 1439 FullMethod: "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/UpdateAutoscalingPolicy", 1440 } 1441 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1442 return srv.(AutoscalingPolicyServiceServer).UpdateAutoscalingPolicy(ctx, req.(*UpdateAutoscalingPolicyRequest)) 1443 } 1444 return interceptor(ctx, in, info, handler) 1445} 1446 1447func _AutoscalingPolicyService_GetAutoscalingPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1448 in := new(GetAutoscalingPolicyRequest) 1449 if err := dec(in); err != nil { 1450 return nil, err 1451 } 1452 if interceptor == nil { 1453 return srv.(AutoscalingPolicyServiceServer).GetAutoscalingPolicy(ctx, in) 1454 } 1455 info := &grpc.UnaryServerInfo{ 1456 Server: srv, 1457 FullMethod: "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/GetAutoscalingPolicy", 1458 } 1459 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1460 return srv.(AutoscalingPolicyServiceServer).GetAutoscalingPolicy(ctx, req.(*GetAutoscalingPolicyRequest)) 1461 } 1462 return interceptor(ctx, in, info, handler) 1463} 1464 1465func _AutoscalingPolicyService_ListAutoscalingPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1466 in := new(ListAutoscalingPoliciesRequest) 1467 if err := dec(in); err != nil { 1468 return nil, err 1469 } 1470 if interceptor == nil { 1471 return srv.(AutoscalingPolicyServiceServer).ListAutoscalingPolicies(ctx, in) 1472 } 1473 info := &grpc.UnaryServerInfo{ 1474 Server: srv, 1475 FullMethod: "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/ListAutoscalingPolicies", 1476 } 1477 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1478 return srv.(AutoscalingPolicyServiceServer).ListAutoscalingPolicies(ctx, req.(*ListAutoscalingPoliciesRequest)) 1479 } 1480 return interceptor(ctx, in, info, handler) 1481} 1482 1483func _AutoscalingPolicyService_DeleteAutoscalingPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1484 in := new(DeleteAutoscalingPolicyRequest) 1485 if err := dec(in); err != nil { 1486 return nil, err 1487 } 1488 if interceptor == nil { 1489 return srv.(AutoscalingPolicyServiceServer).DeleteAutoscalingPolicy(ctx, in) 1490 } 1491 info := &grpc.UnaryServerInfo{ 1492 Server: srv, 1493 FullMethod: "/google.cloud.dataproc.v1beta2.AutoscalingPolicyService/DeleteAutoscalingPolicy", 1494 } 1495 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1496 return srv.(AutoscalingPolicyServiceServer).DeleteAutoscalingPolicy(ctx, req.(*DeleteAutoscalingPolicyRequest)) 1497 } 1498 return interceptor(ctx, in, info, handler) 1499} 1500 1501var _AutoscalingPolicyService_serviceDesc = grpc.ServiceDesc{ 1502 ServiceName: "google.cloud.dataproc.v1beta2.AutoscalingPolicyService", 1503 HandlerType: (*AutoscalingPolicyServiceServer)(nil), 1504 Methods: []grpc.MethodDesc{ 1505 { 1506 MethodName: "CreateAutoscalingPolicy", 1507 Handler: _AutoscalingPolicyService_CreateAutoscalingPolicy_Handler, 1508 }, 1509 { 1510 MethodName: "UpdateAutoscalingPolicy", 1511 Handler: _AutoscalingPolicyService_UpdateAutoscalingPolicy_Handler, 1512 }, 1513 { 1514 MethodName: "GetAutoscalingPolicy", 1515 Handler: _AutoscalingPolicyService_GetAutoscalingPolicy_Handler, 1516 }, 1517 { 1518 MethodName: "ListAutoscalingPolicies", 1519 Handler: _AutoscalingPolicyService_ListAutoscalingPolicies_Handler, 1520 }, 1521 { 1522 MethodName: "DeleteAutoscalingPolicy", 1523 Handler: _AutoscalingPolicyService_DeleteAutoscalingPolicy_Handler, 1524 }, 1525 }, 1526 Streams: []grpc.StreamDesc{}, 1527 Metadata: "google/cloud/dataproc/v1beta2/autoscaling_policies.proto", 1528} 1529