1 /* This file was generated by upb_generator from the input file:
2  *
3  *     envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.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/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h"
11 #include "envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h"
12 #include "google/protobuf/wrappers.upb_minitable.h"
13 #include "envoy/annotations/deprecation.upb_minitable.h"
14 #include "udpa/annotations/status.upb_minitable.h"
15 #include "validate/validate.upb_minitable.h"
16 
17 // Must be last.
18 #include "upb/port/def.inc"
19 
20 static const upb_MiniTableSub envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_submsgs[5] = {
21   {.UPB_PRIVATE(submsg) = &google__protobuf__UInt64Value_msg_init},
22   {.UPB_PRIVATE(submsg) = &google__protobuf__UInt64Value_msg_init},
23   {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init},
24   {.UPB_PRIVATE(submsg) = &envoy__extensions__load_0balancing_0policies__common__v3__ConsistentHashingLbConfig_msg_init},
25   {.UPB_PRIVATE(submsg) = &envoy__extensions__load_0balancing_0policies__common__v3__LocalityLbConfig__LocalityWeightedLbConfig_msg_init},
26 };
27 
28 static const upb_MiniTableField envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash__fields[7] = {
29   {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
30   {2, UPB_SIZE(16, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
31   {3, UPB_SIZE(20, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
32   {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
33   {5, UPB_SIZE(28, 40), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
34   {6, UPB_SIZE(32, 48), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
35   {7, UPB_SIZE(36, 56), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
36 };
37 
38 const upb_MiniTable envoy__extensions__load_0balancing_0policies__ring_0hash__v3__RingHash_msg_init = {
39   &envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash_submsgs[0],
40   &envoy_extensions_load_balancing_policies_ring_hash_v3_RingHash__fields[0],
41   UPB_SIZE(40, 64), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0,
42   UPB_FASTTABLE_INIT({
43     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
44     {0x000c00003f000008, &upb_psv4_1bt},
45     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
46     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
47     {0x001000003f000020, &upb_psb1_1bt},
48     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
49     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
50     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
51   })
52 };
53 
54 static const upb_MiniTable *messages_layout[1] = {
55   &envoy__extensions__load_0balancing_0policies__ring_0hash__v3__RingHash_msg_init,
56 };
57 
58 const upb_MiniTableFile envoy_extensions_load_balancing_policies_ring_hash_v3_ring_hash_proto_upb_file_layout = {
59   messages_layout,
60   NULL,
61   NULL,
62   1,
63   0,
64   0,
65 };
66 
67 #include "upb/port/undef.inc"
68 
69