github.com/cloudwan/edgelq-sdk@v1.15.4/iam/resources/v1alpha2/common/common.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/iam/proto/v1alpha2/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/edgelq-sdk/meta/resources/v1alpha2/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_v1alpha2_common_proto_enumTypes[0].Descriptor() 81 } 82 83 func (TpmVersion) Type() preflect.EnumType { 84 return &edgelq_iam_proto_v1alpha2_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_v1alpha2_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_v1alpha2_common_proto_enumTypes[1].Descriptor() 127 } 128 129 func (DigestAlg) Type() preflect.EnumType { 130 return &edgelq_iam_proto_v1alpha2_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_v1alpha2_common_proto_rawDescGZIP(), []int{1} 140 } 141 142 // BusinessTier indicates size of organizational entity (project or 143 // organization) 144 type BusinessTier int32 145 146 const ( 147 BusinessTier_UNDEFINED BusinessTier = 0 148 BusinessTier_LARGE BusinessTier = 1 149 BusinessTier_MEDIUM BusinessTier = 2 150 BusinessTier_SMALL BusinessTier = 3 151 BusinessTier_XSMALL BusinessTier = 4 152 ) 153 154 var ( 155 BusinessTier_name = map[int32]string{ 156 0: "UNDEFINED", 157 1: "LARGE", 158 2: "MEDIUM", 159 3: "SMALL", 160 4: "XSMALL", 161 } 162 163 BusinessTier_value = map[string]int32{ 164 "UNDEFINED": 0, 165 "LARGE": 1, 166 "MEDIUM": 2, 167 "SMALL": 3, 168 "XSMALL": 4, 169 } 170 ) 171 172 func (x BusinessTier) Enum() *BusinessTier { 173 p := new(BusinessTier) 174 *p = x 175 return p 176 } 177 178 func (x BusinessTier) String() string { 179 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 180 } 181 182 func (BusinessTier) Descriptor() preflect.EnumDescriptor { 183 return edgelq_iam_proto_v1alpha2_common_proto_enumTypes[2].Descriptor() 184 } 185 186 func (BusinessTier) Type() preflect.EnumType { 187 return &edgelq_iam_proto_v1alpha2_common_proto_enumTypes[2] 188 } 189 190 func (x BusinessTier) Number() preflect.EnumNumber { 191 return preflect.EnumNumber(x) 192 } 193 194 // Deprecated, Use BusinessTier.ProtoReflect.Descriptor instead. 195 func (BusinessTier) EnumDescriptor() ([]byte, []int) { 196 return edgelq_iam_proto_v1alpha2_common_proto_rawDescGZIP(), []int{2} 197 } 198 199 type PCR struct { 200 state protoimpl.MessageState 201 sizeCache protoimpl.SizeCache 202 unknownFields protoimpl.UnknownFields 203 Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` 204 // Hex-encoded digest string (without 0x prefix, e.g. "DEADBEEF") 205 DigestHex string `protobuf:"bytes,2,opt,name=digest_hex,json=digestHex,proto3" json:"digest_hex,omitempty"` 206 DigestAlg DigestAlg `protobuf:"varint,3,opt,name=digest_alg,json=digestAlg,proto3,enum=ntt.iam.v1alpha2.DigestAlg" json:"digest_alg,omitempty"` 207 // User's comments for this entry 208 Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"` 209 } 210 211 func (m *PCR) Reset() { 212 *m = PCR{} 213 if protoimpl.UnsafeEnabled { 214 mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[0] 215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 216 ms.StoreMessageInfo(mi) 217 } 218 } 219 220 func (m *PCR) String() string { 221 return protoimpl.X.MessageStringOf(m) 222 } 223 224 func (*PCR) ProtoMessage() {} 225 226 func (m *PCR) ProtoReflect() preflect.Message { 227 mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[0] 228 if protoimpl.UnsafeEnabled && m != nil { 229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 230 if ms.LoadMessageInfo() == nil { 231 ms.StoreMessageInfo(mi) 232 } 233 return ms 234 } 235 return mi.MessageOf(m) 236 } 237 238 func (*PCR) GotenMessage() {} 239 240 // Deprecated, Use PCR.ProtoReflect.Descriptor instead. 241 func (*PCR) Descriptor() ([]byte, []int) { 242 return edgelq_iam_proto_v1alpha2_common_proto_rawDescGZIP(), []int{0} 243 } 244 245 func (m *PCR) Unmarshal(b []byte) error { 246 return proto.Unmarshal(b, m) 247 } 248 249 func (m *PCR) Marshal() ([]byte, error) { 250 return proto.Marshal(m) 251 } 252 253 func (m *PCR) MarshalJSON() ([]byte, error) { 254 return protojson.MarshalOptions{}.Marshal(m) 255 } 256 257 func (m *PCR) UnmarshalJSON(data []byte) error { 258 return protojson.Unmarshal(data, m) 259 } 260 261 func (m *PCR) GetIndex() uint32 { 262 if m != nil { 263 return m.Index 264 } 265 return uint32(0) 266 } 267 268 func (m *PCR) GetDigestHex() string { 269 if m != nil { 270 return m.DigestHex 271 } 272 return "" 273 } 274 275 func (m *PCR) GetDigestAlg() DigestAlg { 276 if m != nil { 277 return m.DigestAlg 278 } 279 return DigestAlg_SHA1 280 } 281 282 func (m *PCR) GetComment() string { 283 if m != nil { 284 return m.Comment 285 } 286 return "" 287 } 288 289 func (m *PCR) SetIndex(fv uint32) { 290 if m == nil { 291 panic(fmt.Errorf("can't set %s on nil %s", "Index", "PCR")) 292 } 293 m.Index = fv 294 } 295 296 func (m *PCR) SetDigestHex(fv string) { 297 if m == nil { 298 panic(fmt.Errorf("can't set %s on nil %s", "DigestHex", "PCR")) 299 } 300 m.DigestHex = fv 301 } 302 303 func (m *PCR) SetDigestAlg(fv DigestAlg) { 304 if m == nil { 305 panic(fmt.Errorf("can't set %s on nil %s", "DigestAlg", "PCR")) 306 } 307 m.DigestAlg = fv 308 } 309 310 func (m *PCR) SetComment(fv string) { 311 if m == nil { 312 panic(fmt.Errorf("can't set %s on nil %s", "Comment", "PCR")) 313 } 314 m.Comment = fv 315 } 316 317 // ServiceBusinessTier binds specific service with specific business tier. 318 // It may be useful if two services use different tier in one organizational 319 // entity (project or organization). 320 type ServiceBusinessTier struct { 321 state protoimpl.MessageState 322 sizeCache protoimpl.SizeCache 323 unknownFields protoimpl.UnknownFields 324 // Service 325 Service *meta_service.Name `protobuf:"bytes,1,opt,customtype=Name,name=service,proto3" json:"service,omitempty"` 326 // Entity tier value for given service. 327 BusinessTier BusinessTier `protobuf:"varint,2,opt,name=business_tier,json=businessTier,proto3,enum=ntt.iam.v1alpha2.BusinessTier" json:"business_tier,omitempty"` 328 } 329 330 func (m *ServiceBusinessTier) Reset() { 331 *m = ServiceBusinessTier{} 332 if protoimpl.UnsafeEnabled { 333 mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[1] 334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 335 ms.StoreMessageInfo(mi) 336 } 337 } 338 339 func (m *ServiceBusinessTier) String() string { 340 return protoimpl.X.MessageStringOf(m) 341 } 342 343 func (*ServiceBusinessTier) ProtoMessage() {} 344 345 func (m *ServiceBusinessTier) ProtoReflect() preflect.Message { 346 mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[1] 347 if protoimpl.UnsafeEnabled && m != nil { 348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 349 if ms.LoadMessageInfo() == nil { 350 ms.StoreMessageInfo(mi) 351 } 352 return ms 353 } 354 return mi.MessageOf(m) 355 } 356 357 func (*ServiceBusinessTier) GotenMessage() {} 358 359 // Deprecated, Use ServiceBusinessTier.ProtoReflect.Descriptor instead. 360 func (*ServiceBusinessTier) Descriptor() ([]byte, []int) { 361 return edgelq_iam_proto_v1alpha2_common_proto_rawDescGZIP(), []int{1} 362 } 363 364 func (m *ServiceBusinessTier) Unmarshal(b []byte) error { 365 return proto.Unmarshal(b, m) 366 } 367 368 func (m *ServiceBusinessTier) Marshal() ([]byte, error) { 369 return proto.Marshal(m) 370 } 371 372 func (m *ServiceBusinessTier) MarshalJSON() ([]byte, error) { 373 return protojson.MarshalOptions{}.Marshal(m) 374 } 375 376 func (m *ServiceBusinessTier) UnmarshalJSON(data []byte) error { 377 return protojson.Unmarshal(data, m) 378 } 379 380 func (m *ServiceBusinessTier) GetService() *meta_service.Name { 381 if m != nil { 382 return m.Service 383 } 384 return nil 385 } 386 387 func (m *ServiceBusinessTier) GetBusinessTier() BusinessTier { 388 if m != nil { 389 return m.BusinessTier 390 } 391 return BusinessTier_UNDEFINED 392 } 393 394 func (m *ServiceBusinessTier) SetService(fv *meta_service.Name) { 395 if m == nil { 396 panic(fmt.Errorf("can't set %s on nil %s", "Service", "ServiceBusinessTier")) 397 } 398 m.Service = fv 399 } 400 401 func (m *ServiceBusinessTier) SetBusinessTier(fv BusinessTier) { 402 if m == nil { 403 panic(fmt.Errorf("can't set %s on nil %s", "BusinessTier", "ServiceBusinessTier")) 404 } 405 m.BusinessTier = fv 406 } 407 408 // ServiceErrors is generic container wrapping errors with services. 409 type ServiceErrors struct { 410 state protoimpl.MessageState 411 sizeCache protoimpl.SizeCache 412 unknownFields protoimpl.UnknownFields 413 // Errors 414 Errors []*ServiceErrors_Error `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` 415 } 416 417 func (m *ServiceErrors) Reset() { 418 *m = ServiceErrors{} 419 if protoimpl.UnsafeEnabled { 420 mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[2] 421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 422 ms.StoreMessageInfo(mi) 423 } 424 } 425 426 func (m *ServiceErrors) String() string { 427 return protoimpl.X.MessageStringOf(m) 428 } 429 430 func (*ServiceErrors) ProtoMessage() {} 431 432 func (m *ServiceErrors) ProtoReflect() preflect.Message { 433 mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[2] 434 if protoimpl.UnsafeEnabled && m != nil { 435 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 436 if ms.LoadMessageInfo() == nil { 437 ms.StoreMessageInfo(mi) 438 } 439 return ms 440 } 441 return mi.MessageOf(m) 442 } 443 444 func (*ServiceErrors) GotenMessage() {} 445 446 // Deprecated, Use ServiceErrors.ProtoReflect.Descriptor instead. 447 func (*ServiceErrors) Descriptor() ([]byte, []int) { 448 return edgelq_iam_proto_v1alpha2_common_proto_rawDescGZIP(), []int{2} 449 } 450 451 func (m *ServiceErrors) Unmarshal(b []byte) error { 452 return proto.Unmarshal(b, m) 453 } 454 455 func (m *ServiceErrors) Marshal() ([]byte, error) { 456 return proto.Marshal(m) 457 } 458 459 func (m *ServiceErrors) MarshalJSON() ([]byte, error) { 460 return protojson.MarshalOptions{}.Marshal(m) 461 } 462 463 func (m *ServiceErrors) UnmarshalJSON(data []byte) error { 464 return protojson.Unmarshal(data, m) 465 } 466 467 func (m *ServiceErrors) GetErrors() []*ServiceErrors_Error { 468 if m != nil { 469 return m.Errors 470 } 471 return nil 472 } 473 474 func (m *ServiceErrors) SetErrors(fv []*ServiceErrors_Error) { 475 if m == nil { 476 panic(fmt.Errorf("can't set %s on nil %s", "Errors", "ServiceErrors")) 477 } 478 m.Errors = fv 479 } 480 481 type ServiceErrors_Error struct { 482 state protoimpl.MessageState 483 sizeCache protoimpl.SizeCache 484 unknownFields protoimpl.UnknownFields 485 // Service for which there are error reports. May be skipped if error is 486 // cross-service or is about core EdgeLQ components. 487 Service *meta_service.Name `protobuf:"bytes,1,opt,customtype=Name,name=service,proto3" json:"service,omitempty"` 488 // Error message 489 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` 490 } 491 492 func (m *ServiceErrors_Error) Reset() { 493 *m = ServiceErrors_Error{} 494 if protoimpl.UnsafeEnabled { 495 mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[3] 496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 497 ms.StoreMessageInfo(mi) 498 } 499 } 500 501 func (m *ServiceErrors_Error) String() string { 502 return protoimpl.X.MessageStringOf(m) 503 } 504 505 func (*ServiceErrors_Error) ProtoMessage() {} 506 507 func (m *ServiceErrors_Error) ProtoReflect() preflect.Message { 508 mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[3] 509 if protoimpl.UnsafeEnabled && m != nil { 510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 511 if ms.LoadMessageInfo() == nil { 512 ms.StoreMessageInfo(mi) 513 } 514 return ms 515 } 516 return mi.MessageOf(m) 517 } 518 519 func (*ServiceErrors_Error) GotenMessage() {} 520 521 // Deprecated, Use ServiceErrors_Error.ProtoReflect.Descriptor instead. 522 func (*ServiceErrors_Error) Descriptor() ([]byte, []int) { 523 return edgelq_iam_proto_v1alpha2_common_proto_rawDescGZIP(), []int{2, 0} 524 } 525 526 func (m *ServiceErrors_Error) Unmarshal(b []byte) error { 527 return proto.Unmarshal(b, m) 528 } 529 530 func (m *ServiceErrors_Error) Marshal() ([]byte, error) { 531 return proto.Marshal(m) 532 } 533 534 func (m *ServiceErrors_Error) MarshalJSON() ([]byte, error) { 535 return protojson.MarshalOptions{}.Marshal(m) 536 } 537 538 func (m *ServiceErrors_Error) UnmarshalJSON(data []byte) error { 539 return protojson.Unmarshal(data, m) 540 } 541 542 func (m *ServiceErrors_Error) GetService() *meta_service.Name { 543 if m != nil { 544 return m.Service 545 } 546 return nil 547 } 548 549 func (m *ServiceErrors_Error) GetMessage() string { 550 if m != nil { 551 return m.Message 552 } 553 return "" 554 } 555 556 func (m *ServiceErrors_Error) SetService(fv *meta_service.Name) { 557 if m == nil { 558 panic(fmt.Errorf("can't set %s on nil %s", "Service", "ServiceErrors_Error")) 559 } 560 m.Service = fv 561 } 562 563 func (m *ServiceErrors_Error) SetMessage(fv string) { 564 if m == nil { 565 panic(fmt.Errorf("can't set %s on nil %s", "Message", "ServiceErrors_Error")) 566 } 567 m.Message = fv 568 } 569 570 var edgelq_iam_proto_v1alpha2_common_proto preflect.FileDescriptor 571 572 var edgelq_iam_proto_v1alpha2_common_proto_rawDesc = []byte{ 573 0x0a, 0x26, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 574 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 575 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 576 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 577 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 578 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 579 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 580 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 581 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 582 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 583 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 584 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 585 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 586 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 587 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 588 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 589 0x61, 0x6d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 590 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 591 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 592 0x70, 0x68, 0x61, 0x32, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 593 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x03, 0x50, 0x43, 0x52, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 594 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 595 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x02, 596 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x48, 0x65, 0x78, 0x12, 597 0x3a, 0x0a, 0x0a, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x6c, 0x67, 0x18, 0x03, 0x20, 598 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 599 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x67, 600 0x52, 0x09, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x63, 601 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 602 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x9f, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 603 0x65, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x54, 0x69, 0x65, 0x72, 0x12, 0x39, 0x0a, 604 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1f, 605 0xb2, 0xda, 0x21, 0x1b, 0x0a, 0x19, 0x0a, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x65, 0x64, 0x67, 606 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 607 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x0d, 0x62, 0x75, 0x73, 0x69, 608 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 609 0x1e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 610 0x61, 0x32, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x54, 0x69, 0x65, 0x72, 0x42, 611 0x08, 0xca, 0xc6, 0x27, 0x04, 0x3a, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x62, 0x75, 0x73, 0x69, 0x6e, 612 0x65, 0x73, 0x73, 0x54, 0x69, 0x65, 0x72, 0x22, 0xac, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 613 0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x3d, 0x0a, 0x06, 0x65, 0x72, 0x72, 614 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 615 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x72, 616 0x76, 0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 617 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x1a, 0x5c, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 618 0x72, 0x12, 0x39, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 619 0x28, 0x09, 0x42, 0x1f, 0xb2, 0xda, 0x21, 0x1b, 0x0a, 0x19, 0x0a, 0x17, 0x6d, 0x65, 0x74, 0x61, 620 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 621 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 622 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 623 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2a, 0x36, 0x0a, 0x0a, 0x54, 0x70, 0x6d, 0x56, 0x65, 0x72, 624 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x50, 0x4d, 0x56, 0x41, 0x47, 0x4e, 0x4f, 625 0x53, 0x54, 0x49, 0x43, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x50, 0x4d, 0x56, 0x31, 0x32, 626 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x50, 0x4d, 0x56, 0x32, 0x30, 0x10, 0x02, 0x2a, 0x21, 627 0x0a, 0x09, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x67, 0x12, 0x08, 0x0a, 0x04, 0x53, 628 0x48, 0x41, 0x31, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 629 0x01, 0x2a, 0x4b, 0x0a, 0x0c, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x54, 0x69, 0x65, 630 0x72, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 631 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x41, 0x52, 0x47, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 632 0x45, 0x44, 0x49, 0x55, 0x4d, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 633 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x58, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x10, 0x04, 0x42, 0x64, 634 0xe8, 0xde, 0x21, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 635 0x6d, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x50, 0x01, 0x5a, 636 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 637 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 638 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 639 0x61, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x69, 0x61, 0x6d, 0x5f, 0x63, 0x6f, 640 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 641 } 642 643 var ( 644 edgelq_iam_proto_v1alpha2_common_proto_rawDescOnce sync.Once 645 edgelq_iam_proto_v1alpha2_common_proto_rawDescData = edgelq_iam_proto_v1alpha2_common_proto_rawDesc 646 ) 647 648 func edgelq_iam_proto_v1alpha2_common_proto_rawDescGZIP() []byte { 649 edgelq_iam_proto_v1alpha2_common_proto_rawDescOnce.Do(func() { 650 edgelq_iam_proto_v1alpha2_common_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_iam_proto_v1alpha2_common_proto_rawDescData) 651 }) 652 return edgelq_iam_proto_v1alpha2_common_proto_rawDescData 653 } 654 655 var edgelq_iam_proto_v1alpha2_common_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 656 var edgelq_iam_proto_v1alpha2_common_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 657 var edgelq_iam_proto_v1alpha2_common_proto_goTypes = []interface{}{ 658 (TpmVersion)(0), // 0: ntt.iam.v1alpha2.TpmVersion 659 (DigestAlg)(0), // 1: ntt.iam.v1alpha2.DigestAlg 660 (BusinessTier)(0), // 2: ntt.iam.v1alpha2.BusinessTier 661 (*PCR)(nil), // 3: ntt.iam.v1alpha2.PCR 662 (*ServiceBusinessTier)(nil), // 4: ntt.iam.v1alpha2.ServiceBusinessTier 663 (*ServiceErrors)(nil), // 5: ntt.iam.v1alpha2.ServiceErrors 664 (*ServiceErrors_Error)(nil), // 6: ntt.iam.v1alpha2.ServiceErrors.Error 665 } 666 var edgelq_iam_proto_v1alpha2_common_proto_depIdxs = []int32{ 667 1, // 0: ntt.iam.v1alpha2.PCR.digest_alg:type_name -> ntt.iam.v1alpha2.DigestAlg 668 2, // 1: ntt.iam.v1alpha2.ServiceBusinessTier.business_tier:type_name -> ntt.iam.v1alpha2.BusinessTier 669 6, // 2: ntt.iam.v1alpha2.ServiceErrors.errors:type_name -> ntt.iam.v1alpha2.ServiceErrors.Error 670 3, // [3:3] is the sub-list for method output_type 671 3, // [3:3] is the sub-list for method input_type 672 3, // [3:3] is the sub-list for extension type_name 673 3, // [3:3] is the sub-list for extension extendee 674 0, // [0:3] is the sub-list for field type_name 675 } 676 677 func init() { edgelq_iam_proto_v1alpha2_common_proto_init() } 678 func edgelq_iam_proto_v1alpha2_common_proto_init() { 679 if edgelq_iam_proto_v1alpha2_common_proto != nil { 680 return 681 } 682 if !protoimpl.UnsafeEnabled { 683 684 edgelq_iam_proto_v1alpha2_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 685 switch v := v.(*PCR); i { 686 case 0: 687 return &v.state 688 case 1: 689 return &v.sizeCache 690 case 2: 691 return &v.unknownFields 692 default: 693 return nil 694 } 695 } 696 edgelq_iam_proto_v1alpha2_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 697 switch v := v.(*ServiceBusinessTier); i { 698 case 0: 699 return &v.state 700 case 1: 701 return &v.sizeCache 702 case 2: 703 return &v.unknownFields 704 default: 705 return nil 706 } 707 } 708 edgelq_iam_proto_v1alpha2_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 709 switch v := v.(*ServiceErrors); i { 710 case 0: 711 return &v.state 712 case 1: 713 return &v.sizeCache 714 case 2: 715 return &v.unknownFields 716 default: 717 return nil 718 } 719 } 720 edgelq_iam_proto_v1alpha2_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 721 switch v := v.(*ServiceErrors_Error); i { 722 case 0: 723 return &v.state 724 case 1: 725 return &v.sizeCache 726 case 2: 727 return &v.unknownFields 728 default: 729 return nil 730 } 731 } 732 } 733 734 type x struct{} 735 out := protoimpl.TypeBuilder{ 736 File: protoimpl.DescBuilder{ 737 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 738 RawDescriptor: edgelq_iam_proto_v1alpha2_common_proto_rawDesc, 739 NumEnums: 3, 740 NumMessages: 4, 741 NumExtensions: 0, 742 NumServices: 0, 743 }, 744 GoTypes: edgelq_iam_proto_v1alpha2_common_proto_goTypes, 745 DependencyIndexes: edgelq_iam_proto_v1alpha2_common_proto_depIdxs, 746 EnumInfos: edgelq_iam_proto_v1alpha2_common_proto_enumTypes, 747 MessageInfos: edgelq_iam_proto_v1alpha2_common_proto_msgTypes, 748 }.Build() 749 edgelq_iam_proto_v1alpha2_common_proto = out.File 750 edgelq_iam_proto_v1alpha2_common_proto_rawDesc = nil 751 edgelq_iam_proto_v1alpha2_common_proto_goTypes = nil 752 edgelq_iam_proto_v1alpha2_common_proto_depIdxs = nil 753 }