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.
 
 
 
 
 
 

14 lines
386 B

edition = "2023";
package test;
import "google/protobuf/cpp_features.proto";
message EditionsMessage {
int32 plain_field = 1;
int32 implicit_presence_field = 2 [features.field_presence = IMPLICIT];
string str_view = 3 [features.(pb.cpp).string_type = VIEW];
repeated string repeated_str_view = 4 [features.(pb.cpp).string_type = VIEW];
repeated string repeated_str = 5;
}