Browse code

generate protobuf

Michal Fojtik authored on 2016/09/30 19:31:59
Showing 4 changed files
... ...
@@ -420,6 +420,27 @@ message SubjectAccessReviewResponse {
420 420
   optional string evaluationError = 4;
421 421
 }
422 422
 
423
+// SubjectRulesReview is a resource you can create to determine which actions another user can perform in a namespace
424
+message SubjectRulesReview {
425
+  // Spec adds information about how to conduct the check
426
+  optional SubjectRulesReviewSpec spec = 1;
427
+
428
+  // Status is completed by the server to tell which permissions you have
429
+  optional SubjectRulesReviewStatus status = 2;
430
+}
431
+
432
+// SubjectRulesReviewSpec adds information about how to conduct the check
433
+message SubjectRulesReviewSpec {
434
+  // User is optional.  At least one of User and Groups must be specified.
435
+  optional string user = 1;
436
+
437
+  // Groups is optional.  Groups is the list of groups to which the User belongs.  At least one of User and Groups must be specified.
438
+  repeated string groups = 2;
439
+
440
+  // Scopes to use for the evaluation.  Empty means "use the unscoped (full) permissions of the user/groups".
441
+  optional OptionalScopes scopes = 3;
442
+}
443
+
423 444
 // SubjectRulesReviewStatus is contains the result of a rules check
424 445
 message SubjectRulesReviewStatus {
425 446
   // Rules is the list of rules (no particular sort) that are allowed for the subject
... ...
@@ -19299,7 +19299,7 @@
19299 19299
       "type": "v1.SubjectRulesReview",
19300 19300
       "method": "POST",
19301 19301
       "summary": "create a SubjectRulesReview",
19302
-      "nickname": "createNamespacedSubjectRulesReview",
19302
+      "nickname": "createSubjectRulesReviewForAllNamespaces",
19303 19303
       "parameters": [
19304 19304
        {
19305 19305
         "type": "string",
... ...
@@ -35873,6 +35873,56 @@
35873 35873
      }
35874 35874
     ]
35875 35875
    },
35876
+   "/oapi/v1/namespaces/{namespace}/subjectrulesreviews": {
35877
+    "post": {
35878
+     "description": "create a SubjectRulesReview",
35879
+     "consumes": [
35880
+      "*/*"
35881
+     ],
35882
+     "produces": [
35883
+      "application/json",
35884
+      "application/yaml",
35885
+      "application/vnd.kubernetes.protobuf"
35886
+     ],
35887
+     "schemes": [
35888
+      "https"
35889
+     ],
35890
+     "operationId": "createNamespacedSubjectRulesReview",
35891
+     "responses": {
35892
+      "200": {
35893
+       "description": "OK",
35894
+       "schema": {
35895
+        "$ref": "#/definitions/v1.SubjectRulesReview"
35896
+       }
35897
+      }
35898
+     }
35899
+    },
35900
+    "parameters": [
35901
+     {
35902
+      "name": "body",
35903
+      "in": "body",
35904
+      "required": true,
35905
+      "schema": {
35906
+       "$ref": "#/definitions/v1.SubjectRulesReview"
35907
+      }
35908
+     },
35909
+     {
35910
+      "uniqueItems": true,
35911
+      "type": "string",
35912
+      "description": "object name and auth scope, such as for teams and projects",
35913
+      "name": "namespace",
35914
+      "in": "path",
35915
+      "required": true
35916
+     },
35917
+     {
35918
+      "uniqueItems": true,
35919
+      "type": "string",
35920
+      "description": "If 'true', then the output is pretty printed.",
35921
+      "name": "pretty",
35922
+      "in": "query"
35923
+     }
35924
+    ]
35925
+   },
35876 35926
    "/oapi/v1/namespaces/{namespace}/templates": {
35877 35927
     "get": {
35878 35928
      "description": "list or watch objects of kind Template",
... ...
@@ -38980,6 +39030,48 @@
38980 38980
      }
38981 38981
     ]
38982 38982
    },
38983
+   "/oapi/v1/subjectrulesreviews": {
38984
+    "post": {
38985
+     "description": "create a SubjectRulesReview",
38986
+     "consumes": [
38987
+      "*/*"
38988
+     ],
38989
+     "produces": [
38990
+      "application/json",
38991
+      "application/yaml",
38992
+      "application/vnd.kubernetes.protobuf"
38993
+     ],
38994
+     "schemes": [
38995
+      "https"
38996
+     ],
38997
+     "operationId": "createSubjectRulesReviewForAllNamespaces",
38998
+     "responses": {
38999
+      "200": {
39000
+       "description": "OK",
39001
+       "schema": {
39002
+        "$ref": "#/definitions/v1.SubjectRulesReview"
39003
+       }
39004
+      }
39005
+     }
39006
+    },
39007
+    "parameters": [
39008
+     {
39009
+      "name": "body",
39010
+      "in": "body",
39011
+      "required": true,
39012
+      "schema": {
39013
+       "$ref": "#/definitions/v1.SubjectRulesReview"
39014
+      }
39015
+     },
39016
+     {
39017
+      "uniqueItems": true,
39018
+      "type": "string",
39019
+      "description": "If 'true', then the output is pretty printed.",
39020
+      "name": "pretty",
39021
+      "in": "query"
39022
+     }
39023
+    ]
39024
+   },
38983 39025
    "/oapi/v1/templates": {
38984 39026
     "get": {
38985 39027
      "description": "list or watch objects of kind Template",
... ...
@@ -52018,6 +52110,56 @@
52018 52018
      }
52019 52019
     }
52020 52020
    },
