aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/upb-generated/google/protobuf/struct.upb.c
blob: a0820e722a6f04c9396e86266b2606920261bd55 (plain)
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
/* This file was generated by upbc (the upb compiler) from the input
 * file:
 *
 *     google/protobuf/struct.proto
 *
 * Do not edit -- your changes will be discarded when the file is
 * regenerated. */

#include "google/protobuf/struct.upb.h"
#include <stddef.h>
#include "upb/msg.h"

#include "upb/port_def.inc"

static const upb_msglayout* const google_protobuf_Struct_submsgs[1] = {
    &google_protobuf_Struct_FieldsEntry_msginit,
};

static const upb_msglayout_field google_protobuf_Struct__fields[1] = {
    {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
};

const upb_msglayout google_protobuf_Struct_msginit = {
    &google_protobuf_Struct_submsgs[0],
    &google_protobuf_Struct__fields[0],
    UPB_SIZE(4, 8),
    1,
    false,
};

static const upb_msglayout* const
    google_protobuf_Struct_FieldsEntry_submsgs[1] = {
        &google_protobuf_Value_msginit,
};

static const upb_msglayout_field google_protobuf_Struct_FieldsEntry__fields[2] =
    {
        {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
        {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
};

const upb_msglayout google_protobuf_Struct_FieldsEntry_msginit = {
    &google_protobuf_Struct_FieldsEntry_submsgs[0],
    &google_protobuf_Struct_FieldsEntry__fields[0],
    UPB_SIZE(16, 32),
    2,
    false,
};

static const upb_msglayout* const google_protobuf_Value_submsgs[2] = {
    &google_protobuf_ListValue_msginit,
    &google_protobuf_Struct_msginit,
};

static const upb_msglayout_field google_protobuf_Value__fields[6] = {
    {1, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, 1},
    {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 1, 1},
    {3, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1},
    {4, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 8, 1},
    {5, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 1, 11, 1},
    {6, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 11, 1},
};

const upb_msglayout google_protobuf_Value_msginit = {
    &google_protobuf_Value_submsgs[0],
    &google_protobuf_Value__fields[0],
    UPB_SIZE(16, 32),
    6,
    false,
};

static const upb_msglayout* const google_protobuf_ListValue_submsgs[1] = {
    &google_protobuf_Value_msginit,
};

static const upb_msglayout_field google_protobuf_ListValue__fields[1] = {
    {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
};

const upb_msglayout google_protobuf_ListValue_msginit = {
    &google_protobuf_ListValue_submsgs[0],
    &google_protobuf_ListValue__fields[0],
    UPB_SIZE(4, 8),
    1,
    false,
};

#include "upb/port_undef.inc"