1 /* This file was generated by upbc (the upb compiler) from the input
4 * envoy/config/rbac/v3/rbac.proto
6 * Do not edit -- your changes will be discarded when the file is
11 #include "envoy/config/rbac/v3/rbac.upb.h"
12 #include "envoy/config/core/v3/address.upb.h"
13 #include "envoy/config/route/v3/route_components.upb.h"
14 #include "envoy/type/matcher/v3/metadata.upb.h"
15 #include "envoy/type/matcher/v3/path.upb.h"
16 #include "envoy/type/matcher/v3/string.upb.h"
17 #include "google/api/expr/v1alpha1/syntax.upb.h"
18 #include "udpa/annotations/status.upb.h"
19 #include "udpa/annotations/versioning.upb.h"
20 #include "validate/validate.upb.h"
22 #include "upb/port_def.inc"
24 static const upb_msglayout *const envoy_config_rbac_v3_RBAC_submsgs[1] = {
25 &envoy_config_rbac_v3_RBAC_PoliciesEntry_msginit,
28 static const upb_msglayout_field envoy_config_rbac_v3_RBAC__fields[2] = {
29 {1, UPB_SIZE(0, 0), 0, 0, 14, 1},
30 {2, UPB_SIZE(8, 8), 0, 0, 11, _UPB_LABEL_MAP},
33 const upb_msglayout envoy_config_rbac_v3_RBAC_msginit = {
34 &envoy_config_rbac_v3_RBAC_submsgs[0],
35 &envoy_config_rbac_v3_RBAC__fields[0],
36 UPB_SIZE(16, 16), 2, false,
39 static const upb_msglayout *const envoy_config_rbac_v3_RBAC_PoliciesEntry_submsgs[1] = {
40 &envoy_config_rbac_v3_Policy_msginit,
43 static const upb_msglayout_field envoy_config_rbac_v3_RBAC_PoliciesEntry__fields[2] = {
44 {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
45 {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
48 const upb_msglayout envoy_config_rbac_v3_RBAC_PoliciesEntry_msginit = {
49 &envoy_config_rbac_v3_RBAC_PoliciesEntry_submsgs[0],
50 &envoy_config_rbac_v3_RBAC_PoliciesEntry__fields[0],
51 UPB_SIZE(16, 32), 2, false,
54 static const upb_msglayout *const envoy_config_rbac_v3_Policy_submsgs[3] = {
55 &envoy_config_rbac_v3_Permission_msginit,
56 &envoy_config_rbac_v3_Principal_msginit,
57 &google_api_expr_v1alpha1_Expr_msginit,
60 static const upb_msglayout_field envoy_config_rbac_v3_Policy__fields[3] = {
61 {1, UPB_SIZE(4, 8), 0, 0, 11, 3},
62 {2, UPB_SIZE(8, 16), 0, 1, 11, 3},
63 {3, UPB_SIZE(0, 0), 0, 2, 11, 1},
66 const upb_msglayout envoy_config_rbac_v3_Policy_msginit = {
67 &envoy_config_rbac_v3_Policy_submsgs[0],
68 &envoy_config_rbac_v3_Policy__fields[0],
69 UPB_SIZE(12, 24), 3, false,
72 static const upb_msglayout *const envoy_config_rbac_v3_Permission_submsgs[8] = {
73 &envoy_config_core_v3_CidrRange_msginit,
74 &envoy_config_rbac_v3_Permission_msginit,
75 &envoy_config_rbac_v3_Permission_Set_msginit,
76 &envoy_config_route_v3_HeaderMatcher_msginit,
77 &envoy_type_matcher_v3_MetadataMatcher_msginit,
78 &envoy_type_matcher_v3_PathMatcher_msginit,
79 &envoy_type_matcher_v3_StringMatcher_msginit,
82 static const upb_msglayout_field envoy_config_rbac_v3_Permission__fields[10] = {
83 {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 2, 11, 1},
84 {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 2, 11, 1},
85 {3, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 8, 1},
86 {4, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 3, 11, 1},
87 {5, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1},
88 {6, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 13, 1},
89 {7, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 4, 11, 1},
90 {8, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, 1},
91 {9, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 6, 11, 1},
92 {10, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 5, 11, 1},
95 const upb_msglayout envoy_config_rbac_v3_Permission_msginit = {
96 &envoy_config_rbac_v3_Permission_submsgs[0],
97 &envoy_config_rbac_v3_Permission__fields[0],
98 UPB_SIZE(8, 16), 10, false,
101 static const upb_msglayout *const envoy_config_rbac_v3_Permission_Set_submsgs[1] = {
102 &envoy_config_rbac_v3_Permission_msginit,
105 static const upb_msglayout_field envoy_config_rbac_v3_Permission_Set__fields[1] = {
106 {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
109 const upb_msglayout envoy_config_rbac_v3_Permission_Set_msginit = {
110 &envoy_config_rbac_v3_Permission_Set_submsgs[0],
111 &envoy_config_rbac_v3_Permission_Set__fields[0],
112 UPB_SIZE(4, 8), 1, false,
115 static const upb_msglayout *const envoy_config_rbac_v3_Principal_submsgs[10] = {
116 &envoy_config_core_v3_CidrRange_msginit,
117 &envoy_config_rbac_v3_Principal_msginit,
118 &envoy_config_rbac_v3_Principal_Authenticated_msginit,
119 &envoy_config_rbac_v3_Principal_Set_msginit,
120 &envoy_config_route_v3_HeaderMatcher_msginit,
121 &envoy_type_matcher_v3_MetadataMatcher_msginit,
122 &envoy_type_matcher_v3_PathMatcher_msginit,
125 static const upb_msglayout_field envoy_config_rbac_v3_Principal__fields[11] = {
126 {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 3, 11, 1},
127 {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 3, 11, 1},
128 {3, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 8, 1},
129 {4, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 2, 11, 1},
130 {5, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1},
131 {6, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 4, 11, 1},
132 {7, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 5, 11, 1},
133 {8, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, 1},
134 {9, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 6, 11, 1},
135 {10, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1},
136 {11, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1},
139 const upb_msglayout envoy_config_rbac_v3_Principal_msginit = {
140 &envoy_config_rbac_v3_Principal_submsgs[0],
141 &envoy_config_rbac_v3_Principal__fields[0],
142 UPB_SIZE(8, 16), 11, false,
145 static const upb_msglayout *const envoy_config_rbac_v3_Principal_Set_submsgs[1] = {
146 &envoy_config_rbac_v3_Principal_msginit,
149 static const upb_msglayout_field envoy_config_rbac_v3_Principal_Set__fields[1] = {
150 {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
153 const upb_msglayout envoy_config_rbac_v3_Principal_Set_msginit = {
154 &envoy_config_rbac_v3_Principal_Set_submsgs[0],
155 &envoy_config_rbac_v3_Principal_Set__fields[0],
156 UPB_SIZE(4, 8), 1, false,
159 static const upb_msglayout *const envoy_config_rbac_v3_Principal_Authenticated_submsgs[1] = {
160 &envoy_type_matcher_v3_StringMatcher_msginit,
163 static const upb_msglayout_field envoy_config_rbac_v3_Principal_Authenticated__fields[1] = {
164 {2, UPB_SIZE(0, 0), 0, 0, 11, 1},
167 const upb_msglayout envoy_config_rbac_v3_Principal_Authenticated_msginit = {
168 &envoy_config_rbac_v3_Principal_Authenticated_submsgs[0],
169 &envoy_config_rbac_v3_Principal_Authenticated__fields[0],
170 UPB_SIZE(4, 8), 1, false,
173 #include "upb/port_undef.inc"