mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
- Add new _upb_Encode_Field and _upb_Encode_Extension internal APIs. PiperOrigin-RevId: 903268174
23 lines
398 B
Protocol Buffer
23 lines
398 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
package upb_wire_test;
|
|
|
|
option java_multiple_files = true;
|
|
option java_outer_classname = "ConvertTest";
|
|
|
|
message TestInt32 {
|
|
optional int32 i32 = 1;
|
|
}
|
|
|
|
message TestRecursive {
|
|
optional TestRecursive recursive = 1;
|
|
}
|
|
|
|
message TestExtensions {
|
|
extensions 100 to max;
|
|
}
|
|
|
|
extend TestExtensions {
|
|
optional int32 ext_i32 = 100;
|
|
optional TestRecursive ext_recursive = 101;
|
|
}
|