| 1 |
/* This file was generated by upbc (the upb compiler) from the input |
| 2 |
* file: |
| 3 |
* |
| 4 |
* envoy/admin/v3/clusters.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/admin/v3/clusters.upb.h" |
| 12 |
#include "envoy/admin/v3/metrics.upb.h" |
| 13 |
#include "envoy/config/cluster/v3/circuit_breaker.upb.h" |
| 14 |
#include "envoy/config/core/v3/address.upb.h" |
| 15 |
#include "envoy/config/core/v3/base.upb.h" |
| 16 |
#include "envoy/config/core/v3/health_check.upb.h" |
| 17 |
#include "envoy/type/v3/percent.upb.h" |
| 18 |
#include "udpa/annotations/status.upb.h" |
| 19 |
#include "udpa/annotations/versioning.upb.h" |
| 20 |
|
| 21 |
#include "upb/port_def.inc" |
| 22 |
|
| 23 |
static const upb_MiniTable_Sub envoy_admin_v3_Clusters_submsgs[1] = { |
| 24 |
{.submsg = &envoy_admin_v3_ClusterStatus_msginit}, |
| 25 |
}; |
| 26 |
|
| 27 |
static const upb_MiniTable_Field envoy_admin_v3_Clusters__fields[1] = { |
| 28 |
{1, UPB_SIZE(0, 0), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 29 |
}; |
| 30 |
|
| 31 |
const upb_MiniTable envoy_admin_v3_Clusters_msginit = { |
| 32 |
&envoy_admin_v3_Clusters_submsgs[0], |
| 33 |
&envoy_admin_v3_Clusters__fields[0], |
| 34 |
UPB_SIZE(8, 8), 1, kUpb_ExtMode_NonExtendable, 1, 255, 0, |
| 35 |
}; |
| 36 |
|
| 37 |
static const upb_MiniTable_Sub envoy_admin_v3_ClusterStatus_submsgs[4] = { |
| 38 |
{.submsg = &envoy_type_v3_Percent_msginit}, |
| 39 |
{.submsg = &envoy_admin_v3_HostStatus_msginit}, |
| 40 |
{.submsg = &envoy_type_v3_Percent_msginit}, |
| 41 |
{.submsg = &envoy_config_cluster_v3_CircuitBreakers_msginit}, |
| 42 |
}; |
| 43 |
|
| 44 |
static const upb_MiniTable_Field envoy_admin_v3_ClusterStatus__fields[7] = { |
| 45 |
{1, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 46 |
{2, UPB_SIZE(1, 1), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 47 |
{3, UPB_SIZE(12, 24), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 48 |
{4, UPB_SIZE(16, 32), UPB_SIZE(0, 0), 1, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 49 |
{5, UPB_SIZE(20, 40), UPB_SIZE(2, 2), 2, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 50 |
{6, UPB_SIZE(24, 48), UPB_SIZE(3, 3), 3, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 51 |
{7, UPB_SIZE(28, 56), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 52 |
}; |
| 53 |
|
| 54 |
const upb_MiniTable envoy_admin_v3_ClusterStatus_msginit = { |
| 55 |
&envoy_admin_v3_ClusterStatus_submsgs[0], |
| 56 |
&envoy_admin_v3_ClusterStatus__fields[0], |
| 57 |
UPB_SIZE(40, 72), 7, kUpb_ExtMode_NonExtendable, 7, 255, 0, |
| 58 |
}; |
| 59 |
|
| 60 |
static const upb_MiniTable_Sub envoy_admin_v3_HostStatus_submsgs[6] = { |
| 61 |
{.submsg = &envoy_config_core_v3_Address_msginit}, |
| 62 |
{.submsg = &envoy_admin_v3_SimpleMetric_msginit}, |
| 63 |
{.submsg = &envoy_admin_v3_HostHealthStatus_msginit}, |
| 64 |
{.submsg = &envoy_type_v3_Percent_msginit}, |
| 65 |
{.submsg = &envoy_type_v3_Percent_msginit}, |
| 66 |
{.submsg = &envoy_config_core_v3_Locality_msginit}, |
| 67 |
}; |
| 68 |
|
| 69 |
static const upb_MiniTable_Field envoy_admin_v3_HostStatus__fields[9] = { |
| 70 |
{1, UPB_SIZE(12, 16), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 71 |
{2, UPB_SIZE(16, 24), UPB_SIZE(0, 0), 1, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 72 |
{3, UPB_SIZE(20, 32), UPB_SIZE(2, 2), 2, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 73 |
{4, UPB_SIZE(24, 40), UPB_SIZE(3, 3), 3, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 74 |
{5, UPB_SIZE(4, 4), UPB_SIZE(0, 0), kUpb_NoSub, 13, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 75 |
{6, UPB_SIZE(28, 48), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 76 |
{7, UPB_SIZE(8, 8), UPB_SIZE(0, 0), kUpb_NoSub, 13, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 77 |
{8, UPB_SIZE(36, 64), UPB_SIZE(4, 4), 4, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 78 |
{9, UPB_SIZE(40, 72), UPB_SIZE(5, 5), 5, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 79 |
}; |
| 80 |
|
| 81 |
const upb_MiniTable envoy_admin_v3_HostStatus_msginit = { |
| 82 |
&envoy_admin_v3_HostStatus_submsgs[0], |
| 83 |
&envoy_admin_v3_HostStatus__fields[0], |
| 84 |
UPB_SIZE(48, 80), 9, kUpb_ExtMode_NonExtendable, 9, 255, 0, |
| 85 |
}; |
| 86 |
|
| 87 |
static const upb_MiniTable_Field envoy_admin_v3_HostHealthStatus__fields[8] = { |
| 88 |
{1, UPB_SIZE(0, 0), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 89 |
{2, UPB_SIZE(1, 1), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 90 |
{3, UPB_SIZE(4, 4), UPB_SIZE(0, 0), kUpb_NoSub, 5, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 91 |
{4, UPB_SIZE(8, 8), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 92 |
{5, UPB_SIZE(9, 9), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 93 |
{6, UPB_SIZE(10, 10), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 94 |
{7, UPB_SIZE(11, 11), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 95 |
{8, UPB_SIZE(12, 12), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 96 |
}; |
| 97 |
|
| 98 |
const upb_MiniTable envoy_admin_v3_HostHealthStatus_msginit = { |
| 99 |
NULL, |
| 100 |
&envoy_admin_v3_HostHealthStatus__fields[0], |
| 101 |
UPB_SIZE(16, 16), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 102 |
}; |
| 103 |
|
| 104 |
static const upb_MiniTable *messages_layout[4] = { |
| 105 |
&envoy_admin_v3_Clusters_msginit, |
| 106 |
&envoy_admin_v3_ClusterStatus_msginit, |
| 107 |
&envoy_admin_v3_HostStatus_msginit, |
| 108 |
&envoy_admin_v3_HostHealthStatus_msginit, |
| 109 |
}; |
| 110 |
|
| 111 |
const upb_MiniTable_File envoy_admin_v3_clusters_proto_upb_file_layout = { |
| 112 |
messages_layout, |
| 113 |
NULL, |
| 114 |
NULL, |
| 115 |
4, |
| 116 |
0, |
| 117 |
0, |
| 118 |
}; |
| 119 |
|
| 120 |
#include "upb/port_undef.inc" |
| 121 |
|