| 1 |
/* This file was generated by upbc (the upb compiler) from the input |
| 2 |
* file: |
| 3 |
* |
| 4 |
* google/api/http.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_internal.h" |
| 11 |
#include "google/api/http.upb.h" |
| 12 |
|
| 13 |
#include "upb/port_def.inc" |
| 14 |
|
| 15 |
static const upb_MiniTable_Sub google_api_Http_submsgs[1] = { |
| 16 |
{.submsg = &google_api_HttpRule_msginit}, |
| 17 |
}; |
| 18 |
|
| 19 |
static const upb_MiniTable_Field google_api_Http__fields[2] = { |
| 20 |
{1, UPB_SIZE(4, 8), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 21 |
{2, UPB_SIZE(0, 0), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 22 |
}; |
| 23 |
|
| 24 |
const upb_MiniTable google_api_Http_msginit = { |
| 25 |
&google_api_Http_submsgs[0], |
| 26 |
&google_api_Http__fields[0], |
| 27 |
UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, 255, 0, |
| 28 |
}; |
| 29 |
|
| 30 |
static const upb_MiniTable_Sub google_api_HttpRule_submsgs[2] = { |
| 31 |
{.submsg = &google_api_CustomHttpPattern_msginit}, |
| 32 |
{.submsg = &google_api_HttpRule_msginit}, |
| 33 |
}; |
| 34 |
|
| 35 |
static const upb_MiniTable_Field google_api_HttpRule__fields[10] = { |
| 36 |
{1, UPB_SIZE(12, 24), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 37 |
{2, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 38 |
{3, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 39 |
{4, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 40 |
{5, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 41 |
{6, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 42 |
{7, UPB_SIZE(20, 40), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 43 |
{8, UPB_SIZE(4, 8), UPB_SIZE(-1, -1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 44 |
{11, UPB_SIZE(28, 56), UPB_SIZE(0, 0), 1, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 45 |
{12, UPB_SIZE(32, 64), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 46 |
}; |
| 47 |
|
| 48 |
const upb_MiniTable google_api_HttpRule_msginit = { |
| 49 |
&google_api_HttpRule_submsgs[0], |
| 50 |
&google_api_HttpRule__fields[0], |
| 51 |
UPB_SIZE(40, 80), 10, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 52 |
}; |
| 53 |
|
| 54 |
static const upb_MiniTable_Field google_api_CustomHttpPattern__fields[2] = { |
| 55 |
{1, UPB_SIZE(0, 0), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 56 |
{2, UPB_SIZE(8, 16), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 57 |
}; |
| 58 |
|
| 59 |
const upb_MiniTable google_api_CustomHttpPattern_msginit = { |
| 60 |
NULL, |
| 61 |
&google_api_CustomHttpPattern__fields[0], |
| 62 |
UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, 255, 0, |
| 63 |
}; |
| 64 |
|
| 65 |
static const upb_MiniTable *messages_layout[3] = { |
| 66 |
&google_api_Http_msginit, |
| 67 |
&google_api_HttpRule_msginit, |
| 68 |
&google_api_CustomHttpPattern_msginit, |
| 69 |
}; |
| 70 |
|
| 71 |
const upb_MiniTable_File google_api_http_proto_upb_file_layout = { |
| 72 |
messages_layout, |
| 73 |
NULL, |
| 74 |
NULL, |
| 75 |
3, |
| 76 |
0, |
| 77 |
0, |
| 78 |
}; |
| 79 |
|
| 80 |
#include "upb/port_undef.inc" |
| 81 |
|