xref: /aosp_15_r20/external/grpc-grpc/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1 /* This file was generated by upb_generator from the input file:
2  *
3  *     envoy/config/cluster/v3/circuit_breaker.proto
4  *
5  * Do not edit -- your changes will be discarded when the file is
6  * regenerated. */
7 
8 #include <stddef.h>
9 #include "upb/generated_code_support.h"
10 #include "envoy/config/cluster/v3/circuit_breaker.upb_minitable.h"
11 #include "envoy/config/core/v3/base.upb_minitable.h"
12 #include "envoy/type/v3/percent.upb_minitable.h"
13 #include "google/protobuf/wrappers.upb_minitable.h"
14 #include "udpa/annotations/status.upb_minitable.h"
15 #include "udpa/annotations/versioning.upb_minitable.h"
16 #include "validate/validate.upb_minitable.h"
17 
18 // Must be last.
19 #include "upb/port/def.inc"
20 
21 static const upb_MiniTableSub envoy_config_cluster_v3_CircuitBreakers_submsgs[2] = {
22   {.UPB_PRIVATE(submsg) = &envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init},
23   {.UPB_PRIVATE(submsg) = &envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init},
24 };
25 
26 static const upb_MiniTableField envoy_config_cluster_v3_CircuitBreakers__fields[2] = {
27   {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
28   {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
29 };
30 
31 const upb_MiniTable envoy__config__cluster__v3__CircuitBreakers_msg_init = {
32   &envoy_config_cluster_v3_CircuitBreakers_submsgs[0],
33   &envoy_config_cluster_v3_CircuitBreakers__fields[0],
34   UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
35   UPB_FASTTABLE_INIT({
36     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
37     {0x000800003f00000a, &upb_prm_1bt_max128b},
38     {0x001000003f010012, &upb_prm_1bt_max128b},
39     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
40   })
41 };
42 
43 static const upb_MiniTableSub envoy_config_cluster_v3_CircuitBreakers_Thresholds_submsgs[6] = {
44   {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init},
45   {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init},
46   {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init},
47   {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init},
48   {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init},
49   {.UPB_PRIVATE(submsg) = &envoy__config__cluster__v3__CircuitBreakers__Thresholds__RetryBudget_msg_init},
50 };
51 
52 static const upb_MiniTableField envoy_config_cluster_v3_CircuitBreakers_Thresholds__fields[8] = {
53   {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
54   {2, UPB_SIZE(16, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
55   {3, UPB_SIZE(20, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
56   {4, UPB_SIZE(24, 40), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
57   {5, UPB_SIZE(28, 48), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
58   {6, UPB_SIZE(32, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
59   {7, UPB_SIZE(36, 56), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
60   {8, UPB_SIZE(40, 64), 69, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
61 };
62 
63 const upb_MiniTable envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init = {
64   &envoy_config_cluster_v3_CircuitBreakers_Thresholds_submsgs[0],
65   &envoy_config_cluster_v3_CircuitBreakers_Thresholds__fields[0],
66   UPB_SIZE(48, 72), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(56), 0,
67   UPB_FASTTABLE_INIT({
68     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
69     {0x000c00003f000008, &upb_psv4_1bt},
70     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
71     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
72     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
73     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
74     {0x001000003f000030, &upb_psb1_1bt},
75     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
76   })
77 };
78 
79 static const upb_MiniTableSub envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_submsgs[2] = {
80   {.UPB_PRIVATE(submsg) = &envoy__type__v3__Percent_msg_init},
81   {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init},
82 };
83 
84 static const upb_MiniTableField envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget__fields[2] = {
85   {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
86   {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
87 };
88 
89 const upb_MiniTable envoy__config__cluster__v3__CircuitBreakers__Thresholds__RetryBudget_msg_init = {
90   &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget_submsgs[0],
91   &envoy_config_cluster_v3_CircuitBreakers_Thresholds_RetryBudget__fields[0],
92   UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(255), 0,
93 };
94 
95 static const upb_MiniTable *messages_layout[3] = {
96   &envoy__config__cluster__v3__CircuitBreakers_msg_init,
97   &envoy__config__cluster__v3__CircuitBreakers__Thresholds_msg_init,
98   &envoy__config__cluster__v3__CircuitBreakers__Thresholds__RetryBudget_msg_init,
99 };
100 
101 const upb_MiniTableFile envoy_config_cluster_v3_circuit_breaker_proto_upb_file_layout = {
102   messages_layout,
103   NULL,
104   NULL,
105   3,
106   0,
107   0,
108 };
109 
110 #include "upb/port/undef.inc"
111 
112