Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
262 B
17 lines
262 B
5 months ago
|
edition = "2023";
|
||
|
|
||
|
package rust_cpp_interop_test;
|
||
|
|
||
|
message InteropTestMessage {
|
||
|
int64 i64 = 1;
|
||
|
bytes bytes = 2;
|
||
|
bool b = 3;
|
||
|
int32 default_int32 = 4 [default = 41];
|
||
|
|
||
|
extensions 100 to max;
|
||
|
}
|
||
|
|
||
|
extend InteropTestMessage {
|
||
|
bytes bytes_extension = 100;
|
||
|
}
|