aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/protobuf/3.6.0/php/tests/proto/test_service_namespace.proto
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/protobuf/3.6.0/php/tests/proto/test_service_namespace.proto')
-rw-r--r--third_party/protobuf/3.6.0/php/tests/proto/test_service_namespace.proto13
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/protobuf/3.6.0/php/tests/proto/test_service_namespace.proto b/third_party/protobuf/3.6.0/php/tests/proto/test_service_namespace.proto
new file mode 100644
index 0000000000..719aa484ef
--- /dev/null
+++ b/third_party/protobuf/3.6.0/php/tests/proto/test_service_namespace.proto
@@ -0,0 +1,13 @@
+syntax = "proto3";
+
+import "proto/test_service.proto";
+
+package foo;
+
+option php_generic_services = true;
+option php_namespace = "Bar";
+
+service OtherGreeter {
+ rpc SayHello (HelloRequest) returns (HelloReply) {}
+ rpc SayHelloAgain (HelloRequest) returns (HelloReply) {}
+}