• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/type/tracing/v3/custom_tag.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/type/tracing/v3/custom_tag.upb.h"
12 #include "envoy/type/metadata/v3/metadata.upb.h"
13 #include "udpa/annotations/status.upb.h"
14 #include "udpa/annotations/versioning.upb.h"
15 #include "validate/validate.upb.h"
16 
17 #include "upb/port_def.inc"
18 
19 static const upb_msglayout *const envoy_type_tracing_v3_CustomTag_submsgs[4] = {
20   &envoy_type_tracing_v3_CustomTag_Environment_msginit,
21   &envoy_type_tracing_v3_CustomTag_Header_msginit,
22   &envoy_type_tracing_v3_CustomTag_Literal_msginit,
23   &envoy_type_tracing_v3_CustomTag_Metadata_msginit,
24 };
25 
26 static const upb_msglayout_field envoy_type_tracing_v3_CustomTag__fields[5] = {
27   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
28   {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 2, 11, 1},
29   {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1},
30   {4, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, 1},
31   {5, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 3, 11, 1},
32 };
33 
34 const upb_msglayout envoy_type_tracing_v3_CustomTag_msginit = {
35   &envoy_type_tracing_v3_CustomTag_submsgs[0],
36   &envoy_type_tracing_v3_CustomTag__fields[0],
37   UPB_SIZE(16, 32), 5, false, 255,
38 };
39 
40 static const upb_msglayout_field envoy_type_tracing_v3_CustomTag_Literal__fields[1] = {
41   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
42 };
43 
44 const upb_msglayout envoy_type_tracing_v3_CustomTag_Literal_msginit = {
45   NULL,
46   &envoy_type_tracing_v3_CustomTag_Literal__fields[0],
47   UPB_SIZE(8, 16), 1, false, 255,
48 };
49 
50 static const upb_msglayout_field envoy_type_tracing_v3_CustomTag_Environment__fields[2] = {
51   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
52   {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
53 };
54 
55 const upb_msglayout envoy_type_tracing_v3_CustomTag_Environment_msginit = {
56   NULL,
57   &envoy_type_tracing_v3_CustomTag_Environment__fields[0],
58   UPB_SIZE(16, 32), 2, false, 255,
59 };
60 
61 static const upb_msglayout_field envoy_type_tracing_v3_CustomTag_Header__fields[2] = {
62   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
63   {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
64 };
65 
66 const upb_msglayout envoy_type_tracing_v3_CustomTag_Header_msginit = {
67   NULL,
68   &envoy_type_tracing_v3_CustomTag_Header__fields[0],
69   UPB_SIZE(16, 32), 2, false, 255,
70 };
71 
72 static const upb_msglayout *const envoy_type_tracing_v3_CustomTag_Metadata_submsgs[2] = {
73   &envoy_type_metadata_v3_MetadataKey_msginit,
74   &envoy_type_metadata_v3_MetadataKind_msginit,
75 };
76 
77 static const upb_msglayout_field envoy_type_tracing_v3_CustomTag_Metadata__fields[3] = {
78   {1, UPB_SIZE(12, 24), 1, 1, 11, 1},
79   {2, UPB_SIZE(16, 32), 2, 0, 11, 1},
80   {3, UPB_SIZE(4, 8), 0, 0, 9, 1},
81 };
82 
83 const upb_msglayout envoy_type_tracing_v3_CustomTag_Metadata_msginit = {
84   &envoy_type_tracing_v3_CustomTag_Metadata_submsgs[0],
85   &envoy_type_tracing_v3_CustomTag_Metadata__fields[0],
86   UPB_SIZE(24, 48), 3, false, 255,
87 };
88 
89 #include "upb/port_undef.inc"
90 
91