Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: third_party/protobuf/src/google/protobuf/timestamp.proto

Issue 1983203003: Update third_party/protobuf to protobuf-v3.0.0-beta-3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 16 matching lines...) Expand all
27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30
31 syntax = "proto3"; 31 syntax = "proto3";
32 32
33 package google.protobuf; 33 package google.protobuf;
34 34
35 option csharp_namespace = "Google.Protobuf.WellKnownTypes"; 35 option csharp_namespace = "Google.Protobuf.WellKnownTypes";
36 option cc_enable_arenas = true; 36 option cc_enable_arenas = true;
37 option go_package = "github.com/golang/protobuf/ptypes/timestamp";
37 option java_package = "com.google.protobuf"; 38 option java_package = "com.google.protobuf";
38 option java_outer_classname = "TimestampProto"; 39 option java_outer_classname = "TimestampProto";
39 option java_multiple_files = true; 40 option java_multiple_files = true;
40 option java_generate_equals_and_hash = true; 41 option java_generate_equals_and_hash = true;
41 option objc_class_prefix = "GPB"; 42 option objc_class_prefix = "GPB";
42 43
43 // A Timestamp represents a point in time independent of any time zone 44 // A Timestamp represents a point in time independent of any time zone
44 // or calendar, represented as seconds and fractions of seconds at 45 // or calendar, represented as seconds and fractions of seconds at
45 // nanosecond resolution in UTC Epoch time. It is encoded using the 46 // nanosecond resolution in UTC Epoch time. It is encoded using the
46 // Proleptic Gregorian Calendar which extends the Gregorian calendar 47 // Proleptic Gregorian Calendar which extends the Gregorian calendar
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // 1970-01-01T00:00:00Z. Must be from from 0001-01-01T00:00:00Z to 102 // 1970-01-01T00:00:00Z. Must be from from 0001-01-01T00:00:00Z to
102 // 9999-12-31T23:59:59Z inclusive. 103 // 9999-12-31T23:59:59Z inclusive.
103 int64 seconds = 1; 104 int64 seconds = 1;
104 105
105 // Non-negative fractions of a second at nanosecond resolution. Negative 106 // Non-negative fractions of a second at nanosecond resolution. Negative
106 // second values with fractions must still have non-negative nanos values 107 // second values with fractions must still have non-negative nanos values
107 // that count forward in time. Must be from 0 to 999,999,999 108 // that count forward in time. Must be from 0 to 999,999,999
108 // inclusive. 109 // inclusive.
109 int32 nanos = 2; 110 int32 nanos = 2;
110 } 111 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698