github.com/cloudwan/edgelq-sdk@v1.15.4/iam/resources/v1/common/common.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/iam/proto/v1/common.proto 3 // DO NOT EDIT!!! 4 5 package iam_common 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 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 21 ) 22 23 // Reference imports to suppress errors if they are not otherwise used. 24 var ( 25 _ = fmt.Errorf 26 _ = reflect.Method{} 27 _ = sync.Once{} 28 29 _ = protojson.MarshalOptions{} 30 _ = proto.MarshalOptions{} 31 _ = preflect.Value{} 32 _ = protoimpl.DescBuilder{} 33 ) 34 35 // make sure we're using proto imports 36 var ( 37 _ = &meta_service.Service{} 38 ) 39 40 const ( 41 // Verify that this generated code is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 43 // Verify that runtime/protoimpl is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 45 ) 46 47 type TpmVersion int32 48 49 const ( 50 TpmVersion_TPMVAGNOSTIC TpmVersion = 0 51 TpmVersion_TPMV12 TpmVersion = 1 52 TpmVersion_TPMV20 TpmVersion = 2 53 ) 54 55 var ( 56 TpmVersion_name = map[int32]string{ 57 0: "TPMVAGNOSTIC", 58 1: "TPMV12", 59 2: "TPMV20", 60 } 61 62 TpmVersion_value = map[string]int32{ 63 "TPMVAGNOSTIC": 0, 64 "TPMV12": 1, 65 "TPMV20": 2, 66 } 67 ) 68 69 func (x TpmVersion) Enum() *TpmVersion { 70 p := new(TpmVersion) 71 *p = x 72 return p 73 } 74 75 func (x TpmVersion) String() string { 76 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 77 } 78 79 func (TpmVersion) Descriptor() preflect.EnumDescriptor { 80 return edgelq_iam_proto_v1_common_proto_enumTypes[0].Descriptor() 81 } 82 83 func (TpmVersion) Type() preflect.EnumType { 84 return &edgelq_iam_proto_v1_common_proto_enumTypes[0] 85 } 86 87 func (x TpmVersion) Number() preflect.EnumNumber { 88 return preflect.EnumNumber(x) 89 } 90 91 // Deprecated, Use TpmVersion.ProtoReflect.Descriptor instead. 92 func (TpmVersion) EnumDescriptor() ([]byte, []int) { 93 return edgelq_iam_proto_v1_common_proto_rawDescGZIP(), []int{0} 94 } 95 96 type DigestAlg int32 97 98 const ( 99 DigestAlg_SHA1 DigestAlg = 0 100 DigestAlg_SHA256 DigestAlg = 1 101 ) 102 103 var ( 104 DigestAlg_name = map[int32]string{ 105 0: "SHA1", 106 1: "SHA256", 107 } 108 109 DigestAlg_value = map[string]int32{ 110 "SHA1": 0, 111 "SHA256": 1, 112 } 113 ) 114 115 func (x DigestAlg) Enum() *DigestAlg { 116 p := new(DigestAlg) 117 *p = x 118 return p 119 } 120 121 func (x DigestAlg) String() string { 122 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 123 } 124 125 func (DigestAlg) Descriptor() preflect.EnumDescriptor { 126 return edgelq_iam_proto_v1_common_proto_enumTypes[1].Descriptor() 127 } 128 129 func (DigestAlg) Type() preflect.EnumType { 130 return &edgelq_iam_proto_v1_common_proto_enumTypes[1] 131 } 132 133 func (x DigestAlg) Number() preflect.EnumNumber { 134 return preflect.EnumNumber(x) 135 } 136 137 // Deprecated, Use DigestAlg.ProtoReflect.Descriptor instead. 138 func (DigestAlg) EnumDescriptor() ([]byte, []int) { 139 return edgelq_iam_proto_v1_common_proto_rawDescGZIP(), []int{1} 140 } 141 142 // BusinessTier indicates size of organizational entity (project or 143 // organization). Size-type sizes are used in core edgelq services, 144 // SKU-types can be used optionally by 3rd party services. 145 type BusinessTier int32 146 147 const ( 148 BusinessTier_UNDEFINED BusinessTier = 0 149 BusinessTier_LARGE BusinessTier = 1 150 BusinessTier_MEDIUM BusinessTier = 2 151 BusinessTier_SMALL BusinessTier = 3 152 BusinessTier_XSMALL BusinessTier = 4 153 BusinessTier_SKU0 BusinessTier = 5 154 BusinessTier_SKU1 BusinessTier = 6 155 BusinessTier_SKU2 BusinessTier = 7 156 BusinessTier_SKU3 BusinessTier = 8 157 BusinessTier_SKU4 BusinessTier = 9 158 BusinessTier_SKU5 BusinessTier = 10 159 BusinessTier_SKU6 BusinessTier = 11 160 BusinessTier_SKU7 BusinessTier = 12 161 BusinessTier_SKU8 BusinessTier = 13 162 BusinessTier_SKU9 BusinessTier = 14 163 BusinessTier_SKU10 BusinessTier = 15 164 BusinessTier_SKU11 BusinessTier = 16 165 BusinessTier_SKU12 BusinessTier = 17 166 ) 167 168 var ( 169 BusinessTier_name = map[int32]string{ 170 0: "UNDEFINED", 171 1: "LARGE", 172 2: "MEDIUM", 173 3: "SMALL", 174 4: "XSMALL", 175 5: "SKU0", 176 6: "SKU1", 177 7: "SKU2", 178 8: "SKU3", 179 9: "SKU4", 180 10: "SKU5", 181 11: "SKU6", 182 12: "SKU7", 183 13: "SKU8", 184 14: "SKU9", 185 15: "SKU10", 186 16: "SKU11", 187 17: "SKU12", 188 } 189 190 BusinessTier_value = map[string]int32{ 191 "UNDEFINED": 0, 192 "LARGE": 1, 193 "MEDIUM": 2, 194 "SMALL": 3, 195 "XSMALL": 4, 196 "SKU0": 5, 197 "SKU1": 6, 198 "SKU2": 7, 199 "SKU3": 8, 200 "SKU4": 9, 201 "SKU5": 10, 202 "SKU6": 11, 203 "SKU7": 12, 204 "SKU8": 13, 205 "SKU9": 14, 206 "SKU10": 15, 207 "SKU11": 16, 208 "SKU12": 17, 209 } 210 ) 211 212 func (x BusinessTier) Enum() *BusinessTier { 213 p := new(BusinessTier) 214 *p = x 215 return p 216 } 217 218 func (x BusinessTier) String() string { 219 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 220 } 221 222 func (BusinessTier) Descriptor() preflect.EnumDescriptor { 223 return edgelq_iam_proto_v1_common_proto_enumTypes[2].Descriptor() 224 } 225 226 func (BusinessTier) Type() preflect.EnumType { 227 return &edgelq_iam_proto_v1_common_proto_enumTypes[2] 228 } 229 230 func (x BusinessTier) Number() preflect.EnumNumber { 231 return preflect.EnumNumber(x) 232 } 233 234 // Deprecated, Use BusinessTier.ProtoReflect.Descriptor instead. 235 func (BusinessTier) EnumDescriptor() ([]byte, []int) { 236 return edgelq_iam_proto_v1_common_proto_rawDescGZIP(), []int{2} 237 } 238 239 type PCR struct { 240 state protoimpl.MessageState 241 sizeCache protoimpl.SizeCache 242 unknownFields protoimpl.UnknownFields 243 Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` 244 // Hex-encoded digest string (without 0x prefix, e.g. "DEADBEEF") 245 DigestHex string `protobuf:"bytes,2,opt,name=digest_hex,json=digestHex,proto3" json:"digest_hex,omitempty"` 246 DigestAlg DigestAlg `protobuf:"varint,3,opt,name=digest_alg,json=digestAlg,proto3,enum=ntt.iam.v1.DigestAlg" json:"digest_alg,omitempty"` 247 // User's comments for this entry 248 Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"` 249 } 250 251 func (m *PCR) Reset() { 252 *m = PCR{} 253 if protoimpl.UnsafeEnabled { 254 mi := &edgelq_iam_proto_v1_common_proto_msgTypes[0] 255 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 256 ms.StoreMessageInfo(mi) 257 } 258 } 259 260 func (m *PCR) String() string { 261 return protoimpl.X.MessageStringOf(m) 262 } 263 264 func (*PCR) ProtoMessage() {} 265 266 func (m *PCR) ProtoReflect() preflect.Message { 267 mi := &edgelq_iam_proto_v1_common_proto_msgTypes[0] 268 if protoimpl.UnsafeEnabled && m != nil { 269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 270 if ms.LoadMessageInfo() == nil { 271 ms.StoreMessageInfo(mi) 272 } 273 return ms 274 } 275 return mi.MessageOf(m) 276 } 277 278 func (*PCR) GotenMessage() {} 279 280 // Deprecated, Use PCR.ProtoReflect.Descriptor instead. 281 func (*PCR) Descriptor() ([]byte, []int) { 282 return edgelq_iam_proto_v1_common_proto_rawDescGZIP(), []int{0} 283 } 284 285 func (m *PCR) Unmarshal(b []byte) error { 286 return proto.Unmarshal(b, m) 287 } 288 289 func (m *PCR) Marshal() ([]byte, error) { 290 return proto.Marshal(m) 291 } 292 293 func (m *PCR) MarshalJSON() ([]byte, error) { 294 return protojson.MarshalOptions{}.Marshal(m) 295 } 296 297 func (m *PCR) UnmarshalJSON(data []byte) error { 298 return protojson.Unmarshal(data, m) 299 } 300 301 func (m *PCR) GetIndex() uint32 { 302 if m != nil { 303 return m.Index 304 } 305 return uint32(0) 306 } 307 308 func (m *PCR) GetDigestHex() string { 309 if m != nil { 310 return m.DigestHex 311 } 312 return "" 313 } 314 315 func (m *PCR) GetDigestAlg() DigestAlg { 316 if m != nil { 317 return m.DigestAlg 318 } 319 return DigestAlg_SHA1 320 } 321 322 func (m *PCR) GetComment() string { 323 if m != nil { 324 return m.Comment 325 } 326 return "" 327 } 328 329 func (m *PCR) SetIndex(fv uint32) { 330 if m == nil { 331 panic(fmt.Errorf("can't set %s on nil %s", "Index", "PCR")) 332 } 333 m.Index = fv 334 } 335 336 func (m *PCR) SetDigestHex(fv string) { 337 if m == nil { 338 panic(fmt.Errorf("can't set %s on nil %s", "DigestHex", "PCR")) 339 } 340 m.DigestHex = fv 341 } 342 343 func (m *PCR) SetDigestAlg(fv DigestAlg) { 344 if m == nil { 345 panic(fmt.Errorf("can't set %s on nil %s", "DigestAlg", "PCR")) 346 } 347 m.DigestAlg = fv 348 } 349 350 func (m *PCR) SetComment(fv string) { 351 if m == nil { 352 panic(fmt.Errorf("can't set %s on nil %s", "Comment", "PCR")) 353 } 354 m.Comment = fv 355 } 356 357 // ServiceBusinessTier binds specific service with specific business tier. 358 // It may be useful if two services use different tier in one organizational 359 // entity (project or organization). 360 type ServiceBusinessTier struct { 361 state protoimpl.MessageState 362 sizeCache protoimpl.SizeCache 363 unknownFields protoimpl.UnknownFields 364 // Service 365 Service *meta_service.Name `protobuf:"bytes,1,opt,customtype=Name,name=service,proto3" json:"service,omitempty"` 366 // Entity tier value for given service. It may be also set to UNDEFINED, 367 // if this service is not supposed to be used at all for given entity. 368 // This way we can opt out from core edgelq services if needed. 369 BusinessTier BusinessTier `protobuf:"varint,2,opt,name=business_tier,json=businessTier,proto3,enum=ntt.iam.v1.BusinessTier" json:"business_tier,omitempty"` 370 } 371 372 func (m *ServiceBusinessTier) Reset() { 373 *m = ServiceBusinessTier{} 374 if protoimpl.UnsafeEnabled { 375 mi := &edgelq_iam_proto_v1_common_proto_msgTypes[1] 376 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 377 ms.StoreMessageInfo(mi) 378 } 379 } 380 381 func (m *ServiceBusinessTier) String() string { 382 return protoimpl.X.MessageStringOf(m) 383 } 384 385 func (*ServiceBusinessTier) ProtoMessage() {} 386 387 func (m *ServiceBusinessTier) ProtoReflect() preflect.Message { 388 mi := &edgelq_iam_proto_v1_common_proto_msgTypes[1] 389 if protoimpl.UnsafeEnabled && m != nil { 390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 391 if ms.LoadMessageInfo() == nil { 392 ms.StoreMessageInfo(mi) 393 } 394 return ms 395 } 396 return mi.MessageOf(m) 397 } 398 399 func (*ServiceBusinessTier) GotenMessage() {} 400 401 // Deprecated, Use ServiceBusinessTier.ProtoReflect.Descriptor instead. 402 func (*ServiceBusinessTier) Descriptor() ([]byte, []int) { 403 return edgelq_iam_proto_v1_common_proto_rawDescGZIP(), []int{1} 404 } 405 406 func (m *ServiceBusinessTier) Unmarshal(b []byte) error { 407 return proto.Unmarshal(b, m) 408 } 409 410 func (m *ServiceBusinessTier) Marshal() ([]byte, error) { 411 return proto.Marshal(m) 412 } 413 414 func (m *ServiceBusinessTier) MarshalJSON() ([]byte, error) { 415 return protojson.MarshalOptions{}.Marshal(m) 416 } 417 418 func (m *ServiceBusinessTier) UnmarshalJSON(data []byte) error { 419 return protojson.Unmarshal(data, m) 420 } 421 422 func (m *ServiceBusinessTier) GetService() *meta_service.Name { 423 if m != nil { 424 return m.Service 425 } 426 return nil 427 } 428 429 func (m *ServiceBusinessTier) GetBusinessTier() BusinessTier { 430 if m != nil { 431 return m.BusinessTier 432 } 433 return BusinessTier_UNDEFINED 434 } 435 436 func (m *ServiceBusinessTier) SetService(fv *meta_service.Name) { 437 if m == nil { 438 panic(fmt.Errorf("can't set %s on nil %s", "Service", "ServiceBusinessTier")) 439 } 440 m.Service = fv 441 } 442 443 func (m *ServiceBusinessTier) SetBusinessTier(fv BusinessTier) { 444 if m == nil { 445 panic(fmt.Errorf("can't set %s on nil %s", "BusinessTier", "ServiceBusinessTier")) 446 } 447 m.BusinessTier = fv 448 } 449 450 // ServiceErrors is generic container wrapping errors with services. 451 type ServiceErrors struct { 452 state protoimpl.MessageState 453 sizeCache protoimpl.SizeCache 454 unknownFields protoimpl.UnknownFields 455 // Errors 456 Errors []*ServiceErrors_Error `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` 457 } 458 459 func (m *ServiceErrors) Reset() { 460 *m = ServiceErrors{} 461 if protoimpl.UnsafeEnabled { 462 mi := &edgelq_iam_proto_v1_common_proto_msgTypes[2] 463 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 464 ms.StoreMessageInfo(mi) 465 } 466 } 467 468 func (m *ServiceErrors) String() string { 469 return protoimpl.X.MessageStringOf(m) 470 } 471 472 func (*ServiceErrors) ProtoMessage() {} 473 474 func (m *ServiceErrors) ProtoReflect() preflect.Message { 475 mi := &edgelq_iam_proto_v1_common_proto_msgTypes[2] 476 if protoimpl.UnsafeEnabled && m != nil { 477 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 478 if ms.LoadMessageInfo() == nil { 479 ms.StoreMessageInfo(mi) 480 } 481 return ms 482 } 483 return mi.MessageOf(m) 484 } 485 486 func (*ServiceErrors) GotenMessage() {} 487 488 // Deprecated, Use ServiceErrors.ProtoReflect.Descriptor instead. 489 func (*ServiceErrors) Descriptor() ([]byte, []int) { 490 return edgelq_iam_proto_v1_common_proto_rawDescGZIP(), []int{2} 491 } 492 493 func (m *ServiceErrors) Unmarshal(b []byte) error { 494 return proto.Unmarshal(b, m) 495 } 496 497 func (m *ServiceErrors) Marshal() ([]byte, error) { 498 return proto.Marshal(m) 499 } 500 501 func (m *ServiceErrors) MarshalJSON() ([]byte, error) { 502 return protojson.MarshalOptions{}.Marshal(m) 503 } 504 505 func (m *ServiceErrors) UnmarshalJSON(data []byte) error { 506 return protojson.Unmarshal(data, m) 507 } 508 509 func (m *ServiceErrors) GetErrors() []*ServiceErrors_Error { 510 if m != nil { 511 return m.Errors 512 } 513 return nil 514 } 515 516 func (m *ServiceErrors) SetErrors(fv []*ServiceErrors_Error) { 517 if m == nil { 518 panic(fmt.Errorf("can't set %s on nil %s", "Errors", "ServiceErrors")) 519 } 520 m.Errors = fv 521 } 522 523 type ServiceErrors_Error struct { 524 state protoimpl.MessageState 525 sizeCache protoimpl.SizeCache 526 unknownFields protoimpl.UnknownFields 527 // Service for which there are error reports. May be skipped if error is 528 // cross-service or is about core EdgeLQ components. 529 Service *meta_service.Name `protobuf:"bytes,1,opt,customtype=Name,name=service,proto3" json:"service,omitempty"` 530 // Error message 531 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` 532 } 533 534 func (m *ServiceErrors_Error) Reset() { 535 *m = ServiceErrors_Error{} 536 if protoimpl.UnsafeEnabled { 537 mi := &edgelq_iam_proto_v1_common_proto_msgTypes[3] 538 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 539 ms.StoreMessageInfo(mi) 540 } 541 } 542 543 func (m *ServiceErrors_Error) String() string { 544 return protoimpl.X.MessageStringOf(m) 545 } 546 547 func (*ServiceErrors_Error) ProtoMessage() {} 548 549 func (m *ServiceErrors_Error) ProtoReflect() preflect.Message { 550 mi := &edgelq_iam_proto_v1_common_proto_msgTypes[3] 551 if protoimpl.UnsafeEnabled && m != nil { 552 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 553 if ms.LoadMessageInfo() == nil { 554 ms.StoreMessageInfo(mi) 555 } 556 return ms 557 } 558 return mi.MessageOf(m) 559 } 560 561 func (*ServiceErrors_Error) GotenMessage() {} 562 563 // Deprecated, Use ServiceErrors_Error.ProtoReflect.Descriptor instead. 564 func (*ServiceErrors_Error) Descriptor() ([]byte, []int) { 565 return edgelq_iam_proto_v1_common_proto_rawDescGZIP(), []int{2, 0} 566 } 567 568 func (m *ServiceErrors_Error) Unmarshal(b []byte) error { 569 return proto.Unmarshal(b, m) 570 } 571 572 func (m *ServiceErrors_Error) Marshal() ([]byte, error) { 573 return proto.Marshal(m) 574 } 575 576 func (m *ServiceErrors_Error) MarshalJSON() ([]byte, error) { 577 return protojson.MarshalOptions{}.Marshal(m) 578 } 579 580 func (m *ServiceErrors_Error) UnmarshalJSON(data []byte) error { 581 return protojson.Unmarshal(data, m) 582 } 583 584 func (m *ServiceErrors_Error) GetService() *meta_service.Name { 585 if m != nil { 586 return m.Service 587 } 588 return nil 589 } 590 591 func (m *ServiceErrors_Error) GetMessage() string { 592 if m != nil { 593 return m.Message 594 } 595 return "" 596 } 597 598 func (m *ServiceErrors_Error) SetService(fv *meta_service.Name) { 599 if m == nil { 600 panic(fmt.Errorf("can't set %s on nil %s", "Service", "ServiceErrors_Error")) 601 } 602 m.Service = fv 603 } 604 605 func (m *ServiceErrors_Error) SetMessage(fv string) { 606 if m == nil { 607 panic(fmt.Errorf("can't set %s on nil %s", "Message", "ServiceErrors_Error")) 608 } 609 m.Message = fv 610 } 611 612 var edgelq_iam_proto_v1_common_proto preflect.FileDescriptor 613 614 var edgelq_iam_proto_v1_common_proto_rawDesc = []byte{ 615 0x0a, 0x20, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 616 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 617 0x74, 0x6f, 0x12, 0x0a, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x19, 618 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 619 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 620 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 621 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 622 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 623 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 624 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 625 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 0x67, 626 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 627 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 628 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 629 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 630 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 631 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x6f, 632 0x74, 0x65, 0x6e, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 633 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 634 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x01, 0x0a, 0x03, 0x50, 0x43, 0x52, 0x12, 635 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 636 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x5f, 637 0x68, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x67, 0x65, 0x73, 638 0x74, 0x48, 0x65, 0x78, 0x12, 0x34, 0x0a, 0x0a, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x5f, 0x61, 639 0x6c, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 640 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x67, 0x52, 641 0x09, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 642 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 643 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x8e, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 644 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x54, 0x69, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x07, 645 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xb2, 646 0xda, 0x21, 0x1a, 0x0a, 0x18, 0x0a, 0x16, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x67, 0x6f, 0x74, 0x65, 647 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 648 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 649 0x73, 0x73, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 650 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 651 0x65, 0x73, 0x73, 0x54, 0x69, 0x65, 0x72, 0x52, 0x0c, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 652 0x73, 0x54, 0x69, 0x65, 0x72, 0x22, 0xa5, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 653 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x37, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 654 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 655 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 656 0x72, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 657 0x1a, 0x5b, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x38, 0x0a, 0x07, 0x73, 0x65, 0x72, 658 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xb2, 0xda, 0x21, 0x1a, 659 0x0a, 0x18, 0x0a, 0x16, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x63, 660 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 661 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 662 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2a, 0x36, 0x0a, 663 0x0a, 0x54, 0x70, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x0c, 0x54, 664 0x50, 0x4d, 0x56, 0x41, 0x47, 0x4e, 0x4f, 0x53, 0x54, 0x49, 0x43, 0x10, 0x00, 0x12, 0x0a, 0x0a, 665 0x06, 0x54, 0x50, 0x4d, 0x56, 0x31, 0x32, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x50, 0x4d, 666 0x56, 0x32, 0x30, 0x10, 0x02, 0x2a, 0x21, 0x0a, 0x09, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x41, 667 0x6c, 0x67, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x48, 0x41, 0x31, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 668 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x01, 0x2a, 0xd0, 0x01, 0x0a, 0x0c, 0x42, 0x75, 0x73, 669 0x69, 0x6e, 0x65, 0x73, 0x73, 0x54, 0x69, 0x65, 0x72, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x44, 670 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x41, 0x52, 0x47, 671 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x44, 0x49, 0x55, 0x4d, 0x10, 0x02, 0x12, 672 0x09, 0x0a, 0x05, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58, 0x53, 673 0x4d, 0x41, 0x4c, 0x4c, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x4b, 0x55, 0x30, 0x10, 0x05, 674 0x12, 0x08, 0x0a, 0x04, 0x53, 0x4b, 0x55, 0x31, 0x10, 0x06, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x4b, 675 0x55, 0x32, 0x10, 0x07, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x4b, 0x55, 0x33, 0x10, 0x08, 0x12, 0x08, 676 0x0a, 0x04, 0x53, 0x4b, 0x55, 0x34, 0x10, 0x09, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x4b, 0x55, 0x35, 677 0x10, 0x0a, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x4b, 0x55, 0x36, 0x10, 0x0b, 0x12, 0x08, 0x0a, 0x04, 678 0x53, 0x4b, 0x55, 0x37, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x4b, 0x55, 0x38, 0x10, 0x0d, 679 0x12, 0x08, 0x0a, 0x04, 0x53, 0x4b, 0x55, 0x39, 0x10, 0x0e, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4b, 680 0x55, 0x31, 0x30, 0x10, 0x0f, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4b, 0x55, 0x31, 0x31, 0x10, 0x10, 681 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4b, 0x55, 0x31, 0x32, 0x10, 0x11, 0x42, 0x58, 0xe8, 0xde, 0x21, 682 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x70, 683 0x62, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 684 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 685 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 686 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x69, 0x61, 0x6d, 0x5f, 0x63, 687 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 688 } 689 690 var ( 691 edgelq_iam_proto_v1_common_proto_rawDescOnce sync.Once 692 edgelq_iam_proto_v1_common_proto_rawDescData = edgelq_iam_proto_v1_common_proto_rawDesc 693 ) 694 695 func edgelq_iam_proto_v1_common_proto_rawDescGZIP() []byte { 696 edgelq_iam_proto_v1_common_proto_rawDescOnce.Do(func() { 697 edgelq_iam_proto_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_iam_proto_v1_common_proto_rawDescData) 698 }) 699 return edgelq_iam_proto_v1_common_proto_rawDescData 700 } 701 702 var edgelq_iam_proto_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 703 var edgelq_iam_proto_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 704 var edgelq_iam_proto_v1_common_proto_goTypes = []interface{}{ 705 (TpmVersion)(0), // 0: ntt.iam.v1.TpmVersion 706 (DigestAlg)(0), // 1: ntt.iam.v1.DigestAlg 707 (BusinessTier)(0), // 2: ntt.iam.v1.BusinessTier 708 (*PCR)(nil), // 3: ntt.iam.v1.PCR 709 (*ServiceBusinessTier)(nil), // 4: ntt.iam.v1.ServiceBusinessTier 710 (*ServiceErrors)(nil), // 5: ntt.iam.v1.ServiceErrors 711 (*ServiceErrors_Error)(nil), // 6: ntt.iam.v1.ServiceErrors.Error 712 } 713 var edgelq_iam_proto_v1_common_proto_depIdxs = []int32{ 714 1, // 0: ntt.iam.v1.PCR.digest_alg:type_name -> ntt.iam.v1.DigestAlg 715 2, // 1: ntt.iam.v1.ServiceBusinessTier.business_tier:type_name -> ntt.iam.v1.BusinessTier 716 6, // 2: ntt.iam.v1.ServiceErrors.errors:type_name -> ntt.iam.v1.ServiceErrors.Error 717 3, // [3:3] is the sub-list for method output_type 718 3, // [3:3] is the sub-list for method input_type 719 3, // [3:3] is the sub-list for extension type_name 720 3, // [3:3] is the sub-list for extension extendee 721 0, // [0:3] is the sub-list for field type_name 722 } 723 724 func init() { edgelq_iam_proto_v1_common_proto_init() } 725 func edgelq_iam_proto_v1_common_proto_init() { 726 if edgelq_iam_proto_v1_common_proto != nil { 727 return 728 } 729 if !protoimpl.UnsafeEnabled { 730 731 edgelq_iam_proto_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 732 switch v := v.(*PCR); i { 733 case 0: 734 return &v.state 735 case 1: 736 return &v.sizeCache 737 case 2: 738 return &v.unknownFields 739 default: 740 return nil 741 } 742 } 743 edgelq_iam_proto_v1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 744 switch v := v.(*ServiceBusinessTier); i { 745 case 0: 746 return &v.state 747 case 1: 748 return &v.sizeCache 749 case 2: 750 return &v.unknownFields 751 default: 752 return nil 753 } 754 } 755 edgelq_iam_proto_v1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 756 switch v := v.(*ServiceErrors); i { 757 case 0: 758 return &v.state 759 case 1: 760 return &v.sizeCache 761 case 2: 762 return &v.unknownFields 763 default: 764 return nil 765 } 766 } 767 edgelq_iam_proto_v1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 768 switch v := v.(*ServiceErrors_Error); i { 769 case 0: 770 return &v.state 771 case 1: 772 return &v.sizeCache 773 case 2: 774 return &v.unknownFields 775 default: 776 return nil 777 } 778 } 779 } 780 781 type x struct{} 782 out := protoimpl.TypeBuilder{ 783 File: protoimpl.DescBuilder{ 784 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 785 RawDescriptor: edgelq_iam_proto_v1_common_proto_rawDesc, 786 NumEnums: 3, 787 NumMessages: 4, 788 NumExtensions: 0, 789 NumServices: 0, 790 }, 791 GoTypes: edgelq_iam_proto_v1_common_proto_goTypes, 792 DependencyIndexes: edgelq_iam_proto_v1_common_proto_depIdxs, 793 EnumInfos: edgelq_iam_proto_v1_common_proto_enumTypes, 794 MessageInfos: edgelq_iam_proto_v1_common_proto_msgTypes, 795 }.Build() 796 edgelq_iam_proto_v1_common_proto = out.File 797 edgelq_iam_proto_v1_common_proto_rawDesc = nil 798 edgelq_iam_proto_v1_common_proto_goTypes = nil 799 edgelq_iam_proto_v1_common_proto_depIdxs = nil 800 }