github.com/cloudwan/edgelq-sdk@v1.15.4/iam/resources/v1/invitation/invitation.pb.go (about)

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