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