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

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

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Make chrome settings proto generated file a component Created 4 years 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 18 matching lines...) Expand all
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 import "google/protobuf/any.proto"; 35 import "google/protobuf/any.proto";
36 import "google/protobuf/source_context.proto"; 36 import "google/protobuf/source_context.proto";
37 37
38 option csharp_namespace = "Google.Protobuf.WellKnownTypes"; 38 option csharp_namespace = "Google.Protobuf.WellKnownTypes";
39 option cc_enable_arenas = true;
39 option java_package = "com.google.protobuf"; 40 option java_package = "com.google.protobuf";
40 option java_outer_classname = "TypeProto"; 41 option java_outer_classname = "TypeProto";
41 option java_multiple_files = true; 42 option java_multiple_files = true;
42 option java_generate_equals_and_hash = true;
43 option objc_class_prefix = "GPB"; 43 option objc_class_prefix = "GPB";
44 option go_package = "google.golang.org/genproto/protobuf/ptype;ptype";
44 45
45 // A protocol buffer message type. 46 // A protocol buffer message type.
46 message Type { 47 message Type {
47 // The fully qualified message name. 48 // The fully qualified message name.
48 string name = 1; 49 string name = 1;
49 // The list of fields. 50 // The list of fields.
50 repeated Field fields = 2; 51 repeated Field fields = 2;
51 // The list of types appearing in `oneof` definitions in this type. 52 // The list of types appearing in `oneof` definitions in this type.
52 repeated string oneofs = 3; 53 repeated string oneofs = 3;
53 // The protocol buffer options. 54 // The protocol buffer options.
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 Any value = 2; 172 Any value = 2;
172 } 173 }
173 174
174 // The syntax in which a protocol buffer element is defined. 175 // The syntax in which a protocol buffer element is defined.
175 enum Syntax { 176 enum Syntax {
176 // Syntax `proto2`. 177 // Syntax `proto2`.
177 SYNTAX_PROTO2 = 0; 178 SYNTAX_PROTO2 = 0;
178 // Syntax `proto3`. 179 // Syntax `proto3`.
179 SYNTAX_PROTO3 = 1; 180 SYNTAX_PROTO3 = 1;
180 } 181 }
OLDNEW
« no previous file with comments | « third_party/protobuf/src/google/protobuf/timestamp.pb.cc ('k') | third_party/protobuf/src/google/protobuf/type.pb.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698