github.com/cloudwan/edgelq-sdk@v1.15.4/iam/resources/v1alpha2/invitation/invitation.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/iam/proto/v1alpha2/invitation.proto 3 // DO NOT EDIT!!! 4 5 package iam_invitation 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 role "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/role" 21 service_account "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/service_account" 22 user "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/user" 23 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 24 ) 25 26 // Reference imports to suppress errors if they are not otherwise used. 27 var ( 28 _ = fmt.Errorf 29 _ = reflect.Method{} 30 _ = sync.Once{} 31 32 _ = protojson.MarshalOptions{} 33 _ = proto.MarshalOptions{} 34 _ = preflect.Value{} 35 _ = protoimpl.DescBuilder{} 36 ) 37 38 // make sure we're using proto imports 39 var ( 40 _ = &role.Role{} 41 _ = &service_account.ServiceAccount{} 42 _ = &user.User{} 43 _ = ×tamppb.Timestamp{} 44 ) 45 46 const ( 47 // Verify that this generated code is sufficiently up-to-date. 48 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 49 // Verify that runtime/protoimpl is sufficiently up-to-date. 50 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 51 ) 52 53 // Invitation FSM States 54 type Invitation_State int32 55 56 const ( 57 Invitation_STATE_UNSPECIFIED Invitation_State = 0 58 Invitation_PENDING Invitation_State = 1 59 Invitation_ACCEPTED Invitation_State = 2 60 Invitation_DECLINED Invitation_State = 3 61 Invitation_EXPIRED Invitation_State = 4 62 ) 63 64 var ( 65 Invitation_State_name = map[int32]string{ 66 0: "STATE_UNSPECIFIED", 67 1: "PENDING", 68 2: "ACCEPTED", 69 3: "DECLINED", 70 4: "EXPIRED", 71 } 72 73 Invitation_State_value = map[string]int32{ 74 "STATE_UNSPECIFIED": 0, 75 "PENDING": 1, 76 "ACCEPTED": 2, 77 "DECLINED": 3, 78 "EXPIRED": 4, 79 } 80 ) 81 82 func (x Invitation_State) Enum() *Invitation_State { 83 p := new(Invitation_State) 84 *p = x 85 return p 86 } 87 88 func (x Invitation_State) String() string { 89 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 90 } 91 92 func (Invitation_State) Descriptor() preflect.EnumDescriptor { 93 return edgelq_iam_proto_v1alpha2_invitation_proto_enumTypes[0].Descriptor() 94 } 95 96 func (Invitation_State) Type() preflect.EnumType { 97 return &edgelq_iam_proto_v1alpha2_invitation_proto_enumTypes[0] 98 } 99 100 func (x Invitation_State) Number() preflect.EnumNumber { 101 return preflect.EnumNumber(x) 102 } 103 104 // Deprecated, Use Invitation_State.ProtoReflect.Descriptor instead. 105 func (Invitation_State) EnumDescriptor() ([]byte, []int) { 106 return edgelq_iam_proto_v1alpha2_invitation_proto_rawDescGZIP(), []int{1, 0} 107 } 108 109 // Actor is a party performing an action 110 type Actor struct { 111 state protoimpl.MessageState 112 sizeCache protoimpl.SizeCache 113 unknownFields protoimpl.UnknownFields 114 User *user.Reference `protobuf:"bytes,1,opt,customtype=Reference,name=user,proto3" json:"user,omitempty"` 115 ServiceAccount *service_account.Reference `protobuf:"bytes,2,opt,customtype=Reference,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` 116 } 117 118 func (m *Actor) Reset() { 119 *m = Actor{} 120 if protoimpl.UnsafeEnabled { 121 mi := &edgelq_iam_proto_v1alpha2_invitation_proto_msgTypes[0] 122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 123 ms.StoreMessageInfo(mi) 124 } 125 } 126 127 func (m *Actor) String() string { 128 return protoimpl.X.MessageStringOf(m) 129 } 130 131 func (*Actor) ProtoMessage() {} 132 133 func (m *Actor) ProtoReflect() preflect.Message { 134 mi := &edgelq_iam_proto_v1alpha2_invitation_proto_msgTypes[0] 135 if protoimpl.UnsafeEnabled && m != nil { 136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 137 if ms.LoadMessageInfo() == nil { 138 ms.StoreMessageInfo(mi) 139 } 140 return ms 141 } 142 return mi.MessageOf(m) 143 } 144 145 func (*Actor) GotenMessage() {} 146 147 // Deprecated, Use Actor.ProtoReflect.Descriptor instead. 148 func (*Actor) Descriptor() ([]byte, []int) { 149 return edgelq_iam_proto_v1alpha2_invitation_proto_rawDescGZIP(), []int{0} 150 } 151 152 func (m *Actor) Unmarshal(b []byte) error { 153 return proto.Unmarshal(b, m) 154 } 155 156 func (m *Actor) Marshal() ([]byte, error) { 157 return proto.Marshal(m) 158 } 159 160 func (m *Actor) MarshalJSON() ([]byte, error) { 161 return protojson.MarshalOptions{}.Marshal(m) 162 } 163 164 func (m *Actor) UnmarshalJSON(data []byte) error { 165 return protojson.Unmarshal(data, m) 166 } 167 168 func (m *Actor) GetUser() *user.Reference { 169 if m != nil { 170 return m.User 171 } 172 return nil 173 } 174 175 func (m *Actor) GetServiceAccount() *service_account.Reference { 176 if m != nil { 177 return m.ServiceAccount 178 } 179 return nil 180 } 181 182 func (m *Actor) SetUser(fv *user.Reference) { 183 if m == nil { 184 panic(fmt.Errorf("can't set %s on nil %s", "User", "Actor")) 185 } 186 m.User = fv 187 } 188 189 func (m *Actor) SetServiceAccount(fv *service_account.Reference) { 190 if m == nil { 191 panic(fmt.Errorf("can't set %s on nil %s", "ServiceAccount", "Actor")) 192 } 193 m.ServiceAccount = fv 194 } 195 196 // Common invitation body. It's used in Project/Organization Invitations 197 type Invitation struct { 198 state protoimpl.MessageState 199 sizeCache protoimpl.SizeCache 200 unknownFields protoimpl.UnknownFields 201 // Invitee Email address 202 InviteeEmail string `protobuf:"bytes,3,opt,name=invitee_email,json=inviteeEmail,proto3" json:"invitee_email,omitempty"` 203 // Inviter User 204 InviterActor *Actor `protobuf:"bytes,6,opt,name=inviter_actor,json=inviterActor,proto3" json:"inviter_actor,omitempty"` 205 // Denormalized data - TODO: remove it 206 InviterFullName string `protobuf:"bytes,5,opt,name=inviter_full_name,json=inviterFullName,proto3" json:"inviter_full_name,omitempty"` 207 // Inviter Email 208 InviterEmail string `protobuf:"bytes,10,opt,name=inviter_email,json=inviterEmail,proto3" json:"inviter_email,omitempty"` 209 // Invitation ISO language code. Defaults to "en-us" (American English). 210 LanguageCode string `protobuf:"bytes,11,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 211 // List of Roles to be granted on project when invitation is accepted 212 Roles []*role.Reference `protobuf:"bytes,7,rep,customtype=Reference,name=roles,proto3" json:"roles,omitempty"` 213 // Expiration date 214 ExpirationDate *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"` 215 // Extra custom fields to further customize invitation experience. 216 // Fields should be agreed between sender (usually UI) and documented in 217 // the template of email service provider. 218 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"` 219 // Status of Invitation 220 State Invitation_State `protobuf:"varint,9,opt,name=state,proto3,enum=ntt.iam.v1alpha2.Invitation_State" json:"state,omitempty"` 221 } 222 223 func (m *Invitation) Reset() { 224 *m = Invitation{} 225 if protoimpl.UnsafeEnabled { 226 mi := &edgelq_iam_proto_v1alpha2_invitation_proto_msgTypes[1] 227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 228 ms.StoreMessageInfo(mi) 229 } 230 } 231 232 func (m *Invitation) String() string { 233 return protoimpl.X.MessageStringOf(m) 234 } 235 236 func (*Invitation) ProtoMessage() {} 237 238 func (m *Invitation) ProtoReflect() preflect.Message { 239 mi := &edgelq_iam_proto_v1alpha2_invitation_proto_msgTypes[1] 240 if protoimpl.UnsafeEnabled && m != nil { 241 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 242 if ms.LoadMessageInfo() == nil { 243 ms.StoreMessageInfo(mi) 244 } 245 return ms 246 } 247 return mi.MessageOf(m) 248 } 249 250 func (*Invitation) GotenMessage() {} 251 252 // Deprecated, Use Invitation.ProtoReflect.Descriptor instead. 253 func (*Invitation) Descriptor() ([]byte, []int) { 254 return edgelq_iam_proto_v1alpha2_invitation_proto_rawDescGZIP(), []int{1} 255 } 256 257 func (m *Invitation) Unmarshal(b []byte) error { 258 return proto.Unmarshal(b, m) 259 } 260 261 func (m *Invitation) Marshal() ([]byte, error) { 262 return proto.Marshal(m) 263 } 264 265 func (m *Invitation) MarshalJSON() ([]byte, error) { 266 return protojson.MarshalOptions{}.Marshal(m) 267 } 268 269 func (m *Invitation) UnmarshalJSON(data []byte) error { 270 return protojson.Unmarshal(data, m) 271 } 272 273 func (m *Invitation) GetInviteeEmail() string { 274 if m != nil { 275 return m.InviteeEmail 276 } 277 return "" 278 } 279 280 func (m *Invitation) GetInviterActor() *Actor { 281 if m != nil { 282 return m.InviterActor 283 } 284 return nil 285 } 286 287 func (m *Invitation) GetInviterFullName() string { 288 if m != nil { 289 return m.InviterFullName 290 } 291 return "" 292 } 293 294 func (m *Invitation) GetInviterEmail() string { 295 if m != nil { 296 return m.InviterEmail 297 } 298 return "" 299 } 300 301 func (m *Invitation) GetLanguageCode() string { 302 if m != nil { 303 return m.LanguageCode 304 } 305 return "" 306 } 307 308 func (m *Invitation) GetRoles() []*role.Reference { 309 if m != nil { 310 return m.Roles 311 } 312 return nil 313 } 314 315 func (m *Invitation) GetExpirationDate() *timestamppb.Timestamp { 316 if m != nil { 317 return m.ExpirationDate 318 } 319 return nil 320 } 321 322 func (m *Invitation) GetExtras() map[string]string { 323 if m != nil { 324 return m.Extras 325 } 326 return nil 327 } 328 329 func (m *Invitation) GetState() Invitation_State { 330 if m != nil { 331 return m.State 332 } 333 return Invitation_STATE_UNSPECIFIED 334 } 335 336 func (m *Invitation) SetInviteeEmail(fv string) { 337 if m == nil { 338 panic(fmt.Errorf("can't set %s on nil %s", "InviteeEmail", "Invitation")) 339 } 340 m.InviteeEmail = fv 341 } 342 343 func (m *Invitation) SetInviterActor(fv *Actor) { 344 if m == nil { 345 panic(fmt.Errorf("can't set %s on nil %s", "InviterActor", "Invitation")) 346 } 347 m.InviterActor = fv 348 } 349 350 func (m *Invitation) SetInviterFullName(fv string) { 351 if m == nil { 352 panic(fmt.Errorf("can't set %s on nil %s", "InviterFullName", "Invitation")) 353 } 354 m.InviterFullName = fv 355 } 356 357 func (m *Invitation) SetInviterEmail(fv string) { 358 if m == nil { 359 panic(fmt.Errorf("can't set %s on nil %s", "InviterEmail", "Invitation")) 360 } 361 m.InviterEmail = fv 362 } 363 364 func (m *Invitation) SetLanguageCode(fv string) { 365 if m == nil { 366 panic(fmt.Errorf("can't set %s on nil %s", "LanguageCode", "Invitation")) 367 } 368 m.LanguageCode = fv 369 } 370 371 func (m *Invitation) SetRoles(fv []*role.Reference) { 372 if m == nil { 373 panic(fmt.Errorf("can't set %s on nil %s", "Roles", "Invitation")) 374 } 375 m.Roles = fv 376 } 377 378 func (m *Invitation) SetExpirationDate(fv *timestamppb.Timestamp) { 379 if m == nil { 380 panic(fmt.Errorf("can't set %s on nil %s", "ExpirationDate", "Invitation")) 381 } 382 m.ExpirationDate = fv 383 } 384 385 func (m *Invitation) SetExtras(fv map[string]string) { 386 if m == nil { 387 panic(fmt.Errorf("can't set %s on nil %s", "Extras", "Invitation")) 388 } 389 m.Extras = fv 390 } 391 392 func (m *Invitation) SetState(fv Invitation_State) { 393 if m == nil { 394 panic(fmt.Errorf("can't set %s on nil %s", "State", "Invitation")) 395 } 396 m.State = fv 397 } 398 399 var edgelq_iam_proto_v1alpha2_invitation_proto preflect.FileDescriptor 400 401 var edgelq_iam_proto_v1alpha2_invitation_proto_rawDesc = []byte{ 402 0x0a, 0x2a, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 403 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x69, 0x6e, 0x76, 0x69, 404 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6e, 0x74, 405 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x1c, 406 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 407 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 408 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 409 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 410 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 411 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 412 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 413 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 414 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 415 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 416 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 417 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 418 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 419 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 420 0x1a, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 421 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x73, 0x65, 0x72, 0x76, 422 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 423 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 424 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x75, 0x73, 0x65, 425 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x01, 0x0a, 0x05, 0x41, 0x63, 0x74, 0x6f, 426 0x72, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 427 0x17, 0xfa, 0x41, 0x06, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0xb2, 0xda, 0x21, 0x0a, 0x12, 0x08, 428 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x10, 0x03, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x54, 429 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 430 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xfa, 0x41, 0x10, 0x0a, 0x0e, 0x53, 0x65, 431 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0xb2, 0xda, 0x21, 0x14, 432 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 433 0x6e, 0x74, 0x10, 0x03, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 434 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xa1, 0x05, 0x0a, 0x0a, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 435 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x65, 0x5f, 0x65, 436 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xca, 0xc6, 0x27, 0x06, 437 0x2a, 0x04, 0x52, 0x02, 0x58, 0x01, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x65, 0x45, 438 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x41, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x72, 0x5f, 439 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x74, 440 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 441 0x63, 0x74, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x69, 0x74, 442 0x65, 0x72, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x2f, 0x0a, 0x11, 0x69, 0x6e, 0x76, 0x69, 0x74, 443 0x65, 0x72, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 444 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x72, 445 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x69, 446 0x74, 0x65, 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 447 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x72, 0x45, 0x6d, 0x61, 448 0x69, 0x6c, 0x12, 0x3b, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 449 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x16, 0xca, 0xc6, 0x27, 0x12, 0x2a, 450 0x10, 0x5a, 0x00, 0x5a, 0x05, 0x65, 0x6e, 0x2d, 0x75, 0x73, 0x5a, 0x05, 0x6a, 0x61, 0x2d, 0x6a, 451 0x70, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 452 0x30, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, 0x1a, 453 0xb2, 0xda, 0x21, 0x0a, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x10, 0x03, 0xca, 0xc6, 454 0x27, 0x08, 0x42, 0x06, 0x0a, 0x02, 0x08, 0x01, 0x18, 0x01, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 455 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 456 0x64, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 457 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 458 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 459 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a, 0x06, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 460 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 461 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 462 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 463 0x52, 0x06, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 0x12, 0x3d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 464 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 465 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 466 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 467 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x45, 0x78, 0x74, 0x72, 0x61, 468 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 469 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 470 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 471 0x38, 0x01, 0x22, 0x54, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 472 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 473 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 474 0x0c, 0x0a, 0x08, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 475 0x08, 0x44, 0x45, 0x43, 0x4c, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x45, 476 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x04, 0x42, 0x6c, 0xe8, 0xde, 0x21, 0x01, 0x0a, 0x17, 477 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x62, 0x2e, 0x76, 478 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 479 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 480 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 481 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x69, 0x6e, 0x76, 482 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x69, 0x61, 0x6d, 0x5f, 0x69, 0x6e, 0x76, 0x69, 483 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 484 } 485 486 var ( 487 edgelq_iam_proto_v1alpha2_invitation_proto_rawDescOnce sync.Once 488 edgelq_iam_proto_v1alpha2_invitation_proto_rawDescData = edgelq_iam_proto_v1alpha2_invitation_proto_rawDesc 489 ) 490 491 func edgelq_iam_proto_v1alpha2_invitation_proto_rawDescGZIP() []byte { 492 edgelq_iam_proto_v1alpha2_invitation_proto_rawDescOnce.Do(func() { 493 edgelq_iam_proto_v1alpha2_invitation_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_iam_proto_v1alpha2_invitation_proto_rawDescData) 494 }) 495 return edgelq_iam_proto_v1alpha2_invitation_proto_rawDescData 496 } 497 498 var edgelq_iam_proto_v1alpha2_invitation_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 499 var edgelq_iam_proto_v1alpha2_invitation_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 500 var edgelq_iam_proto_v1alpha2_invitation_proto_goTypes = []interface{}{ 501 (Invitation_State)(0), // 0: ntt.iam.v1alpha2.Invitation_State 502 (*Actor)(nil), // 1: ntt.iam.v1alpha2.Actor 503 (*Invitation)(nil), // 2: ntt.iam.v1alpha2.Invitation 504 nil, // 3: ntt.iam.v1alpha2.Invitation.ExtrasEntry 505 (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp 506 } 507 var edgelq_iam_proto_v1alpha2_invitation_proto_depIdxs = []int32{ 508 1, // 0: ntt.iam.v1alpha2.Invitation.inviter_actor:type_name -> ntt.iam.v1alpha2.Actor 509 4, // 1: ntt.iam.v1alpha2.Invitation.expiration_date:type_name -> google.protobuf.Timestamp 510 3, // 2: ntt.iam.v1alpha2.Invitation.extras:type_name -> ntt.iam.v1alpha2.Invitation.ExtrasEntry 511 0, // 3: ntt.iam.v1alpha2.Invitation.state:type_name -> ntt.iam.v1alpha2.Invitation_State 512 4, // [4:4] is the sub-list for method output_type 513 4, // [4:4] is the sub-list for method input_type 514 4, // [4:4] is the sub-list for extension type_name 515 4, // [4:4] is the sub-list for extension extendee 516 0, // [0:4] is the sub-list for field type_name 517 } 518 519 func init() { edgelq_iam_proto_v1alpha2_invitation_proto_init() } 520 func edgelq_iam_proto_v1alpha2_invitation_proto_init() { 521 if edgelq_iam_proto_v1alpha2_invitation_proto != nil { 522 return 523 } 524 if !protoimpl.UnsafeEnabled { 525 526 edgelq_iam_proto_v1alpha2_invitation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 527 switch v := v.(*Actor); i { 528 case 0: 529 return &v.state 530 case 1: 531 return &v.sizeCache 532 case 2: 533 return &v.unknownFields 534 default: 535 return nil 536 } 537 } 538 edgelq_iam_proto_v1alpha2_invitation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 539 switch v := v.(*Invitation); i { 540 case 0: 541 return &v.state 542 case 1: 543 return &v.sizeCache 544 case 2: 545 return &v.unknownFields 546 default: 547 return nil 548 } 549 } 550 } 551 552 type x struct{} 553 out := protoimpl.TypeBuilder{ 554 File: protoimpl.DescBuilder{ 555 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 556 RawDescriptor: edgelq_iam_proto_v1alpha2_invitation_proto_rawDesc, 557 NumEnums: 1, 558 NumMessages: 3, 559 NumExtensions: 0, 560 NumServices: 0, 561 }, 562 GoTypes: edgelq_iam_proto_v1alpha2_invitation_proto_goTypes, 563 DependencyIndexes: edgelq_iam_proto_v1alpha2_invitation_proto_depIdxs, 564 EnumInfos: edgelq_iam_proto_v1alpha2_invitation_proto_enumTypes, 565 MessageInfos: edgelq_iam_proto_v1alpha2_invitation_proto_msgTypes, 566 }.Build() 567 edgelq_iam_proto_v1alpha2_invitation_proto = out.File 568 edgelq_iam_proto_v1alpha2_invitation_proto_rawDesc = nil 569 edgelq_iam_proto_v1alpha2_invitation_proto_goTypes = nil 570 edgelq_iam_proto_v1alpha2_invitation_proto_depIdxs = nil 571 }