github.com/cloudwan/edgelq-sdk@v1.15.4/iam/client/v1alpha2/authorization/authorization_custom.pb.go (about)

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/iam/proto/v1alpha2/authorization_custom.proto
     3  // DO NOT EDIT!!!
     4  
     5  package authorization_client
     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/v1alpha2/condition"
    21  	permission "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/permission"
    22  	role "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/role"
    23  )
    24  
    25  // Reference imports to suppress errors if they are not otherwise used.
    26  var (
    27  	_ = fmt.Errorf
    28  	_ = reflect.Method{}
    29  	_ = sync.Once{}
    30  
    31  	_ = protojson.MarshalOptions{}
    32  	_ = proto.MarshalOptions{}
    33  	_ = preflect.Value{}
    34  	_ = protoimpl.DescBuilder{}
    35  )
    36  
    37  // make sure we're using proto imports
    38  var (
    39  	_ = &condition.Condition{}
    40  	_ = &permission.Permission{}
    41  	_ = &role.Role{}
    42  )
    43  
    44  const (
    45  	// Verify that this generated code is sufficiently up-to-date.
    46  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    47  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    48  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    49  )
    50  
    51  // Check contains
    52  type Check struct {
    53  	state         protoimpl.MessageState
    54  	sizeCache     protoimpl.SizeCache
    55  	unknownFields protoimpl.UnknownFields
    56  	// Object resource name, e.g. projects/<project_id>/devices/<device_id>
    57  	Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
    58  	// Array of permissions to be verified
    59  	Permissions []*permission.Name `protobuf:"bytes,2,rep,customtype=Name,name=permissions,proto3" json:"permissions,omitempty"`
    60  }
    61  
    62  func (m *Check) Reset() {
    63  	*m = Check{}
    64  	if protoimpl.UnsafeEnabled {
    65  		mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[0]
    66  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    67  		ms.StoreMessageInfo(mi)
    68  	}
    69  }
    70  
    71  func (m *Check) String() string {
    72  	return protoimpl.X.MessageStringOf(m)
    73  }
    74  
    75  func (*Check) ProtoMessage() {}
    76  
    77  func (m *Check) ProtoReflect() preflect.Message {
    78  	mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[0]
    79  	if protoimpl.UnsafeEnabled && m != nil {
    80  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    81  		if ms.LoadMessageInfo() == nil {
    82  			ms.StoreMessageInfo(mi)
    83  		}
    84  		return ms
    85  	}
    86  	return mi.MessageOf(m)
    87  }
    88  
    89  func (*Check) GotenMessage() {}
    90  
    91  // Deprecated, Use Check.ProtoReflect.Descriptor instead.
    92  func (*Check) Descriptor() ([]byte, []int) {
    93  	return edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescGZIP(), []int{0}
    94  }
    95  
    96  func (m *Check) Unmarshal(b []byte) error {
    97  	return proto.Unmarshal(b, m)
    98  }
    99  
   100  func (m *Check) Marshal() ([]byte, error) {
   101  	return proto.Marshal(m)
   102  }
   103  
   104  func (m *Check) MarshalJSON() ([]byte, error) {
   105  	return protojson.MarshalOptions{}.Marshal(m)
   106  }
   107  
   108  func (m *Check) UnmarshalJSON(data []byte) error {
   109  	return protojson.Unmarshal(data, m)
   110  }
   111  
   112  func (m *Check) GetObject() string {
   113  	if m != nil {
   114  		return m.Object
   115  	}
   116  	return ""
   117  }
   118  
   119  func (m *Check) GetPermissions() []*permission.Name {
   120  	if m != nil {
   121  		return m.Permissions
   122  	}
   123  	return nil
   124  }
   125  
   126  func (m *Check) SetObject(fv string) {
   127  	if m == nil {
   128  		panic(fmt.Errorf("can't set %s on nil %s", "Object", "Check"))
   129  	}
   130  	m.Object = fv
   131  }
   132  
   133  func (m *Check) SetPermissions(fv []*permission.Name) {
   134  	if m == nil {
   135  		panic(fmt.Errorf("can't set %s on nil %s", "Permissions", "Check"))
   136  	}
   137  	m.Permissions = fv
   138  }
   139  
   140  // ConditionalGrant represents grant on repeated list of permissions if all of
   141  // conditions is met.
   142  type ConditionalGrant struct {
   143  	state             protoimpl.MessageState
   144  	sizeCache         protoimpl.SizeCache
   145  	unknownFields     protoimpl.UnknownFields
   146  	Permissions       []*permission.Name            `protobuf:"bytes,1,rep,customtype=Name,name=permissions,proto3" json:"permissions,omitempty"`
   147  	ConditionBindings []*condition.ConditionBinding `protobuf:"bytes,2,rep,name=condition_bindings,json=conditionBindings,proto3" json:"condition_bindings,omitempty"`
   148  }
   149  
   150  func (m *ConditionalGrant) Reset() {
   151  	*m = ConditionalGrant{}
   152  	if protoimpl.UnsafeEnabled {
   153  		mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[1]
   154  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   155  		ms.StoreMessageInfo(mi)
   156  	}
   157  }
   158  
   159  func (m *ConditionalGrant) String() string {
   160  	return protoimpl.X.MessageStringOf(m)
   161  }
   162  
   163  func (*ConditionalGrant) ProtoMessage() {}
   164  
   165  func (m *ConditionalGrant) ProtoReflect() preflect.Message {
   166  	mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[1]
   167  	if protoimpl.UnsafeEnabled && m != nil {
   168  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   169  		if ms.LoadMessageInfo() == nil {
   170  			ms.StoreMessageInfo(mi)
   171  		}
   172  		return ms
   173  	}
   174  	return mi.MessageOf(m)
   175  }
   176  
   177  func (*ConditionalGrant) GotenMessage() {}
   178  
   179  // Deprecated, Use ConditionalGrant.ProtoReflect.Descriptor instead.
   180  func (*ConditionalGrant) Descriptor() ([]byte, []int) {
   181  	return edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescGZIP(), []int{1}
   182  }
   183  
   184  func (m *ConditionalGrant) Unmarshal(b []byte) error {
   185  	return proto.Unmarshal(b, m)
   186  }
   187  
   188  func (m *ConditionalGrant) Marshal() ([]byte, error) {
   189  	return proto.Marshal(m)
   190  }
   191  
   192  func (m *ConditionalGrant) MarshalJSON() ([]byte, error) {
   193  	return protojson.MarshalOptions{}.Marshal(m)
   194  }
   195  
   196  func (m *ConditionalGrant) UnmarshalJSON(data []byte) error {
   197  	return protojson.Unmarshal(data, m)
   198  }
   199  
   200  func (m *ConditionalGrant) GetPermissions() []*permission.Name {
   201  	if m != nil {
   202  		return m.Permissions
   203  	}
   204  	return nil
   205  }
   206  
   207  func (m *ConditionalGrant) GetConditionBindings() []*condition.ConditionBinding {
   208  	if m != nil {
   209  		return m.ConditionBindings
   210  	}
   211  	return nil
   212  }
   213  
   214  func (m *ConditionalGrant) SetPermissions(fv []*permission.Name) {
   215  	if m == nil {
   216  		panic(fmt.Errorf("can't set %s on nil %s", "Permissions", "ConditionalGrant"))
   217  	}
   218  	m.Permissions = fv
   219  }
   220  
   221  func (m *ConditionalGrant) SetConditionBindings(fv []*condition.ConditionBinding) {
   222  	if m == nil {
   223  		panic(fmt.Errorf("can't set %s on nil %s", "ConditionBindings", "ConditionalGrant"))
   224  	}
   225  	m.ConditionBindings = fv
   226  }
   227  
   228  type CheckResult struct {
   229  	state         protoimpl.MessageState
   230  	sizeCache     protoimpl.SizeCache
   231  	unknownFields protoimpl.UnknownFields
   232  	// Object resource name, e.g. projects/<project_id>/devices/<device_id>
   233  	Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
   234  	// Granted Permissions
   235  	GrantedPermissions              []*permission.Name  `protobuf:"bytes,2,rep,customtype=Name,name=granted_permissions,json=grantedPermissions,proto3" json:"granted_permissions,omitempty"`
   236  	ConditionallyGrantedPermissions []*ConditionalGrant `protobuf:"bytes,3,rep,name=conditionally_granted_permissions,json=conditionallyGrantedPermissions,proto3" json:"conditionally_granted_permissions,omitempty"`
   237  }
   238  
   239  func (m *CheckResult) Reset() {
   240  	*m = CheckResult{}
   241  	if protoimpl.UnsafeEnabled {
   242  		mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[2]
   243  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   244  		ms.StoreMessageInfo(mi)
   245  	}
   246  }
   247  
   248  func (m *CheckResult) String() string {
   249  	return protoimpl.X.MessageStringOf(m)
   250  }
   251  
   252  func (*CheckResult) ProtoMessage() {}
   253  
   254  func (m *CheckResult) ProtoReflect() preflect.Message {
   255  	mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[2]
   256  	if protoimpl.UnsafeEnabled && m != nil {
   257  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   258  		if ms.LoadMessageInfo() == nil {
   259  			ms.StoreMessageInfo(mi)
   260  		}
   261  		return ms
   262  	}
   263  	return mi.MessageOf(m)
   264  }
   265  
   266  func (*CheckResult) GotenMessage() {}
   267  
   268  // Deprecated, Use CheckResult.ProtoReflect.Descriptor instead.
   269  func (*CheckResult) Descriptor() ([]byte, []int) {
   270  	return edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescGZIP(), []int{2}
   271  }
   272  
   273  func (m *CheckResult) Unmarshal(b []byte) error {
   274  	return proto.Unmarshal(b, m)
   275  }
   276  
   277  func (m *CheckResult) Marshal() ([]byte, error) {
   278  	return proto.Marshal(m)
   279  }
   280  
   281  func (m *CheckResult) MarshalJSON() ([]byte, error) {
   282  	return protojson.MarshalOptions{}.Marshal(m)
   283  }
   284  
   285  func (m *CheckResult) UnmarshalJSON(data []byte) error {
   286  	return protojson.Unmarshal(data, m)
   287  }
   288  
   289  func (m *CheckResult) GetObject() string {
   290  	if m != nil {
   291  		return m.Object
   292  	}
   293  	return ""
   294  }
   295  
   296  func (m *CheckResult) GetGrantedPermissions() []*permission.Name {
   297  	if m != nil {
   298  		return m.GrantedPermissions
   299  	}
   300  	return nil
   301  }
   302  
   303  func (m *CheckResult) GetConditionallyGrantedPermissions() []*ConditionalGrant {
   304  	if m != nil {
   305  		return m.ConditionallyGrantedPermissions
   306  	}
   307  	return nil
   308  }
   309  
   310  func (m *CheckResult) SetObject(fv string) {
   311  	if m == nil {
   312  		panic(fmt.Errorf("can't set %s on nil %s", "Object", "CheckResult"))
   313  	}
   314  	m.Object = fv
   315  }
   316  
   317  func (m *CheckResult) SetGrantedPermissions(fv []*permission.Name) {
   318  	if m == nil {
   319  		panic(fmt.Errorf("can't set %s on nil %s", "GrantedPermissions", "CheckResult"))
   320  	}
   321  	m.GrantedPermissions = fv
   322  }
   323  
   324  func (m *CheckResult) SetConditionallyGrantedPermissions(fv []*ConditionalGrant) {
   325  	if m == nil {
   326  		panic(fmt.Errorf("can't set %s on nil %s", "ConditionallyGrantedPermissions", "CheckResult"))
   327  	}
   328  	m.ConditionallyGrantedPermissions = fv
   329  }
   330  
   331  // Request message for method
   332  // [CheckPermissions][ntt.iam.v1alpha2.CheckPermissions]
   333  type CheckPermissionsRequest struct {
   334  	state         protoimpl.MessageState
   335  	sizeCache     protoimpl.SizeCache
   336  	unknownFields protoimpl.UnknownFields
   337  	// Acting principal, e.g. user or service account
   338  	// Format of the string is one of:
   339  	// - "allUsers" (anyone)
   340  	// - "allAuthenticatedUsers" (anyone logged in)
   341  	// - "user:admin.super@example.com"
   342  	// - "serviceAccount:device_agent@watchdog.serviceaccounts.iam.edgelq.com"
   343  	// - "group:nice.group@example.com"
   344  	// - "domain:example.com" (anyone with exact email domain)
   345  	Member string `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
   346  	// Checks
   347  	Checks []*Check `protobuf:"bytes,2,rep,name=checks,proto3" json:"checks,omitempty"`
   348  	// If true, server will skip checking permissions in cache
   349  	SkipCache bool `protobuf:"varint,3,opt,name=skip_cache,json=skipCache,proto3" json:"skip_cache,omitempty"`
   350  }
   351  
   352  func (m *CheckPermissionsRequest) Reset() {
   353  	*m = CheckPermissionsRequest{}
   354  	if protoimpl.UnsafeEnabled {
   355  		mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[3]
   356  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   357  		ms.StoreMessageInfo(mi)
   358  	}
   359  }
   360  
   361  func (m *CheckPermissionsRequest) String() string {
   362  	return protoimpl.X.MessageStringOf(m)
   363  }
   364  
   365  func (*CheckPermissionsRequest) ProtoMessage() {}
   366  
   367  func (m *CheckPermissionsRequest) ProtoReflect() preflect.Message {
   368  	mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[3]
   369  	if protoimpl.UnsafeEnabled && m != nil {
   370  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   371  		if ms.LoadMessageInfo() == nil {
   372  			ms.StoreMessageInfo(mi)
   373  		}
   374  		return ms
   375  	}
   376  	return mi.MessageOf(m)
   377  }
   378  
   379  func (*CheckPermissionsRequest) GotenMessage() {}
   380  
   381  // Deprecated, Use CheckPermissionsRequest.ProtoReflect.Descriptor instead.
   382  func (*CheckPermissionsRequest) Descriptor() ([]byte, []int) {
   383  	return edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescGZIP(), []int{3}
   384  }
   385  
   386  func (m *CheckPermissionsRequest) Unmarshal(b []byte) error {
   387  	return proto.Unmarshal(b, m)
   388  }
   389  
   390  func (m *CheckPermissionsRequest) Marshal() ([]byte, error) {
   391  	return proto.Marshal(m)
   392  }
   393  
   394  func (m *CheckPermissionsRequest) MarshalJSON() ([]byte, error) {
   395  	return protojson.MarshalOptions{}.Marshal(m)
   396  }
   397  
   398  func (m *CheckPermissionsRequest) UnmarshalJSON(data []byte) error {
   399  	return protojson.Unmarshal(data, m)
   400  }
   401  
   402  func (m *CheckPermissionsRequest) GetMember() string {
   403  	if m != nil {
   404  		return m.Member
   405  	}
   406  	return ""
   407  }
   408  
   409  func (m *CheckPermissionsRequest) GetChecks() []*Check {
   410  	if m != nil {
   411  		return m.Checks
   412  	}
   413  	return nil
   414  }
   415  
   416  func (m *CheckPermissionsRequest) GetSkipCache() bool {
   417  	if m != nil {
   418  		return m.SkipCache
   419  	}
   420  	return false
   421  }
   422  
   423  func (m *CheckPermissionsRequest) SetMember(fv string) {
   424  	if m == nil {
   425  		panic(fmt.Errorf("can't set %s on nil %s", "Member", "CheckPermissionsRequest"))
   426  	}
   427  	m.Member = fv
   428  }
   429  
   430  func (m *CheckPermissionsRequest) SetChecks(fv []*Check) {
   431  	if m == nil {
   432  		panic(fmt.Errorf("can't set %s on nil %s", "Checks", "CheckPermissionsRequest"))
   433  	}
   434  	m.Checks = fv
   435  }
   436  
   437  func (m *CheckPermissionsRequest) SetSkipCache(fv bool) {
   438  	if m == nil {
   439  		panic(fmt.Errorf("can't set %s on nil %s", "SkipCache", "CheckPermissionsRequest"))
   440  	}
   441  	m.SkipCache = fv
   442  }
   443  
   444  // Response message for method
   445  // [CheckPermissions][ntt.iam.v1alpha2.CheckPermissions]
   446  type CheckPermissionsResponse struct {
   447  	state         protoimpl.MessageState
   448  	sizeCache     protoimpl.SizeCache
   449  	unknownFields protoimpl.UnknownFields
   450  	CheckResults  []*CheckResult `protobuf:"bytes,1,rep,name=check_results,json=checkResults,proto3" json:"check_results,omitempty"`
   451  }
   452  
   453  func (m *CheckPermissionsResponse) Reset() {
   454  	*m = CheckPermissionsResponse{}
   455  	if protoimpl.UnsafeEnabled {
   456  		mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[4]
   457  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   458  		ms.StoreMessageInfo(mi)
   459  	}
   460  }
   461  
   462  func (m *CheckPermissionsResponse) String() string {
   463  	return protoimpl.X.MessageStringOf(m)
   464  }
   465  
   466  func (*CheckPermissionsResponse) ProtoMessage() {}
   467  
   468  func (m *CheckPermissionsResponse) ProtoReflect() preflect.Message {
   469  	mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[4]
   470  	if protoimpl.UnsafeEnabled && m != nil {
   471  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   472  		if ms.LoadMessageInfo() == nil {
   473  			ms.StoreMessageInfo(mi)
   474  		}
   475  		return ms
   476  	}
   477  	return mi.MessageOf(m)
   478  }
   479  
   480  func (*CheckPermissionsResponse) GotenMessage() {}
   481  
   482  // Deprecated, Use CheckPermissionsResponse.ProtoReflect.Descriptor instead.
   483  func (*CheckPermissionsResponse) Descriptor() ([]byte, []int) {
   484  	return edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescGZIP(), []int{4}
   485  }
   486  
   487  func (m *CheckPermissionsResponse) Unmarshal(b []byte) error {
   488  	return proto.Unmarshal(b, m)
   489  }
   490  
   491  func (m *CheckPermissionsResponse) Marshal() ([]byte, error) {
   492  	return proto.Marshal(m)
   493  }
   494  
   495  func (m *CheckPermissionsResponse) MarshalJSON() ([]byte, error) {
   496  	return protojson.MarshalOptions{}.Marshal(m)
   497  }
   498  
   499  func (m *CheckPermissionsResponse) UnmarshalJSON(data []byte) error {
   500  	return protojson.Unmarshal(data, m)
   501  }
   502  
   503  func (m *CheckPermissionsResponse) GetCheckResults() []*CheckResult {
   504  	if m != nil {
   505  		return m.CheckResults
   506  	}
   507  	return nil
   508  }
   509  
   510  func (m *CheckPermissionsResponse) SetCheckResults(fv []*CheckResult) {
   511  	if m == nil {
   512  		panic(fmt.Errorf("can't set %s on nil %s", "CheckResults", "CheckPermissionsResponse"))
   513  	}
   514  	m.CheckResults = fv
   515  }
   516  
   517  // Request message for method
   518  // [CheckMyPermissions][ntt.iam.v1alpha2.CheckMyPermissions]
   519  type CheckMyPermissionsRequest struct {
   520  	state         protoimpl.MessageState
   521  	sizeCache     protoimpl.SizeCache
   522  	unknownFields protoimpl.UnknownFields
   523  	// Checks
   524  	Checks []*Check `protobuf:"bytes,2,rep,name=checks,proto3" json:"checks,omitempty"`
   525  	// If true, server will skip checking permissions in cache
   526  	SkipCache bool `protobuf:"varint,3,opt,name=skip_cache,json=skipCache,proto3" json:"skip_cache,omitempty"`
   527  }
   528  
   529  func (m *CheckMyPermissionsRequest) Reset() {
   530  	*m = CheckMyPermissionsRequest{}
   531  	if protoimpl.UnsafeEnabled {
   532  		mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[5]
   533  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   534  		ms.StoreMessageInfo(mi)
   535  	}
   536  }
   537  
   538  func (m *CheckMyPermissionsRequest) String() string {
   539  	return protoimpl.X.MessageStringOf(m)
   540  }
   541  
   542  func (*CheckMyPermissionsRequest) ProtoMessage() {}
   543  
   544  func (m *CheckMyPermissionsRequest) ProtoReflect() preflect.Message {
   545  	mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[5]
   546  	if protoimpl.UnsafeEnabled && m != nil {
   547  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   548  		if ms.LoadMessageInfo() == nil {
   549  			ms.StoreMessageInfo(mi)
   550  		}
   551  		return ms
   552  	}
   553  	return mi.MessageOf(m)
   554  }
   555  
   556  func (*CheckMyPermissionsRequest) GotenMessage() {}
   557  
   558  // Deprecated, Use CheckMyPermissionsRequest.ProtoReflect.Descriptor instead.
   559  func (*CheckMyPermissionsRequest) Descriptor() ([]byte, []int) {
   560  	return edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescGZIP(), []int{5}
   561  }
   562  
   563  func (m *CheckMyPermissionsRequest) Unmarshal(b []byte) error {
   564  	return proto.Unmarshal(b, m)
   565  }
   566  
   567  func (m *CheckMyPermissionsRequest) Marshal() ([]byte, error) {
   568  	return proto.Marshal(m)
   569  }
   570  
   571  func (m *CheckMyPermissionsRequest) MarshalJSON() ([]byte, error) {
   572  	return protojson.MarshalOptions{}.Marshal(m)
   573  }
   574  
   575  func (m *CheckMyPermissionsRequest) UnmarshalJSON(data []byte) error {
   576  	return protojson.Unmarshal(data, m)
   577  }
   578  
   579  func (m *CheckMyPermissionsRequest) GetChecks() []*Check {
   580  	if m != nil {
   581  		return m.Checks
   582  	}
   583  	return nil
   584  }
   585  
   586  func (m *CheckMyPermissionsRequest) GetSkipCache() bool {
   587  	if m != nil {
   588  		return m.SkipCache
   589  	}
   590  	return false
   591  }
   592  
   593  func (m *CheckMyPermissionsRequest) SetChecks(fv []*Check) {
   594  	if m == nil {
   595  		panic(fmt.Errorf("can't set %s on nil %s", "Checks", "CheckMyPermissionsRequest"))
   596  	}
   597  	m.Checks = fv
   598  }
   599  
   600  func (m *CheckMyPermissionsRequest) SetSkipCache(fv bool) {
   601  	if m == nil {
   602  		panic(fmt.Errorf("can't set %s on nil %s", "SkipCache", "CheckMyPermissionsRequest"))
   603  	}
   604  	m.SkipCache = fv
   605  }
   606  
   607  // Response message for method
   608  // [CheckMyPermissions][ntt.iam.v1alpha2.CheckMyPermissions]
   609  type CheckMyPermissionsResponse struct {
   610  	state         protoimpl.MessageState
   611  	sizeCache     protoimpl.SizeCache
   612  	unknownFields protoimpl.UnknownFields
   613  	CheckResults  []*CheckResult `protobuf:"bytes,1,rep,name=check_results,json=checkResults,proto3" json:"check_results,omitempty"`
   614  }
   615  
   616  func (m *CheckMyPermissionsResponse) Reset() {
   617  	*m = CheckMyPermissionsResponse{}
   618  	if protoimpl.UnsafeEnabled {
   619  		mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[6]
   620  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   621  		ms.StoreMessageInfo(mi)
   622  	}
   623  }
   624  
   625  func (m *CheckMyPermissionsResponse) String() string {
   626  	return protoimpl.X.MessageStringOf(m)
   627  }
   628  
   629  func (*CheckMyPermissionsResponse) ProtoMessage() {}
   630  
   631  func (m *CheckMyPermissionsResponse) ProtoReflect() preflect.Message {
   632  	mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[6]
   633  	if protoimpl.UnsafeEnabled && m != nil {
   634  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   635  		if ms.LoadMessageInfo() == nil {
   636  			ms.StoreMessageInfo(mi)
   637  		}
   638  		return ms
   639  	}
   640  	return mi.MessageOf(m)
   641  }
   642  
   643  func (*CheckMyPermissionsResponse) GotenMessage() {}
   644  
   645  // Deprecated, Use CheckMyPermissionsResponse.ProtoReflect.Descriptor instead.
   646  func (*CheckMyPermissionsResponse) Descriptor() ([]byte, []int) {
   647  	return edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescGZIP(), []int{6}
   648  }
   649  
   650  func (m *CheckMyPermissionsResponse) Unmarshal(b []byte) error {
   651  	return proto.Unmarshal(b, m)
   652  }
   653  
   654  func (m *CheckMyPermissionsResponse) Marshal() ([]byte, error) {
   655  	return proto.Marshal(m)
   656  }
   657  
   658  func (m *CheckMyPermissionsResponse) MarshalJSON() ([]byte, error) {
   659  	return protojson.MarshalOptions{}.Marshal(m)
   660  }
   661  
   662  func (m *CheckMyPermissionsResponse) UnmarshalJSON(data []byte) error {
   663  	return protojson.Unmarshal(data, m)
   664  }
   665  
   666  func (m *CheckMyPermissionsResponse) GetCheckResults() []*CheckResult {
   667  	if m != nil {
   668  		return m.CheckResults
   669  	}
   670  	return nil
   671  }
   672  
   673  func (m *CheckMyPermissionsResponse) SetCheckResults(fv []*CheckResult) {
   674  	if m == nil {
   675  		panic(fmt.Errorf("can't set %s on nil %s", "CheckResults", "CheckMyPermissionsResponse"))
   676  	}
   677  	m.CheckResults = fv
   678  }
   679  
   680  // Request message for method
   681  // [CheckMyRoles][ntt.iam.v1alpha2.CheckMyRoles]
   682  type CheckMyRolesRequest struct {
   683  	state         protoimpl.MessageState
   684  	sizeCache     protoimpl.SizeCache
   685  	unknownFields protoimpl.UnknownFields
   686  	// Object name forming scope of the check, for example projects/<project_id>
   687  	Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
   688  }
   689  
   690  func (m *CheckMyRolesRequest) Reset() {
   691  	*m = CheckMyRolesRequest{}
   692  	if protoimpl.UnsafeEnabled {
   693  		mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[7]
   694  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   695  		ms.StoreMessageInfo(mi)
   696  	}
   697  }
   698  
   699  func (m *CheckMyRolesRequest) String() string {
   700  	return protoimpl.X.MessageStringOf(m)
   701  }
   702  
   703  func (*CheckMyRolesRequest) ProtoMessage() {}
   704  
   705  func (m *CheckMyRolesRequest) ProtoReflect() preflect.Message {
   706  	mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[7]
   707  	if protoimpl.UnsafeEnabled && m != nil {
   708  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   709  		if ms.LoadMessageInfo() == nil {
   710  			ms.StoreMessageInfo(mi)
   711  		}
   712  		return ms
   713  	}
   714  	return mi.MessageOf(m)
   715  }
   716  
   717  func (*CheckMyRolesRequest) GotenMessage() {}
   718  
   719  // Deprecated, Use CheckMyRolesRequest.ProtoReflect.Descriptor instead.
   720  func (*CheckMyRolesRequest) Descriptor() ([]byte, []int) {
   721  	return edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescGZIP(), []int{7}
   722  }
   723  
   724  func (m *CheckMyRolesRequest) Unmarshal(b []byte) error {
   725  	return proto.Unmarshal(b, m)
   726  }
   727  
   728  func (m *CheckMyRolesRequest) Marshal() ([]byte, error) {
   729  	return proto.Marshal(m)
   730  }
   731  
   732  func (m *CheckMyRolesRequest) MarshalJSON() ([]byte, error) {
   733  	return protojson.MarshalOptions{}.Marshal(m)
   734  }
   735  
   736  func (m *CheckMyRolesRequest) UnmarshalJSON(data []byte) error {
   737  	return protojson.Unmarshal(data, m)
   738  }
   739  
   740  func (m *CheckMyRolesRequest) GetObject() string {
   741  	if m != nil {
   742  		return m.Object
   743  	}
   744  	return ""
   745  }
   746  
   747  func (m *CheckMyRolesRequest) SetObject(fv string) {
   748  	if m == nil {
   749  		panic(fmt.Errorf("can't set %s on nil %s", "Object", "CheckMyRolesRequest"))
   750  	}
   751  	m.Object = fv
   752  }
   753  
   754  // Response message for method
   755  // [CheckMyRoles][ntt.iam.v1alpha2.CheckMyRoles]
   756  type CheckMyRolesResponse struct {
   757  	state         protoimpl.MessageState
   758  	sizeCache     protoimpl.SizeCache
   759  	unknownFields protoimpl.UnknownFields
   760  	// Object with scope
   761  	Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
   762  	// All unconditionally granted roles
   763  	GrantedRoles []*role.Name `protobuf:"bytes,2,rep,customtype=Name,name=granted_roles,json=grantedRoles,proto3" json:"granted_roles,omitempty"`
   764  	// All conditionally granted roles. Each grant should be checked separately
   765  	ConditionallyGrantedRoles []*CheckMyRolesResponse_ConditionalGrant `protobuf:"bytes,3,rep,name=conditionally_granted_roles,json=conditionallyGrantedRoles,proto3" json:"conditionally_granted_roles,omitempty"`
   766  }
   767  
   768  func (m *CheckMyRolesResponse) Reset() {
   769  	*m = CheckMyRolesResponse{}
   770  	if protoimpl.UnsafeEnabled {
   771  		mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[8]
   772  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   773  		ms.StoreMessageInfo(mi)
   774  	}
   775  }
   776  
   777  func (m *CheckMyRolesResponse) String() string {
   778  	return protoimpl.X.MessageStringOf(m)
   779  }
   780  
   781  func (*CheckMyRolesResponse) ProtoMessage() {}
   782  
   783  func (m *CheckMyRolesResponse) ProtoReflect() preflect.Message {
   784  	mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[8]
   785  	if protoimpl.UnsafeEnabled && m != nil {
   786  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   787  		if ms.LoadMessageInfo() == nil {
   788  			ms.StoreMessageInfo(mi)
   789  		}
   790  		return ms
   791  	}
   792  	return mi.MessageOf(m)
   793  }
   794  
   795  func (*CheckMyRolesResponse) GotenMessage() {}
   796  
   797  // Deprecated, Use CheckMyRolesResponse.ProtoReflect.Descriptor instead.
   798  func (*CheckMyRolesResponse) Descriptor() ([]byte, []int) {
   799  	return edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescGZIP(), []int{8}
   800  }
   801  
   802  func (m *CheckMyRolesResponse) Unmarshal(b []byte) error {
   803  	return proto.Unmarshal(b, m)
   804  }
   805  
   806  func (m *CheckMyRolesResponse) Marshal() ([]byte, error) {
   807  	return proto.Marshal(m)
   808  }
   809  
   810  func (m *CheckMyRolesResponse) MarshalJSON() ([]byte, error) {
   811  	return protojson.MarshalOptions{}.Marshal(m)
   812  }
   813  
   814  func (m *CheckMyRolesResponse) UnmarshalJSON(data []byte) error {
   815  	return protojson.Unmarshal(data, m)
   816  }
   817  
   818  func (m *CheckMyRolesResponse) GetObject() string {
   819  	if m != nil {
   820  		return m.Object
   821  	}
   822  	return ""
   823  }
   824  
   825  func (m *CheckMyRolesResponse) GetGrantedRoles() []*role.Name {
   826  	if m != nil {
   827  		return m.GrantedRoles
   828  	}
   829  	return nil
   830  }
   831  
   832  func (m *CheckMyRolesResponse) GetConditionallyGrantedRoles() []*CheckMyRolesResponse_ConditionalGrant {
   833  	if m != nil {
   834  		return m.ConditionallyGrantedRoles
   835  	}
   836  	return nil
   837  }
   838  
   839  func (m *CheckMyRolesResponse) SetObject(fv string) {
   840  	if m == nil {
   841  		panic(fmt.Errorf("can't set %s on nil %s", "Object", "CheckMyRolesResponse"))
   842  	}
   843  	m.Object = fv
   844  }
   845  
   846  func (m *CheckMyRolesResponse) SetGrantedRoles(fv []*role.Name) {
   847  	if m == nil {
   848  		panic(fmt.Errorf("can't set %s on nil %s", "GrantedRoles", "CheckMyRolesResponse"))
   849  	}
   850  	m.GrantedRoles = fv
   851  }
   852  
   853  func (m *CheckMyRolesResponse) SetConditionallyGrantedRoles(fv []*CheckMyRolesResponse_ConditionalGrant) {
   854  	if m == nil {
   855  		panic(fmt.Errorf("can't set %s on nil %s", "ConditionallyGrantedRoles", "CheckMyRolesResponse"))
   856  	}
   857  	m.ConditionallyGrantedRoles = fv
   858  }
   859  
   860  type CheckMyRolesResponse_ConditionalGrant struct {
   861  	state         protoimpl.MessageState
   862  	sizeCache     protoimpl.SizeCache
   863  	unknownFields protoimpl.UnknownFields
   864  	// Role name
   865  	Role *role.Name `protobuf:"bytes,1,opt,customtype=Name,name=role,proto3" json:"role,omitempty"`
   866  	// All conditions that must be accepted for role to be granted
   867  	ConditionBindings []*condition.ConditionBinding `protobuf:"bytes,2,rep,name=condition_bindings,json=conditionBindings,proto3" json:"condition_bindings,omitempty"`
   868  }
   869  
   870  func (m *CheckMyRolesResponse_ConditionalGrant) Reset() {
   871  	*m = CheckMyRolesResponse_ConditionalGrant{}
   872  	if protoimpl.UnsafeEnabled {
   873  		mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[9]
   874  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   875  		ms.StoreMessageInfo(mi)
   876  	}
   877  }
   878  
   879  func (m *CheckMyRolesResponse_ConditionalGrant) String() string {
   880  	return protoimpl.X.MessageStringOf(m)
   881  }
   882  
   883  func (*CheckMyRolesResponse_ConditionalGrant) ProtoMessage() {}
   884  
   885  func (m *CheckMyRolesResponse_ConditionalGrant) ProtoReflect() preflect.Message {
   886  	mi := &edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[9]
   887  	if protoimpl.UnsafeEnabled && m != nil {
   888  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   889  		if ms.LoadMessageInfo() == nil {
   890  			ms.StoreMessageInfo(mi)
   891  		}
   892  		return ms
   893  	}
   894  	return mi.MessageOf(m)
   895  }
   896  
   897  func (*CheckMyRolesResponse_ConditionalGrant) GotenMessage() {}
   898  
   899  // Deprecated, Use CheckMyRolesResponse_ConditionalGrant.ProtoReflect.Descriptor instead.
   900  func (*CheckMyRolesResponse_ConditionalGrant) Descriptor() ([]byte, []int) {
   901  	return edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescGZIP(), []int{8, 0}
   902  }
   903  
   904  func (m *CheckMyRolesResponse_ConditionalGrant) Unmarshal(b []byte) error {
   905  	return proto.Unmarshal(b, m)
   906  }
   907  
   908  func (m *CheckMyRolesResponse_ConditionalGrant) Marshal() ([]byte, error) {
   909  	return proto.Marshal(m)
   910  }
   911  
   912  func (m *CheckMyRolesResponse_ConditionalGrant) MarshalJSON() ([]byte, error) {
   913  	return protojson.MarshalOptions{}.Marshal(m)
   914  }
   915  
   916  func (m *CheckMyRolesResponse_ConditionalGrant) UnmarshalJSON(data []byte) error {
   917  	return protojson.Unmarshal(data, m)
   918  }
   919  
   920  func (m *CheckMyRolesResponse_ConditionalGrant) GetRole() *role.Name {
   921  	if m != nil {
   922  		return m.Role
   923  	}
   924  	return nil
   925  }
   926  
   927  func (m *CheckMyRolesResponse_ConditionalGrant) GetConditionBindings() []*condition.ConditionBinding {
   928  	if m != nil {
   929  		return m.ConditionBindings
   930  	}
   931  	return nil
   932  }
   933  
   934  func (m *CheckMyRolesResponse_ConditionalGrant) SetRole(fv *role.Name) {
   935  	if m == nil {
   936  		panic(fmt.Errorf("can't set %s on nil %s", "Role", "CheckMyRolesResponse_ConditionalGrant"))
   937  	}
   938  	m.Role = fv
   939  }
   940  
   941  func (m *CheckMyRolesResponse_ConditionalGrant) SetConditionBindings(fv []*condition.ConditionBinding) {
   942  	if m == nil {
   943  		panic(fmt.Errorf("can't set %s on nil %s", "ConditionBindings", "CheckMyRolesResponse_ConditionalGrant"))
   944  	}
   945  	m.ConditionBindings = fv
   946  }
   947  
   948  var edgelq_iam_proto_v1alpha2_authorization_custom_proto preflect.FileDescriptor
   949  
   950  var edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDesc = []byte{
   951  	0x0a, 0x34, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f,
   952  	0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x61, 0x75, 0x74, 0x68,
   953  	0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
   954  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
   955  	0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   956  	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
   957  	0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
   958  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e,
   959  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e,
   960  	0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70,
   961  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d,
   962  	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x61, 0x6d,
   963  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61,
   964  	0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   965  	0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x65, 0x64,
   966  	0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76,
   967  	0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f,
   968  	0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f,
   969  	0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
   970  	0x61, 0x32, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
   971  	0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f,
   972  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x72,
   973  	0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x65, 0x64, 0x67, 0x65, 0x6c,
   974  	0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c,
   975  	0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
   976  	0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x05,
   977  	0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18,
   978  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x43, 0x0a,
   979  	0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03,
   980  	0x28, 0x09, 0x42, 0x21, 0xfa, 0x41, 0x0c, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
   981  	0x69, 0x6f, 0x6e, 0xb2, 0xda, 0x21, 0x0e, 0x0a, 0x0c, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69,
   982  	0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
   983  	0x6e, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
   984  	0x61, 0x6c, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69,
   985  	0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x21, 0xfa, 0x41,
   986  	0x0c, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0xb2, 0xda, 0x21,
   987  	0x0e, 0x0a, 0x0c, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52,
   988  	0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x51, 0x0a, 0x12,
   989  	0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e,
   990  	0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69,
   991  	0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x64,
   992  	0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x11, 0x63, 0x6f,
   993  	0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22,
   994  	0xe9, 0x01, 0x0a, 0x0b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12,
   995  	0x16, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   996  	0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x52, 0x0a, 0x13, 0x67, 0x72, 0x61, 0x6e, 0x74,
   997  	0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02,
   998  	0x20, 0x03, 0x28, 0x09, 0x42, 0x21, 0xfa, 0x41, 0x0c, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69,
   999  	0x73, 0x73, 0x69, 0x6f, 0x6e, 0xb2, 0xda, 0x21, 0x0e, 0x0a, 0x0c, 0x0a, 0x0a, 0x50, 0x65, 0x72,
  1000  	0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64,
  1001  	0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x6e, 0x0a, 0x21, 0x63,
  1002  	0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x5f, 0x67, 0x72, 0x61,
  1003  	0x6e, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
  1004  	0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d,
  1005  	0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74,
  1006  	0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x1f, 0x63, 0x6f, 0x6e, 0x64,
  1007  	0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64,
  1008  	0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x81, 0x01, 0x0a, 0x17,
  1009  	0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
  1010  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65,
  1011  	0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12,
  1012  	0x2f, 0x0a, 0x06, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1013  	0x17, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
  1014  	0x61, 0x32, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x06, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73,
  1015  	0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x03,
  1016  	0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x6b, 0x69, 0x70, 0x43, 0x61, 0x63, 0x68, 0x65, 0x22,
  1017  	0x5e, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
  1018  	0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x63,
  1019  	0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
  1020  	0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61,
  1021  	0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c,
  1022  	0x74, 0x52, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22,
  1023  	0x71, 0x0a, 0x19, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
  1024  	0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x06,
  1025  	0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e,
  1026  	0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e,
  1027  	0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x06, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x12, 0x1d, 0x0a,
  1028  	0x0a, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  1029  	0x08, 0x52, 0x09, 0x73, 0x6b, 0x69, 0x70, 0x43, 0x61, 0x63, 0x68, 0x65, 0x4a, 0x04, 0x08, 0x01,
  1030  	0x10, 0x02, 0x22, 0x60, 0x0a, 0x1a, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x79, 0x50, 0x65, 0x72,
  1031  	0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1032  	0x12, 0x42, 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
  1033  	0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61,
  1034  	0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b,
  1035  	0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73,
  1036  	0x75, 0x6c, 0x74, 0x73, 0x22, 0x2d, 0x0a, 0x13, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x79, 0x52,
  1037  	0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f,
  1038  	0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x62, 0x6a,
  1039  	0x65, 0x63, 0x74, 0x22, 0xf6, 0x02, 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x79, 0x52,
  1040  	0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06,
  1041  	0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x62,
  1042  	0x6a, 0x65, 0x63, 0x74, 0x12, 0x3a, 0x0a, 0x0d, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x5f,
  1043  	0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x15, 0xfa, 0x41, 0x06,
  1044  	0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0xb2, 0xda, 0x21, 0x08, 0x0a, 0x06, 0x0a, 0x04, 0x52, 0x6f,
  1045  	0x6c, 0x65, 0x52, 0x0c, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73,
  1046  	0x12, 0x77, 0x0a, 0x1b, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x6c,
  1047  	0x79, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18,
  1048  	0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
  1049  	0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x79,
  1050  	0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f,
  1051  	0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x19,
  1052  	0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x47, 0x72, 0x61,
  1053  	0x6e, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x1a, 0x90, 0x01, 0x0a, 0x10, 0x43, 0x6f,
  1054  	0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x29,
  1055  	0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x15, 0xfa, 0x41,
  1056  	0x06, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0xb2, 0xda, 0x21, 0x08, 0x0a, 0x06, 0x0a, 0x04, 0x52,
  1057  	0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x51, 0x0a, 0x12, 0x63, 0x6f, 0x6e,
  1058  	0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18,
  1059  	0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
  1060  	0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
  1061  	0x6f, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x64, 0x69,
  1062  	0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x88, 0x01, 0x0a,
  1063  	0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x62, 0x2e,
  1064  	0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42, 0x18, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
  1065  	0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f,
  1066  	0x74, 0x6f, 0x50, 0x00, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
  1067  	0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71,
  1068  	0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x61, 0x6c,
  1069  	0x70, 0x68, 0x61, 0x32, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69,
  1070  	0x6f, 0x6e, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1071  	0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1072  }
  1073  
  1074  var (
  1075  	edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescOnce sync.Once
  1076  	edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescData = edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDesc
  1077  )
  1078  
  1079  func edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescGZIP() []byte {
  1080  	edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescOnce.Do(func() {
  1081  		edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescData)
  1082  	})
  1083  	return edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDescData
  1084  }
  1085  
  1086  var edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  1087  var edgelq_iam_proto_v1alpha2_authorization_custom_proto_goTypes = []interface{}{
  1088  	(*Check)(nil),                                 // 0: ntt.iam.v1alpha2.Check
  1089  	(*ConditionalGrant)(nil),                      // 1: ntt.iam.v1alpha2.ConditionalGrant
  1090  	(*CheckResult)(nil),                           // 2: ntt.iam.v1alpha2.CheckResult
  1091  	(*CheckPermissionsRequest)(nil),               // 3: ntt.iam.v1alpha2.CheckPermissionsRequest
  1092  	(*CheckPermissionsResponse)(nil),              // 4: ntt.iam.v1alpha2.CheckPermissionsResponse
  1093  	(*CheckMyPermissionsRequest)(nil),             // 5: ntt.iam.v1alpha2.CheckMyPermissionsRequest
  1094  	(*CheckMyPermissionsResponse)(nil),            // 6: ntt.iam.v1alpha2.CheckMyPermissionsResponse
  1095  	(*CheckMyRolesRequest)(nil),                   // 7: ntt.iam.v1alpha2.CheckMyRolesRequest
  1096  	(*CheckMyRolesResponse)(nil),                  // 8: ntt.iam.v1alpha2.CheckMyRolesResponse
  1097  	(*CheckMyRolesResponse_ConditionalGrant)(nil), // 9: ntt.iam.v1alpha2.CheckMyRolesResponse.ConditionalGrant
  1098  	(*condition.ConditionBinding)(nil),            // 10: ntt.iam.v1alpha2.ConditionBinding
  1099  }
  1100  var edgelq_iam_proto_v1alpha2_authorization_custom_proto_depIdxs = []int32{
  1101  	10, // 0: ntt.iam.v1alpha2.ConditionalGrant.condition_bindings:type_name -> ntt.iam.v1alpha2.ConditionBinding
  1102  	1,  // 1: ntt.iam.v1alpha2.CheckResult.conditionally_granted_permissions:type_name -> ntt.iam.v1alpha2.ConditionalGrant
  1103  	0,  // 2: ntt.iam.v1alpha2.CheckPermissionsRequest.checks:type_name -> ntt.iam.v1alpha2.Check
  1104  	2,  // 3: ntt.iam.v1alpha2.CheckPermissionsResponse.check_results:type_name -> ntt.iam.v1alpha2.CheckResult
  1105  	0,  // 4: ntt.iam.v1alpha2.CheckMyPermissionsRequest.checks:type_name -> ntt.iam.v1alpha2.Check
  1106  	2,  // 5: ntt.iam.v1alpha2.CheckMyPermissionsResponse.check_results:type_name -> ntt.iam.v1alpha2.CheckResult
  1107  	9,  // 6: ntt.iam.v1alpha2.CheckMyRolesResponse.conditionally_granted_roles:type_name -> ntt.iam.v1alpha2.CheckMyRolesResponse.ConditionalGrant
  1108  	10, // 7: ntt.iam.v1alpha2.CheckMyRolesResponse.ConditionalGrant.condition_bindings:type_name -> ntt.iam.v1alpha2.ConditionBinding
  1109  	8,  // [8:8] is the sub-list for method output_type
  1110  	8,  // [8:8] is the sub-list for method input_type
  1111  	8,  // [8:8] is the sub-list for extension type_name
  1112  	8,  // [8:8] is the sub-list for extension extendee
  1113  	0,  // [0:8] is the sub-list for field type_name
  1114  }
  1115  
  1116  func init() { edgelq_iam_proto_v1alpha2_authorization_custom_proto_init() }
  1117  func edgelq_iam_proto_v1alpha2_authorization_custom_proto_init() {
  1118  	if edgelq_iam_proto_v1alpha2_authorization_custom_proto != nil {
  1119  		return
  1120  	}
  1121  	if !protoimpl.UnsafeEnabled {
  1122  
  1123  		edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1124  			switch v := v.(*Check); i {
  1125  			case 0:
  1126  				return &v.state
  1127  			case 1:
  1128  				return &v.sizeCache
  1129  			case 2:
  1130  				return &v.unknownFields
  1131  			default:
  1132  				return nil
  1133  			}
  1134  		}
  1135  		edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1136  			switch v := v.(*ConditionalGrant); i {
  1137  			case 0:
  1138  				return &v.state
  1139  			case 1:
  1140  				return &v.sizeCache
  1141  			case 2:
  1142  				return &v.unknownFields
  1143  			default:
  1144  				return nil
  1145  			}
  1146  		}
  1147  		edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1148  			switch v := v.(*CheckResult); i {
  1149  			case 0:
  1150  				return &v.state
  1151  			case 1:
  1152  				return &v.sizeCache
  1153  			case 2:
  1154  				return &v.unknownFields
  1155  			default:
  1156  				return nil
  1157  			}
  1158  		}
  1159  		edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1160  			switch v := v.(*CheckPermissionsRequest); i {
  1161  			case 0:
  1162  				return &v.state
  1163  			case 1:
  1164  				return &v.sizeCache
  1165  			case 2:
  1166  				return &v.unknownFields
  1167  			default:
  1168  				return nil
  1169  			}
  1170  		}
  1171  		edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1172  			switch v := v.(*CheckPermissionsResponse); i {
  1173  			case 0:
  1174  				return &v.state
  1175  			case 1:
  1176  				return &v.sizeCache
  1177  			case 2:
  1178  				return &v.unknownFields
  1179  			default:
  1180  				return nil
  1181  			}
  1182  		}
  1183  		edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1184  			switch v := v.(*CheckMyPermissionsRequest); i {
  1185  			case 0:
  1186  				return &v.state
  1187  			case 1:
  1188  				return &v.sizeCache
  1189  			case 2:
  1190  				return &v.unknownFields
  1191  			default:
  1192  				return nil
  1193  			}
  1194  		}
  1195  		edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1196  			switch v := v.(*CheckMyPermissionsResponse); i {
  1197  			case 0:
  1198  				return &v.state
  1199  			case 1:
  1200  				return &v.sizeCache
  1201  			case 2:
  1202  				return &v.unknownFields
  1203  			default:
  1204  				return nil
  1205  			}
  1206  		}
  1207  		edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1208  			switch v := v.(*CheckMyRolesRequest); i {
  1209  			case 0:
  1210  				return &v.state
  1211  			case 1:
  1212  				return &v.sizeCache
  1213  			case 2:
  1214  				return &v.unknownFields
  1215  			default:
  1216  				return nil
  1217  			}
  1218  		}
  1219  		edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1220  			switch v := v.(*CheckMyRolesResponse); i {
  1221  			case 0:
  1222  				return &v.state
  1223  			case 1:
  1224  				return &v.sizeCache
  1225  			case 2:
  1226  				return &v.unknownFields
  1227  			default:
  1228  				return nil
  1229  			}
  1230  		}
  1231  		edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1232  			switch v := v.(*CheckMyRolesResponse_ConditionalGrant); i {
  1233  			case 0:
  1234  				return &v.state
  1235  			case 1:
  1236  				return &v.sizeCache
  1237  			case 2:
  1238  				return &v.unknownFields
  1239  			default:
  1240  				return nil
  1241  			}
  1242  		}
  1243  	}
  1244  
  1245  	type x struct{}
  1246  	out := protoimpl.TypeBuilder{
  1247  		File: protoimpl.DescBuilder{
  1248  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1249  			RawDescriptor: edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDesc,
  1250  			NumEnums:      0,
  1251  			NumMessages:   10,
  1252  			NumExtensions: 0,
  1253  			NumServices:   0,
  1254  		},
  1255  		GoTypes:           edgelq_iam_proto_v1alpha2_authorization_custom_proto_goTypes,
  1256  		DependencyIndexes: edgelq_iam_proto_v1alpha2_authorization_custom_proto_depIdxs,
  1257  		MessageInfos:      edgelq_iam_proto_v1alpha2_authorization_custom_proto_msgTypes,
  1258  	}.Build()
  1259  	edgelq_iam_proto_v1alpha2_authorization_custom_proto = out.File
  1260  	edgelq_iam_proto_v1alpha2_authorization_custom_proto_rawDesc = nil
  1261  	edgelq_iam_proto_v1alpha2_authorization_custom_proto_goTypes = nil
  1262  	edgelq_iam_proto_v1alpha2_authorization_custom_proto_depIdxs = nil
  1263  }