• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/config/cluster/v3/circuit_breaker.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/cluster/v3/circuit_breaker.upb.h"
12 #include "envoy/config/core/v3/base.upb.h"
13 #include "envoy/type/v3/percent.upb.h"
14 #include "google/protobuf/wrappers.upb.h"
15 #include "udpa/annotations/status.upb.h"
16 #include "udpa/annotations/versioning.upb.h"
17 #include "validate/validate.upb.h"
18 
19 #include "upb/port_def.inc"
20 
21 static const upb_msglayout *const envoy_config_cluster_v3_CircuitBreakers_submsgs[1] = {
22   &envoy_config_cluster_v3_CircuitBreakers_Thresholds_msginit,
23 };
24 
25 static const upb_msglayout_field envoy_config_cluster_v3_CircuitBreakers__fields[1] = {
26   {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
27 };
28 
29 const upb_msglayout envoy_config_cluster_v3_CircuitBreakers_msginit = {
30   &envoy_config_cluster_v3_CircuitBreakers_submsgs[0],
31   &envoy_config_cluster_v3_CircuitBreakers__fields[0],
32   UPB_SIZE(8, 8), 1, false, 255,
33 };
34 
35 static const upb_msglayout *const envoy_config_cluster_v3_CircuitBreakers_Thresholds_submsgs[2] = {
36   &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_msginit,
37   &google_protobuf_UInt32Value_msginit,
38 };
39 
40 static const upb_msglayout_field envoy_config_cluster_v3_CircuitBreakers_Thresholds__fields[8] = {
41   {1, UPB_SIZE(4, 4), 0, 0, 14, 1},
42   {2, UPB_SIZE(12, 16), 1, 1, 11, 1},
43   {3, UPB_SIZE(16, 24), 2, 1, 11, 1},
44   {4, UPB_SIZE(20, 32), 3, 1, 11, 1},
45   {5, UPB_SIZE(24, 40), 4, 1, 11, 1},
46   {6, UPB_SIZE(8, 8), 0, 0, 8, 1},
47   {7, UPB_SIZE(28, 48), 5, 1, 11, 1},
48   {8, UPB_SIZE(32, 56), 6, 0, 11, 1},
49 };
50 
51 const upb_msglayout envoy_config_cluster_v3_CircuitBreakers_Thresholds_msginit = {
52   &envoy_config_cluster_v3_CircuitBreakers_Thresholds_submsgs[0],
53   &envoy_config_cluster_v3_CircuitBreakers_Thresholds__fields[0],
54   UPB_SIZE(40, 64), 8, false, 255,
55 };
56 
57 static const upb_msglayout *const envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_submsgs[2] = {
58   &envoy_type_v3_Percent_msginit,
59   &google_protobuf_UInt32Value_msginit,
60 };
61 
62 static const upb_msglayout_field envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget__fields[2] = {
63   {1, UPB_SIZE(4, 8), 1, 0, 11, 1},
64   {2, UPB_SIZE(8, 16), 2, 1, 11, 1},
65 };
66 
67 const upb_msglayout envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_msginit = {
68   &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_submsgs[0],
69   &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget__fields[0],
70   UPB_SIZE(16, 24), 2, false, 255,
71 };
72 
73 #include "upb/port_undef.inc"
74 
75