| 1 |
/* This file was generated by upbc (the upb compiler) from the input |
| 2 |
* file: |
| 3 |
* |
| 4 |
* envoy/config/endpoint/v3/endpoint.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_internal.h" |
| 11 |
#include "envoy/config/endpoint/v3/endpoint.upb.h" |
| 12 |
#include "envoy/config/endpoint/v3/endpoint_components.upb.h" |
| 13 |
#include "envoy/type/v3/percent.upb.h" |
| 14 |
#include "google/protobuf/duration.upb.h" |
| 15 |
#include "google/protobuf/wrappers.upb.h" |
| 16 |
#include "udpa/annotations/status.upb.h" |
| 17 |
#include "udpa/annotations/versioning.upb.h" |
| 18 |
#include "validate/validate.upb.h" |
| 19 |
|
| 20 |
#include "upb/port_def.inc" |
| 21 |
|
| 22 |
static const upb_MiniTable_Sub envoy_config_endpoint_v3_ClusterLoadAssignment_submsgs[3] = { |
| 23 |
{.submsg = &envoy_config_endpoint_v3_LocalityLbEndpoints_msginit}, |
| 24 |
{.submsg = &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msginit}, |
| 25 |
{.submsg = &envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_msginit}, |
| 26 |
}; |
| 27 |
|
| 28 |
static const upb_MiniTable_Field envoy_config_endpoint_v3_ClusterLoadAssignment__fields[4] = { |
| 29 |
{1, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 30 |
{2, UPB_SIZE(12, 24), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 31 |
{4, UPB_SIZE(16, 32), UPB_SIZE(1, 1), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 32 |
{5, UPB_SIZE(20, 40), UPB_SIZE(0, 0), 2, 11, kUpb_FieldMode_Map | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 33 |
}; |
| 34 |
|
| 35 |
const upb_MiniTable envoy_config_endpoint_v3_ClusterLoadAssignment_msginit = { |
| 36 |
&envoy_config_endpoint_v3_ClusterLoadAssignment_submsgs[0], |
| 37 |
&envoy_config_endpoint_v3_ClusterLoadAssignment__fields[0], |
| 38 |
UPB_SIZE(24, 48), 4, kUpb_ExtMode_NonExtendable, 2, 255, 0, |
| 39 |
}; |
| 40 |
|
| 41 |
static const upb_MiniTable_Sub envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_submsgs[3] = { |
| 42 |
{.submsg = &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msginit}, |
| 43 |
{.submsg = &google_protobuf_UInt32Value_msginit}, |
| 44 |
{.submsg = &google_protobuf_Duration_msginit}, |
| 45 |
}; |
| 46 |
|
| 47 |
static const upb_MiniTable_Field envoy_config_endpoint_v3_ClusterLoadAssignment_Policy__fields[3] = { |
| 48 |
{2, UPB_SIZE(4, 8), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 49 |
{3, UPB_SIZE(8, 16), UPB_SIZE(1, 1), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 50 |
{4, UPB_SIZE(12, 24), UPB_SIZE(2, 2), 2, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 51 |
}; |
| 52 |
|
| 53 |
const upb_MiniTable envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msginit = { |
| 54 |
&envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_submsgs[0], |
| 55 |
&envoy_config_endpoint_v3_ClusterLoadAssignment_Policy__fields[0], |
| 56 |
UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 0, 255, 0, |
| 57 |
}; |
| 58 |
|
| 59 |
static const upb_MiniTable_Sub envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_submsgs[1] = { |
| 60 |
{.submsg = &envoy_type_v3_FractionalPercent_msginit}, |
| 61 |
}; |
| 62 |
|
| 63 |
static const upb_MiniTable_Field envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload__fields[2] = { |
| 64 |
{1, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 65 |
{2, UPB_SIZE(12, 24), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 66 |
}; |
| 67 |
|
| 68 |
const upb_MiniTable envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msginit = { |
| 69 |
&envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_submsgs[0], |
| 70 |
&envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload__fields[0], |
| 71 |
UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, 255, 0, |
| 72 |
}; |
| 73 |
|
| 74 |
static const upb_MiniTable_Sub envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_submsgs[1] = { |
| 75 |
{.submsg = &envoy_config_endpoint_v3_Endpoint_msginit}, |
| 76 |
}; |
| 77 |
|
| 78 |
static const upb_MiniTable_Field envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry__fields[2] = { |
| 79 |
{1, UPB_SIZE(0, 0), UPB_SIZE(0, 0), kUpb_NoSub, 12, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 80 |
{2, UPB_SIZE(8, 16), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 81 |
}; |
| 82 |
|
| 83 |
const upb_MiniTable envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_msginit = { |
| 84 |
&envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_submsgs[0], |
| 85 |
&envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry__fields[0], |
| 86 |
UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, 255, 0, |
| 87 |
}; |
| 88 |
|
| 89 |
static const upb_MiniTable *messages_layout[4] = { |
| 90 |
&envoy_config_endpoint_v3_ClusterLoadAssignment_msginit, |
| 91 |
&envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msginit, |
| 92 |
&envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msginit, |
| 93 |
&envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_msginit, |
| 94 |
}; |
| 95 |
|
| 96 |
const upb_MiniTable_File envoy_config_endpoint_v3_endpoint_proto_upb_file_layout = { |
| 97 |
messages_layout, |
| 98 |
NULL, |
| 99 |
NULL, |
| 100 |
4, |
| 101 |
0, |
| 102 |
0, |
| 103 |
}; |
| 104 |
|
| 105 |
#include "upb/port_undef.inc" |
| 106 |
|