summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/test_objects.proto
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/test_objects.proto')
-rw-r--r--vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/test_objects.proto10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/test_objects.proto b/vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/test_objects.proto
index a493ecc24..0d2fc1fad 100644
--- a/vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/test_objects.proto
+++ b/vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/test_objects.proto
@@ -54,6 +54,16 @@ message Simple {
optional bytes o_bytes = 11;
}
+// Test message for holding special non-finites primitives.
+message NonFinites {
+ optional float f_nan = 1;
+ optional float f_pinf = 2;
+ optional float f_ninf = 3;
+ optional double d_nan = 4;
+ optional double d_pinf = 5;
+ optional double d_ninf = 6;
+}
+
// Test message for holding repeated primitives.
message Repeats {
repeated bool r_bool = 1;