Imported Upstream version 1.32.0
[platform/upstream/grpc.git] / src / core / ext / upb-generated / envoy / config / rbac / v3 / rbac.upb.c
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/config/rbac/v3/rbac.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8
9 #include <stddef.h>
10 #include "upb/msg.h"
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"
21
22 #include "upb/port_def.inc"
23
24 static const upb_msglayout *const envoy_config_rbac_v3_RBAC_submsgs[1] = {
25   &envoy_config_rbac_v3_RBAC_PoliciesEntry_msginit,
26 };
27
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},
31 };
32
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,
37 };
38
39 static const upb_msglayout *const envoy_config_rbac_v3_RBAC_PoliciesEntry_submsgs[1] = {
40   &envoy_config_rbac_v3_Policy_msginit,
41 };
42
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},
46 };
47
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,
52 };
53
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,
58 };
59
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},
64 };
65
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,
70 };
71
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,
80 };
81
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},
93 };
94
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,
99 };
100
101 static const upb_msglayout *const envoy_config_rbac_v3_Permission_Set_submsgs[1] = {
102   &envoy_config_rbac_v3_Permission_msginit,
103 };
104
105 static const upb_msglayout_field envoy_config_rbac_v3_Permission_Set__fields[1] = {
106   {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
107 };
108
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,
113 };
114
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,
123 };
124
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},
137 };
138
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,
143 };
144
145 static const upb_msglayout *const envoy_config_rbac_v3_Principal_Set_submsgs[1] = {
146   &envoy_config_rbac_v3_Principal_msginit,
147 };
148
149 static const upb_msglayout_field envoy_config_rbac_v3_Principal_Set__fields[1] = {
150   {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
151 };
152
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,
157 };
158
159 static const upb_msglayout *const envoy_config_rbac_v3_Principal_Authenticated_submsgs[1] = {
160   &envoy_type_matcher_v3_StringMatcher_msginit,
161 };
162
163 static const upb_msglayout_field envoy_config_rbac_v3_Principal_Authenticated__fields[1] = {
164   {2, UPB_SIZE(0, 0), 0, 0, 11, 1},
165 };
166
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,
171 };
172
173 #include "upb/port_undef.inc"
174