github.com/cloudwan/edgelq-sdk@v1.15.4/limits/resources/v1alpha2/plan_assignment_request/plan_assignment_request.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/limits/proto/v1alpha2/plan_assignment_request.proto 3 // DO NOT EDIT!!! 4 5 package plan_assignment_request 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/organization" 21 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/project" 22 common "github.com/cloudwan/edgelq-sdk/limits/resources/v1alpha2/common" 23 plan "github.com/cloudwan/edgelq-sdk/limits/resources/v1alpha2/plan" 24 plan_assignment "github.com/cloudwan/edgelq-sdk/limits/resources/v1alpha2/plan_assignment" 25 meta_service "github.com/cloudwan/edgelq-sdk/meta/resources/v1alpha2/service" 26 meta "github.com/cloudwan/goten-sdk/types/meta" 27 ) 28 29 // Reference imports to suppress errors if they are not otherwise used. 30 var ( 31 _ = fmt.Errorf 32 _ = reflect.Method{} 33 _ = sync.Once{} 34 35 _ = protojson.MarshalOptions{} 36 _ = proto.MarshalOptions{} 37 _ = preflect.Value{} 38 _ = protoimpl.DescBuilder{} 39 ) 40 41 // make sure we're using proto imports 42 var ( 43 _ = &iam_organization.Organization{} 44 _ = &iam_project.Project{} 45 _ = &common.Allowance{} 46 _ = &plan.Plan{} 47 _ = &plan_assignment.PlanAssignment{} 48 _ = &meta_service.Service{} 49 _ = &meta.Meta{} 50 ) 51 52 const ( 53 // Verify that this generated code is sufficiently up-to-date. 54 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 55 // Verify that runtime/protoimpl is sufficiently up-to-date. 56 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 57 ) 58 59 type PlanAssignmentRequest_Status_Conclusion int32 60 61 const ( 62 PlanAssignmentRequest_Status_UNDEFINED PlanAssignmentRequest_Status_Conclusion = 0 63 PlanAssignmentRequest_Status_PENDING PlanAssignmentRequest_Status_Conclusion = 1 64 PlanAssignmentRequest_Status_APPROVED PlanAssignmentRequest_Status_Conclusion = 2 65 PlanAssignmentRequest_Status_REJECTED PlanAssignmentRequest_Status_Conclusion = 3 66 ) 67 68 var ( 69 PlanAssignmentRequest_Status_Conclusion_name = map[int32]string{ 70 0: "UNDEFINED", 71 1: "PENDING", 72 2: "APPROVED", 73 3: "REJECTED", 74 } 75 76 PlanAssignmentRequest_Status_Conclusion_value = map[string]int32{ 77 "UNDEFINED": 0, 78 "PENDING": 1, 79 "APPROVED": 2, 80 "REJECTED": 3, 81 } 82 ) 83 84 func (x PlanAssignmentRequest_Status_Conclusion) Enum() *PlanAssignmentRequest_Status_Conclusion { 85 p := new(PlanAssignmentRequest_Status_Conclusion) 86 *p = x 87 return p 88 } 89 90 func (x PlanAssignmentRequest_Status_Conclusion) String() string { 91 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 92 } 93 94 func (PlanAssignmentRequest_Status_Conclusion) Descriptor() preflect.EnumDescriptor { 95 return edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_enumTypes[0].Descriptor() 96 } 97 98 func (PlanAssignmentRequest_Status_Conclusion) Type() preflect.EnumType { 99 return &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_enumTypes[0] 100 } 101 102 func (x PlanAssignmentRequest_Status_Conclusion) Number() preflect.EnumNumber { 103 return preflect.EnumNumber(x) 104 } 105 106 // Deprecated, Use PlanAssignmentRequest_Status_Conclusion.ProtoReflect.Descriptor instead. 107 func (PlanAssignmentRequest_Status_Conclusion) EnumDescriptor() ([]byte, []int) { 108 return edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescGZIP(), []int{0, 0, 0} 109 } 110 111 // PlanAssignmentRequest gives administrator a way to modify their 112 // PlanAssignment instances in a safe way, with respect to parent 113 // organization/system limits. 114 // PlanAssignmentRequest can be used to: 115 // * Assign/Reassign new plan for specific service 116 // * Extend specific resource limits for existing PlanAssignment 117 // * Redistribute limits across regions (available for project PlanAssignments) 118 // * Unassign existing PlanAssignment 119 // Certain requests may be automatically approved by system (for example, if 120 // they would result in lowering limits), other require higher administrator 121 // consent. User creating request should check status field after operation 122 // to check if request was automatically approved. 123 type PlanAssignmentRequest struct { 124 state protoimpl.MessageState 125 sizeCache protoimpl.SizeCache 126 unknownFields protoimpl.UnknownFields 127 // Name of PlanAssignmentRequest 128 // When creating a new instance, this field is optional and if not provided, 129 // it will be generated automatically. Last ID segment must conform to the 130 // following regex: [a-z][a-z0-9\-]{0,28}[a-z0-9] 131 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 132 // Purpose of this request 133 Request *PlanAssignmentRequest_RequestType `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` 134 // Service associated with this request. 135 Service *meta_service.Reference `protobuf:"bytes,3,opt,customtype=Reference,name=service,proto3" json:"service,omitempty"` 136 // Approver 137 Approver *iam_organization.Reference `protobuf:"bytes,4,opt,customtype=Reference,name=approver,proto3" json:"approver,omitempty"` 138 Status *PlanAssignmentRequest_Status `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` 139 // Metadata 140 Metadata *meta.Meta `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` 141 } 142 143 func (m *PlanAssignmentRequest) Reset() { 144 *m = PlanAssignmentRequest{} 145 if protoimpl.UnsafeEnabled { 146 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[0] 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 148 ms.StoreMessageInfo(mi) 149 } 150 } 151 152 func (m *PlanAssignmentRequest) String() string { 153 return protoimpl.X.MessageStringOf(m) 154 } 155 156 func (*PlanAssignmentRequest) ProtoMessage() {} 157 158 func (m *PlanAssignmentRequest) ProtoReflect() preflect.Message { 159 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[0] 160 if protoimpl.UnsafeEnabled && m != nil { 161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 162 if ms.LoadMessageInfo() == nil { 163 ms.StoreMessageInfo(mi) 164 } 165 return ms 166 } 167 return mi.MessageOf(m) 168 } 169 170 func (*PlanAssignmentRequest) GotenMessage() {} 171 172 // Deprecated, Use PlanAssignmentRequest.ProtoReflect.Descriptor instead. 173 func (*PlanAssignmentRequest) Descriptor() ([]byte, []int) { 174 return edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescGZIP(), []int{0} 175 } 176 177 func (m *PlanAssignmentRequest) Unmarshal(b []byte) error { 178 return proto.Unmarshal(b, m) 179 } 180 181 func (m *PlanAssignmentRequest) Marshal() ([]byte, error) { 182 return proto.Marshal(m) 183 } 184 185 func (m *PlanAssignmentRequest) MarshalJSON() ([]byte, error) { 186 return protojson.MarshalOptions{}.Marshal(m) 187 } 188 189 func (m *PlanAssignmentRequest) UnmarshalJSON(data []byte) error { 190 return protojson.Unmarshal(data, m) 191 } 192 193 func (m *PlanAssignmentRequest) GetName() *Name { 194 if m != nil { 195 return m.Name 196 } 197 return nil 198 } 199 200 func (m *PlanAssignmentRequest) GetRequest() *PlanAssignmentRequest_RequestType { 201 if m != nil { 202 return m.Request 203 } 204 return nil 205 } 206 207 func (m *PlanAssignmentRequest) GetService() *meta_service.Reference { 208 if m != nil { 209 return m.Service 210 } 211 return nil 212 } 213 214 func (m *PlanAssignmentRequest) GetApprover() *iam_organization.Reference { 215 if m != nil { 216 return m.Approver 217 } 218 return nil 219 } 220 221 func (m *PlanAssignmentRequest) GetStatus() *PlanAssignmentRequest_Status { 222 if m != nil { 223 return m.Status 224 } 225 return nil 226 } 227 228 func (m *PlanAssignmentRequest) GetMetadata() *meta.Meta { 229 if m != nil { 230 return m.Metadata 231 } 232 return nil 233 } 234 235 func (m *PlanAssignmentRequest) SetName(fv *Name) { 236 if m == nil { 237 panic(fmt.Errorf("can't set %s on nil %s", "Name", "PlanAssignmentRequest")) 238 } 239 m.Name = fv 240 } 241 242 func (m *PlanAssignmentRequest) SetRequest(fv *PlanAssignmentRequest_RequestType) { 243 if m == nil { 244 panic(fmt.Errorf("can't set %s on nil %s", "Request", "PlanAssignmentRequest")) 245 } 246 m.Request = fv 247 } 248 249 func (m *PlanAssignmentRequest) SetService(fv *meta_service.Reference) { 250 if m == nil { 251 panic(fmt.Errorf("can't set %s on nil %s", "Service", "PlanAssignmentRequest")) 252 } 253 m.Service = fv 254 } 255 256 func (m *PlanAssignmentRequest) SetApprover(fv *iam_organization.Reference) { 257 if m == nil { 258 panic(fmt.Errorf("can't set %s on nil %s", "Approver", "PlanAssignmentRequest")) 259 } 260 m.Approver = fv 261 } 262 263 func (m *PlanAssignmentRequest) SetStatus(fv *PlanAssignmentRequest_Status) { 264 if m == nil { 265 panic(fmt.Errorf("can't set %s on nil %s", "Status", "PlanAssignmentRequest")) 266 } 267 m.Status = fv 268 } 269 270 func (m *PlanAssignmentRequest) SetMetadata(fv *meta.Meta) { 271 if m == nil { 272 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "PlanAssignmentRequest")) 273 } 274 m.Metadata = fv 275 } 276 277 // Status 278 type PlanAssignmentRequest_Status struct { 279 state protoimpl.MessageState 280 sizeCache protoimpl.SizeCache 281 unknownFields protoimpl.UnknownFields 282 // Conclusion 283 Conclusion PlanAssignmentRequest_Status_Conclusion `protobuf:"varint,1,opt,name=conclusion,proto3,enum=ntt.limits.v1alpha2.PlanAssignmentRequest_Status_Conclusion" json:"conclusion,omitempty"` 284 // Optional message with reason 285 Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` 286 } 287 288 func (m *PlanAssignmentRequest_Status) Reset() { 289 *m = PlanAssignmentRequest_Status{} 290 if protoimpl.UnsafeEnabled { 291 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[1] 292 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 293 ms.StoreMessageInfo(mi) 294 } 295 } 296 297 func (m *PlanAssignmentRequest_Status) String() string { 298 return protoimpl.X.MessageStringOf(m) 299 } 300 301 func (*PlanAssignmentRequest_Status) ProtoMessage() {} 302 303 func (m *PlanAssignmentRequest_Status) ProtoReflect() preflect.Message { 304 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[1] 305 if protoimpl.UnsafeEnabled && m != nil { 306 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 307 if ms.LoadMessageInfo() == nil { 308 ms.StoreMessageInfo(mi) 309 } 310 return ms 311 } 312 return mi.MessageOf(m) 313 } 314 315 func (*PlanAssignmentRequest_Status) GotenMessage() {} 316 317 // Deprecated, Use PlanAssignmentRequest_Status.ProtoReflect.Descriptor instead. 318 func (*PlanAssignmentRequest_Status) Descriptor() ([]byte, []int) { 319 return edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescGZIP(), []int{0, 0} 320 } 321 322 func (m *PlanAssignmentRequest_Status) Unmarshal(b []byte) error { 323 return proto.Unmarshal(b, m) 324 } 325 326 func (m *PlanAssignmentRequest_Status) Marshal() ([]byte, error) { 327 return proto.Marshal(m) 328 } 329 330 func (m *PlanAssignmentRequest_Status) MarshalJSON() ([]byte, error) { 331 return protojson.MarshalOptions{}.Marshal(m) 332 } 333 334 func (m *PlanAssignmentRequest_Status) UnmarshalJSON(data []byte) error { 335 return protojson.Unmarshal(data, m) 336 } 337 338 func (m *PlanAssignmentRequest_Status) GetConclusion() PlanAssignmentRequest_Status_Conclusion { 339 if m != nil { 340 return m.Conclusion 341 } 342 return PlanAssignmentRequest_Status_UNDEFINED 343 } 344 345 func (m *PlanAssignmentRequest_Status) GetReason() string { 346 if m != nil { 347 return m.Reason 348 } 349 return "" 350 } 351 352 func (m *PlanAssignmentRequest_Status) SetConclusion(fv PlanAssignmentRequest_Status_Conclusion) { 353 if m == nil { 354 panic(fmt.Errorf("can't set %s on nil %s", "Conclusion", "PlanAssignmentRequest_Status")) 355 } 356 m.Conclusion = fv 357 } 358 359 func (m *PlanAssignmentRequest_Status) SetReason(fv string) { 360 if m == nil { 361 panic(fmt.Errorf("can't set %s on nil %s", "Reason", "PlanAssignmentRequest_Status")) 362 } 363 m.Reason = fv 364 } 365 366 // RequestType describes what should change in existing PlanAssignment, 367 // optionally if new one should be created. 368 type PlanAssignmentRequest_RequestType struct { 369 state protoimpl.MessageState 370 sizeCache protoimpl.SizeCache 371 unknownFields protoimpl.UnknownFields 372 // Types that are valid to be assigned to Request: 373 // *PlanAssignmentRequest_RequestType_Assign_ 374 // *PlanAssignmentRequest_RequestType_Extend_ 375 // *PlanAssignmentRequest_RequestType_Redistribute_ 376 // *PlanAssignmentRequest_RequestType_Unassign_ 377 Request isPlanAssignmentRequest_RequestType_Request `protobuf_oneof:"request"` 378 } 379 380 func (m *PlanAssignmentRequest_RequestType) Reset() { 381 *m = PlanAssignmentRequest_RequestType{} 382 if protoimpl.UnsafeEnabled { 383 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[2] 384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 385 ms.StoreMessageInfo(mi) 386 } 387 } 388 389 func (m *PlanAssignmentRequest_RequestType) String() string { 390 return protoimpl.X.MessageStringOf(m) 391 } 392 393 func (*PlanAssignmentRequest_RequestType) ProtoMessage() {} 394 395 func (m *PlanAssignmentRequest_RequestType) ProtoReflect() preflect.Message { 396 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[2] 397 if protoimpl.UnsafeEnabled && m != nil { 398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 399 if ms.LoadMessageInfo() == nil { 400 ms.StoreMessageInfo(mi) 401 } 402 return ms 403 } 404 return mi.MessageOf(m) 405 } 406 407 func (*PlanAssignmentRequest_RequestType) GotenMessage() {} 408 409 // Deprecated, Use PlanAssignmentRequest_RequestType.ProtoReflect.Descriptor instead. 410 func (*PlanAssignmentRequest_RequestType) Descriptor() ([]byte, []int) { 411 return edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescGZIP(), []int{0, 1} 412 } 413 414 func (m *PlanAssignmentRequest_RequestType) Unmarshal(b []byte) error { 415 return proto.Unmarshal(b, m) 416 } 417 418 func (m *PlanAssignmentRequest_RequestType) Marshal() ([]byte, error) { 419 return proto.Marshal(m) 420 } 421 422 func (m *PlanAssignmentRequest_RequestType) MarshalJSON() ([]byte, error) { 423 return protojson.MarshalOptions{}.Marshal(m) 424 } 425 426 func (m *PlanAssignmentRequest_RequestType) UnmarshalJSON(data []byte) error { 427 return protojson.Unmarshal(data, m) 428 } 429 430 type isPlanAssignmentRequest_RequestType_Request interface { 431 isPlanAssignmentRequest_RequestType_Request() 432 } 433 434 type PlanAssignmentRequest_RequestType_Assign_ struct { 435 // Assign request 436 Assign *PlanAssignmentRequest_RequestType_Assign `protobuf:"bytes,1,opt,name=assign,proto3,oneof"` 437 } 438 type PlanAssignmentRequest_RequestType_Extend_ struct { 439 // Extend request 440 Extend *PlanAssignmentRequest_RequestType_Extend `protobuf:"bytes,2,opt,name=extend,proto3,oneof"` 441 } 442 type PlanAssignmentRequest_RequestType_Redistribute_ struct { 443 // Redistribute request 444 Redistribute *PlanAssignmentRequest_RequestType_Redistribute `protobuf:"bytes,3,opt,name=redistribute,proto3,oneof"` 445 } 446 type PlanAssignmentRequest_RequestType_Unassign_ struct { 447 // Unassign request 448 Unassign *PlanAssignmentRequest_RequestType_Unassign `protobuf:"bytes,4,opt,name=unassign,proto3,oneof"` 449 } 450 451 func (*PlanAssignmentRequest_RequestType_Assign_) isPlanAssignmentRequest_RequestType_Request() {} 452 func (*PlanAssignmentRequest_RequestType_Extend_) isPlanAssignmentRequest_RequestType_Request() {} 453 func (*PlanAssignmentRequest_RequestType_Redistribute_) isPlanAssignmentRequest_RequestType_Request() { 454 } 455 func (*PlanAssignmentRequest_RequestType_Unassign_) isPlanAssignmentRequest_RequestType_Request() {} 456 func (m *PlanAssignmentRequest_RequestType) GetRequest() isPlanAssignmentRequest_RequestType_Request { 457 if m != nil { 458 return m.Request 459 } 460 return nil 461 } 462 func (m *PlanAssignmentRequest_RequestType) GetAssign() *PlanAssignmentRequest_RequestType_Assign { 463 if x, ok := m.GetRequest().(*PlanAssignmentRequest_RequestType_Assign_); ok { 464 return x.Assign 465 } 466 return nil 467 } 468 func (m *PlanAssignmentRequest_RequestType) GetExtend() *PlanAssignmentRequest_RequestType_Extend { 469 if x, ok := m.GetRequest().(*PlanAssignmentRequest_RequestType_Extend_); ok { 470 return x.Extend 471 } 472 return nil 473 } 474 func (m *PlanAssignmentRequest_RequestType) GetRedistribute() *PlanAssignmentRequest_RequestType_Redistribute { 475 if x, ok := m.GetRequest().(*PlanAssignmentRequest_RequestType_Redistribute_); ok { 476 return x.Redistribute 477 } 478 return nil 479 } 480 func (m *PlanAssignmentRequest_RequestType) GetUnassign() *PlanAssignmentRequest_RequestType_Unassign { 481 if x, ok := m.GetRequest().(*PlanAssignmentRequest_RequestType_Unassign_); ok { 482 return x.Unassign 483 } 484 return nil 485 } 486 func (m *PlanAssignmentRequest_RequestType) SetRequest(ofv isPlanAssignmentRequest_RequestType_Request) { 487 if m == nil { 488 panic(fmt.Errorf("can't set %s on nil %s", "isPlanAssignmentRequest_RequestType_Request", "PlanAssignmentRequest_RequestType")) 489 } 490 m.Request = ofv 491 } 492 func (m *PlanAssignmentRequest_RequestType) SetAssign(fv *PlanAssignmentRequest_RequestType_Assign) { 493 m.SetRequest(&PlanAssignmentRequest_RequestType_Assign_{Assign: fv}) 494 } 495 func (m *PlanAssignmentRequest_RequestType) SetExtend(fv *PlanAssignmentRequest_RequestType_Extend) { 496 m.SetRequest(&PlanAssignmentRequest_RequestType_Extend_{Extend: fv}) 497 } 498 func (m *PlanAssignmentRequest_RequestType) SetRedistribute(fv *PlanAssignmentRequest_RequestType_Redistribute) { 499 m.SetRequest(&PlanAssignmentRequest_RequestType_Redistribute_{Redistribute: fv}) 500 } 501 func (m *PlanAssignmentRequest_RequestType) SetUnassign(fv *PlanAssignmentRequest_RequestType_Unassign) { 502 m.SetRequest(&PlanAssignmentRequest_RequestType_Unassign_{Unassign: fv}) 503 } 504 505 // Assign request requests for new PlanAssignment instance. If there 506 // already is a plan for same service, then previous record is overwritten. 507 // In other words, this request can also be used to upgrade/downgrade 508 // existing plan. 509 type PlanAssignmentRequest_RequestType_Assign struct { 510 state protoimpl.MessageState 511 sizeCache protoimpl.SizeCache 512 unknownFields protoimpl.UnknownFields 513 // Plan to apply 514 Plan *plan.Reference `protobuf:"bytes,1,opt,customtype=Reference,name=plan,proto3" json:"plan,omitempty"` 515 // List of all extensions over basic plan 516 Extensions []*common.Allowance `protobuf:"bytes,2,rep,name=extensions,proto3" json:"extensions,omitempty"` 517 // Optional list of distributions across regions. This field 518 // can only be used for project plans only. 519 // It may be provided fully or partially by user - system will 520 // automatically distribute remaining limits equally across 521 // all regions. 522 RegionalDistributions []*common.RegionalDistribution `protobuf:"bytes,3,rep,name=regional_distributions,json=regionalDistributions,proto3" json:"regional_distributions,omitempty"` 523 } 524 525 func (m *PlanAssignmentRequest_RequestType_Assign) Reset() { 526 *m = PlanAssignmentRequest_RequestType_Assign{} 527 if protoimpl.UnsafeEnabled { 528 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[3] 529 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 530 ms.StoreMessageInfo(mi) 531 } 532 } 533 534 func (m *PlanAssignmentRequest_RequestType_Assign) String() string { 535 return protoimpl.X.MessageStringOf(m) 536 } 537 538 func (*PlanAssignmentRequest_RequestType_Assign) ProtoMessage() {} 539 540 func (m *PlanAssignmentRequest_RequestType_Assign) ProtoReflect() preflect.Message { 541 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[3] 542 if protoimpl.UnsafeEnabled && m != nil { 543 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 544 if ms.LoadMessageInfo() == nil { 545 ms.StoreMessageInfo(mi) 546 } 547 return ms 548 } 549 return mi.MessageOf(m) 550 } 551 552 func (*PlanAssignmentRequest_RequestType_Assign) GotenMessage() {} 553 554 // Deprecated, Use PlanAssignmentRequest_RequestType_Assign.ProtoReflect.Descriptor instead. 555 func (*PlanAssignmentRequest_RequestType_Assign) Descriptor() ([]byte, []int) { 556 return edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescGZIP(), []int{0, 1, 0} 557 } 558 559 func (m *PlanAssignmentRequest_RequestType_Assign) Unmarshal(b []byte) error { 560 return proto.Unmarshal(b, m) 561 } 562 563 func (m *PlanAssignmentRequest_RequestType_Assign) Marshal() ([]byte, error) { 564 return proto.Marshal(m) 565 } 566 567 func (m *PlanAssignmentRequest_RequestType_Assign) MarshalJSON() ([]byte, error) { 568 return protojson.MarshalOptions{}.Marshal(m) 569 } 570 571 func (m *PlanAssignmentRequest_RequestType_Assign) UnmarshalJSON(data []byte) error { 572 return protojson.Unmarshal(data, m) 573 } 574 575 func (m *PlanAssignmentRequest_RequestType_Assign) GetPlan() *plan.Reference { 576 if m != nil { 577 return m.Plan 578 } 579 return nil 580 } 581 582 func (m *PlanAssignmentRequest_RequestType_Assign) GetExtensions() []*common.Allowance { 583 if m != nil { 584 return m.Extensions 585 } 586 return nil 587 } 588 589 func (m *PlanAssignmentRequest_RequestType_Assign) GetRegionalDistributions() []*common.RegionalDistribution { 590 if m != nil { 591 return m.RegionalDistributions 592 } 593 return nil 594 } 595 596 func (m *PlanAssignmentRequest_RequestType_Assign) SetPlan(fv *plan.Reference) { 597 if m == nil { 598 panic(fmt.Errorf("can't set %s on nil %s", "Plan", "PlanAssignmentRequest_RequestType_Assign")) 599 } 600 m.Plan = fv 601 } 602 603 func (m *PlanAssignmentRequest_RequestType_Assign) SetExtensions(fv []*common.Allowance) { 604 if m == nil { 605 panic(fmt.Errorf("can't set %s on nil %s", "Extensions", "PlanAssignmentRequest_RequestType_Assign")) 606 } 607 m.Extensions = fv 608 } 609 610 func (m *PlanAssignmentRequest_RequestType_Assign) SetRegionalDistributions(fv []*common.RegionalDistribution) { 611 if m == nil { 612 panic(fmt.Errorf("can't set %s on nil %s", "RegionalDistributions", "PlanAssignmentRequest_RequestType_Assign")) 613 } 614 m.RegionalDistributions = fv 615 } 616 617 // Extend request should be used in order to increase (optionally 618 // decrease) limits from existing plan assignment. 619 type PlanAssignmentRequest_RequestType_Extend struct { 620 state protoimpl.MessageState 621 sizeCache protoimpl.SizeCache 622 unknownFields protoimpl.UnknownFields 623 // Reference to existing plan assignment 624 Assignment *plan_assignment.Reference `protobuf:"bytes,1,opt,customtype=Reference,name=assignment,proto3" json:"assignment,omitempty"` 625 // List of limits to merge within existing assignment 626 Additions []*common.Allowance `protobuf:"bytes,2,rep,name=additions,proto3" json:"additions,omitempty"` 627 // Distributions of NEW (only!) limits across regions. 628 // It does not allow for redistribution of existing limits before. 629 // It is optional, but can be provided only for project plans. 630 // May be provided fully or partially, system will distribute 631 // remaining limits on its own. 632 RegionalDistributions []*common.RegionalDistribution `protobuf:"bytes,3,rep,name=regional_distributions,json=regionalDistributions,proto3" json:"regional_distributions,omitempty"` 633 } 634 635 func (m *PlanAssignmentRequest_RequestType_Extend) Reset() { 636 *m = PlanAssignmentRequest_RequestType_Extend{} 637 if protoimpl.UnsafeEnabled { 638 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[4] 639 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 640 ms.StoreMessageInfo(mi) 641 } 642 } 643 644 func (m *PlanAssignmentRequest_RequestType_Extend) String() string { 645 return protoimpl.X.MessageStringOf(m) 646 } 647 648 func (*PlanAssignmentRequest_RequestType_Extend) ProtoMessage() {} 649 650 func (m *PlanAssignmentRequest_RequestType_Extend) ProtoReflect() preflect.Message { 651 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[4] 652 if protoimpl.UnsafeEnabled && m != nil { 653 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 654 if ms.LoadMessageInfo() == nil { 655 ms.StoreMessageInfo(mi) 656 } 657 return ms 658 } 659 return mi.MessageOf(m) 660 } 661 662 func (*PlanAssignmentRequest_RequestType_Extend) GotenMessage() {} 663 664 // Deprecated, Use PlanAssignmentRequest_RequestType_Extend.ProtoReflect.Descriptor instead. 665 func (*PlanAssignmentRequest_RequestType_Extend) Descriptor() ([]byte, []int) { 666 return edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescGZIP(), []int{0, 1, 1} 667 } 668 669 func (m *PlanAssignmentRequest_RequestType_Extend) Unmarshal(b []byte) error { 670 return proto.Unmarshal(b, m) 671 } 672 673 func (m *PlanAssignmentRequest_RequestType_Extend) Marshal() ([]byte, error) { 674 return proto.Marshal(m) 675 } 676 677 func (m *PlanAssignmentRequest_RequestType_Extend) MarshalJSON() ([]byte, error) { 678 return protojson.MarshalOptions{}.Marshal(m) 679 } 680 681 func (m *PlanAssignmentRequest_RequestType_Extend) UnmarshalJSON(data []byte) error { 682 return protojson.Unmarshal(data, m) 683 } 684 685 func (m *PlanAssignmentRequest_RequestType_Extend) GetAssignment() *plan_assignment.Reference { 686 if m != nil { 687 return m.Assignment 688 } 689 return nil 690 } 691 692 func (m *PlanAssignmentRequest_RequestType_Extend) GetAdditions() []*common.Allowance { 693 if m != nil { 694 return m.Additions 695 } 696 return nil 697 } 698 699 func (m *PlanAssignmentRequest_RequestType_Extend) GetRegionalDistributions() []*common.RegionalDistribution { 700 if m != nil { 701 return m.RegionalDistributions 702 } 703 return nil 704 } 705 706 func (m *PlanAssignmentRequest_RequestType_Extend) SetAssignment(fv *plan_assignment.Reference) { 707 if m == nil { 708 panic(fmt.Errorf("can't set %s on nil %s", "Assignment", "PlanAssignmentRequest_RequestType_Extend")) 709 } 710 m.Assignment = fv 711 } 712 713 func (m *PlanAssignmentRequest_RequestType_Extend) SetAdditions(fv []*common.Allowance) { 714 if m == nil { 715 panic(fmt.Errorf("can't set %s on nil %s", "Additions", "PlanAssignmentRequest_RequestType_Extend")) 716 } 717 m.Additions = fv 718 } 719 720 func (m *PlanAssignmentRequest_RequestType_Extend) SetRegionalDistributions(fv []*common.RegionalDistribution) { 721 if m == nil { 722 panic(fmt.Errorf("can't set %s on nil %s", "RegionalDistributions", "PlanAssignmentRequest_RequestType_Extend")) 723 } 724 m.RegionalDistributions = fv 725 } 726 727 // Redistribute request is used to move existing limits across 728 // regions. It cannot change total values. 729 type PlanAssignmentRequest_RequestType_Redistribute struct { 730 state protoimpl.MessageState 731 sizeCache protoimpl.SizeCache 732 unknownFields protoimpl.UnknownFields 733 // Reference to existing assignment 734 Assignment *plan_assignment.Reference `protobuf:"bytes,1,opt,customtype=Reference,name=assignment,proto3" json:"assignment,omitempty"` 735 // List of regional distributions. It should contain 736 // only those regions where limits are moved from/to. 737 RegionalDistributions []*common.RegionalDistribution `protobuf:"bytes,2,rep,name=regional_distributions,json=regionalDistributions,proto3" json:"regional_distributions,omitempty"` 738 } 739 740 func (m *PlanAssignmentRequest_RequestType_Redistribute) Reset() { 741 *m = PlanAssignmentRequest_RequestType_Redistribute{} 742 if protoimpl.UnsafeEnabled { 743 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[5] 744 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 745 ms.StoreMessageInfo(mi) 746 } 747 } 748 749 func (m *PlanAssignmentRequest_RequestType_Redistribute) String() string { 750 return protoimpl.X.MessageStringOf(m) 751 } 752 753 func (*PlanAssignmentRequest_RequestType_Redistribute) ProtoMessage() {} 754 755 func (m *PlanAssignmentRequest_RequestType_Redistribute) ProtoReflect() preflect.Message { 756 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[5] 757 if protoimpl.UnsafeEnabled && m != nil { 758 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 759 if ms.LoadMessageInfo() == nil { 760 ms.StoreMessageInfo(mi) 761 } 762 return ms 763 } 764 return mi.MessageOf(m) 765 } 766 767 func (*PlanAssignmentRequest_RequestType_Redistribute) GotenMessage() {} 768 769 // Deprecated, Use PlanAssignmentRequest_RequestType_Redistribute.ProtoReflect.Descriptor instead. 770 func (*PlanAssignmentRequest_RequestType_Redistribute) Descriptor() ([]byte, []int) { 771 return edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescGZIP(), []int{0, 1, 2} 772 } 773 774 func (m *PlanAssignmentRequest_RequestType_Redistribute) Unmarshal(b []byte) error { 775 return proto.Unmarshal(b, m) 776 } 777 778 func (m *PlanAssignmentRequest_RequestType_Redistribute) Marshal() ([]byte, error) { 779 return proto.Marshal(m) 780 } 781 782 func (m *PlanAssignmentRequest_RequestType_Redistribute) MarshalJSON() ([]byte, error) { 783 return protojson.MarshalOptions{}.Marshal(m) 784 } 785 786 func (m *PlanAssignmentRequest_RequestType_Redistribute) UnmarshalJSON(data []byte) error { 787 return protojson.Unmarshal(data, m) 788 } 789 790 func (m *PlanAssignmentRequest_RequestType_Redistribute) GetAssignment() *plan_assignment.Reference { 791 if m != nil { 792 return m.Assignment 793 } 794 return nil 795 } 796 797 func (m *PlanAssignmentRequest_RequestType_Redistribute) GetRegionalDistributions() []*common.RegionalDistribution { 798 if m != nil { 799 return m.RegionalDistributions 800 } 801 return nil 802 } 803 804 func (m *PlanAssignmentRequest_RequestType_Redistribute) SetAssignment(fv *plan_assignment.Reference) { 805 if m == nil { 806 panic(fmt.Errorf("can't set %s on nil %s", "Assignment", "PlanAssignmentRequest_RequestType_Redistribute")) 807 } 808 m.Assignment = fv 809 } 810 811 func (m *PlanAssignmentRequest_RequestType_Redistribute) SetRegionalDistributions(fv []*common.RegionalDistribution) { 812 if m == nil { 813 panic(fmt.Errorf("can't set %s on nil %s", "RegionalDistributions", "PlanAssignmentRequest_RequestType_Redistribute")) 814 } 815 m.RegionalDistributions = fv 816 } 817 818 // Unassign is used to remove existing PlanAssignment. This will 819 // always be automatically approved unless limits are in use by 820 // existing resources. 821 type PlanAssignmentRequest_RequestType_Unassign struct { 822 state protoimpl.MessageState 823 sizeCache protoimpl.SizeCache 824 unknownFields protoimpl.UnknownFields 825 Assignment *plan_assignment.Reference `protobuf:"bytes,1,opt,customtype=Reference,name=assignment,proto3" json:"assignment,omitempty"` 826 } 827 828 func (m *PlanAssignmentRequest_RequestType_Unassign) Reset() { 829 *m = PlanAssignmentRequest_RequestType_Unassign{} 830 if protoimpl.UnsafeEnabled { 831 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[6] 832 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 833 ms.StoreMessageInfo(mi) 834 } 835 } 836 837 func (m *PlanAssignmentRequest_RequestType_Unassign) String() string { 838 return protoimpl.X.MessageStringOf(m) 839 } 840 841 func (*PlanAssignmentRequest_RequestType_Unassign) ProtoMessage() {} 842 843 func (m *PlanAssignmentRequest_RequestType_Unassign) ProtoReflect() preflect.Message { 844 mi := &edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[6] 845 if protoimpl.UnsafeEnabled && m != nil { 846 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 847 if ms.LoadMessageInfo() == nil { 848 ms.StoreMessageInfo(mi) 849 } 850 return ms 851 } 852 return mi.MessageOf(m) 853 } 854 855 func (*PlanAssignmentRequest_RequestType_Unassign) GotenMessage() {} 856 857 // Deprecated, Use PlanAssignmentRequest_RequestType_Unassign.ProtoReflect.Descriptor instead. 858 func (*PlanAssignmentRequest_RequestType_Unassign) Descriptor() ([]byte, []int) { 859 return edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescGZIP(), []int{0, 1, 3} 860 } 861 862 func (m *PlanAssignmentRequest_RequestType_Unassign) Unmarshal(b []byte) error { 863 return proto.Unmarshal(b, m) 864 } 865 866 func (m *PlanAssignmentRequest_RequestType_Unassign) Marshal() ([]byte, error) { 867 return proto.Marshal(m) 868 } 869 870 func (m *PlanAssignmentRequest_RequestType_Unassign) MarshalJSON() ([]byte, error) { 871 return protojson.MarshalOptions{}.Marshal(m) 872 } 873 874 func (m *PlanAssignmentRequest_RequestType_Unassign) UnmarshalJSON(data []byte) error { 875 return protojson.Unmarshal(data, m) 876 } 877 878 func (m *PlanAssignmentRequest_RequestType_Unassign) GetAssignment() *plan_assignment.Reference { 879 if m != nil { 880 return m.Assignment 881 } 882 return nil 883 } 884 885 func (m *PlanAssignmentRequest_RequestType_Unassign) SetAssignment(fv *plan_assignment.Reference) { 886 if m == nil { 887 panic(fmt.Errorf("can't set %s on nil %s", "Assignment", "PlanAssignmentRequest_RequestType_Unassign")) 888 } 889 m.Assignment = fv 890 } 891 892 var edgelq_limits_proto_v1alpha2_plan_assignment_request_proto preflect.FileDescriptor 893 894 var edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDesc = []byte{ 895 0x0a, 0x3a, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 896 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 897 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 898 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6e, 0x74, 899 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 900 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 901 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 902 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 903 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 904 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 905 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 906 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 907 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 908 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 909 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 910 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 911 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 912 0x20, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 913 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 914 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 915 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 916 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 917 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 918 0x28, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f, 0x70, 0x72, 0x6f, 919 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x73, 0x65, 0x72, 0x76, 920 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x64, 0x67, 0x65, 0x6c, 921 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 922 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 923 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 924 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 0x72, 925 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x65, 0x64, 0x67, 926 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 927 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 928 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x65, 0x64, 0x67, 0x65, 0x6c, 929 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 930 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 931 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x65, 932 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 933 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 934 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb5, 0x12, 0x0a, 0x15, 0x50, 0x6c, 0x61, 935 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 936 0x73, 0x74, 0x12, 0x31, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 937 0x42, 0x1d, 0xb2, 0xda, 0x21, 0x19, 0x0a, 0x17, 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 938 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 939 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 940 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 941 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x50, 0x6c, 0x61, 942 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 943 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 944 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 945 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xf0, 0xd9, 0x21, 0x01, 0xb2, 0xda, 946 0x21, 0x1d, 0x12, 0x1b, 0x0a, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 947 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x10, 0x01, 0x52, 948 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x45, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x72, 949 0x6f, 0x76, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xf0, 0xd9, 0x21, 0x01, 950 0xb2, 0xda, 0x21, 0x21, 0x12, 0x1f, 0x0a, 0x1b, 0x69, 0x61, 0x6d, 0x2e, 0x65, 0x64, 0x67, 0x65, 951 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 952 0x69, 0x6f, 0x6e, 0x10, 0x01, 0x52, 0x08, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x12, 953 0x4f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 954 0x31, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 955 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 956 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 957 0x75, 0x73, 0x42, 0x04, 0xf0, 0xd9, 0x21, 0x01, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 958 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 959 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 960 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 961 0xc4, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x5c, 0x0a, 0x0a, 0x63, 0x6f, 962 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 963 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 964 0x70, 0x68, 0x61, 0x32, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 965 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 966 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 967 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 968 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 969 0x22, 0x44, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0d, 970 0x0a, 0x09, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 971 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x50, 972 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x4a, 0x45, 973 0x43, 0x54, 0x45, 0x44, 0x10, 0x03, 0x1a, 0xbd, 0x08, 0x0a, 0x0b, 0x52, 0x65, 0x71, 0x75, 0x65, 974 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x57, 0x0a, 0x06, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 975 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 976 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x50, 0x6c, 0x61, 977 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 978 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x41, 979 0x73, 0x73, 0x69, 0x67, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x12, 980 0x57, 0x0a, 0x06, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 981 0x3d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 982 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 983 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 984 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x48, 0x00, 985 0x52, 0x06, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x12, 0x69, 0x0a, 0x0c, 0x72, 0x65, 0x64, 0x69, 986 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 987 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 988 0x70, 0x68, 0x61, 0x32, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 989 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 990 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 991 0x75, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x65, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 992 0x75, 0x74, 0x65, 0x12, 0x5d, 0x0a, 0x08, 0x75, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x18, 993 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 994 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 995 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 996 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x55, 0x6e, 997 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x75, 0x6e, 0x61, 0x73, 0x73, 0x69, 998 0x67, 0x6e, 0x1a, 0xce, 0x01, 0x0a, 0x06, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x22, 0x0a, 999 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 1000 0x0a, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x6c, 0x61, 0x6e, 0x10, 0x01, 0x52, 0x04, 0x70, 0x6c, 0x61, 1001 0x6e, 0x12, 0x3e, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 1002 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 1003 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 1004 0x77, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 1005 0x73, 0x12, 0x60, 0x0a, 0x16, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x69, 1006 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 1007 0x0b, 0x32, 0x29, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 1008 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 1009 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x15, 0x72, 0x65, 1010 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 1011 0x6f, 0x6e, 0x73, 0x1a, 0xe2, 0x01, 0x0a, 0x06, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x12, 0x38, 1012 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 1013 0x28, 0x09, 0x42, 0x18, 0xb2, 0xda, 0x21, 0x14, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x6e, 1014 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x10, 0x01, 0x52, 0x0a, 0x61, 0x73, 1015 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x69, 1016 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x74, 1017 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 1018 0x32, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x61, 0x64, 0x64, 1019 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x60, 0x0a, 0x16, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 1020 0x61, 0x6c, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1021 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 1022 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x67, 1023 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 1024 0x6e, 0x52, 0x15, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x74, 0x72, 1025 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xaa, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x64, 1026 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x38, 0x0a, 0x0a, 0x61, 0x73, 0x73, 1027 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xb2, 1028 0xda, 0x21, 0x14, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 1029 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x10, 0x01, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 1030 0x65, 0x6e, 0x74, 0x12, 0x60, 0x0a, 0x16, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 1031 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 1032 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 1033 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 1034 0x61, 0x6c, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x15, 1035 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 1036 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x44, 0x0a, 0x08, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 1037 0x6e, 0x12, 0x38, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 1038 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xb2, 0xda, 0x21, 0x14, 0x12, 0x12, 0x0a, 0x0e, 0x50, 1039 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x10, 0x01, 0x52, 1040 0x0a, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x72, 1041 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x3a, 0x87, 0x05, 0xea, 0x41, 0xbd, 0x01, 0x0a, 0x27, 0x6c, 1042 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 1043 0x2f, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 1044 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 1045 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x41, 1046 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1047 0x73, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 1048 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x7d, 0x12, 0x4d, 0x6f, 0x72, 0x67, 1049 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 1050 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x41, 0x73, 1051 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 1052 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 1053 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x7d, 0x92, 0xd9, 0x21, 0xcc, 0x01, 0x0a, 1054 0x16, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 1055 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x16, 0x70, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 1056 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x1a, 1057 0x16, 0x69, 0x61, 0x6d, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 1058 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x1b, 0x69, 0x61, 0x6d, 0x2e, 0x65, 0x64, 0x67, 1059 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 1060 0x74, 0x69, 0x6f, 0x6e, 0x38, 0x05, 0x42, 0x2b, 0x08, 0x02, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 1061 0x6d, 0x65, 0x12, 0x09, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x0a, 0x0a, 1062 0x08, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x08, 0x0a, 0x06, 0x73, 0x74, 0x61, 1063 0x74, 0x75, 0x73, 0x42, 0x36, 0x08, 0x03, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 1064 0x09, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x0a, 0x0a, 0x08, 0x61, 0x70, 1065 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 1066 0x74, 0x12, 0x08, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0xb2, 0xdf, 0x21, 0xac, 0x01, 1067 0x0a, 0x9d, 0x01, 0x0a, 0x7b, 0x0a, 0x06, 0x62, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x6e, 1068 0x61, 0x6d, 0x65, 0x1a, 0x35, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 1069 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1070 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 1071 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x2d, 0x1a, 0x2b, 0x70, 0x72, 0x6f, 0x6a, 1072 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x70, 1073 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 1074 0x75, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x2d, 0x20, 0x01, 0x2a, 0x05, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 1075 0x12, 0x13, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x63, 0x6c, 1076 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x09, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1077 0x12, 0x0a, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0xda, 0x94, 0x23, 0x08, 1078 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xc2, 0x85, 0x2c, 0x34, 0x22, 0x04, 0x6e, 0x61, 1079 0x6d, 0x65, 0x22, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x07, 0x73, 0x65, 0x72, 1080 0x76, 0x69, 0x63, 0x65, 0x2a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x08, 0x61, 0x70, 1081 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x42, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 1082 0x42, 0x80, 0x03, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x69, 0x0a, 0x1d, 0x70, 0x6c, 1083 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 1084 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x48, 0x67, 0x69, 0x74, 1085 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 1086 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x73, 1087 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 0x6c, 1088 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 1089 0x71, 0x75, 0x65, 0x73, 0x74, 0xa2, 0x80, 0xd1, 0x02, 0x6b, 0x0a, 0x1e, 0x70, 0x6c, 0x61, 0x6e, 1090 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 1091 0x65, 0x73, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x49, 0x67, 0x69, 0x74, 0x68, 1092 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 1093 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x61, 0x63, 1094 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 0x6c, 1095 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 1096 0x71, 0x75, 0x65, 0x73, 0x74, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 1097 0x65, 0x74, 0x61, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42, 1098 0x1a, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 1099 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x64, 0x67, 1100 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 1101 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 1102 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 1103 0x68, 0x61, 0x32, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 1104 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x3b, 0x70, 0x6c, 0x61, 0x6e, 1105 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 1106 0x65, 0x73, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1107 } 1108 1109 var ( 1110 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescOnce sync.Once 1111 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescData = edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDesc 1112 ) 1113 1114 func edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescGZIP() []byte { 1115 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescOnce.Do(func() { 1116 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescData) 1117 }) 1118 return edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDescData 1119 } 1120 1121 var edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1122 var edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 1123 var edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_goTypes = []interface{}{ 1124 (PlanAssignmentRequest_Status_Conclusion)(0), // 0: ntt.limits.v1alpha2.PlanAssignmentRequest_Status_Conclusion 1125 (*PlanAssignmentRequest)(nil), // 1: ntt.limits.v1alpha2.PlanAssignmentRequest 1126 (*PlanAssignmentRequest_Status)(nil), // 2: ntt.limits.v1alpha2.PlanAssignmentRequest.Status 1127 (*PlanAssignmentRequest_RequestType)(nil), // 3: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType 1128 (*PlanAssignmentRequest_RequestType_Assign)(nil), // 4: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.Assign 1129 (*PlanAssignmentRequest_RequestType_Extend)(nil), // 5: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.Extend 1130 (*PlanAssignmentRequest_RequestType_Redistribute)(nil), // 6: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.Redistribute 1131 (*PlanAssignmentRequest_RequestType_Unassign)(nil), // 7: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.Unassign 1132 (*meta.Meta)(nil), // 8: goten.types.Meta 1133 (*common.Allowance)(nil), // 9: ntt.limits.v1alpha2.Allowance 1134 (*common.RegionalDistribution)(nil), // 10: ntt.limits.v1alpha2.RegionalDistribution 1135 } 1136 var edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_depIdxs = []int32{ 1137 3, // 0: ntt.limits.v1alpha2.PlanAssignmentRequest.request:type_name -> ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType 1138 2, // 1: ntt.limits.v1alpha2.PlanAssignmentRequest.status:type_name -> ntt.limits.v1alpha2.PlanAssignmentRequest.Status 1139 8, // 2: ntt.limits.v1alpha2.PlanAssignmentRequest.metadata:type_name -> goten.types.Meta 1140 0, // 3: ntt.limits.v1alpha2.PlanAssignmentRequest.Status.conclusion:type_name -> ntt.limits.v1alpha2.PlanAssignmentRequest_Status_Conclusion 1141 4, // 4: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.assign:type_name -> ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.Assign 1142 5, // 5: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.extend:type_name -> ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.Extend 1143 6, // 6: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.redistribute:type_name -> ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.Redistribute 1144 7, // 7: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.unassign:type_name -> ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.Unassign 1145 9, // 8: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.Assign.extensions:type_name -> ntt.limits.v1alpha2.Allowance 1146 10, // 9: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.Assign.regional_distributions:type_name -> ntt.limits.v1alpha2.RegionalDistribution 1147 9, // 10: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.Extend.additions:type_name -> ntt.limits.v1alpha2.Allowance 1148 10, // 11: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.Extend.regional_distributions:type_name -> ntt.limits.v1alpha2.RegionalDistribution 1149 10, // 12: ntt.limits.v1alpha2.PlanAssignmentRequest.RequestType.Redistribute.regional_distributions:type_name -> ntt.limits.v1alpha2.RegionalDistribution 1150 13, // [13:13] is the sub-list for method output_type 1151 13, // [13:13] is the sub-list for method input_type 1152 13, // [13:13] is the sub-list for extension type_name 1153 13, // [13:13] is the sub-list for extension extendee 1154 0, // [0:13] is the sub-list for field type_name 1155 } 1156 1157 func init() { edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_init() } 1158 func edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_init() { 1159 if edgelq_limits_proto_v1alpha2_plan_assignment_request_proto != nil { 1160 return 1161 } 1162 if !protoimpl.UnsafeEnabled { 1163 1164 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1165 switch v := v.(*PlanAssignmentRequest); i { 1166 case 0: 1167 return &v.state 1168 case 1: 1169 return &v.sizeCache 1170 case 2: 1171 return &v.unknownFields 1172 default: 1173 return nil 1174 } 1175 } 1176 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1177 switch v := v.(*PlanAssignmentRequest_Status); i { 1178 case 0: 1179 return &v.state 1180 case 1: 1181 return &v.sizeCache 1182 case 2: 1183 return &v.unknownFields 1184 default: 1185 return nil 1186 } 1187 } 1188 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1189 switch v := v.(*PlanAssignmentRequest_RequestType); i { 1190 case 0: 1191 return &v.state 1192 case 1: 1193 return &v.sizeCache 1194 case 2: 1195 return &v.unknownFields 1196 default: 1197 return nil 1198 } 1199 } 1200 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1201 switch v := v.(*PlanAssignmentRequest_RequestType_Assign); i { 1202 case 0: 1203 return &v.state 1204 case 1: 1205 return &v.sizeCache 1206 case 2: 1207 return &v.unknownFields 1208 default: 1209 return nil 1210 } 1211 } 1212 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1213 switch v := v.(*PlanAssignmentRequest_RequestType_Extend); i { 1214 case 0: 1215 return &v.state 1216 case 1: 1217 return &v.sizeCache 1218 case 2: 1219 return &v.unknownFields 1220 default: 1221 return nil 1222 } 1223 } 1224 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1225 switch v := v.(*PlanAssignmentRequest_RequestType_Redistribute); i { 1226 case 0: 1227 return &v.state 1228 case 1: 1229 return &v.sizeCache 1230 case 2: 1231 return &v.unknownFields 1232 default: 1233 return nil 1234 } 1235 } 1236 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1237 switch v := v.(*PlanAssignmentRequest_RequestType_Unassign); i { 1238 case 0: 1239 return &v.state 1240 case 1: 1241 return &v.sizeCache 1242 case 2: 1243 return &v.unknownFields 1244 default: 1245 return nil 1246 } 1247 } 1248 } 1249 1250 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes[2].OneofWrappers = []interface{}{ 1251 (*PlanAssignmentRequest_RequestType_Assign_)(nil), 1252 (*PlanAssignmentRequest_RequestType_Extend_)(nil), 1253 (*PlanAssignmentRequest_RequestType_Redistribute_)(nil), 1254 (*PlanAssignmentRequest_RequestType_Unassign_)(nil), 1255 } 1256 type x struct{} 1257 out := protoimpl.TypeBuilder{ 1258 File: protoimpl.DescBuilder{ 1259 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1260 RawDescriptor: edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDesc, 1261 NumEnums: 1, 1262 NumMessages: 7, 1263 NumExtensions: 0, 1264 NumServices: 0, 1265 }, 1266 GoTypes: edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_goTypes, 1267 DependencyIndexes: edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_depIdxs, 1268 EnumInfos: edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_enumTypes, 1269 MessageInfos: edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_msgTypes, 1270 }.Build() 1271 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto = out.File 1272 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_rawDesc = nil 1273 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_goTypes = nil 1274 edgelq_limits_proto_v1alpha2_plan_assignment_request_proto_depIdxs = nil 1275 }