s1-mod/deps/protobuf/php/tests/proto/test_prefix.proto

21 lines
318 B
Protocol Buffer
Raw Normal View History

2024-02-27 03:09:30 -05:00
syntax = "proto3";
option php_class_prefix = "Prefix";
message TestPrefix {
int32 a = 1;
NestedMessage nested_message = 2;
NestedEnum nested_enum = 3;
message NestedMessage {
int32 a = 1;
}
enum NestedEnum {
ZERO = 0;
};
}
// Test prefix for reserved words.
message Empty {
int32 a = 1;
}