OLD | NEW |
1 // Protocol Buffers - Google's data interchange format | 1 // Protocol Buffers - Google's data interchange format |
2 // Copyright 2008 Google Inc. All rights reserved. | 2 // Copyright 2008 Google Inc. All rights reserved. |
3 // https://developers.google.com/protocol-buffers/ | 3 // https://developers.google.com/protocol-buffers/ |
4 // | 4 // |
5 // Redistribution and use in source and binary forms, with or without | 5 // Redistribution and use in source and binary forms, with or without |
6 // modification, are permitted provided that the following conditions are | 6 // modification, are permitted provided that the following conditions are |
7 // met: | 7 // met: |
8 // | 8 // |
9 // * Redistributions of source code must retain the above copyright | 9 // * Redistributions of source code must retain the above copyright |
10 // notice, this list of conditions and the following disclaimer. | 10 // notice, this list of conditions and the following disclaimer. |
(...skipping 25 matching lines...) Expand all Loading... |
36 syntax = "proto3"; | 36 syntax = "proto3"; |
37 | 37 |
38 package google.protobuf; | 38 package google.protobuf; |
39 | 39 |
40 option csharp_namespace = "Google.Protobuf.WellKnownTypes"; | 40 option csharp_namespace = "Google.Protobuf.WellKnownTypes"; |
41 option cc_enable_arenas = true; | 41 option cc_enable_arenas = true; |
42 option go_package = "github.com/golang/protobuf/ptypes/wrappers"; | 42 option go_package = "github.com/golang/protobuf/ptypes/wrappers"; |
43 option java_package = "com.google.protobuf"; | 43 option java_package = "com.google.protobuf"; |
44 option java_outer_classname = "WrappersProto"; | 44 option java_outer_classname = "WrappersProto"; |
45 option java_multiple_files = true; | 45 option java_multiple_files = true; |
| 46 option java_generate_equals_and_hash = true; |
46 option objc_class_prefix = "GPB"; | 47 option objc_class_prefix = "GPB"; |
47 | 48 |
48 // Wrapper message for `double`. | 49 // Wrapper message for `double`. |
49 // | 50 // |
50 // The JSON representation for `DoubleValue` is JSON number. | 51 // The JSON representation for `DoubleValue` is JSON number. |
51 message DoubleValue { | 52 message DoubleValue { |
52 // The double value. | 53 // The double value. |
53 double value = 1; | 54 double value = 1; |
54 } | 55 } |
55 | 56 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 string value = 1; | 110 string value = 1; |
110 } | 111 } |
111 | 112 |
112 // Wrapper message for `bytes`. | 113 // Wrapper message for `bytes`. |
113 // | 114 // |
114 // The JSON representation for `BytesValue` is JSON string. | 115 // The JSON representation for `BytesValue` is JSON string. |
115 message BytesValue { | 116 message BytesValue { |
116 // The bytes value. | 117 // The bytes value. |
117 bytes value = 1; | 118 bytes value = 1; |
118 } | 119 } |
OLD | NEW |