/* This file was generated by upbc (the upb compiler) from the input
 * file:
 *
 *     google/api/expr/v1alpha1/checked.proto
 *
 * Do not edit -- your changes will be discarded when the file is
 * regenerated. */

#include <stddef.h>
#include "upb/msg_internal.h"
#include "google/api/expr/v1alpha1/checked.upb.h"
#include "google/api/expr/v1alpha1/syntax.upb.h"
#include "google/protobuf/empty.upb.h"
#include "google/protobuf/struct.upb.h"

#include "upb/port_def.inc"

static const upb_msglayout_sub google_api_expr_v1alpha1_CheckedExpr_submsgs[4] = {
  {.submsg = &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_msginit},
  {.submsg = &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_msginit},
  {.submsg = &google_api_expr_v1alpha1_Expr_msginit},
  {.submsg = &google_api_expr_v1alpha1_SourceInfo_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_CheckedExpr__fields[4] = {
  {2, UPB_SIZE(12, 24), 0, 0, 11, _UPB_MODE_MAP | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {3, UPB_SIZE(16, 32), 0, 1, 11, _UPB_MODE_MAP | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {4, UPB_SIZE(4, 8), 1, 2, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {5, UPB_SIZE(8, 16), 2, 3, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_CheckedExpr_msginit = {
  &google_api_expr_v1alpha1_CheckedExpr_submsgs[0],
  &google_api_expr_v1alpha1_CheckedExpr__fields[0],
  UPB_SIZE(24, 40), 4, _UPB_MSGEXT_NONE, 0, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_submsgs[1] = {
  {.submsg = &google_api_expr_v1alpha1_Reference_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry__fields[2] = {
  {1, UPB_SIZE(0, 0), 0, 0, 3, _UPB_MODE_SCALAR | (_UPB_REP_8BYTE << _UPB_REP_SHIFT)},
  {2, UPB_SIZE(8, 16), 0, 0, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_msginit = {
  &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_submsgs[0],
  &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry__fields[0],
  UPB_SIZE(16, 32), 2, _UPB_MSGEXT_NONE, 2, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_submsgs[1] = {
  {.submsg = &google_api_expr_v1alpha1_Type_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry__fields[2] = {
  {1, UPB_SIZE(0, 0), 0, 0, 3, _UPB_MODE_SCALAR | (_UPB_REP_8BYTE << _UPB_REP_SHIFT)},
  {2, UPB_SIZE(8, 16), 0, 0, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_msginit = {
  &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_submsgs[0],
  &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry__fields[0],
  UPB_SIZE(16, 32), 2, _UPB_MSGEXT_NONE, 2, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_Type_submsgs[6] = {
  {.submsg = &google_api_expr_v1alpha1_Type_msginit},
  {.submsg = &google_api_expr_v1alpha1_Type_AbstractType_msginit},
  {.submsg = &google_api_expr_v1alpha1_Type_FunctionType_msginit},
  {.submsg = &google_api_expr_v1alpha1_Type_ListType_msginit},
  {.submsg = &google_api_expr_v1alpha1_Type_MapType_msginit},
  {.submsg = &google_protobuf_Empty_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_Type__fields[13] = {
  {1, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 5, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, _UPB_MODE_SCALAR | (_UPB_REP_4BYTE << _UPB_REP_SHIFT)},
  {3, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, _UPB_MODE_SCALAR | (_UPB_REP_4BYTE << _UPB_REP_SHIFT)},
  {4, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, _UPB_MODE_SCALAR | (_UPB_REP_4BYTE << _UPB_REP_SHIFT)},
  {5, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 14, _UPB_MODE_SCALAR | (_UPB_REP_4BYTE << _UPB_REP_SHIFT)},
  {6, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 3, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {7, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 4, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {8, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 2, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {9, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, _UPB_MODE_SCALAR | (_UPB_REP_STRVIEW << _UPB_REP_SHIFT)},
  {10, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, _UPB_MODE_SCALAR | (_UPB_REP_STRVIEW << _UPB_REP_SHIFT)},
  {11, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {12, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 5, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {14, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 1, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_Type_msginit = {
  &google_api_expr_v1alpha1_Type_submsgs[0],
  &google_api_expr_v1alpha1_Type__fields[0],
  UPB_SIZE(16, 32), 13, _UPB_MSGEXT_NONE, 12, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_Type_ListType_submsgs[1] = {
  {.submsg = &google_api_expr_v1alpha1_Type_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_Type_ListType__fields[1] = {
  {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_Type_ListType_msginit = {
  &google_api_expr_v1alpha1_Type_ListType_submsgs[0],
  &google_api_expr_v1alpha1_Type_ListType__fields[0],
  UPB_SIZE(8, 16), 1, _UPB_MSGEXT_NONE, 1, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_Type_MapType_submsgs[1] = {
  {.submsg = &google_api_expr_v1alpha1_Type_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_Type_MapType__fields[2] = {
  {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {2, UPB_SIZE(8, 16), 2, 0, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_Type_MapType_msginit = {
  &google_api_expr_v1alpha1_Type_MapType_submsgs[0],
  &google_api_expr_v1alpha1_Type_MapType__fields[0],
  UPB_SIZE(16, 24), 2, _UPB_MSGEXT_NONE, 2, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_Type_FunctionType_submsgs[1] = {
  {.submsg = &google_api_expr_v1alpha1_Type_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_Type_FunctionType__fields[2] = {
  {1, UPB_SIZE(4, 8), 1, 0, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {2, UPB_SIZE(8, 16), 0, 0, 11, _UPB_MODE_ARRAY | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_Type_FunctionType_msginit = {
  &google_api_expr_v1alpha1_Type_FunctionType_submsgs[0],
  &google_api_expr_v1alpha1_Type_FunctionType__fields[0],
  UPB_SIZE(16, 24), 2, _UPB_MSGEXT_NONE, 2, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_Type_AbstractType_submsgs[1] = {
  {.submsg = &google_api_expr_v1alpha1_Type_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_Type_AbstractType__fields[2] = {
  {1, UPB_SIZE(0, 0), 0, 0, 9, _UPB_MODE_SCALAR | (_UPB_REP_STRVIEW << _UPB_REP_SHIFT)},
  {2, UPB_SIZE(8, 16), 0, 0, 11, _UPB_MODE_ARRAY | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_Type_AbstractType_msginit = {
  &google_api_expr_v1alpha1_Type_AbstractType_submsgs[0],
  &google_api_expr_v1alpha1_Type_AbstractType__fields[0],
  UPB_SIZE(16, 32), 2, _UPB_MSGEXT_NONE, 2, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_Decl_submsgs[2] = {
  {.submsg = &google_api_expr_v1alpha1_Decl_FunctionDecl_msginit},
  {.submsg = &google_api_expr_v1alpha1_Decl_IdentDecl_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_Decl__fields[3] = {
  {1, UPB_SIZE(0, 0), 0, 0, 9, _UPB_MODE_SCALAR | (_UPB_REP_STRVIEW << _UPB_REP_SHIFT)},
  {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_Decl_msginit = {
  &google_api_expr_v1alpha1_Decl_submsgs[0],
  &google_api_expr_v1alpha1_Decl__fields[0],
  UPB_SIZE(16, 32), 3, _UPB_MSGEXT_NONE, 3, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_Decl_IdentDecl_submsgs[2] = {
  {.submsg = &google_api_expr_v1alpha1_Constant_msginit},
  {.submsg = &google_api_expr_v1alpha1_Type_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_Decl_IdentDecl__fields[3] = {
  {1, UPB_SIZE(12, 24), 1, 1, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {2, UPB_SIZE(16, 32), 2, 0, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {3, UPB_SIZE(4, 8), 0, 0, 9, _UPB_MODE_SCALAR | (_UPB_REP_STRVIEW << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_Decl_IdentDecl_msginit = {
  &google_api_expr_v1alpha1_Decl_IdentDecl_submsgs[0],
  &google_api_expr_v1alpha1_Decl_IdentDecl__fields[0],
  UPB_SIZE(24, 48), 3, _UPB_MSGEXT_NONE, 3, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_Decl_FunctionDecl_submsgs[1] = {
  {.submsg = &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_Decl_FunctionDecl__fields[1] = {
  {1, UPB_SIZE(0, 0), 0, 0, 11, _UPB_MODE_ARRAY | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_Decl_FunctionDecl_msginit = {
  &google_api_expr_v1alpha1_Decl_FunctionDecl_submsgs[0],
  &google_api_expr_v1alpha1_Decl_FunctionDecl__fields[0],
  UPB_SIZE(8, 8), 1, _UPB_MSGEXT_NONE, 1, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_submsgs[1] = {
  {.submsg = &google_api_expr_v1alpha1_Type_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_Decl_FunctionDecl_Overload__fields[6] = {
  {1, UPB_SIZE(4, 8), 0, 0, 9, _UPB_MODE_SCALAR | (_UPB_REP_STRVIEW << _UPB_REP_SHIFT)},
  {2, UPB_SIZE(24, 48), 0, 0, 11, _UPB_MODE_ARRAY | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {3, UPB_SIZE(28, 56), 0, 0, 9, _UPB_MODE_ARRAY | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {4, UPB_SIZE(20, 40), 1, 0, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {5, UPB_SIZE(1, 1), 0, 0, 8, _UPB_MODE_SCALAR | (_UPB_REP_1BYTE << _UPB_REP_SHIFT)},
  {6, UPB_SIZE(12, 24), 0, 0, 9, _UPB_MODE_SCALAR | (_UPB_REP_STRVIEW << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msginit = {
  &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_submsgs[0],
  &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload__fields[0],
  UPB_SIZE(32, 64), 6, _UPB_MSGEXT_NONE, 6, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_Reference_submsgs[1] = {
  {.submsg = &google_api_expr_v1alpha1_Constant_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_Reference__fields[3] = {
  {1, UPB_SIZE(4, 8), 0, 0, 9, _UPB_MODE_SCALAR | (_UPB_REP_STRVIEW << _UPB_REP_SHIFT)},
  {3, UPB_SIZE(16, 32), 0, 0, 9, _UPB_MODE_ARRAY | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
  {4, UPB_SIZE(12, 24), 1, 0, 11, _UPB_MODE_SCALAR | (_UPB_REP_PTR << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_Reference_msginit = {
  &google_api_expr_v1alpha1_Reference_submsgs[0],
  &google_api_expr_v1alpha1_Reference__fields[0],
  UPB_SIZE(24, 48), 3, _UPB_MSGEXT_NONE, 1, 255,
};

static const upb_msglayout *messages_layout[13] = {
  &google_api_expr_v1alpha1_CheckedExpr_msginit,
  &google_api_expr_v1alpha1_CheckedExpr_ReferenceMapEntry_msginit,
  &google_api_expr_v1alpha1_CheckedExpr_TypeMapEntry_msginit,
  &google_api_expr_v1alpha1_Type_msginit,
  &google_api_expr_v1alpha1_Type_ListType_msginit,
  &google_api_expr_v1alpha1_Type_MapType_msginit,
  &google_api_expr_v1alpha1_Type_FunctionType_msginit,
  &google_api_expr_v1alpha1_Type_AbstractType_msginit,
  &google_api_expr_v1alpha1_Decl_msginit,
  &google_api_expr_v1alpha1_Decl_IdentDecl_msginit,
  &google_api_expr_v1alpha1_Decl_FunctionDecl_msginit,
  &google_api_expr_v1alpha1_Decl_FunctionDecl_Overload_msginit,
  &google_api_expr_v1alpha1_Reference_msginit,
};

const upb_msglayout_file google_api_expr_v1alpha1_checked_proto_upb_file_layout = {
  messages_layout,
  NULL,
  13,
  0,
};

#include "upb/port_undef.inc"

