| Index: third_party/protobuf/src/google/protobuf/util/package_info.h
|
| diff --git a/third_party/protobuf/src/google/protobuf/util/internal/testdata/anys.proto b/third_party/protobuf/src/google/protobuf/util/package_info.h
|
| similarity index 80%
|
| copy from third_party/protobuf/src/google/protobuf/util/internal/testdata/anys.proto
|
| copy to third_party/protobuf/src/google/protobuf/util/package_info.h
|
| index 18c59cbb96308c72f0a1d432a2ef79d81fccbdb6..e37e6dc0986ce657f3d0f0da6029d26655317992 100644
|
| --- a/third_party/protobuf/src/google/protobuf/util/internal/testdata/anys.proto
|
| +++ b/third_party/protobuf/src/google/protobuf/util/package_info.h
|
| @@ -28,26 +28,19 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -// Proto to test Proto3 Any serialization.
|
| -syntax = "proto3";
|
| +// This file exists solely to document the google::protobuf::util namespace.
|
| +// It is not compiled into anything, but it may be read by an automated
|
| +// documentation generator.
|
|
|
| -package google.protobuf.testing.anys;
|
| -option java_package = "com.google.protobuf.testing.anys";
|
| +namespace google {
|
|
|
| -import "google/protobuf/any.proto";
|
| +namespace protobuf {
|
|
|
| -message AnyIn {
|
| - string something = 1;
|
| -}
|
| -
|
| -message AnyOut {
|
| - google.protobuf.Any any = 1;
|
| -}
|
| -
|
| -message AnyM {
|
| - string foo = 1;
|
| -}
|
| +// Utility classes.
|
| +//
|
| +// This package contains various utilities for message comprasion, JSON
|
| +// conversion, well known types, etc.
|
| +namespace util {}
|
|
|
| -service TestService {
|
| - rpc Call(AnyIn) returns (AnyOut);
|
| -}
|
| +} // namespace protobuf
|
| +} // namespace google
|
|
|