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.
23 lines
369 B
23 lines
369 B
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;
|
|
}
|