| 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 18 matching lines...) Expand all Loading... |
| 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 java_package = "com.google.protobuf"; | 36 option java_package = "com.google.protobuf"; |
| 37 option java_outer_classname = "SourceContextProto"; | 37 option java_outer_classname = "SourceContextProto"; |
| 38 option java_multiple_files = true; | 38 option java_multiple_files = true; |
| 39 option java_generate_equals_and_hash = true; |
| 39 option objc_class_prefix = "GPB"; | 40 option objc_class_prefix = "GPB"; |
| 40 option go_package = "google.golang.org/genproto/protobuf/source_context;source_c
ontext"; | |
| 41 | 41 |
| 42 // `SourceContext` represents information about the source of a | 42 // `SourceContext` represents information about the source of a |
| 43 // protobuf element, like the file in which it is defined. | 43 // protobuf element, like the file in which it is defined. |
| 44 message SourceContext { | 44 message SourceContext { |
| 45 // The path-qualified name of the .proto file that contained the associated | 45 // The path-qualified name of the .proto file that contained the associated |
| 46 // protobuf element. For example: `"google/protobuf/source_context.proto"`. | 46 // protobuf element. For example: `"google/protobuf/source.proto"`. |
| 47 string file_name = 1; | 47 string file_name = 1; |
| 48 } | 48 } |
| OLD | NEW |