/* This file was generated by upbc (the upb compiler) from the input
 * file:
 *
 *     google/api/expr/v1alpha1/value.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/value.upb.h"
#include "google/protobuf/any.upb.h"
#include "google/protobuf/struct.upb.h"

#include "upb/port_def.inc"

static const upb_msglayout_sub google_api_expr_v1alpha1_Value_submsgs[4] = {
  {.submsg = &google_api_expr_v1alpha1_EnumValue_msginit},
  {.submsg = &google_api_expr_v1alpha1_ListValue_msginit},
  {.submsg = &google_api_expr_v1alpha1_MapValue_msginit},
  {.submsg = &google_protobuf_Any_msginit},
};

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

const upb_msglayout google_api_expr_v1alpha1_Value_msginit = {
  &google_api_expr_v1alpha1_Value_submsgs[0],
  &google_api_expr_v1alpha1_Value__fields[0],
  UPB_SIZE(16, 32), 12, _UPB_MSGEXT_NONE, 7, 255,
};

static const upb_msglayout_field google_api_expr_v1alpha1_EnumValue__fields[2] = {
  {1, UPB_SIZE(4, 8), 0, 0, 9, _UPB_MODE_SCALAR | (_UPB_REP_STRVIEW << _UPB_REP_SHIFT)},
  {2, UPB_SIZE(0, 0), 0, 0, 5, _UPB_MODE_SCALAR | (_UPB_REP_4BYTE << _UPB_REP_SHIFT)},
};

const upb_msglayout google_api_expr_v1alpha1_EnumValue_msginit = {
  NULL,
  &google_api_expr_v1alpha1_EnumValue__fields[0],
  UPB_SIZE(16, 32), 2, _UPB_MSGEXT_NONE, 2, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_ListValue_submsgs[1] = {
  {.submsg = &google_api_expr_v1alpha1_Value_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_ListValue__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_ListValue_msginit = {
  &google_api_expr_v1alpha1_ListValue_submsgs[0],
  &google_api_expr_v1alpha1_ListValue__fields[0],
  UPB_SIZE(8, 8), 1, _UPB_MSGEXT_NONE, 1, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_MapValue_submsgs[1] = {
  {.submsg = &google_api_expr_v1alpha1_MapValue_Entry_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_MapValue__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_MapValue_msginit = {
  &google_api_expr_v1alpha1_MapValue_submsgs[0],
  &google_api_expr_v1alpha1_MapValue__fields[0],
  UPB_SIZE(8, 8), 1, _UPB_MSGEXT_NONE, 1, 255,
};

static const upb_msglayout_sub google_api_expr_v1alpha1_MapValue_Entry_submsgs[1] = {
  {.submsg = &google_api_expr_v1alpha1_Value_msginit},
};

static const upb_msglayout_field google_api_expr_v1alpha1_MapValue_Entry__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_MapValue_Entry_msginit = {
  &google_api_expr_v1alpha1_MapValue_Entry_submsgs[0],
  &google_api_expr_v1alpha1_MapValue_Entry__fields[0],
  UPB_SIZE(16, 24), 2, _UPB_MSGEXT_NONE, 2, 255,
};

static const upb_msglayout *messages_layout[5] = {
  &google_api_expr_v1alpha1_Value_msginit,
  &google_api_expr_v1alpha1_EnumValue_msginit,
  &google_api_expr_v1alpha1_ListValue_msginit,
  &google_api_expr_v1alpha1_MapValue_msginit,
  &google_api_expr_v1alpha1_MapValue_Entry_msginit,
};

const upb_msglayout_file google_api_expr_v1alpha1_value_proto_upb_file_layout = {
  messages_layout,
  NULL,
  5,
  0,
};

#include "upb/port_undef.inc"

