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

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/iam/proto/v1alpha2/role_binding.proto
     3  // DO NOT EDIT!!!
     4  
     5  package role_binding
     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  	organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/organization"
    22  	project "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/project"
    23  	role "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/role"
    24  	meta "github.com/cloudwan/goten-sdk/types/meta"
    25  )
    26  
    27  // Reference imports to suppress errors if they are not otherwise used.
    28  var (
    29  	_ = fmt.Errorf
    30  	_ = reflect.Method{}
    31  	_ = sync.Once{}
    32  
    33  	_ = protojson.MarshalOptions{}
    34  	_ = proto.MarshalOptions{}
    35  	_ = preflect.Value{}
    36  	_ = protoimpl.DescBuilder{}
    37  )
    38  
    39  // make sure we're using proto imports
    40  var (
    41  	_ = &condition.Condition{}
    42  	_ = &organization.Organization{}
    43  	_ = &project.Project{}
    44  	_ = &role.Role{}
    45  	_ = &meta.Meta{}
    46  )
    47  
    48  const (
    49  	// Verify that this generated code is sufficiently up-to-date.
    50  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    51  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    52  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    53  )
    54  
    55  // RoleBinding in iam RBAC model is the way of granting access to a party (user,
    56  // service account, etc) to edgelq resources. Creating RoleBinding requires user
    57  // to answer 3 questions:
    58  //
    59  // Who: with member field, e.g. "user:wile.e.coyote@customers.acme.com"
    60  // What: specify scope (or parent), e.g.: `projects/acme/roleBindings/<uuid>`
    61  // How: bind role and optional condition to grant access to resources within
    62  // above scope
    63  //
    64  // RoleBindings are additive, meaning that creating a new RoleBinding may only
    65  // extend ability of given member to perform actions. In other words RoleBinding
    66  // doesn't affect other RoleBindings and
    67  // [PermissionCheck][ntt.iam.v1alpha2.PermissionCheck] method needs to find
    68  // *any* RoleBinding granting permission
    69  type RoleBinding struct {
    70  	state         protoimpl.MessageState
    71  	sizeCache     protoimpl.SizeCache
    72  	unknownFields protoimpl.UnknownFields
    73  	// Name of RoleBinding
    74  	// When creating a new instance, this field is optional and if not provided,
    75  	// it will be generated automatically. Last ID segment must conform to the
    76  	// following regex: [\\w.|-]{1,128}
    77  	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
    78  	// Role
    79  	Role *role.Reference `protobuf:"bytes,2,opt,customtype=Reference,name=role,proto3" json:"role,omitempty"`
    80  	// Binding members
    81  	// Format of the string is one of:
    82  	// - "allUsers" (anyone)
    83  	// - "allAuthenticatedUsers" (anyone logged in)
    84  	// - "user:admin.super@example.com"
    85  	// - "serviceAccount:device_agent@watchdog.serviceaccounts.iam.edgelq.com"
    86  	// - "group:nice.group@example.com"
    87  	// - "domain:example.com" (anyone with exact email domain)
    88  	Member string `protobuf:"bytes,4,opt,name=member,proto3" json:"member,omitempty"`
    89  	// optional ConditionBinding
    90  	// TODO: Make it repeated and make sure backend will check all before
    91  	// verifying
    92  	ConditionBinding *condition.ConditionBinding `protobuf:"bytes,6,opt,name=condition_binding,json=conditionBinding,proto3" json:"condition_binding,omitempty"`
    93  	// Internal field used by IAM controller to note role binding ancestry path
    94  	AncestryPath []*RoleBinding_Parent `protobuf:"bytes,7,rep,name=ancestry_path,json=ancestryPath,proto3" json:"ancestry_path,omitempty"`
    95  	// Metadata
    96  	Metadata *meta.Meta `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
    97  }
    98  
    99  func (m *RoleBinding) Reset() {
   100  	*m = RoleBinding{}
   101  	if protoimpl.UnsafeEnabled {
   102  		mi := &edgelq_iam_proto_v1alpha2_role_binding_proto_msgTypes[0]
   103  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   104  		ms.StoreMessageInfo(mi)
   105  	}
   106  }
   107  
   108  func (m *RoleBinding) String() string {
   109  	return protoimpl.X.MessageStringOf(m)
   110  }
   111  
   112  func (*RoleBinding) ProtoMessage() {}
   113  
   114  func (m *RoleBinding) ProtoReflect() preflect.Message {
   115  	mi := &edgelq_iam_proto_v1alpha2_role_binding_proto_msgTypes[0]
   116  	if protoimpl.UnsafeEnabled && m != nil {
   117  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   118  		if ms.LoadMessageInfo() == nil {
   119  			ms.StoreMessageInfo(mi)
   120  		}
   121  		return ms
   122  	}
   123  	return mi.MessageOf(m)
   124  }
   125  
   126  func (*RoleBinding) GotenMessage() {}
   127  
   128  // Deprecated, Use RoleBinding.ProtoReflect.Descriptor instead.
   129  func (*RoleBinding) Descriptor() ([]byte, []int) {
   130  	return edgelq_iam_proto_v1alpha2_role_binding_proto_rawDescGZIP(), []int{0}
   131  }
   132  
   133  func (m *RoleBinding) Unmarshal(b []byte) error {
   134  	return proto.Unmarshal(b, m)
   135  }
   136  
   137  func (m *RoleBinding) Marshal() ([]byte, error) {
   138  	return proto.Marshal(m)
   139  }
   140  
   141  func (m *RoleBinding) MarshalJSON() ([]byte, error) {
   142  	return protojson.MarshalOptions{}.Marshal(m)
   143  }
   144  
   145  func (m *RoleBinding) UnmarshalJSON(data []byte) error {
   146  	return protojson.Unmarshal(data, m)
   147  }
   148  
   149  func (m *RoleBinding) GetName() *Name {
   150  	if m != nil {
   151  		return m.Name
   152  	}
   153  	return nil
   154  }
   155  
   156  func (m *RoleBinding) GetRole() *role.Reference {
   157  	if m != nil {
   158  		return m.Role
   159  	}
   160  	return nil
   161  }
   162  
   163  func (m *RoleBinding) GetMember() string {
   164  	if m != nil {
   165  		return m.Member
   166  	}
   167  	return ""
   168  }
   169  
   170  func (m *RoleBinding) GetConditionBinding() *condition.ConditionBinding {
   171  	if m != nil {
   172  		return m.ConditionBinding
   173  	}
   174  	return nil
   175  }
   176  
   177  func (m *RoleBinding) GetAncestryPath() []*RoleBinding_Parent {
   178  	if m != nil {
   179  		return m.AncestryPath
   180  	}
   181  	return nil
   182  }
   183  
   184  func (m *RoleBinding) GetMetadata() *meta.Meta {
   185  	if m != nil {
   186  		return m.Metadata
   187  	}
   188  	return nil
   189  }
   190  
   191  func (m *RoleBinding) SetName(fv *Name) {
   192  	if m == nil {
   193  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "RoleBinding"))
   194  	}
   195  	m.Name = fv
   196  }
   197  
   198  func (m *RoleBinding) SetRole(fv *role.Reference) {
   199  	if m == nil {
   200  		panic(fmt.Errorf("can't set %s on nil %s", "Role", "RoleBinding"))
   201  	}
   202  	m.Role = fv
   203  }
   204  
   205  func (m *RoleBinding) SetMember(fv string) {
   206  	if m == nil {
   207  		panic(fmt.Errorf("can't set %s on nil %s", "Member", "RoleBinding"))
   208  	}
   209  	m.Member = fv
   210  }
   211  
   212  func (m *RoleBinding) SetConditionBinding(fv *condition.ConditionBinding) {
   213  	if m == nil {
   214  		panic(fmt.Errorf("can't set %s on nil %s", "ConditionBinding", "RoleBinding"))
   215  	}
   216  	m.ConditionBinding = fv
   217  }
   218  
   219  func (m *RoleBinding) SetAncestryPath(fv []*RoleBinding_Parent) {
   220  	if m == nil {
   221  		panic(fmt.Errorf("can't set %s on nil %s", "AncestryPath", "RoleBinding"))
   222  	}
   223  	m.AncestryPath = fv
   224  }
   225  
   226  func (m *RoleBinding) SetMetadata(fv *meta.Meta) {
   227  	if m == nil {
   228  		panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "RoleBinding"))
   229  	}
   230  	m.Metadata = fv
   231  }
   232  
   233  // Provides information about inheritance of this role binding - if it was
   234  // created from another role binding.
   235  type RoleBinding_Parent struct {
   236  	state         protoimpl.MessageState
   237  	sizeCache     protoimpl.SizeCache
   238  	unknownFields protoimpl.UnknownFields
   239  	// Role bindings which have group as member have child for each service
   240  	// account and user in that group. All those role bindings have one common
   241  	// parent pointing at group role binding
   242  	Parent *Reference `protobuf:"bytes,1,opt,customtype=Reference,name=parent,proto3" json:"parent,omitempty"`
   243  	// Member of the parent role binding
   244  	Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
   245  }
   246  
   247  func (m *RoleBinding_Parent) Reset() {
   248  	*m = RoleBinding_Parent{}
   249  	if protoimpl.UnsafeEnabled {
   250  		mi := &edgelq_iam_proto_v1alpha2_role_binding_proto_msgTypes[1]
   251  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   252  		ms.StoreMessageInfo(mi)
   253  	}
   254  }
   255  
   256  func (m *RoleBinding_Parent) String() string {
   257  	return protoimpl.X.MessageStringOf(m)
   258  }
   259  
   260  func (*RoleBinding_Parent) ProtoMessage() {}
   261  
   262  func (m *RoleBinding_Parent) ProtoReflect() preflect.Message {
   263  	mi := &edgelq_iam_proto_v1alpha2_role_binding_proto_msgTypes[1]
   264  	if protoimpl.UnsafeEnabled && m != nil {
   265  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   266  		if ms.LoadMessageInfo() == nil {
   267  			ms.StoreMessageInfo(mi)
   268  		}
   269  		return ms
   270  	}
   271  	return mi.MessageOf(m)
   272  }
   273  
   274  func (*RoleBinding_Parent) GotenMessage() {}
   275  
   276  // Deprecated, Use RoleBinding_Parent.ProtoReflect.Descriptor instead.
   277  func (*RoleBinding_Parent) Descriptor() ([]byte, []int) {
   278  	return edgelq_iam_proto_v1alpha2_role_binding_proto_rawDescGZIP(), []int{0, 0}
   279  }
   280  
   281  func (m *RoleBinding_Parent) Unmarshal(b []byte) error {
   282  	return proto.Unmarshal(b, m)
   283  }
   284  
   285  func (m *RoleBinding_Parent) Marshal() ([]byte, error) {
   286  	return proto.Marshal(m)
   287  }
   288  
   289  func (m *RoleBinding_Parent) MarshalJSON() ([]byte, error) {
   290  	return protojson.MarshalOptions{}.Marshal(m)
   291  }
   292  
   293  func (m *RoleBinding_Parent) UnmarshalJSON(data []byte) error {
   294  	return protojson.Unmarshal(data, m)
   295  }
   296  
   297  func (m *RoleBinding_Parent) GetParent() *Reference {
   298  	if m != nil {
   299  		return m.Parent
   300  	}
   301  	return nil
   302  }
   303  
   304  func (m *RoleBinding_Parent) GetMember() string {
   305  	if m != nil {
   306  		return m.Member
   307  	}
   308  	return ""
   309  }
   310  
   311  func (m *RoleBinding_Parent) SetParent(fv *Reference) {
   312  	if m == nil {
   313  		panic(fmt.Errorf("can't set %s on nil %s", "Parent", "RoleBinding_Parent"))
   314  	}
   315  	m.Parent = fv
   316  }
   317  
   318  func (m *RoleBinding_Parent) SetMember(fv string) {
   319  	if m == nil {
   320  		panic(fmt.Errorf("can't set %s on nil %s", "Member", "RoleBinding_Parent"))
   321  	}
   322  	m.Member = fv
   323  }
   324  
   325  var edgelq_iam_proto_v1alpha2_role_binding_proto preflect.FileDescriptor
   326  
   327  var edgelq_iam_proto_v1alpha2_role_binding_proto_rawDesc = []byte{
   328  	0x0a, 0x2c, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f,
   329  	0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x72, 0x6f, 0x6c, 0x65,
   330  	0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10,
   331  	0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32,
   332  	0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73,
   333  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74,
   334  	0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76,
   335  	0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67,
   336  	0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   337  	0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f,
   338  	0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
   339  	0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
   340  	0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   341  	0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
   342  	0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   343  	0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24,
   344  	0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   345  	0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
   346  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64,
   347  	0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61,
   348  	0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65,
   349  	0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f,
   350  	0x74, 0x6f, 0x1a, 0x29, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70,
   351  	0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x63, 0x6f,
   352  	0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x08,
   353  	0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x27, 0x0a,
   354  	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x13, 0xb2, 0xda, 0x21,
   355  	0x0f, 0x0a, 0x0d, 0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67,
   356  	0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02,
   357  	0x20, 0x01, 0x28, 0x09, 0x42, 0x17, 0xfa, 0x41, 0x06, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0xb2,
   358  	0xda, 0x21, 0x0a, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x10, 0x01, 0x52, 0x04, 0x72,
   359  	0x6f, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20,
   360  	0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x4f, 0x0a, 0x11, 0x63,
   361  	0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67,
   362  	0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d,
   363  	0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74,
   364  	0x69, 0x6f, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x64,
   365  	0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x49, 0x0a, 0x0d,
   366  	0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20,
   367  	0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31,
   368  	0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69,
   369  	0x6e, 0x67, 0x2e, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x0c, 0x61, 0x6e, 0x63, 0x65, 0x73,
   370  	0x74, 0x72, 0x79, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
   371  	0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65,
   372  	0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65,
   373  	0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x5f, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74,
   374  	0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   375  	0x42, 0x25, 0xfa, 0x41, 0x0d, 0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69,
   376  	0x6e, 0x67, 0xb2, 0xda, 0x21, 0x11, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69,
   377  	0x6e, 0x64, 0x69, 0x6e, 0x67, 0x10, 0x06, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12,
   378  	0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   379  	0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x3a, 0x8b, 0x05, 0xea, 0x41, 0xa3, 0x01, 0x0a, 0x1a,
   380  	0x69, 0x61, 0x6d, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52,
   381  	0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x72, 0x6f, 0x6c, 0x65,
   382  	0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x62,
   383  	0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x7d, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
   384  	0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x65,
   385  	0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x62,
   386  	0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x7d, 0x12, 0x38, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a,
   387  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61,
   388  	0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e,
   389  	0x67, 0x73, 0x2f, 0x7b, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67,
   390  	0x7d, 0x92, 0xd9, 0x21, 0x77, 0x0a, 0x0c, 0x72, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69,
   391  	0x6e, 0x67, 0x73, 0x12, 0x0c, 0x72, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67,
   392  	0x73, 0x1a, 0x12, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x6f, 0x6d,
   393  	0x2f, 0x4e, 0x6f, 0x6e, 0x65, 0x1a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x0c,
   394  	0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x0e, 0x5b, 0x5c,
   395  	0x77, 0x2e, 0x7c, 0x2d, 0x5d, 0x7b, 0x31, 0x2c, 0x31, 0x32, 0x38, 0x7d, 0x38, 0x05, 0x42, 0x1c,
   396  	0x08, 0x02, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x06, 0x0a, 0x04, 0x72, 0x6f,
   397  	0x6c, 0x65, 0x12, 0x08, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0xb2, 0xdf, 0x21, 0xfe,
   398  	0x01, 0x0a, 0xf1, 0x01, 0x0a, 0x42, 0x0a, 0x0a, 0x62, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
   399  	0x46, 0x73, 0x12, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x1a, 0x21, 0x70, 0x72, 0x6f, 0x6a,
   400  	0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72,
   401  	0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2d, 0x2a, 0x09, 0x66,
   402  	0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x0a, 0x7e, 0x0a, 0x0d, 0x62, 0x79, 0x4d, 0x65,
   403  	0x6d, 0x62, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x67, 0x6f, 0x12, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65,
   404  	0x72, 0x1a, 0x21, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
   405  	0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e,
   406  	0x67, 0x73, 0x2f, 0x2d, 0x1a, 0x2b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
   407  	0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
   408  	0x6e, 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f,
   409  	0x2d, 0x1a, 0x0e, 0x72, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f,
   410  	0x2d, 0x2a, 0x05, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x12, 0x14, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65,
   411  	0x10, 0x01, 0x1a, 0x0a, 0x62, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x46, 0x73, 0x12, 0x15,
   412  	0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x1a, 0x0d, 0x62, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
   413  	0x4d, 0x6f, 0x6e, 0x67, 0x6f, 0x12, 0x08, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0xda,
   414  	0x94, 0x23, 0x18, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x04, 0x6e,
   415  	0x61, 0x6d, 0x65, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0xe2, 0xde, 0x21, 0x02, 0x08,
   416  	0x01, 0xc2, 0x85, 0x2c, 0x40, 0x22, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x04, 0x72, 0x6f, 0x6c,
   417  	0x65, 0x22, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x11, 0x63, 0x6f, 0x6e, 0x64, 0x69,
   418  	0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2a, 0x0d, 0x61, 0x6e,
   419  	0x63, 0x65, 0x73, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x42, 0x08, 0x6d, 0x65, 0x74,
   420  	0x61, 0x64, 0x61, 0x74, 0x61, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x42, 0xaa, 0x02, 0xe8, 0xde,
   421  	0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x50, 0x0a, 0x12, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x62, 0x69,
   422  	0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x3a, 0x67, 0x69, 0x74,
   423  	0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e,
   424  	0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x73, 0x74, 0x6f, 0x72,
   425  	0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x5f,
   426  	0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0xa2, 0x80, 0xd1, 0x02, 0x52, 0x0a, 0x13, 0x72, 0x6f,
   427  	0x6c, 0x65, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73,
   428  	0x73, 0x12, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c,
   429  	0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61,
   430  	0x6d, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
   431  	0x32, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x0a, 0x17,
   432  	0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x62, 0x2e, 0x76,
   433  	0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42, 0x10, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e,
   434  	0x64, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x69, 0x74,
   435  	0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e,
   436  	0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x72, 0x65, 0x73, 0x6f,
   437  	0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x72,
   438  	0x6f, 0x6c, 0x65, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x3b, 0x72, 0x6f, 0x6c, 0x65,
   439  	0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   440  }
   441  
   442  var (
   443  	edgelq_iam_proto_v1alpha2_role_binding_proto_rawDescOnce sync.Once
   444  	edgelq_iam_proto_v1alpha2_role_binding_proto_rawDescData = edgelq_iam_proto_v1alpha2_role_binding_proto_rawDesc
   445  )
   446  
   447  func edgelq_iam_proto_v1alpha2_role_binding_proto_rawDescGZIP() []byte {
   448  	edgelq_iam_proto_v1alpha2_role_binding_proto_rawDescOnce.Do(func() {
   449  		edgelq_iam_proto_v1alpha2_role_binding_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_iam_proto_v1alpha2_role_binding_proto_rawDescData)
   450  	})
   451  	return edgelq_iam_proto_v1alpha2_role_binding_proto_rawDescData
   452  }
   453  
   454  var edgelq_iam_proto_v1alpha2_role_binding_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   455  var edgelq_iam_proto_v1alpha2_role_binding_proto_goTypes = []interface{}{
   456  	(*RoleBinding)(nil),                // 0: ntt.iam.v1alpha2.RoleBinding
   457  	(*RoleBinding_Parent)(nil),         // 1: ntt.iam.v1alpha2.RoleBinding.Parent
   458  	(*condition.ConditionBinding)(nil), // 2: ntt.iam.v1alpha2.ConditionBinding
   459  	(*meta.Meta)(nil),                  // 3: goten.types.Meta
   460  }
   461  var edgelq_iam_proto_v1alpha2_role_binding_proto_depIdxs = []int32{
   462  	2, // 0: ntt.iam.v1alpha2.RoleBinding.condition_binding:type_name -> ntt.iam.v1alpha2.ConditionBinding
   463  	1, // 1: ntt.iam.v1alpha2.RoleBinding.ancestry_path:type_name -> ntt.iam.v1alpha2.RoleBinding.Parent
   464  	3, // 2: ntt.iam.v1alpha2.RoleBinding.metadata:type_name -> goten.types.Meta
   465  	3, // [3:3] is the sub-list for method output_type
   466  	3, // [3:3] is the sub-list for method input_type
   467  	3, // [3:3] is the sub-list for extension type_name
   468  	3, // [3:3] is the sub-list for extension extendee
   469  	0, // [0:3] is the sub-list for field type_name
   470  }
   471  
   472  func init() { edgelq_iam_proto_v1alpha2_role_binding_proto_init() }
   473  func edgelq_iam_proto_v1alpha2_role_binding_proto_init() {
   474  	if edgelq_iam_proto_v1alpha2_role_binding_proto != nil {
   475  		return
   476  	}
   477  	if !protoimpl.UnsafeEnabled {
   478  
   479  		edgelq_iam_proto_v1alpha2_role_binding_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   480  			switch v := v.(*RoleBinding); i {
   481  			case 0:
   482  				return &v.state
   483  			case 1:
   484  				return &v.sizeCache
   485  			case 2:
   486  				return &v.unknownFields
   487  			default:
   488  				return nil
   489  			}
   490  		}
   491  		edgelq_iam_proto_v1alpha2_role_binding_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   492  			switch v := v.(*RoleBinding_Parent); i {
   493  			case 0:
   494  				return &v.state
   495  			case 1:
   496  				return &v.sizeCache
   497  			case 2:
   498  				return &v.unknownFields
   499  			default:
   500  				return nil
   501  			}
   502  		}
   503  	}
   504  
   505  	type x struct{}
   506  	out := protoimpl.TypeBuilder{
   507  		File: protoimpl.DescBuilder{
   508  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   509  			RawDescriptor: edgelq_iam_proto_v1alpha2_role_binding_proto_rawDesc,
   510  			NumEnums:      0,
   511  			NumMessages:   2,
   512  			NumExtensions: 0,
   513  			NumServices:   0,
   514  		},
   515  		GoTypes:           edgelq_iam_proto_v1alpha2_role_binding_proto_goTypes,
   516  		DependencyIndexes: edgelq_iam_proto_v1alpha2_role_binding_proto_depIdxs,
   517  		MessageInfos:      edgelq_iam_proto_v1alpha2_role_binding_proto_msgTypes,
   518  	}.Build()
   519  	edgelq_iam_proto_v1alpha2_role_binding_proto = out.File
   520  	edgelq_iam_proto_v1alpha2_role_binding_proto_rawDesc = nil
   521  	edgelq_iam_proto_v1alpha2_role_binding_proto_goTypes = nil
   522  	edgelq_iam_proto_v1alpha2_role_binding_proto_depIdxs = nil
   523  }