1 /* Copyright 2015 The TensorFlow Authors. All Rights Reserved. 2 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 6 7 http://www.apache.org/licenses/LICENSE-2.0 8 9 Unless required by applicable law or agreed to in writing, software 10 distributed under the License is distributed on an "AS IS" BASIS, 11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 See the License for the specific language governing permissions and 13 limitations under the License. 14 ==============================================================================*/ 15 16 #ifndef TENSORFLOW_CORE_PLATFORM_DEFAULT_PROTOBUF_H_ 17 #define TENSORFLOW_CORE_PLATFORM_DEFAULT_PROTOBUF_H_ 18 19 // IWYU pragma: private, include "third_party/tensorflow/core/platform/protobuf.h" 20 // IWYU pragma: friend third_party/tensorflow/core/platform/protobuf.h 21 22 #include "google/protobuf/arena.h" 23 #include "google/protobuf/compiler/importer.h" 24 #include "google/protobuf/descriptor.h" 25 #include "google/protobuf/io/coded_stream.h" 26 #include "google/protobuf/io/zero_copy_stream.h" 27 #include "google/protobuf/io/zero_copy_stream_impl_lite.h" 28 #include "google/protobuf/map.h" 29 #include "google/protobuf/repeated_field.h" 30 #include "google/protobuf/text_format.h" 31 #include "google/protobuf/util/json_util.h" 32 #include "google/protobuf/util/type_resolver_util.h" 33 34 namespace tensorflow { 35 namespace protobuf = ::google::protobuf; 36 using protobuf_int64 = ::google::protobuf::int64; 37 using protobuf_uint64 = ::google::protobuf::uint64; 38 extern const char* kProtobufInt64Typename; 39 extern const char* kProtobufUint64Typename; 40 } // namespace tensorflow 41 42 #endif // TENSORFLOW_CORE_PLATFORM_DEFAULT_PROTOBUF_H_ 43