github.com/joomcode/cue@v0.4.4-0.20221111115225-539fe3512047/pkg/joom/devenv/proto/devenv.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.21.6 5 // source: devenv.proto 6 7 package devenvv1 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 emptypb "google.golang.org/protobuf/types/known/emptypb" 13 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 14 reflect "reflect" 15 sync "sync" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 type Cluster_FlagValue int32 26 27 const ( 28 Cluster_ON Cluster_FlagValue = 0 29 Cluster_OFF Cluster_FlagValue = 1 30 Cluster_UNKNOWN Cluster_FlagValue = 2 31 ) 32 33 // Enum value maps for Cluster_FlagValue. 34 var ( 35 Cluster_FlagValue_name = map[int32]string{ 36 0: "ON", 37 1: "OFF", 38 2: "UNKNOWN", 39 } 40 Cluster_FlagValue_value = map[string]int32{ 41 "ON": 0, 42 "OFF": 1, 43 "UNKNOWN": 2, 44 } 45 ) 46 47 func (x Cluster_FlagValue) Enum() *Cluster_FlagValue { 48 p := new(Cluster_FlagValue) 49 *p = x 50 return p 51 } 52 53 func (x Cluster_FlagValue) String() string { 54 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 55 } 56 57 func (Cluster_FlagValue) Descriptor() protoreflect.EnumDescriptor { 58 return file_devenv_proto_enumTypes[0].Descriptor() 59 } 60 61 func (Cluster_FlagValue) Type() protoreflect.EnumType { 62 return &file_devenv_proto_enumTypes[0] 63 } 64 65 func (x Cluster_FlagValue) Number() protoreflect.EnumNumber { 66 return protoreflect.EnumNumber(x) 67 } 68 69 // Deprecated: Use Cluster_FlagValue.Descriptor instead. 70 func (Cluster_FlagValue) EnumDescriptor() ([]byte, []int) { 71 return file_devenv_proto_rawDescGZIP(), []int{1, 0} 72 } 73 74 type ClusterID struct { 75 state protoimpl.MessageState 76 sizeCache protoimpl.SizeCache 77 unknownFields protoimpl.UnknownFields 78 79 EnvType string `protobuf:"bytes,1,opt,name=env_type,json=envType,proto3" json:"env_type,omitempty"` 80 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 81 } 82 83 func (x *ClusterID) Reset() { 84 *x = ClusterID{} 85 if protoimpl.UnsafeEnabled { 86 mi := &file_devenv_proto_msgTypes[0] 87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 88 ms.StoreMessageInfo(mi) 89 } 90 } 91 92 func (x *ClusterID) String() string { 93 return protoimpl.X.MessageStringOf(x) 94 } 95 96 func (*ClusterID) ProtoMessage() {} 97 98 func (x *ClusterID) ProtoReflect() protoreflect.Message { 99 mi := &file_devenv_proto_msgTypes[0] 100 if protoimpl.UnsafeEnabled && x != nil { 101 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 102 if ms.LoadMessageInfo() == nil { 103 ms.StoreMessageInfo(mi) 104 } 105 return ms 106 } 107 return mi.MessageOf(x) 108 } 109 110 // Deprecated: Use ClusterID.ProtoReflect.Descriptor instead. 111 func (*ClusterID) Descriptor() ([]byte, []int) { 112 return file_devenv_proto_rawDescGZIP(), []int{0} 113 } 114 115 func (x *ClusterID) GetEnvType() string { 116 if x != nil { 117 return x.EnvType 118 } 119 return "" 120 } 121 122 func (x *ClusterID) GetName() string { 123 if x != nil { 124 return x.Name 125 } 126 return "" 127 } 128 129 type Cluster struct { 130 state protoimpl.MessageState 131 sizeCache protoimpl.SizeCache 132 unknownFields protoimpl.UnknownFields 133 134 Id *ClusterID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 135 Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` 136 CreatedTs *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` 137 LastDeployTs *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_deploy_ts,json=lastDeployTs,proto3" json:"last_deploy_ts,omitempty"` 138 LastDeployAge uint32 `protobuf:"varint,10,opt,name=last_deploy_age,json=lastDeployAge,proto3" json:"last_deploy_age,omitempty"` 139 Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` 140 Sandbox bool `protobuf:"varint,8,opt,name=sandbox,proto3" json:"sandbox,omitempty"` 141 Az string `protobuf:"bytes,9,opt,name=az,proto3" json:"az,omitempty"` 142 Owner *Cluster_Owner `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"` 143 Flags map[string]Cluster_FlagValue `protobuf:"bytes,7,rep,name=flags,proto3" json:"flags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=infra.devenv.v1.Cluster_FlagValue"` 144 } 145 146 func (x *Cluster) Reset() { 147 *x = Cluster{} 148 if protoimpl.UnsafeEnabled { 149 mi := &file_devenv_proto_msgTypes[1] 150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 151 ms.StoreMessageInfo(mi) 152 } 153 } 154 155 func (x *Cluster) String() string { 156 return protoimpl.X.MessageStringOf(x) 157 } 158 159 func (*Cluster) ProtoMessage() {} 160 161 func (x *Cluster) ProtoReflect() protoreflect.Message { 162 mi := &file_devenv_proto_msgTypes[1] 163 if protoimpl.UnsafeEnabled && x != nil { 164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 165 if ms.LoadMessageInfo() == nil { 166 ms.StoreMessageInfo(mi) 167 } 168 return ms 169 } 170 return mi.MessageOf(x) 171 } 172 173 // Deprecated: Use Cluster.ProtoReflect.Descriptor instead. 174 func (*Cluster) Descriptor() ([]byte, []int) { 175 return file_devenv_proto_rawDescGZIP(), []int{1} 176 } 177 178 func (x *Cluster) GetId() *ClusterID { 179 if x != nil { 180 return x.Id 181 } 182 return nil 183 } 184 185 func (x *Cluster) GetProject() string { 186 if x != nil { 187 return x.Project 188 } 189 return "" 190 } 191 192 func (x *Cluster) GetCreatedTs() *timestamppb.Timestamp { 193 if x != nil { 194 return x.CreatedTs 195 } 196 return nil 197 } 198 199 func (x *Cluster) GetLastDeployTs() *timestamppb.Timestamp { 200 if x != nil { 201 return x.LastDeployTs 202 } 203 return nil 204 } 205 206 func (x *Cluster) GetLastDeployAge() uint32 { 207 if x != nil { 208 return x.LastDeployAge 209 } 210 return 0 211 } 212 213 func (x *Cluster) GetVersion() uint32 { 214 if x != nil { 215 return x.Version 216 } 217 return 0 218 } 219 220 func (x *Cluster) GetSandbox() bool { 221 if x != nil { 222 return x.Sandbox 223 } 224 return false 225 } 226 227 func (x *Cluster) GetAz() string { 228 if x != nil { 229 return x.Az 230 } 231 return "" 232 } 233 234 func (x *Cluster) GetOwner() *Cluster_Owner { 235 if x != nil { 236 return x.Owner 237 } 238 return nil 239 } 240 241 func (x *Cluster) GetFlags() map[string]Cluster_FlagValue { 242 if x != nil { 243 return x.Flags 244 } 245 return nil 246 } 247 248 type GetClusterRequest struct { 249 state protoimpl.MessageState 250 sizeCache protoimpl.SizeCache 251 unknownFields protoimpl.UnknownFields 252 253 Cluster *ClusterID `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` 254 } 255 256 func (x *GetClusterRequest) Reset() { 257 *x = GetClusterRequest{} 258 if protoimpl.UnsafeEnabled { 259 mi := &file_devenv_proto_msgTypes[2] 260 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 261 ms.StoreMessageInfo(mi) 262 } 263 } 264 265 func (x *GetClusterRequest) String() string { 266 return protoimpl.X.MessageStringOf(x) 267 } 268 269 func (*GetClusterRequest) ProtoMessage() {} 270 271 func (x *GetClusterRequest) ProtoReflect() protoreflect.Message { 272 mi := &file_devenv_proto_msgTypes[2] 273 if protoimpl.UnsafeEnabled && x != nil { 274 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 275 if ms.LoadMessageInfo() == nil { 276 ms.StoreMessageInfo(mi) 277 } 278 return ms 279 } 280 return mi.MessageOf(x) 281 } 282 283 // Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead. 284 func (*GetClusterRequest) Descriptor() ([]byte, []int) { 285 return file_devenv_proto_rawDescGZIP(), []int{2} 286 } 287 288 func (x *GetClusterRequest) GetCluster() *ClusterID { 289 if x != nil { 290 return x.Cluster 291 } 292 return nil 293 } 294 295 type GetClusterResponse struct { 296 state protoimpl.MessageState 297 sizeCache protoimpl.SizeCache 298 unknownFields protoimpl.UnknownFields 299 300 // Types that are assignable to Response: 301 // *GetClusterResponse_SuccessResponse 302 // *GetClusterResponse_ErrorResponse 303 Response isGetClusterResponse_Response `protobuf_oneof:"response"` 304 } 305 306 func (x *GetClusterResponse) Reset() { 307 *x = GetClusterResponse{} 308 if protoimpl.UnsafeEnabled { 309 mi := &file_devenv_proto_msgTypes[3] 310 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 311 ms.StoreMessageInfo(mi) 312 } 313 } 314 315 func (x *GetClusterResponse) String() string { 316 return protoimpl.X.MessageStringOf(x) 317 } 318 319 func (*GetClusterResponse) ProtoMessage() {} 320 321 func (x *GetClusterResponse) ProtoReflect() protoreflect.Message { 322 mi := &file_devenv_proto_msgTypes[3] 323 if protoimpl.UnsafeEnabled && x != nil { 324 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 325 if ms.LoadMessageInfo() == nil { 326 ms.StoreMessageInfo(mi) 327 } 328 return ms 329 } 330 return mi.MessageOf(x) 331 } 332 333 // Deprecated: Use GetClusterResponse.ProtoReflect.Descriptor instead. 334 func (*GetClusterResponse) Descriptor() ([]byte, []int) { 335 return file_devenv_proto_rawDescGZIP(), []int{3} 336 } 337 338 func (m *GetClusterResponse) GetResponse() isGetClusterResponse_Response { 339 if m != nil { 340 return m.Response 341 } 342 return nil 343 } 344 345 func (x *GetClusterResponse) GetSuccessResponse() *GetClusterResponse_GetClusterSuccessResponse { 346 if x, ok := x.GetResponse().(*GetClusterResponse_SuccessResponse); ok { 347 return x.SuccessResponse 348 } 349 return nil 350 } 351 352 func (x *GetClusterResponse) GetErrorResponse() *Error { 353 if x, ok := x.GetResponse().(*GetClusterResponse_ErrorResponse); ok { 354 return x.ErrorResponse 355 } 356 return nil 357 } 358 359 type isGetClusterResponse_Response interface { 360 isGetClusterResponse_Response() 361 } 362 363 type GetClusterResponse_SuccessResponse struct { 364 SuccessResponse *GetClusterResponse_GetClusterSuccessResponse `protobuf:"bytes,1,opt,name=success_response,json=successResponse,proto3,oneof"` 365 } 366 367 type GetClusterResponse_ErrorResponse struct { 368 ErrorResponse *Error `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,proto3,oneof"` 369 } 370 371 func (*GetClusterResponse_SuccessResponse) isGetClusterResponse_Response() {} 372 373 func (*GetClusterResponse_ErrorResponse) isGetClusterResponse_Response() {} 374 375 type ListClustersResponse struct { 376 state protoimpl.MessageState 377 sizeCache protoimpl.SizeCache 378 unknownFields protoimpl.UnknownFields 379 380 // Types that are assignable to Response: 381 // *ListClustersResponse_SuccessResponse 382 // *ListClustersResponse_ErrorResponse 383 Response isListClustersResponse_Response `protobuf_oneof:"response"` 384 } 385 386 func (x *ListClustersResponse) Reset() { 387 *x = ListClustersResponse{} 388 if protoimpl.UnsafeEnabled { 389 mi := &file_devenv_proto_msgTypes[4] 390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 391 ms.StoreMessageInfo(mi) 392 } 393 } 394 395 func (x *ListClustersResponse) String() string { 396 return protoimpl.X.MessageStringOf(x) 397 } 398 399 func (*ListClustersResponse) ProtoMessage() {} 400 401 func (x *ListClustersResponse) ProtoReflect() protoreflect.Message { 402 mi := &file_devenv_proto_msgTypes[4] 403 if protoimpl.UnsafeEnabled && x != nil { 404 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 405 if ms.LoadMessageInfo() == nil { 406 ms.StoreMessageInfo(mi) 407 } 408 return ms 409 } 410 return mi.MessageOf(x) 411 } 412 413 // Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead. 414 func (*ListClustersResponse) Descriptor() ([]byte, []int) { 415 return file_devenv_proto_rawDescGZIP(), []int{4} 416 } 417 418 func (m *ListClustersResponse) GetResponse() isListClustersResponse_Response { 419 if m != nil { 420 return m.Response 421 } 422 return nil 423 } 424 425 func (x *ListClustersResponse) GetSuccessResponse() *ListClustersResponse_ListClustersSuccessResponse { 426 if x, ok := x.GetResponse().(*ListClustersResponse_SuccessResponse); ok { 427 return x.SuccessResponse 428 } 429 return nil 430 } 431 432 func (x *ListClustersResponse) GetErrorResponse() *Error { 433 if x, ok := x.GetResponse().(*ListClustersResponse_ErrorResponse); ok { 434 return x.ErrorResponse 435 } 436 return nil 437 } 438 439 type isListClustersResponse_Response interface { 440 isListClustersResponse_Response() 441 } 442 443 type ListClustersResponse_SuccessResponse struct { 444 SuccessResponse *ListClustersResponse_ListClustersSuccessResponse `protobuf:"bytes,1,opt,name=success_response,json=successResponse,proto3,oneof"` 445 } 446 447 type ListClustersResponse_ErrorResponse struct { 448 ErrorResponse *Error `protobuf:"bytes,2,opt,name=error_response,json=errorResponse,proto3,oneof"` 449 } 450 451 func (*ListClustersResponse_SuccessResponse) isListClustersResponse_Response() {} 452 453 func (*ListClustersResponse_ErrorResponse) isListClustersResponse_Response() {} 454 455 type Error struct { 456 state protoimpl.MessageState 457 sizeCache protoimpl.SizeCache 458 unknownFields protoimpl.UnknownFields 459 460 // Types that are assignable to Error: 461 // *Error_GenericError 462 // *Error_ClusterNotFoundError 463 // *Error_StateFlagNotFound_ 464 Error isError_Error `protobuf_oneof:"error"` 465 } 466 467 func (x *Error) Reset() { 468 *x = Error{} 469 if protoimpl.UnsafeEnabled { 470 mi := &file_devenv_proto_msgTypes[5] 471 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 472 ms.StoreMessageInfo(mi) 473 } 474 } 475 476 func (x *Error) String() string { 477 return protoimpl.X.MessageStringOf(x) 478 } 479 480 func (*Error) ProtoMessage() {} 481 482 func (x *Error) ProtoReflect() protoreflect.Message { 483 mi := &file_devenv_proto_msgTypes[5] 484 if protoimpl.UnsafeEnabled && x != nil { 485 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 486 if ms.LoadMessageInfo() == nil { 487 ms.StoreMessageInfo(mi) 488 } 489 return ms 490 } 491 return mi.MessageOf(x) 492 } 493 494 // Deprecated: Use Error.ProtoReflect.Descriptor instead. 495 func (*Error) Descriptor() ([]byte, []int) { 496 return file_devenv_proto_rawDescGZIP(), []int{5} 497 } 498 499 func (m *Error) GetError() isError_Error { 500 if m != nil { 501 return m.Error 502 } 503 return nil 504 } 505 506 func (x *Error) GetGenericError() *Error_Generic { 507 if x, ok := x.GetError().(*Error_GenericError); ok { 508 return x.GenericError 509 } 510 return nil 511 } 512 513 func (x *Error) GetClusterNotFoundError() *Error_ClusterNotFound { 514 if x, ok := x.GetError().(*Error_ClusterNotFoundError); ok { 515 return x.ClusterNotFoundError 516 } 517 return nil 518 } 519 520 func (x *Error) GetStateFlagNotFound() *Error_StateFlagNotFound { 521 if x, ok := x.GetError().(*Error_StateFlagNotFound_); ok { 522 return x.StateFlagNotFound 523 } 524 return nil 525 } 526 527 type isError_Error interface { 528 isError_Error() 529 } 530 531 type Error_GenericError struct { 532 GenericError *Error_Generic `protobuf:"bytes,1,opt,name=generic_error,json=genericError,proto3,oneof"` 533 } 534 535 type Error_ClusterNotFoundError struct { 536 ClusterNotFoundError *Error_ClusterNotFound `protobuf:"bytes,2,opt,name=cluster_not_found_error,json=clusterNotFoundError,proto3,oneof"` 537 } 538 539 type Error_StateFlagNotFound_ struct { 540 StateFlagNotFound *Error_StateFlagNotFound `protobuf:"bytes,3,opt,name=state_flag_not_found,json=stateFlagNotFound,proto3,oneof"` 541 } 542 543 func (*Error_GenericError) isError_Error() {} 544 545 func (*Error_ClusterNotFoundError) isError_Error() {} 546 547 func (*Error_StateFlagNotFound_) isError_Error() {} 548 549 type Cluster_Owner struct { 550 state protoimpl.MessageState 551 sizeCache protoimpl.SizeCache 552 unknownFields protoimpl.UnknownFields 553 554 LdapUsername string `protobuf:"bytes,1,opt,name=ldap_username,json=ldapUsername,proto3" json:"ldap_username,omitempty"` 555 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 556 Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` 557 } 558 559 func (x *Cluster_Owner) Reset() { 560 *x = Cluster_Owner{} 561 if protoimpl.UnsafeEnabled { 562 mi := &file_devenv_proto_msgTypes[6] 563 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 564 ms.StoreMessageInfo(mi) 565 } 566 } 567 568 func (x *Cluster_Owner) String() string { 569 return protoimpl.X.MessageStringOf(x) 570 } 571 572 func (*Cluster_Owner) ProtoMessage() {} 573 574 func (x *Cluster_Owner) ProtoReflect() protoreflect.Message { 575 mi := &file_devenv_proto_msgTypes[6] 576 if protoimpl.UnsafeEnabled && x != nil { 577 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 578 if ms.LoadMessageInfo() == nil { 579 ms.StoreMessageInfo(mi) 580 } 581 return ms 582 } 583 return mi.MessageOf(x) 584 } 585 586 // Deprecated: Use Cluster_Owner.ProtoReflect.Descriptor instead. 587 func (*Cluster_Owner) Descriptor() ([]byte, []int) { 588 return file_devenv_proto_rawDescGZIP(), []int{1, 0} 589 } 590 591 func (x *Cluster_Owner) GetLdapUsername() string { 592 if x != nil { 593 return x.LdapUsername 594 } 595 return "" 596 } 597 598 func (x *Cluster_Owner) GetName() string { 599 if x != nil { 600 return x.Name 601 } 602 return "" 603 } 604 605 func (x *Cluster_Owner) GetEmail() string { 606 if x != nil { 607 return x.Email 608 } 609 return "" 610 } 611 612 type GetClusterResponse_GetClusterSuccessResponse struct { 613 state protoimpl.MessageState 614 sizeCache protoimpl.SizeCache 615 unknownFields protoimpl.UnknownFields 616 617 Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` 618 } 619 620 func (x *GetClusterResponse_GetClusterSuccessResponse) Reset() { 621 *x = GetClusterResponse_GetClusterSuccessResponse{} 622 if protoimpl.UnsafeEnabled { 623 mi := &file_devenv_proto_msgTypes[8] 624 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 625 ms.StoreMessageInfo(mi) 626 } 627 } 628 629 func (x *GetClusterResponse_GetClusterSuccessResponse) String() string { 630 return protoimpl.X.MessageStringOf(x) 631 } 632 633 func (*GetClusterResponse_GetClusterSuccessResponse) ProtoMessage() {} 634 635 func (x *GetClusterResponse_GetClusterSuccessResponse) ProtoReflect() protoreflect.Message { 636 mi := &file_devenv_proto_msgTypes[8] 637 if protoimpl.UnsafeEnabled && x != nil { 638 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 639 if ms.LoadMessageInfo() == nil { 640 ms.StoreMessageInfo(mi) 641 } 642 return ms 643 } 644 return mi.MessageOf(x) 645 } 646 647 // Deprecated: Use GetClusterResponse_GetClusterSuccessResponse.ProtoReflect.Descriptor instead. 648 func (*GetClusterResponse_GetClusterSuccessResponse) Descriptor() ([]byte, []int) { 649 return file_devenv_proto_rawDescGZIP(), []int{3, 0} 650 } 651 652 func (x *GetClusterResponse_GetClusterSuccessResponse) GetCluster() *Cluster { 653 if x != nil { 654 return x.Cluster 655 } 656 return nil 657 } 658 659 type ListClustersResponse_ListClustersSuccessResponse struct { 660 state protoimpl.MessageState 661 sizeCache protoimpl.SizeCache 662 unknownFields protoimpl.UnknownFields 663 664 Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` 665 } 666 667 func (x *ListClustersResponse_ListClustersSuccessResponse) Reset() { 668 *x = ListClustersResponse_ListClustersSuccessResponse{} 669 if protoimpl.UnsafeEnabled { 670 mi := &file_devenv_proto_msgTypes[9] 671 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 672 ms.StoreMessageInfo(mi) 673 } 674 } 675 676 func (x *ListClustersResponse_ListClustersSuccessResponse) String() string { 677 return protoimpl.X.MessageStringOf(x) 678 } 679 680 func (*ListClustersResponse_ListClustersSuccessResponse) ProtoMessage() {} 681 682 func (x *ListClustersResponse_ListClustersSuccessResponse) ProtoReflect() protoreflect.Message { 683 mi := &file_devenv_proto_msgTypes[9] 684 if protoimpl.UnsafeEnabled && x != nil { 685 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 686 if ms.LoadMessageInfo() == nil { 687 ms.StoreMessageInfo(mi) 688 } 689 return ms 690 } 691 return mi.MessageOf(x) 692 } 693 694 // Deprecated: Use ListClustersResponse_ListClustersSuccessResponse.ProtoReflect.Descriptor instead. 695 func (*ListClustersResponse_ListClustersSuccessResponse) Descriptor() ([]byte, []int) { 696 return file_devenv_proto_rawDescGZIP(), []int{4, 0} 697 } 698 699 func (x *ListClustersResponse_ListClustersSuccessResponse) GetClusters() []*Cluster { 700 if x != nil { 701 return x.Clusters 702 } 703 return nil 704 } 705 706 type Error_Generic struct { 707 state protoimpl.MessageState 708 sizeCache protoimpl.SizeCache 709 unknownFields protoimpl.UnknownFields 710 711 Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` 712 } 713 714 func (x *Error_Generic) Reset() { 715 *x = Error_Generic{} 716 if protoimpl.UnsafeEnabled { 717 mi := &file_devenv_proto_msgTypes[10] 718 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 719 ms.StoreMessageInfo(mi) 720 } 721 } 722 723 func (x *Error_Generic) String() string { 724 return protoimpl.X.MessageStringOf(x) 725 } 726 727 func (*Error_Generic) ProtoMessage() {} 728 729 func (x *Error_Generic) ProtoReflect() protoreflect.Message { 730 mi := &file_devenv_proto_msgTypes[10] 731 if protoimpl.UnsafeEnabled && x != nil { 732 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 733 if ms.LoadMessageInfo() == nil { 734 ms.StoreMessageInfo(mi) 735 } 736 return ms 737 } 738 return mi.MessageOf(x) 739 } 740 741 // Deprecated: Use Error_Generic.ProtoReflect.Descriptor instead. 742 func (*Error_Generic) Descriptor() ([]byte, []int) { 743 return file_devenv_proto_rawDescGZIP(), []int{5, 0} 744 } 745 746 func (x *Error_Generic) GetMessage() string { 747 if x != nil { 748 return x.Message 749 } 750 return "" 751 } 752 753 type Error_ClusterNotFound struct { 754 state protoimpl.MessageState 755 sizeCache protoimpl.SizeCache 756 unknownFields protoimpl.UnknownFields 757 } 758 759 func (x *Error_ClusterNotFound) Reset() { 760 *x = Error_ClusterNotFound{} 761 if protoimpl.UnsafeEnabled { 762 mi := &file_devenv_proto_msgTypes[11] 763 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 764 ms.StoreMessageInfo(mi) 765 } 766 } 767 768 func (x *Error_ClusterNotFound) String() string { 769 return protoimpl.X.MessageStringOf(x) 770 } 771 772 func (*Error_ClusterNotFound) ProtoMessage() {} 773 774 func (x *Error_ClusterNotFound) ProtoReflect() protoreflect.Message { 775 mi := &file_devenv_proto_msgTypes[11] 776 if protoimpl.UnsafeEnabled && x != nil { 777 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 778 if ms.LoadMessageInfo() == nil { 779 ms.StoreMessageInfo(mi) 780 } 781 return ms 782 } 783 return mi.MessageOf(x) 784 } 785 786 // Deprecated: Use Error_ClusterNotFound.ProtoReflect.Descriptor instead. 787 func (*Error_ClusterNotFound) Descriptor() ([]byte, []int) { 788 return file_devenv_proto_rawDescGZIP(), []int{5, 1} 789 } 790 791 type Error_StateFlagNotFound struct { 792 state protoimpl.MessageState 793 sizeCache protoimpl.SizeCache 794 unknownFields protoimpl.UnknownFields 795 } 796 797 func (x *Error_StateFlagNotFound) Reset() { 798 *x = Error_StateFlagNotFound{} 799 if protoimpl.UnsafeEnabled { 800 mi := &file_devenv_proto_msgTypes[12] 801 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 802 ms.StoreMessageInfo(mi) 803 } 804 } 805 806 func (x *Error_StateFlagNotFound) String() string { 807 return protoimpl.X.MessageStringOf(x) 808 } 809 810 func (*Error_StateFlagNotFound) ProtoMessage() {} 811 812 func (x *Error_StateFlagNotFound) ProtoReflect() protoreflect.Message { 813 mi := &file_devenv_proto_msgTypes[12] 814 if protoimpl.UnsafeEnabled && x != nil { 815 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 816 if ms.LoadMessageInfo() == nil { 817 ms.StoreMessageInfo(mi) 818 } 819 return ms 820 } 821 return mi.MessageOf(x) 822 } 823 824 // Deprecated: Use Error_StateFlagNotFound.ProtoReflect.Descriptor instead. 825 func (*Error_StateFlagNotFound) Descriptor() ([]byte, []int) { 826 return file_devenv_proto_rawDescGZIP(), []int{5, 2} 827 } 828 829 var File_devenv_proto protoreflect.FileDescriptor 830 831 var file_devenv_proto_rawDesc = []byte{ 832 0x0a, 0x0c, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 833 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 0x2e, 0x76, 0x31, 0x1a, 834 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 835 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 836 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 837 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 838 0x09, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x44, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 839 0x76, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 840 0x76, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 841 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x8a, 0x05, 0x0a, 0x07, 0x43, 0x6c, 842 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 843 0x0b, 0x32, 0x1a, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 844 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x44, 0x52, 0x02, 0x69, 845 0x64, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 846 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x63, 847 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 848 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 849 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 850 0x61, 0x74, 0x65, 0x64, 0x54, 0x73, 0x12, 0x40, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x64, 851 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x5f, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 852 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 853 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 854 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x54, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x61, 0x73, 0x74, 855 0x5f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x5f, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 856 0x0d, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x41, 0x67, 0x65, 857 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 858 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x61, 859 0x6e, 0x64, 0x62, 0x6f, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x61, 0x6e, 860 0x64, 0x62, 0x6f, 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x7a, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 861 0x52, 0x02, 0x61, 0x7a, 0x12, 0x34, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x06, 0x20, 862 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 863 0x6e, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x4f, 0x77, 864 0x6e, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x05, 0x66, 0x6c, 865 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x66, 0x72, 866 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x75, 0x73, 867 0x74, 0x65, 0x72, 0x2e, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 868 0x66, 0x6c, 0x61, 0x67, 0x73, 0x1a, 0x56, 0x0a, 0x05, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x23, 869 0x0a, 0x0d, 0x6c, 0x64, 0x61, 0x70, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 870 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x64, 0x61, 0x70, 0x55, 0x73, 0x65, 0x72, 0x6e, 871 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 872 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 873 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x1a, 0x5c, 0x0a, 874 0x0a, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 875 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x38, 0x0a, 876 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x69, 877 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x43, 878 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x46, 0x6c, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 879 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x29, 0x0a, 0x09, 0x46, 880 0x6c, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4e, 0x10, 0x00, 881 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x46, 0x46, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 882 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x02, 0x22, 0x49, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 883 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x63, 884 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x69, 885 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x43, 886 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x44, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 887 0x72, 0x22, 0x9e, 0x02, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 888 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, 0x0a, 0x10, 0x73, 0x75, 0x63, 0x63, 889 0x65, 0x73, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 890 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 0x6e, 891 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 892 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 893 0x65, 0x72, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 894 0x65, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 895 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0e, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 896 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x69, 897 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x45, 898 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 899 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x4f, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 900 0x74, 0x65, 0x72, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 901 0x73, 0x65, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 902 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 903 0x6e, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 904 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 905 0x73, 0x65, 0x22, 0xa8, 0x02, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 906 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x10, 0x73, 907 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 908 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 909 0x76, 0x65, 0x6e, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6c, 0x75, 0x73, 910 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x69, 0x73, 911 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 912 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x75, 0x63, 0x63, 913 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0e, 0x65, 914 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 915 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 916 0x6e, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0d, 0x65, 917 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x53, 0x0a, 0x1b, 918 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x53, 0x75, 0x63, 0x63, 919 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x63, 920 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 921 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 0x2e, 0x76, 0x31, 0x2e, 922 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 923 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe2, 0x02, 924 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x45, 0x0a, 0x0d, 0x67, 0x65, 0x6e, 0x65, 0x72, 925 0x69, 0x63, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 926 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 0x2e, 0x76, 0x31, 927 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x48, 0x00, 928 0x52, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x5f, 929 0x0a, 0x17, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f, 930 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 931 0x26, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 0x2e, 0x76, 932 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 933 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x14, 0x63, 0x6c, 0x75, 0x73, 0x74, 934 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 935 0x5b, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x5f, 0x6e, 0x6f, 936 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 937 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 0x2e, 0x76, 0x31, 0x2e, 938 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x4e, 939 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x11, 0x73, 0x74, 0x61, 0x74, 0x65, 940 0x46, 0x6c, 0x61, 0x67, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x23, 0x0a, 0x07, 941 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 942 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 943 0x65, 0x1a, 0x11, 0x0a, 0x0f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x46, 944 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x13, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x61, 945 0x67, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x72, 0x72, 946 0x6f, 0x72, 0x32, 0xb8, 0x01, 0x0a, 0x0c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 947 0x61, 0x74, 0x65, 0x12, 0x57, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 948 0x72, 0x12, 0x22, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 949 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 950 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 951 0x76, 0x65, 0x6e, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 952 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0c, 953 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x67, 954 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 955 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x25, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x64, 0x65, 0x76, 956 0x65, 0x6e, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 957 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x53, 0x5a, 958 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6a, 0x6f, 0x6f, 0x6d, 959 0x63, 0x6f, 0x64, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x69, 0x6e, 0x66, 960 0x72, 0x61, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 0x2f, 0x64, 0x65, 961 0x76, 0x65, 0x6e, 0x76, 0x2f, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 0x67, 0x72, 0x70, 0x63, 0x69, 962 0x6d, 0x70, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x64, 0x65, 0x76, 0x65, 0x6e, 0x76, 963 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 964 } 965 966 var ( 967 file_devenv_proto_rawDescOnce sync.Once 968 file_devenv_proto_rawDescData = file_devenv_proto_rawDesc 969 ) 970 971 func file_devenv_proto_rawDescGZIP() []byte { 972 file_devenv_proto_rawDescOnce.Do(func() { 973 file_devenv_proto_rawDescData = protoimpl.X.CompressGZIP(file_devenv_proto_rawDescData) 974 }) 975 return file_devenv_proto_rawDescData 976 } 977 978 var file_devenv_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 979 var file_devenv_proto_msgTypes = make([]protoimpl.MessageInfo, 13) 980 var file_devenv_proto_goTypes = []interface{}{ 981 (Cluster_FlagValue)(0), // 0: infra.devenv.v1.Cluster.FlagValue 982 (*ClusterID)(nil), // 1: infra.devenv.v1.ClusterID 983 (*Cluster)(nil), // 2: infra.devenv.v1.Cluster 984 (*GetClusterRequest)(nil), // 3: infra.devenv.v1.GetClusterRequest 985 (*GetClusterResponse)(nil), // 4: infra.devenv.v1.GetClusterResponse 986 (*ListClustersResponse)(nil), // 5: infra.devenv.v1.ListClustersResponse 987 (*Error)(nil), // 6: infra.devenv.v1.Error 988 (*Cluster_Owner)(nil), // 7: infra.devenv.v1.Cluster.Owner 989 nil, // 8: infra.devenv.v1.Cluster.FlagsEntry 990 (*GetClusterResponse_GetClusterSuccessResponse)(nil), // 9: infra.devenv.v1.GetClusterResponse.GetClusterSuccessResponse 991 (*ListClustersResponse_ListClustersSuccessResponse)(nil), // 10: infra.devenv.v1.ListClustersResponse.ListClustersSuccessResponse 992 (*Error_Generic)(nil), // 11: infra.devenv.v1.Error.Generic 993 (*Error_ClusterNotFound)(nil), // 12: infra.devenv.v1.Error.ClusterNotFound 994 (*Error_StateFlagNotFound)(nil), // 13: infra.devenv.v1.Error.StateFlagNotFound 995 (*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp 996 (*emptypb.Empty)(nil), // 15: google.protobuf.Empty 997 } 998 var file_devenv_proto_depIdxs = []int32{ 999 1, // 0: infra.devenv.v1.Cluster.id:type_name -> infra.devenv.v1.ClusterID 1000 14, // 1: infra.devenv.v1.Cluster.created_ts:type_name -> google.protobuf.Timestamp 1001 14, // 2: infra.devenv.v1.Cluster.last_deploy_ts:type_name -> google.protobuf.Timestamp 1002 7, // 3: infra.devenv.v1.Cluster.owner:type_name -> infra.devenv.v1.Cluster.Owner 1003 8, // 4: infra.devenv.v1.Cluster.flags:type_name -> infra.devenv.v1.Cluster.FlagsEntry 1004 1, // 5: infra.devenv.v1.GetClusterRequest.cluster:type_name -> infra.devenv.v1.ClusterID 1005 9, // 6: infra.devenv.v1.GetClusterResponse.success_response:type_name -> infra.devenv.v1.GetClusterResponse.GetClusterSuccessResponse 1006 6, // 7: infra.devenv.v1.GetClusterResponse.error_response:type_name -> infra.devenv.v1.Error 1007 10, // 8: infra.devenv.v1.ListClustersResponse.success_response:type_name -> infra.devenv.v1.ListClustersResponse.ListClustersSuccessResponse 1008 6, // 9: infra.devenv.v1.ListClustersResponse.error_response:type_name -> infra.devenv.v1.Error 1009 11, // 10: infra.devenv.v1.Error.generic_error:type_name -> infra.devenv.v1.Error.Generic 1010 12, // 11: infra.devenv.v1.Error.cluster_not_found_error:type_name -> infra.devenv.v1.Error.ClusterNotFound 1011 13, // 12: infra.devenv.v1.Error.state_flag_not_found:type_name -> infra.devenv.v1.Error.StateFlagNotFound 1012 0, // 13: infra.devenv.v1.Cluster.FlagsEntry.value:type_name -> infra.devenv.v1.Cluster.FlagValue 1013 2, // 14: infra.devenv.v1.GetClusterResponse.GetClusterSuccessResponse.cluster:type_name -> infra.devenv.v1.Cluster 1014 2, // 15: infra.devenv.v1.ListClustersResponse.ListClustersSuccessResponse.clusters:type_name -> infra.devenv.v1.Cluster 1015 3, // 16: infra.devenv.v1.ClusterState.GetCluster:input_type -> infra.devenv.v1.GetClusterRequest 1016 15, // 17: infra.devenv.v1.ClusterState.ListClusters:input_type -> google.protobuf.Empty 1017 4, // 18: infra.devenv.v1.ClusterState.GetCluster:output_type -> infra.devenv.v1.GetClusterResponse 1018 5, // 19: infra.devenv.v1.ClusterState.ListClusters:output_type -> infra.devenv.v1.ListClustersResponse 1019 18, // [18:20] is the sub-list for method output_type 1020 16, // [16:18] is the sub-list for method input_type 1021 16, // [16:16] is the sub-list for extension type_name 1022 16, // [16:16] is the sub-list for extension extendee 1023 0, // [0:16] is the sub-list for field type_name 1024 } 1025 1026 func init() { file_devenv_proto_init() } 1027 func file_devenv_proto_init() { 1028 if File_devenv_proto != nil { 1029 return 1030 } 1031 if !protoimpl.UnsafeEnabled { 1032 file_devenv_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1033 switch v := v.(*ClusterID); i { 1034 case 0: 1035 return &v.state 1036 case 1: 1037 return &v.sizeCache 1038 case 2: 1039 return &v.unknownFields 1040 default: 1041 return nil 1042 } 1043 } 1044 file_devenv_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1045 switch v := v.(*Cluster); i { 1046 case 0: 1047 return &v.state 1048 case 1: 1049 return &v.sizeCache 1050 case 2: 1051 return &v.unknownFields 1052 default: 1053 return nil 1054 } 1055 } 1056 file_devenv_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1057 switch v := v.(*GetClusterRequest); i { 1058 case 0: 1059 return &v.state 1060 case 1: 1061 return &v.sizeCache 1062 case 2: 1063 return &v.unknownFields 1064 default: 1065 return nil 1066 } 1067 } 1068 file_devenv_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1069 switch v := v.(*GetClusterResponse); i { 1070 case 0: 1071 return &v.state 1072 case 1: 1073 return &v.sizeCache 1074 case 2: 1075 return &v.unknownFields 1076 default: 1077 return nil 1078 } 1079 } 1080 file_devenv_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1081 switch v := v.(*ListClustersResponse); i { 1082 case 0: 1083 return &v.state 1084 case 1: 1085 return &v.sizeCache 1086 case 2: 1087 return &v.unknownFields 1088 default: 1089 return nil 1090 } 1091 } 1092 file_devenv_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1093 switch v := v.(*Error); i { 1094 case 0: 1095 return &v.state 1096 case 1: 1097 return &v.sizeCache 1098 case 2: 1099 return &v.unknownFields 1100 default: 1101 return nil 1102 } 1103 } 1104 file_devenv_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1105 switch v := v.(*Cluster_Owner); i { 1106 case 0: 1107 return &v.state 1108 case 1: 1109 return &v.sizeCache 1110 case 2: 1111 return &v.unknownFields 1112 default: 1113 return nil 1114 } 1115 } 1116 file_devenv_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1117 switch v := v.(*GetClusterResponse_GetClusterSuccessResponse); i { 1118 case 0: 1119 return &v.state 1120 case 1: 1121 return &v.sizeCache 1122 case 2: 1123 return &v.unknownFields 1124 default: 1125 return nil 1126 } 1127 } 1128 file_devenv_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1129 switch v := v.(*ListClustersResponse_ListClustersSuccessResponse); i { 1130 case 0: 1131 return &v.state 1132 case 1: 1133 return &v.sizeCache 1134 case 2: 1135 return &v.unknownFields 1136 default: 1137 return nil 1138 } 1139 } 1140 file_devenv_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1141 switch v := v.(*Error_Generic); i { 1142 case 0: 1143 return &v.state 1144 case 1: 1145 return &v.sizeCache 1146 case 2: 1147 return &v.unknownFields 1148 default: 1149 return nil 1150 } 1151 } 1152 file_devenv_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1153 switch v := v.(*Error_ClusterNotFound); i { 1154 case 0: 1155 return &v.state 1156 case 1: 1157 return &v.sizeCache 1158 case 2: 1159 return &v.unknownFields 1160 default: 1161 return nil 1162 } 1163 } 1164 file_devenv_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1165 switch v := v.(*Error_StateFlagNotFound); 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 } 1177 file_devenv_proto_msgTypes[3].OneofWrappers = []interface{}{ 1178 (*GetClusterResponse_SuccessResponse)(nil), 1179 (*GetClusterResponse_ErrorResponse)(nil), 1180 } 1181 file_devenv_proto_msgTypes[4].OneofWrappers = []interface{}{ 1182 (*ListClustersResponse_SuccessResponse)(nil), 1183 (*ListClustersResponse_ErrorResponse)(nil), 1184 } 1185 file_devenv_proto_msgTypes[5].OneofWrappers = []interface{}{ 1186 (*Error_GenericError)(nil), 1187 (*Error_ClusterNotFoundError)(nil), 1188 (*Error_StateFlagNotFound_)(nil), 1189 } 1190 type x struct{} 1191 out := protoimpl.TypeBuilder{ 1192 File: protoimpl.DescBuilder{ 1193 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1194 RawDescriptor: file_devenv_proto_rawDesc, 1195 NumEnums: 1, 1196 NumMessages: 13, 1197 NumExtensions: 0, 1198 NumServices: 1, 1199 }, 1200 GoTypes: file_devenv_proto_goTypes, 1201 DependencyIndexes: file_devenv_proto_depIdxs, 1202 EnumInfos: file_devenv_proto_enumTypes, 1203 MessageInfos: file_devenv_proto_msgTypes, 1204 }.Build() 1205 File_devenv_proto = out.File 1206 file_devenv_proto_rawDesc = nil 1207 file_devenv_proto_goTypes = nil 1208 file_devenv_proto_depIdxs = nil 1209 }