aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-06-21 12:02:33 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-06-21 12:02:33 -0700
commit7edfcb021f56a1fe0cf1154740cfad7a4be21cc7 (patch)
tree18a8483b54ad4067fca0ccb01fdd4d833fcfe568
parent5ad70a6953635da45542d1b3cb93672e6b51ae64 (diff)
Using inlined BoolValue in lieu of wrappers.proto due to lack of node support
-rw-r--r--src/proto/grpc/testing/messages.proto16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/proto/grpc/testing/messages.proto b/src/proto/grpc/testing/messages.proto
index e4e748a691..367752d77b 100644
--- a/src/proto/grpc/testing/messages.proto
+++ b/src/proto/grpc/testing/messages.proto
@@ -32,7 +32,13 @@
syntax = "proto3";
-import "google/protobuf/wrappers.proto";
+// TODO(dgq): Go back to using well-known types once
+// https://github.com/grpc/grpc/issues/6980 has been fixed.
+// import "google/protobuf/wrappers.proto";
+message BoolValue {
+ // The bool value.
+ bool value = 1;
+}
package grpc.testing;
@@ -82,13 +88,13 @@ message SimpleRequest {
// "nullable" in order to interoperate seamlessly with clients not able to
// implement the full compression tests by introspecting the call to verify
// the response's compression status.
- google.protobuf.BoolValue response_compressed = 6;
+ BoolValue response_compressed = 6;
// Whether server should return a given status
EchoStatus response_status = 7;
// Whether the server should expect this request to be compressed.
- google.protobuf.BoolValue expect_compressed = 8;
+ BoolValue expect_compressed = 8;
}
// Unary response, as configured by the request.
@@ -111,7 +117,7 @@ message StreamingInputCallRequest {
// is "nullable" in order to interoperate seamlessly with servers not able to
// implement the full compression tests by introspecting the call to verify
// the request's compression status.
- google.protobuf.BoolValue expect_compressed = 2;
+ BoolValue expect_compressed = 2;
// Not expecting any payload from the response.
}
@@ -135,7 +141,7 @@ message ResponseParameters {
// "nullable" in order to interoperate seamlessly with clients not able to
// implement the full compression tests by introspecting the call to verify
// the response's compression status.
- google.protobuf.BoolValue compressed = 3;
+ BoolValue compressed = 3;
}
// Server-streaming request.