OLD | NEW |
1 #region Copyright notice and license | 1 #region Copyright notice and license |
2 // Protocol Buffers - Google's data interchange format | 2 // Protocol Buffers - Google's data interchange format |
3 // Copyright 2008 Google Inc. All rights reserved. | 3 // Copyright 2008 Google Inc. All rights reserved. |
4 // https://developers.google.com/protocol-buffers/ | 4 // https://developers.google.com/protocol-buffers/ |
5 // | 5 // |
6 // Redistribution and use in source and binary forms, with or without | 6 // Redistribution and use in source and binary forms, with or without |
7 // modification, are permitted provided that the following conditions are | 7 // modification, are permitted provided that the following conditions are |
8 // met: | 8 // met: |
9 // | 9 // |
10 // * Redistributions of source code must retain the above copyright | 10 // * Redistributions of source code must retain the above copyright |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 // We can't tell the difference between "explicitly set to false" and "n
ot set" | 50 // We can't tell the difference between "explicitly set to false" and "n
ot set" |
51 // in proto3, but we need to tell the difference for FieldDescriptor.IsP
acked. | 51 // in proto3, but we need to tell the difference for FieldDescriptor.IsP
acked. |
52 // This won't work if we ever need to support proto2, but at that point
we'll be | 52 // This won't work if we ever need to support proto2, but at that point
we'll be |
53 // able to remove this hack and use field presence instead. | 53 // able to remove this hack and use field presence instead. |
54 partial void OnConstruction() | 54 partial void OnConstruction() |
55 { | 55 { |
56 Packed = true; | 56 Packed = true; |
57 } | 57 } |
58 } | 58 } |
59 } | 59 } |
OLD | NEW |