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; | |
47 option objc_class_prefix = "GPB"; | 46 option objc_class_prefix = "GPB"; |
48 | 47 |
49 // Wrapper message for `double`. | 48 // Wrapper message for `double`. |
50 // | 49 // |
51 // The JSON representation for `DoubleValue` is JSON number. | 50 // The JSON representation for `DoubleValue` is JSON number. |
52 message DoubleValue { | 51 message DoubleValue { |
53 // The double value. | 52 // The double value. |
54 double value = 1; | 53 double value = 1; |
55 } | 54 } |
56 | 55 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 string value = 1; | 109 string value = 1; |
111 } | 110 } |
112 | 111 |
113 // Wrapper message for `bytes`. | 112 // Wrapper message for `bytes`. |
114 // | 113 // |
115 // The JSON representation for `BytesValue` is JSON string. | 114 // The JSON representation for `BytesValue` is JSON string. |
116 message BytesValue { | 115 message BytesValue { |
117 // The bytes value. | 116 // The bytes value. |
118 bytes value = 1; | 117 bytes value = 1; |
119 } | 118 } |
OLD | NEW |