52021
+   "v1.SubjectRulesReview": {
52022
+    "description": "SubjectRulesReview is a resource you can create to determine which actions another user can perform in a namespace",
52023
+    "required": [
52024
+     "spec"
52025
+    ],
52026
+    "properties": {
52027
+     "apiVersion": {
52028
+      "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/release-1.4/docs/devel/api-conventions.md#resources",
52029
+      "type": "string"
52030
+     },
52031
+     "kind": {
52032
+      "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/release-1.4/docs/devel/api-conventions.md#types-kinds",
52033
+      "type": "string"
52034
+     },
52035
+     "spec": {
52036
+      "$ref": "#/definitions/v1.SubjectRulesReviewSpec"
52037
+     },
52038
+     "status": {
52039
+      "$ref": "#/definitions/v1.SubjectRulesReviewStatus"
52040
+     }
52041
+    }
52042
+   },
52043
+   "v1.SubjectRulesReviewSpec": {
52044
+    "description": "SubjectRulesReviewSpec adds information about how to conduct the check",
52045
+    "required": [
52046
+     "user",
52047
+     "groups",
52048
+     "scopes"
52049
+    ],
52050
+    "properties": {
52051
+     "groups": {
52052
+      "description": "Groups is optional.  Groups is the list of groups to which the User belongs.  At least one of User and Groups must be specified.",
52053
+      "type": "array",
52054
+      "items": {
52055
+       "type": "string"
52056
+      }
52057
+     },
52058
+     "scopes": {
52059
+      "description": "Scopes to use for the evaluation.  Empty means \"use the unscoped (full) permissions of the user/groups\".",
52060
+      "type": "array",
52061
+      "items": {
52062
+       "type": "string"
52063
+      }
52064
+     },
52065
+     "user": {
52066
+      "description": "User is optional.  At least one of User and Groups must be specified.",
52067
+      "type": "string"
52068
+     }
52069
+    }
52070
+   },
52021 52071
    "v1.SubjectRulesReviewStatus": {
52022 52072
     "description": "SubjectRulesReviewStatus is contains the result of a rules check",
52023 52073
     "required": [
52024 52074
new file mode 100644
... ...
@@ -0,0 +1,7620 @@
0
+// Code generated by protoc-gen-gogo.
1
+// source: github.com/openshift/origin/pkg/authorization/api/v1/generated.proto
2
+// DO NOT EDIT!
3
+
4
+/*
5
+	Package v1 is a generated protocol buffer package.
6
+
7
+	It is generated from these files:
8
+		github.com/openshift/origin/pkg/authorization/api/v1/generated.proto
9
+
10
+	It has these top-level messages:
11
+		Action
12
+		ClusterPolicy
13
+		ClusterPolicyBinding
14
+		ClusterPolicyBindingList
15
+		ClusterPolicyList
16
+		ClusterRole
17
+		ClusterRoleBinding
18
+		ClusterRoleBindingList
19
+		ClusterRoleList
20
+		IsPersonalSubjectAccessReview
21
+		LocalResourceAccessReview
22
+		LocalSubjectAccessReview
23
+		NamedClusterRole
24
+		NamedClusterRoleBinding
25
+		NamedRole
26
+		NamedRoleBinding
27
+		OptionalNames
28
+		OptionalScopes
29
+		Policy
30
+		PolicyBinding
31
+		PolicyBindingList
32
+		PolicyList
33
+		PolicyRule
34
+		ResourceAccessReview
35
+		ResourceAccessReviewResponse
36
+		Role
37
+		RoleBinding
38
+		RoleBindingList
39
+		RoleList
40
+		SelfSubjectRulesReview
41
+		SelfSubjectRulesReviewSpec
42
+		SubjectAccessReview
43
+		SubjectAccessReviewResponse
44
+		SubjectRulesReview
45
+		SubjectRulesReviewSpec
46
+		SubjectRulesReviewStatus
47
+*/
48
+package v1
49
+
50
+import proto "github.com/gogo/protobuf/proto"
51
+import fmt "fmt"
52
+import math "math"
53
+
54
+import k8s_io_kubernetes_pkg_api_v1 "k8s.io/kubernetes/pkg/api/v1"
55
+
56
+import strings "strings"
57
+import reflect "reflect"
58
+
59
+import io "io"
60
+
61
+// Reference imports to suppress errors if they are not otherwise used.
62
+var _ = proto.Marshal
63
+var _ = fmt.Errorf
64
+var _ = math.Inf
65
+
66
+// This is a compile-time assertion to ensure that this generated file
67
+// is compatible with the proto package it is being compiled against.
68
+const _ = proto.GoGoProtoPackageIsVersion1
69
+
70
+func (m *Action) Reset()                    { *m = Action{} }
71
+func (*Action) ProtoMessage()               {}
72
+func (*Action) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
73
+
74
+func (m *ClusterPolicy) Reset()                    { *m = ClusterPolicy{} }
75
+func (*ClusterPolicy) ProtoMessage()               {}
76
+func (*ClusterPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
77
+
78
+func (m *ClusterPolicyBinding) Reset()                    { *m = ClusterPolicyBinding{} }
79
+func (*ClusterPolicyBinding) ProtoMessage()               {}
80
+func (*ClusterPolicyBinding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
81
+
82
+func (m *ClusterPolicyBindingList) Reset()      { *m = ClusterPolicyBindingList{} }
83
+func (*ClusterPolicyBindingList) ProtoMessage() {}
84
+func (*ClusterPolicyBindingList) Descriptor() ([]byte, []int) {
85
+	return fileDescriptorGenerated, []int{3}
86
+}
87
+
88
+func (m *ClusterPolicyList) Reset()                    { *m = ClusterPolicyList{} }
89
+func (*ClusterPolicyList) ProtoMessage()               {}
90
+func (*ClusterPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
91
+
92
+func (m *ClusterRole) Reset()                    { *m = ClusterRole{} }
93
+func (*ClusterRole) ProtoMessage()               {}
94
+func (*ClusterRole) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
95
+
96
+func (m *ClusterRoleBinding) Reset()                    { *m = ClusterRoleBinding{} }
97
+func (*ClusterRoleBinding) ProtoMessage()               {}
98
+func (*ClusterRoleBinding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
99
+
100
+func (m *ClusterRoleBindingList) Reset()                    { *m = ClusterRoleBindingList{} }
101
+func (*ClusterRoleBindingList) ProtoMessage()               {}
102
+func (*ClusterRoleBindingList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
103
+
104
+func (m *ClusterRoleList) Reset()                    { *m = ClusterRoleList{} }
105
+func (*ClusterRoleList) ProtoMessage()               {}
106
+func (*ClusterRoleList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
107
+
108
+func (m *IsPersonalSubjectAccessReview) Reset()      { *m = IsPersonalSubjectAccessReview{} }
109
+func (*IsPersonalSubjectAccessReview) ProtoMessage() {}
110
+func (*IsPersonalSubjectAccessReview) Descriptor() ([]byte, []int) {
111
+	return fileDescriptorGenerated, []int{9}
112
+}
113
+
114
+func (m *LocalResourceAccessReview) Reset()      { *m = LocalResourceAccessReview{} }
115
+func (*LocalResourceAccessReview) ProtoMessage() {}
116
+func (*LocalResourceAccessReview) Descriptor() ([]byte, []int) {
117
+	return fileDescriptorGenerated, []int{10}
118
+}
119
+
120
+func (m *LocalSubjectAccessReview) Reset()      { *m = LocalSubjectAccessReview{} }
121
+func (*LocalSubjectAccessReview) ProtoMessage() {}
122
+func (*LocalSubjectAccessReview) Descriptor() ([]byte, []int) {
123
+	return fileDescriptorGenerated, []int{11}
124
+}
125
+
126
+func (m *NamedClusterRole) Reset()                    { *m = NamedClusterRole{} }
127
+func (*NamedClusterRole) ProtoMessage()               {}
128
+func (*NamedClusterRole) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
129
+
130
+func (m *NamedClusterRoleBinding) Reset()      { *m = NamedClusterRoleBinding{} }
131
+func (*NamedClusterRoleBinding) ProtoMessage() {}
132
+func (*NamedClusterRoleBinding) Descriptor() ([]byte, []int) {
133
+	return fileDescriptorGenerated, []int{13}
134
+}
135
+
136
+func (m *NamedRole) Reset()                    { *m = NamedRole{} }
137
+func (*NamedRole) ProtoMessage()               {}
138
+func (*NamedRole) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
139
+
140
+func (m *NamedRoleBinding) Reset()                    { *m = NamedRoleBinding{} }
141
+func (*NamedRoleBinding) ProtoMessage()               {}
142
+func (*NamedRoleBinding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
143
+
144
+func (m *OptionalNames) Reset()                    { *m = OptionalNames{} }
145
+func (*OptionalNames) ProtoMessage()               {}
146
+func (*OptionalNames) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
147
+
148
+func (m *OptionalScopes) Reset()                    { *m = OptionalScopes{} }
149
+func (*OptionalScopes) ProtoMessage()               {}
150
+func (*OptionalScopes) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
151
+
152
+func (m *Policy) Reset()                    { *m = Policy{} }
153
+func (*Policy) ProtoMessage()               {}
154
+func (*Policy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
155
+
156
+func (m *PolicyBinding) Reset()                    { *m = PolicyBinding{} }
157
+func (*PolicyBinding) ProtoMessage()               {}
158
+func (*PolicyBinding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
159
+
160
+func (m *PolicyBindingList) Reset()                    { *m = PolicyBindingList{} }
161
+func (*PolicyBindingList) ProtoMessage()               {}
162
+func (*PolicyBindingList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
163
+
164
+func (m *PolicyList) Reset()                    { *m = PolicyList{} }
165
+func (*PolicyList) ProtoMessage()               {}
166
+func (*PolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
167
+
168
+func (m *PolicyRule) Reset()                    { *m = PolicyRule{} }
169
+func (*PolicyRule) ProtoMessage()               {}
170
+func (*PolicyRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} }
171
+
172
+func (m *ResourceAccessReview) Reset()                    { *m = ResourceAccessReview{} }
173
+func (*ResourceAccessReview) ProtoMessage()               {}
174
+func (*ResourceAccessReview) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} }
175
+
176
+func (m *ResourceAccessReviewResponse) Reset()      { *m = ResourceAccessReviewResponse{} }
177
+func (*ResourceAccessReviewResponse) ProtoMessage() {}
178
+func (*ResourceAccessReviewResponse) Descriptor() ([]byte, []int) {
179
+	return fileDescriptorGenerated, []int{24}
180
+}
181
+
182
+func (m *Role) Reset()                    { *m = Role{} }
183
+func (*Role) ProtoMessage()               {}
184
+func (*Role) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
185
+
186
+func (m *RoleBinding) Reset()                    { *m = RoleBinding{} }
187
+func (*RoleBinding) ProtoMessage()               {}
188
+func (*RoleBinding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
189
+
190
+func (m *RoleBindingList) Reset()                    { *m = RoleBindingList{} }
191
+func (*RoleBindingList) ProtoMessage()               {}
192
+func (*RoleBindingList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} }
193
+
194
+func (m *RoleList) Reset()                    { *m = RoleList{} }
195
+func (*RoleList) ProtoMessage()               {}
196
+func (*RoleList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} }
197
+
198
+func (m *SelfSubjectRulesReview) Reset()                    { *m = SelfSubjectRulesReview{} }
199
+func (*SelfSubjectRulesReview) ProtoMessage()               {}
200
+func (*SelfSubjectRulesReview) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} }
201
+
202
+func (m *SelfSubjectRulesReviewSpec) Reset()      { *m = SelfSubjectRulesReviewSpec{} }
203
+func (*SelfSubjectRulesReviewSpec) ProtoMessage() {}
204
+func (*SelfSubjectRulesReviewSpec) Descriptor() ([]byte, []int) {
205
+	return fileDescriptorGenerated, []int{30}
206
+}
207
+
208
+func (m *SubjectAccessReview) Reset()                    { *m = SubjectAccessReview{} }
209
+func (*SubjectAccessReview) ProtoMessage()               {}
210
+func (*SubjectAccessReview) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} }
211
+
212
+func (m *SubjectAccessReviewResponse) Reset()      { *m = SubjectAccessReviewResponse{} }
213
+func (*SubjectAccessReviewResponse) ProtoMessage() {}
214
+func (*SubjectAccessReviewResponse) Descriptor() ([]byte, []int) {
215
+	return fileDescriptorGenerated, []int{32}
216
+}
217
+
218
+func (m *SubjectRulesReview) Reset()                    { *m = SubjectRulesReview{} }
219
+func (*SubjectRulesReview) ProtoMessage()               {}
220
+func (*SubjectRulesReview) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} }
221
+
222
+func (m *SubjectRulesReviewSpec) Reset()                    { *m = SubjectRulesReviewSpec{} }
223
+func (*SubjectRulesReviewSpec) ProtoMessage()               {}
224
+func (*SubjectRulesReviewSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} }
225
+
226
+func (m *SubjectRulesReviewStatus) Reset()      { *m = SubjectRulesReviewStatus{} }
227
+func (*SubjectRulesReviewStatus) ProtoMessage() {}
228
+func (*SubjectRulesReviewStatus) Descriptor() ([]byte, []int) {
229
+	return fileDescriptorGenerated, []int{35}
230
+}
231
+
232
+func init() {
233
+	proto.RegisterType((*Action)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.Action")
234
+	proto.RegisterType((*ClusterPolicy)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.ClusterPolicy")
235
+	proto.RegisterType((*ClusterPolicyBinding)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.ClusterPolicyBinding")
236
+	proto.RegisterType((*ClusterPolicyBindingList)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.ClusterPolicyBindingList")
237
+	proto.RegisterType((*ClusterPolicyList)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.ClusterPolicyList")
238
+	proto.RegisterType((*ClusterRole)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.ClusterRole")
239
+	proto.RegisterType((*ClusterRoleBinding)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.ClusterRoleBinding")
240
+	proto.RegisterType((*ClusterRoleBindingList)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.ClusterRoleBindingList")
241
+	proto.RegisterType((*ClusterRoleList)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.ClusterRoleList")
242
+	proto.RegisterType((*IsPersonalSubjectAccessReview)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.IsPersonalSubjectAccessReview")
243
+	proto.RegisterType((*LocalResourceAccessReview)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.LocalResourceAccessReview")
244
+	proto.RegisterType((*LocalSubjectAccessReview)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.LocalSubjectAccessReview")
245
+	proto.RegisterType((*NamedClusterRole)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.NamedClusterRole")
246
+	proto.RegisterType((*NamedClusterRoleBinding)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.NamedClusterRoleBinding")
247
+	proto.RegisterType((*NamedRole)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.NamedRole")
248
+	proto.RegisterType((*NamedRoleBinding)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.NamedRoleBinding")
249
+	proto.RegisterType((*OptionalNames)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.OptionalNames")
250
+	proto.RegisterType((*OptionalScopes)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.OptionalScopes")
251
+	proto.RegisterType((*Policy)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.Policy")
252
+	proto.RegisterType((*PolicyBinding)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.PolicyBinding")
253
+	proto.RegisterType((*PolicyBindingList)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.PolicyBindingList")
254
+	proto.RegisterType((*PolicyList)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.PolicyList")
255
+	proto.RegisterType((*PolicyRule)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.PolicyRule")
256
+	proto.RegisterType((*ResourceAccessReview)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.ResourceAccessReview")
257
+	proto.RegisterType((*ResourceAccessReviewResponse)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.ResourceAccessReviewResponse")
258
+	proto.RegisterType((*Role)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.Role")
259
+	proto.RegisterType((*RoleBinding)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.RoleBinding")
260
+	proto.RegisterType((*RoleBindingList)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.RoleBindingList")
261
+	proto.RegisterType((*RoleList)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.RoleList")
262
+	proto.RegisterType((*SelfSubjectRulesReview)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.SelfSubjectRulesReview")
263
+	proto.RegisterType((*SelfSubjectRulesReviewSpec)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.SelfSubjectRulesReviewSpec")
264
+	proto.RegisterType((*SubjectAccessReview)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.SubjectAccessReview")
265
+	proto.RegisterType((*SubjectAccessReviewResponse)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.SubjectAccessReviewResponse")
266
+	proto.RegisterType((*SubjectRulesReview)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.SubjectRulesReview")
267
+	proto.RegisterType((*SubjectRulesReviewSpec)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.SubjectRulesReviewSpec")
268
+	proto.RegisterType((*SubjectRulesReviewStatus)(nil), "github.com.openshift.origin.pkg.authorization.api.v1.SubjectRulesReviewStatus")
269
+}
270
+func (m *Action) Marshal() (data []byte, err error) {
271
+	size := m.Size()
272
+	data = make([]byte, size)
273
+	n, err := m.MarshalTo(data)
274
+	if err != nil {
275
+		return nil, err
276
+	}
277
+	return data[:n], nil
278
+}
279
+
280
+func (m *Action) MarshalTo(data []byte) (int, error) {
281
+	var i int
282
+	_ = i
283
+	var l int
284
+	_ = l
285
+	data[i] = 0xa
286
+	i++
287
+	i = encodeVarintGenerated(data, i, uint64(len(m.Namespace)))
288
+	i += copy(data[i:], m.Namespace)
289
+	data[i] = 0x12
290
+	i++
291
+	i = encodeVarintGenerated(data, i, uint64(len(m.Verb)))
292
+	i += copy(data[i:], m.Verb)
293
+	data[i] = 0x1a
294
+	i++
295
+	i = encodeVarintGenerated(data, i, uint64(len(m.Group)))
296
+	i += copy(data[i:], m.Group)
297
+	data[i] = 0x22
298
+	i++
299
+	i = encodeVarintGenerated(data, i, uint64(len(m.Version)))
300
+	i += copy(data[i:], m.Version)
301
+	data[i] = 0x2a
302
+	i++
303
+	i = encodeVarintGenerated(data, i, uint64(len(m.Resource)))
304
+	i += copy(data[i:], m.Resource)
305
+	data[i] = 0x32
306
+	i++
307
+	i = encodeVarintGenerated(data, i, uint64(len(m.ResourceName)))
308
+	i += copy(data[i:], m.ResourceName)
309
+	data[i] = 0x3a
310
+	i++
311
+	i = encodeVarintGenerated(data, i, uint64(m.Content.Size()))
312
+	n1, err := m.Content.MarshalTo(data[i:])
313
+	if err != nil {
314
+		return 0, err
315
+	}
316
+	i += n1
317
+	return i, nil
318
+}
319
+
320
+func (m *ClusterPolicy) Marshal() (data []byte, err error) {
321
+	size := m.Size()
322
+	data = make([]byte, size)
323
+	n, err := m.MarshalTo(data)
324
+	if err != nil {
325
+		return nil, err
326
+	}
327
+	return data[:n], nil
328
+}
329
+
330
+func (m *ClusterPolicy) MarshalTo(data []byte) (int, error) {
331
+	var i int
332
+	_ = i
333
+	var l int
334
+	_ = l
335
+	data[i] = 0xa
336
+	i++
337
+	i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
338
+	n2, err := m.ObjectMeta.MarshalTo(data[i:])
339
+	if err != nil {
340
+		return 0, err
341
+	}
342
+	i += n2
343
+	data[i] = 0x12
344
+	i++
345
+	i = encodeVarintGenerated(data, i, uint64(m.LastModified.Size()))
346
+	n3, err := m.LastModified.MarshalTo(data[i:])
347
+	if err != nil {
348
+		return 0, err
349
+	}
350
+	i += n3
351
+	if len(m.Roles) > 0 {
352
+		for _, msg := range m.Roles {
353
+			data[i] = 0x1a
354
+			i++
355
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
356
+			n, err := msg.MarshalTo(data[i:])
357
+			if err != nil {
358
+				return 0, err
359
+			}
360
+			i += n
361
+		}
362
+	}
363
+	return i, nil
364
+}
365
+
366
+func (m *ClusterPolicyBinding) Marshal() (data []byte, err error) {
367
+	size := m.Size()
368
+	data = make([]byte, size)
369
+	n, err := m.MarshalTo(data)
370
+	if err != nil {
371
+		return nil, err
372
+	}
373
+	return data[:n], nil
374
+}
375
+
376
+func (m *ClusterPolicyBinding) MarshalTo(data []byte) (int, error) {
377
+	var i int
378
+	_ = i
379
+	var l int
380
+	_ = l
381
+	data[i] = 0xa
382
+	i++
383
+	i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
384
+	n4, err := m.ObjectMeta.MarshalTo(data[i:])
385
+	if err != nil {
386
+		return 0, err
387
+	}
388
+	i += n4
389
+	data[i] = 0x12
390
+	i++
391
+	i = encodeVarintGenerated(data, i, uint64(m.LastModified.Size()))
392
+	n5, err := m.LastModified.MarshalTo(data[i:])
393
+	if err != nil {
394
+		return 0, err
395
+	}
396
+	i += n5
397
+	data[i] = 0x1a
398
+	i++
399
+	i = encodeVarintGenerated(data, i, uint64(m.PolicyRef.Size()))
400
+	n6, err := m.PolicyRef.MarshalTo(data[i:])
401
+	if err != nil {
402
+		return 0, err
403
+	}
404
+	i += n6
405
+	if len(m.RoleBindings) > 0 {
406
+		for _, msg := range m.RoleBindings {
407
+			data[i] = 0x22
408
+			i++
409
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
410
+			n, err := msg.MarshalTo(data[i:])
411
+			if err != nil {
412
+				return 0, err
413
+			}
414
+			i += n
415
+		}
416
+	}
417
+	return i, nil
418
+}
419
+
420
+func (m *ClusterPolicyBindingList) Marshal() (data []byte, err error) {
421
+	size := m.Size()
422
+	data = make([]byte, size)
423
+	n, err := m.MarshalTo(data)
424
+	if err != nil {
425
+		return nil, err
426
+	}
427
+	return data[:n], nil
428
+}
429
+
430
+func (m *ClusterPolicyBindingList) MarshalTo(data []byte) (int, error) {
431
+	var i int
432
+	_ = i
433
+	var l int
434
+	_ = l
435
+	data[i] = 0xa
436
+	i++
437
+	i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
438
+	n7, err := m.ListMeta.MarshalTo(data[i:])
439
+	if err != nil {
440
+		return 0, err
441
+	}
442
+	i += n7
443
+	if len(m.Items) > 0 {
444
+		for _, msg := range m.Items {
445
+			data[i] = 0x12
446
+			i++
447
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
448
+			n, err := msg.MarshalTo(data[i:])
449
+			if err != nil {
450
+				return 0, err
451
+			}
452
+			i += n
453
+		}
454
+	}
455
+	return i, nil
456
+}
457
+
458
+func (m *ClusterPolicyList) Marshal() (data []byte, err error) {
459
+	size := m.Size()
460
+	data = make([]byte, size)
461
+	n, err := m.MarshalTo(data)
462
+	if err != nil {
463
+		return nil, err
464
+	}
465
+	return data[:n], nil
466
+}
467
+
468
+func (m *ClusterPolicyList) MarshalTo(data []byte) (int, error) {
469
+	var i int
470
+	_ = i
471
+	var l int
472
+	_ = l
473
+	data[i] = 0xa
474
+	i++
475
+	i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
476
+	n8, err := m.ListMeta.MarshalTo(data[i:])
477
+	if err != nil {
478
+		return 0, err
479
+	}
480
+	i += n8
481
+	if len(m.Items) > 0 {
482
+		for _, msg := range m.Items {
483
+			data[i] = 0x12
484
+			i++
485
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
486
+			n, err := msg.MarshalTo(data[i:])
487
+			if err != nil {
488
+				return 0, err
489
+			}
490
+			i += n
491
+		}
492
+	}
493
+	return i, nil
494
+}
495
+
496
+func (m *ClusterRole) Marshal() (data []byte, err error) {
497
+	size := m.Size()
498
+	data = make([]byte, size)
499
+	n, err := m.MarshalTo(data)
500
+	if err != nil {
501
+		return nil, err
502
+	}
503
+	return data[:n], nil
504
+}
505
+
506
+func (m *ClusterRole) MarshalTo(data []byte) (int, error) {
507
+	var i int
508
+	_ = i
509
+	var l int
510
+	_ = l
511
+	data[i] = 0xa
512
+	i++
513
+	i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
514
+	n9, err := m.ObjectMeta.MarshalTo(data[i:])
515
+	if err != nil {
516
+		return 0, err
517
+	}
518
+	i += n9
519
+	if len(m.Rules) > 0 {
520
+		for _, msg := range m.Rules {
521
+			data[i] = 0x12
522
+			i++
523
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
524
+			n, err := msg.MarshalTo(data[i:])
525
+			if err != nil {
526
+				return 0, err
527
+			}
528
+			i += n
529
+		}
530
+	}
531
+	return i, nil
532
+}
533
+
534
+func (m *ClusterRoleBinding) Marshal() (data []byte, err error) {
535
+	size := m.Size()
536
+	data = make([]byte, size)
537
+	n, err := m.MarshalTo(data)
538
+	if err != nil {
539
+		return nil, err
540
+	}
541
+	return data[:n], nil
542
+}
543
+
544
+func (m *ClusterRoleBinding) MarshalTo(data []byte) (int, error) {
545
+	var i int
546
+	_ = i
547
+	var l int
548
+	_ = l
549
+	data[i] = 0xa
550
+	i++
551
+	i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
552
+	n10, err := m.ObjectMeta.MarshalTo(data[i:])
553
+	if err != nil {
554
+		return 0, err
555
+	}
556
+	i += n10
557
+	if m.UserNames != nil {
558
+		data[i] = 0x12
559
+		i++
560
+		i = encodeVarintGenerated(data, i, uint64(m.UserNames.Size()))
561
+		n11, err := m.UserNames.MarshalTo(data[i:])
562
+		if err != nil {
563
+			return 0, err
564
+		}
565
+		i += n11
566
+	}
567
+	if m.GroupNames != nil {
568
+		data[i] = 0x1a
569
+		i++
570
+		i = encodeVarintGenerated(data, i, uint64(m.GroupNames.Size()))
571
+		n12, err := m.GroupNames.MarshalTo(data[i:])
572
+		if err != nil {
573
+			return 0, err
574
+		}
575
+		i += n12
576
+	}
577
+	if len(m.Subjects) > 0 {
578
+		for _, msg := range m.Subjects {
579
+			data[i] = 0x22
580
+			i++
581
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
582
+			n, err := msg.MarshalTo(data[i:])
583
+			if err != nil {
584
+				return 0, err
585
+			}
586
+			i += n
587
+		}
588
+	}
589
+	data[i] = 0x2a
590
+	i++
591
+	i = encodeVarintGenerated(data, i, uint64(m.RoleRef.Size()))
592
+	n13, err := m.RoleRef.MarshalTo(data[i:])
593
+	if err != nil {
594
+		return 0, err
595
+	}
596
+	i += n13
597
+	return i, nil
598
+}
599
+
600
+func (m *ClusterRoleBindingList) Marshal() (data []byte, err error) {
601
+	size := m.Size()
602
+	data = make([]byte, size)
603
+	n, err := m.MarshalTo(data)
604
+	if err != nil {
605
+		return nil, err
606
+	}
607
+	return data[:n], nil
608
+}
609
+
610
+func (m *ClusterRoleBindingList) MarshalTo(data []byte) (int, error) {
611
+	var i int
612
+	_ = i
613
+	var l int
614
+	_ = l
615
+	data[i] = 0xa
616
+	i++
617
+	i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
618
+	n14, err := m.ListMeta.MarshalTo(data[i:])
619
+	if err != nil {
620
+		return 0, err
621
+	}
622
+	i += n14
623
+	if len(m.Items) > 0 {
624
+		for _, msg := range m.Items {
625
+			data[i] = 0x12
626
+			i++
627
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
628
+			n, err := msg.MarshalTo(data[i:])
629
+			if err != nil {
630
+				return 0, err
631
+			}
632
+			i += n
633
+		}
634
+	}
635
+	return i, nil
636
+}
637
+
638
+func (m *ClusterRoleList) Marshal() (data []byte, err error) {
639
+	size := m.Size()
640
+	data = make([]byte, size)
641
+	n, err := m.MarshalTo(data)
642
+	if err != nil {
643
+		return nil, err
644
+	}
645
+	return data[:n], nil
646
+}
647
+
648
+func (m *ClusterRoleList) MarshalTo(data []byte) (int, error) {
649
+	var i int
650
+	_ = i
651
+	var l int
652
+	_ = l
653
+	data[i] = 0xa
654
+	i++
655
+	i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
656
+	n15, err := m.ListMeta.MarshalTo(data[i:])
657
+	if err != nil {
658
+		return 0, err
659
+	}
660
+	i += n15
661
+	if len(m.Items) > 0 {
662
+		for _, msg := range m.Items {
663
+			data[i] = 0x12
664
+			i++
665
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
666
+			n, err := msg.MarshalTo(data[i:])
667
+			if err != nil {
668
+				return 0, err
669
+			}
670
+			i += n
671
+		}
672
+	}
673
+	return i, nil
674
+}
675
+
676
+func (m *IsPersonalSubjectAccessReview) Marshal() (data []byte, err error) {
677
+	size := m.Size()
678
+	data = make([]byte, size)
679
+	n, err := m.MarshalTo(data)
680
+	if err != nil {
681
+		return nil, err
682
+	}
683
+	return data[:n], nil
684
+}
685
+
686
+func (m *IsPersonalSubjectAccessReview) MarshalTo(data []byte) (int, error) {
687
+	var i int
688
+	_ = i
689
+	var l int
690
+	_ = l
691
+	return i, nil
692
+}
693
+
694
+func (m *LocalResourceAccessReview) Marshal() (data []byte, err error) {
695
+	size := m.Size()
696
+	data = make([]byte, size)
697
+	n, err := m.MarshalTo(data)
698
+	if err != nil {
699
+		return nil, err
700
+	}
701
+	return data[:n], nil
702
+}
703
+
704
+func (m *LocalResourceAccessReview) MarshalTo(data []byte) (int, error) {
705
+	var i int
706
+	_ = i
707
+	var l int
708
+	_ = l
709
+	data[i] = 0xa
710
+	i++
711
+	i = encodeVarintGenerated(data, i, uint64(m.Action.Size()))
712
+	n16, err := m.Action.MarshalTo(data[i:])
713
+	if err != nil {
714
+		return 0, err
715
+	}
716
+	i += n16
717
+	return i, nil
718
+}
719
+
720
+func (m *LocalSubjectAccessReview) Marshal() (data []byte, err error) {
721
+	size := m.Size()
722
+	data = make([]byte, size)
723
+	n, err := m.MarshalTo(data)
724
+	if err != nil {
725
+		return nil, err
726
+	}
727
+	return data[:n], nil
728
+}
729
+
730
+func (m *LocalSubjectAccessReview) MarshalTo(data []byte) (int, error) {
731
+	var i int
732
+	_ = i
733
+	var l int
734
+	_ = l
735
+	data[i] = 0xa
736
+	i++
737
+	i = encodeVarintGenerated(data, i, uint64(m.Action.Size()))
738
+	n17, err := m.Action.MarshalTo(data[i:])
739
+	if err != nil {
740
+		return 0, err
741
+	}
742
+	i += n17
743
+	data[i] = 0x12
744
+	i++
745
+	i = encodeVarintGenerated(data, i, uint64(len(m.User)))
746
+	i += copy(data[i:], m.User)
747
+	if len(m.GroupsSlice) > 0 {
748
+		for _, s := range m.GroupsSlice {
749
+			data[i] = 0x1a
750
+			i++
751
+			l = len(s)
752
+			for l >= 1<<7 {
753
+				data[i] = uint8(uint64(l)&0x7f | 0x80)
754
+				l >>= 7
755
+				i++
756
+			}
757
+			data[i] = uint8(l)
758
+			i++
759
+			i += copy(data[i:], s)
760
+		}
761
+	}
762
+	if m.Scopes != nil {
763
+		data[i] = 0x22
764
+		i++
765
+		i = encodeVarintGenerated(data, i, uint64(m.Scopes.Size()))
766
+		n18, err := m.Scopes.MarshalTo(data[i:])
767
+		if err != nil {
768
+			return 0, err
769
+		}
770
+		i += n18
771
+	}
772
+	return i, nil
773
+}
774
+
775
+func (m *NamedClusterRole) Marshal() (data []byte, err error) {
776
+	size := m.Size()
777
+	data = make([]byte, size)
778
+	n, err := m.MarshalTo(data)
779
+	if err != nil {
780
+		return nil, err
781
+	}
782
+	return data[:n], nil
783
+}
784
+
785
+func (m *NamedClusterRole) MarshalTo(data []byte) (int, error) {
786
+	var i int
787
+	_ = i
788
+	var l int
789
+	_ = l
790
+	data[i] = 0xa
791
+	i++
792
+	i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
793
+	i += copy(data[i:], m.Name)
794
+	data[i] = 0x12
795
+	i++
796
+	i = encodeVarintGenerated(data, i, uint64(m.Role.Size()))
797
+	n19, err := m.Role.MarshalTo(data[i:])
798
+	if err != nil {
799
+		return 0, err
800
+	}
801
+	i += n19
802
+	return i, nil
803
+}
804
+
805
+func (m *NamedClusterRoleBinding) Marshal() (data []byte, err error) {
806
+	size := m.Size()
807
+	data = make([]byte, size)
808
+	n, err := m.MarshalTo(data)
809
+	if err != nil {
810
+		return nil, err
811
+	}
812
+	return data[:n], nil
813
+}
814
+
815
+func (m *NamedClusterRoleBinding) MarshalTo(data []byte) (int, error) {
816
+	var i int
817
+	_ = i
818
+	var l int
819
+	_ = l
820
+	data[i] = 0xa
821
+	i++
822
+	i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
823
+	i += copy(data[i:], m.Name)
824
+	data[i] = 0x12
825
+	i++
826
+	i = encodeVarintGenerated(data, i, uint64(m.RoleBinding.Size()))
827
+	n20, err := m.RoleBinding.MarshalTo(data[i:])
828
+	if err != nil {
829
+		return 0, err
830
+	}
831
+	i += n20
832
+	return i, nil
833
+}
834
+
835
+func (m *NamedRole) Marshal() (data []byte, err error) {
836
+	size := m.Size()
837
+	data = make([]byte, size)
838
+	n, err := m.MarshalTo(data)
839
+	if err != nil {
840
+		return nil, err
841
+	}
842
+	return data[:n], nil
843
+}
844
+
845
+func (m *NamedRole) MarshalTo(data []byte) (int, error) {
846
+	var i int
847
+	_ = i
848
+	var l int
849
+	_ = l
850
+	data[i] = 0xa
851
+	i++
852
+	i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
853
+	i += copy(data[i:], m.Name)
854
+	data[i] = 0x12
855
+	i++
856
+	i = encodeVarintGenerated(data, i, uint64(m.Role.Size()))
857
+	n21, err := m.Role.MarshalTo(data[i:])
858
+	if err != nil {
859
+		return 0, err
860
+	}
861
+	i += n21
862
+	return i, nil
863
+}
864
+
865
+func (m *NamedRoleBinding) Marshal() (data []byte, err error) {
866
+	size := m.Size()
867
+	data = make([]byte, size)
868
+	n, err := m.MarshalTo(data)
869
+	if err != nil {
870
+		return nil, err
871
+	}
872
+	return data[:n], nil
873
+}
874
+
875
+func (m *NamedRoleBinding) MarshalTo(data []byte) (int, error) {
876
+	var i int
877
+	_ = i
878
+	var l int
879
+	_ = l
880
+	data[i] = 0xa
881
+	i++
882
+	i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
883
+	i += copy(data[i:], m.Name)
884
+	data[i] = 0x12
885
+	i++
886
+	i = encodeVarintGenerated(data, i, uint64(m.RoleBinding.Size()))
887
+	n22, err := m.RoleBinding.MarshalTo(data[i:])
888
+	if err != nil {
889
+		return 0, err
890
+	}
891
+	i += n22
892
+	return i, nil
893
+}
894
+
895
+func (m OptionalNames) Marshal() (data []byte, err error) {
896
+	size := m.Size()
897
+	data = make([]byte, size)
898
+	n, err := m.MarshalTo(data)
899
+	if err != nil {
900
+		return nil, err
901
+	}
902
+	return data[:n], nil
903
+}
904
+
905
+func (m OptionalNames) MarshalTo(data []byte) (int, error) {
906
+	var i int
907
+	_ = i
908
+	var l int
909
+	_ = l
910
+	if len(m) > 0 {
911
+		for _, s := range m {
912
+			data[i] = 0xa
913
+			i++
914
+			l = len(s)
915
+			for l >= 1<<7 {
916
+				data[i] = uint8(uint64(l)&0x7f | 0x80)
917
+				l >>= 7
918
+				i++
919
+			}
920
+			data[i] = uint8(l)
921
+			i++
922
+			i += copy(data[i:], s)
923
+		}
924
+	}
925
+	return i, nil
926
+}
927
+
928
+func (m OptionalScopes) Marshal() (data []byte, err error) {
929
+	size := m.Size()
930
+	data = make([]byte, size)
931
+	n, err := m.MarshalTo(data)
932
+	if err != nil {
933
+		return nil, err
934
+	}
935
+	return data[:n], nil
936
+}
937
+
938
+func (m OptionalScopes) MarshalTo(data []byte) (int, error) {
939
+	var i int
940
+	_ = i
941
+	var l int
942
+	_ = l
943
+	if len(m) > 0 {
944
+		for _, s := range m {
945
+			data[i] = 0xa
946
+			i++
947
+			l = len(s)
948
+			for l >= 1<<7 {
949
+				data[i] = uint8(uint64(l)&0x7f | 0x80)
950
+				l >>= 7
951
+				i++
952
+			}
953
+			data[i] = uint8(l)
954
+			i++
955
+			i += copy(data[i:], s)
956
+		}
957
+	}
958
+	return i, nil
959
+}
960
+
961
+func (m *Policy) Marshal() (data []byte, err error) {
962
+	size := m.Size()
963
+	data = make([]byte, size)
964
+	n, err := m.MarshalTo(data)
965
+	if err != nil {
966
+		return nil, err
967
+	}
968
+	return data[:n], nil
969
+}
970
+
971
+func (m *Policy) MarshalTo(data []byte) (int, error) {
972
+	var i int
973
+	_ = i
974
+	var l int
975
+	_ = l
976
+	data[i] = 0xa
977
+	i++
978
+	i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
979
+	n23, err := m.ObjectMeta.MarshalTo(data[i:])
980
+	if err != nil {
981
+		return 0, err
982
+	}
983
+	i += n23
984
+	data[i] = 0x12
985
+	i++
986
+	i = encodeVarintGenerated(data, i, uint64(m.LastModified.Size()))
987
+	n24, err := m.LastModified.MarshalTo(data[i:])
988
+	if err != nil {
989
+		return 0, err
990
+	}
991
+	i += n24
992
+	if len(m.Roles) > 0 {
993
+		for _, msg := range m.Roles {
994
+			data[i] = 0x1a
995
+			i++
996
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
997
+			n, err := msg.MarshalTo(data[i:])
998
+			if err != nil {
999
+				return 0, err
1000
+			}
1001
+			i += n
1002
+		}
1003
+	}
1004
+	return i, nil
1005
+}
1006
+
1007
+func (m *PolicyBinding) Marshal() (data []byte, err error) {
1008
+	size := m.Size()
1009
+	data = make([]byte, size)
1010
+	n, err := m.MarshalTo(data)
1011
+	if err != nil {
1012
+		return nil, err
1013
+	}
1014
+	return data[:n], nil
1015
+}
1016
+
1017
+func (m *PolicyBinding) MarshalTo(data []byte) (int, error) {
1018
+	var i int
1019
+	_ = i
1020
+	var l int
1021
+	_ = l
1022
+	data[i] = 0xa
1023
+	i++
1024
+	i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
1025
+	n25, err := m.ObjectMeta.MarshalTo(data[i:])
1026
+	if err != nil {
1027
+		return 0, err
1028
+	}
1029
+	i += n25
1030
+	data[i] = 0x12
1031
+	i++
1032
+	i = encodeVarintGenerated(data, i, uint64(m.LastModified.Size()))
1033
+	n26, err := m.LastModified.MarshalTo(data[i:])
1034
+	if err != nil {
1035
+		return 0, err
1036
+	}
1037
+	i += n26
1038
+	data[i] = 0x1a
1039
+	i++
1040
+	i = encodeVarintGenerated(data, i, uint64(m.PolicyRef.Size()))
1041
+	n27, err := m.PolicyRef.MarshalTo(data[i:])
1042
+	if err != nil {
1043
+		return 0, err
1044
+	}
1045
+	i += n27
1046
+	if len(m.RoleBindings) > 0 {
1047
+		for _, msg := range m.RoleBindings {
1048
+			data[i] = 0x22
1049
+			i++
1050
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
1051
+			n, err := msg.MarshalTo(data[i:])
1052
+			if err != nil {
1053
+				return 0, err
1054
+			}
1055
+			i += n
1056
+		}
1057
+	}
1058
+	return i, nil
1059
+}
1060
+
1061
+func (m *PolicyBindingList) Marshal() (data []byte, err error) {
1062
+	size := m.Size()
1063
+	data = make([]byte, size)
1064
+	n, err := m.MarshalTo(data)
1065
+	if err != nil {
1066
+		return nil, err
1067
+	}
1068
+	return data[:n], nil
1069
+}
1070
+
1071
+func (m *PolicyBindingList) MarshalTo(data []byte) (int, error) {
1072
+	var i int
1073
+	_ = i
1074
+	var l int
1075
+	_ = l
1076
+	data[i] = 0xa
1077
+	i++
1078
+	i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
1079
+	n28, err := m.ListMeta.MarshalTo(data[i:])
1080
+	if err != nil {
1081
+		return 0, err
1082
+	}
1083
+	i += n28
1084
+	if len(m.Items) > 0 {
1085
+		for _, msg := range m.Items {
1086
+			data[i] = 0x12
1087
+			i++
1088
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
1089
+			n, err := msg.MarshalTo(data[i:])
1090
+			if err != nil {
1091
+				return 0, err
1092
+			}
1093
+			i += n
1094
+		}
1095
+	}
1096
+	return i, nil
1097
+}
1098
+
1099
+func (m *PolicyList) Marshal() (data []byte, err error) {
1100
+	size := m.Size()
1101
+	data = make([]byte, size)
1102
+	n, err := m.MarshalTo(data)
1103
+	if err != nil {
1104
+		return nil, err
1105
+	}
1106
+	return data[:n], nil
1107
+}
1108
+
1109
+func (m *PolicyList) MarshalTo(data []byte) (int, error) {
1110
+	var i int
1111
+	_ = i
1112
+	var l int
1113
+	_ = l
1114
+	data[i] = 0xa
1115
+	i++
1116
+	i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
1117
+	n29, err := m.ListMeta.MarshalTo(data[i:])
1118
+	if err != nil {
1119
+		return 0, err
1120
+	}
1121
+	i += n29
1122
+	if len(m.Items) > 0 {
1123
+		for _, msg := range m.Items {
1124
+			data[i] = 0x12
1125
+			i++
1126
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
1127
+			n, err := msg.MarshalTo(data[i:])
1128
+			if err != nil {
1129
+				return 0, err
1130
+			}
1131
+			i += n
1132
+		}
1133
+	}
1134
+	return i, nil
1135
+}
1136
+
1137
+func (m *PolicyRule) Marshal() (data []byte, err error) {
1138
+	size := m.Size()
1139
+	data = make([]byte, size)
1140
+	n, err := m.MarshalTo(data)
1141
+	if err != nil {
1142
+		return nil, err
1143
+	}
1144
+	return data[:n], nil
1145
+}
1146
+
1147
+func (m *PolicyRule) MarshalTo(data []byte) (int, error) {
1148
+	var i int
1149
+	_ = i
1150
+	var l int
1151
+	_ = l
1152
+	if len(m.Verbs) > 0 {
1153
+		for _, s := range m.Verbs {
1154
+			data[i] = 0xa
1155
+			i++
1156
+			l = len(s)
1157
+			for l >= 1<<7 {
1158
+				data[i] = uint8(uint64(l)&0x7f | 0x80)
1159
+				l >>= 7
1160
+				i++
1161
+			}
1162
+			data[i] = uint8(l)
1163
+			i++
1164
+			i += copy(data[i:], s)
1165
+		}
1166
+	}
1167
+	data[i] = 0x12
1168
+	i++
1169
+	i = encodeVarintGenerated(data, i, uint64(m.AttributeRestrictions.Size()))
1170
+	n30, err := m.AttributeRestrictions.MarshalTo(data[i:])
1171
+	if err != nil {
1172
+		return 0, err
1173
+	}
1174
+	i += n30
1175
+	if len(m.APIGroups) > 0 {
1176
+		for _, s := range m.APIGroups {
1177
+			data[i] = 0x1a
1178
+			i++
1179
+			l = len(s)
1180
+			for l >= 1<<7 {
1181
+				data[i] = uint8(uint64(l)&0x7f | 0x80)
1182
+				l >>= 7
1183
+				i++
1184
+			}
1185
+			data[i] = uint8(l)
1186
+			i++
1187
+			i += copy(data[i:], s)
1188
+		}
1189
+	}
1190
+	if len(m.Resources) > 0 {
1191
+		for _, s := range m.Resources {
1192
+			data[i] = 0x22
1193
+			i++
1194
+			l = len(s)
1195
+			for l >= 1<<7 {
1196
+				data[i] = uint8(uint64(l)&0x7f | 0x80)
1197
+				l >>= 7
1198
+				i++
1199
+			}
1200
+			data[i] = uint8(l)
1201
+			i++
1202
+			i += copy(data[i:], s)
1203
+		}
1204
+	}
1205
+	if len(m.ResourceNames) > 0 {
1206
+		for _, s := range m.ResourceNames {
1207
+			data[i] = 0x2a
1208
+			i++
1209
+			l = len(s)
1210
+			for l >= 1<<7 {
1211
+				data[i] = uint8(uint64(l)&0x7f | 0x80)
1212
+				l >>= 7
1213
+				i++
1214
+			}
1215
+			data[i] = uint8(l)
1216
+			i++
1217
+			i += copy(data[i:], s)
1218
+		}
1219
+	}
1220
+	if len(m.NonResourceURLsSlice) > 0 {
1221
+		for _, s := range m.NonResourceURLsSlice {
1222
+			data[i] = 0x32
1223
+			i++
1224
+			l = len(s)
1225
+			for l >= 1<<7 {
1226
+				data[i] = uint8(uint64(l)&0x7f | 0x80)
1227
+				l >>= 7
1228
+				i++
1229
+			}
1230
+			data[i] = uint8(l)
1231
+			i++
1232
+			i += copy(data[i:], s)
1233
+		}
1234
+	}
1235
+	return i, nil
1236
+}
1237
+
1238
+func (m *ResourceAccessReview) Marshal() (data []byte, err error) {
1239
+	size := m.Size()
1240
+	data = make([]byte, size)
1241
+	n, err := m.MarshalTo(data)
1242
+	if err != nil {
1243
+		return nil, err
1244
+	}
1245
+	return data[:n], nil
1246
+}
1247
+
1248
+func (m *ResourceAccessReview) MarshalTo(data []byte) (int, error) {
1249
+	var i int
1250
+	_ = i
1251
+	var l int
1252
+	_ = l
1253
+	data[i] = 0xa
1254
+	i++
1255
+	i = encodeVarintGenerated(data, i, uint64(m.Action.Size()))
1256
+	n31, err := m.Action.MarshalTo(data[i:])
1257
+	if err != nil {
1258
+		return 0, err
1259
+	}
1260
+	i += n31
1261
+	return i, nil
1262
+}
1263
+
1264
+func (m *ResourceAccessReviewResponse) Marshal() (data []byte, err error) {
1265
+	size := m.Size()
1266
+	data = make([]byte, size)
1267
+	n, err := m.MarshalTo(data)
1268
+	if err != nil {
1269
+		return nil, err
1270
+	}
1271
+	return data[:n], nil
1272
+}
1273
+
1274
+func (m *ResourceAccessReviewResponse) MarshalTo(data []byte) (int, error) {
1275
+	var i int
1276
+	_ = i
1277
+	var l int
1278
+	_ = l
1279
+	data[i] = 0xa
1280
+	i++
1281
+	i = encodeVarintGenerated(data, i, uint64(len(m.Namespace)))
1282
+	i += copy(data[i:], m.Namespace)
1283
+	if len(m.UsersSlice) > 0 {
1284
+		for _, s := range m.UsersSlice {
1285
+			data[i] = 0x12
1286
+			i++
1287
+			l = len(s)
1288
+			for l >= 1<<7 {
1289
+				data[i] = uint8(uint64(l)&0x7f | 0x80)
1290
+				l >>= 7
1291
+				i++
1292
+			}
1293
+			data[i] = uint8(l)
1294
+			i++
1295
+			i += copy(data[i:], s)
1296
+		}
1297
+	}
1298
+	if len(m.GroupsSlice) > 0 {
1299
+		for _, s := range m.GroupsSlice {
1300
+			data[i] = 0x1a
1301
+			i++
1302
+			l = len(s)
1303
+			for l >= 1<<7 {
1304
+				data[i] = uint8(uint64(l)&0x7f | 0x80)
1305
+				l >>= 7
1306
+				i++
1307
+			}
1308
+			data[i] = uint8(l)
1309
+			i++
1310
+			i += copy(data[i:], s)
1311
+		}
1312
+	}
1313
+	data[i] = 0x22
1314
+	i++
1315
+	i = encodeVarintGenerated(data, i, uint64(len(m.EvaluationError)))
1316
+	i += copy(data[i:], m.EvaluationError)
1317
+	return i, nil
1318
+}
1319
+
1320
+func (m *Role) Marshal() (data []byte, err error) {
1321
+	size := m.Size()
1322
+	data = make([]byte, size)
1323
+	n, err := m.MarshalTo(data)
1324
+	if err != nil {
1325
+		return nil, err
1326
+	}
1327
+	return data[:n], nil
1328
+}
1329
+
1330
+func (m *Role) MarshalTo(data []byte) (int, error) {
1331
+	var i int
1332
+	_ = i
1333
+	var l int
1334
+	_ = l
1335
+	data[i] = 0xa
1336
+	i++
1337
+	i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
1338
+	n32, err := m.ObjectMeta.MarshalTo(data[i:])
1339
+	if err != nil {
1340
+		return 0, err
1341
+	}
1342
+	i += n32
1343
+	if len(m.Rules) > 0 {
1344
+		for _, msg := range m.Rules {
1345
+			data[i] = 0x12
1346
+			i++
1347
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
1348
+			n, err := msg.MarshalTo(data[i:])
1349
+			if err != nil {
1350
+				return 0, err
1351
+			}
1352
+			i += n
1353
+		}
1354
+	}
1355
+	return i, nil
1356
+}
1357
+
1358
+func (m *RoleBinding) Marshal() (data []byte, err error) {
1359
+	size := m.Size()
1360
+	data = make([]byte, size)
1361
+	n, err := m.MarshalTo(data)
1362
+	if err != nil {
1363
+		return nil, err
1364
+	}
1365
+	return data[:n], nil
1366
+}
1367
+
1368
+func (m *RoleBinding) MarshalTo(data []byte) (int, error) {
1369
+	var i int
1370
+	_ = i
1371
+	var l int
1372
+	_ = l
1373
+	data[i] = 0xa
1374
+	i++
1375
+	i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
1376
+	n33, err := m.ObjectMeta.MarshalTo(data[i:])
1377
+	if err != nil {
1378
+		return 0, err
1379
+	}
1380
+	i += n33
1381
+	if m.UserNames != nil {
1382
+		data[i] = 0x12
1383
+		i++
1384
+		i = encodeVarintGenerated(data, i, uint64(m.UserNames.Size()))
1385
+		n34, err := m.UserNames.MarshalTo(data[i:])
1386
+		if err != nil {
1387
+			return 0, err
1388
+		}
1389
+		i += n34
1390
+	}
1391
+	if m.GroupNames != nil {
1392
+		data[i] = 0x1a
1393
+		i++
1394
+		i = encodeVarintGenerated(data, i, uint64(m.GroupNames.Size()))
1395
+		n35, err := m.GroupNames.MarshalTo(data[i:])
1396
+		if err != nil {
1397
+			return 0, err
1398
+		}
1399
+		i += n35
1400
+	}
1401
+	if len(m.Subjects) > 0 {
1402
+		for _, msg := range m.Subjects {
1403
+			data[i] = 0x22
1404
+			i++
1405
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
1406
+			n, err := msg.MarshalTo(data[i:])
1407
+			if err != nil {
1408
+				return 0, err
1409
+			}
1410
+			i += n
1411
+		}
1412
+	}
1413
+	data[i] = 0x2a
1414
+	i++
1415
+	i = encodeVarintGenerated(data, i, uint64(m.RoleRef.Size()))
1416
+	n36, err := m.RoleRef.MarshalTo(data[i:])
1417
+	if err != nil {
1418
+		return 0, err
1419
+	}
1420
+	i += n36
1421
+	return i, nil
1422
+}
1423
+
1424
+func (m *RoleBindingList) Marshal() (data []byte, err error) {
1425
+	size := m.Size()
1426
+	data = make([]byte, size)
1427
+	n, err := m.MarshalTo(data)
1428
+	if err != nil {
1429
+		return nil, err
1430
+	}
1431
+	return data[:n], nil
1432
+}
1433
+
1434
+func (m *RoleBindingList) MarshalTo(data []byte) (int, error) {
1435
+	var i int
1436
+	_ = i
1437
+	var l int
1438
+	_ = l
1439
+	data[i] = 0xa
1440
+	i++
1441
+	i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
1442
+	n37, err := m.ListMeta.MarshalTo(data[i:])
1443
+	if err != nil {
1444
+		return 0, err
1445
+	}
1446
+	i += n37
1447
+	if len(m.Items) > 0 {
1448
+		for _, msg := range m.Items {
1449
+			data[i] = 0x12
1450
+			i++
1451
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
1452
+			n, err := msg.MarshalTo(data[i:])
1453
+			if err != nil {
1454
+				return 0, err
1455
+			}
1456
+			i += n
1457
+		}
1458
+	}
1459
+	return i, nil
1460
+}
1461
+
1462
+func (m *RoleList) Marshal() (data []byte, err error) {
1463
+	size := m.Size()
1464
+	data = make([]byte, size)
1465
+	n, err := m.MarshalTo(data)
1466
+	if err != nil {
1467
+		return nil, err
1468
+	}
1469
+	return data[:n], nil
1470
+}
1471
+
1472
+func (m *RoleList) MarshalTo(data []byte) (int, error) {
1473
+	var i int
1474
+	_ = i
1475
+	var l int
1476
+	_ = l
1477
+	data[i] = 0xa
1478
+	i++
1479
+	i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
1480
+	n38, err := m.ListMeta.MarshalTo(data[i:])
1481
+	if err != nil {
1482
+		return 0, err
1483
+	}
1484
+	i += n38
1485
+	if len(m.Items) > 0 {
1486
+		for _, msg := range m.Items {
1487
+			data[i] = 0x12
1488
+			i++
1489
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
1490
+			n, err := msg.MarshalTo(data[i:])
1491
+			if err != nil {
1492
+				return 0, err
1493
+			}
1494
+			i += n
1495
+		}
1496
+	}
1497
+	return i, nil
1498
+}
1499
+
1500
+func (m *SelfSubjectRulesReview) Marshal() (data []byte, err error) {
1501
+	size := m.Size()
1502
+	data = make([]byte, size)
1503
+	n, err := m.MarshalTo(data)
1504
+	if err != nil {
1505
+		return nil, err
1506
+	}
1507
+	return data[:n], nil
1508
+}
1509
+
1510
+func (m *SelfSubjectRulesReview) MarshalTo(data []byte) (int, error) {
1511
+	var i int
1512
+	_ = i
1513
+	var l int
1514
+	_ = l
1515
+	data[i] = 0xa
1516
+	i++
1517
+	i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
1518
+	n39, err := m.Spec.MarshalTo(data[i:])
1519
+	if err != nil {
1520
+		return 0, err
1521
+	}
1522
+	i += n39
1523
+	data[i] = 0x12
1524
+	i++
1525
+	i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
1526
+	n40, err := m.Status.MarshalTo(data[i:])
1527
+	if err != nil {
1528
+		return 0, err
1529
+	}
1530
+	i += n40
1531
+	return i, nil
1532
+}
1533
+
1534
+func (m *SelfSubjectRulesReviewSpec) Marshal() (data []byte, err error) {
1535
+	size := m.Size()
1536
+	data = make([]byte, size)
1537
+	n, err := m.MarshalTo(data)
1538
+	if err != nil {
1539
+		return nil, err
1540
+	}
1541
+	return data[:n], nil
1542
+}
1543
+
1544
+func (m *SelfSubjectRulesReviewSpec) MarshalTo(data []byte) (int, error) {
1545
+	var i int
1546
+	_ = i
1547
+	var l int
1548
+	_ = l
1549
+	if m.Scopes != nil {
1550
+		data[i] = 0xa
1551
+		i++
1552
+		i = encodeVarintGenerated(data, i, uint64(m.Scopes.Size()))
1553
+		n41, err := m.Scopes.MarshalTo(data[i:])
1554
+		if err != nil {
1555
+			return 0, err
1556
+		}
1557
+		i += n41
1558
+	}
1559
+	return i, nil
1560
+}
1561
+
1562
+func (m *SubjectAccessReview) Marshal() (data []byte, err error) {
1563
+	size := m.Size()
1564
+	data = make([]byte, size)
1565
+	n, err := m.MarshalTo(data)
1566
+	if err != nil {
1567
+		return nil, err
1568
+	}
1569
+	return data[:n], nil
1570
+}
1571
+
1572
+func (m *SubjectAccessReview) MarshalTo(data []byte) (int, error) {
1573
+	var i int
1574
+	_ = i
1575
+	var l int
1576
+	_ = l
1577
+	data[i] = 0xa
1578
+	i++
1579
+	i = encodeVarintGenerated(data, i, uint64(m.Action.Size()))
1580
+	n42, err := m.Action.MarshalTo(data[i:])
1581
+	if err != nil {
1582
+		return 0, err
1583
+	}
1584
+	i += n42
1585
+	data[i] = 0x12
1586
+	i++
1587
+	i = encodeVarintGenerated(data, i, uint64(len(m.User)))
1588
+	i += copy(data[i:], m.User)
1589
+	if len(m.GroupsSlice) > 0 {
1590
+		for _, s := range m.GroupsSlice {
1591
+			data[i] = 0x1a
1592
+			i++
1593
+			l = len(s)
1594
+			for l >= 1<<7 {
1595
+				data[i] = uint8(uint64(l)&0x7f | 0x80)
1596
+				l >>= 7
1597
+				i++
1598
+			}
1599
+			data[i] = uint8(l)
1600
+			i++
1601
+			i += copy(data[i:], s)
1602
+		}
1603
+	}
1604
+	if m.Scopes != nil {
1605
+		data[i] = 0x22
1606
+		i++
1607
+		i = encodeVarintGenerated(data, i, uint64(m.Scopes.Size()))
1608
+		n43, err := m.Scopes.MarshalTo(data[i:])
1609
+		if err != nil {
1610
+			return 0, err
1611
+		}
1612
+		i += n43
1613
+	}
1614
+	return i, nil
1615
+}
1616
+
1617
+func (m *SubjectAccessReviewResponse) Marshal() (data []byte, err error) {
1618
+	size := m.Size()
1619
+	data = make([]byte, size)
1620
+	n, err := m.MarshalTo(data)
1621
+	if err != nil {
1622
+		return nil, err
1623
+	}
1624
+	return data[:n], nil
1625
+}
1626
+
1627
+func (m *SubjectAccessReviewResponse) MarshalTo(data []byte) (int, error) {
1628
+	var i int
1629
+	_ = i
1630
+	var l int
1631
+	_ = l
1632
+	data[i] = 0xa
1633
+	i++
1634
+	i = encodeVarintGenerated(data, i, uint64(len(m.Namespace)))
1635
+	i += copy(data[i:], m.Namespace)
1636
+	data[i] = 0x10
1637
+	i++
1638
+	if m.Allowed {
1639
+		data[i] = 1
1640
+	} else {
1641
+		data[i] = 0
1642
+	}
1643
+	i++
1644
+	data[i] = 0x1a
1645
+	i++
1646
+	i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
1647
+	i += copy(data[i:], m.Reason)
1648
+	data[i] = 0x22
1649
+	i++
1650
+	i = encodeVarintGenerated(data, i, uint64(len(m.EvaluationError)))
1651
+	i += copy(data[i:], m.EvaluationError)
1652
+	return i, nil
1653
+}
1654
+
1655
+func (m *SubjectRulesReview) Marshal() (data []byte, err error) {
1656
+	size := m.Size()
1657
+	data = make([]byte, size)
1658
+	n, err := m.MarshalTo(data)
1659
+	if err != nil {
1660
+		return nil, err
1661
+	}
1662
+	return data[:n], nil
1663
+}
1664
+
1665
+func (m *SubjectRulesReview) MarshalTo(data []byte) (int, error) {
1666
+	var i int
1667
+	_ = i
1668
+	var l int
1669
+	_ = l
1670
+	data[i] = 0xa
1671
+	i++
1672
+	i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
1673
+	n44, err := m.Spec.MarshalTo(data[i:])
1674
+	if err != nil {
1675
+		return 0, err
1676
+	}
1677
+	i += n44
1678
+	data[i] = 0x12
1679
+	i++
1680
+	i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
1681
+	n45, err := m.Status.MarshalTo(data[i:])
1682
+	if err != nil {
1683
+		return 0, err
1684
+	}
1685
+	i += n45
1686
+	return i, nil
1687
+}
1688
+
1689
+func (m *SubjectRulesReviewSpec) Marshal() (data []byte, err error) {
1690
+	size := m.Size()
1691
+	data = make([]byte, size)
1692
+	n, err := m.MarshalTo(data)
1693
+	if err != nil {
1694
+		return nil, err
1695
+	}
1696
+	return data[:n], nil
1697
+}
1698
+
1699
+func (m *SubjectRulesReviewSpec) MarshalTo(data []byte) (int, error) {
1700
+	var i int
1701
+	_ = i
1702
+	var l int
1703
+	_ = l
1704
+	data[i] = 0xa
1705
+	i++
1706
+	i = encodeVarintGenerated(data, i, uint64(len(m.User)))
1707
+	i += copy(data[i:], m.User)
1708
+	if len(m.Groups) > 0 {
1709
+		for _, s := range m.Groups {
1710
+			data[i] = 0x12
1711
+			i++
1712
+			l = len(s)
1713
+			for l >= 1<<7 {
1714
+				data[i] = uint8(uint64(l)&0x7f | 0x80)
1715
+				l >>= 7
1716
+				i++
1717
+			}
1718
+			data[i] = uint8(l)
1719
+			i++
1720
+			i += copy(data[i:], s)
1721
+		}
1722
+	}
1723
+	if m.Scopes != nil {
1724
+		data[i] = 0x1a
1725
+		i++
1726
+		i = encodeVarintGenerated(data, i, uint64(m.Scopes.Size()))
1727
+		n46, err := m.Scopes.MarshalTo(data[i:])
1728
+		if err != nil {
1729
+			return 0, err
1730
+		}
1731
+		i += n46
1732
+	}
1733
+	return i, nil
1734
+}
1735
+
1736
+func (m *SubjectRulesReviewStatus) Marshal() (data []byte, err error) {
1737
+	size := m.Size()
1738
+	data = make([]byte, size)
1739
+	n, err := m.MarshalTo(data)
1740
+	if err != nil {
1741
+		return nil, err
1742
+	}
1743
+	return data[:n], nil
1744
+}
1745
+
1746
+func (m *SubjectRulesReviewStatus) MarshalTo(data []byte) (int, error) {
1747
+	var i int
1748
+	_ = i
1749
+	var l int
1750
+	_ = l
1751
+	if len(m.Rules) > 0 {
1752
+		for _, msg := range m.Rules {
1753
+			data[i] = 0xa
1754
+			i++
1755
+			i = encodeVarintGenerated(data, i, uint64(msg.Size()))
1756
+			n, err := msg.MarshalTo(data[i:])
1757
+			if err != nil {
1758
+				return 0, err
1759
+			}
1760
+			i += n
1761
+		}
1762
+	}
1763
+	data[i] = 0x12
1764
+	i++
1765
+	i = encodeVarintGenerated(data, i, uint64(len(m.EvaluationError)))
1766
+	i += copy(data[i:], m.EvaluationError)
1767
+	return i, nil
1768
+}
1769
+
1770
+func encodeFixed64Generated(data []byte, offset int, v uint64) int {
1771
+	data[offset] = uint8(v)
1772
+	data[offset+1] = uint8(v >> 8)
1773
+	data[offset+2] = uint8(v >> 16)
1774
+	data[offset+3] = uint8(v >> 24)
1775
+	data[offset+4] = uint8(v >> 32)
1776
+	data[offset+5] = uint8(v >> 40)
1777
+	data[offset+6] = uint8(v >> 48)
1778
+	data[offset+7] = uint8(v >> 56)
1779
+	return offset + 8
1780
+}
1781
+func encodeFixed32Generated(data []byte, offset int, v uint32) int {
1782
+	data[offset] = uint8(v)
1783
+	data[offset+1] = uint8(v >> 8)
1784
+	data[offset+2] = uint8(v >> 16)
1785
+	data[offset+3] = uint8(v >> 24)
1786
+	return offset + 4
1787
+}
1788
+func encodeVarintGenerated(data []byte, offset int, v uint64) int {
1789
+	for v >= 1<<7 {
1790
+		data[offset] = uint8(v&0x7f | 0x80)
1791
+		v >>= 7
1792
+		offset++
1793
+	}
1794
+	data[offset] = uint8(v)
1795
+	return offset + 1
1796
+}
1797
+func (m *Action) Size() (n int) {
1798
+	var l int
1799
+	_ = l
1800
+	l = len(m.Namespace)
1801
+	n += 1 + l + sovGenerated(uint64(l))
1802
+	l = len(m.Verb)
1803
+	n += 1 + l + sovGenerated(uint64(l))
1804
+	l = len(m.Group)
1805
+	n += 1 + l + sovGenerated(uint64(l))
1806
+	l = len(m.Version)
1807
+	n += 1 + l + sovGenerated(uint64(l))
1808
+	l = len(m.Resource)
1809
+	n += 1 + l + sovGenerated(uint64(l))
1810
+	l = len(m.ResourceName)
1811
+	n += 1 + l + sovGenerated(uint64(l))
1812
+	l = m.Content.Size()
1813
+	n += 1 + l + sovGenerated(uint64(l))
1814
+	return n
1815
+}
1816
+
1817
+func (m *ClusterPolicy) Size() (n int) {
1818
+	var l int
1819
+	_ = l
1820
+	l = m.ObjectMeta.Size()
1821
+	n += 1 + l + sovGenerated(uint64(l))
1822
+	l = m.LastModified.Size()
1823
+	n += 1 + l + sovGenerated(uint64(l))
1824
+	if len(m.Roles) > 0 {
1825
+		for _, e := range m.Roles {
1826
+			l = e.Size()
1827
+			n += 1 + l + sovGenerated(uint64(l))
1828
+		}
1829
+	}
1830
+	return n
1831
+}
1832
+
1833
+func (m *ClusterPolicyBinding) Size() (n int) {
1834
+	var l int
1835
+	_ = l
1836
+	l = m.ObjectMeta.Size()
1837
+	n += 1 + l + sovGenerated(uint64(l))
1838
+	l = m.LastModified.Size()
1839
+	n += 1 + l + sovGenerated(uint64(l))
1840
+	l = m.PolicyRef.Size()
1841
+	n += 1 + l + sovGenerated(uint64(l))
1842
+	if len(m.RoleBindings) > 0 {
1843
+		for _, e := range m.RoleBindings {
1844
+			l = e.Size()
1845
+			n += 1 + l + sovGenerated(uint64(l))
1846
+		}
1847
+	}
1848
+	return n
1849
+}
1850
+
1851
+func (m *ClusterPolicyBindingList) Size() (n int) {
1852
+	var l int
1853
+	_ = l
1854
+	l = m.ListMeta.Size()
1855
+	n += 1 + l + sovGenerated(uint64(l))
1856
+	if len(m.Items) > 0 {
1857
+		for _, e := range m.Items {
1858
+			l = e.Size()
1859
+			n += 1 + l + sovGenerated(uint64(l))
1860
+		}
1861
+	}
1862
+	return n
1863
+}
1864
+
1865
+func (m *ClusterPolicyList) Size() (n int) {
1866
+	var l int
1867
+	_ = l
1868
+	l = m.ListMeta.Size()
1869
+	n += 1 + l + sovGenerated(uint64(l))
1870
+	if len(m.Items) > 0 {
1871
+		for _, e := range m.Items {
1872
+			l = e.Size()
1873
+			n += 1 + l + sovGenerated(uint64(l))
1874
+		}
1875
+	}
1876
+	return n
1877
+}
1878
+
1879
+func (m *ClusterRole) Size() (n int) {
1880
+	var l int
1881
+	_ = l
1882
+	l = m.ObjectMeta.Size()
1883
+	n += 1 + l + sovGenerated(uint64(l))
1884
+	if len(m.Rules) > 0 {
1885
+		for _, e := range m.Rules {
1886
+			l = e.Size()
1887
+			n += 1 + l + sovGenerated(uint64(l))
1888
+		}
1889
+	}
1890
+	return n
1891
+}
1892
+
1893
+func (m *ClusterRoleBinding) Size() (n int) {
1894
+	var l int
1895
+	_ = l
1896
+	l = m.ObjectMeta.Size()
1897
+	n += 1 + l + sovGenerated(uint64(l))
1898
+	if m.UserNames != nil {
1899
+		l = m.UserNames.Size()
1900
+		n += 1 + l + sovGenerated(uint64(l))
1901
+	}
1902
+	if m.GroupNames != nil {
1903
+		l = m.GroupNames.Size()
1904
+		n += 1 + l + sovGenerated(uint64(l))
1905
+	}
1906
+	if len(m.Subjects) > 0 {
1907
+		for _, e := range m.Subjects {
1908
+			l = e.Size()
1909
+			n += 1 + l + sovGenerated(uint64(l))
1910
+		}
1911
+	}
1912
+	l = m.RoleRef.Size()
1913
+	n += 1 + l + sovGenerated(uint64(l))
1914
+	return n
1915
+}
1916
+
1917
+func (m *ClusterRoleBindingList) Size() (n int) {
1918
+	var l int
1919
+	_ = l
1920
+	l = m.ListMeta.Size()
1921
+	n += 1 + l + sovGenerated(uint64(l))
1922
+	if len(m.Items) > 0 {
1923
+		for _, e := range m.Items {
1924
+			l = e.Size()
1925
+			n += 1 + l + sovGenerated(uint64(l))
1926
+		}
1927
+	}
1928
+	return n
1929
+}
1930
+
1931
+func (m *ClusterRoleList) Size() (n int) {
1932
+	var l int
1933
+	_ = l
1934
+	l = m.ListMeta.Size()
1935
+	n += 1 + l + sovGenerated(uint64(l))
1936
+	if len(m.Items) > 0 {
1937
+		for _, e := range m.Items {
1938
+			l = e.Size()
1939
+			n += 1 + l + sovGenerated(uint64(l))
1940
+		}
1941
+	}
1942
+	return n
1943
+}
1944
+
1945
+func (m *IsPersonalSubjectAccessReview) Size() (n int) {
1946
+	var l int
1947
+	_ = l
1948
+	return n
1949
+}
1950
+
1951
+func (m *LocalResourceAccessReview) Size() (n int) {
1952
+	var l int
1953
+	_ = l
1954
+	l = m.Action.Size()
1955
+	n += 1 + l + sovGenerated(uint64(l))
1956
+	return n
1957
+}
1958
+
1959
+func (m *LocalSubjectAccessReview) Size() (n int) {
1960
+	var l int
1961
+	_ = l
1962
+	l = m.Action.Size()
1963
+	n += 1 + l + sovGenerated(uint64(l))
1964
+	l = len(m.User)
1965
+	n += 1 + l + sovGenerated(uint64(l))
1966
+	if len(m.GroupsSlice) > 0 {
1967
+		for _, s := range m.GroupsSlice {
1968
+			l = len(s)
1969
+			n += 1 + l + sovGenerated(uint64(l))
1970
+		}
1971
+	}
1972
+	if m.Scopes != nil {
1973
+		l = m.Scopes.Size()
1974
+		n += 1 + l + sovGenerated(uint64(l))
1975
+	}
1976
+	return n
1977
+}
1978
+
1979
+func (m *NamedClusterRole) Size() (n int) {
1980
+	var l int
1981
+	_ = l
1982
+	l = len(m.Name)
1983
+	n += 1 + l + sovGenerated(uint64(l))
1984
+	l = m.Role.Size()
1985
+	n += 1 + l + sovGenerated(uint64(l))
1986
+	return n
1987
+}
1988
+
1989
+func (m *NamedClusterRoleBinding) Size() (n int) {
1990
+	var l int
1991
+	_ = l
1992
+	l = len(m.Name)
1993
+	n += 1 + l + sovGenerated(uint64(l))
1994
+	l = m.RoleBinding.Size()
1995
+	n += 1 + l + sovGenerated(uint64(l))
1996
+	return n
1997
+}
1998
+
1999
+func (m *NamedRole) Size() (n int) {
2000
+	var l int
2001
+	_ = l
2002
+	l = len(m.Name)
2003
+	n += 1 + l + sovGenerated(uint64(l))
2004
+	l = m.Role.Size()
2005
+	n += 1 + l + sovGenerated(uint64(l))
2006
+	return n
2007
+}
2008
+
2009
+func (m *NamedRoleBinding) Size() (n int) {
2010
+	var l int
2011
+	_ = l
2012
+	l = len(m.Name)
2013
+	n += 1 + l + sovGenerated(uint64(l))
2014
+	l = m.RoleBinding.Size()
2015
+	n += 1 + l + sovGenerated(uint64(l))
2016
+	return n
2017
+}
2018
+
2019
+func (m OptionalNames) Size() (n int) {
2020
+	var l int
2021
+	_ = l
2022
+	if len(m) > 0 {
2023
+		for _, s := range m {
2024
+			l = len(s)
2025
+			n += 1 + l + sovGenerated(uint64(l))
2026
+		}
2027
+	}
2028
+	return n
2029
+}
2030
+
2031
+func (m OptionalScopes) Size() (n int) {
2032
+	var l int
2033
+	_ = l
2034
+	if len(m) > 0 {
2035
+		for _, s := range m {
2036
+			l = len(s)
2037
+			n += 1 + l + sovGenerated(uint64(l))
2038
+		}
2039
+	}
2040
+	return n
2041
+}
2042
+
2043
+func (m *Policy) Size() (n int) {
2044
+	var l int
2045
+	_ = l
2046
+	l = m.ObjectMeta.Size()
2047
+	n += 1 + l + sovGenerated(uint64(l))
2048
+	l = m.LastModified.Size()
2049
+	n += 1 + l + sovGenerated(uint64(l))
2050
+	if len(m.Roles) > 0 {
2051
+		for _, e := range m.Roles {
2052
+			l = e.Size()
2053
+			n += 1 + l + sovGenerated(uint64(l))
2054
+		}
2055
+	}
2056
+	return n
2057
+}
2058
+
2059
+func (m *PolicyBinding) Size() (n int) {
2060
+	var l int
2061
+	_ = l
2062
+	l = m.ObjectMeta.Size()
2063
+	n += 1 + l + sovGenerated(uint64(l))
2064
+	l = m.LastModified.Size()
2065
+	n += 1 + l + sovGenerated(uint64(l))
2066
+	l = m.PolicyRef.Size()
2067
+	n += 1 + l + sovGenerated(uint64(l))
2068
+	if len(m.RoleBindings) > 0 {
2069
+		for _, e := range m.RoleBindings {
2070
+			l = e.Size()
2071
+			n += 1 + l + sovGenerated(uint64(l))
2072
+		}
2073
+	}
2074
+	return n
2075
+}
2076
+
2077
+func (m *PolicyBindingList) Size() (n int) {
2078
+	var l int
2079
+	_ = l
2080
+	l = m.ListMeta.Size()
2081
+	n += 1 + l + sovGenerated(uint64(l))
2082
+	if len(m.Items) > 0 {
2083
+		for _, e := range m.Items {
2084
+			l = e.Size()
2085
+			n += 1 + l + sovGenerated(uint64(l))
2086
+		}
2087
+	}
2088
+	return n
2089
+}
2090
+
2091
+func (m *PolicyList) Size() (n int) {
2092
+	var l int
2093
+	_ = l
2094
+	l = m.ListMeta.Size()
2095
+	n += 1 + l + sovGenerated(uint64(l))
2096
+	if len(m.Items) > 0 {
2097
+		for _, e := range m.Items {
2098
+			l = e.Size()
2099
+			n += 1 + l + sovGenerated(uint64(l))
2100
+		}
2101
+	}
2102
+	return n
2103
+}
2104
+
2105
+func (m *PolicyRule) Size() (n int) {
2106
+	var l int
2107
+	_ = l
2108
+	if len(m.Verbs) > 0 {
2109
+		for _, s := range m.Verbs {
2110
+			l = len(s)
2111
+			n += 1 + l + sovGenerated(uint64(l))
2112
+		}
2113
+	}
2114
+	l = m.AttributeRestrictions.Size()
2115
+	n += 1 + l + sovGenerated(uint64(l))
2116
+	if len(m.APIGroups) > 0 {
2117
+		for _, s := range m.APIGroups {
2118
+			l = len(s)
2119
+			n += 1 + l + sovGenerated(uint64(l))
2120
+		}
2121
+	}
2122
+	if len(m.Resources) > 0 {
2123
+		for _, s := range m.Resources {
2124
+			l = len(s)
2125
+			n += 1 + l + sovGenerated(uint64(l))
2126
+		}
2127
+	}
2128
+	if len(m.ResourceNames) > 0 {
2129
+		for _, s := range m.ResourceNames {
2130
+			l = len(s)
2131
+			n += 1 + l + sovGenerated(uint64(l))
2132
+		}
2133
+	}
2134
+	if len(m.NonResourceURLsSlice) > 0 {
2135
+		for _, s := range m.NonResourceURLsSlice {
2136
+			l = len(s)
2137
+			n += 1 + l + sovGenerated(uint64(l))
2138
+		}
2139
+	}
2140
+	return n
2141
+}
2142
+
2143
+func (m *ResourceAccessReview) Size() (n int) {
2144
+	var l int
2145
+	_ = l
2146
+	l = m.Action.Size()
2147
+	n += 1 + l + sovGenerated(uint64(l))
2148
+	return n
2149
+}
2150
+
2151
+func (m *ResourceAccessReviewResponse) Size() (n int) {
2152
+	var l int
2153
+	_ = l
2154
+	l = len(m.Namespace)
2155
+	n += 1 + l + sovGenerated(uint64(l))
2156
+	if len(m.UsersSlice) > 0 {
2157
+		for _, s := range m.UsersSlice {
2158
+			l = len(s)
2159
+			n += 1 + l + sovGenerated(uint64(l))
2160
+		}
2161
+	}
2162
+	if len(m.GroupsSlice) > 0 {
2163
+		for _, s := range m.GroupsSlice {
2164
+			l = len(s)
2165
+			n += 1 + l + sovGenerated(uint64(l))
2166
+		}
2167
+	}
2168
+	l = len(m.EvaluationError)
2169
+	n += 1 + l + sovGenerated(uint64(l))
2170
+	return n
2171
+}
2172
+
2173
+func (m *Role) Size() (n int) {
2174
+	var l int
2175
+	_ = l
2176
+	l = m.ObjectMeta.Size()
2177
+	n += 1 + l + sovGenerated(uint64(l))
2178
+	if len(m.Rules) > 0 {
2179
+		for _, e := range m.Rules {
2180
+			l = e.Size()
2181
+			n += 1 + l + sovGenerated(uint64(l))
2182
+		}
2183
+	}
2184
+	return n
2185
+}
2186
+
2187
+func (m *RoleBinding) Size() (n int) {
2188
+	var l int
2189
+	_ = l
2190
+	l = m.ObjectMeta.Size()
2191
+	n += 1 + l + sovGenerated(uint64(l))
2192
+	if m.UserNames != nil {
2193
+		l = m.UserNames.Size()
2194
+		n += 1 + l + sovGenerated(uint64(l))
2195
+	}
2196
+	if m.GroupNames != nil {
2197
+		l = m.GroupNames.Size()
2198
+		n += 1 + l + sovGenerated(uint64(l))
2199
+	}
2200
+	if len(m.Subjects) > 0 {
2201
+		for _, e := range m.Subjects {
2202
+			l = e.Size()
2203
+			n += 1 + l + sovGenerated(uint64(l))
2204
+		}
2205
+	}
2206
+	l = m.RoleRef.Size()
2207
+	n += 1 + l + sovGenerated(uint64(l))
2208
+	return n
2209
+}
2210
+
2211
+func (m *RoleBindingList) Size() (n int) {
2212
+	var l int
2213
+	_ = l
2214
+	l = m.ListMeta.Size()
2215
+	n += 1 + l + sovGenerated(uint64(l))
2216
+	if len(m.Items) > 0 {
2217
+		for _, e := range m.Items {
2218
+			l = e.Size()
2219
+			n += 1 + l + sovGenerated(uint64(l))
2220
+		}
2221
+	}
2222
+	return n
2223
+}
2224
+
2225
+func (m *RoleList) Size() (n int) {
2226
+	var l int
2227
+	_ = l
2228
+	l = m.ListMeta.Size()
2229
+	n += 1 + l + sovGenerated(uint64(l))
2230
+	if len(m.Items) > 0 {
2231
+		for _, e := range m.Items {
2232
+			l = e.Size()
2233
+			n += 1 + l + sovGenerated(uint64(l))
2234
+		}
2235
+	}
2236
+	return n
2237
+}
2238
+
2239
+func (m *SelfSubjectRulesReview) Size() (n int) {
2240
+	var l int
2241
+	_ = l
2242
+	l = m.Spec.Size()
2243
+	n += 1 + l + sovGenerated(uint64(l))
2244
+	l = m.Status.Size()
2245
+	n += 1 + l + sovGenerated(uint64(l))
2246
+	return n
2247
+}
2248
+
2249
+func (m *SelfSubjectRulesReviewSpec) Size() (n int) {
2250
+	var l int
2251
+	_ = l
2252
+	if m.Scopes != nil {
2253
+		l = m.Scopes.Size()
2254
+		n += 1 + l + sovGenerated(uint64(l))
2255
+	}
2256
+	return n
2257
+}
2258
+
2259
+func (m *SubjectAccessReview) Size() (n int) {
2260
+	var l int
2261
+	_ = l
2262
+	l = m.Action.Size()
2263
+	n += 1 + l + sovGenerated(uint64(l))
2264
+	l = len(m.User)
2265
+	n += 1 + l + sovGenerated(uint64(l))
2266
+	if len(m.GroupsSlice) > 0 {
2267
+		for _, s := range m.GroupsSlice {
2268
+			l = len(s)
2269
+			n += 1 + l + sovGenerated(uint64(l))
2270
+		}
2271
+	}
2272
+	if m.Scopes != nil {
2273
+		l = m.Scopes.Size()
2274
+		n += 1 + l + sovGenerated(uint64(l))
2275
+	}
2276
+	return n
2277
+}
2278
+
2279
+func (m *SubjectAccessReviewResponse) Size() (n int) {
2280
+	var l int
2281
+	_ = l
2282
+	l = len(m.Namespace)
2283
+	n += 1 + l + sovGenerated(uint64(l))
2284
+	n += 2
2285
+	l = len(m.Reason)
2286
+	n += 1 + l + sovGenerated(uint64(l))
2287
+	l = len(m.EvaluationError)
2288
+	n += 1 + l + sovGenerated(uint64(l))
2289
+	return n
2290
+}
2291
+
2292
+func (m *SubjectRulesReview) Size() (n int) {
2293
+	var l int
2294
+	_ = l
2295
+	l = m.Spec.Size()
2296
+	n += 1 + l + sovGenerated(uint64(l))
2297
+	l = m.Status.Size()
2298
+	n += 1 + l + sovGenerated(uint64(l))
2299
+	return n
2300
+}
2301
+
2302
+func (m *SubjectRulesReviewSpec) Size() (n int) {
2303
+	var l int
2304
+	_ = l
2305
+	l = len(m.User)
2306
+	n += 1 + l + sovGenerated(uint64(l))
2307
+	if len(m.Groups) > 0 {
2308
+		for _, s := range m.Groups {
2309
+			l = len(s)
2310
+			n += 1 + l + sovGenerated(uint64(l))
2311
+		}
2312
+	}
2313
+	if m.Scopes != nil {
2314
+		l = m.Scopes.Size()
2315
+		n += 1 + l + sovGenerated(uint64(l))
2316
+	}
2317
+	return n
2318
+}
2319
+
2320
+func (m *SubjectRulesReviewStatus) Size() (n int) {
2321
+	var l int
2322
+	_ = l
2323
+	if len(m.Rules) > 0 {
2324
+		for _, e := range m.Rules {
2325
+			l = e.Size()
2326
+			n += 1 + l + sovGenerated(uint64(l))
2327
+		}
2328
+	}
2329
+	l = len(m.EvaluationError)
2330
+	n += 1 + l + sovGenerated(uint64(l))
2331
+	return n
2332
+}
2333
+
2334
+func sovGenerated(x uint64) (n int) {
2335
+	for {
2336
+		n++
2337
+		x >>= 7
2338
+		if x == 0 {
2339
+			break
2340
+		}
2341
+	}
2342
+	return n
2343
+}
2344
+func sozGenerated(x uint64) (n int) {
2345
+	return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
2346
+}
2347
+func (this *Action) String() string {
2348
+	if this == nil {
2349
+		return "nil"
2350
+	}
2351
+	s := strings.Join([]string{`&Action{`,
2352
+		`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
2353
+		`Verb:` + fmt.Sprintf("%v", this.Verb) + `,`,
2354
+		`Group:` + fmt.Sprintf("%v", this.Group) + `,`,
2355
+		`Version:` + fmt.Sprintf("%v", this.Version) + `,`,
2356
+		`Resource:` + fmt.Sprintf("%v", this.Resource) + `,`,
2357
+		`ResourceName:` + fmt.Sprintf("%v", this.ResourceName) + `,`,
2358
+		`Content:` + strings.Replace(strings.Replace(this.Content.String(), "RawExtension", "k8s_io_kubernetes_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
2359
+		`}`,
2360
+	}, "")
2361
+	return s
2362
+}
2363
+func (this *ClusterPolicy) String() string {
2364
+	if this == nil {
2365
+		return "nil"
2366
+	}
2367
+	s := strings.Join([]string{`&ClusterPolicy{`,
2368
+		`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2369
+		`LastModified:` + strings.Replace(strings.Replace(this.LastModified.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
2370
+		`Roles:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Roles), "NamedClusterRole", "NamedClusterRole", 1), `&`, ``, 1) + `,`,
2371
+		`}`,
2372
+	}, "")
2373
+	return s
2374
+}
2375
+func (this *ClusterPolicyBinding) String() string {
2376
+	if this == nil {
2377
+		return "nil"
2378
+	}
2379
+	s := strings.Join([]string{`&ClusterPolicyBinding{`,
2380
+		`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2381
+		`LastModified:` + strings.Replace(strings.Replace(this.LastModified.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
2382
+		`PolicyRef:` + strings.Replace(strings.Replace(this.PolicyRef.String(), "ObjectReference", "k8s_io_kubernetes_pkg_api_v1.ObjectReference", 1), `&`, ``, 1) + `,`,
2383
+		`RoleBindings:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.RoleBindings), "NamedClusterRoleBinding", "NamedClusterRoleBinding", 1), `&`, ``, 1) + `,`,
2384
+		`}`,
2385
+	}, "")
2386
+	return s
2387
+}
2388
+func (this *ClusterPolicyBindingList) String() string {
2389
+	if this == nil {
2390
+		return "nil"
2391
+	}
2392
+	s := strings.Join([]string{`&ClusterPolicyBindingList{`,
2393
+		`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
2394
+		`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ClusterPolicyBinding", "ClusterPolicyBinding", 1), `&`, ``, 1) + `,`,
2395
+		`}`,
2396
+	}, "")
2397
+	return s
2398
+}
2399
+func (this *ClusterPolicyList) String() string {
2400
+	if this == nil {
2401
+		return "nil"
2402
+	}
2403
+	s := strings.Join([]string{`&ClusterPolicyList{`,
2404
+		`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
2405
+		`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ClusterPolicy", "ClusterPolicy", 1), `&`, ``, 1) + `,`,
2406
+		`}`,
2407
+	}, "")
2408
+	return s
2409
+}
2410
+func (this *ClusterRole) String() string {
2411
+	if this == nil {
2412
+		return "nil"
2413
+	}
2414
+	s := strings.Join([]string{`&ClusterRole{`,
2415
+		`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2416
+		`Rules:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Rules), "PolicyRule", "PolicyRule", 1), `&`, ``, 1) + `,`,
2417
+		`}`,
2418
+	}, "")
2419
+	return s
2420
+}
2421
+func (this *ClusterRoleBinding) String() string {
2422
+	if this == nil {
2423
+		return "nil"
2424
+	}
2425
+	s := strings.Join([]string{`&ClusterRoleBinding{`,
2426
+		`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2427
+		`UserNames:` + strings.Replace(fmt.Sprintf("%v", this.UserNames), "OptionalNames", "OptionalNames", 1) + `,`,
2428
+		`GroupNames:` + strings.Replace(fmt.Sprintf("%v", this.GroupNames), "OptionalNames", "OptionalNames", 1) + `,`,
2429
+		`Subjects:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Subjects), "ObjectReference", "k8s_io_kubernetes_pkg_api_v1.ObjectReference", 1), `&`, ``, 1) + `,`,
2430
+		`RoleRef:` + strings.Replace(strings.Replace(this.RoleRef.String(), "ObjectReference", "k8s_io_kubernetes_pkg_api_v1.ObjectReference", 1), `&`, ``, 1) + `,`,
2431
+		`}`,
2432
+	}, "")
2433
+	return s
2434
+}
2435
+func (this *ClusterRoleBindingList) String() string {
2436
+	if this == nil {
2437
+		return "nil"
2438
+	}
2439
+	s := strings.Join([]string{`&ClusterRoleBindingList{`,
2440
+		`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
2441
+		`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ClusterRoleBinding", "ClusterRoleBinding", 1), `&`, ``, 1) + `,`,
2442
+		`}`,
2443
+	}, "")
2444
+	return s
2445
+}
2446
+func (this *ClusterRoleList) String() string {
2447
+	if this == nil {
2448
+		return "nil"
2449
+	}
2450
+	s := strings.Join([]string{`&ClusterRoleList{`,
2451
+		`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
2452
+		`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ClusterRole", "ClusterRole", 1), `&`, ``, 1) + `,`,
2453
+		`}`,
2454
+	}, "")
2455
+	return s
2456
+}
2457
+func (this *IsPersonalSubjectAccessReview) String() string {
2458
+	if this == nil {
2459
+		return "nil"
2460
+	}
2461
+	s := strings.Join([]string{`&IsPersonalSubjectAccessReview{`,
2462
+		`}`,
2463
+	}, "")
2464
+	return s
2465
+}
2466
+func (this *LocalResourceAccessReview) String() string {
2467
+	if this == nil {
2468
+		return "nil"
2469
+	}
2470
+	s := strings.Join([]string{`&LocalResourceAccessReview{`,
2471
+		`Action:` + strings.Replace(strings.Replace(this.Action.String(), "Action", "Action", 1), `&`, ``, 1) + `,`,
2472
+		`}`,
2473
+	}, "")
2474
+	return s
2475
+}
2476
+func (this *LocalSubjectAccessReview) String() string {
2477
+	if this == nil {
2478
+		return "nil"
2479
+	}
2480
+	s := strings.Join([]string{`&LocalSubjectAccessReview{`,
2481
+		`Action:` + strings.Replace(strings.Replace(this.Action.String(), "Action", "Action", 1), `&`, ``, 1) + `,`,
2482
+		`User:` + fmt.Sprintf("%v", this.User) + `,`,
2483
+		`GroupsSlice:` + fmt.Sprintf("%v", this.GroupsSlice) + `,`,
2484
+		`Scopes:` + strings.Replace(fmt.Sprintf("%v", this.Scopes), "OptionalScopes", "OptionalScopes", 1) + `,`,
2485
+		`}`,
2486
+	}, "")
2487
+	return s
2488
+}
2489
+func (this *NamedClusterRole) String() string {
2490
+	if this == nil {
2491
+		return "nil"
2492
+	}
2493
+	s := strings.Join([]string{`&NamedClusterRole{`,
2494
+		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
2495
+		`Role:` + strings.Replace(strings.Replace(this.Role.String(), "ClusterRole", "ClusterRole", 1), `&`, ``, 1) + `,`,
2496
+		`}`,
2497
+	}, "")
2498
+	return s
2499
+}
2500
+func (this *NamedClusterRoleBinding) String() string {
2501
+	if this == nil {
2502
+		return "nil"
2503
+	}
2504
+	s := strings.Join([]string{`&NamedClusterRoleBinding{`,
2505
+		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
2506
+		`RoleBinding:` + strings.Replace(strings.Replace(this.RoleBinding.String(), "ClusterRoleBinding", "ClusterRoleBinding", 1), `&`, ``, 1) + `,`,
2507
+		`}`,
2508
+	}, "")
2509
+	return s
2510
+}
2511
+func (this *NamedRole) String() string {
2512
+	if this == nil {
2513
+		return "nil"
2514
+	}
2515
+	s := strings.Join([]string{`&NamedRole{`,
2516
+		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
2517
+		`Role:` + strings.Replace(strings.Replace(this.Role.String(), "Role", "Role", 1), `&`, ``, 1) + `,`,
2518
+		`}`,
2519
+	}, "")
2520
+	return s
2521
+}
2522
+func (this *NamedRoleBinding) String() string {
2523
+	if this == nil {
2524
+		return "nil"
2525
+	}
2526
+	s := strings.Join([]string{`&NamedRoleBinding{`,
2527
+		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
2528
+		`RoleBinding:` + strings.Replace(strings.Replace(this.RoleBinding.String(), "RoleBinding", "RoleBinding", 1), `&`, ``, 1) + `,`,
2529
+		`}`,
2530
+	}, "")
2531
+	return s
2532
+}
2533
+func (this *Policy) String() string {
2534
+	if this == nil {
2535
+		return "nil"
2536
+	}
2537
+	s := strings.Join([]string{`&Policy{`,
2538
+		`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2539
+		`LastModified:` + strings.Replace(strings.Replace(this.LastModified.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
2540
+		`Roles:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Roles), "NamedRole", "NamedRole", 1), `&`, ``, 1) + `,`,
2541
+		`}`,
2542
+	}, "")
2543
+	return s
2544
+}
2545
+func (this *PolicyBinding) String() string {
2546
+	if this == nil {
2547
+		return "nil"
2548
+	}
2549
+	s := strings.Join([]string{`&PolicyBinding{`,
2550
+		`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2551
+		`LastModified:` + strings.Replace(strings.Replace(this.LastModified.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`,
2552
+		`PolicyRef:` + strings.Replace(strings.Replace(this.PolicyRef.String(), "ObjectReference", "k8s_io_kubernetes_pkg_api_v1.ObjectReference", 1), `&`, ``, 1) + `,`,
2553
+		`RoleBindings:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.RoleBindings), "NamedRoleBinding", "NamedRoleBinding", 1), `&`, ``, 1) + `,`,
2554
+		`}`,
2555
+	}, "")
2556
+	return s
2557
+}
2558
+func (this *PolicyBindingList) String() string {
2559
+	if this == nil {
2560
+		return "nil"
2561
+	}
2562
+	s := strings.Join([]string{`&PolicyBindingList{`,
2563
+		`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
2564
+		`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PolicyBinding", "PolicyBinding", 1), `&`, ``, 1) + `,`,
2565
+		`}`,
2566
+	}, "")
2567
+	return s
2568
+}
2569
+func (this *PolicyList) String() string {
2570
+	if this == nil {
2571
+		return "nil"
2572
+	}
2573
+	s := strings.Join([]string{`&PolicyList{`,
2574
+		`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
2575
+		`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Policy", "Policy", 1), `&`, ``, 1) + `,`,
2576
+		`}`,
2577
+	}, "")
2578
+	return s
2579
+}
2580
+func (this *PolicyRule) String() string {
2581
+	if this == nil {
2582
+		return "nil"
2583
+	}
2584
+	s := strings.Join([]string{`&PolicyRule{`,
2585
+		`Verbs:` + fmt.Sprintf("%v", this.Verbs) + `,`,
2586
+		`AttributeRestrictions:` + strings.Replace(strings.Replace(this.AttributeRestrictions.String(), "RawExtension", "k8s_io_kubernetes_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
2587
+		`APIGroups:` + fmt.Sprintf("%v", this.APIGroups) + `,`,
2588
+		`Resources:` + fmt.Sprintf("%v", this.Resources) + `,`,
2589
+		`ResourceNames:` + fmt.Sprintf("%v", this.ResourceNames) + `,`,
2590
+		`NonResourceURLsSlice:` + fmt.Sprintf("%v", this.NonResourceURLsSlice) + `,`,
2591
+		`}`,
2592
+	}, "")
2593
+	return s
2594
+}
2595
+func (this *ResourceAccessReview) String() string {
2596
+	if this == nil {
2597
+		return "nil"
2598
+	}
2599
+	s := strings.Join([]string{`&ResourceAccessReview{`,
2600
+		`Action:` + strings.Replace(strings.Replace(this.Action.String(), "Action", "Action", 1), `&`, ``, 1) + `,`,
2601
+		`}`,
2602
+	}, "")
2603
+	return s
2604
+}
2605
+func (this *ResourceAccessReviewResponse) String() string {
2606
+	if this == nil {
2607
+		return "nil"
2608
+	}
2609
+	s := strings.Join([]string{`&ResourceAccessReviewResponse{`,
2610
+		`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
2611
+		`UsersSlice:` + fmt.Sprintf("%v", this.UsersSlice) + `,`,
2612
+		`GroupsSlice:` + fmt.Sprintf("%v", this.GroupsSlice) + `,`,
2613
+		`EvaluationError:` + fmt.Sprintf("%v", this.EvaluationError) + `,`,
2614
+		`}`,
2615
+	}, "")
2616
+	return s
2617
+}
2618
+func (this *Role) String() string {
2619
+	if this == nil {
2620
+		return "nil"
2621
+	}
2622
+	s := strings.Join([]string{`&Role{`,
2623
+		`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2624
+		`Rules:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Rules), "PolicyRule", "PolicyRule", 1), `&`, ``, 1) + `,`,
2625
+		`}`,
2626
+	}, "")
2627
+	return s
2628
+}
2629
+func (this *RoleBinding) String() string {
2630
+	if this == nil {
2631
+		return "nil"
2632
+	}
2633
+	s := strings.Join([]string{`&RoleBinding{`,
2634
+		`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
2635
+		`UserNames:` + strings.Replace(fmt.Sprintf("%v", this.UserNames), "OptionalNames", "OptionalNames", 1) + `,`,
2636
+		`GroupNames:` + strings.Replace(fmt.Sprintf("%v", this.GroupNames), "OptionalNames", "OptionalNames", 1) + `,`,
2637
+		`Subjects:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Subjects), "ObjectReference", "k8s_io_kubernetes_pkg_api_v1.ObjectReference", 1), `&`, ``, 1) + `,`,
2638
+		`RoleRef:` + strings.Replace(strings.Replace(this.RoleRef.String(), "ObjectReference", "k8s_io_kubernetes_pkg_api_v1.ObjectReference", 1), `&`, ``, 1) + `,`,
2639
+		`}`,
2640
+	}, "")
2641
+	return s
2642
+}
2643
+func (this *RoleBindingList) String() string {
2644
+	if this == nil {
2645
+		return "nil"
2646
+	}
2647
+	s := strings.Join([]string{`&RoleBindingList{`,
2648
+		`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
2649
+		`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "RoleBinding", "RoleBinding", 1), `&`, ``, 1) + `,`,
2650
+		`}`,
2651
+	}, "")
2652
+	return s
2653
+}
2654
+func (this *RoleList) String() string {
2655
+	if this == nil {
2656
+		return "nil"
2657
+	}
2658
+	s := strings.Join([]string{`&RoleList{`,
2659
+		`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_api_unversioned.ListMeta", 1), `&`, ``, 1) + `,`,
2660
+		`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Role", "Role", 1), `&`, ``, 1) + `,`,
2661
+		`}`,
2662
+	}, "")
2663
+	return s
2664
+}
2665
+func (this *SelfSubjectRulesReview) String() string {
2666
+	if this == nil {
2667
+		return "nil"
2668
+	}
2669
+	s := strings.Join([]string{`&SelfSubjectRulesReview{`,
2670
+		`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "SelfSubjectRulesReviewSpec", "SelfSubjectRulesReviewSpec", 1), `&`, ``, 1) + `,`,
2671
+		`Status:` + strings.Replace(strings.Replace(this.Status.String(), "SubjectRulesReviewStatus", "SubjectRulesReviewStatus", 1), `&`, ``, 1) + `,`,
2672
+		`}`,
2673
+	}, "")
2674
+	return s
2675
+}
2676
+func (this *SelfSubjectRulesReviewSpec) String() string {
2677
+	if this == nil {
2678
+		return "nil"
2679
+	}
2680
+	s := strings.Join([]string{`&SelfSubjectRulesReviewSpec{`,
2681
+		`Scopes:` + strings.Replace(fmt.Sprintf("%v", this.Scopes), "OptionalScopes", "OptionalScopes", 1) + `,`,
2682
+		`}`,
2683
+	}, "")
2684
+	return s
2685
+}
2686
+func (this *SubjectAccessReview) String() string {
2687
+	if this == nil {
2688
+		return "nil"
2689
+	}
2690
+	s := strings.Join([]string{`&SubjectAccessReview{`,
2691
+		`Action:` + strings.Replace(strings.Replace(this.Action.String(), "Action", "Action", 1), `&`, ``, 1) + `,`,
2692
+		`User:` + fmt.Sprintf("%v", this.User) + `,`,
2693
+		`GroupsSlice:` + fmt.Sprintf("%v", this.GroupsSlice) + `,`,
2694
+		`Scopes:` + strings.Replace(fmt.Sprintf("%v", this.Scopes), "OptionalScopes", "OptionalScopes", 1) + `,`,
2695
+		`}`,
2696
+	}, "")
2697
+	return s
2698
+}
2699
+func (this *SubjectAccessReviewResponse) String() string {
2700
+	if this == nil {
2701
+		return "nil"
2702
+	}
2703
+	s := strings.Join([]string{`&SubjectAccessReviewResponse{`,
2704
+		`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
2705
+		`Allowed:` + fmt.Sprintf("%v", this.Allowed) + `,`,
2706
+		`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
2707
+		`EvaluationError:` + fmt.Sprintf("%v", this.EvaluationError) + `,`,
2708
+		`}`,
2709
+	}, "")
2710
+	return s
2711
+}
2712
+func (this *SubjectRulesReview) String() string {
2713
+	if this == nil {
2714
+		return "nil"
2715
+	}
2716
+	s := strings.Join([]string{`&SubjectRulesReview{`,
2717
+		`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "SubjectRulesReviewSpec", "SubjectRulesReviewSpec", 1), `&`, ``, 1) + `,`,
2718
+		`Status:` + strings.Replace(strings.Replace(this.Status.String(), "SubjectRulesReviewStatus", "SubjectRulesReviewStatus", 1), `&`, ``, 1) + `,`,
2719
+		`}`,
2720
+	}, "")
2721
+	return s
2722
+}
2723
+func (this *SubjectRulesReviewSpec) String() string {
2724
+	if this == nil {
2725
+		return "nil"
2726
+	}
2727
+	s := strings.Join([]string{`&SubjectRulesReviewSpec{`,
2728
+		`User:` + fmt.Sprintf("%v", this.User) + `,`,
2729
+		`Groups:` + fmt.Sprintf("%v", this.Groups) + `,`,
2730
+		`Scopes:` + strings.Replace(fmt.Sprintf("%v", this.Scopes), "OptionalScopes", "OptionalScopes", 1) + `,`,
2731
+		`}`,
2732
+	}, "")
2733
+	return s
2734
+}
2735
+func (this *SubjectRulesReviewStatus) String() string {
2736
+	if this == nil {
2737
+		return "nil"
2738
+	}
2739
+	s := strings.Join([]string{`&SubjectRulesReviewStatus{`,
2740
+		`Rules:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Rules), "PolicyRule", "PolicyRule", 1), `&`, ``, 1) + `,`,
2741
+		`EvaluationError:` + fmt.Sprintf("%v", this.EvaluationError) + `,`,
2742
+		`}`,
2743
+	}, "")
2744
+	return s
2745
+}
2746
+func valueToStringGenerated(v interface{}) string {
2747
+	rv := reflect.ValueOf(v)
2748
+	if rv.IsNil() {
2749
+		return "nil"
2750
+	}
2751
+	pv := reflect.Indirect(rv).Interface()
2752
+	return fmt.Sprintf("*%v", pv)
2753
+}
2754
+func (m *Action) Unmarshal(data []byte) error {
2755
+	l := len(data)
2756
+	iNdEx := 0
2757
+	for iNdEx < l {
2758
+		preIndex := iNdEx
2759
+		var wire uint64
2760
+		for shift := uint(0); ; shift += 7 {
2761
+			if shift >= 64 {
2762
+				return ErrIntOverflowGenerated
2763
+			}
2764
+			if iNdEx >= l {
2765
+				return io.ErrUnexpectedEOF
2766
+			}
2767
+			b := data[iNdEx]
2768
+			iNdEx++
2769
+			wire |= (uint64(b) & 0x7F) << shift
2770
+			if b < 0x80 {
2771
+				break
2772
+			}
2773
+		}
2774
+		fieldNum := int32(wire >> 3)
2775
+		wireType := int(wire & 0x7)
2776
+		if wireType == 4 {
2777
+			return fmt.Errorf("proto: Action: wiretype end group for non-group")
2778
+		}
2779
+		if fieldNum <= 0 {
2780
+			return fmt.Errorf("proto: Action: illegal tag %d (wire type %d)", fieldNum, wire)
2781
+		}
2782
+		switch fieldNum {
2783
+		case 1:
2784
+			if wireType != 2 {
2785
+				return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
2786
+			}
2787
+			var stringLen uint64
2788
+			for shift := uint(0); ; shift += 7 {
2789
+				if shift >= 64 {
2790
+					return ErrIntOverflowGenerated
2791
+				}
2792
+				if iNdEx >= l {
2793
+					return io.ErrUnexpectedEOF
2794
+				}
2795
+				b := data[iNdEx]
2796
+				iNdEx++
2797
+				stringLen |= (uint64(b) & 0x7F) << shift
2798
+				if b < 0x80 {
2799
+					break
2800
+				}
2801
+			}
2802
+			intStringLen := int(stringLen)
2803
+			if intStringLen < 0 {
2804
+				return ErrInvalidLengthGenerated
2805
+			}
2806
+			postIndex := iNdEx + intStringLen
2807
+			if postIndex > l {
2808
+				return io.ErrUnexpectedEOF
2809
+			}
2810
+			m.Namespace = string(data[iNdEx:postIndex])
2811
+			iNdEx = postIndex
2812
+		case 2:
2813
+			if wireType != 2 {
2814
+				return fmt.Errorf("proto: wrong wireType = %d for field Verb", wireType)
2815
+			}
2816
+			var stringLen uint64
2817
+			for shift := uint(0); ; shift += 7 {
2818
+				if shift >= 64 {
2819
+					return ErrIntOverflowGenerated
2820
+				}
2821
+				if iNdEx >= l {
2822
+					return io.ErrUnexpectedEOF
2823
+				}
2824
+				b := data[iNdEx]
2825
+				iNdEx++
2826
+				stringLen |= (uint64(b) & 0x7F) << shift
2827
+				if b < 0x80 {
2828
+					break
2829
+				}
2830
+			}
2831
+			intStringLen := int(stringLen)
2832
+			if intStringLen < 0 {
2833
+				return ErrInvalidLengthGenerated
2834
+			}
2835
+			postIndex := iNdEx + intStringLen
2836
+			if postIndex > l {
2837
+				return io.ErrUnexpectedEOF
2838
+			}
2839
+			m.Verb = string(data[iNdEx:postIndex])
2840
+			iNdEx = postIndex
2841
+		case 3:
2842
+			if wireType != 2 {
2843
+				return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
2844
+			}
2845
+			var stringLen uint64
2846
+			for shift := uint(0); ; shift += 7 {
2847
+				if shift >= 64 {
2848
+					return ErrIntOverflowGenerated
2849
+				}
2850
+				if iNdEx >= l {
2851
+					return io.ErrUnexpectedEOF
2852
+				}
2853
+				b := data[iNdEx]
2854
+				iNdEx++
2855
+				stringLen |= (uint64(b) & 0x7F) << shift
2856
+				if b < 0x80 {
2857
+					break
2858
+				}
2859
+			}
2860
+			intStringLen := int(stringLen)
2861
+			if intStringLen < 0 {
2862
+				return ErrInvalidLengthGenerated
2863
+			}
2864
+			postIndex := iNdEx + intStringLen
2865
+			if postIndex > l {
2866
+				return io.ErrUnexpectedEOF
2867
+			}
2868
+			m.Group = string(data[iNdEx:postIndex])
2869
+			iNdEx = postIndex
2870
+		case 4:
2871
+			if wireType != 2 {
2872
+				return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
2873
+			}
2874
+			var stringLen uint64
2875
+			for shift := uint(0); ; shift += 7 {
2876
+				if shift >= 64 {
2877
+					return ErrIntOverflowGenerated
2878
+				}
2879
+				if iNdEx >= l {
2880
+					return io.ErrUnexpectedEOF
2881
+				}
2882
+				b := data[iNdEx]
2883
+				iNdEx++
2884
+				stringLen |= (uint64(b) & 0x7F) << shift
2885
+				if b < 0x80 {
2886
+					break
2887
+				}
2888
+			}
2889
+			intStringLen := int(stringLen)
2890
+			if intStringLen < 0 {
2891
+				return ErrInvalidLengthGenerated
2892
+			}
2893
+			postIndex := iNdEx + intStringLen
2894
+			if postIndex > l {
2895
+				return io.ErrUnexpectedEOF
2896
+			}
2897
+			m.Version = string(data[iNdEx:postIndex])
2898
+			iNdEx = postIndex
2899
+		case 5:
2900
+			if wireType != 2 {
2901
+				return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
2902
+			}
2903
+			var stringLen uint64
2904
+			for shift := uint(0); ; shift += 7 {
2905
+				if shift >= 64 {
2906
+					return ErrIntOverflowGenerated
2907
+				}
2908
+				if iNdEx >= l {
2909
+					return io.ErrUnexpectedEOF
2910
+				}
2911
+				b := data[iNdEx]
2912
+				iNdEx++
2913
+				stringLen |= (uint64(b) & 0x7F) << shift
2914
+				if b < 0x80 {
2915
+					break
2916
+				}
2917
+			}
2918
+			intStringLen := int(stringLen)
2919
+			if intStringLen < 0 {
2920
+				return ErrInvalidLengthGenerated
2921
+			}
2922
+			postIndex := iNdEx + intStringLen
2923
+			if postIndex > l {
2924
+				return io.ErrUnexpectedEOF
2925
+			}
2926
+			m.Resource = string(data[iNdEx:postIndex])
2927
+			iNdEx = postIndex
2928
+		case 6:
2929
+			if wireType != 2 {
2930
+				return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType)
2931
+			}
2932
+			var stringLen uint64
2933
+			for shift := uint(0); ; shift += 7 {
2934
+				if shift >= 64 {
2935
+					return ErrIntOverflowGenerated
2936
+				}
2937
+				if iNdEx >= l {
2938
+					return io.ErrUnexpectedEOF
2939
+				}
2940
+				b := data[iNdEx]
2941
+				iNdEx++
2942
+				stringLen |= (uint64(b) & 0x7F) << shift
2943
+				if b < 0x80 {
2944
+					break
2945
+				}
2946
+			}
2947
+			intStringLen := int(stringLen)
2948
+			if intStringLen < 0 {
2949
+				return ErrInvalidLengthGenerated
2950
+			}
2951
+			postIndex := iNdEx + intStringLen
2952
+			if postIndex > l {
2953
+				return io.ErrUnexpectedEOF
2954
+			}
2955
+			m.ResourceName = string(data[iNdEx:postIndex])
2956
+			iNdEx = postIndex
2957
+		case 7:
2958
+			if wireType != 2 {
2959
+				return fmt.Errorf("proto: wrong wireType = %d for field Content", wireType)
2960
+			}
2961
+			var msglen int
2962
+			for shift := uint(0); ; shift += 7 {
2963
+				if shift >= 64 {
2964
+					return ErrIntOverflowGenerated
2965
+				}
2966
+				if iNdEx >= l {
2967
+					return io.ErrUnexpectedEOF
2968
+				}
2969
+				b := data[iNdEx]
2970
+				iNdEx++
2971
+				msglen |= (int(b) & 0x7F) << shift
2972
+				if b < 0x80 {
2973
+					break
2974
+				}
2975
+			}
2976
+			if msglen < 0 {
2977
+				return ErrInvalidLengthGenerated
2978
+			}
2979
+			postIndex := iNdEx + msglen
2980
+			if postIndex > l {
2981
+				return io.ErrUnexpectedEOF
2982
+			}
2983
+			if err := m.Content.Unmarshal(data[iNdEx:postIndex]); err != nil {
2984
+				return err
2985
+			}
2986
+			iNdEx = postIndex
2987
+		default:
2988
+			iNdEx = preIndex
2989
+			skippy, err := skipGenerated(data[iNdEx:])
2990
+			if err != nil {
2991
+				return err
2992
+			}
2993
+			if skippy < 0 {
2994
+				return ErrInvalidLengthGenerated
2995
+			}
2996
+			if (iNdEx + skippy) > l {
2997
+				return io.ErrUnexpectedEOF
2998
+			}
2999
+			iNdEx += skippy
3000
+		}
3001
+	}
3002
+
3003
+	if iNdEx > l {
3004
+		return io.ErrUnexpectedEOF
3005
+	}
3006
+	return nil
3007
+}
3008
+func (m *ClusterPolicy) Unmarshal(data []byte) error {
3009
+	l := len(data)
3010
+	iNdEx := 0
3011
+	for iNdEx < l {
3012
+		preIndex := iNdEx
3013
+		var wire uint64
3014
+		for shift := uint(0); ; shift += 7 {
3015
+			if shift >= 64 {
3016
+				return ErrIntOverflowGenerated
3017
+			}
3018
+			if iNdEx >= l {
3019
+				return io.ErrUnexpectedEOF
3020
+			}
3021
+			b := data[iNdEx]
3022
+			iNdEx++
3023
+			wire |= (uint64(b) & 0x7F) << shift
3024
+			if b < 0x80 {
3025
+				break
3026
+			}
3027
+		}
3028
+		fieldNum := int32(wire >> 3)
3029
+		wireType := int(wire & 0x7)
3030
+		if wireType == 4 {
3031
+			return fmt.Errorf("proto: ClusterPolicy: wiretype end group for non-group")
3032
+		}
3033
+		if fieldNum <= 0 {
3034
+			return fmt.Errorf("proto: ClusterPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
3035
+		}
3036
+		switch fieldNum {
3037
+		case 1:
3038
+			if wireType != 2 {
3039
+				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
3040
+			}
3041
+			var msglen int
3042
+			for shift := uint(0); ; shift += 7 {
3043
+				if shift >= 64 {
3044
+					return ErrIntOverflowGenerated
3045
+				}
3046
+				if iNdEx >= l {
3047
+					return io.ErrUnexpectedEOF
3048
+				}
3049
+				b := data[iNdEx]
3050
+				iNdEx++
3051
+				msglen |= (int(b) & 0x7F) << shift
3052
+				if b < 0x80 {
3053
+					break
3054
+				}
3055
+			}
3056
+			if msglen < 0 {
3057
+				return ErrInvalidLengthGenerated
3058
+			}
3059
+			postIndex := iNdEx + msglen
3060
+			if postIndex > l {
3061
+				return io.ErrUnexpectedEOF
3062
+			}
3063
+			if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
3064
+				return err
3065
+			}
3066
+			iNdEx = postIndex
3067
+		case 2:
3068
+			if wireType != 2 {
3069
+				return fmt.Errorf("proto: wrong wireType = %d for field LastModified", wireType)
3070
+			}
3071
+			var msglen int
3072
+			for shift := uint(0); ; shift += 7 {
3073
+				if shift >= 64 {
3074
+					return ErrIntOverflowGenerated
3075
+				}
3076
+				if iNdEx >= l {
3077
+					return io.ErrUnexpectedEOF
3078
+				}
3079
+				b := data[iNdEx]
3080
+				iNdEx++
3081
+				msglen |= (int(b) & 0x7F) << shift
3082
+				if b < 0x80 {
3083
+					break
3084
+				}
3085
+			}
3086
+			if msglen < 0 {
3087
+				return ErrInvalidLengthGenerated
3088
+			}
3089
+			postIndex := iNdEx + msglen
3090
+			if postIndex > l {
3091
+				return io.ErrUnexpectedEOF
3092
+			}
3093
+			if err := m.LastModified.Unmarshal(data[iNdEx:postIndex]); err != nil {
3094
+				return err
3095
+			}
3096
+			iNdEx = postIndex
3097
+		case 3:
3098
+			if wireType != 2 {
3099
+				return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType)
3100
+			}
3101
+			var msglen int
3102
+			for shift := uint(0); ; shift += 7 {
3103
+				if shift >= 64 {
3104
+					return ErrIntOverflowGenerated
3105
+				}
3106
+				if iNdEx >= l {
3107
+					return io.ErrUnexpectedEOF
3108
+				}
3109
+				b := data[iNdEx]
3110
+				iNdEx++
3111
+				msglen |= (int(b) & 0x7F) << shift
3112
+				if b < 0x80 {
3113
+					break
3114
+				}
3115
+			}
3116
+			if msglen < 0 {
3117
+				return ErrInvalidLengthGenerated
3118
+			}
3119
+			postIndex := iNdEx + msglen
3120
+			if postIndex > l {
3121
+				return io.ErrUnexpectedEOF
3122
+			}
3123
+			m.Roles = append(m.Roles, NamedClusterRole{})
3124
+			if err := m.Roles[len(m.Roles)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
3125
+				return err
3126
+			}
3127
+			iNdEx = postIndex
3128
+		default:
3129
+			iNdEx = preIndex
3130
+			skippy, err := skipGenerated(data[iNdEx:])
3131
+			if err != nil {
3132
+				return err
3133
+			}
3134
+			if skippy < 0 {
3135
+				return ErrInvalidLengthGenerated
3136
+			}
3137
+			if (iNdEx + skippy) > l {
3138
+				return io.ErrUnexpectedEOF
3139
+			}
3140
+			iNdEx += skippy
3141
+		}
3142
+	}
3143
+
3144
+	if iNdEx > l {
3145
+		return io.ErrUnexpectedEOF
3146
+	}
3147
+	return nil
3148
+}
3149
+func (m *ClusterPolicyBinding) Unmarshal(data []byte) error {
3150
+	l := len(data)
3151
+	iNdEx := 0
3152
+	for iNdEx < l {
3153
+		preIndex := iNdEx
3154
+		var wire uint64
3155
+		for shift := uint(0); ; shift += 7 {
3156
+			if shift >= 64 {
3157
+				return ErrIntOverflowGenerated
3158
+			}
3159
+			if iNdEx >= l {
3160
+				return io.ErrUnexpectedEOF
3161
+			}
3162
+			b := data[iNdEx]
3163
+			iNdEx++
3164
+			wire |= (uint64(b) & 0x7F) << shift
3165
+			if b < 0x80 {
3166
+				break
3167
+			}
3168
+		}
3169
+		fieldNum := int32(wire >> 3)
3170
+		wireType := int(wire & 0x7)
3171
+		if wireType == 4 {
3172
+			return fmt.Errorf("proto: ClusterPolicyBinding: wiretype end group for non-group")
3173
+		}
3174
+		if fieldNum <= 0 {
3175
+			return fmt.Errorf("proto: ClusterPolicyBinding: illegal tag %d (wire type %d)", fieldNum, wire)
3176
+		}
3177
+		switch fieldNum {
3178
+		case 1:
3179
+			if wireType != 2 {
3180
+				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
3181
+			}
3182
+			var msglen int
3183
+			for shift := uint(0); ; shift += 7 {
3184
+				if shift >= 64 {
3185
+					return ErrIntOverflowGenerated
3186
+				}
3187
+				if iNdEx >= l {
3188
+					return io.ErrUnexpectedEOF
3189
+				}
3190
+				b := data[iNdEx]
3191
+				iNdEx++
3192
+				msglen |= (int(b) & 0x7F) << shift
3193
+				if b < 0x80 {
3194
+					break
3195
+				}
3196
+			}
3197
+			if msglen < 0 {
3198
+				return ErrInvalidLengthGenerated
3199
+			}
3200
+			postIndex := iNdEx + msglen
3201
+			if postIndex > l {
3202
+				return io.ErrUnexpectedEOF
3203
+			}
3204
+			if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
3205
+				return err
3206
+			}
3207
+			iNdEx = postIndex
3208
+		case 2:
3209
+			if wireType != 2 {
3210
+				return fmt.Errorf("proto: wrong wireType = %d for field LastModified", wireType)
3211
+			}
3212
+			var msglen int
3213
+			for shift := uint(0); ; shift += 7 {
3214
+				if shift >= 64 {
3215
+					return ErrIntOverflowGenerated
3216
+				}
3217
+				if iNdEx >= l {
3218
+					return io.ErrUnexpectedEOF
3219
+				}
3220
+				b := data[iNdEx]
3221
+				iNdEx++
3222
+				msglen |= (int(b) & 0x7F) << shift
3223
+				if b < 0x80 {
3224
+					break
3225
+				}
3226
+			}
3227
+			if msglen < 0 {
3228
+				return ErrInvalidLengthGenerated
3229
+			}
3230
+			postIndex := iNdEx + msglen
3231
+			if postIndex > l {
3232
+				return io.ErrUnexpectedEOF
3233
+			}
3234
+			if err := m.LastModified.Unmarshal(data[iNdEx:postIndex]); err != nil {
3235
+				return err
3236
+			}
3237
+			iNdEx = postIndex
3238
+		case 3:
3239
+			if wireType != 2 {
3240
+				return fmt.Errorf("proto: wrong wireType = %d for field PolicyRef", wireType)
3241
+			}
3242
+			var msglen int
3243
+			for shift := uint(0); ; shift += 7 {
3244
+				if shift >= 64 {
3245
+					return ErrIntOverflowGenerated
3246
+				}
3247
+				if iNdEx >= l {
3248
+					return io.ErrUnexpectedEOF
3249
+				}
3250
+				b := data[iNdEx]
3251
+				iNdEx++
3252
+				msglen |= (int(b) & 0x7F) << shift
3253
+				if b < 0x80 {
3254
+					break
3255
+				}
3256
+			}
3257
+			if msglen < 0 {
3258
+				return ErrInvalidLengthGenerated
3259
+			}
3260
+			postIndex := iNdEx + msglen
3261
+			if postIndex > l {
3262
+				return io.ErrUnexpectedEOF
3263
+			}
3264
+			if err := m.PolicyRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
3265
+				return err
3266
+			}
3267
+			iNdEx = postIndex
3268
+		case 4:
3269
+			if wireType != 2 {
3270
+				return fmt.Errorf("proto: wrong wireType = %d for field RoleBindings", wireType)
3271
+			}
3272
+			var msglen int
3273
+			for shift := uint(0); ; shift += 7 {
3274
+				if shift >= 64 {
3275
+					return ErrIntOverflowGenerated
3276
+				}
3277
+				if iNdEx >= l {
3278
+					return io.ErrUnexpectedEOF
3279
+				}
3280
+				b := data[iNdEx]
3281
+				iNdEx++
3282
+				msglen |= (int(b) & 0x7F) << shift
3283
+				if b < 0x80 {
3284
+					break
3285
+				}
3286
+			}
3287
+			if msglen < 0 {
3288
+				return ErrInvalidLengthGenerated
3289
+			}
3290
+			postIndex := iNdEx + msglen
3291
+			if postIndex > l {
3292
+				return io.ErrUnexpectedEOF
3293
+			}
3294
+			m.RoleBindings = append(m.RoleBindings, NamedClusterRoleBinding{})
3295
+			if err := m.RoleBindings[len(m.RoleBindings)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
3296
+				return err
3297
+			}
3298
+			iNdEx = postIndex
3299
+		default:
3300
+			iNdEx = preIndex
3301
+			skippy, err := skipGenerated(data[iNdEx:])
3302
+			if err != nil {
3303
+				return err
3304
+			}
3305
+			if skippy < 0 {
3306
+				return ErrInvalidLengthGenerated
3307
+			}
3308
+			if (iNdEx + skippy) > l {
3309
+				return io.ErrUnexpectedEOF
3310
+			}
3311
+			iNdEx += skippy
3312
+		}
3313
+	}
3314
+
3315
+	if iNdEx > l {
3316
+		return io.ErrUnexpectedEOF
3317
+	}
3318
+	return nil
3319
+}
3320
+func (m *ClusterPolicyBindingList) Unmarshal(data []byte) error {
3321
+	l := len(data)
3322
+	iNdEx := 0
3323
+	for iNdEx < l {
3324
+		preIndex := iNdEx
3325
+		var wire uint64
3326
+		for shift := uint(0); ; shift += 7 {
3327
+			if shift >= 64 {
3328
+				return ErrIntOverflowGenerated
3329
+			}
3330
+			if iNdEx >= l {
3331
+				return io.ErrUnexpectedEOF
3332
+			}
3333
+			b := data[iNdEx]
3334
+			iNdEx++
3335
+			wire |= (uint64(b) & 0x7F) << shift
3336
+			if b < 0x80 {
3337
+				break
3338
+			}
3339
+		}
3340
+		fieldNum := int32(wire >> 3)
3341
+		wireType := int(wire & 0x7)
3342
+		if wireType == 4 {
3343
+			return fmt.Errorf("proto: ClusterPolicyBindingList: wiretype end group for non-group")
3344
+		}
3345
+		if fieldNum <= 0 {
3346
+			return fmt.Errorf("proto: ClusterPolicyBindingList: illegal tag %d (wire type %d)", fieldNum, wire)
3347
+		}
3348
+		switch fieldNum {
3349
+		case 1:
3350
+			if wireType != 2 {
3351
+				return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
3352
+			}
3353
+			var msglen int
3354
+			for shift := uint(0); ; shift += 7 {
3355
+				if shift >= 64 {
3356
+					return ErrIntOverflowGenerated
3357
+				}
3358
+				if iNdEx >= l {
3359
+					return io.ErrUnexpectedEOF
3360
+				}
3361
+				b := data[iNdEx]
3362
+				iNdEx++
3363
+				msglen |= (int(b) & 0x7F) << shift
3364
+				if b < 0x80 {
3365
+					break
3366
+				}
3367
+			}
3368
+			if msglen < 0 {
3369
+				return ErrInvalidLengthGenerated
3370
+			}
3371
+			postIndex := iNdEx + msglen
3372
+			if postIndex > l {
3373
+				return io.ErrUnexpectedEOF
3374
+			}
3375
+			if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
3376
+				return err
3377
+			}
3378
+			iNdEx = postIndex
3379
+		case 2:
3380
+			if wireType != 2 {
3381
+				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
3382
+			}
3383
+			var msglen int
3384
+			for shift := uint(0); ; shift += 7 {
3385
+				if shift >= 64 {
3386
+					return ErrIntOverflowGenerated
3387
+				}
3388
+				if iNdEx >= l {
3389
+					return io.ErrUnexpectedEOF
3390
+				}
3391
+				b := data[iNdEx]
3392
+				iNdEx++
3393
+				msglen |= (int(b) & 0x7F) << shift
3394
+				if b < 0x80 {
3395
+					break
3396
+				}
3397
+			}
3398
+			if msglen < 0 {
3399
+				return ErrInvalidLengthGenerated
3400
+			}
3401
+			postIndex := iNdEx + msglen
3402
+			if postIndex > l {
3403
+				return io.ErrUnexpectedEOF
3404
+			}
3405
+			m.Items = append(m.Items, ClusterPolicyBinding{})
3406
+			if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
3407
+				return err
3408
+			}
3409
+			iNdEx = postIndex
3410
+		default:
3411
+			iNdEx = preIndex
3412
+			skippy, err := skipGenerated(data[iNdEx:])
3413
+			if err != nil {
3414
+				return err
3415
+			}
3416
+			if skippy < 0 {
3417
+				return ErrInvalidLengthGenerated
3418
+			}
3419
+			if (iNdEx + skippy) > l {
3420
+				return io.ErrUnexpectedEOF
3421
+			}
3422
+			iNdEx += skippy
3423
+		}
3424
+	}
3425
+
3426
+	if iNdEx > l {
3427
+		return io.ErrUnexpectedEOF
3428
+	}
3429
+	return nil
3430
+}
3431
+func (m *ClusterPolicyList) Unmarshal(data []byte) error {
3432
+	l := len(data)
3433
+	iNdEx := 0
3434
+	for iNdEx < l {
3435
+		preIndex := iNdEx
3436
+		var wire uint64
3437
+		for shift := uint(0); ; shift += 7 {
3438
+			if shift >= 64 {
3439
+				return ErrIntOverflowGenerated
3440
+			}
3441
+			if iNdEx >= l {
3442
+				return io.ErrUnexpectedEOF
3443
+			}
3444
+			b := data[iNdEx]
3445
+			iNdEx++
3446
+			wire |= (uint64(b) & 0x7F) << shift
3447
+			if b < 0x80 {
3448
+				break
3449
+			}
3450
+		}
3451
+		fieldNum := int32(wire >> 3)
3452
+		wireType := int(wire & 0x7)
3453
+		if wireType == 4 {
3454
+			return fmt.Errorf("proto: ClusterPolicyList: wiretype end group for non-group")
3455
+		}
3456
+		if fieldNum <= 0 {
3457
+			return fmt.Errorf("proto: ClusterPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
3458
+		}
3459
+		switch fieldNum {
3460
+		case 1:
3461
+			if wireType != 2 {
3462
+				return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
3463
+			}
3464
+			var msglen int
3465
+			for shift := uint(0); ; shift += 7 {
3466
+				if shift >= 64 {
3467
+					return ErrIntOverflowGenerated
3468
+				}
3469
+				if iNdEx >= l {
3470
+					return io.ErrUnexpectedEOF
3471
+				}
3472
+				b := data[iNdEx]
3473
+				iNdEx++
3474
+				msglen |= (int(b) & 0x7F) << shift
3475
+				if b < 0x80 {
3476
+					break
3477
+				}
3478
+			}
3479
+			if msglen < 0 {
3480
+				return ErrInvalidLengthGenerated
3481
+			}
3482
+			postIndex := iNdEx + msglen
3483
+			if postIndex > l {
3484
+				return io.ErrUnexpectedEOF
3485
+			}
3486
+			if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
3487
+				return err
3488
+			}
3489
+			iNdEx = postIndex
3490
+		case 2:
3491
+			if wireType != 2 {
3492
+				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
3493
+			}
3494
+			var msglen int
3495
+			for shift := uint(0); ; shift += 7 {
3496
+				if shift >= 64 {
3497
+					return ErrIntOverflowGenerated
3498
+				}
3499
+				if iNdEx >= l {
3500
+					return io.ErrUnexpectedEOF
3501
+				}
3502
+				b := data[iNdEx]
3503
+				iNdEx++
3504
+				msglen |= (int(b) & 0x7F) << shift
3505
+				if b < 0x80 {
3506
+					break
3507
+				}
3508
+			}
3509
+			if msglen < 0 {
3510
+				return ErrInvalidLengthGenerated
3511
+			}
3512
+			postIndex := iNdEx + msglen
3513
+			if postIndex > l {
3514
+				return io.ErrUnexpectedEOF
3515
+			}
3516
+			m.Items = append(m.Items, ClusterPolicy{})
3517
+			if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
3518
+				return err
3519
+			}
3520
+			iNdEx = postIndex
3521
+		default:
3522
+			iNdEx = preIndex
3523
+			skippy, err := skipGenerated(data[iNdEx:])
3524
+			if err != nil {
3525
+				return err
3526
+			}
3527
+			if skippy < 0 {
3528
+				return ErrInvalidLengthGenerated
3529
+			}
3530
+			if (iNdEx + skippy) > l {
3531
+				return io.ErrUnexpectedEOF
3532
+			}
3533
+			iNdEx += skippy
3534
+		}
3535
+	}
3536
+
3537
+	if iNdEx > l {
3538
+		return io.ErrUnexpectedEOF
3539
+	}
3540
+	return nil
3541
+}
3542
+func (m *ClusterRole) Unmarshal(data []byte) error {
3543
+	l := len(data)
3544
+	iNdEx := 0
3545
+	for iNdEx < l {
3546
+		preIndex := iNdEx
3547
+		var wire uint64
3548
+		for shift := uint(0); ; shift += 7 {
3549
+			if shift >= 64 {
3550
+				return ErrIntOverflowGenerated
3551
+			}
3552
+			if iNdEx >= l {
3553
+				return io.ErrUnexpectedEOF
3554
+			}
3555
+			b := data[iNdEx]
3556
+			iNdEx++
3557
+			wire |= (uint64(b) & 0x7F) << shift
3558
+			if b < 0x80 {
3559
+				break
3560
+			}
3561
+		}
3562
+		fieldNum := int32(wire >> 3)
3563
+		wireType := int(wire & 0x7)
3564
+		if wireType == 4 {
3565
+			return fmt.Errorf("proto: ClusterRole: wiretype end group for non-group")
3566
+		}
3567
+		if fieldNum <= 0 {
3568
+			return fmt.Errorf("proto: ClusterRole: illegal tag %d (wire type %d)", fieldNum, wire)
3569
+		}
3570
+		switch fieldNum {
3571
+		case 1:
3572
+			if wireType != 2 {
3573
+				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
3574
+			}
3575
+			var msglen int
3576
+			for shift := uint(0); ; shift += 7 {
3577
+				if shift >= 64 {
3578
+					return ErrIntOverflowGenerated
3579
+				}
3580
+				if iNdEx >= l {
3581
+					return io.ErrUnexpectedEOF
3582
+				}
3583
+				b := data[iNdEx]
3584
+				iNdEx++
3585
+				msglen |= (int(b) & 0x7F) << shift
3586
+				if b < 0x80 {
3587
+					break
3588
+				}
3589
+			}
3590
+			if msglen < 0 {
3591
+				return ErrInvalidLengthGenerated
3592
+			}
3593
+			postIndex := iNdEx + msglen
3594
+			if postIndex > l {
3595
+				return io.ErrUnexpectedEOF
3596
+			}
3597
+			if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
3598
+				return err
3599
+			}
3600
+			iNdEx = postIndex
3601
+		case 2:
3602
+			if wireType != 2 {
3603
+				return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType)
3604
+			}
3605
+			var msglen int
3606
+			for shift := uint(0); ; shift += 7 {
3607
+				if shift >= 64 {
3608
+					return ErrIntOverflowGenerated
3609
+				}
3610
+				if iNdEx >= l {
3611
+					return io.ErrUnexpectedEOF
3612
+				}
3613
+				b := data[iNdEx]
3614
+				iNdEx++
3615
+				msglen |= (int(b) & 0x7F) << shift
3616
+				if b < 0x80 {
3617
+					break
3618
+				}
3619
+			}
3620
+			if msglen < 0 {
3621
+				return ErrInvalidLengthGenerated
3622
+			}
3623
+			postIndex := iNdEx + msglen
3624
+			if postIndex > l {
3625
+				return io.ErrUnexpectedEOF
3626
+			}
3627
+			m.Rules = append(m.Rules, PolicyRule{})
3628
+			if err := m.Rules[len(m.Rules)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
3629
+				return err
3630
+			}
3631
+			iNdEx = postIndex
3632
+		default:
3633
+			iNdEx = preIndex
3634
+			skippy, err := skipGenerated(data[iNdEx:])
3635
+			if err != nil {
3636
+				return err
3637
+			}
3638
+			if skippy < 0 {
3639
+				return ErrInvalidLengthGenerated
3640
+			}
3641
+			if (iNdEx + skippy) > l {
3642
+				return io.ErrUnexpectedEOF
3643
+			}
3644
+			iNdEx += skippy
3645
+		}
3646
+	}
3647
+
3648
+	if iNdEx > l {
3649
+		return io.ErrUnexpectedEOF
3650
+	}
3651
+	return nil
3652
+}
3653
+func (m *ClusterRoleBinding) Unmarshal(data []byte) error {
3654
+	l := len(data)
3655
+	iNdEx := 0
3656
+	for iNdEx < l {
3657
+		preIndex := iNdEx
3658
+		var wire uint64
3659
+		for shift := uint(0); ; shift += 7 {
3660
+			if shift >= 64 {
3661
+				return ErrIntOverflowGenerated
3662
+			}
3663
+			if iNdEx >= l {
3664
+				return io.ErrUnexpectedEOF
3665
+			}
3666
+			b := data[iNdEx]
3667
+			iNdEx++
3668
+			wire |= (uint64(b) & 0x7F) << shift
3669
+			if b < 0x80 {
3670
+				break
3671
+			}
3672
+		}
3673
+		fieldNum := int32(wire >> 3)
3674
+		wireType := int(wire & 0x7)
3675
+		if wireType == 4 {
3676
+			return fmt.Errorf("proto: ClusterRoleBinding: wiretype end group for non-group")
3677
+		}
3678
+		if fieldNum <= 0 {
3679
+			return fmt.Errorf("proto: ClusterRoleBinding: illegal tag %d (wire type %d)", fieldNum, wire)
3680
+		}
3681
+		switch fieldNum {
3682
+		case 1:
3683
+			if wireType != 2 {
3684
+				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
3685
+			}
3686
+			var msglen int
3687
+			for shift := uint(0); ; shift += 7 {
3688
+				if shift >= 64 {
3689
+					return ErrIntOverflowGenerated
3690
+				}
3691
+				if iNdEx >= l {
3692
+					return io.ErrUnexpectedEOF
3693
+				}
3694
+				b := data[iNdEx]
3695
+				iNdEx++
3696
+				msglen |= (int(b) & 0x7F) << shift
3697
+				if b < 0x80 {
3698
+					break
3699
+				}
3700
+			}
3701
+			if msglen < 0 {
3702
+				return ErrInvalidLengthGenerated
3703
+			}
3704
+			postIndex := iNdEx + msglen
3705
+			if postIndex > l {
3706
+				return io.ErrUnexpectedEOF
3707
+			}
3708
+			if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
3709
+				return err
3710
+			}
3711
+			iNdEx = postIndex
3712
+		case 2:
3713
+			if wireType != 2 {
3714
+				return fmt.Errorf("proto: wrong wireType = %d for field UserNames", wireType)
3715
+			}
3716
+			var msglen int
3717
+			for shift := uint(0); ; shift += 7 {
3718
+				if shift >= 64 {
3719
+					return ErrIntOverflowGenerated
3720
+				}
3721
+				if iNdEx >= l {
3722
+					return io.ErrUnexpectedEOF
3723
+				}
3724
+				b := data[iNdEx]
3725
+				iNdEx++
3726
+				msglen |= (int(b) & 0x7F) << shift
3727
+				if b < 0x80 {
3728
+					break
3729
+				}
3730
+			}
3731
+			if msglen < 0 {
3732
+				return ErrInvalidLengthGenerated
3733
+			}
3734
+			postIndex := iNdEx + msglen
3735
+			if postIndex > l {
3736
+				return io.ErrUnexpectedEOF
3737
+			}
3738
+			if m.UserNames == nil {
3739
+				m.UserNames = OptionalNames{}
3740
+			}
3741
+			if err := m.UserNames.Unmarshal(data[iNdEx:postIndex]); err != nil {
3742
+				return err
3743
+			}
3744
+			iNdEx = postIndex
3745
+		case 3:
3746
+			if wireType != 2 {
3747
+				return fmt.Errorf("proto: wrong wireType = %d for field GroupNames", wireType)
3748
+			}
3749
+			var msglen int
3750
+			for shift := uint(0); ; shift += 7 {
3751
+				if shift >= 64 {
3752
+					return ErrIntOverflowGenerated
3753
+				}
3754
+				if iNdEx >= l {
3755
+					return io.ErrUnexpectedEOF
3756
+				}
3757
+				b := data[iNdEx]
3758
+				iNdEx++
3759
+				msglen |= (int(b) & 0x7F) << shift
3760
+				if b < 0x80 {
3761
+					break
3762
+				}
3763
+			}
3764
+			if msglen < 0 {
3765
+				return ErrInvalidLengthGenerated
3766
+			}
3767
+			postIndex := iNdEx + msglen
3768
+			if postIndex > l {
3769
+				return io.ErrUnexpectedEOF
3770
+			}
3771
+			if m.GroupNames == nil {
3772
+				m.GroupNames = OptionalNames{}
3773
+			}
3774
+			if err := m.GroupNames.Unmarshal(data[iNdEx:postIndex]); err != nil {
3775
+				return err
3776
+			}
3777
+			iNdEx = postIndex
3778
+		case 4:
3779
+			if wireType != 2 {
3780
+				return fmt.Errorf("proto: wrong wireType = %d for field Subjects", wireType)
3781
+			}
3782
+			var msglen int
3783
+			for shift := uint(0); ; shift += 7 {
3784
+				if shift >= 64 {
3785
+					return ErrIntOverflowGenerated
3786
+				}
3787
+				if iNdEx >= l {
3788
+					return io.ErrUnexpectedEOF
3789
+				}
3790
+				b := data[iNdEx]
3791
+				iNdEx++
3792
+				msglen |= (int(b) & 0x7F) << shift
3793
+				if b < 0x80 {
3794
+					break
3795
+				}
3796
+			}
3797
+			if msglen < 0 {
3798
+				return ErrInvalidLengthGenerated
3799
+			}
3800
+			postIndex := iNdEx + msglen
3801
+			if postIndex > l {
3802
+				return io.ErrUnexpectedEOF
3803
+			}
3804
+			m.Subjects = append(m.Subjects, k8s_io_kubernetes_pkg_api_v1.ObjectReference{})
3805
+			if err := m.Subjects[len(m.Subjects)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
3806
+				return err
3807
+			}
3808
+			iNdEx = postIndex
3809
+		case 5:
3810
+			if wireType != 2 {
3811
+				return fmt.Errorf("proto: wrong wireType = %d for field RoleRef", wireType)
3812
+			}
3813
+			var msglen int
3814
+			for shift := uint(0); ; shift += 7 {
3815
+				if shift >= 64 {
3816
+					return ErrIntOverflowGenerated
3817
+				}
3818
+				if iNdEx >= l {
3819
+					return io.ErrUnexpectedEOF
3820
+				}
3821
+				b := data[iNdEx]
3822
+				iNdEx++
3823
+				msglen |= (int(b) & 0x7F) << shift
3824
+				if b < 0x80 {
3825
+					break
3826
+				}
3827
+			}
3828
+			if msglen < 0 {
3829
+				return ErrInvalidLengthGenerated
3830
+			}
3831
+			postIndex := iNdEx + msglen
3832
+			if postIndex > l {
3833
+				return io.ErrUnexpectedEOF
3834
+			}
3835
+			if err := m.RoleRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
3836
+				return err
3837
+			}
3838
+			iNdEx = postIndex
3839
+		default:
3840
+			iNdEx = preIndex
3841
+			skippy, err := skipGenerated(data[iNdEx:])
3842
+			if err != nil {
3843
+				return err
3844
+			}
3845
+			if skippy < 0 {
3846
+				return ErrInvalidLengthGenerated
3847
+			}
3848
+			if (iNdEx + skippy) > l {
3849
+				return io.ErrUnexpectedEOF
3850
+			}
3851
+			iNdEx += skippy
3852
+		}
3853
+	}
3854
+
3855
+	if iNdEx > l {
3856
+		return io.ErrUnexpectedEOF
3857
+	}
3858
+	return nil
3859
+}
3860
+func (m *ClusterRoleBindingList) Unmarshal(data []byte) error {
3861
+	l := len(data)
3862
+	iNdEx := 0
3863
+	for iNdEx < l {
3864
+		preIndex := iNdEx
3865
+		var wire uint64
3866
+		for shift := uint(0); ; shift += 7 {
3867
+			if shift >= 64 {
3868
+				return ErrIntOverflowGenerated
3869
+			}
3870
+			if iNdEx >= l {
3871
+				return io.ErrUnexpectedEOF
3872
+			}
3873
+			b := data[iNdEx]
3874
+			iNdEx++
3875
+			wire |= (uint64(b) & 0x7F) << shift
3876
+			if b < 0x80 {
3877
+				break
3878
+			}
3879
+		}
3880
+		fieldNum := int32(wire >> 3)
3881
+		wireType := int(wire & 0x7)
3882
+		if wireType == 4 {
3883
+			return fmt.Errorf("proto: ClusterRoleBindingList: wiretype end group for non-group")
3884
+		}
3885
+		if fieldNum <= 0 {
3886
+			return fmt.Errorf("proto: ClusterRoleBindingList: illegal tag %d (wire type %d)", fieldNum, wire)
3887
+		}
3888
+		switch fieldNum {
3889
+		case 1:
3890
+			if wireType != 2 {
3891
+				return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
3892
+			}
3893
+			var msglen int
3894
+			for shift := uint(0); ; shift += 7 {
3895
+				if shift >= 64 {
3896
+					return ErrIntOverflowGenerated
3897
+				}
3898
+				if iNdEx >= l {
3899
+					return io.ErrUnexpectedEOF
3900
+				}
3901
+				b := data[iNdEx]
3902
+				iNdEx++
3903
+				msglen |= (int(b) & 0x7F) << shift
3904
+				if b < 0x80 {
3905
+					break
3906
+				}
3907
+			}
3908
+			if msglen < 0 {
3909
+				return ErrInvalidLengthGenerated
3910
+			}
3911
+			postIndex := iNdEx + msglen
3912
+			if postIndex > l {
3913
+				return io.ErrUnexpectedEOF
3914
+			}
3915
+			if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
3916
+				return err
3917
+			}
3918
+			iNdEx = postIndex
3919
+		case 2:
3920
+			if wireType != 2 {
3921
+				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
3922
+			}
3923
+			var msglen int
3924
+			for shift := uint(0); ; shift += 7 {
3925
+				if shift >= 64 {
3926
+					return ErrIntOverflowGenerated
3927
+				}
3928
+				if iNdEx >= l {
3929
+					return io.ErrUnexpectedEOF
3930
+				}
3931
+				b := data[iNdEx]
3932
+				iNdEx++
3933
+				msglen |= (int(b) & 0x7F) << shift
3934
+				if b < 0x80 {
3935
+					break
3936
+				}
3937
+			}
3938
+			if msglen < 0 {
3939
+				return ErrInvalidLengthGenerated
3940
+			}
3941
+			postIndex := iNdEx + msglen
3942
+			if postIndex > l {
3943
+				return io.ErrUnexpectedEOF
3944
+			}
3945
+			m.Items = append(m.Items, ClusterRoleBinding{})
3946
+			if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
3947
+				return err
3948
+			}
3949
+			iNdEx = postIndex
3950
+		default:
3951
+			iNdEx = preIndex
3952
+			skippy, err := skipGenerated(data[iNdEx:])
3953
+			if err != nil {
3954
+				return err
3955
+			}
3956
+			if skippy < 0 {
3957
+				return ErrInvalidLengthGenerated
3958
+			}
3959
+			if (iNdEx + skippy) > l {
3960
+				return io.ErrUnexpectedEOF
3961
+			}
3962
+			iNdEx += skippy
3963
+		}
3964
+	}
3965
+
3966
+	if iNdEx > l {
3967
+		return io.ErrUnexpectedEOF
3968
+	}
3969
+	return nil
3970
+}
3971
+func (m *ClusterRoleList) Unmarshal(data []byte) error {
3972
+	l := len(data)
3973
+	iNdEx := 0
3974
+	for iNdEx < l {
3975
+		preIndex := iNdEx
3976
+		var wire uint64
3977
+		for shift := uint(0); ; shift += 7 {
3978
+			if shift >= 64 {
3979
+				return ErrIntOverflowGenerated
3980
+			}
3981
+			if iNdEx >= l {
3982
+				return io.ErrUnexpectedEOF
3983
+			}
3984
+			b := data[iNdEx]
3985
+			iNdEx++
3986
+			wire |= (uint64(b) & 0x7F) << shift
3987
+			if b < 0x80 {
3988
+				break
3989
+			}
3990
+		}
3991
+		fieldNum := int32(wire >> 3)
3992
+		wireType := int(wire & 0x7)
3993
+		if wireType == 4 {
3994
+			return fmt.Errorf("proto: ClusterRoleList: wiretype end group for non-group")
3995
+		}
3996
+		if fieldNum <= 0 {
3997
+			return fmt.Errorf("proto: ClusterRoleList: illegal tag %d (wire type %d)", fieldNum, wire)
3998
+		}
3999
+		switch fieldNum {
4000
+		case 1:
4001
+			if wireType != 2 {
4002
+				return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
4003
+			}
4004
+			var msglen int
4005
+			for shift := uint(0); ; shift += 7 {
4006
+				if shift >= 64 {
4007
+					return ErrIntOverflowGenerated
4008
+				}
4009
+				if iNdEx >= l {
4010
+					return io.ErrUnexpectedEOF
4011
+				}
4012
+				b := data[iNdEx]
4013
+				iNdEx++
4014
+				msglen |= (int(b) & 0x7F) << shift
4015
+				if b < 0x80 {
4016
+					break
4017
+				}
4018
+			}
4019
+			if msglen < 0 {
4020
+				return ErrInvalidLengthGenerated
4021
+			}
4022
+			postIndex := iNdEx + msglen
4023
+			if postIndex > l {
4024
+				return io.ErrUnexpectedEOF
4025
+			}
4026
+			if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
4027
+				return err
4028
+			}
4029
+			iNdEx = postIndex
4030
+		case 2:
4031
+			if wireType != 2 {
4032
+				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
4033
+			}
4034
+			var msglen int
4035
+			for shift := uint(0); ; shift += 7 {
4036
+				if shift >= 64 {
4037
+					return ErrIntOverflowGenerated
4038
+				}
4039
+				if iNdEx >= l {
4040
+					return io.ErrUnexpectedEOF
4041
+				}
4042
+				b := data[iNdEx]
4043
+				iNdEx++
4044
+				msglen |= (int(b) & 0x7F) << shift
4045
+				if b < 0x80 {
4046
+					break
4047
+				}
4048
+			}
4049
+			if msglen < 0 {
4050
+				return ErrInvalidLengthGenerated
4051
+			}
4052
+			postIndex := iNdEx + msglen
4053
+			if postIndex > l {
4054
+				return io.ErrUnexpectedEOF
4055
+			}
4056
+			m.Items = append(m.Items, ClusterRole{})
4057
+			if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
4058
+				return err
4059
+			}
4060
+			iNdEx = postIndex
4061
+		default:
4062
+			iNdEx = preIndex
4063
+			skippy, err := skipGenerated(data[iNdEx:])
4064
+			if err != nil {
4065
+				return err
4066
+			}
4067
+			if skippy < 0 {
4068
+				return ErrInvalidLengthGenerated
4069
+			}
4070
+			if (iNdEx + skippy) > l {
4071
+				return io.ErrUnexpectedEOF
4072
+			}
4073
+			iNdEx += skippy
4074
+		}
4075
+	}
4076
+
4077
+	if iNdEx > l {
4078
+		return io.ErrUnexpectedEOF
4079
+	}
4080
+	return nil
4081
+}
4082
+func (m *IsPersonalSubjectAccessReview) Unmarshal(data []byte) error {
4083
+	l := len(data)
4084
+	iNdEx := 0
4085
+	for iNdEx < l {
4086
+		preIndex := iNdEx
4087
+		var wire uint64
4088
+		for shift := uint(0); ; shift += 7 {
4089
+			if shift >= 64 {
4090
+				return ErrIntOverflowGenerated
4091
+			}
4092
+			if iNdEx >= l {
4093
+				return io.ErrUnexpectedEOF
4094
+			}
4095
+			b := data[iNdEx]
4096
+			iNdEx++
4097
+			wire |= (uint64(b) & 0x7F) << shift
4098
+			if b < 0x80 {
4099
+				break
4100
+			}
4101
+		}
4102
+		fieldNum := int32(wire >> 3)
4103
+		wireType := int(wire & 0x7)
4104
+		if wireType == 4 {
4105
+			return fmt.Errorf("proto: IsPersonalSubjectAccessReview: wiretype end group for non-group")
4106
+		}
4107
+		if fieldNum <= 0 {
4108
+			return fmt.Errorf("proto: IsPersonalSubjectAccessReview: illegal tag %d (wire type %d)", fieldNum, wire)
4109
+		}
4110
+		switch fieldNum {
4111
+		default:
4112
+			iNdEx = preIndex
4113
+			skippy, err := skipGenerated(data[iNdEx:])
4114
+			if err != nil {
4115
+				return err
4116
+			}
4117
+			if skippy < 0 {
4118
+				return ErrInvalidLengthGenerated
4119
+			}
4120
+			if (iNdEx + skippy) > l {
4121
+				return io.ErrUnexpectedEOF
4122
+			}
4123
+			iNdEx += skippy
4124
+		}
4125
+	}
4126
+
4127
+	if iNdEx > l {
4128
+		return io.ErrUnexpectedEOF
4129
+	}
4130
+	return nil
4131
+}
4132
+func (m *LocalResourceAccessReview) Unmarshal(data []byte) error {
4133
+	l := len(data)
4134
+	iNdEx := 0
4135
+	for iNdEx < l {
4136
+		preIndex := iNdEx
4137
+		var wire uint64
4138
+		for shift := uint(0); ; shift += 7 {
4139
+			if shift >= 64 {
4140
+				return ErrIntOverflowGenerated
4141
+			}
4142
+			if iNdEx >= l {
4143
+				return io.ErrUnexpectedEOF
4144
+			}
4145
+			b := data[iNdEx]
4146
+			iNdEx++
4147
+			wire |= (uint64(b) & 0x7F) << shift
4148
+			if b < 0x80 {
4149
+				break
4150
+			}
4151
+		}
4152
+		fieldNum := int32(wire >> 3)
4153
+		wireType := int(wire & 0x7)
4154
+		if wireType == 4 {
4155
+			return fmt.Errorf("proto: LocalResourceAccessReview: wiretype end group for non-group")
4156
+		}
4157
+		if fieldNum <= 0 {
4158
+			return fmt.Errorf("proto: LocalResourceAccessReview: illegal tag %d (wire type %d)", fieldNum, wire)
4159
+		}
4160
+		switch fieldNum {
4161
+		case 1:
4162
+			if wireType != 2 {
4163
+				return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
4164
+			}
4165
+			var msglen int
4166
+			for shift := uint(0); ; shift += 7 {
4167
+				if shift >= 64 {
4168
+					return ErrIntOverflowGenerated
4169
+				}
4170
+				if iNdEx >= l {
4171
+					return io.ErrUnexpectedEOF
4172
+				}
4173
+				b := data[iNdEx]
4174
+				iNdEx++
4175
+				msglen |= (int(b) & 0x7F) << shift
4176
+				if b < 0x80 {
4177
+					break
4178
+				}
4179
+			}
4180
+			if msglen < 0 {
4181
+				return ErrInvalidLengthGenerated
4182
+			}
4183
+			postIndex := iNdEx + msglen
4184
+			if postIndex > l {
4185
+				return io.ErrUnexpectedEOF
4186
+			}
4187
+			if err := m.Action.Unmarshal(data[iNdEx:postIndex]); err != nil {
4188
+				return err
4189
+			}
4190
+			iNdEx = postIndex
4191
+		default:
4192
+			iNdEx = preIndex
4193
+			skippy, err := skipGenerated(data[iNdEx:])
4194
+			if err != nil {
4195
+				return err
4196
+			}
4197
+			if skippy < 0 {
4198
+				return ErrInvalidLengthGenerated
4199
+			}
4200
+			if (iNdEx + skippy) > l {
4201
+				return io.ErrUnexpectedEOF
4202
+			}
4203
+			iNdEx += skippy
4204
+		}
4205
+	}
4206
+
4207
+	if iNdEx > l {
4208
+		return io.ErrUnexpectedEOF
4209
+	}
4210
+	return nil
4211
+}
4212
+func (m *LocalSubjectAccessReview) Unmarshal(data []byte) error {
4213
+	l := len(data)
4214
+	iNdEx := 0
4215
+	for iNdEx < l {
4216
+		preIndex := iNdEx
4217
+		var wire uint64
4218
+		for shift := uint(0); ; shift += 7 {
4219
+			if shift >= 64 {
4220
+				return ErrIntOverflowGenerated
4221
+			}
4222
+			if iNdEx >= l {
4223
+				return io.ErrUnexpectedEOF
4224
+			}
4225
+			b := data[iNdEx]
4226
+			iNdEx++
4227
+			wire |= (uint64(b) & 0x7F) << shift
4228
+			if b < 0x80 {
4229
+				break
4230
+			}
4231
+		}
4232
+		fieldNum := int32(wire >> 3)
4233
+		wireType := int(wire & 0x7)
4234
+		if wireType == 4 {
4235
+			return fmt.Errorf("proto: LocalSubjectAccessReview: wiretype end group for non-group")
4236
+		}
4237
+		if fieldNum <= 0 {
4238
+			return fmt.Errorf("proto: LocalSubjectAccessReview: illegal tag %d (wire type %d)", fieldNum, wire)
4239
+		}
4240
+		switch fieldNum {
4241
+		case 1:
4242
+			if wireType != 2 {
4243
+				return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
4244
+			}
4245
+			var msglen int
4246
+			for shift := uint(0); ; shift += 7 {
4247
+				if shift >= 64 {
4248
+					return ErrIntOverflowGenerated
4249
+				}
4250
+				if iNdEx >= l {
4251
+					return io.ErrUnexpectedEOF
4252
+				}
4253
+				b := data[iNdEx]
4254
+				iNdEx++
4255
+				msglen |= (int(b) & 0x7F) << shift
4256
+				if b < 0x80 {
4257
+					break
4258
+				}
4259
+			}
4260
+			if msglen < 0 {
4261
+				return ErrInvalidLengthGenerated
4262
+			}
4263
+			postIndex := iNdEx + msglen
4264
+			if postIndex > l {
4265
+				return io.ErrUnexpectedEOF
4266
+			}
4267
+			if err := m.Action.Unmarshal(data[iNdEx:postIndex]); err != nil {
4268
+				return err
4269
+			}
4270
+			iNdEx = postIndex
4271
+		case 2:
4272
+			if wireType != 2 {
4273
+				return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
4274
+			}
4275
+			var stringLen uint64
4276
+			for shift := uint(0); ; shift += 7 {
4277
+				if shift >= 64 {
4278
+					return ErrIntOverflowGenerated
4279
+				}
4280
+				if iNdEx >= l {
4281
+					return io.ErrUnexpectedEOF
4282
+				}
4283
+				b := data[iNdEx]
4284
+				iNdEx++
4285
+				stringLen |= (uint64(b) & 0x7F) << shift
4286
+				if b < 0x80 {
4287
+					break
4288
+				}
4289
+			}
4290
+			intStringLen := int(stringLen)
4291
+			if intStringLen < 0 {
4292
+				return ErrInvalidLengthGenerated
4293
+			}
4294
+			postIndex := iNdEx + intStringLen
4295
+			if postIndex > l {
4296
+				return io.ErrUnexpectedEOF
4297
+			}
4298
+			m.User = string(data[iNdEx:postIndex])
4299
+			iNdEx = postIndex
4300
+		case 3:
4301
+			if wireType != 2 {
4302
+				return fmt.Errorf("proto: wrong wireType = %d for field GroupsSlice", wireType)
4303
+			}
4304
+			var stringLen uint64
4305
+			for shift := uint(0); ; shift += 7 {
4306
+				if shift >= 64 {
4307
+					return ErrIntOverflowGenerated
4308
+				}
4309
+				if iNdEx >= l {
4310
+					return io.ErrUnexpectedEOF
4311
+				}
4312
+				b := data[iNdEx]
4313
+				iNdEx++
4314
+				stringLen |= (uint64(b) & 0x7F) << shift
4315
+				if b < 0x80 {
4316
+					break
4317
+				}
4318
+			}
4319
+			intStringLen := int(stringLen)
4320
+			if intStringLen < 0 {
4321
+				return ErrInvalidLengthGenerated
4322
+			}
4323
+			postIndex := iNdEx + intStringLen
4324
+			if postIndex > l {
4325
+				return io.ErrUnexpectedEOF
4326
+			}
4327
+			m.GroupsSlice = append(m.GroupsSlice, string(data[iNdEx:postIndex]))
4328
+			iNdEx = postIndex
4329
+		case 4:
4330
+			if wireType != 2 {
4331
+				return fmt.Errorf("proto: wrong wireType = %d for field Scopes", wireType)
4332
+			}
4333
+			var msglen int
4334
+			for shift := uint(0); ; shift += 7 {
4335
+				if shift >= 64 {
4336
+					return ErrIntOverflowGenerated
4337
+				}
4338
+				if iNdEx >= l {
4339
+					return io.ErrUnexpectedEOF
4340
+				}
4341
+				b := data[iNdEx]
4342
+				iNdEx++
4343
+				msglen |= (int(b) & 0x7F) << shift
4344
+				if b < 0x80 {
4345
+					break
4346
+				}
4347
+			}
4348
+			if msglen < 0 {
4349
+				return ErrInvalidLengthGenerated
4350
+			}
4351
+			postIndex := iNdEx + msglen
4352
+			if postIndex > l {
4353
+				return io.ErrUnexpectedEOF
4354
+			}
4355
+			if m.Scopes == nil {
4356
+				m.Scopes = OptionalScopes{}
4357
+			}
4358
+			if err := m.Scopes.Unmarshal(data[iNdEx:postIndex]); err != nil {
4359
+				return err
4360
+			}
4361
+			iNdEx = postIndex
4362
+		default:
4363
+			iNdEx = preIndex
4364
+			skippy, err := skipGenerated(data[iNdEx:])
4365
+			if err != nil {
4366
+				return err
4367
+			}
4368
+			if skippy < 0 {
4369
+				return ErrInvalidLengthGenerated
4370
+			}
4371
+			if (iNdEx + skippy) > l {
4372
+				return io.ErrUnexpectedEOF
4373
+			}
4374
+			iNdEx += skippy
4375
+		}
4376
+	}
4377
+
4378
+	if iNdEx > l {
4379
+		return io.ErrUnexpectedEOF
4380
+	}
4381
+	return nil
4382
+}
4383
+func (m *NamedClusterRole) Unmarshal(data []byte) error {
4384
+	l := len(data)
4385
+	iNdEx := 0
4386
+	for iNdEx < l {
4387
+		preIndex := iNdEx
4388
+		var wire uint64
4389
+		for shift := uint(0); ; shift += 7 {
4390
+			if shift >= 64 {
4391
+				return ErrIntOverflowGenerated
4392
+			}
4393
+			if iNdEx >= l {
4394
+				return io.ErrUnexpectedEOF
4395
+			}
4396
+			b := data[iNdEx]
4397
+			iNdEx++
4398
+			wire |= (uint64(b) & 0x7F) << shift
4399
+			if b < 0x80 {
4400
+				break
4401
+			}
4402
+		}
4403
+		fieldNum := int32(wire >> 3)
4404
+		wireType := int(wire & 0x7)
4405
+		if wireType == 4 {
4406
+			return fmt.Errorf("proto: NamedClusterRole: wiretype end group for non-group")
4407
+		}
4408
+		if fieldNum <= 0 {
4409
+			return fmt.Errorf("proto: NamedClusterRole: illegal tag %d (wire type %d)", fieldNum, wire)
4410
+		}
4411
+		switch fieldNum {
4412
+		case 1:
4413
+			if wireType != 2 {
4414
+				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
4415
+			}
4416
+			var stringLen uint64
4417
+			for shift := uint(0); ; shift += 7 {
4418
+				if shift >= 64 {
4419
+					return ErrIntOverflowGenerated
4420
+				}
4421
+				if iNdEx >= l {
4422
+					return io.ErrUnexpectedEOF
4423
+				}
4424
+				b := data[iNdEx]
4425
+				iNdEx++
4426
+				stringLen |= (uint64(b) & 0x7F) << shift
4427
+				if b < 0x80 {
4428
+					break
4429
+				}
4430
+			}
4431
+			intStringLen := int(stringLen)
4432
+			if intStringLen < 0 {
4433
+				return ErrInvalidLengthGenerated
4434
+			}
4435
+			postIndex := iNdEx + intStringLen
4436
+			if postIndex > l {
4437
+				return io.ErrUnexpectedEOF
4438
+			}
4439
+			m.Name = string(data[iNdEx:postIndex])
4440
+			iNdEx = postIndex
4441
+		case 2:
4442
+			if wireType != 2 {
4443
+				return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType)
4444
+			}
4445
+			var msglen int
4446
+			for shift := uint(0); ; shift += 7 {
4447
+				if shift >= 64 {
4448
+					return ErrIntOverflowGenerated
4449
+				}
4450
+				if iNdEx >= l {
4451
+					return io.ErrUnexpectedEOF
4452
+				}
4453
+				b := data[iNdEx]
4454
+				iNdEx++
4455
+				msglen |= (int(b) & 0x7F) << shift
4456
+				if b < 0x80 {
4457
+					break
4458
+				}
4459
+			}
4460
+			if msglen < 0 {
4461
+				return ErrInvalidLengthGenerated
4462
+			}
4463
+			postIndex := iNdEx + msglen
4464
+			if postIndex > l {
4465
+				return io.ErrUnexpectedEOF
4466
+			}
4467
+			if err := m.Role.Unmarshal(data[iNdEx:postIndex]); err != nil {
4468
+				return err
4469
+			}
4470
+			iNdEx = postIndex
4471
+		default:
4472
+			iNdEx = preIndex
4473
+			skippy, err := skipGenerated(data[iNdEx:])
4474
+			if err != nil {
4475
+				return err
4476
+			}
4477
+			if skippy < 0 {
4478
+				return ErrInvalidLengthGenerated
4479
+			}
4480
+			if (iNdEx + skippy) > l {
4481
+				return io.ErrUnexpectedEOF
4482
+			}
4483
+			iNdEx += skippy
4484
+		}
4485
+	}
4486
+
4487
+	if iNdEx > l {
4488
+		return io.ErrUnexpectedEOF
4489
+	}
4490
+	return nil
4491
+}
4492
+func (m *NamedClusterRoleBinding) Unmarshal(data []byte) error {
4493
+	l := len(data)
4494
+	iNdEx := 0
4495
+	for iNdEx < l {
4496
+		preIndex := iNdEx
4497
+		var wire uint64
4498
+		for shift := uint(0); ; shift += 7 {
4499
+			if shift >= 64 {
4500
+				return ErrIntOverflowGenerated
4501
+			}
4502
+			if iNdEx >= l {
4503
+				return io.ErrUnexpectedEOF
4504
+			}
4505
+			b := data[iNdEx]
4506
+			iNdEx++
4507
+			wire |= (uint64(b) & 0x7F) << shift
4508
+			if b < 0x80 {
4509
+				break
4510
+			}
4511
+		}
4512
+		fieldNum := int32(wire >> 3)
4513
+		wireType := int(wire & 0x7)
4514
+		if wireType == 4 {
4515
+			return fmt.Errorf("proto: NamedClusterRoleBinding: wiretype end group for non-group")
4516
+		}
4517
+		if fieldNum <= 0 {
4518
+			return fmt.Errorf("proto: NamedClusterRoleBinding: illegal tag %d (wire type %d)", fieldNum, wire)
4519
+		}
4520
+		switch fieldNum {
4521
+		case 1:
4522
+			if wireType != 2 {
4523
+				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
4524
+			}
4525
+			var stringLen uint64
4526
+			for shift := uint(0); ; shift += 7 {
4527
+				if shift >= 64 {
4528
+					return ErrIntOverflowGenerated
4529
+				}
4530
+				if iNdEx >= l {
4531
+					return io.ErrUnexpectedEOF
4532
+				}
4533
+				b := data[iNdEx]
4534
+				iNdEx++
4535
+				stringLen |= (uint64(b) & 0x7F) << shift
4536
+				if b < 0x80 {
4537
+					break
4538
+				}
4539
+			}
4540
+			intStringLen := int(stringLen)
4541
+			if intStringLen < 0 {
4542
+				return ErrInvalidLengthGenerated
4543
+			}
4544
+			postIndex := iNdEx + intStringLen
4545
+			if postIndex > l {
4546
+				return io.ErrUnexpectedEOF
4547
+			}
4548
+			m.Name = string(data[iNdEx:postIndex])
4549
+			iNdEx = postIndex
4550
+		case 2:
4551
+			if wireType != 2 {
4552
+				return fmt.Errorf("proto: wrong wireType = %d for field RoleBinding", wireType)
4553
+			}
4554
+			var msglen int
4555
+			for shift := uint(0); ; shift += 7 {
4556
+				if shift >= 64 {
4557
+					return ErrIntOverflowGenerated
4558
+				}
4559
+				if iNdEx >= l {
4560
+					return io.ErrUnexpectedEOF
4561
+				}
4562
+				b := data[iNdEx]
4563
+				iNdEx++
4564
+				msglen |= (int(b) & 0x7F) << shift
4565
+				if b < 0x80 {
4566
+					break
4567
+				}
4568
+			}
4569
+			if msglen < 0 {
4570
+				return ErrInvalidLengthGenerated
4571
+			}
4572
+			postIndex := iNdEx + msglen
4573
+			if postIndex > l {
4574
+				return io.ErrUnexpectedEOF
4575
+			}
4576
+			if err := m.RoleBinding.Unmarshal(data[iNdEx:postIndex]); err != nil {
4577
+				return err
4578
+			}
4579
+			iNdEx = postIndex
4580
+		default:
4581
+			iNdEx = preIndex
4582
+			skippy, err := skipGenerated(data[iNdEx:])
4583
+			if err != nil {
4584
+				return err
4585
+			}
4586
+			if skippy < 0 {
4587
+				return ErrInvalidLengthGenerated
4588
+			}
4589
+			if (iNdEx + skippy) > l {
4590
+				return io.ErrUnexpectedEOF
4591
+			}
4592
+			iNdEx += skippy
4593
+		}
4594
+	}
4595
+
4596
+	if iNdEx > l {
4597
+		return io.ErrUnexpectedEOF
4598
+	}
4599
+	return nil
4600
+}
4601
+func (m *NamedRole) Unmarshal(data []byte) error {
4602
+	l := len(data)
4603
+	iNdEx := 0
4604
+	for iNdEx < l {
4605
+		preIndex := iNdEx
4606
+		var wire uint64
4607
+		for shift := uint(0); ; shift += 7 {
4608
+			if shift >= 64 {
4609
+				return ErrIntOverflowGenerated
4610
+			}
4611
+			if iNdEx >= l {
4612
+				return io.ErrUnexpectedEOF
4613
+			}
4614
+			b := data[iNdEx]
4615
+			iNdEx++
4616
+			wire |= (uint64(b) & 0x7F) << shift
4617
+			if b < 0x80 {
4618
+				break
4619
+			}
4620
+		}
4621
+		fieldNum := int32(wire >> 3)
4622
+		wireType := int(wire & 0x7)
4623
+		if wireType == 4 {
4624
+			return fmt.Errorf("proto: NamedRole: wiretype end group for non-group")
4625
+		}
4626
+		if fieldNum <= 0 {
4627
+			return fmt.Errorf("proto: NamedRole: illegal tag %d (wire type %d)", fieldNum, wire)
4628
+		}
4629
+		switch fieldNum {
4630
+		case 1:
4631
+			if wireType != 2 {
4632
+				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
4633
+			}
4634
+			var stringLen uint64
4635
+			for shift := uint(0); ; shift += 7 {
4636
+				if shift >= 64 {
4637
+					return ErrIntOverflowGenerated
4638
+				}
4639
+				if iNdEx >= l {
4640
+					return io.ErrUnexpectedEOF
4641
+				}
4642
+				b := data[iNdEx]
4643
+				iNdEx++
4644
+				stringLen |= (uint64(b) & 0x7F) << shift
4645
+				if b < 0x80 {
4646
+					break
4647
+				}
4648
+			}
4649
+			intStringLen := int(stringLen)
4650
+			if intStringLen < 0 {
4651
+				return ErrInvalidLengthGenerated
4652
+			}
4653
+			postIndex := iNdEx + intStringLen
4654
+			if postIndex > l {
4655
+				return io.ErrUnexpectedEOF
4656
+			}
4657
+			m.Name = string(data[iNdEx:postIndex])
4658
+			iNdEx = postIndex
4659
+		case 2:
4660
+			if wireType != 2 {
4661
+				return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType)
4662
+			}
4663
+			var msglen int
4664
+			for shift := uint(0); ; shift += 7 {
4665
+				if shift >= 64 {
4666
+					return ErrIntOverflowGenerated
4667
+				}
4668
+				if iNdEx >= l {
4669
+					return io.ErrUnexpectedEOF
4670
+				}
4671
+				b := data[iNdEx]
4672
+				iNdEx++
4673
+				msglen |= (int(b) & 0x7F) << shift
4674
+				if b < 0x80 {
4675
+					break
4676
+				}
4677
+			}
4678
+			if msglen < 0 {
4679
+				return ErrInvalidLengthGenerated
4680
+			}
4681
+			postIndex := iNdEx + msglen
4682
+			if postIndex > l {
4683
+				return io.ErrUnexpectedEOF
4684
+			}
4685
+			if err := m.Role.Unmarshal(data[iNdEx:postIndex]); err != nil {
4686
+				return err
4687
+			}
4688
+			iNdEx = postIndex
4689
+		default:
4690
+			iNdEx = preIndex
4691
+			skippy, err := skipGenerated(data[iNdEx:])
4692
+			if err != nil {
4693
+				return err
4694
+			}
4695
+			if skippy < 0 {
4696
+				return ErrInvalidLengthGenerated
4697
+			}
4698
+			if (iNdEx + skippy) > l {
4699
+				return io.ErrUnexpectedEOF
4700
+			}
4701
+			iNdEx += skippy
4702
+		}
4703
+	}
4704
+
4705
+	if iNdEx > l {
4706
+		return io.ErrUnexpectedEOF
4707
+	}
4708
+	return nil
4709
+}
4710
+func (m *NamedRoleBinding) Unmarshal(data []byte) error {
4711
+	l := len(data)
4712
+	iNdEx := 0
4713
+	for iNdEx < l {
4714
+		preIndex := iNdEx
4715
+		var wire uint64
4716
+		for shift := uint(0); ; shift += 7 {
4717
+			if shift >= 64 {
4718
+				return ErrIntOverflowGenerated
4719
+			}
4720
+			if iNdEx >= l {
4721
+				return io.ErrUnexpectedEOF
4722
+			}
4723
+			b := data[iNdEx]
4724
+			iNdEx++
4725
+			wire |= (uint64(b) & 0x7F) << shift
4726
+			if b < 0x80 {
4727
+				break
4728
+			}
4729
+		}
4730
+		fieldNum := int32(wire >> 3)
4731
+		wireType := int(wire & 0x7)
4732
+		if wireType == 4 {
4733
+			return fmt.Errorf("proto: NamedRoleBinding: wiretype end group for non-group")
4734
+		}
4735
+		if fieldNum <= 0 {
4736
+			return fmt.Errorf("proto: NamedRoleBinding: illegal tag %d (wire type %d)", fieldNum, wire)
4737
+		}
4738
+		switch fieldNum {
4739
+		case 1:
4740
+			if wireType != 2 {
4741
+				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
4742
+			}
4743
+			var stringLen uint64
4744
+			for shift := uint(0); ; shift += 7 {
4745
+				if shift >= 64 {
4746
+					return ErrIntOverflowGenerated
4747
+				}
4748
+				if iNdEx >= l {
4749
+					return io.ErrUnexpectedEOF
4750
+				}
4751
+				b := data[iNdEx]
4752
+				iNdEx++
4753
+				stringLen |= (uint64(b) & 0x7F) << shift
4754
+				if b < 0x80 {
4755
+					break
4756
+				}
4757
+			}
4758
+			intStringLen := int(stringLen)
4759
+			if intStringLen < 0 {
4760
+				return ErrInvalidLengthGenerated
4761
+			}
4762
+			postIndex := iNdEx + intStringLen
4763
+			if postIndex > l {
4764
+				return io.ErrUnexpectedEOF
4765
+			}
4766
+			m.Name = string(data[iNdEx:postIndex])
4767
+			iNdEx = postIndex
4768
+		case 2:
4769
+			if wireType != 2 {
4770
+				return fmt.Errorf("proto: wrong wireType = %d for field RoleBinding", wireType)
4771
+			}
4772
+			var msglen int
4773
+			for shift := uint(0); ; shift += 7 {
4774
+				if shift >= 64 {
4775
+					return ErrIntOverflowGenerated
4776
+				}
4777
+				if iNdEx >= l {
4778
+					return io.ErrUnexpectedEOF
4779
+				}
4780
+				b := data[iNdEx]
4781
+				iNdEx++
4782
+				msglen |= (int(b) & 0x7F) << shift
4783
+				if b < 0x80 {
4784
+					break
4785
+				}
4786
+			}
4787
+			if msglen < 0 {
4788
+				return ErrInvalidLengthGenerated
4789
+			}
4790
+			postIndex := iNdEx + msglen
4791
+			if postIndex > l {
4792
+				return io.ErrUnexpectedEOF
4793
+			}
4794
+			if err := m.RoleBinding.Unmarshal(data[iNdEx:postIndex]); err != nil {
4795
+				return err
4796
+			}
4797
+			iNdEx = postIndex
4798
+		default:
4799
+			iNdEx = preIndex
4800
+			skippy, err := skipGenerated(data[iNdEx:])
4801
+			if err != nil {
4802
+				return err
4803
+			}
4804
+			if skippy < 0 {
4805
+				return ErrInvalidLengthGenerated
4806
+			}
4807
+			if (iNdEx + skippy) > l {
4808
+				return io.ErrUnexpectedEOF
4809
+			}
4810
+			iNdEx += skippy
4811
+		}
4812
+	}
4813
+
4814
+	if iNdEx > l {
4815
+		return io.ErrUnexpectedEOF
4816
+	}
4817
+	return nil
4818
+}
4819
+func (m *OptionalNames) Unmarshal(data []byte) error {
4820
+	l := len(data)
4821
+	iNdEx := 0
4822
+	for iNdEx < l {
4823
+		preIndex := iNdEx
4824
+		var wire uint64
4825
+		for shift := uint(0); ; shift += 7 {
4826
+			if shift >= 64 {
4827
+				return ErrIntOverflowGenerated
4828
+			}
4829
+			if iNdEx >= l {
4830
+				return io.ErrUnexpectedEOF
4831
+			}
4832
+			b := data[iNdEx]
4833
+			iNdEx++
4834
+			wire |= (uint64(b) & 0x7F) << shift
4835
+			if b < 0x80 {
4836
+				break
4837
+			}
4838
+		}
4839
+		fieldNum := int32(wire >> 3)
4840
+		wireType := int(wire & 0x7)
4841
+		if wireType == 4 {
4842
+			return fmt.Errorf("proto: OptionalNames: wiretype end group for non-group")
4843
+		}
4844
+		if fieldNum <= 0 {
4845
+			return fmt.Errorf("proto: OptionalNames: illegal tag %d (wire type %d)", fieldNum, wire)
4846
+		}
4847
+		switch fieldNum {
4848
+		case 1:
4849
+			if wireType != 2 {
4850
+				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
4851
+			}
4852
+			var stringLen uint64
4853
+			for shift := uint(0); ; shift += 7 {
4854
+				if shift >= 64 {
4855
+					return ErrIntOverflowGenerated
4856
+				}
4857
+				if iNdEx >= l {
4858
+					return io.ErrUnexpectedEOF
4859
+				}
4860
+				b := data[iNdEx]
4861
+				iNdEx++
4862
+				stringLen |= (uint64(b) & 0x7F) << shift
4863
+				if b < 0x80 {
4864
+					break
4865
+				}
4866
+			}
4867
+			intStringLen := int(stringLen)
4868
+			if intStringLen < 0 {
4869
+				return ErrInvalidLengthGenerated
4870
+			}
4871
+			postIndex := iNdEx + intStringLen
4872
+			if postIndex > l {
4873
+				return io.ErrUnexpectedEOF
4874
+			}
4875
+			*m = append(*m, string(data[iNdEx:postIndex]))
4876
+			iNdEx = postIndex
4877
+		default:
4878
+			iNdEx = preIndex
4879
+			skippy, err := skipGenerated(data[iNdEx:])
4880
+			if err != nil {
4881
+				return err
4882
+			}
4883
+			if skippy < 0 {
4884
+				return ErrInvalidLengthGenerated
4885
+			}
4886
+			if (iNdEx + skippy) > l {
4887
+				return io.ErrUnexpectedEOF
4888
+			}
4889
+			iNdEx += skippy
4890
+		}
4891
+	}
4892
+
4893
+	if iNdEx > l {
4894
+		return io.ErrUnexpectedEOF
4895
+	}
4896
+	return nil
4897
+}
4898
+func (m *OptionalScopes) Unmarshal(data []byte) error {
4899
+	l := len(data)
4900
+	iNdEx := 0
4901
+	for iNdEx < l {
4902
+		preIndex := iNdEx
4903
+		var wire uint64
4904
+		for shift := uint(0); ; shift += 7 {
4905
+			if shift >= 64 {
4906
+				return ErrIntOverflowGenerated
4907
+			}
4908
+			if iNdEx >= l {
4909
+				return io.ErrUnexpectedEOF
4910
+			}
4911
+			b := data[iNdEx]
4912
+			iNdEx++
4913
+			wire |= (uint64(b) & 0x7F) << shift
4914
+			if b < 0x80 {
4915
+				break
4916
+			}
4917
+		}
4918
+		fieldNum := int32(wire >> 3)
4919
+		wireType := int(wire & 0x7)
4920
+		if wireType == 4 {
4921
+			return fmt.Errorf("proto: OptionalScopes: wiretype end group for non-group")
4922
+		}
4923
+		if fieldNum <= 0 {
4924
+			return fmt.Errorf("proto: OptionalScopes: illegal tag %d (wire type %d)", fieldNum, wire)
4925
+		}
4926
+		switch fieldNum {
4927
+		case 1:
4928
+			if wireType != 2 {
4929
+				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
4930
+			}
4931
+			var stringLen uint64
4932
+			for shift := uint(0); ; shift += 7 {
4933
+				if shift >= 64 {
4934
+					return ErrIntOverflowGenerated
4935
+				}
4936
+				if iNdEx >= l {
4937
+					return io.ErrUnexpectedEOF
4938
+				}
4939
+				b := data[iNdEx]
4940
+				iNdEx++
4941
+				stringLen |= (uint64(b) & 0x7F) << shift
4942
+				if b < 0x80 {
4943
+					break
4944
+				}
4945
+			}
4946
+			intStringLen := int(stringLen)
4947
+			if intStringLen < 0 {
4948
+				return ErrInvalidLengthGenerated
4949
+			}
4950
+			postIndex := iNdEx + intStringLen
4951
+			if postIndex > l {
4952
+				return io.ErrUnexpectedEOF
4953
+			}
4954
+			*m = append(*m, string(data[iNdEx:postIndex]))
4955
+			iNdEx = postIndex
4956
+		default:
4957
+			iNdEx = preIndex
4958
+			skippy, err := skipGenerated(data[iNdEx:])
4959
+			if err != nil {
4960
+				return err
4961
+			}
4962
+			if skippy < 0 {
4963
+				return ErrInvalidLengthGenerated
4964
+			}
4965
+			if (iNdEx + skippy) > l {
4966
+				return io.ErrUnexpectedEOF
4967
+			}
4968
+			iNdEx += skippy
4969
+		}
4970
+	}
4971
+
4972
+	if iNdEx > l {
4973
+		return io.ErrUnexpectedEOF
4974
+	}
4975
+	return nil
4976
+}
4977
+func (m *Policy) Unmarshal(data []byte) error {
4978
+	l := len(data)
4979
+	iNdEx := 0
4980
+	for iNdEx < l {
4981
+		preIndex := iNdEx
4982
+		var wire uint64
4983
+		for shift := uint(0); ; shift += 7 {
4984
+			if shift >= 64 {
4985
+				return ErrIntOverflowGenerated
4986
+			}
4987
+			if iNdEx >= l {
4988
+				return io.ErrUnexpectedEOF
4989
+			}
4990
+			b := data[iNdEx]
4991
+			iNdEx++
4992
+			wire |= (uint64(b) & 0x7F) << shift
4993
+			if b < 0x80 {
4994
+				break
4995
+			}
4996
+		}
4997
+		fieldNum := int32(wire >> 3)
4998
+		wireType := int(wire & 0x7)
4999
+		if wireType == 4 {
5000
+			return fmt.Errorf("proto: Policy: wiretype end group for non-group")
5001
+		}
5002
+		if fieldNum <= 0 {
5003
+			return fmt.Errorf("proto: Policy: illegal tag %d (wire type %d)", fieldNum, wire)
5004
+		}
5005
+		switch fieldNum {
5006
+		case 1:
5007
+			if wireType != 2 {
5008
+				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
5009
+			}
5010
+			var msglen int
5011
+			for shift := uint(0); ; shift += 7 {
5012
+				if shift >= 64 {
5013
+					return ErrIntOverflowGenerated
5014
+				}
5015
+				if iNdEx >= l {
5016
+					return io.ErrUnexpectedEOF
5017
+				}
5018
+				b := data[iNdEx]
5019
+				iNdEx++
5020
+				msglen |= (int(b) & 0x7F) << shift
5021
+				if b < 0x80 {
5022
+					break
5023
+				}
5024
+			}
5025
+			if msglen < 0 {
5026
+				return ErrInvalidLengthGenerated
5027
+			}
5028
+			postIndex := iNdEx + msglen
5029
+			if postIndex > l {
5030
+				return io.ErrUnexpectedEOF
5031
+			}
5032
+			if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
5033
+				return err
5034
+			}
5035
+			iNdEx = postIndex
5036
+		case 2:
5037
+			if wireType != 2 {
5038
+				return fmt.Errorf("proto: wrong wireType = %d for field LastModified", wireType)
5039
+			}
5040
+			var msglen int
5041
+			for shift := uint(0); ; shift += 7 {
5042
+				if shift >= 64 {
5043
+					return ErrIntOverflowGenerated
5044
+				}
5045
+				if iNdEx >= l {
5046
+					return io.ErrUnexpectedEOF
5047
+				}
5048
+				b := data[iNdEx]
5049
+				iNdEx++
5050
+				msglen |= (int(b) & 0x7F) << shift
5051
+				if b < 0x80 {
5052
+					break
5053
+				}
5054
+			}
5055
+			if msglen < 0 {
5056
+				return ErrInvalidLengthGenerated
5057
+			}
5058
+			postIndex := iNdEx + msglen
5059
+			if postIndex > l {
5060
+				return io.ErrUnexpectedEOF
5061
+			}
5062
+			if err := m.LastModified.Unmarshal(data[iNdEx:postIndex]); err != nil {
5063
+				return err
5064
+			}
5065
+			iNdEx = postIndex
5066
+		case 3:
5067
+			if wireType != 2 {
5068
+				return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType)
5069
+			}
5070
+			var msglen int
5071
+			for shift := uint(0); ; shift += 7 {
5072
+				if shift >= 64 {
5073
+					return ErrIntOverflowGenerated
5074
+				}
5075
+				if iNdEx >= l {
5076
+					return io.ErrUnexpectedEOF
5077
+				}
5078
+				b := data[iNdEx]
5079
+				iNdEx++
5080
+				msglen |= (int(b) & 0x7F) << shift
5081
+				if b < 0x80 {
5082
+					break
5083
+				}
5084
+			}
5085
+			if msglen < 0 {
5086
+				return ErrInvalidLengthGenerated
5087
+			}
5088
+			postIndex := iNdEx + msglen
5089
+			if postIndex > l {
5090
+				return io.ErrUnexpectedEOF
5091
+			}
5092
+			m.Roles = append(m.Roles, NamedRole{})
5093
+			if err := m.Roles[len(m.Roles)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
5094
+				return err
5095
+			}
5096
+			iNdEx = postIndex
5097
+		default:
5098
+			iNdEx = preIndex
5099
+			skippy, err := skipGenerated(data[iNdEx:])
5100
+			if err != nil {
5101
+				return err
5102
+			}
5103
+			if skippy < 0 {
5104
+				return ErrInvalidLengthGenerated
5105
+			}
5106
+			if (iNdEx + skippy) > l {
5107
+				return io.ErrUnexpectedEOF
5108
+			}
5109
+			iNdEx += skippy
5110
+		}
5111
+	}
5112
+
5113
+	if iNdEx > l {
5114
+		return io.ErrUnexpectedEOF
5115
+	}
5116
+	return nil
5117
+}
5118
+func (m *PolicyBinding) Unmarshal(data []byte) error {
5119
+	l := len(data)
5120
+	iNdEx := 0
5121
+	for iNdEx < l {
5122
+		preIndex := iNdEx
5123
+		var wire uint64
5124
+		for shift := uint(0); ; shift += 7 {
5125
+			if shift >= 64 {
5126
+				return ErrIntOverflowGenerated
5127
+			}
5128
+			if iNdEx >= l {
5129
+				return io.ErrUnexpectedEOF
5130
+			}
5131
+			b := data[iNdEx]
5132
+			iNdEx++
5133
+			wire |= (uint64(b) & 0x7F) << shift
5134
+			if b < 0x80 {
5135
+				break
5136
+			}
5137
+		}
5138
+		fieldNum := int32(wire >> 3)
5139
+		wireType := int(wire & 0x7)
5140
+		if wireType == 4 {
5141
+			return fmt.Errorf("proto: PolicyBinding: wiretype end group for non-group")
5142
+		}
5143
+		if fieldNum <= 0 {
5144
+			return fmt.Errorf("proto: PolicyBinding: illegal tag %d (wire type %d)", fieldNum, wire)
5145
+		}
5146
+		switch fieldNum {
5147
+		case 1:
5148
+			if wireType != 2 {
5149
+				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
5150
+			}
5151
+			var msglen int
5152
+			for shift := uint(0); ; shift += 7 {
5153
+				if shift >= 64 {
5154
+					return ErrIntOverflowGenerated
5155
+				}
5156
+				if iNdEx >= l {
5157
+					return io.ErrUnexpectedEOF
5158
+				}
5159
+				b := data[iNdEx]
5160
+				iNdEx++
5161
+				msglen |= (int(b) & 0x7F) << shift
5162
+				if b < 0x80 {
5163
+					break
5164
+				}
5165
+			}
5166
+			if msglen < 0 {
5167
+				return ErrInvalidLengthGenerated
5168
+			}
5169
+			postIndex := iNdEx + msglen
5170
+			if postIndex > l {
5171
+				return io.ErrUnexpectedEOF
5172
+			}
5173
+			if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
5174
+				return err
5175
+			}
5176
+			iNdEx = postIndex
5177
+		case 2:
5178
+			if wireType != 2 {
5179
+				return fmt.Errorf("proto: wrong wireType = %d for field LastModified", wireType)
5180
+			}
5181
+			var msglen int
5182
+			for shift := uint(0); ; shift += 7 {
5183
+				if shift >= 64 {
5184
+					return ErrIntOverflowGenerated
5185
+				}
5186
+				if iNdEx >= l {
5187
+					return io.ErrUnexpectedEOF
5188
+				}
5189
+				b := data[iNdEx]
5190
+				iNdEx++
5191
+				msglen |= (int(b) & 0x7F) << shift
5192
+				if b < 0x80 {
5193
+					break
5194
+				}
5195
+			}
5196
+			if msglen < 0 {
5197
+				return ErrInvalidLengthGenerated
5198
+			}
5199
+			postIndex := iNdEx + msglen
5200
+			if postIndex > l {
5201
+				return io.ErrUnexpectedEOF
5202
+			}
5203
+			if err := m.LastModified.Unmarshal(data[iNdEx:postIndex]); err != nil {
5204
+				return err
5205
+			}
5206
+			iNdEx = postIndex
5207
+		case 3:
5208
+			if wireType != 2 {
5209
+				return fmt.Errorf("proto: wrong wireType = %d for field PolicyRef", wireType)
5210
+			}
5211
+			var msglen int
5212
+			for shift := uint(0); ; shift += 7 {
5213
+				if shift >= 64 {
5214
+					return ErrIntOverflowGenerated
5215
+				}
5216
+				if iNdEx >= l {
5217
+					return io.ErrUnexpectedEOF
5218
+				}
5219
+				b := data[iNdEx]
5220
+				iNdEx++
5221
+				msglen |= (int(b) & 0x7F) << shift
5222
+				if b < 0x80 {
5223
+					break
5224
+				}
5225
+			}
5226
+			if msglen < 0 {
5227
+				return ErrInvalidLengthGenerated
5228
+			}
5229
+			postIndex := iNdEx + msglen
5230
+			if postIndex > l {
5231
+				return io.ErrUnexpectedEOF
5232
+			}
5233
+			if err := m.PolicyRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
5234
+				return err
5235
+			}
5236
+			iNdEx = postIndex
5237
+		case 4:
5238
+			if wireType != 2 {
5239
+				return fmt.Errorf("proto: wrong wireType = %d for field RoleBindings", wireType)
5240
+			}
5241
+			var msglen int
5242
+			for shift := uint(0); ; shift += 7 {
5243
+				if shift >= 64 {
5244
+					return ErrIntOverflowGenerated
5245
+				}
5246
+				if iNdEx >= l {
5247
+					return io.ErrUnexpectedEOF
5248
+				}
5249
+				b := data[iNdEx]
5250
+				iNdEx++
5251
+				msglen |= (int(b) & 0x7F) << shift
5252
+				if b < 0x80 {
5253
+					break
5254
+				}
5255
+			}
5256
+			if msglen < 0 {
5257
+				return ErrInvalidLengthGenerated
5258
+			}
5259
+			postIndex := iNdEx + msglen
5260
+			if postIndex > l {
5261
+				return io.ErrUnexpectedEOF
5262
+			}
5263
+			m.RoleBindings = append(m.RoleBindings, NamedRoleBinding{})
5264
+			if err := m.RoleBindings[len(m.RoleBindings)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
5265
+				return err
5266
+			}
5267
+			iNdEx = postIndex
5268
+		default:
5269
+			iNdEx = preIndex
5270
+			skippy, err := skipGenerated(data[iNdEx:])
5271
+			if err != nil {
5272
+				return err
5273
+			}
5274
+			if skippy < 0 {
5275
+				return ErrInvalidLengthGenerated
5276
+			}
5277
+			if (iNdEx + skippy) > l {
5278
+				return io.ErrUnexpectedEOF
5279
+			}
5280
+			iNdEx += skippy
5281
+		}
5282
+	}
5283
+
5284
+	if iNdEx > l {
5285
+		return io.ErrUnexpectedEOF
5286
+	}
5287
+	return nil
5288
+}
5289
+func (m *PolicyBindingList) Unmarshal(data []byte) error {
5290
+	l := len(data)
5291
+	iNdEx := 0
5292
+	for iNdEx < l {
5293
+		preIndex := iNdEx
5294
+		var wire uint64
5295
+		for shift := uint(0); ; shift += 7 {
5296
+			if shift >= 64 {
5297
+				return ErrIntOverflowGenerated
5298
+			}
5299
+			if iNdEx >= l {
5300
+				return io.ErrUnexpectedEOF
5301
+			}
5302
+			b := data[iNdEx]
5303
+			iNdEx++
5304
+			wire |= (uint64(b) & 0x7F) << shift
5305
+			if b < 0x80 {
5306
+				break
5307
+			}
5308
+		}
5309
+		fieldNum := int32(wire >> 3)
5310
+		wireType := int(wire & 0x7)
5311
+		if wireType == 4 {
5312
+			return fmt.Errorf("proto: PolicyBindingList: wiretype end group for non-group")
5313
+		}
5314
+		if fieldNum <= 0 {
5315
+			return fmt.Errorf("proto: PolicyBindingList: illegal tag %d (wire type %d)", fieldNum, wire)
5316
+		}
5317
+		switch fieldNum {
5318
+		case 1:
5319
+			if wireType != 2 {
5320
+				return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
5321
+			}
5322
+			var msglen int
5323
+			for shift := uint(0); ; shift += 7 {
5324
+				if shift >= 64 {
5325
+					return ErrIntOverflowGenerated
5326
+				}
5327
+				if iNdEx >= l {
5328
+					return io.ErrUnexpectedEOF
5329
+				}
5330
+				b := data[iNdEx]
5331
+				iNdEx++
5332
+				msglen |= (int(b) & 0x7F) << shift
5333
+				if b < 0x80 {
5334
+					break
5335
+				}
5336
+			}
5337
+			if msglen < 0 {
5338
+				return ErrInvalidLengthGenerated
5339
+			}
5340
+			postIndex := iNdEx + msglen
5341
+			if postIndex > l {
5342
+				return io.ErrUnexpectedEOF
5343
+			}
5344
+			if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
5345
+				return err
5346
+			}
5347
+			iNdEx = postIndex
5348
+		case 2:
5349
+			if wireType != 2 {
5350
+				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
5351
+			}
5352
+			var msglen int
5353
+			for shift := uint(0); ; shift += 7 {
5354
+				if shift >= 64 {
5355
+					return ErrIntOverflowGenerated
5356
+				}
5357
+				if iNdEx >= l {
5358
+					return io.ErrUnexpectedEOF
5359
+				}
5360
+				b := data[iNdEx]
5361
+				iNdEx++
5362
+				msglen |= (int(b) & 0x7F) << shift
5363
+				if b < 0x80 {
5364
+					break
5365
+				}
5366
+			}
5367
+			if msglen < 0 {
5368
+				return ErrInvalidLengthGenerated
5369
+			}
5370
+			postIndex := iNdEx + msglen
5371
+			if postIndex > l {
5372
+				return io.ErrUnexpectedEOF
5373
+			}
5374
+			m.Items = append(m.Items, PolicyBinding{})
5375
+			if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
5376
+				return err
5377
+			}
5378
+			iNdEx = postIndex
5379
+		default:
5380
+			iNdEx = preIndex
5381
+			skippy, err := skipGenerated(data[iNdEx:])
5382
+			if err != nil {
5383
+				return err
5384
+			}
5385
+			if skippy < 0 {
5386
+				return ErrInvalidLengthGenerated
5387
+			}
5388
+			if (iNdEx + skippy) > l {
5389
+				return io.ErrUnexpectedEOF
5390
+			}
5391
+			iNdEx += skippy
5392
+		}
5393
+	}
5394
+
5395
+	if iNdEx > l {
5396
+		return io.ErrUnexpectedEOF
5397
+	}
5398
+	return nil
5399
+}
5400
+func (m *PolicyList) Unmarshal(data []byte) error {
5401
+	l := len(data)
5402
+	iNdEx := 0
5403
+	for iNdEx < l {
5404
+		preIndex := iNdEx
5405
+		var wire uint64
5406
+		for shift := uint(0); ; shift += 7 {
5407
+			if shift >= 64 {
5408
+				return ErrIntOverflowGenerated
5409
+			}
5410
+			if iNdEx >= l {
5411
+				return io.ErrUnexpectedEOF
5412
+			}
5413
+			b := data[iNdEx]
5414
+			iNdEx++
5415
+			wire |= (uint64(b) & 0x7F) << shift
5416
+			if b < 0x80 {
5417
+				break
5418
+			}
5419
+		}
5420
+		fieldNum := int32(wire >> 3)
5421
+		wireType := int(wire & 0x7)
5422
+		if wireType == 4 {
5423
+			return fmt.Errorf("proto: PolicyList: wiretype end group for non-group")
5424
+		}
5425
+		if fieldNum <= 0 {
5426
+			return fmt.Errorf("proto: PolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
5427
+		}
5428
+		switch fieldNum {
5429
+		case 1:
5430
+			if wireType != 2 {
5431
+				return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
5432
+			}
5433
+			var msglen int
5434
+			for shift := uint(0); ; shift += 7 {
5435
+				if shift >= 64 {
5436
+					return ErrIntOverflowGenerated
5437
+				}
5438
+				if iNdEx >= l {
5439
+					return io.ErrUnexpectedEOF
5440
+				}
5441
+				b := data[iNdEx]
5442
+				iNdEx++
5443
+				msglen |= (int(b) & 0x7F) << shift
5444
+				if b < 0x80 {
5445
+					break
5446
+				}
5447
+			}
5448
+			if msglen < 0 {
5449
+				return ErrInvalidLengthGenerated
5450
+			}
5451
+			postIndex := iNdEx + msglen
5452
+			if postIndex > l {
5453
+				return io.ErrUnexpectedEOF
5454
+			}
5455
+			if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
5456
+				return err
5457
+			}
5458
+			iNdEx = postIndex
5459
+		case 2:
5460
+			if wireType != 2 {
5461
+				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
5462
+			}
5463
+			var msglen int
5464
+			for shift := uint(0); ; shift += 7 {
5465
+				if shift >= 64 {
5466
+					return ErrIntOverflowGenerated
5467
+				}
5468
+				if iNdEx >= l {
5469
+					return io.ErrUnexpectedEOF
5470
+				}
5471
+				b := data[iNdEx]
5472
+				iNdEx++
5473
+				msglen |= (int(b) & 0x7F) << shift
5474
+				if b < 0x80 {
5475
+					break
5476
+				}
5477
+			}
5478
+			if msglen < 0 {
5479
+				return ErrInvalidLengthGenerated
5480
+			}
5481
+			postIndex := iNdEx + msglen
5482
+			if postIndex > l {
5483
+				return io.ErrUnexpectedEOF
5484
+			}
5485
+			m.Items = append(m.Items, Policy{})
5486
+			if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
5487
+				return err
5488
+			}
5489
+			iNdEx = postIndex
5490
+		default:
5491
+			iNdEx = preIndex
5492
+			skippy, err := skipGenerated(data[iNdEx:])
5493
+			if err != nil {
5494
+				return err
5495
+			}
5496
+			if skippy < 0 {
5497
+				return ErrInvalidLengthGenerated
5498
+			}
5499
+			if (iNdEx + skippy) > l {
5500
+				return io.ErrUnexpectedEOF
5501
+			}
5502
+			iNdEx += skippy
5503
+		}
5504
+	}
5505
+
5506
+	if iNdEx > l {
5507
+		return io.ErrUnexpectedEOF
5508
+	}
5509
+	return nil
5510
+}
5511
+func (m *PolicyRule) Unmarshal(data []byte) error {
5512
+	l := len(data)
5513
+	iNdEx := 0
5514
+	for iNdEx < l {
5515
+		preIndex := iNdEx
5516
+		var wire uint64
5517
+		for shift := uint(0); ; shift += 7 {
5518
+			if shift >= 64 {
5519
+				return ErrIntOverflowGenerated
5520
+			}
5521
+			if iNdEx >= l {
5522
+				return io.ErrUnexpectedEOF
5523
+			}
5524
+			b := data[iNdEx]
5525
+			iNdEx++
5526
+			wire |= (uint64(b) & 0x7F) << shift
5527
+			if b < 0x80 {
5528
+				break
5529
+			}
5530
+		}
5531
+		fieldNum := int32(wire >> 3)
5532
+		wireType := int(wire & 0x7)
5533
+		if wireType == 4 {
5534
+			return fmt.Errorf("proto: PolicyRule: wiretype end group for non-group")
5535
+		}
5536
+		if fieldNum <= 0 {
5537
+			return fmt.Errorf("proto: PolicyRule: illegal tag %d (wire type %d)", fieldNum, wire)
5538
+		}
5539
+		switch fieldNum {
5540
+		case 1:
5541
+			if wireType != 2 {
5542
+				return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType)
5543
+			}
5544
+			var stringLen uint64
5545
+			for shift := uint(0); ; shift += 7 {
5546
+				if shift >= 64 {
5547
+					return ErrIntOverflowGenerated
5548
+				}
5549
+				if iNdEx >= l {
5550
+					return io.ErrUnexpectedEOF
5551
+				}
5552
+				b := data[iNdEx]
5553
+				iNdEx++
5554
+				stringLen |= (uint64(b) & 0x7F) << shift
5555
+				if b < 0x80 {
5556
+					break
5557
+				}
5558
+			}
5559
+			intStringLen := int(stringLen)
5560
+			if intStringLen < 0 {
5561
+				return ErrInvalidLengthGenerated
5562
+			}
5563
+			postIndex := iNdEx + intStringLen
5564
+			if postIndex > l {
5565
+				return io.ErrUnexpectedEOF
5566
+			}
5567
+			m.Verbs = append(m.Verbs, string(data[iNdEx:postIndex]))
5568
+			iNdEx = postIndex
5569
+		case 2:
5570
+			if wireType != 2 {
5571
+				return fmt.Errorf("proto: wrong wireType = %d for field AttributeRestrictions", wireType)
5572
+			}
5573
+			var msglen int
5574
+			for shift := uint(0); ; shift += 7 {
5575
+				if shift >= 64 {
5576
+					return ErrIntOverflowGenerated
5577
+				}
5578
+				if iNdEx >= l {
5579
+					return io.ErrUnexpectedEOF
5580
+				}
5581
+				b := data[iNdEx]
5582
+				iNdEx++
5583
+				msglen |= (int(b) & 0x7F) << shift
5584
+				if b < 0x80 {
5585
+					break
5586
+				}
5587
+			}
5588
+			if msglen < 0 {
5589
+				return ErrInvalidLengthGenerated
5590
+			}
5591
+			postIndex := iNdEx + msglen
5592
+			if postIndex > l {
5593
+				return io.ErrUnexpectedEOF
5594
+			}
5595
+			if err := m.AttributeRestrictions.Unmarshal(data[iNdEx:postIndex]); err != nil {
5596
+				return err
5597
+			}
5598
+			iNdEx = postIndex
5599
+		case 3:
5600
+			if wireType != 2 {
5601
+				return fmt.Errorf("proto: wrong wireType = %d for field APIGroups", wireType)
5602
+			}
5603
+			var stringLen uint64
5604
+			for shift := uint(0); ; shift += 7 {
5605
+				if shift >= 64 {
5606
+					return ErrIntOverflowGenerated
5607
+				}
5608
+				if iNdEx >= l {
5609
+					return io.ErrUnexpectedEOF
5610
+				}
5611
+				b := data[iNdEx]
5612
+				iNdEx++
5613
+				stringLen |= (uint64(b) & 0x7F) << shift
5614
+				if b < 0x80 {
5615
+					break
5616
+				}
5617
+			}
5618
+			intStringLen := int(stringLen)
5619
+			if intStringLen < 0 {
5620
+				return ErrInvalidLengthGenerated
5621
+			}
5622
+			postIndex := iNdEx + intStringLen
5623
+			if postIndex > l {
5624
+				return io.ErrUnexpectedEOF
5625
+			}
5626
+			m.APIGroups = append(m.APIGroups, string(data[iNdEx:postIndex]))
5627
+			iNdEx = postIndex
5628
+		case 4:
5629
+			if wireType != 2 {
5630
+				return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
5631
+			}
5632
+			var stringLen uint64
5633
+			for shift := uint(0); ; shift += 7 {
5634
+				if shift >= 64 {
5635
+					return ErrIntOverflowGenerated
5636
+				}
5637
+				if iNdEx >= l {
5638
+					return io.ErrUnexpectedEOF
5639
+				}
5640
+				b := data[iNdEx]
5641
+				iNdEx++
5642
+				stringLen |= (uint64(b) & 0x7F) << shift
5643
+				if b < 0x80 {
5644
+					break
5645
+				}
5646
+			}
5647
+			intStringLen := int(stringLen)
5648
+			if intStringLen < 0 {
5649
+				return ErrInvalidLengthGenerated
5650
+			}
5651
+			postIndex := iNdEx + intStringLen
5652
+			if postIndex > l {
5653
+				return io.ErrUnexpectedEOF
5654
+			}
5655
+			m.Resources = append(m.Resources, string(data[iNdEx:postIndex]))
5656
+			iNdEx = postIndex
5657
+		case 5:
5658
+			if wireType != 2 {
5659
+				return fmt.Errorf("proto: wrong wireType = %d for field ResourceNames", wireType)
5660
+			}
5661
+			var stringLen uint64
5662
+			for shift := uint(0); ; shift += 7 {
5663
+				if shift >= 64 {
5664
+					return ErrIntOverflowGenerated
5665
+				}
5666
+				if iNdEx >= l {
5667
+					return io.ErrUnexpectedEOF
5668
+				}
5669
+				b := data[iNdEx]
5670
+				iNdEx++
5671
+				stringLen |= (uint64(b) & 0x7F) << shift
5672
+				if b < 0x80 {
5673
+					break
5674
+				}
5675
+			}
5676
+			intStringLen := int(stringLen)
5677
+			if intStringLen < 0 {
5678
+				return ErrInvalidLengthGenerated
5679
+			}
5680
+			postIndex := iNdEx + intStringLen
5681
+			if postIndex > l {
5682
+				return io.ErrUnexpectedEOF
5683
+			}
5684
+			m.ResourceNames = append(m.ResourceNames, string(data[iNdEx:postIndex]))
5685
+			iNdEx = postIndex
5686
+		case 6:
5687
+			if wireType != 2 {
5688
+				return fmt.Errorf("proto: wrong wireType = %d for field NonResourceURLsSlice", wireType)
5689
+			}
5690
+			var stringLen uint64
5691
+			for shift := uint(0); ; shift += 7 {
5692
+				if shift >= 64 {
5693
+					return ErrIntOverflowGenerated
5694
+				}
5695
+				if iNdEx >= l {
5696
+					return io.ErrUnexpectedEOF
5697
+				}
5698
+				b := data[iNdEx]
5699
+				iNdEx++
5700
+				stringLen |= (uint64(b) & 0x7F) << shift
5701
+				if b < 0x80 {
5702
+					break
5703
+				}
5704
+			}
5705
+			intStringLen := int(stringLen)
5706
+			if intStringLen < 0 {
5707
+				return ErrInvalidLengthGenerated
5708
+			}
5709
+			postIndex := iNdEx + intStringLen
5710
+			if postIndex > l {
5711
+				return io.ErrUnexpectedEOF
5712
+			}
5713
+			m.NonResourceURLsSlice = append(m.NonResourceURLsSlice, string(data[iNdEx:postIndex]))
5714
+			iNdEx = postIndex
5715
+		default:
5716
+			iNdEx = preIndex
5717
+			skippy, err := skipGenerated(data[iNdEx:])
5718
+			if err != nil {
5719
+				return err
5720
+			}
5721
+			if skippy < 0 {
5722
+				return ErrInvalidLengthGenerated
5723
+			}
5724
+			if (iNdEx + skippy) > l {
5725
+				return io.ErrUnexpectedEOF
5726
+			}
5727
+			iNdEx += skippy
5728
+		}
5729
+	}
5730
+
5731
+	if iNdEx > l {
5732
+		return io.ErrUnexpectedEOF
5733
+	}
5734
+	return nil
5735
+}
5736
+func (m *ResourceAccessReview) Unmarshal(data []byte) error {
5737
+	l := len(data)
5738
+	iNdEx := 0
5739
+	for iNdEx < l {
5740
+		preIndex := iNdEx
5741
+		var wire uint64
5742
+		for shift := uint(0); ; shift += 7 {
5743
+			if shift >= 64 {
5744
+				return ErrIntOverflowGenerated
5745
+			}
5746
+			if iNdEx >= l {
5747
+				return io.ErrUnexpectedEOF
5748
+			}
5749
+			b := data[iNdEx]
5750
+			iNdEx++
5751
+			wire |= (uint64(b) & 0x7F) << shift
5752
+			if b < 0x80 {
5753
+				break
5754
+			}
5755
+		}
5756
+		fieldNum := int32(wire >> 3)
5757
+		wireType := int(wire & 0x7)
5758
+		if wireType == 4 {
5759
+			return fmt.Errorf("proto: ResourceAccessReview: wiretype end group for non-group")
5760
+		}
5761
+		if fieldNum <= 0 {
5762
+			return fmt.Errorf("proto: ResourceAccessReview: illegal tag %d (wire type %d)", fieldNum, wire)
5763
+		}
5764
+		switch fieldNum {
5765
+		case 1:
5766
+			if wireType != 2 {
5767
+				return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
5768
+			}
5769
+			var msglen int
5770
+			for shift := uint(0); ; shift += 7 {
5771
+				if shift >= 64 {
5772
+					return ErrIntOverflowGenerated
5773
+				}
5774
+				if iNdEx >= l {
5775
+					return io.ErrUnexpectedEOF
5776
+				}
5777
+				b := data[iNdEx]
5778
+				iNdEx++
5779
+				msglen |= (int(b) & 0x7F) << shift
5780
+				if b < 0x80 {
5781
+					break
5782
+				}
5783
+			}
5784
+			if msglen < 0 {
5785
+				return ErrInvalidLengthGenerated
5786
+			}
5787
+			postIndex := iNdEx + msglen
5788
+			if postIndex > l {
5789
+				return io.ErrUnexpectedEOF
5790
+			}
5791
+			if err := m.Action.Unmarshal(data[iNdEx:postIndex]); err != nil {
5792
+				return err
5793
+			}
5794
+			iNdEx = postIndex
5795
+		default:
5796
+			iNdEx = preIndex
5797
+			skippy, err := skipGenerated(data[iNdEx:])
5798
+			if err != nil {
5799
+				return err
5800
+			}
5801
+			if skippy < 0 {
5802
+				return ErrInvalidLengthGenerated
5803
+			}
5804
+			if (iNdEx + skippy) > l {
5805
+				return io.ErrUnexpectedEOF
5806
+			}
5807
+			iNdEx += skippy
5808
+		}
5809
+	}
5810
+
5811
+	if iNdEx > l {
5812
+		return io.ErrUnexpectedEOF
5813
+	}
5814
+	return nil
5815
+}
5816
+func (m *ResourceAccessReviewResponse) Unmarshal(data []byte) error {
5817
+	l := len(data)
5818
+	iNdEx := 0
5819
+	for iNdEx < l {
5820
+		preIndex := iNdEx
5821
+		var wire uint64
5822
+		for shift := uint(0); ; shift += 7 {
5823
+			if shift >= 64 {
5824
+				return ErrIntOverflowGenerated
5825
+			}
5826
+			if iNdEx >= l {
5827
+				return io.ErrUnexpectedEOF
5828
+			}
5829
+			b := data[iNdEx]
5830
+			iNdEx++
5831
+			wire |= (uint64(b) & 0x7F) << shift
5832
+			if b < 0x80 {
5833
+				break
5834
+			}
5835
+		}
5836
+		fieldNum := int32(wire >> 3)
5837
+		wireType := int(wire & 0x7)
5838
+		if wireType == 4 {
5839
+			return fmt.Errorf("proto: ResourceAccessReviewResponse: wiretype end group for non-group")
5840
+		}
5841
+		if fieldNum <= 0 {
5842
+			return fmt.Errorf("proto: ResourceAccessReviewResponse: illegal tag %d (wire type %d)", fieldNum, wire)
5843
+		}
5844
+		switch fieldNum {
5845
+		case 1:
5846
+			if wireType != 2 {
5847
+				return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
5848
+			}
5849
+			var stringLen uint64
5850
+			for shift := uint(0); ; shift += 7 {
5851
+				if shift >= 64 {
5852
+					return ErrIntOverflowGenerated
5853
+				}
5854
+				if iNdEx >= l {
5855
+					return io.ErrUnexpectedEOF
5856
+				}
5857
+				b := data[iNdEx]
5858
+				iNdEx++
5859
+				stringLen |= (uint64(b) & 0x7F) << shift
5860
+				if b < 0x80 {
5861
+					break
5862
+				}
5863
+			}
5864
+			intStringLen := int(stringLen)
5865
+			if intStringLen < 0 {
5866
+				return ErrInvalidLengthGenerated
5867
+			}
5868
+			postIndex := iNdEx + intStringLen
5869
+			if postIndex > l {
5870
+				return io.ErrUnexpectedEOF
5871
+			}
5872
+			m.Namespace = string(data[iNdEx:postIndex])
5873
+			iNdEx = postIndex
5874
+		case 2:
5875
+			if wireType != 2 {
5876
+				return fmt.Errorf("proto: wrong wireType = %d for field UsersSlice", wireType)
5877
+			}
5878
+			var stringLen uint64
5879
+			for shift := uint(0); ; shift += 7 {
5880
+				if shift >= 64 {
5881
+					return ErrIntOverflowGenerated
5882
+				}
5883
+				if iNdEx >= l {
5884
+					return io.ErrUnexpectedEOF
5885
+				}
5886
+				b := data[iNdEx]
5887
+				iNdEx++
5888
+				stringLen |= (uint64(b) & 0x7F) << shift
5889
+				if b < 0x80 {
5890
+					break
5891
+				}
5892
+			}
5893
+			intStringLen := int(stringLen)
5894
+			if intStringLen < 0 {
5895
+				return ErrInvalidLengthGenerated
5896
+			}
5897
+			postIndex := iNdEx + intStringLen
5898
+			if postIndex > l {
5899
+				return io.ErrUnexpectedEOF
5900
+			}
5901
+			m.UsersSlice = append(m.UsersSlice, string(data[iNdEx:postIndex]))
5902
+			iNdEx = postIndex
5903
+		case 3:
5904
+			if wireType != 2 {
5905
+				return fmt.Errorf("proto: wrong wireType = %d for field GroupsSlice", wireType)
5906
+			}
5907
+			var stringLen uint64
5908
+			for shift := uint(0); ; shift += 7 {
5909
+				if shift >= 64 {
5910
+					return ErrIntOverflowGenerated
5911
+				}
5912
+				if iNdEx >= l {
5913
+					return io.ErrUnexpectedEOF
5914
+				}
5915
+				b := data[iNdEx]
5916
+				iNdEx++
5917
+				stringLen |= (uint64(b) & 0x7F) << shift
5918
+				if b < 0x80 {
5919
+					break
5920
+				}
5921
+			}
5922
+			intStringLen := int(stringLen)
5923
+			if intStringLen < 0 {
5924
+				return ErrInvalidLengthGenerated
5925
+			}
5926
+			postIndex := iNdEx + intStringLen
5927
+			if postIndex > l {
5928
+				return io.ErrUnexpectedEOF
5929
+			}
5930
+			m.GroupsSlice = append(m.GroupsSlice, string(data[iNdEx:postIndex]))
5931
+			iNdEx = postIndex
5932
+		case 4:
5933
+			if wireType != 2 {
5934
+				return fmt.Errorf("proto: wrong wireType = %d for field EvaluationError", wireType)
5935
+			}
5936
+			var stringLen uint64
5937
+			for shift := uint(0); ; shift += 7 {
5938
+				if shift >= 64 {
5939
+					return ErrIntOverflowGenerated
5940
+				}
5941
+				if iNdEx >= l {
5942
+					return io.ErrUnexpectedEOF
5943
+				}
5944
+				b := data[iNdEx]
5945
+				iNdEx++
5946
+				stringLen |= (uint64(b) & 0x7F) << shift
5947
+				if b < 0x80 {
5948
+					break
5949
+				}
5950
+			}
5951
+			intStringLen := int(stringLen)
5952
+			if intStringLen < 0 {
5953
+				return ErrInvalidLengthGenerated
5954
+			}
5955
+			postIndex := iNdEx + intStringLen
5956
+			if postIndex > l {
5957
+				return io.ErrUnexpectedEOF
5958
+			}
5959
+			m.EvaluationError = string(data[iNdEx:postIndex])
5960
+			iNdEx = postIndex
5961
+		default:
5962
+			iNdEx = preIndex
5963
+			skippy, err := skipGenerated(data[iNdEx:])
5964
+			if err != nil {
5965
+				return err
5966
+			}
5967
+			if skippy < 0 {
5968
+				return ErrInvalidLengthGenerated
5969
+			}
5970
+			if (iNdEx + skippy) > l {
5971
+				return io.ErrUnexpectedEOF
5972
+			}
5973
+			iNdEx += skippy
5974
+		}
5975
+	}
5976
+
5977
+	if iNdEx > l {
5978
+		return io.ErrUnexpectedEOF
5979
+	}
5980
+	return nil
5981
+}
5982
+func (m *Role) Unmarshal(data []byte) error {
5983
+	l := len(data)
5984
+	iNdEx := 0
5985
+	for iNdEx < l {
5986
+		preIndex := iNdEx
5987
+		var wire uint64
5988
+		for shift := uint(0); ; shift += 7 {
5989
+			if shift >= 64 {
5990
+				return ErrIntOverflowGenerated
5991
+			}
5992
+			if iNdEx >= l {
5993
+				return io.ErrUnexpectedEOF
5994
+			}
5995
+			b := data[iNdEx]
5996
+			iNdEx++
5997
+			wire |= (uint64(b) & 0x7F) << shift
5998
+			if b < 0x80 {
5999
+				break
6000
+			}
6001
+		}
6002
+		fieldNum := int32(wire >> 3)
6003
+		wireType := int(wire & 0x7)
6004
+		if wireType == 4 {
6005
+			return fmt.Errorf("proto: Role: wiretype end group for non-group")
6006
+		}
6007
+		if fieldNum <= 0 {
6008
+			return fmt.Errorf("proto: Role: illegal tag %d (wire type %d)", fieldNum, wire)
6009
+		}
6010
+		switch fieldNum {
6011
+		case 1:
6012
+			if wireType != 2 {
6013
+				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
6014
+			}
6015
+			var msglen int
6016
+			for shift := uint(0); ; shift += 7 {
6017
+				if shift >= 64 {
6018
+					return ErrIntOverflowGenerated
6019
+				}
6020
+				if iNdEx >= l {
6021
+					return io.ErrUnexpectedEOF
6022
+				}
6023
+				b := data[iNdEx]
6024
+				iNdEx++
6025
+				msglen |= (int(b) & 0x7F) << shift
6026
+				if b < 0x80 {
6027
+					break
6028
+				}
6029
+			}
6030
+			if msglen < 0 {
6031
+				return ErrInvalidLengthGenerated
6032
+			}
6033
+			postIndex := iNdEx + msglen
6034
+			if postIndex > l {
6035
+				return io.ErrUnexpectedEOF
6036
+			}
6037
+			if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
6038
+				return err
6039
+			}
6040
+			iNdEx = postIndex
6041
+		case 2:
6042
+			if wireType != 2 {
6043
+				return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType)
6044
+			}
6045
+			var msglen int
6046
+			for shift := uint(0); ; shift += 7 {
6047
+				if shift >= 64 {
6048
+					return ErrIntOverflowGenerated
6049
+				}
6050
+				if iNdEx >= l {
6051
+					return io.ErrUnexpectedEOF
6052
+				}
6053
+				b := data[iNdEx]
6054
+				iNdEx++
6055
+				msglen |= (int(b) & 0x7F) << shift
6056
+				if b < 0x80 {
6057
+					break
6058
+				}
6059
+			}
6060
+			if msglen < 0 {
6061
+				return ErrInvalidLengthGenerated
6062
+			}
6063
+			postIndex := iNdEx + msglen
6064
+			if postIndex > l {
6065
+				return io.ErrUnexpectedEOF
6066
+			}
6067
+			m.Rules = append(m.Rules, PolicyRule{})
6068
+			if err := m.Rules[len(m.Rules)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
6069
+				return err
6070
+			}
6071
+			iNdEx = postIndex
6072
+		default:
6073
+			iNdEx = preIndex
6074
+			skippy, err := skipGenerated(data[iNdEx:])
6075
+			if err != nil {
6076
+				return err
6077
+			}
6078
+			if skippy < 0 {
6079
+				return ErrInvalidLengthGenerated
6080
+			}
6081
+			if (iNdEx + skippy) > l {
6082
+				return io.ErrUnexpectedEOF
6083
+			}
6084
+			iNdEx += skippy
6085
+		}
6086
+	}
6087
+
6088
+	if iNdEx > l {
6089
+		return io.ErrUnexpectedEOF
6090
+	}
6091
+	return nil
6092
+}
6093
+func (m *RoleBinding) Unmarshal(data []byte) error {
6094
+	l := len(data)
6095
+	iNdEx := 0
6096
+	for iNdEx < l {
6097
+		preIndex := iNdEx
6098
+		var wire uint64
6099
+		for shift := uint(0); ; shift += 7 {
6100
+			if shift >= 64 {
6101
+				return ErrIntOverflowGenerated
6102
+			}
6103
+			if iNdEx >= l {
6104
+				return io.ErrUnexpectedEOF
6105
+			}
6106
+			b := data[iNdEx]
6107
+			iNdEx++
6108
+			wire |= (uint64(b) & 0x7F) << shift
6109
+			if b < 0x80 {
6110
+				break
6111
+			}
6112
+		}
6113
+		fieldNum := int32(wire >> 3)
6114
+		wireType := int(wire & 0x7)
6115
+		if wireType == 4 {
6116
+			return fmt.Errorf("proto: RoleBinding: wiretype end group for non-group")
6117
+		}
6118
+		if fieldNum <= 0 {
6119
+			return fmt.Errorf("proto: RoleBinding: illegal tag %d (wire type %d)", fieldNum, wire)
6120
+		}
6121
+		switch fieldNum {
6122
+		case 1:
6123
+			if wireType != 2 {
6124
+				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
6125
+			}
6126
+			var msglen int
6127
+			for shift := uint(0); ; shift += 7 {
6128
+				if shift >= 64 {
6129
+					return ErrIntOverflowGenerated
6130
+				}
6131
+				if iNdEx >= l {
6132
+					return io.ErrUnexpectedEOF
6133
+				}
6134
+				b := data[iNdEx]
6135
+				iNdEx++
6136
+				msglen |= (int(b) & 0x7F) << shift
6137
+				if b < 0x80 {
6138
+					break
6139
+				}
6140
+			}
6141
+			if msglen < 0 {
6142
+				return ErrInvalidLengthGenerated
6143
+			}
6144
+			postIndex := iNdEx + msglen
6145
+			if postIndex > l {
6146
+				return io.ErrUnexpectedEOF
6147
+			}
6148
+			if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
6149
+				return err
6150
+			}
6151
+			iNdEx = postIndex
6152
+		case 2:
6153
+			if wireType != 2 {
6154
+				return fmt.Errorf("proto: wrong wireType = %d for field UserNames", wireType)
6155
+			}
6156
+			var msglen int
6157
+			for shift := uint(0); ; shift += 7 {
6158
+				if shift >= 64 {
6159
+					return ErrIntOverflowGenerated
6160
+				}
6161
+				if iNdEx >= l {
6162
+					return io.ErrUnexpectedEOF
6163
+				}
6164
+				b := data[iNdEx]
6165
+				iNdEx++
6166
+				msglen |= (int(b) & 0x7F) << shift
6167
+				if b < 0x80 {
6168
+					break
6169
+				}
6170
+			}
6171
+			if msglen < 0 {
6172
+				return ErrInvalidLengthGenerated
6173
+			}
6174
+			postIndex := iNdEx + msglen
6175
+			if postIndex > l {
6176
+				return io.ErrUnexpectedEOF
6177
+			}
6178
+			if m.UserNames == nil {
6179
+				m.UserNames = OptionalNames{}
6180
+			}
6181
+			if err := m.UserNames.Unmarshal(data[iNdEx:postIndex]); err != nil {
6182
+				return err
6183
+			}
6184
+			iNdEx = postIndex
6185
+		case 3:
6186
+			if wireType != 2 {
6187
+				return fmt.Errorf("proto: wrong wireType = %d for field GroupNames", wireType)
6188
+			}
6189
+			var msglen int
6190
+			for shift := uint(0); ; shift += 7 {
6191
+				if shift >= 64 {
6192
+					return ErrIntOverflowGenerated
6193
+				}
6194
+				if iNdEx >= l {
6195
+					return io.ErrUnexpectedEOF
6196
+				}
6197
+				b := data[iNdEx]
6198
+				iNdEx++
6199
+				msglen |= (int(b) & 0x7F) << shift
6200
+				if b < 0x80 {
6201
+					break
6202
+				}
6203
+			}
6204
+			if msglen < 0 {
6205
+				return ErrInvalidLengthGenerated
6206
+			}
6207
+			postIndex := iNdEx + msglen
6208
+			if postIndex > l {
6209
+				return io.ErrUnexpectedEOF
6210
+			}
6211
+			if m.GroupNames == nil {
6212
+				m.GroupNames = OptionalNames{}
6213
+			}
6214
+			if err := m.GroupNames.Unmarshal(data[iNdEx:postIndex]); err != nil {
6215
+				return err
6216
+			}
6217
+			iNdEx = postIndex
6218
+		case 4:
6219
+			if wireType != 2 {
6220
+				return fmt.Errorf("proto: wrong wireType = %d for field Subjects", wireType)
6221
+			}
6222
+			var msglen int
6223
+			for shift := uint(0); ; shift += 7 {
6224
+				if shift >= 64 {
6225
+					return ErrIntOverflowGenerated
6226
+				}
6227
+				if iNdEx >= l {
6228
+					return io.ErrUnexpectedEOF
6229
+				}
6230
+				b := data[iNdEx]
6231
+				iNdEx++
6232
+				msglen |= (int(b) & 0x7F) << shift
6233
+				if b < 0x80 {
6234
+					break
6235
+				}
6236
+			}
6237
+			if msglen < 0 {
6238
+				return ErrInvalidLengthGenerated
6239
+			}
6240
+			postIndex := iNdEx + msglen
6241
+			if postIndex > l {
6242
+				return io.ErrUnexpectedEOF
6243
+			}
6244
+			m.Subjects = append(m.Subjects, k8s_io_kubernetes_pkg_api_v1.ObjectReference{})
6245
+			if err := m.Subjects[len(m.Subjects)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
6246
+				return err
6247
+			}
6248
+			iNdEx = postIndex
6249
+		case 5:
6250
+			if wireType != 2 {
6251
+				return fmt.Errorf("proto: wrong wireType = %d for field RoleRef", wireType)
6252
+			}
6253
+			var msglen int
6254
+			for shift := uint(0); ; shift += 7 {
6255
+				if shift >= 64 {
6256
+					return ErrIntOverflowGenerated
6257
+				}
6258
+				if iNdEx >= l {
6259
+					return io.ErrUnexpectedEOF
6260
+				}
6261
+				b := data[iNdEx]
6262
+				iNdEx++
6263
+				msglen |= (int(b) & 0x7F) << shift
6264
+				if b < 0x80 {
6265
+					break
6266
+				}
6267
+			}
6268
+			if msglen < 0 {
6269
+				return ErrInvalidLengthGenerated
6270
+			}
6271
+			postIndex := iNdEx + msglen
6272
+			if postIndex > l {
6273
+				return io.ErrUnexpectedEOF
6274
+			}
6275
+			if err := m.RoleRef.Unmarshal(data[iNdEx:postIndex]); err != nil {
6276
+				return err
6277
+			}
6278
+			iNdEx = postIndex
6279
+		default:
6280
+			iNdEx = preIndex
6281
+			skippy, err := skipGenerated(data[iNdEx:])
6282
+			if err != nil {
6283
+				return err
6284
+			}
6285
+			if skippy < 0 {
6286
+				return ErrInvalidLengthGenerated
6287
+			}
6288
+			if (iNdEx + skippy) > l {
6289
+				return io.ErrUnexpectedEOF
6290
+			}
6291
+			iNdEx += skippy
6292
+		}
6293
+	}
6294
+
6295
+	if iNdEx > l {
6296
+		return io.ErrUnexpectedEOF
6297
+	}
6298
+	return nil
6299
+}
6300
+func (m *RoleBindingList) Unmarshal(data []byte) error {
6301
+	l := len(data)
6302
+	iNdEx := 0
6303
+	for iNdEx < l {
6304
+		preIndex := iNdEx
6305
+		var wire uint64
6306
+		for shift := uint(0); ; shift += 7 {
6307
+			if shift >= 64 {
6308
+				return ErrIntOverflowGenerated
6309
+			}
6310
+			if iNdEx >= l {
6311
+				return io.ErrUnexpectedEOF
6312
+			}
6313
+			b := data[iNdEx]
6314
+			iNdEx++
6315
+			wire |= (uint64(b) & 0x7F) << shift
6316
+			if b < 0x80 {
6317
+				break
6318
+			}
6319
+		}
6320
+		fieldNum := int32(wire >> 3)
6321
+		wireType := int(wire & 0x7)
6322
+		if wireType == 4 {
6323
+			return fmt.Errorf("proto: RoleBindingList: wiretype end group for non-group")
6324
+		}
6325
+		if fieldNum <= 0 {
6326
+			return fmt.Errorf("proto: RoleBindingList: illegal tag %d (wire type %d)", fieldNum, wire)
6327
+		}
6328
+		switch fieldNum {
6329
+		case 1:
6330
+			if wireType != 2 {
6331
+				return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
6332
+			}
6333
+			var msglen int
6334
+			for shift := uint(0); ; shift += 7 {
6335
+				if shift >= 64 {
6336
+					return ErrIntOverflowGenerated
6337
+				}
6338
+				if iNdEx >= l {
6339
+					return io.ErrUnexpectedEOF
6340
+				}
6341
+				b := data[iNdEx]
6342
+				iNdEx++
6343
+				msglen |= (int(b) & 0x7F) << shift
6344
+				if b < 0x80 {
6345
+					break
6346
+				}
6347
+			}
6348
+			if msglen < 0 {
6349
+				return ErrInvalidLengthGenerated
6350
+			}
6351
+			postIndex := iNdEx + msglen
6352
+			if postIndex > l {
6353
+				return io.ErrUnexpectedEOF
6354
+			}
6355
+			if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
6356
+				return err
6357
+			}
6358
+			iNdEx = postIndex
6359
+		case 2:
6360
+			if wireType != 2 {
6361
+				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
6362
+			}
6363
+			var msglen int
6364
+			for shift := uint(0); ; shift += 7 {
6365
+				if shift >= 64 {
6366
+					return ErrIntOverflowGenerated
6367
+				}
6368
+				if iNdEx >= l {
6369
+					return io.ErrUnexpectedEOF
6370
+				}
6371
+				b := data[iNdEx]
6372
+				iNdEx++
6373
+				msglen |= (int(b) & 0x7F) << shift
6374
+				if b < 0x80 {
6375
+					break
6376
+				}
6377
+			}
6378
+			if msglen < 0 {
6379
+				return ErrInvalidLengthGenerated
6380
+			}
6381
+			postIndex := iNdEx + msglen
6382
+			if postIndex > l {
6383
+				return io.ErrUnexpectedEOF
6384
+			}
6385
+			m.Items = append(m.Items, RoleBinding{})
6386
+			if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
6387
+				return err
6388
+			}
6389
+			iNdEx = postIndex
6390
+		default:
6391
+			iNdEx = preIndex
6392
+			skippy, err := skipGenerated(data[iNdEx:])
6393
+			if err != nil {
6394
+				return err
6395
+			}
6396
+			if skippy < 0 {
6397
+				return ErrInvalidLengthGenerated
6398
+			}
6399
+			if (iNdEx + skippy) > l {
6400
+				return io.ErrUnexpectedEOF
6401
+			}
6402
+			iNdEx += skippy
6403
+		}
6404
+	}
6405
+
6406
+	if iNdEx > l {
6407
+		return io.ErrUnexpectedEOF
6408
+	}
6409
+	return nil
6410
+}
6411
+func (m *RoleList) Unmarshal(data []byte) error {
6412
+	l := len(data)
6413
+	iNdEx := 0
6414
+	for iNdEx < l {
6415
+		preIndex := iNdEx
6416
+		var wire uint64
6417
+		for shift := uint(0); ; shift += 7 {
6418
+			if shift >= 64 {
6419
+				return ErrIntOverflowGenerated
6420
+			}
6421
+			if iNdEx >= l {
6422
+				return io.ErrUnexpectedEOF
6423
+			}
6424
+			b := data[iNdEx]
6425
+			iNdEx++
6426
+			wire |= (uint64(b) & 0x7F) << shift
6427
+			if b < 0x80 {
6428
+				break
6429
+			}
6430
+		}
6431
+		fieldNum := int32(wire >> 3)
6432
+		wireType := int(wire & 0x7)
6433
+		if wireType == 4 {
6434
+			return fmt.Errorf("proto: RoleList: wiretype end group for non-group")
6435
+		}
6436
+		if fieldNum <= 0 {
6437
+			return fmt.Errorf("proto: RoleList: illegal tag %d (wire type %d)", fieldNum, wire)
6438
+		}
6439
+		switch fieldNum {
6440
+		case 1:
6441
+			if wireType != 2 {
6442
+				return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
6443
+			}
6444
+			var msglen int
6445
+			for shift := uint(0); ; shift += 7 {
6446
+				if shift >= 64 {
6447
+					return ErrIntOverflowGenerated
6448
+				}
6449
+				if iNdEx >= l {
6450
+					return io.ErrUnexpectedEOF
6451
+				}
6452
+				b := data[iNdEx]
6453
+				iNdEx++
6454
+				msglen |= (int(b) & 0x7F) << shift
6455
+				if b < 0x80 {
6456
+					break
6457
+				}
6458
+			}
6459
+			if msglen < 0 {
6460
+				return ErrInvalidLengthGenerated
6461
+			}
6462
+			postIndex := iNdEx + msglen
6463
+			if postIndex > l {
6464
+				return io.ErrUnexpectedEOF
6465
+			}
6466
+			if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
6467
+				return err
6468
+			}
6469
+			iNdEx = postIndex
6470
+		case 2:
6471
+			if wireType != 2 {
6472
+				return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
6473
+			}
6474
+			var msglen int
6475
+			for shift := uint(0); ; shift += 7 {
6476
+				if shift >= 64 {
6477
+					return ErrIntOverflowGenerated
6478
+				}
6479
+				if iNdEx >= l {
6480
+					return io.ErrUnexpectedEOF
6481
+				}
6482
+				b := data[iNdEx]
6483
+				iNdEx++
6484
+				msglen |= (int(b) & 0x7F) << shift
6485
+				if b < 0x80 {
6486
+					break
6487
+				}
6488
+			}
6489
+			if msglen < 0 {
6490
+				return ErrInvalidLengthGenerated
6491
+			}
6492
+			postIndex := iNdEx + msglen
6493
+			if postIndex > l {
6494
+				return io.ErrUnexpectedEOF
6495
+			}
6496
+			m.Items = append(m.Items, Role{})
6497
+			if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
6498
+				return err
6499
+			}
6500
+			iNdEx = postIndex
6501
+		default:
6502
+			iNdEx = preIndex
6503
+			skippy, err := skipGenerated(data[iNdEx:])
6504
+			if err != nil {
6505
+				return err
6506
+			}
6507
+			if skippy < 0 {
6508
+				return ErrInvalidLengthGenerated
6509
+			}
6510
+			if (iNdEx + skippy) > l {
6511
+				return io.ErrUnexpectedEOF
6512
+			}
6513
+			iNdEx += skippy
6514
+		}
6515
+	}
6516
+
6517
+	if iNdEx > l {
6518
+		return io.ErrUnexpectedEOF
6519
+	}
6520
+	return nil
6521
+}
6522
+func (m *SelfSubjectRulesReview) Unmarshal(data []byte) error {
6523
+	l := len(data)
6524
+	iNdEx := 0
6525
+	for iNdEx < l {
6526
+		preIndex := iNdEx
6527
+		var wire uint64
6528
+		for shift := uint(0); ; shift += 7 {
6529
+			if shift >= 64 {
6530
+				return ErrIntOverflowGenerated
6531
+			}
6532
+			if iNdEx >= l {
6533
+				return io.ErrUnexpectedEOF
6534
+			}
6535
+			b := data[iNdEx]
6536
+			iNdEx++
6537
+			wire |= (uint64(b) & 0x7F) << shift
6538
+			if b < 0x80 {
6539
+				break
6540
+			}
6541
+		}
6542
+		fieldNum := int32(wire >> 3)
6543
+		wireType := int(wire & 0x7)
6544
+		if wireType == 4 {
6545
+			return fmt.Errorf("proto: SelfSubjectRulesReview: wiretype end group for non-group")
6546
+		}
6547
+		if fieldNum <= 0 {
6548
+			return fmt.Errorf("proto: SelfSubjectRulesReview: illegal tag %d (wire type %d)", fieldNum, wire)
6549
+		}
6550
+		switch fieldNum {
6551
+		case 1:
6552
+			if wireType != 2 {
6553
+				return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
6554
+			}
6555
+			var msglen int
6556
+			for shift := uint(0); ; shift += 7 {
6557
+				if shift >= 64 {
6558
+					return ErrIntOverflowGenerated
6559
+				}
6560
+				if iNdEx >= l {
6561
+					return io.ErrUnexpectedEOF
6562
+				}
6563
+				b := data[iNdEx]
6564
+				iNdEx++
6565
+				msglen |= (int(b) & 0x7F) << shift
6566
+				if b < 0x80 {
6567
+					break
6568
+				}
6569
+			}
6570
+			if msglen < 0 {
6571
+				return ErrInvalidLengthGenerated
6572
+			}
6573
+			postIndex := iNdEx + msglen
6574
+			if postIndex > l {
6575
+				return io.ErrUnexpectedEOF
6576
+			}
6577
+			if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
6578
+				return err
6579
+			}
6580
+			iNdEx = postIndex
6581
+		case 2:
6582
+			if wireType != 2 {
6583
+				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
6584
+			}
6585
+			var msglen int
6586
+			for shift := uint(0); ; shift += 7 {
6587
+				if shift >= 64 {
6588
+					return ErrIntOverflowGenerated
6589
+				}
6590
+				if iNdEx >= l {
6591
+					return io.ErrUnexpectedEOF
6592
+				}
6593
+				b := data[iNdEx]
6594
+				iNdEx++
6595
+				msglen |= (int(b) & 0x7F) << shift
6596
+				if b < 0x80 {
6597
+					break
6598
+				}
6599
+			}
6600
+			if msglen < 0 {
6601
+				return ErrInvalidLengthGenerated
6602
+			}
6603
+			postIndex := iNdEx + msglen
6604
+			if postIndex > l {
6605
+				return io.ErrUnexpectedEOF
6606
+			}
6607
+			if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
6608
+				return err
6609
+			}
6610
+			iNdEx = postIndex
6611
+		default:
6612
+			iNdEx = preIndex
6613
+			skippy, err := skipGenerated(data[iNdEx:])
6614
+			if err != nil {
6615
+				return err
6616
+			}
6617
+			if skippy < 0 {
6618
+				return ErrInvalidLengthGenerated
6619
+			}
6620
+			if (iNdEx + skippy) > l {
6621
+				return io.ErrUnexpectedEOF
6622
+			}
6623
+			iNdEx += skippy
6624
+		}
6625
+	}
6626
+
6627
+	if iNdEx > l {
6628
+		return io.ErrUnexpectedEOF
6629
+	}
6630
+	return nil
6631
+}
6632
+func (m *SelfSubjectRulesReviewSpec) Unmarshal(data []byte) error {
6633
+	l := len(data)
6634
+	iNdEx := 0
6635
+	for iNdEx < l {
6636
+		preIndex := iNdEx
6637
+		var wire uint64
6638
+		for shift := uint(0); ; shift += 7 {
6639
+			if shift >= 64 {
6640
+				return ErrIntOverflowGenerated
6641
+			}
6642
+			if iNdEx >= l {
6643
+				return io.ErrUnexpectedEOF
6644
+			}
6645
+			b := data[iNdEx]
6646
+			iNdEx++
6647
+			wire |= (uint64(b) & 0x7F) << shift
6648
+			if b < 0x80 {
6649
+				break
6650
+			}
6651
+		}
6652
+		fieldNum := int32(wire >> 3)
6653
+		wireType := int(wire & 0x7)
6654
+		if wireType == 4 {
6655
+			return fmt.Errorf("proto: SelfSubjectRulesReviewSpec: wiretype end group for non-group")
6656
+		}
6657
+		if fieldNum <= 0 {
6658
+			return fmt.Errorf("proto: SelfSubjectRulesReviewSpec: illegal tag %d (wire type %d)", fieldNum, wire)
6659
+		}
6660
+		switch fieldNum {
6661
+		case 1:
6662
+			if wireType != 2 {
6663
+				return fmt.Errorf("proto: wrong wireType = %d for field Scopes", wireType)
6664
+			}
6665
+			var msglen int
6666
+			for shift := uint(0); ; shift += 7 {
6667
+				if shift >= 64 {
6668
+					return ErrIntOverflowGenerated
6669
+				}
6670
+				if iNdEx >= l {
6671
+					return io.ErrUnexpectedEOF
6672
+				}
6673
+				b := data[iNdEx]
6674
+				iNdEx++
6675
+				msglen |= (int(b) & 0x7F) << shift
6676
+				if b < 0x80 {
6677
+					break
6678
+				}
6679
+			}
6680
+			if msglen < 0 {
6681
+				return ErrInvalidLengthGenerated
6682
+			}
6683
+			postIndex := iNdEx + msglen
6684
+			if postIndex > l {
6685
+				return io.ErrUnexpectedEOF
6686
+			}
6687
+			if m.Scopes == nil {
6688
+				m.Scopes = OptionalScopes{}
6689
+			}
6690
+			if err := m.Scopes.Unmarshal(data[iNdEx:postIndex]); err != nil {
6691
+				return err
6692
+			}
6693
+			iNdEx = postIndex
6694
+		default:
6695
+			iNdEx = preIndex
6696
+			skippy, err := skipGenerated(data[iNdEx:])
6697
+			if err != nil {
6698
+				return err
6699
+			}
6700
+			if skippy < 0 {
6701
+				return ErrInvalidLengthGenerated
6702
+			}
6703
+			if (iNdEx + skippy) > l {
6704
+				return io.ErrUnexpectedEOF
6705
+			}
6706
+			iNdEx += skippy
6707
+		}
6708
+	}
6709
+
6710
+	if iNdEx > l {
6711
+		return io.ErrUnexpectedEOF
6712
+	}
6713
+	return nil
6714
+}
6715
+func (m *SubjectAccessReview) Unmarshal(data []byte) error {
6716
+	l := len(data)
6717
+	iNdEx := 0
6718
+	for iNdEx < l {
6719
+		preIndex := iNdEx
6720
+		var wire uint64
6721
+		for shift := uint(0); ; shift += 7 {
6722
+			if shift >= 64 {
6723
+				return ErrIntOverflowGenerated
6724
+			}
6725
+			if iNdEx >= l {
6726
+				return io.ErrUnexpectedEOF
6727
+			}
6728
+			b := data[iNdEx]
6729
+			iNdEx++
6730
+			wire |= (uint64(b) & 0x7F) << shift
6731
+			if b < 0x80 {
6732
+				break
6733
+			}
6734
+		}
6735
+		fieldNum := int32(wire >> 3)
6736
+		wireType := int(wire & 0x7)
6737
+		if wireType == 4 {
6738
+			return fmt.Errorf("proto: SubjectAccessReview: wiretype end group for non-group")
6739
+		}
6740
+		if fieldNum <= 0 {
6741
+			return fmt.Errorf("proto: SubjectAccessReview: illegal tag %d (wire type %d)", fieldNum, wire)
6742
+		}
6743
+		switch fieldNum {
6744
+		case 1:
6745
+			if wireType != 2 {
6746
+				return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
6747
+			}
6748
+			var msglen int
6749
+			for shift := uint(0); ; shift += 7 {
6750
+				if shift >= 64 {
6751
+					return ErrIntOverflowGenerated
6752
+				}
6753
+				if iNdEx >= l {
6754
+					return io.ErrUnexpectedEOF
6755
+				}
6756
+				b := data[iNdEx]
6757
+				iNdEx++
6758
+				msglen |= (int(b) & 0x7F) << shift
6759
+				if b < 0x80 {
6760
+					break
6761
+				}
6762
+			}
6763
+			if msglen < 0 {
6764
+				return ErrInvalidLengthGenerated
6765
+			}
6766
+			postIndex := iNdEx + msglen
6767
+			if postIndex > l {
6768
+				return io.ErrUnexpectedEOF
6769
+			}
6770
+			if err := m.Action.Unmarshal(data[iNdEx:postIndex]); err != nil {
6771
+				return err
6772
+			}
6773
+			iNdEx = postIndex
6774
+		case 2:
6775
+			if wireType != 2 {
6776
+				return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
6777
+			}
6778
+			var stringLen uint64
6779
+			for shift := uint(0); ; shift += 7 {
6780
+				if shift >= 64 {
6781
+					return ErrIntOverflowGenerated
6782
+				}
6783
+				if iNdEx >= l {
6784
+					return io.ErrUnexpectedEOF
6785
+				}
6786
+				b := data[iNdEx]
6787
+				iNdEx++
6788
+				stringLen |= (uint64(b) & 0x7F) << shift
6789
+				if b < 0x80 {
6790
+					break
6791
+				}
6792
+			}
6793
+			intStringLen := int(stringLen)
6794
+			if intStringLen < 0 {
6795
+				return ErrInvalidLengthGenerated
6796
+			}
6797
+			postIndex := iNdEx + intStringLen
6798
+			if postIndex > l {
6799
+				return io.ErrUnexpectedEOF
6800
+			}
6801
+			m.User = string(data[iNdEx:postIndex])
6802
+			iNdEx = postIndex
6803
+		case 3:
6804
+			if wireType != 2 {
6805
+				return fmt.Errorf("proto: wrong wireType = %d for field GroupsSlice", wireType)
6806
+			}
6807
+			var stringLen uint64
6808
+			for shift := uint(0); ; shift += 7 {
6809
+				if shift >= 64 {
6810
+					return ErrIntOverflowGenerated
6811
+				}
6812
+				if iNdEx >= l {
6813
+					return io.ErrUnexpectedEOF
6814
+				}
6815
+				b := data[iNdEx]
6816
+				iNdEx++
6817
+				stringLen |= (uint64(b) & 0x7F) << shift
6818
+				if b < 0x80 {
6819
+					break
6820
+				}
6821
+			}
6822
+			intStringLen := int(stringLen)
6823
+			if intStringLen < 0 {
6824
+				return ErrInvalidLengthGenerated
6825
+			}
6826
+			postIndex := iNdEx + intStringLen
6827
+			if postIndex > l {
6828
+				return io.ErrUnexpectedEOF
6829
+			}
6830
+			m.GroupsSlice = append(m.GroupsSlice, string(data[iNdEx:postIndex]))
6831
+			iNdEx = postIndex
6832
+		case 4:
6833
+			if wireType != 2 {
6834
+				return fmt.Errorf("proto: wrong wireType = %d for field Scopes", wireType)
6835
+			}
6836
+			var msglen int
6837
+			for shift := uint(0); ; shift += 7 {
6838
+				if shift >= 64 {
6839
+					return ErrIntOverflowGenerated
6840
+				}
6841
+				if iNdEx >= l {
6842
+					return io.ErrUnexpectedEOF
6843
+				}
6844
+				b := data[iNdEx]
6845
+				iNdEx++
6846
+				msglen |= (int(b) & 0x7F) << shift
6847
+				if b < 0x80 {
6848
+					break
6849
+				}
6850
+			}
6851
+			if msglen < 0 {
6852
+				return ErrInvalidLengthGenerated
6853
+			}
6854
+			postIndex := iNdEx + msglen
6855
+			if postIndex > l {
6856
+				return io.ErrUnexpectedEOF
6857
+			}
6858
+			if m.Scopes == nil {
6859
+				m.Scopes = OptionalScopes{}
6860
+			}
6861
+			if err := m.Scopes.Unmarshal(data[iNdEx:postIndex]); err != nil {
6862
+				return err
6863
+			}
6864
+			iNdEx = postIndex
6865
+		default:
6866
+			iNdEx = preIndex
6867
+			skippy, err := skipGenerated(data[iNdEx:])
6868
+			if err != nil {
6869
+				return err
6870
+			}
6871
+			if skippy < 0 {
6872
+				return ErrInvalidLengthGenerated
6873
+			}
6874
+			if (iNdEx + skippy) > l {
6875
+				return io.ErrUnexpectedEOF
6876
+			}
6877
+			iNdEx += skippy
6878
+		}
6879
+	}
6880
+
6881
+	if iNdEx > l {
6882
+		return io.ErrUnexpectedEOF
6883
+	}
6884
+	return nil
6885
+}
6886
+func (m *SubjectAccessReviewResponse) Unmarshal(data []byte) error {
6887
+	l := len(data)
6888
+	iNdEx := 0
6889
+	for iNdEx < l {
6890
+		preIndex := iNdEx
6891
+		var wire uint64
6892
+		for shift := uint(0); ; shift += 7 {
6893
+			if shift >= 64 {
6894
+				return ErrIntOverflowGenerated
6895
+			}
6896
+			if iNdEx >= l {
6897
+				return io.ErrUnexpectedEOF
6898
+			}
6899
+			b := data[iNdEx]
6900
+			iNdEx++
6901
+			wire |= (uint64(b) & 0x7F) << shift
6902
+			if b < 0x80 {
6903
+				break
6904
+			}
6905
+		}
6906
+		fieldNum := int32(wire >> 3)
6907
+		wireType := int(wire & 0x7)
6908
+		if wireType == 4 {
6909
+			return fmt.Errorf("proto: SubjectAccessReviewResponse: wiretype end group for non-group")
6910
+		}
6911
+		if fieldNum <= 0 {
6912
+			return fmt.Errorf("proto: SubjectAccessReviewResponse: illegal tag %d (wire type %d)", fieldNum, wire)
6913
+		}
6914
+		switch fieldNum {
6915
+		case 1:
6916
+			if wireType != 2 {
6917
+				return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
6918
+			}
6919
+			var stringLen uint64
6920
+			for shift := uint(0); ; shift += 7 {
6921
+				if shift >= 64 {
6922
+					return ErrIntOverflowGenerated
6923
+				}
6924
+				if iNdEx >= l {
6925
+					return io.ErrUnexpectedEOF
6926
+				}
6927
+				b := data[iNdEx]
6928
+				iNdEx++
6929
+				stringLen |= (uint64(b) & 0x7F) << shift
6930
+				if b < 0x80 {
6931
+					break
6932
+				}
6933
+			}
6934
+			intStringLen := int(stringLen)
6935
+			if intStringLen < 0 {
6936
+				return ErrInvalidLengthGenerated
6937
+			}
6938
+			postIndex := iNdEx + intStringLen
6939
+			if postIndex > l {
6940
+				return io.ErrUnexpectedEOF
6941
+			}
6942
+			m.Namespace = string(data[iNdEx:postIndex])
6943
+			iNdEx = postIndex
6944
+		case 2:
6945
+			if wireType != 0 {
6946
+				return fmt.Errorf("proto: wrong wireType = %d for field Allowed", wireType)
6947
+			}
6948
+			var v int
6949
+			for shift := uint(0); ; shift += 7 {
6950
+				if shift >= 64 {
6951
+					return ErrIntOverflowGenerated
6952
+				}
6953
+				if iNdEx >= l {
6954
+					return io.ErrUnexpectedEOF
6955
+				}
6956
+				b := data[iNdEx]
6957
+				iNdEx++
6958
+				v |= (int(b) & 0x7F) << shift
6959
+				if b < 0x80 {
6960
+					break
6961
+				}
6962
+			}
6963
+			m.Allowed = bool(v != 0)
6964
+		case 3:
6965
+			if wireType != 2 {
6966
+				return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
6967
+			}
6968
+			var stringLen uint64
6969
+			for shift := uint(0); ; shift += 7 {
6970
+				if shift >= 64 {
6971
+					return ErrIntOverflowGenerated
6972
+				}
6973
+				if iNdEx >= l {
6974
+					return io.ErrUnexpectedEOF
6975
+				}
6976
+				b := data[iNdEx]
6977
+				iNdEx++
6978
+				stringLen |= (uint64(b) & 0x7F) << shift
6979
+				if b < 0x80 {
6980
+					break
6981
+				}
6982
+			}
6983
+			intStringLen := int(stringLen)
6984
+			if intStringLen < 0 {
6985
+				return ErrInvalidLengthGenerated
6986
+			}
6987
+			postIndex := iNdEx + intStringLen
6988
+			if postIndex > l {
6989
+				return io.ErrUnexpectedEOF
6990
+			}
6991
+			m.Reason = string(data[iNdEx:postIndex])
6992
+			iNdEx = postIndex
6993
+		case 4:
6994
+			if wireType != 2 {
6995
+				return fmt.Errorf("proto: wrong wireType = %d for field EvaluationError", wireType)
6996
+			}
6997
+			var stringLen uint64
6998
+			for shift := uint(0); ; shift += 7 {
6999
+				if shift >= 64 {
7000
+					return ErrIntOverflowGenerated
7001
+				}
7002
+				if iNdEx >= l {
7003
+					return io.ErrUnexpectedEOF
7004
+				}
7005
+				b := data[iNdEx]
7006
+				iNdEx++
7007
+				stringLen |= (uint64(b) & 0x7F) << shift
7008
+				if b < 0x80 {
7009
+					break
7010
+				}
7011
+			}
7012
+			intStringLen := int(stringLen)
7013
+			if intStringLen < 0 {
7014
+				return ErrInvalidLengthGenerated
7015
+			}
7016
+			postIndex := iNdEx + intStringLen
7017
+			if postIndex > l {
7018
+				return io.ErrUnexpectedEOF
7019
+			}
7020
+			m.EvaluationError = string(data[iNdEx:postIndex])
7021
+			iNdEx = postIndex
7022
+		default:
7023
+			iNdEx = preIndex
7024
+			skippy, err := skipGenerated(data[iNdEx:])
7025
+			if err != nil {
7026
+				return err
7027
+			}
7028
+			if skippy < 0 {
7029
+				return ErrInvalidLengthGenerated
7030
+			}
7031
+			if (iNdEx + skippy) > l {
7032
+				return io.ErrUnexpectedEOF
7033
+			}
7034
+			iNdEx += skippy
7035
+		}
7036
+	}
7037
+
7038
+	if iNdEx > l {
7039
+		return io.ErrUnexpectedEOF
7040
+	}
7041
+	return nil
7042
+}
7043
+func (m *SubjectRulesReview) Unmarshal(data []byte) error {
7044
+	l := len(data)
7045
+	iNdEx := 0
7046
+	for iNdEx < l {
7047
+		preIndex := iNdEx
7048
+		var wire uint64
7049
+		for shift := uint(0); ; shift += 7 {
7050
+			if shift >= 64 {
7051
+				return ErrIntOverflowGenerated
7052
+			}
7053
+			if iNdEx >= l {
7054
+				return io.ErrUnexpectedEOF
7055
+			}
7056
+			b := data[iNdEx]
7057
+			iNdEx++
7058
+			wire |= (uint64(b) & 0x7F) << shift
7059
+			if b < 0x80 {
7060
+				break
7061
+			}
7062
+		}
7063
+		fieldNum := int32(wire >> 3)
7064
+		wireType := int(wire & 0x7)
7065
+		if wireType == 4 {
7066
+			return fmt.Errorf("proto: SubjectRulesReview: wiretype end group for non-group")
7067
+		}
7068
+		if fieldNum <= 0 {
7069
+			return fmt.Errorf("proto: SubjectRulesReview: illegal tag %d (wire type %d)", fieldNum, wire)
7070
+		}
7071
+		switch fieldNum {
7072
+		case 1:
7073
+			if wireType != 2 {
7074
+				return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
7075
+			}
7076
+			var msglen int
7077
+			for shift := uint(0); ; shift += 7 {
7078
+				if shift >= 64 {
7079
+					return ErrIntOverflowGenerated
7080
+				}
7081
+				if iNdEx >= l {
7082
+					return io.ErrUnexpectedEOF
7083
+				}
7084
+				b := data[iNdEx]
7085
+				iNdEx++
7086
+				msglen |= (int(b) & 0x7F) << shift
7087
+				if b < 0x80 {
7088
+					break
7089
+				}
7090
+			}
7091
+			if msglen < 0 {
7092
+				return ErrInvalidLengthGenerated
7093
+			}
7094
+			postIndex := iNdEx + msglen
7095
+			if postIndex > l {
7096
+				return io.ErrUnexpectedEOF
7097
+			}
7098
+			if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
7099
+				return err
7100
+			}
7101
+			iNdEx = postIndex
7102
+		case 2:
7103
+			if wireType != 2 {
7104
+				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
7105
+			}
7106
+			var msglen int
7107
+			for shift := uint(0); ; shift += 7 {
7108
+				if shift >= 64 {
7109
+					return ErrIntOverflowGenerated
7110
+				}
7111
+				if iNdEx >= l {
7112
+					return io.ErrUnexpectedEOF
7113
+				}
7114
+				b := data[iNdEx]
7115
+				iNdEx++
7116
+				msglen |= (int(b) & 0x7F) << shift
7117
+				if b < 0x80 {
7118
+					break
7119
+				}
7120
+			}
7121
+			if msglen < 0 {
7122
+				return ErrInvalidLengthGenerated
7123
+			}
7124
+			postIndex := iNdEx + msglen
7125
+			if postIndex > l {
7126
+				return io.ErrUnexpectedEOF
7127
+			}
7128
+			if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
7129
+				return err
7130
+			}
7131
+			iNdEx = postIndex
7132
+		default:
7133
+			iNdEx = preIndex
7134
+			skippy, err := skipGenerated(data[iNdEx:])
7135
+			if err != nil {
7136
+				return err
7137
+			}
7138
+			if skippy < 0 {
7139
+				return ErrInvalidLengthGenerated
7140
+			}
7141
+			if (iNdEx + skippy) > l {
7142
+				return io.ErrUnexpectedEOF
7143
+			}
7144
+			iNdEx += skippy
7145
+		}
7146
+	}
7147
+
7148
+	if iNdEx > l {
7149
+		return io.ErrUnexpectedEOF
7150
+	}
7151
+	return nil
7152
+}
7153
+func (m *SubjectRulesReviewSpec) Unmarshal(data []byte) error {
7154
+	l := len(data)
7155
+	iNdEx := 0
7156
+	for iNdEx < l {
7157
+		preIndex := iNdEx
7158
+		var wire uint64
7159
+		for shift := uint(0); ; shift += 7 {
7160
+			if shift >= 64 {
7161
+				return ErrIntOverflowGenerated
7162
+			}
7163
+			if iNdEx >= l {
7164
+				return io.ErrUnexpectedEOF
7165
+			}
7166
+			b := data[iNdEx]
7167
+			iNdEx++
7168
+			wire |= (uint64(b) & 0x7F) << shift
7169
+			if b < 0x80 {
7170
+				break
7171
+			}
7172
+		}
7173
+		fieldNum := int32(wire >> 3)
7174
+		wireType := int(wire & 0x7)
7175
+		if wireType == 4 {
7176
+			return fmt.Errorf("proto: SubjectRulesReviewSpec: wiretype end group for non-group")
7177
+		}
7178
+		if fieldNum <= 0 {
7179
+			return fmt.Errorf("proto: SubjectRulesReviewSpec: illegal tag %d (wire type %d)", fieldNum, wire)
7180
+		}
7181
+		switch fieldNum {
7182
+		case 1:
7183
+			if wireType != 2 {
7184
+				return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
7185
+			}
7186
+			var stringLen uint64
7187
+			for shift := uint(0); ; shift += 7 {
7188
+				if shift >= 64 {
7189
+					return ErrIntOverflowGenerated
7190
+				}
7191
+				if iNdEx >= l {
7192
+					return io.ErrUnexpectedEOF
7193
+				}
7194
+				b := data[iNdEx]
7195
+				iNdEx++
7196
+				stringLen |= (uint64(b) & 0x7F) << shift
7197
+				if b < 0x80 {
7198
+					break
7199
+				}
7200
+			}
7201
+			intStringLen := int(stringLen)
7202
+			if intStringLen < 0 {
7203
+				return ErrInvalidLengthGenerated
7204
+			}
7205
+			postIndex := iNdEx + intStringLen
7206
+			if postIndex > l {
7207
+				return io.ErrUnexpectedEOF
7208
+			}
7209
+			m.User = string(data[iNdEx:postIndex])
7210
+			iNdEx = postIndex
7211
+		case 2:
7212
+			if wireType != 2 {
7213
+				return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType)
7214
+			}
7215
+			var stringLen uint64
7216
+			for shift := uint(0); ; shift += 7 {
7217
+				if shift >= 64 {
7218
+					return ErrIntOverflowGenerated
7219
+				}
7220
+				if iNdEx >= l {
7221
+					return io.ErrUnexpectedEOF
7222
+				}
7223
+				b := data[iNdEx]
7224
+				iNdEx++
7225
+				stringLen |= (uint64(b) & 0x7F) << shift
7226
+				if b < 0x80 {
7227
+					break
7228
+				}
7229
+			}
7230
+			intStringLen := int(stringLen)
7231
+			if intStringLen < 0 {
7232
+				return ErrInvalidLengthGenerated
7233
+			}
7234
+			postIndex := iNdEx + intStringLen
7235
+			if postIndex > l {
7236
+				return io.ErrUnexpectedEOF
7237
+			}
7238
+			m.Groups = append(m.Groups, string(data[iNdEx:postIndex]))
7239
+			iNdEx = postIndex
7240
+		case 3:
7241
+			if wireType != 2 {
7242
+				return fmt.Errorf("proto: wrong wireType = %d for field Scopes", wireType)
7243
+			}
7244
+			var msglen int
7245
+			for shift := uint(0); ; shift += 7 {
7246
+				if shift >= 64 {
7247
+					return ErrIntOverflowGenerated
7248
+				}
7249
+				if iNdEx >= l {
7250
+					return io.ErrUnexpectedEOF
7251
+				}
7252
+				b := data[iNdEx]
7253
+				iNdEx++
7254
+				msglen |= (int(b) & 0x7F) << shift
7255
+				if b < 0x80 {
7256
+					break
7257
+				}
7258
+			}
7259
+			if msglen < 0 {
7260
+				return ErrInvalidLengthGenerated
7261
+			}
7262
+			postIndex := iNdEx + msglen
7263
+			if postIndex > l {
7264
+				return io.ErrUnexpectedEOF
7265
+			}
7266
+			if m.Scopes == nil {
7267
+				m.Scopes = OptionalScopes{}
7268
+			}
7269
+			if err := m.Scopes.Unmarshal(data[iNdEx:postIndex]); err != nil {
7270
+				return err
7271
+			}
7272
+			iNdEx = postIndex
7273
+		default:
7274
+			iNdEx = preIndex
7275
+			skippy, err := skipGenerated(data[iNdEx:])
7276
+			if err != nil {
7277
+				return err
7278
+			}
7279
+			if skippy < 0 {
7280
+				return ErrInvalidLengthGenerated
7281
+			}
7282
+			if (iNdEx + skippy) > l {
7283
+				return io.ErrUnexpectedEOF
7284
+			}
7285
+			iNdEx += skippy
7286
+		}
7287
+	}
7288
+
7289
+	if iNdEx > l {
7290
+		return io.ErrUnexpectedEOF
7291
+	}
7292
+	return nil
7293
+}
7294
+func (m *SubjectRulesReviewStatus) Unmarshal(data []byte) error {
7295
+	l := len(data)
7296
+	iNdEx := 0
7297
+	for iNdEx < l {
7298
+		preIndex := iNdEx
7299
+		var wire uint64
7300
+		for shift := uint(0); ; shift += 7 {
7301
+			if shift >= 64 {
7302
+				return ErrIntOverflowGenerated
7303
+			}
7304
+			if iNdEx >= l {
7305
+				return io.ErrUnexpectedEOF
7306
+			}
7307
+			b := data[iNdEx]
7308
+			iNdEx++
7309
+			wire |= (uint64(b) & 0x7F) << shift
7310
+			if b < 0x80 {
7311
+				break
7312
+			}
7313
+		}
7314
+		fieldNum := int32(wire >> 3)
7315
+		wireType := int(wire & 0x7)
7316
+		if wireType == 4 {
7317
+			return fmt.Errorf("proto: SubjectRulesReviewStatus: wiretype end group for non-group")
7318
+		}
7319
+		if fieldNum <= 0 {
7320
+			return fmt.Errorf("proto: SubjectRulesReviewStatus: illegal tag %d (wire type %d)", fieldNum, wire)
7321
+		}
7322
+		switch fieldNum {
7323
+		case 1:
7324
+			if wireType != 2 {
7325
+				return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType)
7326
+			}
7327
+			var msglen int
7328
+			for shift := uint(0); ; shift += 7 {
7329
+				if shift >= 64 {
7330
+					return ErrIntOverflowGenerated
7331
+				}
7332
+				if iNdEx >= l {
7333
+					return io.ErrUnexpectedEOF
7334
+				}
7335
+				b := data[iNdEx]
7336
+				iNdEx++
7337
+				msglen |= (int(b) & 0x7F) << shift
7338
+				if b < 0x80 {
7339
+					break
7340
+				}
7341
+			}
7342
+			if msglen < 0 {
7343
+				return ErrInvalidLengthGenerated
7344
+			}
7345
+			postIndex := iNdEx + msglen
7346
+			if postIndex > l {
7347
+				return io.ErrUnexpectedEOF
7348
+			}
7349
+			m.Rules = append(m.Rules, PolicyRule{})
7350
+			if err := m.Rules[len(m.Rules)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
7351
+				return err
7352
+			}
7353
+			iNdEx = postIndex
7354
+		case 2:
7355
+			if wireType != 2 {
7356
+				return fmt.Errorf("proto: wrong wireType = %d for field EvaluationError", wireType)
7357
+			}
7358
+			var stringLen uint64
7359
+			for shift := uint(0); ; shift += 7 {
7360
+				if shift >= 64 {
7361
+					return ErrIntOverflowGenerated
7362
+				}
7363
+				if iNdEx >= l {
7364
+					return io.ErrUnexpectedEOF
7365
+				}
7366
+				b := data[iNdEx]
7367
+				iNdEx++
7368
+				stringLen |= (uint64(b) & 0x7F) << shift
7369
+				if b < 0x80 {
7370
+					break
7371
+				}
7372
+			}
7373
+			intStringLen := int(stringLen)
7374
+			if intStringLen < 0 {
7375
+				return ErrInvalidLengthGenerated
7376
+			}
7377
+			postIndex := iNdEx + intStringLen
7378
+			if postIndex > l {
7379
+				return io.ErrUnexpectedEOF
7380
+			}
7381
+			m.EvaluationError = string(data[iNdEx:postIndex])
7382
+			iNdEx = postIndex
7383
+		default:
7384
+			iNdEx = preIndex
7385
+			skippy, err := skipGenerated(data[iNdEx:])
7386
+			if err != nil {
7387
+				return err
7388
+			}
7389
+			if skippy < 0 {
7390
+				return ErrInvalidLengthGenerated
7391
+			}
7392
+			if (iNdEx + skippy) > l {
7393
+				return io.ErrUnexpectedEOF
7394
+			}
7395
+			iNdEx += skippy
7396
+		}
7397
+	}
7398
+
7399
+	if iNdEx > l {
7400
+		return io.ErrUnexpectedEOF
7401
+	}
7402
+	return nil
7403
+}
7404
+func skipGenerated(data []byte) (n int, err error) {
7405
+	l := len(data)
7406
+	iNdEx := 0
7407
+	for iNdEx < l {
7408
+		var wire uint64
7409
+		for shift := uint(0); ; shift += 7 {
7410
+			if shift >= 64 {
7411
+				return 0, ErrIntOverflowGenerated
7412
+			}
7413
+			if iNdEx >= l {
7414
+				return 0, io.ErrUnexpectedEOF
7415
+			}
7416
+			b := data[iNdEx]
7417
+			iNdEx++
7418
+			wire |= (uint64(b) & 0x7F) << shift
7419
+			if b < 0x80 {
7420
+				break
7421
+			}
7422
+		}
7423
+		wireType := int(wire & 0x7)
7424
+		switch wireType {
7425
+		case 0:
7426
+			for shift := uint(0); ; shift += 7 {
7427
+				if shift >= 64 {
7428
+					return 0, ErrIntOverflowGenerated
7429
+				}
7430
+				if iNdEx >= l {
7431
+					return 0, io.ErrUnexpectedEOF
7432
+				}
7433
+				iNdEx++
7434
+				if data[iNdEx-1] < 0x80 {
7435
+					break
7436
+				}
7437
+			}
7438
+			return iNdEx, nil
7439
+		case 1:
7440
+			iNdEx += 8
7441
+			return iNdEx, nil
7442
+		case 2:
7443
+			var length int
7444
+			for shift := uint(0); ; shift += 7 {
7445
+				if shift >= 64 {
7446
+					return 0, ErrIntOverflowGenerated
7447
+				}
7448
+				if iNdEx >= l {
7449
+					return 0, io.ErrUnexpectedEOF
7450
+				}
7451
+				b := data[iNdEx]
7452
+				iNdEx++
7453
+				length |= (int(b) & 0x7F) << shift
7454
+				if b < 0x80 {
7455
+					break
7456
+				}
7457
+			}
7458
+			iNdEx += length
7459
+			if length < 0 {
7460
+				return 0, ErrInvalidLengthGenerated
7461
+			}
7462
+			return iNdEx, nil
7463
+		case 3:
7464
+			for {
7465
+				var innerWire uint64
7466
+				var start int = iNdEx
7467
+				for shift := uint(0); ; shift += 7 {
7468
+					if shift >= 64 {
7469
+						return 0, ErrIntOverflowGenerated
7470
+					}
7471
+					if iNdEx >= l {
7472
+						return 0, io.ErrUnexpectedEOF
7473
+					}
7474
+					b := data[iNdEx]
7475
+					iNdEx++
7476
+					innerWire |= (uint64(b) & 0x7F) << shift
7477
+					if b < 0x80 {
7478
+						break
7479
+					}
7480
+				}
7481
+				innerWireType := int(innerWire & 0x7)
7482
+				if innerWireType == 4 {
7483
+					break
7484
+				}
7485
+				next, err := skipGenerated(data[start:])
7486
+				if err != nil {
7487
+					return 0, err
7488
+				}
7489
+				iNdEx = start + next
7490
+			}
7491
+			return iNdEx, nil
7492
+		case 4:
7493
+			return iNdEx, nil
7494
+		case 5:
7495
+			iNdEx += 4
7496
+			return iNdEx, nil
7497
+		default:
7498
+			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
7499
+		}
7500
+	}
7501
+	panic("unreachable")
7502
+}
7503
+
7504
+var (
7505
+	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
7506
+	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
7507
+)
7508
+
7509
+var fileDescriptorGenerated = []byte{
7510
+	// 1718 bytes of a gzipped FileDescriptorProto
7511
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x19, 0x4b, 0x6f, 0x1b, 0x55,
7512
+	0x37, 0x63, 0x3b, 0x4e, 0x7c, 0x9c, 0x47, 0x73, 0x9b, 0xb6, 0xfe, 0xd2, 0xaf, 0x4d, 0x35, 0xaa,
7513
+	0xbe, 0xaf, 0x55, 0xdb, 0x31, 0x89, 0x40, 0x94, 0x52, 0xa9, 0xd8, 0x7d, 0x51, 0x94, 0xb6, 0xd1,
7514
+	0x0d, 0xad, 0x50, 0x79, 0x69, 0x62, 0xdf, 0x38, 0x43, 0x9d, 0x19, 0x6b, 0xee, 0x4c, 0x52, 0xd8,
7515
+	0xd0, 0x05, 0x8f, 0x05, 0x2c, 0xd8, 0x20, 0x60, 0x87, 0x84, 0xc4, 0x06, 0x89, 0x5f, 0x00, 0x3b,
7516
+	0x24, 0x22, 0x16, 0xa8, 0x12, 0x9b, 0x2e, 0x4a, 0x81, 0x82, 0x58, 0xf0, 0x13, 0x10, 0x0b, 0xee,
7517
+	0xbd, 0x73, 0xe7, 0x65, 0x8f, 0x55, 0xc7, 0x76, 0x2c, 0xa8, 0xb2, 0x18, 0xc5, 0x73, 0xef, 0x79,
7518
+	0xbf, 0xe6, 0x9c, 0x13, 0x38, 0x57, 0x33, 0x9c, 0x55, 0x77, 0x59, 0xab, 0x58, 0x6b, 0x45, 0xab,
7519
+	0x41, 0x4c, 0xba, 0x6a, 0xac, 0x38, 0x45, 0xcb, 0x36, 0x6a, 0x86, 0x59, 0x6c, 0xdc, 0xac, 0x15,
7520
+	0x75, 0xd7, 0x59, 0x65, 0xaf, 0x6f, 0xe8, 0x8e, 0x61, 0x99, 0x45, 0xbd, 0x61, 0x14, 0xd7, 0xe7,
7521
+	0x8a, 0x35, 0x62, 0x12, 0x5b, 0x77, 0x48, 0x55, 0x6b, 0xd8, 0x96, 0x63, 0xa1, 0xc7, 0x43, 0x2a,
7522
+	0x5a, 0x40, 0x45, 0xf3, 0xa8, 0x68, 0x8c, 0x8a, 0x16, 0xa3, 0xa2, 0x31, 0x2a, 0xda, 0xfa, 0xdc,
7523
+	0xcc, 0x89, 0x08, 0xef, 0x9a, 0x55, 0xb3, 0x8a, 0x82, 0xd8, 0xb2, 0xbb, 0x22, 0xde, 0xc4, 0x8b,
7524
+	0xf8, 0xe5, 0x31, 0x99, 0x79, 0xe2, 0xe6, 0x49, 0xaa, 0x19, 0x56, 0xf1, 0xa6, 0xbb, 0x4c, 0x6c,
7525
+	0x93, 0x38, 0x84, 0x7a, 0x02, 0x32, 0x91, 0x5c, 0x73, 0x9d, 0xd8, 0x94, 0x91, 0x26, 0xd5, 0x66,
7526
+	0xd9, 0x66, 0x8e, 0xb7, 0x47, 0x6b, 0xd5, 0x64, 0xe6, 0x44, 0x32, 0xb4, 0xed, 0x9a, 0x8e, 0xb1,
7527
+	0x46, 0x5a, 0xc0, 0xe7, 0x92, 0xc1, 0x5d, 0xc7, 0xa8, 0x17, 0x0d, 0xd3, 0xa1, 0x8e, 0xdd, 0x8c,
7528
+	0xa2, 0x7e, 0x94, 0x86, 0x6c, 0xa9, 0xc2, 0xed, 0x80, 0x8a, 0x90, 0x33, 0xf5, 0x35, 0x42, 0x1b,
7529
+	0x7a, 0x85, 0x14, 0x94, 0x43, 0xca, 0x91, 0x5c, 0x79, 0x6a, 0xf3, 0xfe, 0xec, 0xd0, 0x83, 0xfb,
7530
+	0xb3, 0xb9, 0x2b, 0xfe, 0x05, 0x0e, 0x61, 0xd0, 0x21, 0xc8, 0x30, 0x45, 0x97, 0x0b, 0x29, 0x01,
7531
+	0x3b, 0x26, 0x61, 0x33, 0xd7, 0xd9, 0x19, 0x16, 0x37, 0xe8, 0x29, 0xd8, 0x65, 0x13, 0x6a, 0xb9,
7532
+	0x76, 0x85, 0x94, 0x16, 0x2f, 0x5d, 0xb4, 0x2d, 0xb7, 0x51, 0x48, 0x0b, 0xe8, 0x71, 0x09, 0x3d,
7533
+	0x2c, 0x0e, 0x71, 0x0b, 0x18, 0x3a, 0x03, 0x28, 0x72, 0x76, 0xdd, 0x33, 0x68, 0x21, 0x23, 0x90,
7534
+	0x27, 0x25, 0xf2, 0x88, 0x3c, 0xc6, 0x09, 0xa0, 0xe8, 0x38, 0x8c, 0xfa, 0xa7, 0x85, 0x61, 0x81,
7535
+	0xb6, 0x4b, 0xa2, 0x8d, 0x62, 0x79, 0x8e, 0x03, 0x08, 0x74, 0x12, 0xc6, 0xfc, 0xdf, 0x5c, 0xd7,
7536
+	0x42, 0x56, 0x60, 0x4c, 0x4b, 0x8c, 0x31, 0x1c, 0xb9, 0xc3, 0x31, 0x48, 0x74, 0x1d, 0x46, 0x2a,
7537
+	0x96, 0xe9, 0x10, 0xd3, 0x29, 0x8c, 0x30, 0xa4, 0xfc, 0xfc, 0x31, 0xcd, 0x73, 0x83, 0x16, 0xba,
7538
+	0x41, 0x44, 0x9d, 0xf4, 0x9a, 0x86, 0xf5, 0x8d, 0xf3, 0xb7, 0x18, 0x3c, 0x97, 0x32, 0x54, 0xe5,
7539
+	0xac, 0x47, 0x03, 0xfb, 0xc4, 0xd4, 0x1f, 0x52, 0x30, 0x7e, 0xb6, 0xee, 0x52, 0x87, 0xd8, 0x8b,
7540
+	0x56, 0xdd, 0xa8, 0xbc, 0x8e, 0x5e, 0x80, 0xd1, 0x35, 0xe2, 0xe8, 0x55, 0xdd, 0xd1, 0x85, 0x7f,
7541
+	0xf2, 0xf3, 0x47, 0xda, 0xb0, 0xf2, 0x42, 0x5a, 0xbb, 0xba, 0xfc, 0x1a, 0xa9, 0x38, 0x97, 0x19,
7542
+	0x4e, 0x19, 0x49, 0x3e, 0x10, 0x9e, 0xe1, 0x80, 0x1a, 0x22, 0x30, 0x56, 0xd7, 0xa9, 0x73, 0xd9,
7543
+	0xaa, 0x1a, 0x2b, 0x06, 0xa9, 0x0a, 0x8f, 0xb6, 0x57, 0x84, 0x53, 0x8f, 0xc4, 0xb8, 0xf6, 0x3c,
7544
+	0xd3, 0x2a, 0x34, 0xd5, 0x42, 0x84, 0x10, 0x8e, 0x91, 0x45, 0xb7, 0x15, 0x18, 0xb6, 0xad, 0x3a,
7545
+	0xa1, 0x2c, 0x08, 0xd2, 0x8c, 0xc1, 0x05, 0xad, 0x9b, 0x4c, 0xd5, 0xb8, 0xd9, 0xab, 0xd2, 0x34,
7546
+	0x98, 0x91, 0x2b, 0xab, 0x7e, 0x30, 0xf1, 0x37, 0xfa, 0xe7, 0xfd, 0xd9, 0xa9, 0x66, 0x10, 0x8a,
7547
+	0x3d, 0xc6, 0xea, 0x8f, 0x69, 0x98, 0x8e, 0x59, 0xb5, 0x6c, 0x98, 0x55, 0xc3, 0xac, 0xfd, 0xfb,
7548
+	0x8d, 0xfb, 0x0a, 0xe4, 0x1a, 0x42, 0x23, 0x4c, 0x56, 0x44, 0x92, 0xe5, 0xe7, 0x4f, 0x74, 0xa2,
7549
+	0x01, 0x03, 0x27, 0x36, 0x31, 0x2b, 0x24, 0xcc, 0xf6, 0x45, 0x9f, 0x0e, 0x0e, 0x49, 0xa2, 0xcf,
7550
+	0x14, 0x96, 0x22, 0xdc, 0xda, 0x9e, 0xc1, 0x28, 0xcb, 0x45, 0xee, 0xc3, 0xcb, 0x7d, 0xf2, 0xa1,
7551
+	0x47, 0xb5, 0xfc, 0x58, 0x90, 0x71, 0x11, 0x56, 0xcc, 0xa3, 0x85, 0x36, 0x08, 0x14, 0xc7, 0x84,
7552
+	0x52, 0xff, 0x50, 0xa0, 0x90, 0xe4, 0xdf, 0x05, 0x83, 0x3a, 0xe8, 0xe5, 0x16, 0x1f, 0x17, 0x3b,
7553
+	0xf4, 0x02, 0x47, 0x17, 0xae, 0x0e, 0x6a, 0x88, 0x7f, 0x12, 0x71, 0xb4, 0x05, 0xc3, 0x86, 0x43,
7554
+	0xd6, 0x28, 0xf3, 0x30, 0xb7, 0xcc, 0x73, 0xdd, 0x59, 0x26, 0x49, 0xfa, 0xb0, 0x5c, 0x5e, 0xe2,
7555
+	0x0c, 0xb0, 0xc7, 0x47, 0xbd, 0xa7, 0xc0, 0x54, 0x0c, 0x7c, 0x10, 0x5a, 0xae, 0xc6, 0xb5, 0x3c,
7556
+	0xdb, 0x0f, 0x2d, 0x93, 0xd5, 0xfb, 0x5e, 0x81, 0x7c, 0xc4, 0xe3, 0xdb, 0x9a, 0xa2, 0xc3, 0xb6,
7557
+	0xcb, 0xeb, 0x92, 0xa7, 0xd3, 0x33, 0xdd, 0xe9, 0x24, 0xd3, 0x86, 0x11, 0x0a, 0x15, 0xe2, 0x6f,
7558
+	0xbc, 0xf8, 0xf0, 0x3f, 0xea, 0xfb, 0x19, 0x40, 0xad, 0x21, 0xbc, 0x8d, 0x7a, 0x35, 0x20, 0xe7,
7559
+	0x52, 0x62, 0x8b, 0xaf, 0xb7, 0xac, 0x3b, 0x5d, 0xfa, 0xeb, 0x6a, 0x83, 0xbf, 0xe9, 0x75, 0x41,
7560
+	0xaa, 0x3c, 0xce, 0xab, 0xc4, 0x35, 0x9f, 0x32, 0x0e, 0x99, 0x20, 0x0a, 0x50, 0xe3, 0xdf, 0x6f,
7561
+	0x8f, 0x65, 0xba, 0x7f, 0x2c, 0x27, 0xb8, 0x92, 0x17, 0x03, 0xd2, 0x38, 0xc2, 0x06, 0xbd, 0x08,
7562
+	0xa3, 0xd4, 0x15, 0xfa, 0xfb, 0x55, 0x69, 0x8b, 0x95, 0x2f, 0x88, 0xf7, 0x25, 0x49, 0x06, 0x07,
7563
+	0x04, 0x99, 0x77, 0x46, 0x78, 0x85, 0xe1, 0x55, 0x75, 0xb8, 0x9b, 0xaa, 0x1a, 0x7c, 0xe1, 0xb1,
7564
+	0x47, 0x05, 0xfb, 0xe4, 0xd4, 0xdf, 0x15, 0xd8, 0xdb, 0x1a, 0x0e, 0x83, 0xc8, 0xe1, 0xb5, 0x78,
7565
+	0x0e, 0x3f, 0xdb, 0x53, 0x0e, 0x47, 0xcb, 0x77, 0x72, 0x22, 0xdf, 0x55, 0x60, 0x32, 0x02, 0x3c,
7566
+	0x08, 0x0d, 0x57, 0xe2, 0x1a, 0x96, 0x7a, 0xd7, 0x30, 0x59, 0xb5, 0x59, 0x38, 0x70, 0x89, 0x2e,
7567
+	0x32, 0xd9, 0x78, 0xa4, 0xca, 0xe8, 0x29, 0x55, 0x2a, 0x84, 0x52, 0x4c, 0xd6, 0x0d, 0xb2, 0xa1,
7568
+	0x6e, 0xc0, 0x7f, 0x16, 0xac, 0x8a, 0x5e, 0xf7, 0x3b, 0xc8, 0xe8, 0x25, 0xba, 0xe1, 0x37, 0xdf,
7569
+	0xd2, 0x04, 0xa7, 0xbb, 0x13, 0xd3, 0xa3, 0x51, 0xce, 0x70, 0x09, 0x71, 0x56, 0x17, 0x6f, 0xea,
7570
+	0x17, 0x29, 0x28, 0x08, 0xce, 0x09, 0x52, 0x6d, 0x27, 0x63, 0x3e, 0x16, 0xf0, 0x7a, 0xd0, 0x3c,
7571
+	0x16, 0xf0, 0x72, 0x81, 0xc5, 0x0d, 0xfa, 0x3f, 0x64, 0x45, 0xf6, 0x7a, 0x7d, 0x20, 0xeb, 0xe7,
7572
+	0xd9, 0x7d, 0x5e, 0xe4, 0x36, 0x5d, 0x62, 0x25, 0x94, 0x60, 0x79, 0xcd, 0xbe, 0x35, 0x59, 0x5a,
7573
+	0x61, 0xe2, 0x50, 0xd1, 0xf8, 0xe7, 0xe7, 0xcf, 0xf5, 0x56, 0x49, 0x96, 0x04, 0xad, 0x32, 0x30,
7574
+	0x76, 0x59, 0xef, 0x37, 0x96, 0xf4, 0xd5, 0x4f, 0x14, 0xd8, 0xd5, 0xdc, 0x62, 0x70, 0x4d, 0xf8,
7575
+	0xb4, 0x23, 0x87, 0xa1, 0x40, 0x13, 0x31, 0x04, 0x88, 0x1b, 0x54, 0x81, 0x0c, 0xcf, 0x66, 0x59,
7576
+	0x5b, 0xfb, 0x10, 0x65, 0x01, 0x13, 0x51, 0x2d, 0x04, 0x71, 0xf5, 0x2b, 0x05, 0xf6, 0xb5, 0x69,
7577
+	0x7f, 0x3a, 0x10, 0xf1, 0x4d, 0xc8, 0x47, 0x3a, 0x24, 0x29, 0x69, 0xff, 0x32, 0x7e, 0xb7, 0x64,
7578
+	0x99, 0x8f, 0x1c, 0xe2, 0x28, 0x47, 0xf5, 0x3d, 0x05, 0xc4, 0xfc, 0x58, 0xed, 0xd0, 0xa6, 0x2f,
7579
+	0xc5, 0x6c, 0x7a, 0xaa, 0x3b, 0x49, 0xdb, 0x1a, 0xf3, 0x4b, 0xdf, 0xd1, 0x5b, 0xb3, 0xe2, 0xad,
7580
+	0x24, 0x2b, 0x96, 0x7a, 0x90, 0xad, 0x63, 0xf3, 0x9d, 0x82, 0xf1, 0xd8, 0x97, 0x10, 0xcd, 0xfa,
7581
+	0xa5, 0x4d, 0x11, 0xc9, 0x93, 0x6b, 0xae, 0x49, 0xa7, 0x46, 0x3f, 0xfe, 0x74, 0x76, 0xe8, 0xf6,
7582
+	0xbd, 0x43, 0x43, 0xea, 0xd3, 0x30, 0x11, 0x8f, 0xfd, 0xad, 0x20, 0x7f, 0x9d, 0x82, 0xec, 0xa3,
7583
+	0x32, 0x79, 0xda, 0xf1, 0xc1, 0xf3, 0x4c, 0x0f, 0x43, 0x8b, 0x70, 0xd4, 0xfe, 0xe6, 0x89, 0x13,
7584
+	0x82, 0xbb, 0x60, 0xd4, 0xdc, 0x4c, 0xc3, 0xf8, 0xce, 0x8c, 0xb9, 0xa5, 0x19, 0xf3, 0xc3, 0xe4,
7585
+	0x19, 0xf3, 0x42, 0xaf, 0xee, 0x92, 0xc9, 0x76, 0xb4, 0xcd, 0x70, 0x39, 0xd5, 0x0c, 0xd9, 0x3c,
7586
+	0x55, 0xf2, 0x41, 0x6b, 0xe0, 0xe3, 0x64, 0x7f, 0x06, 0xad, 0x4e, 0xe6, 0x48, 0x36, 0x68, 0xc1,
7587
+	0xe0, 0x06, 0x48, 0x3d, 0xae, 0xd7, 0xe9, 0x9e, 0xf4, 0x4a, 0x56, 0xe8, 0xdd, 0xb4, 0xaf, 0x10,
7588
+	0x9f, 0xbf, 0x78, 0xd1, 0xe3, 0xeb, 0xc8, 0x58, 0xd1, 0xe3, 0x5b, 0x4a, 0x06, 0x2f, 0xce, 0xf9,
7589
+	0x62, 0x6a, 0x8f, 0xee, 0x38, 0xb6, 0xb1, 0xec, 0x3a, 0xac, 0x35, 0xa7, 0xec, 0x97, 0xe8, 0x65,
7590
+	0xe8, 0x43, 0x12, 0x29, 0x71, 0xa5, 0x77, 0x40, 0x8a, 0xb4, 0xa7, 0x94, 0x44, 0x11, 0x27, 0x33,
7591
+	0x42, 0xc7, 0x20, 0xc7, 0x34, 0xbb, 0x18, 0x6d, 0x8b, 0xc4, 0x94, 0xe5, 0x2f, 0x44, 0xd9, 0x94,
7592
+	0x15, 0xdc, 0x73, 0x60, 0x7f, 0x07, 0xe9, 0xe5, 0x88, 0x04, 0xf6, 0x9b, 0x4c, 0x06, 0x1c, 0xdc,
7593
+	0xa3, 0x27, 0x61, 0x3c, 0xba, 0xb0, 0xa4, 0x6c, 0x8c, 0xe1, 0x08, 0x53, 0x0c, 0x61, 0x3c, 0xba,
7594
+	0xd7, 0xa4, 0x38, 0x0e, 0x87, 0xca, 0x30, 0x69, 0x5a, 0xa6, 0x0f, 0x72, 0x0d, 0x2f, 0xd0, 0x42,
7595
+	0x56, 0xa0, 0x16, 0x18, 0xea, 0xf4, 0x95, 0xf8, 0x95, 0xd7, 0xb8, 0x35, 0x23, 0xa8, 0x36, 0x4c,
7596
+	0x0f, 0xbc, 0xf3, 0xfd, 0x49, 0x81, 0xff, 0x26, 0x31, 0x65, 0x67, 0x0d, 0x66, 0x6a, 0xb2, 0xf5,
7597
+	0x4d, 0xf7, 0x61, 0x18, 0xe6, 0x8d, 0xab, 0x17, 0xb2, 0x39, 0x6f, 0x16, 0xe5, 0xfd, 0xac, 0xd4,
7598
+	0xda, 0xbb, 0xec, 0xbc, 0xad, 0x3d, 0x03, 0x13, 0x64, 0x5d, 0xaf, 0xbb, 0x5c, 0xda, 0xf3, 0xb6,
7599
+	0x6d, 0xd9, 0x72, 0xaf, 0xbd, 0x4f, 0x0a, 0x31, 0x79, 0x9e, 0xdf, 0xea, 0xc1, 0x35, 0x6e, 0x02,
7600
+	0x57, 0xbf, 0x55, 0x20, 0xf3, 0x68, 0xac, 0x44, 0xde, 0xce, 0x40, 0x7e, 0x67, 0x17, 0xb2, 0xb3,
7601
+	0x0b, 0xe1, 0x2b, 0x82, 0x01, 0x2f, 0x41, 0xfa, 0xb3, 0x22, 0x78, 0xf8, 0xf6, 0xe3, 0x3b, 0x05,
7602
+	0x46, 0x07, 0xb5, 0xf6, 0x78, 0x35, 0xae, 0x53, 0x2f, 0xc3, 0x53, 0xb2, 0x32, 0x6f, 0xa5, 0x60,
7603
+	0xef, 0x12, 0xa9, 0xaf, 0xc8, 0xe0, 0xf0, 0x72, 0xd9, 0x2b, 0xe9, 0x36, 0x64, 0x68, 0x83, 0x54,
7604
+	0xa4, 0x5a, 0x8b, 0xdd, 0xb1, 0x4e, 0xa6, 0xbd, 0xc4, 0xe8, 0x86, 0x63, 0x19, 0x7f, 0xc3, 0x82,
7605
+	0x17, 0x5a, 0x87, 0x2c, 0x75, 0x74, 0xc7, 0xf5, 0x33, 0xfa, 0x4a, 0x97, 0x5c, 0x5b, 0x39, 0x0a,
7606
+	0xaa, 0xe5, 0x09, 0xc9, 0x33, 0xeb, 0xbd, 0x63, 0xc9, 0x4d, 0x7d, 0x47, 0x81, 0x99, 0xf6, 0xa2,
7607
+	0x46, 0xf6, 0x16, 0xca, 0x36, 0xef, 0x2d, 0x3e, 0x4f, 0xc1, 0xee, 0x9d, 0x05, 0x4f, 0x07, 0x86,
7608
+	0xfa, 0x4d, 0x81, 0xfd, 0x09, 0x86, 0xea, 0xbe, 0x27, 0x38, 0x0a, 0x23, 0x7a, 0xbd, 0x6e, 0x6d,
7609
+	0xc8, 0x69, 0x6b, 0x34, 0x2c, 0x6e, 0x25, 0xef, 0x18, 0xfb, 0xf7, 0xe8, 0x7f, 0x90, 0xb5, 0x89,
7610
+	0x4e, 0x99, 0x33, 0xbc, 0x7f, 0x7e, 0x07, 0x51, 0x85, 0xc5, 0x29, 0x96, 0xb7, 0xa8, 0x04, 0x93,
7611
+	0x24, 0xfe, 0xe5, 0x7f, 0x58, 0x63, 0xd0, 0x0c, 0xaf, 0xfe, 0xa5, 0x00, 0x4a, 0xc8, 0x4d, 0x33,
7612
+	0x96, 0x9b, 0x0b, 0x7d, 0xcb, 0x92, 0x7f, 0x5a, 0x5e, 0x6e, 0x2a, 0xac, 0x3c, 0x25, 0xe7, 0xa4,
7613
+	0x1f, 0xb5, 0x4a, 0xdb, 0xa8, 0x55, 0x83, 0xa8, 0xf5, 0xda, 0x3c, 0x11, 0x46, 0xb2, 0xf9, 0x6e,
7614
+	0x0d, 0xd8, 0xf4, 0x36, 0x07, 0xec, 0x37, 0x0a, 0x14, 0xda, 0xe9, 0x1f, 0x76, 0x67, 0xca, 0x76,
7615
+	0x76, 0x67, 0x49, 0x01, 0x99, 0xda, 0x5a, 0x40, 0x96, 0x0f, 0x6f, 0xfe, 0x72, 0x70, 0xe8, 0x0e,
7616
+	0x7b, 0xee, 0xb2, 0xe7, 0xf6, 0x83, 0x83, 0xca, 0x26, 0x7b, 0xee, 0xb0, 0xe7, 0x67, 0xf6, 0x7c,
7617
+	0xf0, 0xeb, 0xc1, 0xa1, 0x1b, 0xa9, 0xf5, 0xb9, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x8f, 0xf9,
7618
+	0x0f, 0x3f, 0xf9, 0x23, 0x00, 0x00,
7619
+}