1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/config/metrics/v3/stats.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/metrics/v3/stats.upb.h" 12 #include "envoy/config/core/v3/address.upb.h" 13 #include "envoy/type/matcher/v3/string.upb.h" 14 #include "google/protobuf/any.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_msglayout *const envoy_config_metrics_v3_StatsSink_submsgs[1] = { 23 &google_protobuf_Any_msginit, 24 }; 25 26 static const upb_msglayout_field envoy_config_metrics_v3_StatsSink__fields[2] = { 27 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 28 {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1}, 29 }; 30 31 const upb_msglayout envoy_config_metrics_v3_StatsSink_msginit = { 32 &envoy_config_metrics_v3_StatsSink_submsgs[0], 33 &envoy_config_metrics_v3_StatsSink__fields[0], 34 UPB_SIZE(16, 32), 2, false, 255, 35 }; 36 37 static const upb_msglayout *const envoy_config_metrics_v3_StatsConfig_submsgs[4] = { 38 &envoy_config_metrics_v3_HistogramBucketSettings_msginit, 39 &envoy_config_metrics_v3_StatsMatcher_msginit, 40 &envoy_config_metrics_v3_TagSpecifier_msginit, 41 &google_protobuf_BoolValue_msginit, 42 }; 43 44 static const upb_msglayout_field envoy_config_metrics_v3_StatsConfig__fields[4] = { 45 {1, UPB_SIZE(12, 24), 0, 2, 11, 3}, 46 {2, UPB_SIZE(4, 8), 1, 3, 11, 1}, 47 {3, UPB_SIZE(8, 16), 2, 1, 11, 1}, 48 {4, UPB_SIZE(16, 32), 0, 0, 11, 3}, 49 }; 50 51 const upb_msglayout envoy_config_metrics_v3_StatsConfig_msginit = { 52 &envoy_config_metrics_v3_StatsConfig_submsgs[0], 53 &envoy_config_metrics_v3_StatsConfig__fields[0], 54 UPB_SIZE(24, 40), 4, false, 255, 55 }; 56 57 static const upb_msglayout *const envoy_config_metrics_v3_StatsMatcher_submsgs[1] = { 58 &envoy_type_matcher_v3_ListStringMatcher_msginit, 59 }; 60 61 static const upb_msglayout_field envoy_config_metrics_v3_StatsMatcher__fields[3] = { 62 {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 8, 1}, 63 {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1}, 64 {3, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1}, 65 }; 66 67 const upb_msglayout envoy_config_metrics_v3_StatsMatcher_msginit = { 68 &envoy_config_metrics_v3_StatsMatcher_submsgs[0], 69 &envoy_config_metrics_v3_StatsMatcher__fields[0], 70 UPB_SIZE(8, 16), 3, false, 255, 71 }; 72 73 static const upb_msglayout_field envoy_config_metrics_v3_TagSpecifier__fields[3] = { 74 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 75 {2, UPB_SIZE(8, 16), UPB_SIZE(-17, -33), 0, 9, 1}, 76 {3, UPB_SIZE(8, 16), UPB_SIZE(-17, -33), 0, 9, 1}, 77 }; 78 79 const upb_msglayout envoy_config_metrics_v3_TagSpecifier_msginit = { 80 NULL, 81 &envoy_config_metrics_v3_TagSpecifier__fields[0], 82 UPB_SIZE(24, 48), 3, false, 255, 83 }; 84 85 static const upb_msglayout *const envoy_config_metrics_v3_HistogramBucketSettings_submsgs[1] = { 86 &envoy_type_matcher_v3_StringMatcher_msginit, 87 }; 88 89 static const upb_msglayout_field envoy_config_metrics_v3_HistogramBucketSettings__fields[2] = { 90 {1, UPB_SIZE(4, 8), 1, 0, 11, 1}, 91 {2, UPB_SIZE(8, 16), 0, 0, 1, _UPB_LABEL_PACKED}, 92 }; 93 94 const upb_msglayout envoy_config_metrics_v3_HistogramBucketSettings_msginit = { 95 &envoy_config_metrics_v3_HistogramBucketSettings_submsgs[0], 96 &envoy_config_metrics_v3_HistogramBucketSettings__fields[0], 97 UPB_SIZE(16, 24), 2, false, 255, 98 }; 99 100 static const upb_msglayout *const envoy_config_metrics_v3_StatsdSink_submsgs[1] = { 101 &envoy_config_core_v3_Address_msginit, 102 }; 103 104 static const upb_msglayout_field envoy_config_metrics_v3_StatsdSink__fields[3] = { 105 {1, UPB_SIZE(8, 16), UPB_SIZE(-17, -33), 0, 11, 1}, 106 {2, UPB_SIZE(8, 16), UPB_SIZE(-17, -33), 0, 9, 1}, 107 {3, UPB_SIZE(0, 0), 0, 0, 9, 1}, 108 }; 109 110 const upb_msglayout envoy_config_metrics_v3_StatsdSink_msginit = { 111 &envoy_config_metrics_v3_StatsdSink_submsgs[0], 112 &envoy_config_metrics_v3_StatsdSink__fields[0], 113 UPB_SIZE(24, 48), 3, false, 255, 114 }; 115 116 static const upb_msglayout *const envoy_config_metrics_v3_DogStatsdSink_submsgs[2] = { 117 &envoy_config_core_v3_Address_msginit, 118 &google_protobuf_UInt64Value_msginit, 119 }; 120 121 static const upb_msglayout_field envoy_config_metrics_v3_DogStatsdSink__fields[3] = { 122 {1, UPB_SIZE(16, 32), UPB_SIZE(-21, -41), 0, 11, 1}, 123 {3, UPB_SIZE(4, 8), 0, 0, 9, 1}, 124 {4, UPB_SIZE(12, 24), 1, 1, 11, 1}, 125 }; 126 127 const upb_msglayout envoy_config_metrics_v3_DogStatsdSink_msginit = { 128 &envoy_config_metrics_v3_DogStatsdSink_submsgs[0], 129 &envoy_config_metrics_v3_DogStatsdSink__fields[0], 130 UPB_SIZE(24, 48), 3, false, 255, 131 }; 132 133 static const upb_msglayout_field envoy_config_metrics_v3_HystrixSink__fields[1] = { 134 {1, UPB_SIZE(0, 0), 0, 0, 3, 1}, 135 }; 136 137 const upb_msglayout envoy_config_metrics_v3_HystrixSink_msginit = { 138 NULL, 139 &envoy_config_metrics_v3_HystrixSink__fields[0], 140 UPB_SIZE(8, 8), 1, false, 255, 141 }; 142 143 #include "upb/port_undef.inc" 144 145