github.com/cloudwan/edgelq-sdk@v1.15.4/iam/client/v1/service_projects_management/service_projects_management_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/iam/proto/v1/service_projects_management_custom.proto 3 // DO NOT EDIT!!! 4 5 package service_projects_management_client 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 api "github.com/cloudwan/edgelq-sdk/common/api" 21 iam_common "github.com/cloudwan/edgelq-sdk/iam/resources/v1/common" 22 organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization" 23 project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 24 role "github.com/cloudwan/edgelq-sdk/iam/resources/v1/role" 25 service_account "github.com/cloudwan/edgelq-sdk/iam/resources/v1/service_account" 26 service_account_key "github.com/cloudwan/edgelq-sdk/iam/resources/v1/service_account_key" 27 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 28 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 29 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 30 ) 31 32 // Reference imports to suppress errors if they are not otherwise used. 33 var ( 34 _ = fmt.Errorf 35 _ = reflect.Method{} 36 _ = sync.Once{} 37 38 _ = protojson.MarshalOptions{} 39 _ = proto.MarshalOptions{} 40 _ = preflect.Value{} 41 _ = protoimpl.DescBuilder{} 42 ) 43 44 // make sure we're using proto imports 45 var ( 46 _ = &api.Account{} 47 _ = &iam_common.PCR{} 48 _ = &organization.Organization{} 49 _ = &project.Project{} 50 _ = &role.Role{} 51 _ = &service_account.ServiceAccount{} 52 _ = &service_account_key.ServiceAccountKey{} 53 _ = &fieldmaskpb.FieldMask{} 54 _ = &meta_service.Service{} 55 _ = &multi_region_policy.MultiRegionPolicy{} 56 ) 57 58 const ( 59 // Verify that this generated code is sufficiently up-to-date. 60 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 61 // Verify that runtime/protoimpl is sufficiently up-to-date. 62 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 63 ) 64 65 // Request message for method 66 // [ListMyServiceProjects][ntt.iam.v1.ListMyServiceProjects] 67 type ListMyServiceProjectsRequest struct { 68 state protoimpl.MessageState 69 sizeCache protoimpl.SizeCache 70 unknownFields protoimpl.UnknownFields 71 // Requested page size. Server may return fewer Projects than requested. 72 // If unspecified, server will pick an appropriate default. 73 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 74 // A token identifying a page of results the server should return. 75 // Typically, this is the value of 76 // [ListProjectsResponse.next_page_token][ntt.iam.v1.ListMyServiceProjectsResponse.next_page_token] 77 PageToken *project.PagerCursor `protobuf:"bytes,3,opt,customtype=PagerCursor,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 78 // Order By - 79 // https://cloud.google.com/apis/design/design_patterns#list_pagination list 80 // of field path with order directive, either 'asc' or 'desc'. If direction is 81 // not provided, 'asc' is assumed. e.g. "state.nested_field asc, 82 // state.something.else desc, theme" 83 OrderBy *project.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` 84 // Filter - filter results by field criteria. Simplified SQL-like syntax with 85 // following operators: 86 // <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS 87 // [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels 88 // CONTAINS "severity:important" OR (state.last_error_time > 89 // "2018-11-15T10:00:00Z" AND state.status = "ERROR")' 90 Filter *project.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"` 91 // A FieldMask used to filter response fields. When present, only requested 92 // fields will be present in each response item. Omitting field_mask results 93 // will cause response items to contain all present fields. 94 FieldMask *project.Project_FieldMask `protobuf:"bytes,6,opt,customtype=Project_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 95 } 96 97 func (m *ListMyServiceProjectsRequest) Reset() { 98 *m = ListMyServiceProjectsRequest{} 99 if protoimpl.UnsafeEnabled { 100 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[0] 101 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 102 ms.StoreMessageInfo(mi) 103 } 104 } 105 106 func (m *ListMyServiceProjectsRequest) String() string { 107 return protoimpl.X.MessageStringOf(m) 108 } 109 110 func (*ListMyServiceProjectsRequest) ProtoMessage() {} 111 112 func (m *ListMyServiceProjectsRequest) ProtoReflect() preflect.Message { 113 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[0] 114 if protoimpl.UnsafeEnabled && m != nil { 115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 116 if ms.LoadMessageInfo() == nil { 117 ms.StoreMessageInfo(mi) 118 } 119 return ms 120 } 121 return mi.MessageOf(m) 122 } 123 124 func (*ListMyServiceProjectsRequest) GotenMessage() {} 125 126 // Deprecated, Use ListMyServiceProjectsRequest.ProtoReflect.Descriptor instead. 127 func (*ListMyServiceProjectsRequest) Descriptor() ([]byte, []int) { 128 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP(), []int{0} 129 } 130 131 func (m *ListMyServiceProjectsRequest) Unmarshal(b []byte) error { 132 return proto.Unmarshal(b, m) 133 } 134 135 func (m *ListMyServiceProjectsRequest) Marshal() ([]byte, error) { 136 return proto.Marshal(m) 137 } 138 139 func (m *ListMyServiceProjectsRequest) MarshalJSON() ([]byte, error) { 140 return protojson.MarshalOptions{}.Marshal(m) 141 } 142 143 func (m *ListMyServiceProjectsRequest) UnmarshalJSON(data []byte) error { 144 return protojson.Unmarshal(data, m) 145 } 146 147 func (m *ListMyServiceProjectsRequest) GetPageSize() int32 { 148 if m != nil { 149 return m.PageSize 150 } 151 return int32(0) 152 } 153 154 func (m *ListMyServiceProjectsRequest) GetPageToken() *project.PagerCursor { 155 if m != nil { 156 return m.PageToken 157 } 158 return nil 159 } 160 161 func (m *ListMyServiceProjectsRequest) GetOrderBy() *project.OrderBy { 162 if m != nil { 163 return m.OrderBy 164 } 165 return nil 166 } 167 168 func (m *ListMyServiceProjectsRequest) GetFilter() *project.Filter { 169 if m != nil { 170 return m.Filter 171 } 172 return nil 173 } 174 175 func (m *ListMyServiceProjectsRequest) GetFieldMask() *project.Project_FieldMask { 176 if m != nil { 177 return m.FieldMask 178 } 179 return nil 180 } 181 182 func (m *ListMyServiceProjectsRequest) SetPageSize(fv int32) { 183 if m == nil { 184 panic(fmt.Errorf("can't set %s on nil %s", "PageSize", "ListMyServiceProjectsRequest")) 185 } 186 m.PageSize = fv 187 } 188 189 func (m *ListMyServiceProjectsRequest) SetPageToken(fv *project.PagerCursor) { 190 if m == nil { 191 panic(fmt.Errorf("can't set %s on nil %s", "PageToken", "ListMyServiceProjectsRequest")) 192 } 193 m.PageToken = fv 194 } 195 196 func (m *ListMyServiceProjectsRequest) SetOrderBy(fv *project.OrderBy) { 197 if m == nil { 198 panic(fmt.Errorf("can't set %s on nil %s", "OrderBy", "ListMyServiceProjectsRequest")) 199 } 200 m.OrderBy = fv 201 } 202 203 func (m *ListMyServiceProjectsRequest) SetFilter(fv *project.Filter) { 204 if m == nil { 205 panic(fmt.Errorf("can't set %s on nil %s", "Filter", "ListMyServiceProjectsRequest")) 206 } 207 m.Filter = fv 208 } 209 210 func (m *ListMyServiceProjectsRequest) SetFieldMask(fv *project.Project_FieldMask) { 211 if m == nil { 212 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "ListMyServiceProjectsRequest")) 213 } 214 m.FieldMask = fv 215 } 216 217 // Response message for method 218 // [ListMyServiceProjects][ntt.iam.v1.ListMyServiceProjects] 219 type ListMyServiceProjectsResponse struct { 220 state protoimpl.MessageState 221 sizeCache protoimpl.SizeCache 222 unknownFields protoimpl.UnknownFields 223 // The list of Projects 224 Projects []*project.Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` 225 // A token to retrieve previous page of results. Pass this value in the 226 // [ListMyServiceProjectsRequest.page_token][ntt.iam.v1.ListMyServiceProjectsRequest.page_token] 227 PrevPageToken *project.PagerCursor `protobuf:"bytes,3,opt,customtype=PagerCursor,name=prev_page_token,json=prevPageToken,proto3" json:"prev_page_token,omitempty"` 228 // A token to retrieve next page of results. Pass this value in the 229 // [ListMyServiceProjectsRequest.page_token][ntt.iam.v1.ListMyServiceProjectsRequest.page_token] 230 NextPageToken *project.PagerCursor `protobuf:"bytes,4,opt,customtype=PagerCursor,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 231 } 232 233 func (m *ListMyServiceProjectsResponse) Reset() { 234 *m = ListMyServiceProjectsResponse{} 235 if protoimpl.UnsafeEnabled { 236 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[1] 237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 238 ms.StoreMessageInfo(mi) 239 } 240 } 241 242 func (m *ListMyServiceProjectsResponse) String() string { 243 return protoimpl.X.MessageStringOf(m) 244 } 245 246 func (*ListMyServiceProjectsResponse) ProtoMessage() {} 247 248 func (m *ListMyServiceProjectsResponse) ProtoReflect() preflect.Message { 249 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[1] 250 if protoimpl.UnsafeEnabled && m != nil { 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 252 if ms.LoadMessageInfo() == nil { 253 ms.StoreMessageInfo(mi) 254 } 255 return ms 256 } 257 return mi.MessageOf(m) 258 } 259 260 func (*ListMyServiceProjectsResponse) GotenMessage() {} 261 262 // Deprecated, Use ListMyServiceProjectsResponse.ProtoReflect.Descriptor instead. 263 func (*ListMyServiceProjectsResponse) Descriptor() ([]byte, []int) { 264 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP(), []int{1} 265 } 266 267 func (m *ListMyServiceProjectsResponse) Unmarshal(b []byte) error { 268 return proto.Unmarshal(b, m) 269 } 270 271 func (m *ListMyServiceProjectsResponse) Marshal() ([]byte, error) { 272 return proto.Marshal(m) 273 } 274 275 func (m *ListMyServiceProjectsResponse) MarshalJSON() ([]byte, error) { 276 return protojson.MarshalOptions{}.Marshal(m) 277 } 278 279 func (m *ListMyServiceProjectsResponse) UnmarshalJSON(data []byte) error { 280 return protojson.Unmarshal(data, m) 281 } 282 283 func (m *ListMyServiceProjectsResponse) GetProjects() []*project.Project { 284 if m != nil { 285 return m.Projects 286 } 287 return nil 288 } 289 290 func (m *ListMyServiceProjectsResponse) GetPrevPageToken() *project.PagerCursor { 291 if m != nil { 292 return m.PrevPageToken 293 } 294 return nil 295 } 296 297 func (m *ListMyServiceProjectsResponse) GetNextPageToken() *project.PagerCursor { 298 if m != nil { 299 return m.NextPageToken 300 } 301 return nil 302 } 303 304 func (m *ListMyServiceProjectsResponse) SetProjects(fv []*project.Project) { 305 if m == nil { 306 panic(fmt.Errorf("can't set %s on nil %s", "Projects", "ListMyServiceProjectsResponse")) 307 } 308 m.Projects = fv 309 } 310 311 func (m *ListMyServiceProjectsResponse) SetPrevPageToken(fv *project.PagerCursor) { 312 if m == nil { 313 panic(fmt.Errorf("can't set %s on nil %s", "PrevPageToken", "ListMyServiceProjectsResponse")) 314 } 315 m.PrevPageToken = fv 316 } 317 318 func (m *ListMyServiceProjectsResponse) SetNextPageToken(fv *project.PagerCursor) { 319 if m == nil { 320 panic(fmt.Errorf("can't set %s on nil %s", "NextPageToken", "ListMyServiceProjectsResponse")) 321 } 322 m.NextPageToken = fv 323 } 324 325 // Request message for method 326 // [SetupServiceProject][ntt.iam.v1.SetupServiceProject] 327 type SetupServiceProjectRequest struct { 328 state protoimpl.MessageState 329 sizeCache protoimpl.SizeCache 330 unknownFields protoimpl.UnknownFields 331 // Project name - unlike in CreateProject, it is mandatory. 332 // Must conform to regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 333 Name *project.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 334 // Project title 335 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 336 // Optional parent organization 337 ParentOrganization *organization.Reference `protobuf:"bytes,3,opt,customtype=Reference,name=parent_organization,json=parentOrganization,proto3" json:"parent_organization,omitempty"` 338 // Multi region policy - it will have to match with Service regions later on. 339 MultiRegionPolicy *multi_region_policy.MultiRegionPolicy `protobuf:"bytes,4,opt,name=multi_region_policy,json=multiRegionPolicy,proto3" json:"multi_region_policy,omitempty"` 340 // Default business tier to apply to a service project - it determines 341 // business tier for core edgelq services, influencing assigned limits. 342 // By default XSMALL will be set (UNDEFINED is replaced with XSMALL). 343 // If limits are not needed at all for core edgelq services, it is 344 // recommended to opt out from them using core_edgelq_service_opt_outs param. 345 DefaultBusinessTier iam_common.BusinessTier `protobuf:"varint,5,opt,name=default_business_tier,json=defaultBusinessTier,proto3,enum=ntt.iam.v1.BusinessTier" json:"default_business_tier,omitempty"` 346 // Optional list of core edgelq services which are not needed for 347 // this service project. As of now, it has effect on devices/applications. 348 // If they are added to this list, then no limits are assigned for 349 // resources in those services. 350 CoreEdgelqServiceOptOuts []*meta_service.Name `protobuf:"bytes,6,rep,customtype=Name,name=core_edgelq_service_opt_outs,json=coreEdgelqServiceOptOuts,proto3" json:"core_edgelq_service_opt_outs,omitempty"` 351 // Project Description 352 Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` 353 } 354 355 func (m *SetupServiceProjectRequest) Reset() { 356 *m = SetupServiceProjectRequest{} 357 if protoimpl.UnsafeEnabled { 358 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[2] 359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 360 ms.StoreMessageInfo(mi) 361 } 362 } 363 364 func (m *SetupServiceProjectRequest) String() string { 365 return protoimpl.X.MessageStringOf(m) 366 } 367 368 func (*SetupServiceProjectRequest) ProtoMessage() {} 369 370 func (m *SetupServiceProjectRequest) ProtoReflect() preflect.Message { 371 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[2] 372 if protoimpl.UnsafeEnabled && m != nil { 373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 374 if ms.LoadMessageInfo() == nil { 375 ms.StoreMessageInfo(mi) 376 } 377 return ms 378 } 379 return mi.MessageOf(m) 380 } 381 382 func (*SetupServiceProjectRequest) GotenMessage() {} 383 384 // Deprecated, Use SetupServiceProjectRequest.ProtoReflect.Descriptor instead. 385 func (*SetupServiceProjectRequest) Descriptor() ([]byte, []int) { 386 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP(), []int{2} 387 } 388 389 func (m *SetupServiceProjectRequest) Unmarshal(b []byte) error { 390 return proto.Unmarshal(b, m) 391 } 392 393 func (m *SetupServiceProjectRequest) Marshal() ([]byte, error) { 394 return proto.Marshal(m) 395 } 396 397 func (m *SetupServiceProjectRequest) MarshalJSON() ([]byte, error) { 398 return protojson.MarshalOptions{}.Marshal(m) 399 } 400 401 func (m *SetupServiceProjectRequest) UnmarshalJSON(data []byte) error { 402 return protojson.Unmarshal(data, m) 403 } 404 405 func (m *SetupServiceProjectRequest) GetName() *project.Name { 406 if m != nil { 407 return m.Name 408 } 409 return nil 410 } 411 412 func (m *SetupServiceProjectRequest) GetTitle() string { 413 if m != nil { 414 return m.Title 415 } 416 return "" 417 } 418 419 func (m *SetupServiceProjectRequest) GetParentOrganization() *organization.Reference { 420 if m != nil { 421 return m.ParentOrganization 422 } 423 return nil 424 } 425 426 func (m *SetupServiceProjectRequest) GetMultiRegionPolicy() *multi_region_policy.MultiRegionPolicy { 427 if m != nil { 428 return m.MultiRegionPolicy 429 } 430 return nil 431 } 432 433 func (m *SetupServiceProjectRequest) GetDefaultBusinessTier() iam_common.BusinessTier { 434 if m != nil { 435 return m.DefaultBusinessTier 436 } 437 return iam_common.BusinessTier_UNDEFINED 438 } 439 440 func (m *SetupServiceProjectRequest) GetCoreEdgelqServiceOptOuts() []*meta_service.Name { 441 if m != nil { 442 return m.CoreEdgelqServiceOptOuts 443 } 444 return nil 445 } 446 447 func (m *SetupServiceProjectRequest) GetDescription() string { 448 if m != nil { 449 return m.Description 450 } 451 return "" 452 } 453 454 func (m *SetupServiceProjectRequest) SetName(fv *project.Name) { 455 if m == nil { 456 panic(fmt.Errorf("can't set %s on nil %s", "Name", "SetupServiceProjectRequest")) 457 } 458 m.Name = fv 459 } 460 461 func (m *SetupServiceProjectRequest) SetTitle(fv string) { 462 if m == nil { 463 panic(fmt.Errorf("can't set %s on nil %s", "Title", "SetupServiceProjectRequest")) 464 } 465 m.Title = fv 466 } 467 468 func (m *SetupServiceProjectRequest) SetParentOrganization(fv *organization.Reference) { 469 if m == nil { 470 panic(fmt.Errorf("can't set %s on nil %s", "ParentOrganization", "SetupServiceProjectRequest")) 471 } 472 m.ParentOrganization = fv 473 } 474 475 func (m *SetupServiceProjectRequest) SetMultiRegionPolicy(fv *multi_region_policy.MultiRegionPolicy) { 476 if m == nil { 477 panic(fmt.Errorf("can't set %s on nil %s", "MultiRegionPolicy", "SetupServiceProjectRequest")) 478 } 479 m.MultiRegionPolicy = fv 480 } 481 482 func (m *SetupServiceProjectRequest) SetDefaultBusinessTier(fv iam_common.BusinessTier) { 483 if m == nil { 484 panic(fmt.Errorf("can't set %s on nil %s", "DefaultBusinessTier", "SetupServiceProjectRequest")) 485 } 486 m.DefaultBusinessTier = fv 487 } 488 489 func (m *SetupServiceProjectRequest) SetCoreEdgelqServiceOptOuts(fv []*meta_service.Name) { 490 if m == nil { 491 panic(fmt.Errorf("can't set %s on nil %s", "CoreEdgelqServiceOptOuts", "SetupServiceProjectRequest")) 492 } 493 m.CoreEdgelqServiceOptOuts = fv 494 } 495 496 func (m *SetupServiceProjectRequest) SetDescription(fv string) { 497 if m == nil { 498 panic(fmt.Errorf("can't set %s on nil %s", "Description", "SetupServiceProjectRequest")) 499 } 500 m.Description = fv 501 } 502 503 // Request message for method 504 // [ReserveServiceName][ntt.iam.v1.ReserveServiceName] 505 type ReserveServiceNameRequest struct { 506 state protoimpl.MessageState 507 sizeCache protoimpl.SizeCache 508 unknownFields protoimpl.UnknownFields 509 // Name of the service project where reservation should be made. 510 Name *project.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 511 // Service name to reserve 512 Service *meta_service.Name `protobuf:"bytes,2,opt,customtype=Name,name=service,proto3" json:"service,omitempty"` 513 // Service account name that will be an admin for this Service. If it does not 514 // exist, it will be created. If exists this service account will have right 515 // to create reserved service. 516 AdminAccount *service_account.Name `protobuf:"bytes,3,opt,customtype=Name,name=admin_account,json=adminAccount,proto3" json:"admin_account,omitempty"` 517 // Optional admin account key - must be skipped if admin_account already 518 // exists and has key already known by user. If provided, then new 519 // ServiceAccountKey will be created. If public key was provided in request, 520 // then server will use it. Otherwise it will generate private/public pair and 521 // provide both in response. If key already exists and admin_key was provided, 522 // AlreadyExists will be returned. 523 AdminKey *service_account_key.ServiceAccountKey `protobuf:"bytes,4,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty"` 524 // Optional Role admin_account will have in the service project. 525 // When service is eventually created, admin_account will have full ownership 526 // of the Service. However, it wont be able to access Service Project freely - 527 // by default minimal role is assigned, that allows to send usage metrics (for 528 // example). In some cases it may be necessary for admin_account to have 529 // larger access to the service project, for example for devices management. 530 AdminAccountProjectRole *role.Name `protobuf:"bytes,5,opt,customtype=Name,name=admin_account_project_role,json=adminAccountProjectRole,proto3" json:"admin_account_project_role,omitempty"` 531 } 532 533 func (m *ReserveServiceNameRequest) Reset() { 534 *m = ReserveServiceNameRequest{} 535 if protoimpl.UnsafeEnabled { 536 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[3] 537 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 538 ms.StoreMessageInfo(mi) 539 } 540 } 541 542 func (m *ReserveServiceNameRequest) String() string { 543 return protoimpl.X.MessageStringOf(m) 544 } 545 546 func (*ReserveServiceNameRequest) ProtoMessage() {} 547 548 func (m *ReserveServiceNameRequest) ProtoReflect() preflect.Message { 549 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[3] 550 if protoimpl.UnsafeEnabled && m != nil { 551 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 552 if ms.LoadMessageInfo() == nil { 553 ms.StoreMessageInfo(mi) 554 } 555 return ms 556 } 557 return mi.MessageOf(m) 558 } 559 560 func (*ReserveServiceNameRequest) GotenMessage() {} 561 562 // Deprecated, Use ReserveServiceNameRequest.ProtoReflect.Descriptor instead. 563 func (*ReserveServiceNameRequest) Descriptor() ([]byte, []int) { 564 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP(), []int{3} 565 } 566 567 func (m *ReserveServiceNameRequest) Unmarshal(b []byte) error { 568 return proto.Unmarshal(b, m) 569 } 570 571 func (m *ReserveServiceNameRequest) Marshal() ([]byte, error) { 572 return proto.Marshal(m) 573 } 574 575 func (m *ReserveServiceNameRequest) MarshalJSON() ([]byte, error) { 576 return protojson.MarshalOptions{}.Marshal(m) 577 } 578 579 func (m *ReserveServiceNameRequest) UnmarshalJSON(data []byte) error { 580 return protojson.Unmarshal(data, m) 581 } 582 583 func (m *ReserveServiceNameRequest) GetName() *project.Name { 584 if m != nil { 585 return m.Name 586 } 587 return nil 588 } 589 590 func (m *ReserveServiceNameRequest) GetService() *meta_service.Name { 591 if m != nil { 592 return m.Service 593 } 594 return nil 595 } 596 597 func (m *ReserveServiceNameRequest) GetAdminAccount() *service_account.Name { 598 if m != nil { 599 return m.AdminAccount 600 } 601 return nil 602 } 603 604 func (m *ReserveServiceNameRequest) GetAdminKey() *service_account_key.ServiceAccountKey { 605 if m != nil { 606 return m.AdminKey 607 } 608 return nil 609 } 610 611 func (m *ReserveServiceNameRequest) GetAdminAccountProjectRole() *role.Name { 612 if m != nil { 613 return m.AdminAccountProjectRole 614 } 615 return nil 616 } 617 618 func (m *ReserveServiceNameRequest) SetName(fv *project.Name) { 619 if m == nil { 620 panic(fmt.Errorf("can't set %s on nil %s", "Name", "ReserveServiceNameRequest")) 621 } 622 m.Name = fv 623 } 624 625 func (m *ReserveServiceNameRequest) SetService(fv *meta_service.Name) { 626 if m == nil { 627 panic(fmt.Errorf("can't set %s on nil %s", "Service", "ReserveServiceNameRequest")) 628 } 629 m.Service = fv 630 } 631 632 func (m *ReserveServiceNameRequest) SetAdminAccount(fv *service_account.Name) { 633 if m == nil { 634 panic(fmt.Errorf("can't set %s on nil %s", "AdminAccount", "ReserveServiceNameRequest")) 635 } 636 m.AdminAccount = fv 637 } 638 639 func (m *ReserveServiceNameRequest) SetAdminKey(fv *service_account_key.ServiceAccountKey) { 640 if m == nil { 641 panic(fmt.Errorf("can't set %s on nil %s", "AdminKey", "ReserveServiceNameRequest")) 642 } 643 m.AdminKey = fv 644 } 645 646 func (m *ReserveServiceNameRequest) SetAdminAccountProjectRole(fv *role.Name) { 647 if m == nil { 648 panic(fmt.Errorf("can't set %s on nil %s", "AdminAccountProjectRole", "ReserveServiceNameRequest")) 649 } 650 m.AdminAccountProjectRole = fv 651 } 652 653 // Response message for method 654 // [ReserveServiceName][ntt.iam.v1.ReserveServiceName] 655 type ReserveServiceNameResponse struct { 656 state protoimpl.MessageState 657 sizeCache protoimpl.SizeCache 658 unknownFields protoimpl.UnknownFields 659 // Service account admin credentials are provided if admin_key was populated 660 // in the request object. It will have private key data if public key was not 661 // provided in the request admin_key. JSON representation of this object must 662 // be saved by the caller as ntt-credentials.json file - it will be required 663 // during actual application deployment. If user generated private/public pair 664 // themselves (and proved public in request object), before saving JSON user 665 // will need to populate private key string themselves in the final file. In 666 // case of lost credentials, user will need to send DeleteServiceAccountKey 667 // and CreateServiceAccountKey requests for admin ServiceAccount - and craft 668 // another credentials. 669 NttAdminCredentials *api.ServiceAccount `protobuf:"bytes,1,opt,name=ntt_admin_credentials,json=nttAdminCredentials,proto3" json:"ntt_admin_credentials,omitempty"` 670 } 671 672 func (m *ReserveServiceNameResponse) Reset() { 673 *m = ReserveServiceNameResponse{} 674 if protoimpl.UnsafeEnabled { 675 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[4] 676 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 677 ms.StoreMessageInfo(mi) 678 } 679 } 680 681 func (m *ReserveServiceNameResponse) String() string { 682 return protoimpl.X.MessageStringOf(m) 683 } 684 685 func (*ReserveServiceNameResponse) ProtoMessage() {} 686 687 func (m *ReserveServiceNameResponse) ProtoReflect() preflect.Message { 688 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[4] 689 if protoimpl.UnsafeEnabled && m != nil { 690 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 691 if ms.LoadMessageInfo() == nil { 692 ms.StoreMessageInfo(mi) 693 } 694 return ms 695 } 696 return mi.MessageOf(m) 697 } 698 699 func (*ReserveServiceNameResponse) GotenMessage() {} 700 701 // Deprecated, Use ReserveServiceNameResponse.ProtoReflect.Descriptor instead. 702 func (*ReserveServiceNameResponse) Descriptor() ([]byte, []int) { 703 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP(), []int{4} 704 } 705 706 func (m *ReserveServiceNameResponse) Unmarshal(b []byte) error { 707 return proto.Unmarshal(b, m) 708 } 709 710 func (m *ReserveServiceNameResponse) Marshal() ([]byte, error) { 711 return proto.Marshal(m) 712 } 713 714 func (m *ReserveServiceNameResponse) MarshalJSON() ([]byte, error) { 715 return protojson.MarshalOptions{}.Marshal(m) 716 } 717 718 func (m *ReserveServiceNameResponse) UnmarshalJSON(data []byte) error { 719 return protojson.Unmarshal(data, m) 720 } 721 722 func (m *ReserveServiceNameResponse) GetNttAdminCredentials() *api.ServiceAccount { 723 if m != nil { 724 return m.NttAdminCredentials 725 } 726 return nil 727 } 728 729 func (m *ReserveServiceNameResponse) SetNttAdminCredentials(fv *api.ServiceAccount) { 730 if m == nil { 731 panic(fmt.Errorf("can't set %s on nil %s", "NttAdminCredentials", "ReserveServiceNameResponse")) 732 } 733 m.NttAdminCredentials = fv 734 } 735 736 // Response message for method 737 // [DeleteServiceReservation][ntt.iam.v1.DeleteServiceReservation] 738 type DeleteServiceReservationRequest struct { 739 state protoimpl.MessageState 740 sizeCache protoimpl.SizeCache 741 unknownFields protoimpl.UnknownFields 742 // Name of the service project where reservation exists 743 Name *project.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 744 // Service name to remove from reserved 745 Service *meta_service.Name `protobuf:"bytes,2,opt,customtype=Name,name=service,proto3" json:"service,omitempty"` 746 } 747 748 func (m *DeleteServiceReservationRequest) Reset() { 749 *m = DeleteServiceReservationRequest{} 750 if protoimpl.UnsafeEnabled { 751 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[5] 752 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 753 ms.StoreMessageInfo(mi) 754 } 755 } 756 757 func (m *DeleteServiceReservationRequest) String() string { 758 return protoimpl.X.MessageStringOf(m) 759 } 760 761 func (*DeleteServiceReservationRequest) ProtoMessage() {} 762 763 func (m *DeleteServiceReservationRequest) ProtoReflect() preflect.Message { 764 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[5] 765 if protoimpl.UnsafeEnabled && m != nil { 766 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 767 if ms.LoadMessageInfo() == nil { 768 ms.StoreMessageInfo(mi) 769 } 770 return ms 771 } 772 return mi.MessageOf(m) 773 } 774 775 func (*DeleteServiceReservationRequest) GotenMessage() {} 776 777 // Deprecated, Use DeleteServiceReservationRequest.ProtoReflect.Descriptor instead. 778 func (*DeleteServiceReservationRequest) Descriptor() ([]byte, []int) { 779 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP(), []int{5} 780 } 781 782 func (m *DeleteServiceReservationRequest) Unmarshal(b []byte) error { 783 return proto.Unmarshal(b, m) 784 } 785 786 func (m *DeleteServiceReservationRequest) Marshal() ([]byte, error) { 787 return proto.Marshal(m) 788 } 789 790 func (m *DeleteServiceReservationRequest) MarshalJSON() ([]byte, error) { 791 return protojson.MarshalOptions{}.Marshal(m) 792 } 793 794 func (m *DeleteServiceReservationRequest) UnmarshalJSON(data []byte) error { 795 return protojson.Unmarshal(data, m) 796 } 797 798 func (m *DeleteServiceReservationRequest) GetName() *project.Name { 799 if m != nil { 800 return m.Name 801 } 802 return nil 803 } 804 805 func (m *DeleteServiceReservationRequest) GetService() *meta_service.Name { 806 if m != nil { 807 return m.Service 808 } 809 return nil 810 } 811 812 func (m *DeleteServiceReservationRequest) SetName(fv *project.Name) { 813 if m == nil { 814 panic(fmt.Errorf("can't set %s on nil %s", "Name", "DeleteServiceReservationRequest")) 815 } 816 m.Name = fv 817 } 818 819 func (m *DeleteServiceReservationRequest) SetService(fv *meta_service.Name) { 820 if m == nil { 821 panic(fmt.Errorf("can't set %s on nil %s", "Service", "DeleteServiceReservationRequest")) 822 } 823 m.Service = fv 824 } 825 826 // Request message for method 827 // [ListServiceReservations][ntt.iam.v1.ListServiceReservations] 828 type ListServiceReservationsRequest struct { 829 state protoimpl.MessageState 830 sizeCache protoimpl.SizeCache 831 unknownFields protoimpl.UnknownFields 832 // Name of the Service Project for which we want to see reservations. 833 Name *project.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 834 } 835 836 func (m *ListServiceReservationsRequest) Reset() { 837 *m = ListServiceReservationsRequest{} 838 if protoimpl.UnsafeEnabled { 839 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[6] 840 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 841 ms.StoreMessageInfo(mi) 842 } 843 } 844 845 func (m *ListServiceReservationsRequest) String() string { 846 return protoimpl.X.MessageStringOf(m) 847 } 848 849 func (*ListServiceReservationsRequest) ProtoMessage() {} 850 851 func (m *ListServiceReservationsRequest) ProtoReflect() preflect.Message { 852 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[6] 853 if protoimpl.UnsafeEnabled && m != nil { 854 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 855 if ms.LoadMessageInfo() == nil { 856 ms.StoreMessageInfo(mi) 857 } 858 return ms 859 } 860 return mi.MessageOf(m) 861 } 862 863 func (*ListServiceReservationsRequest) GotenMessage() {} 864 865 // Deprecated, Use ListServiceReservationsRequest.ProtoReflect.Descriptor instead. 866 func (*ListServiceReservationsRequest) Descriptor() ([]byte, []int) { 867 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP(), []int{6} 868 } 869 870 func (m *ListServiceReservationsRequest) Unmarshal(b []byte) error { 871 return proto.Unmarshal(b, m) 872 } 873 874 func (m *ListServiceReservationsRequest) Marshal() ([]byte, error) { 875 return proto.Marshal(m) 876 } 877 878 func (m *ListServiceReservationsRequest) MarshalJSON() ([]byte, error) { 879 return protojson.MarshalOptions{}.Marshal(m) 880 } 881 882 func (m *ListServiceReservationsRequest) UnmarshalJSON(data []byte) error { 883 return protojson.Unmarshal(data, m) 884 } 885 886 func (m *ListServiceReservationsRequest) GetName() *project.Name { 887 if m != nil { 888 return m.Name 889 } 890 return nil 891 } 892 893 func (m *ListServiceReservationsRequest) SetName(fv *project.Name) { 894 if m == nil { 895 panic(fmt.Errorf("can't set %s on nil %s", "Name", "ListServiceReservationsRequest")) 896 } 897 m.Name = fv 898 } 899 900 // Response message for method 901 // [ListServiceReservations][ntt.iam.v1.ListServiceReservations] 902 type ListServiceReservationsResponse struct { 903 state protoimpl.MessageState 904 sizeCache protoimpl.SizeCache 905 unknownFields protoimpl.UnknownFields 906 // List of reserved services with corresponding admin accounts 907 Reservations []*ListServiceReservationsResponse_Reservation `protobuf:"bytes,1,rep,name=reservations,proto3" json:"reservations,omitempty"` 908 } 909 910 func (m *ListServiceReservationsResponse) Reset() { 911 *m = ListServiceReservationsResponse{} 912 if protoimpl.UnsafeEnabled { 913 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[7] 914 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 915 ms.StoreMessageInfo(mi) 916 } 917 } 918 919 func (m *ListServiceReservationsResponse) String() string { 920 return protoimpl.X.MessageStringOf(m) 921 } 922 923 func (*ListServiceReservationsResponse) ProtoMessage() {} 924 925 func (m *ListServiceReservationsResponse) ProtoReflect() preflect.Message { 926 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[7] 927 if protoimpl.UnsafeEnabled && m != nil { 928 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 929 if ms.LoadMessageInfo() == nil { 930 ms.StoreMessageInfo(mi) 931 } 932 return ms 933 } 934 return mi.MessageOf(m) 935 } 936 937 func (*ListServiceReservationsResponse) GotenMessage() {} 938 939 // Deprecated, Use ListServiceReservationsResponse.ProtoReflect.Descriptor instead. 940 func (*ListServiceReservationsResponse) Descriptor() ([]byte, []int) { 941 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP(), []int{7} 942 } 943 944 func (m *ListServiceReservationsResponse) Unmarshal(b []byte) error { 945 return proto.Unmarshal(b, m) 946 } 947 948 func (m *ListServiceReservationsResponse) Marshal() ([]byte, error) { 949 return proto.Marshal(m) 950 } 951 952 func (m *ListServiceReservationsResponse) MarshalJSON() ([]byte, error) { 953 return protojson.MarshalOptions{}.Marshal(m) 954 } 955 956 func (m *ListServiceReservationsResponse) UnmarshalJSON(data []byte) error { 957 return protojson.Unmarshal(data, m) 958 } 959 960 func (m *ListServiceReservationsResponse) GetReservations() []*ListServiceReservationsResponse_Reservation { 961 if m != nil { 962 return m.Reservations 963 } 964 return nil 965 } 966 967 func (m *ListServiceReservationsResponse) SetReservations(fv []*ListServiceReservationsResponse_Reservation) { 968 if m == nil { 969 panic(fmt.Errorf("can't set %s on nil %s", "Reservations", "ListServiceReservationsResponse")) 970 } 971 m.Reservations = fv 972 } 973 974 // Request message for method 975 // [ListProjectServices][ntt.iam.v1.ListProjectServices] 976 type ListProjectServicesRequest struct { 977 state protoimpl.MessageState 978 sizeCache protoimpl.SizeCache 979 unknownFields protoimpl.UnknownFields 980 // Name of the Service Project for which we want to see services. 981 Name *project.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 982 } 983 984 func (m *ListProjectServicesRequest) Reset() { 985 *m = ListProjectServicesRequest{} 986 if protoimpl.UnsafeEnabled { 987 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[8] 988 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 989 ms.StoreMessageInfo(mi) 990 } 991 } 992 993 func (m *ListProjectServicesRequest) String() string { 994 return protoimpl.X.MessageStringOf(m) 995 } 996 997 func (*ListProjectServicesRequest) ProtoMessage() {} 998 999 func (m *ListProjectServicesRequest) ProtoReflect() preflect.Message { 1000 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[8] 1001 if protoimpl.UnsafeEnabled && m != nil { 1002 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1003 if ms.LoadMessageInfo() == nil { 1004 ms.StoreMessageInfo(mi) 1005 } 1006 return ms 1007 } 1008 return mi.MessageOf(m) 1009 } 1010 1011 func (*ListProjectServicesRequest) GotenMessage() {} 1012 1013 // Deprecated, Use ListProjectServicesRequest.ProtoReflect.Descriptor instead. 1014 func (*ListProjectServicesRequest) Descriptor() ([]byte, []int) { 1015 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP(), []int{8} 1016 } 1017 1018 func (m *ListProjectServicesRequest) Unmarshal(b []byte) error { 1019 return proto.Unmarshal(b, m) 1020 } 1021 1022 func (m *ListProjectServicesRequest) Marshal() ([]byte, error) { 1023 return proto.Marshal(m) 1024 } 1025 1026 func (m *ListProjectServicesRequest) MarshalJSON() ([]byte, error) { 1027 return protojson.MarshalOptions{}.Marshal(m) 1028 } 1029 1030 func (m *ListProjectServicesRequest) UnmarshalJSON(data []byte) error { 1031 return protojson.Unmarshal(data, m) 1032 } 1033 1034 func (m *ListProjectServicesRequest) GetName() *project.Name { 1035 if m != nil { 1036 return m.Name 1037 } 1038 return nil 1039 } 1040 1041 func (m *ListProjectServicesRequest) SetName(fv *project.Name) { 1042 if m == nil { 1043 panic(fmt.Errorf("can't set %s on nil %s", "Name", "ListProjectServicesRequest")) 1044 } 1045 m.Name = fv 1046 } 1047 1048 // Response message for method 1049 // [ListProjectServices][ntt.iam.v1.ListProjectServices] 1050 type ListProjectServicesResponse struct { 1051 state protoimpl.MessageState 1052 sizeCache protoimpl.SizeCache 1053 unknownFields protoimpl.UnknownFields 1054 // List of services 1055 Services []*meta_service.Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` 1056 } 1057 1058 func (m *ListProjectServicesResponse) Reset() { 1059 *m = ListProjectServicesResponse{} 1060 if protoimpl.UnsafeEnabled { 1061 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[9] 1062 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1063 ms.StoreMessageInfo(mi) 1064 } 1065 } 1066 1067 func (m *ListProjectServicesResponse) String() string { 1068 return protoimpl.X.MessageStringOf(m) 1069 } 1070 1071 func (*ListProjectServicesResponse) ProtoMessage() {} 1072 1073 func (m *ListProjectServicesResponse) ProtoReflect() preflect.Message { 1074 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[9] 1075 if protoimpl.UnsafeEnabled && m != nil { 1076 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1077 if ms.LoadMessageInfo() == nil { 1078 ms.StoreMessageInfo(mi) 1079 } 1080 return ms 1081 } 1082 return mi.MessageOf(m) 1083 } 1084 1085 func (*ListProjectServicesResponse) GotenMessage() {} 1086 1087 // Deprecated, Use ListProjectServicesResponse.ProtoReflect.Descriptor instead. 1088 func (*ListProjectServicesResponse) Descriptor() ([]byte, []int) { 1089 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP(), []int{9} 1090 } 1091 1092 func (m *ListProjectServicesResponse) Unmarshal(b []byte) error { 1093 return proto.Unmarshal(b, m) 1094 } 1095 1096 func (m *ListProjectServicesResponse) Marshal() ([]byte, error) { 1097 return proto.Marshal(m) 1098 } 1099 1100 func (m *ListProjectServicesResponse) MarshalJSON() ([]byte, error) { 1101 return protojson.MarshalOptions{}.Marshal(m) 1102 } 1103 1104 func (m *ListProjectServicesResponse) UnmarshalJSON(data []byte) error { 1105 return protojson.Unmarshal(data, m) 1106 } 1107 1108 func (m *ListProjectServicesResponse) GetServices() []*meta_service.Service { 1109 if m != nil { 1110 return m.Services 1111 } 1112 return nil 1113 } 1114 1115 func (m *ListProjectServicesResponse) SetServices(fv []*meta_service.Service) { 1116 if m == nil { 1117 panic(fmt.Errorf("can't set %s on nil %s", "Services", "ListProjectServicesResponse")) 1118 } 1119 m.Services = fv 1120 } 1121 1122 // Request message for method 1123 // [AddRegionalAdminAccountForServices][ntt.iam.v1.AddRegionalAdminAccountForServices] 1124 type AddRegionalAdminAccountForServicesRequest struct { 1125 state protoimpl.MessageState 1126 sizeCache protoimpl.SizeCache 1127 unknownFields protoimpl.UnknownFields 1128 // Parent of ServiceAccount containing Service project and Region. 1129 // If region is not enabled in project, it will be for this request. 1130 Parent *service_account.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"` 1131 // List of services in which admin account must participate. They must all 1132 // belong to the project indicated in the parent. 1133 Services []*meta_service.Name `protobuf:"bytes,2,rep,customtype=Name,name=services,proto3" json:"services,omitempty"` 1134 // Regional service account name that will be an admin for this Service. If it 1135 // does not exist, it will be created. 1136 AdminAccount *service_account.Name `protobuf:"bytes,3,opt,customtype=Name,name=admin_account,json=adminAccount,proto3" json:"admin_account,omitempty"` 1137 // Optional admin account key - must be skipped if admin_account already 1138 // exists and has key already known by user. If provided, then new 1139 // ServiceAccountKey will be created. If public key was provided in request, 1140 // then server will use it. Otherwise it will generate private/public pair and 1141 // provide both in response. If admin_key already exists and is still provided 1142 // in request, AlreadyExists will be returned. 1143 AdminKey *service_account_key.ServiceAccountKey `protobuf:"bytes,4,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty"` 1144 // Optional Role admin_account will have in the service project. 1145 // When service is eventually created, admin_account will have full ownership 1146 // of the Service. However, it wont be able to access Service Project freely - 1147 // by default minimal role is assigned, that allows to send usage metrics (for 1148 // example). In some cases it may be necessary for admin_account to have 1149 // larger access to the service project, for example for devices management. 1150 AdminAccountProjectRole *role.Name `protobuf:"bytes,5,opt,customtype=Name,name=admin_account_project_role,json=adminAccountProjectRole,proto3" json:"admin_account_project_role,omitempty"` 1151 } 1152 1153 func (m *AddRegionalAdminAccountForServicesRequest) Reset() { 1154 *m = AddRegionalAdminAccountForServicesRequest{} 1155 if protoimpl.UnsafeEnabled { 1156 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[10] 1157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1158 ms.StoreMessageInfo(mi) 1159 } 1160 } 1161 1162 func (m *AddRegionalAdminAccountForServicesRequest) String() string { 1163 return protoimpl.X.MessageStringOf(m) 1164 } 1165 1166 func (*AddRegionalAdminAccountForServicesRequest) ProtoMessage() {} 1167 1168 func (m *AddRegionalAdminAccountForServicesRequest) ProtoReflect() preflect.Message { 1169 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[10] 1170 if protoimpl.UnsafeEnabled && m != nil { 1171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1172 if ms.LoadMessageInfo() == nil { 1173 ms.StoreMessageInfo(mi) 1174 } 1175 return ms 1176 } 1177 return mi.MessageOf(m) 1178 } 1179 1180 func (*AddRegionalAdminAccountForServicesRequest) GotenMessage() {} 1181 1182 // Deprecated, Use AddRegionalAdminAccountForServicesRequest.ProtoReflect.Descriptor instead. 1183 func (*AddRegionalAdminAccountForServicesRequest) Descriptor() ([]byte, []int) { 1184 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP(), []int{10} 1185 } 1186 1187 func (m *AddRegionalAdminAccountForServicesRequest) Unmarshal(b []byte) error { 1188 return proto.Unmarshal(b, m) 1189 } 1190 1191 func (m *AddRegionalAdminAccountForServicesRequest) Marshal() ([]byte, error) { 1192 return proto.Marshal(m) 1193 } 1194 1195 func (m *AddRegionalAdminAccountForServicesRequest) MarshalJSON() ([]byte, error) { 1196 return protojson.MarshalOptions{}.Marshal(m) 1197 } 1198 1199 func (m *AddRegionalAdminAccountForServicesRequest) UnmarshalJSON(data []byte) error { 1200 return protojson.Unmarshal(data, m) 1201 } 1202 1203 func (m *AddRegionalAdminAccountForServicesRequest) GetParent() *service_account.ParentName { 1204 if m != nil { 1205 return m.Parent 1206 } 1207 return nil 1208 } 1209 1210 func (m *AddRegionalAdminAccountForServicesRequest) GetServices() []*meta_service.Name { 1211 if m != nil { 1212 return m.Services 1213 } 1214 return nil 1215 } 1216 1217 func (m *AddRegionalAdminAccountForServicesRequest) GetAdminAccount() *service_account.Name { 1218 if m != nil { 1219 return m.AdminAccount 1220 } 1221 return nil 1222 } 1223 1224 func (m *AddRegionalAdminAccountForServicesRequest) GetAdminKey() *service_account_key.ServiceAccountKey { 1225 if m != nil { 1226 return m.AdminKey 1227 } 1228 return nil 1229 } 1230 1231 func (m *AddRegionalAdminAccountForServicesRequest) GetAdminAccountProjectRole() *role.Name { 1232 if m != nil { 1233 return m.AdminAccountProjectRole 1234 } 1235 return nil 1236 } 1237 1238 func (m *AddRegionalAdminAccountForServicesRequest) SetParent(fv *service_account.ParentName) { 1239 if m == nil { 1240 panic(fmt.Errorf("can't set %s on nil %s", "Parent", "AddRegionalAdminAccountForServicesRequest")) 1241 } 1242 m.Parent = fv 1243 } 1244 1245 func (m *AddRegionalAdminAccountForServicesRequest) SetServices(fv []*meta_service.Name) { 1246 if m == nil { 1247 panic(fmt.Errorf("can't set %s on nil %s", "Services", "AddRegionalAdminAccountForServicesRequest")) 1248 } 1249 m.Services = fv 1250 } 1251 1252 func (m *AddRegionalAdminAccountForServicesRequest) SetAdminAccount(fv *service_account.Name) { 1253 if m == nil { 1254 panic(fmt.Errorf("can't set %s on nil %s", "AdminAccount", "AddRegionalAdminAccountForServicesRequest")) 1255 } 1256 m.AdminAccount = fv 1257 } 1258 1259 func (m *AddRegionalAdminAccountForServicesRequest) SetAdminKey(fv *service_account_key.ServiceAccountKey) { 1260 if m == nil { 1261 panic(fmt.Errorf("can't set %s on nil %s", "AdminKey", "AddRegionalAdminAccountForServicesRequest")) 1262 } 1263 m.AdminKey = fv 1264 } 1265 1266 func (m *AddRegionalAdminAccountForServicesRequest) SetAdminAccountProjectRole(fv *role.Name) { 1267 if m == nil { 1268 panic(fmt.Errorf("can't set %s on nil %s", "AdminAccountProjectRole", "AddRegionalAdminAccountForServicesRequest")) 1269 } 1270 m.AdminAccountProjectRole = fv 1271 } 1272 1273 // Response message for method 1274 // [AddRegionalAdminAccountForServices][ntt.iam.v1.AddRegionalAdminAccountForServices] 1275 type AddRegionalAdminAccountForServicesResponse struct { 1276 state protoimpl.MessageState 1277 sizeCache protoimpl.SizeCache 1278 unknownFields protoimpl.UnknownFields 1279 // Service account admin credentials are provided if admin_key was populated 1280 // in the request object. It will have private key data if public key was not 1281 // provided in the request admin_key. JSON representation of this object must 1282 // be saved by the caller as ntt-credentials.json file - it will be required 1283 // during actual regional application deployment. If user generated 1284 // private/public pair themselves (and proved public in request object), 1285 // before saving JSON user will need to populate private key string themselves 1286 // in the final file. In case of lost credentials, user will need to send 1287 // DeleteServiceAccountKey and CreateServiceAccountKey requests for admin 1288 // ServiceAccount - and craft another credentials. 1289 NttAdminCredentials *api.ServiceAccount `protobuf:"bytes,1,opt,name=ntt_admin_credentials,json=nttAdminCredentials,proto3" json:"ntt_admin_credentials,omitempty"` 1290 } 1291 1292 func (m *AddRegionalAdminAccountForServicesResponse) Reset() { 1293 *m = AddRegionalAdminAccountForServicesResponse{} 1294 if protoimpl.UnsafeEnabled { 1295 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[11] 1296 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1297 ms.StoreMessageInfo(mi) 1298 } 1299 } 1300 1301 func (m *AddRegionalAdminAccountForServicesResponse) String() string { 1302 return protoimpl.X.MessageStringOf(m) 1303 } 1304 1305 func (*AddRegionalAdminAccountForServicesResponse) ProtoMessage() {} 1306 1307 func (m *AddRegionalAdminAccountForServicesResponse) ProtoReflect() preflect.Message { 1308 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[11] 1309 if protoimpl.UnsafeEnabled && m != nil { 1310 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1311 if ms.LoadMessageInfo() == nil { 1312 ms.StoreMessageInfo(mi) 1313 } 1314 return ms 1315 } 1316 return mi.MessageOf(m) 1317 } 1318 1319 func (*AddRegionalAdminAccountForServicesResponse) GotenMessage() {} 1320 1321 // Deprecated, Use AddRegionalAdminAccountForServicesResponse.ProtoReflect.Descriptor instead. 1322 func (*AddRegionalAdminAccountForServicesResponse) Descriptor() ([]byte, []int) { 1323 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP(), []int{11} 1324 } 1325 1326 func (m *AddRegionalAdminAccountForServicesResponse) Unmarshal(b []byte) error { 1327 return proto.Unmarshal(b, m) 1328 } 1329 1330 func (m *AddRegionalAdminAccountForServicesResponse) Marshal() ([]byte, error) { 1331 return proto.Marshal(m) 1332 } 1333 1334 func (m *AddRegionalAdminAccountForServicesResponse) MarshalJSON() ([]byte, error) { 1335 return protojson.MarshalOptions{}.Marshal(m) 1336 } 1337 1338 func (m *AddRegionalAdminAccountForServicesResponse) UnmarshalJSON(data []byte) error { 1339 return protojson.Unmarshal(data, m) 1340 } 1341 1342 func (m *AddRegionalAdminAccountForServicesResponse) GetNttAdminCredentials() *api.ServiceAccount { 1343 if m != nil { 1344 return m.NttAdminCredentials 1345 } 1346 return nil 1347 } 1348 1349 func (m *AddRegionalAdminAccountForServicesResponse) SetNttAdminCredentials(fv *api.ServiceAccount) { 1350 if m == nil { 1351 panic(fmt.Errorf("can't set %s on nil %s", "NttAdminCredentials", "AddRegionalAdminAccountForServicesResponse")) 1352 } 1353 m.NttAdminCredentials = fv 1354 } 1355 1356 type ListServiceReservationsResponse_Reservation struct { 1357 state protoimpl.MessageState 1358 sizeCache protoimpl.SizeCache 1359 unknownFields protoimpl.UnknownFields 1360 // Reserved service name allowed to be created by admin account 1361 Service *meta_service.Name `protobuf:"bytes,1,opt,customtype=Name,name=service,proto3" json:"service,omitempty"` 1362 // Service account name that will be an admin for this Service. 1363 AdminAccount *service_account.Name `protobuf:"bytes,2,opt,customtype=Name,name=admin_account,json=adminAccount,proto3" json:"admin_account,omitempty"` 1364 } 1365 1366 func (m *ListServiceReservationsResponse_Reservation) Reset() { 1367 *m = ListServiceReservationsResponse_Reservation{} 1368 if protoimpl.UnsafeEnabled { 1369 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[12] 1370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1371 ms.StoreMessageInfo(mi) 1372 } 1373 } 1374 1375 func (m *ListServiceReservationsResponse_Reservation) String() string { 1376 return protoimpl.X.MessageStringOf(m) 1377 } 1378 1379 func (*ListServiceReservationsResponse_Reservation) ProtoMessage() {} 1380 1381 func (m *ListServiceReservationsResponse_Reservation) ProtoReflect() preflect.Message { 1382 mi := &edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[12] 1383 if protoimpl.UnsafeEnabled && m != nil { 1384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1385 if ms.LoadMessageInfo() == nil { 1386 ms.StoreMessageInfo(mi) 1387 } 1388 return ms 1389 } 1390 return mi.MessageOf(m) 1391 } 1392 1393 func (*ListServiceReservationsResponse_Reservation) GotenMessage() {} 1394 1395 // Deprecated, Use ListServiceReservationsResponse_Reservation.ProtoReflect.Descriptor instead. 1396 func (*ListServiceReservationsResponse_Reservation) Descriptor() ([]byte, []int) { 1397 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP(), []int{7, 0} 1398 } 1399 1400 func (m *ListServiceReservationsResponse_Reservation) Unmarshal(b []byte) error { 1401 return proto.Unmarshal(b, m) 1402 } 1403 1404 func (m *ListServiceReservationsResponse_Reservation) Marshal() ([]byte, error) { 1405 return proto.Marshal(m) 1406 } 1407 1408 func (m *ListServiceReservationsResponse_Reservation) MarshalJSON() ([]byte, error) { 1409 return protojson.MarshalOptions{}.Marshal(m) 1410 } 1411 1412 func (m *ListServiceReservationsResponse_Reservation) UnmarshalJSON(data []byte) error { 1413 return protojson.Unmarshal(data, m) 1414 } 1415 1416 func (m *ListServiceReservationsResponse_Reservation) GetService() *meta_service.Name { 1417 if m != nil { 1418 return m.Service 1419 } 1420 return nil 1421 } 1422 1423 func (m *ListServiceReservationsResponse_Reservation) GetAdminAccount() *service_account.Name { 1424 if m != nil { 1425 return m.AdminAccount 1426 } 1427 return nil 1428 } 1429 1430 func (m *ListServiceReservationsResponse_Reservation) SetService(fv *meta_service.Name) { 1431 if m == nil { 1432 panic(fmt.Errorf("can't set %s on nil %s", "Service", "ListServiceReservationsResponse_Reservation")) 1433 } 1434 m.Service = fv 1435 } 1436 1437 func (m *ListServiceReservationsResponse_Reservation) SetAdminAccount(fv *service_account.Name) { 1438 if m == nil { 1439 panic(fmt.Errorf("can't set %s on nil %s", "AdminAccount", "ListServiceReservationsResponse_Reservation")) 1440 } 1441 m.AdminAccount = fv 1442 } 1443 1444 var edgelq_iam_proto_v1_service_projects_management_custom_proto preflect.FileDescriptor 1445 1446 var edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDesc = []byte{ 1447 0x0a, 0x3c, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 1448 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x72, 1449 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 1450 0x74, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 1451 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 1452 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 1453 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 1454 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 1455 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 1456 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 1457 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 1458 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 1459 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 1460 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1461 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 1462 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x6d, 0x65, 0x74, 0x61, 1463 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 1464 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 1465 0x25, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 1466 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 1467 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 1468 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 1469 0x74, 0x69, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 0x67, 1470 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 1471 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x65, 1472 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 1473 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1474 0x1a, 0x28, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 1475 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x68, 1476 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x65, 0x64, 0x67, 0x65, 1477 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 1478 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 1479 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x96, 0x02, 0x0a, 0x1c, 0x4c, 0x69, 1480 0x73, 0x74, 0x4d, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 1481 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x09, 0x70, 0x61, 1482 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x08, 0xca, 1483 0xc6, 0x27, 0x04, 0x12, 0x02, 0x2a, 0x00, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 1484 0x65, 0x12, 0x2e, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 1485 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0xb2, 0xda, 0x21, 0x0b, 0x22, 0x09, 0x0a, 0x07, 0x50, 1486 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 1487 0x6e, 0x12, 0x2a, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 1488 0x01, 0x28, 0x09, 0x42, 0x0f, 0xb2, 0xda, 0x21, 0x0b, 0x2a, 0x09, 0x0a, 0x07, 0x50, 0x72, 0x6f, 1489 0x6a, 0x65, 0x63, 0x74, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x27, 0x0a, 1490 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0xb2, 1491 0xda, 0x21, 0x0b, 0x1a, 0x09, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 1492 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 1493 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 1494 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 1495 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x0f, 0xb2, 0xda, 0x21, 0x0b, 0x32, 0x09, 0x0a, 0x07, 1496 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 1497 0x73, 0x6b, 0x22, 0xc2, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x79, 0x53, 0x65, 0x72, 1498 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 1499 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 1500 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 1501 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x08, 0x70, 0x72, 0x6f, 1502 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x0f, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x70, 0x61, 1503 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 1504 0xb2, 0xda, 0x21, 0x0b, 0x22, 0x09, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 1505 0x0d, 0x70, 0x72, 0x65, 0x76, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x37, 1506 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 1507 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0xb2, 0xda, 0x21, 0x0b, 0x22, 0x09, 0x0a, 1508 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 1509 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xe1, 0x03, 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x75, 1510 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 1511 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 1512 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0xb2, 0xda, 0x21, 0x0b, 0x0a, 0x09, 0x0a, 0x07, 0x50, 0x72, 1513 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x05, 0x74, 1514 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 1515 0x2a, 0x02, 0x68, 0x01, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x47, 0x0a, 0x13, 0x70, 1516 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 1517 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x16, 0xb2, 0xda, 0x21, 0x12, 0x12, 0x10, 1518 0x0a, 0x0c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x01, 1519 0x52, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 1520 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x58, 0x0a, 0x13, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 1521 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 1522 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 1523 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 1524 0x79, 0x42, 0x08, 0xca, 0xc6, 0x27, 0x04, 0x62, 0x02, 0x08, 0x01, 0x52, 0x11, 0x6d, 0x75, 0x6c, 1525 0x74, 0x69, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4c, 1526 0x0a, 0x15, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 1527 0x73, 0x73, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 1528 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 1529 0x65, 0x73, 0x73, 0x54, 0x69, 0x65, 0x72, 0x52, 0x13, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 1530 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x54, 0x69, 0x65, 0x72, 0x12, 0x5e, 0x0a, 0x1c, 1531 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x5f, 0x73, 0x65, 0x72, 0x76, 1532 0x69, 0x63, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 1533 0x28, 0x09, 0x42, 0x1e, 0xb2, 0xda, 0x21, 0x1a, 0x0a, 0x18, 0x0a, 0x16, 0x6d, 0x65, 0x74, 0x61, 1534 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 1535 0x63, 0x65, 0x52, 0x18, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x53, 0x65, 1536 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x4f, 0x75, 0x74, 0x73, 0x12, 0x2d, 0x0a, 0x0b, 1537 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 1538 0x09, 0x42, 0x0b, 0xca, 0xc6, 0x27, 0x07, 0x2a, 0x05, 0x22, 0x03, 0x08, 0x80, 0x02, 0x52, 0x0b, 1539 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xbe, 0x02, 0x0a, 0x19, 1540 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 1541 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 1542 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0xb2, 0xda, 0x21, 0x0b, 0x0a, 0x09, 0x0a, 1543 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 1544 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 1545 0x1e, 0xb2, 0xda, 0x21, 0x1a, 0x0a, 0x18, 0x0a, 0x16, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x67, 0x6f, 1546 0x74, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 1547 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x0d, 0x61, 0x64, 0x6d, 0x69, 1548 0x6e, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 1549 0x16, 0xb2, 0xda, 0x21, 0x12, 0x0a, 0x10, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1550 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0c, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 1551 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6b, 1552 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 1553 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 1554 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4b, 0x65, 1555 0x79, 0x12, 0x49, 0x0a, 0x1a, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 1556 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 1557 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0c, 0xb2, 0xda, 0x21, 0x08, 0x0a, 0x06, 0x0a, 0x04, 0x52, 1558 0x6f, 0x6c, 0x65, 0x52, 0x17, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 1559 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x69, 0x0a, 0x1a, 1560 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 1561 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x15, 0x6e, 0x74, 1562 0x74, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 1563 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 1564 0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 1565 0x6e, 0x74, 0x52, 0x13, 0x6e, 0x74, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x43, 0x72, 0x65, 0x64, 1566 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x1f, 0x44, 0x65, 0x6c, 0x65, 1567 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 1568 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x04, 0x6e, 1569 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0xb2, 0xda, 0x21, 0x0b, 0x0a, 1570 0x09, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1571 0x12, 0x38, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 1572 0x09, 0x42, 0x1e, 0xb2, 0xda, 0x21, 0x1a, 0x0a, 0x18, 0x0a, 0x16, 0x6d, 0x65, 0x74, 0x61, 0x2e, 1573 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 1574 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x45, 0x0a, 0x1e, 0x4c, 0x69, 1575 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 1576 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x04, 1577 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0xb2, 0xda, 0x21, 0x0b, 1578 0x0a, 0x09, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 1579 0x65, 0x22, 0x85, 0x02, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 1580 0x65, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 1581 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 1582 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x6e, 0x74, 1583 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 1584 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1585 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 1586 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 1587 0x6e, 0x73, 0x1a, 0x84, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 1588 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 1589 0x01, 0x28, 0x09, 0x42, 0x1e, 0xb2, 0xda, 0x21, 0x1a, 0x0a, 0x18, 0x0a, 0x16, 0x6d, 0x65, 0x74, 1590 0x61, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 1591 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x0d, 1592 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 1593 0x01, 0x28, 0x09, 0x42, 0x16, 0xb2, 0xda, 0x21, 0x12, 0x0a, 0x10, 0x0a, 0x0e, 0x53, 0x65, 0x72, 1594 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0c, 0x61, 0x64, 0x6d, 1595 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x41, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 1596 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 1597 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 1598 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0xb2, 0xda, 0x21, 0x0b, 0x0a, 0x09, 0x0a, 0x07, 0x50, 1599 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x51, 0x0a, 0x1b, 1600 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 1601 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x08, 0x73, 1602 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 1603 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 1604 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 1605 0xdb, 0x02, 0x0a, 0x29, 0x41, 0x64, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 1606 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x53, 0x65, 1607 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 1608 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x16, 0xb2, 1609 0xda, 0x21, 0x12, 0x3a, 0x10, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 1610 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 1611 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 1612 0x1e, 0xb2, 0xda, 0x21, 0x1a, 0x0a, 0x18, 0x0a, 0x16, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x67, 0x6f, 1613 0x74, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 1614 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0d, 0x61, 0x64, 0x6d, 1615 0x69, 0x6e, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 1616 0x42, 0x16, 0xb2, 0xda, 0x21, 0x12, 0x0a, 0x10, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 1617 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0c, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x41, 1618 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 1619 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 1620 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 1621 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4b, 1622 0x65, 0x79, 0x12, 0x49, 0x0a, 0x1a, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x61, 0x63, 0x63, 0x6f, 1623 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 1624 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0c, 0xb2, 0xda, 0x21, 0x08, 0x0a, 0x06, 0x0a, 0x04, 1625 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x17, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 1626 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x79, 0x0a, 1627 0x2a, 0x41, 0x64, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x64, 0x6d, 0x69, 1628 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 1629 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x15, 0x6e, 1630 0x74, 0x74, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 1631 0x69, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x74, 0x74, 1632 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 1633 0x75, 0x6e, 0x74, 0x52, 0x13, 0x6e, 0x74, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x43, 0x72, 0x65, 1634 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x42, 0xa8, 0x01, 0xe8, 0xde, 0x21, 0x00, 0x0a, 1635 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x62, 0x2e, 1636 0x76, 0x31, 0x42, 0x24, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 1637 0x63, 0x74, 0x73, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x75, 0x73, 1638 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x67, 0x67, 0x69, 0x74, 0x68, 1639 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 1640 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 1641 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 1642 0x6a, 0x65, 0x63, 0x74, 0x73, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 1643 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 1644 0x73, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x69, 1645 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1646 } 1647 1648 var ( 1649 edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescOnce sync.Once 1650 edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescData = edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDesc 1651 ) 1652 1653 func edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescGZIP() []byte { 1654 edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescOnce.Do(func() { 1655 edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescData) 1656 }) 1657 return edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDescData 1658 } 1659 1660 var edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 13) 1661 var edgelq_iam_proto_v1_service_projects_management_custom_proto_goTypes = []interface{}{ 1662 (*ListMyServiceProjectsRequest)(nil), // 0: ntt.iam.v1.ListMyServiceProjectsRequest 1663 (*ListMyServiceProjectsResponse)(nil), // 1: ntt.iam.v1.ListMyServiceProjectsResponse 1664 (*SetupServiceProjectRequest)(nil), // 2: ntt.iam.v1.SetupServiceProjectRequest 1665 (*ReserveServiceNameRequest)(nil), // 3: ntt.iam.v1.ReserveServiceNameRequest 1666 (*ReserveServiceNameResponse)(nil), // 4: ntt.iam.v1.ReserveServiceNameResponse 1667 (*DeleteServiceReservationRequest)(nil), // 5: ntt.iam.v1.DeleteServiceReservationRequest 1668 (*ListServiceReservationsRequest)(nil), // 6: ntt.iam.v1.ListServiceReservationsRequest 1669 (*ListServiceReservationsResponse)(nil), // 7: ntt.iam.v1.ListServiceReservationsResponse 1670 (*ListProjectServicesRequest)(nil), // 8: ntt.iam.v1.ListProjectServicesRequest 1671 (*ListProjectServicesResponse)(nil), // 9: ntt.iam.v1.ListProjectServicesResponse 1672 (*AddRegionalAdminAccountForServicesRequest)(nil), // 10: ntt.iam.v1.AddRegionalAdminAccountForServicesRequest 1673 (*AddRegionalAdminAccountForServicesResponse)(nil), // 11: ntt.iam.v1.AddRegionalAdminAccountForServicesResponse 1674 (*ListServiceReservationsResponse_Reservation)(nil), // 12: ntt.iam.v1.ListServiceReservationsResponse.Reservation 1675 (*project.Project_FieldMask)(nil), // 13: ntt.iam.v1.Project_FieldMask 1676 (*project.Project)(nil), // 14: ntt.iam.v1.Project 1677 (*multi_region_policy.MultiRegionPolicy)(nil), // 15: goten.types.MultiRegionPolicy 1678 (iam_common.BusinessTier)(0), // 16: ntt.iam.v1.BusinessTier 1679 (*service_account_key.ServiceAccountKey)(nil), // 17: ntt.iam.v1.ServiceAccountKey 1680 (*api.ServiceAccount)(nil), // 18: ntt.api.ServiceAccount 1681 (*meta_service.Service)(nil), // 19: goten.meta.v1.Service 1682 } 1683 var edgelq_iam_proto_v1_service_projects_management_custom_proto_depIdxs = []int32{ 1684 13, // 0: ntt.iam.v1.ListMyServiceProjectsRequest.field_mask:type_name -> ntt.iam.v1.Project_FieldMask 1685 14, // 1: ntt.iam.v1.ListMyServiceProjectsResponse.projects:type_name -> ntt.iam.v1.Project 1686 15, // 2: ntt.iam.v1.SetupServiceProjectRequest.multi_region_policy:type_name -> goten.types.MultiRegionPolicy 1687 16, // 3: ntt.iam.v1.SetupServiceProjectRequest.default_business_tier:type_name -> ntt.iam.v1.BusinessTier 1688 17, // 4: ntt.iam.v1.ReserveServiceNameRequest.admin_key:type_name -> ntt.iam.v1.ServiceAccountKey 1689 18, // 5: ntt.iam.v1.ReserveServiceNameResponse.ntt_admin_credentials:type_name -> ntt.api.ServiceAccount 1690 12, // 6: ntt.iam.v1.ListServiceReservationsResponse.reservations:type_name -> ntt.iam.v1.ListServiceReservationsResponse.Reservation 1691 19, // 7: ntt.iam.v1.ListProjectServicesResponse.services:type_name -> goten.meta.v1.Service 1692 17, // 8: ntt.iam.v1.AddRegionalAdminAccountForServicesRequest.admin_key:type_name -> ntt.iam.v1.ServiceAccountKey 1693 18, // 9: ntt.iam.v1.AddRegionalAdminAccountForServicesResponse.ntt_admin_credentials:type_name -> ntt.api.ServiceAccount 1694 10, // [10:10] is the sub-list for method output_type 1695 10, // [10:10] is the sub-list for method input_type 1696 10, // [10:10] is the sub-list for extension type_name 1697 10, // [10:10] is the sub-list for extension extendee 1698 0, // [0:10] is the sub-list for field type_name 1699 } 1700 1701 func init() { edgelq_iam_proto_v1_service_projects_management_custom_proto_init() } 1702 func edgelq_iam_proto_v1_service_projects_management_custom_proto_init() { 1703 if edgelq_iam_proto_v1_service_projects_management_custom_proto != nil { 1704 return 1705 } 1706 if !protoimpl.UnsafeEnabled { 1707 1708 edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1709 switch v := v.(*ListMyServiceProjectsRequest); i { 1710 case 0: 1711 return &v.state 1712 case 1: 1713 return &v.sizeCache 1714 case 2: 1715 return &v.unknownFields 1716 default: 1717 return nil 1718 } 1719 } 1720 edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1721 switch v := v.(*ListMyServiceProjectsResponse); i { 1722 case 0: 1723 return &v.state 1724 case 1: 1725 return &v.sizeCache 1726 case 2: 1727 return &v.unknownFields 1728 default: 1729 return nil 1730 } 1731 } 1732 edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1733 switch v := v.(*SetupServiceProjectRequest); i { 1734 case 0: 1735 return &v.state 1736 case 1: 1737 return &v.sizeCache 1738 case 2: 1739 return &v.unknownFields 1740 default: 1741 return nil 1742 } 1743 } 1744 edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1745 switch v := v.(*ReserveServiceNameRequest); i { 1746 case 0: 1747 return &v.state 1748 case 1: 1749 return &v.sizeCache 1750 case 2: 1751 return &v.unknownFields 1752 default: 1753 return nil 1754 } 1755 } 1756 edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1757 switch v := v.(*ReserveServiceNameResponse); i { 1758 case 0: 1759 return &v.state 1760 case 1: 1761 return &v.sizeCache 1762 case 2: 1763 return &v.unknownFields 1764 default: 1765 return nil 1766 } 1767 } 1768 edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1769 switch v := v.(*DeleteServiceReservationRequest); i { 1770 case 0: 1771 return &v.state 1772 case 1: 1773 return &v.sizeCache 1774 case 2: 1775 return &v.unknownFields 1776 default: 1777 return nil 1778 } 1779 } 1780 edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1781 switch v := v.(*ListServiceReservationsRequest); i { 1782 case 0: 1783 return &v.state 1784 case 1: 1785 return &v.sizeCache 1786 case 2: 1787 return &v.unknownFields 1788 default: 1789 return nil 1790 } 1791 } 1792 edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1793 switch v := v.(*ListServiceReservationsResponse); i { 1794 case 0: 1795 return &v.state 1796 case 1: 1797 return &v.sizeCache 1798 case 2: 1799 return &v.unknownFields 1800 default: 1801 return nil 1802 } 1803 } 1804 edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1805 switch v := v.(*ListProjectServicesRequest); i { 1806 case 0: 1807 return &v.state 1808 case 1: 1809 return &v.sizeCache 1810 case 2: 1811 return &v.unknownFields 1812 default: 1813 return nil 1814 } 1815 } 1816 edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1817 switch v := v.(*ListProjectServicesResponse); i { 1818 case 0: 1819 return &v.state 1820 case 1: 1821 return &v.sizeCache 1822 case 2: 1823 return &v.unknownFields 1824 default: 1825 return nil 1826 } 1827 } 1828 edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1829 switch v := v.(*AddRegionalAdminAccountForServicesRequest); i { 1830 case 0: 1831 return &v.state 1832 case 1: 1833 return &v.sizeCache 1834 case 2: 1835 return &v.unknownFields 1836 default: 1837 return nil 1838 } 1839 } 1840 edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1841 switch v := v.(*AddRegionalAdminAccountForServicesResponse); i { 1842 case 0: 1843 return &v.state 1844 case 1: 1845 return &v.sizeCache 1846 case 2: 1847 return &v.unknownFields 1848 default: 1849 return nil 1850 } 1851 } 1852 edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1853 switch v := v.(*ListServiceReservationsResponse_Reservation); i { 1854 case 0: 1855 return &v.state 1856 case 1: 1857 return &v.sizeCache 1858 case 2: 1859 return &v.unknownFields 1860 default: 1861 return nil 1862 } 1863 } 1864 } 1865 1866 type x struct{} 1867 out := protoimpl.TypeBuilder{ 1868 File: protoimpl.DescBuilder{ 1869 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1870 RawDescriptor: edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDesc, 1871 NumEnums: 0, 1872 NumMessages: 13, 1873 NumExtensions: 0, 1874 NumServices: 0, 1875 }, 1876 GoTypes: edgelq_iam_proto_v1_service_projects_management_custom_proto_goTypes, 1877 DependencyIndexes: edgelq_iam_proto_v1_service_projects_management_custom_proto_depIdxs, 1878 MessageInfos: edgelq_iam_proto_v1_service_projects_management_custom_proto_msgTypes, 1879 }.Build() 1880 edgelq_iam_proto_v1_service_projects_management_custom_proto = out.File 1881 edgelq_iam_proto_v1_service_projects_management_custom_proto_rawDesc = nil 1882 edgelq_iam_proto_v1_service_projects_management_custom_proto_goTypes = nil 1883 edgelq_iam_proto_v1_service_projects_management_custom_proto_depIdxs = nil 1884 }