| Index: third_party/grpc/src/proto/grpc/testing/metrics.proto
|
| diff --git a/third_party/protobuf/src/google/protobuf/util/internal/testdata/anys.proto b/third_party/grpc/src/proto/grpc/testing/metrics.proto
|
| similarity index 73%
|
| copy from third_party/protobuf/src/google/protobuf/util/internal/testdata/anys.proto
|
| copy to third_party/grpc/src/proto/grpc/testing/metrics.proto
|
| index 18c59cbb96308c72f0a1d432a2ef79d81fccbdb6..4485d3a53b577f4f6a063f5f55aecb4e7deb145e 100644
|
| --- a/third_party/protobuf/src/google/protobuf/util/internal/testdata/anys.proto
|
| +++ b/third_party/grpc/src/proto/grpc/testing/metrics.proto
|
| @@ -1,6 +1,6 @@
|
| -// Protocol Buffers - Google's data interchange format
|
| -// Copyright 2008 Google Inc. All rights reserved.
|
| -// https://developers.google.com/protocol-buffers/
|
| +
|
| +// Copyright 2015, Google Inc.
|
| +// All rights reserved.
|
| //
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| @@ -28,26 +28,26 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -// Proto to test Proto3 Any serialization.
|
| +// An integration test service that covers all the method signature permutations
|
| +// of unary/streaming requests/responses.
|
| syntax = "proto3";
|
|
|
| -package google.protobuf.testing.anys;
|
| -option java_package = "com.google.protobuf.testing.anys";
|
| -
|
| -import "google/protobuf/any.proto";
|
| +package grpc.testing;
|
|
|
| -message AnyIn {
|
| - string something = 1;
|
| +message GaugeResponse {
|
| + string name = 1;
|
| + oneof value {
|
| + int64 long_value = 2;
|
| + double double_vale = 3;
|
| + string string_value = 4;
|
| + }
|
| }
|
|
|
| -message AnyOut {
|
| - google.protobuf.Any any = 1;
|
| -}
|
| +message GaugeRequest { string name = 1; }
|
|
|
| -message AnyM {
|
| - string foo = 1;
|
| -}
|
| +message EmptyMessage {}
|
|
|
| -service TestService {
|
| - rpc Call(AnyIn) returns (AnyOut);
|
| +service MetricsService {
|
| + rpc GetAllGauges(EmptyMessage) returns (stream GaugeResponse);
|
| + rpc GetGauge(GaugeRequest) returns (GaugeResponse);
|
| }
|
|
|