1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
/* This file was generated by upbc (the upb compiler) from the input
* file:
*
* opencensus/proto/trace/v1/trace_config.proto
*
* Do not edit -- your changes will be discarded when the file is
* regenerated. */
#include <stddef.h>
#include "upb/generated_code_support.h"
#include "opencensus/proto/trace/v1/trace_config.upb.h"
// Must be last.
#include "upb/port/def.inc"
static const upb_MiniTableSub opencensus_proto_trace_v1_TraceConfig_submsgs[3] = {
{.submsg = &opencensus_proto_trace_v1_ProbabilitySampler_msg_init},
{.submsg = &opencensus_proto_trace_v1_ConstantSampler_msg_init},
{.submsg = &opencensus_proto_trace_v1_RateLimitingSampler_msg_init},
};
static const upb_MiniTableField opencensus_proto_trace_v1_TraceConfig__fields[7] = {
{1, UPB_SIZE(4, 40), -1, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
{2, UPB_SIZE(4, 40), -1, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
{3, UPB_SIZE(4, 40), -1, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
{4, 8, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)},
{5, 16, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)},
{6, 24, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)},
{7, 32, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)},
};
const upb_MiniTable opencensus_proto_trace_v1_TraceConfig_msg_init = {
&opencensus_proto_trace_v1_TraceConfig_submsgs[0],
&opencensus_proto_trace_v1_TraceConfig__fields[0],
UPB_SIZE(40, 48), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0,
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002800000100000a, &upb_pom_1bt_max64b},
{0x0028000002010012, &upb_pom_1bt_max64b},
{0x002800000302001a, &upb_pom_1bt_max64b},
{0x000800003f000020, &upb_psv8_1bt},
{0x001000003f000028, &upb_psv8_1bt},
{0x001800003f000030, &upb_psv8_1bt},
{0x002000003f000038, &upb_psv8_1bt},
})
};
static const upb_MiniTableField opencensus_proto_trace_v1_ProbabilitySampler__fields[1] = {
{1, 0, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)},
};
const upb_MiniTable opencensus_proto_trace_v1_ProbabilitySampler_msg_init = {
NULL,
&opencensus_proto_trace_v1_ProbabilitySampler__fields[0],
8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000000003f000009, &upb_psf8_1bt},
})
};
static const upb_MiniTableField opencensus_proto_trace_v1_ConstantSampler__fields[1] = {
{1, 0, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
};
const upb_MiniTable opencensus_proto_trace_v1_ConstantSampler_msg_init = {
NULL,
&opencensus_proto_trace_v1_ConstantSampler__fields[0],
8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000000003f000008, &upb_psv4_1bt},
})
};
static const upb_MiniTableField opencensus_proto_trace_v1_RateLimitingSampler__fields[1] = {
{1, 0, 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)},
};
const upb_MiniTable opencensus_proto_trace_v1_RateLimitingSampler_msg_init = {
NULL,
&opencensus_proto_trace_v1_RateLimitingSampler__fields[0],
8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000000003f000008, &upb_psv8_1bt},
})
};
static const upb_MiniTable *messages_layout[4] = {
&opencensus_proto_trace_v1_TraceConfig_msg_init,
&opencensus_proto_trace_v1_ProbabilitySampler_msg_init,
&opencensus_proto_trace_v1_ConstantSampler_msg_init,
&opencensus_proto_trace_v1_RateLimitingSampler_msg_init,
};
const upb_MiniTableFile opencensus_proto_trace_v1_trace_config_proto_upb_file_layout = {
messages_layout,
NULL,
NULL,
4,
0,
0,
};
#include "upb/port/undef.inc"
|