-
Notifications
You must be signed in to change notification settings - Fork 1
/
common.pb.go
807 lines (698 loc) · 27.6 KB
/
common.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
// Code generated by protoc-gen-goten-go
// File: edgelq/iam/proto/v1alpha2/common.proto
// DO NOT EDIT!!!
package iam_common
import (
"fmt"
"reflect"
"sync"
"google.golang.org/protobuf/encoding/protojson"
"google.golang.org/protobuf/proto"
preflect "google.golang.org/protobuf/reflect/protoreflect"
"google.golang.org/protobuf/runtime/protoimpl"
)
// proto imports
import (
role "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/role"
service_account "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/service_account"
user "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/user"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
)
// Reference imports to suppress errors if they are not otherwise used.
var (
_ = fmt.Errorf
_ = reflect.Method{}
_ = sync.Once{}
_ = protojson.MarshalOptions{}
_ = proto.MarshalOptions{}
_ = preflect.Value{}
_ = protoimpl.DescBuilder{}
)
// make sure we're using proto imports
var (
_ = &role.Role{}
_ = &service_account.ServiceAccount{}
_ = &user.User{}
_ = ×tamp.Timestamp{}
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type TpmVersion int32
const (
TpmVersion_TPMVAGNOSTIC TpmVersion = 0
TpmVersion_TPMV12 TpmVersion = 1
TpmVersion_TPMV20 TpmVersion = 2
)
var (
TpmVersion_name = map[int32]string{
0: "TPMVAGNOSTIC",
1: "TPMV12",
2: "TPMV20",
}
TpmVersion_value = map[string]int32{
"TPMVAGNOSTIC": 0,
"TPMV12": 1,
"TPMV20": 2,
}
)
func (x TpmVersion) Enum() *TpmVersion {
p := new(TpmVersion)
*p = x
return p
}
func (x TpmVersion) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x))
}
func (TpmVersion) Descriptor() preflect.EnumDescriptor {
return edgelq_iam_proto_v1alpha2_common_proto_enumTypes[0].Descriptor()
}
func (TpmVersion) Type() preflect.EnumType {
return &edgelq_iam_proto_v1alpha2_common_proto_enumTypes[0]
}
func (x TpmVersion) Number() preflect.EnumNumber {
return preflect.EnumNumber(x)
}
// Deprecated, Use TpmVersion.ProtoReflect.Descriptor instead.
func (TpmVersion) EnumDescriptor() ([]byte, []int) {
return edgelq_iam_proto_v1alpha2_common_proto_rawDescGZIP(), []int{0}
}
type DigestAlg int32
const (
DigestAlg_SHA1 DigestAlg = 0
DigestAlg_SHA256 DigestAlg = 1
)
var (
DigestAlg_name = map[int32]string{
0: "SHA1",
1: "SHA256",
}
DigestAlg_value = map[string]int32{
"SHA1": 0,
"SHA256": 1,
}
)
func (x DigestAlg) Enum() *DigestAlg {
p := new(DigestAlg)
*p = x
return p
}
func (x DigestAlg) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x))
}
func (DigestAlg) Descriptor() preflect.EnumDescriptor {
return edgelq_iam_proto_v1alpha2_common_proto_enumTypes[1].Descriptor()
}
func (DigestAlg) Type() preflect.EnumType {
return &edgelq_iam_proto_v1alpha2_common_proto_enumTypes[1]
}
func (x DigestAlg) Number() preflect.EnumNumber {
return preflect.EnumNumber(x)
}
// Deprecated, Use DigestAlg.ProtoReflect.Descriptor instead.
func (DigestAlg) EnumDescriptor() ([]byte, []int) {
return edgelq_iam_proto_v1alpha2_common_proto_rawDescGZIP(), []int{1}
}
// Invitation FSM States
type Invitation_State int32
const (
Invitation_STATE_UNSPECIFIED Invitation_State = 0
Invitation_PENDING Invitation_State = 1
Invitation_ACCEPTED Invitation_State = 2
Invitation_DECLINED Invitation_State = 3
Invitation_EXPIRED Invitation_State = 4
)
var (
Invitation_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PENDING",
2: "ACCEPTED",
3: "DECLINED",
4: "EXPIRED",
}
Invitation_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PENDING": 1,
"ACCEPTED": 2,
"DECLINED": 3,
"EXPIRED": 4,
}
)
func (x Invitation_State) Enum() *Invitation_State {
p := new(Invitation_State)
*p = x
return p
}
func (x Invitation_State) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x))
}
func (Invitation_State) Descriptor() preflect.EnumDescriptor {
return edgelq_iam_proto_v1alpha2_common_proto_enumTypes[2].Descriptor()
}
func (Invitation_State) Type() preflect.EnumType {
return &edgelq_iam_proto_v1alpha2_common_proto_enumTypes[2]
}
func (x Invitation_State) Number() preflect.EnumNumber {
return preflect.EnumNumber(x)
}
// Deprecated, Use Invitation_State.ProtoReflect.Descriptor instead.
func (Invitation_State) EnumDescriptor() ([]byte, []int) {
return edgelq_iam_proto_v1alpha2_common_proto_rawDescGZIP(), []int{1, 0}
}
// Actor is a party performing an action
type Actor struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *user.Reference `protobuf:"bytes,1,opt,customtype=Reference,name=user,proto3" json:"user,omitempty" firestore:"user"`
ServiceAccount *service_account.Reference `protobuf:"bytes,2,opt,customtype=Reference,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty" firestore:"serviceAccount"`
}
func (m *Actor) Reset() {
*m = Actor{}
if protoimpl.UnsafeEnabled {
mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
ms.StoreMessageInfo(mi)
}
}
func (m *Actor) String() string {
return protoimpl.X.MessageStringOf(m)
}
func (*Actor) ProtoMessage() {}
func (m *Actor) ProtoReflect() preflect.Message {
mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && m != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(m)
}
func (*Actor) GotenMessage() {}
// Deprecated, Use Actor.ProtoReflect.Descriptor instead.
func (*Actor) Descriptor() ([]byte, []int) {
return edgelq_iam_proto_v1alpha2_common_proto_rawDescGZIP(), []int{0}
}
func (m *Actor) Unmarshal(b []byte) error {
return proto.Unmarshal(b, m)
}
func (m *Actor) Marshal() ([]byte, error) {
return proto.Marshal(m)
}
func (m *Actor) MarshalJSON() ([]byte, error) {
return protojson.MarshalOptions{}.Marshal(m)
}
func (m *Actor) UnmarshalJSON(data []byte) error {
return protojson.Unmarshal(data, m)
}
func (m *Actor) GetUser() *user.Reference {
if m != nil {
return m.User
}
return nil
}
func (m *Actor) GetServiceAccount() *service_account.Reference {
if m != nil {
return m.ServiceAccount
}
return nil
}
func (m *Actor) SetUser(fv *user.Reference) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "User", "Actor"))
}
m.User = fv
}
func (m *Actor) SetServiceAccount(fv *service_account.Reference) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "ServiceAccount", "Actor"))
}
m.ServiceAccount = fv
}
// Common invitation body. It's used in Project/Organization Invitations
type Invitation struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Invitee Email address
InviteeEmail string `protobuf:"bytes,3,opt,name=invitee_email,json=inviteeEmail,proto3" json:"invitee_email,omitempty" firestore:"inviteeEmail"`
// Inviter User
InviterActor *Actor `protobuf:"bytes,6,opt,name=inviter_actor,json=inviterActor,proto3" json:"inviter_actor,omitempty" firestore:"inviterActor"`
// Denormalized data - TODO: remove it
InviterFullName string `protobuf:"bytes,5,opt,name=inviter_full_name,json=inviterFullName,proto3" json:"inviter_full_name,omitempty" firestore:"inviterFullName"`
// Inviter Email
InviterEmail string `protobuf:"bytes,10,opt,name=inviter_email,json=inviterEmail,proto3" json:"inviter_email,omitempty" firestore:"inviterEmail"`
// Invitation ISO language code. Defaults to "en-us" (American English).
LanguageCode string `protobuf:"bytes,11,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty" firestore:"languageCode"`
// List of Roles to be granted on project when invitation is accepted
Roles []*role.Reference `protobuf:"bytes,7,rep,customtype=Reference,name=roles,proto3" json:"roles,omitempty" firestore:"roles"`
// Expiration date
ExpirationDate *timestamp.Timestamp `protobuf:"bytes,8,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty" firestore:"expirationDate"`
// Extra custom fields to further customize invitation experience.
// Fields should be agreed between sender (usually UI) and documented in
// the template of email service provider.
Extras map[string]string `protobuf:"bytes,12,rep,name=extras,proto3" json:"extras,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" firestore:"extras"`
// Status of Invitation
State Invitation_State `protobuf:"varint,9,opt,name=state,proto3,enum=ntt.iam.v1alpha2.Invitation_State" json:"state,omitempty" firestore:"state"`
}
func (m *Invitation) Reset() {
*m = Invitation{}
if protoimpl.UnsafeEnabled {
mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
ms.StoreMessageInfo(mi)
}
}
func (m *Invitation) String() string {
return protoimpl.X.MessageStringOf(m)
}
func (*Invitation) ProtoMessage() {}
func (m *Invitation) ProtoReflect() preflect.Message {
mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && m != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(m)
}
func (*Invitation) GotenMessage() {}
// Deprecated, Use Invitation.ProtoReflect.Descriptor instead.
func (*Invitation) Descriptor() ([]byte, []int) {
return edgelq_iam_proto_v1alpha2_common_proto_rawDescGZIP(), []int{1}
}
func (m *Invitation) Unmarshal(b []byte) error {
return proto.Unmarshal(b, m)
}
func (m *Invitation) Marshal() ([]byte, error) {
return proto.Marshal(m)
}
func (m *Invitation) MarshalJSON() ([]byte, error) {
return protojson.MarshalOptions{}.Marshal(m)
}
func (m *Invitation) UnmarshalJSON(data []byte) error {
return protojson.Unmarshal(data, m)
}
func (m *Invitation) GetInviteeEmail() string {
if m != nil {
return m.InviteeEmail
}
return ""
}
func (m *Invitation) GetInviterActor() *Actor {
if m != nil {
return m.InviterActor
}
return nil
}
func (m *Invitation) GetInviterFullName() string {
if m != nil {
return m.InviterFullName
}
return ""
}
func (m *Invitation) GetInviterEmail() string {
if m != nil {
return m.InviterEmail
}
return ""
}
func (m *Invitation) GetLanguageCode() string {
if m != nil {
return m.LanguageCode
}
return ""
}
func (m *Invitation) GetRoles() []*role.Reference {
if m != nil {
return m.Roles
}
return nil
}
func (m *Invitation) GetExpirationDate() *timestamp.Timestamp {
if m != nil {
return m.ExpirationDate
}
return nil
}
func (m *Invitation) GetExtras() map[string]string {
if m != nil {
return m.Extras
}
return nil
}
func (m *Invitation) GetState() Invitation_State {
if m != nil {
return m.State
}
return Invitation_STATE_UNSPECIFIED
}
func (m *Invitation) SetInviteeEmail(fv string) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "InviteeEmail", "Invitation"))
}
m.InviteeEmail = fv
}
func (m *Invitation) SetInviterActor(fv *Actor) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "InviterActor", "Invitation"))
}
m.InviterActor = fv
}
func (m *Invitation) SetInviterFullName(fv string) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "InviterFullName", "Invitation"))
}
m.InviterFullName = fv
}
func (m *Invitation) SetInviterEmail(fv string) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "InviterEmail", "Invitation"))
}
m.InviterEmail = fv
}
func (m *Invitation) SetLanguageCode(fv string) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "LanguageCode", "Invitation"))
}
m.LanguageCode = fv
}
func (m *Invitation) SetRoles(fv []*role.Reference) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "Roles", "Invitation"))
}
m.Roles = fv
}
func (m *Invitation) SetExpirationDate(fv *timestamp.Timestamp) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "ExpirationDate", "Invitation"))
}
m.ExpirationDate = fv
}
func (m *Invitation) SetExtras(fv map[string]string) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "Extras", "Invitation"))
}
m.Extras = fv
}
func (m *Invitation) SetState(fv Invitation_State) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "State", "Invitation"))
}
m.State = fv
}
type PCR struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" firestore:"index"`
// Hex-encoded digest string (without 0x prefix, e.g. "DEADBEEF")
DigestHex string `protobuf:"bytes,2,opt,name=digest_hex,json=digestHex,proto3" json:"digest_hex,omitempty" firestore:"digestHex"`
DigestAlg DigestAlg `protobuf:"varint,3,opt,name=digest_alg,json=digestAlg,proto3,enum=ntt.iam.v1alpha2.DigestAlg" json:"digest_alg,omitempty" firestore:"digestAlg"`
// User's comments for this entry
Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty" firestore:"comment"`
}
func (m *PCR) Reset() {
*m = PCR{}
if protoimpl.UnsafeEnabled {
mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
ms.StoreMessageInfo(mi)
}
}
func (m *PCR) String() string {
return protoimpl.X.MessageStringOf(m)
}
func (*PCR) ProtoMessage() {}
func (m *PCR) ProtoReflect() preflect.Message {
mi := &edgelq_iam_proto_v1alpha2_common_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && m != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(m)
}
func (*PCR) GotenMessage() {}
// Deprecated, Use PCR.ProtoReflect.Descriptor instead.
func (*PCR) Descriptor() ([]byte, []int) {
return edgelq_iam_proto_v1alpha2_common_proto_rawDescGZIP(), []int{2}
}
func (m *PCR) Unmarshal(b []byte) error {
return proto.Unmarshal(b, m)
}
func (m *PCR) Marshal() ([]byte, error) {
return proto.Marshal(m)
}
func (m *PCR) MarshalJSON() ([]byte, error) {
return protojson.MarshalOptions{}.Marshal(m)
}
func (m *PCR) UnmarshalJSON(data []byte) error {
return protojson.Unmarshal(data, m)
}
func (m *PCR) GetIndex() uint32 {
if m != nil {
return m.Index
}
return uint32(0)
}
func (m *PCR) GetDigestHex() string {
if m != nil {
return m.DigestHex
}
return ""
}
func (m *PCR) GetDigestAlg() DigestAlg {
if m != nil {
return m.DigestAlg
}
return DigestAlg_SHA1
}
func (m *PCR) GetComment() string {
if m != nil {
return m.Comment
}
return ""
}
func (m *PCR) SetIndex(fv uint32) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "Index", "PCR"))
}
m.Index = fv
}
func (m *PCR) SetDigestHex(fv string) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "DigestHex", "PCR"))
}
m.DigestHex = fv
}
func (m *PCR) SetDigestAlg(fv DigestAlg) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "DigestAlg", "PCR"))
}
m.DigestAlg = fv
}
func (m *PCR) SetComment(fv string) {
if m == nil {
panic(fmt.Errorf("can't set %s on nil %s", "Comment", "PCR"))
}
m.Comment = fv
}
var edgelq_iam_proto_v1alpha2_common_proto preflect.FileDescriptor
var edgelq_iam_proto_v1alpha2_common_proto_rawDesc = []byte{
0x0a, 0x26, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61,
0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75,
0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e,
0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61,
0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x01, 0x0a, 0x05, 0x41, 0x63, 0x74, 0x6f, 0x72,
0x12, 0x2b, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x17,
0xfa, 0x41, 0x06, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0xb2, 0xda, 0x21, 0x0a, 0x12, 0x08, 0x0a,
0x04, 0x55, 0x73, 0x65, 0x72, 0x10, 0x02, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x54, 0x0a,
0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xfa, 0x41, 0x10, 0x0a, 0x0e, 0x53, 0x65, 0x72,
0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0xb2, 0xda, 0x21, 0x14, 0x12,
0x12, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
0x74, 0x10, 0x02, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f,
0x75, 0x6e, 0x74, 0x22, 0xa1, 0x05, 0x0a, 0x0a, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x65, 0x5f, 0x65, 0x6d,
0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xca, 0xc6, 0x27, 0x06, 0x2a,
0x04, 0x52, 0x02, 0x58, 0x01, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x65, 0x45, 0x6d,
0x61, 0x69, 0x6c, 0x12, 0x41, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x72, 0x5f, 0x61,
0x63, 0x74, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x74, 0x74,
0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x63,
0x74, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65,
0x72, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x2f, 0x0a, 0x11, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65,
0x72, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x72, 0x46,
0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x69, 0x74,
0x65, 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
0xe0, 0x41, 0x03, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x69,
0x6c, 0x12, 0x3b, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f,
0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x16, 0xca, 0xc6, 0x27, 0x12, 0x2a, 0x10,
0x5a, 0x00, 0x5a, 0x05, 0x65, 0x6e, 0x2d, 0x75, 0x73, 0x5a, 0x05, 0x6a, 0x61, 0x2d, 0x6a, 0x70,
0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x30,
0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, 0x1a, 0xb2,
0xda, 0x21, 0x0a, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x10, 0x02, 0xca, 0xc6, 0x27,
0x08, 0x42, 0x06, 0x0a, 0x02, 0x08, 0x01, 0x18, 0x01, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73,
0x12, 0x43, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64,
0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x44, 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a, 0x06, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 0x18,
0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
0x06, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 0x12, 0x3d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d,
0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x45, 0x78, 0x74, 0x72, 0x61, 0x73,
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
0x01, 0x22, 0x54, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54,
0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c,
0x0a, 0x08, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08,
0x44, 0x45, 0x43, 0x4c, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x58,
0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x04, 0x22, 0x90, 0x01, 0x0a, 0x03, 0x50, 0x43, 0x52, 0x12,
0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05,
0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x5f,
0x68, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x67, 0x65, 0x73,
0x74, 0x48, 0x65, 0x78, 0x12, 0x3a, 0x0a, 0x0a, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x5f, 0x61,
0x6c, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69,
0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x67, 0x65,
0x73, 0x74, 0x41, 0x6c, 0x67, 0x52, 0x09, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x67,
0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2a, 0x36, 0x0a, 0x0a, 0x54, 0x70,
0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x50, 0x4d, 0x56,
0x41, 0x47, 0x4e, 0x4f, 0x53, 0x54, 0x49, 0x43, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x50,
0x4d, 0x56, 0x31, 0x32, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x50, 0x4d, 0x56, 0x32, 0x30,
0x10, 0x02, 0x2a, 0x21, 0x0a, 0x09, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x67, 0x12,
0x08, 0x0a, 0x04, 0x53, 0x48, 0x41, 0x31, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x48, 0x41,
0x32, 0x35, 0x36, 0x10, 0x01, 0x42, 0x64, 0xe8, 0xde, 0x21, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d,
0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c,
0x70, 0x68, 0x61, 0x32, 0x50, 0x01, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65,
0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
0x3b, 0x69, 0x61, 0x6d, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
edgelq_iam_proto_v1alpha2_common_proto_rawDescOnce sync.Once
edgelq_iam_proto_v1alpha2_common_proto_rawDescData = edgelq_iam_proto_v1alpha2_common_proto_rawDesc
)
func edgelq_iam_proto_v1alpha2_common_proto_rawDescGZIP() []byte {
edgelq_iam_proto_v1alpha2_common_proto_rawDescOnce.Do(func() {
edgelq_iam_proto_v1alpha2_common_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_iam_proto_v1alpha2_common_proto_rawDescData)
})
return edgelq_iam_proto_v1alpha2_common_proto_rawDescData
}
var edgelq_iam_proto_v1alpha2_common_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var edgelq_iam_proto_v1alpha2_common_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var edgelq_iam_proto_v1alpha2_common_proto_goTypes = []interface{}{
(TpmVersion)(0), // 0: ntt.iam.v1alpha2.TpmVersion
(DigestAlg)(0), // 1: ntt.iam.v1alpha2.DigestAlg
(Invitation_State)(0), // 2: ntt.iam.v1alpha2.Invitation_State
(*Actor)(nil), // 3: ntt.iam.v1alpha2.Actor
(*Invitation)(nil), // 4: ntt.iam.v1alpha2.Invitation
(*PCR)(nil), // 5: ntt.iam.v1alpha2.PCR
nil, // 6: ntt.iam.v1alpha2.Invitation.ExtrasEntry
(*timestamp.Timestamp)(nil), // 7: google.protobuf.Timestamp
}
var edgelq_iam_proto_v1alpha2_common_proto_depIdxs = []int32{
3, // 0: ntt.iam.v1alpha2.Invitation.inviter_actor:type_name -> ntt.iam.v1alpha2.Actor
7, // 1: ntt.iam.v1alpha2.Invitation.expiration_date:type_name -> google.protobuf.Timestamp
6, // 2: ntt.iam.v1alpha2.Invitation.extras:type_name -> ntt.iam.v1alpha2.Invitation.ExtrasEntry
2, // 3: ntt.iam.v1alpha2.Invitation.state:type_name -> ntt.iam.v1alpha2.Invitation_State
1, // 4: ntt.iam.v1alpha2.PCR.digest_alg:type_name -> ntt.iam.v1alpha2.DigestAlg
5, // [5:5] is the sub-list for method output_type
5, // [5:5] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { edgelq_iam_proto_v1alpha2_common_proto_init() }
func edgelq_iam_proto_v1alpha2_common_proto_init() {
if edgelq_iam_proto_v1alpha2_common_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
edgelq_iam_proto_v1alpha2_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Actor); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
edgelq_iam_proto_v1alpha2_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Invitation); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
edgelq_iam_proto_v1alpha2_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PCR); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: edgelq_iam_proto_v1alpha2_common_proto_rawDesc,
NumEnums: 3,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: edgelq_iam_proto_v1alpha2_common_proto_goTypes,
DependencyIndexes: edgelq_iam_proto_v1alpha2_common_proto_depIdxs,
EnumInfos: edgelq_iam_proto_v1alpha2_common_proto_enumTypes,
MessageInfos: edgelq_iam_proto_v1alpha2_common_proto_msgTypes,
}.Build()
edgelq_iam_proto_v1alpha2_common_proto = out.File
edgelq_iam_proto_v1alpha2_common_proto_rawDesc = nil
edgelq_iam_proto_v1alpha2_common_proto_goTypes = nil
edgelq_iam_proto_v1alpha2_common_proto_depIdxs = nil
}