iw6-mod/deps/protobuf/php/tests/proto/test_no_namespace.proto
2024-02-27 01:34:37 -05:00

23 lines
369 B
Protocol Buffer

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;
}