aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/tests/proto/test_no_namespace.proto
blob: 58f13d47bc27f057d2660ff11766eb87edd62124 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
syntax = "proto3";

message NoNamespaceMessage {
  int32 a = 1;

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

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