| 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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 package google.protobuf; | 33 package google.protobuf; |
| 34 | 34 |
| 35 import "google/protobuf/source_context.proto"; | 35 import "google/protobuf/source_context.proto"; |
| 36 import "google/protobuf/type.proto"; | 36 import "google/protobuf/type.proto"; |
| 37 | 37 |
| 38 option csharp_namespace = "Google.Protobuf.WellKnownTypes"; | 38 option csharp_namespace = "Google.Protobuf.WellKnownTypes"; |
| 39 option java_package = "com.google.protobuf"; | 39 option java_package = "com.google.protobuf"; |
| 40 option java_outer_classname = "ApiProto"; | 40 option java_outer_classname = "ApiProto"; |
| 41 option java_multiple_files = true; | 41 option java_multiple_files = true; |
| 42 option java_generate_equals_and_hash = true; | |
| 43 option objc_class_prefix = "GPB"; | 42 option objc_class_prefix = "GPB"; |
| 43 option go_package = "google.golang.org/genproto/protobuf/api;api"; |
| 44 | 44 |
| 45 // Api is a light-weight descriptor for a protocol buffer service. | 45 // Api is a light-weight descriptor for a protocol buffer service. |
| 46 message Api { | 46 message Api { |
| 47 | 47 |
| 48 // The fully qualified name of this api, including package name | 48 // The fully qualified name of this api, including package name |
| 49 // followed by the api's simple name. | 49 // followed by the api's simple name. |
| 50 string name = 1; | 50 string name = 1; |
| 51 | 51 |
| 52 // The methods of this api, in unspecified order. | 52 // The methods of this api, in unspecified order. |
| 53 repeated Method methods = 2; | 53 repeated Method methods = 2; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 // ... | 193 // ... |
| 194 // } | 194 // } |
| 195 message Mixin { | 195 message Mixin { |
| 196 // The fully qualified name of the API which is included. | 196 // The fully qualified name of the API which is included. |
| 197 string name = 1; | 197 string name = 1; |
| 198 | 198 |
| 199 // If non-empty specifies a path under which inherited HTTP paths | 199 // If non-empty specifies a path under which inherited HTTP paths |
| 200 // are rooted. | 200 // are rooted. |
| 201 string root = 2; | 201 string root = 2; |
| 202 } | 202 } |
| OLD | NEW |