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

23 lines
369 B
Protocol Buffer
Raw Normal View History

2024-02-27 03:09:30 -05:00
syntax = "proto3";
option php_metadata_namespace = "\\";
message NoNamespaceMessage {
int32 a = 1;
// Test nested messages, enums, and reserved names
NestedMessage nested_message = 2;
NestedEnum nested_enum = 3;
message NestedMessage {
int32 a = 1;
}
enum NestedEnum {
ZERO = 0;
};
}
enum NoNamespaceEnum {
VALUE_A = 0;
VALUE_B = 1;
}