aboutsummaryrefslogtreecommitdiff
path: root/php/tests/proto/test_no_namespace.proto
blob: 03f89270eda97b628bef366f1a44c5013102f09e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
syntax = "proto3";

option php_metadata_namespace = "\\";

message NoNamespaceMessage {
  int32 a = 1;

  enum NestedEnum {
    ZERO = 0;
  }
  NestedEnum b = 2;
  repeated NestedEnum c = 3;
}

enum NoNamespaceEnum {
  VALUE_A = 0;
  VALUE_B = 1;
}