Index: third_party/protobuf/src/google/protobuf/any.pb.h |
diff --git a/third_party/protobuf/src/google/protobuf/any.pb.h b/third_party/protobuf/src/google/protobuf/any.pb.h |
index 100a67f61261bfa2da0ba7c351b238fd28c23595..0641e2443372835d0c5d9baf5254cccfc1d07920 100644 |
--- a/third_party/protobuf/src/google/protobuf/any.pb.h |
+++ b/third_party/protobuf/src/google/protobuf/any.pb.h |
@@ -8,12 +8,12 @@ |
#include <google/protobuf/stubs/common.h> |
-#if GOOGLE_PROTOBUF_VERSION < 3000000 |
+#if GOOGLE_PROTOBUF_VERSION < 3001000 |
#error This file was generated by a newer version of protoc which is |
#error incompatible with your Protocol Buffer headers. Please update |
#error your headers. |
#endif |
-#if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
+#if 3001000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
#error This file was generated by an older version of protoc which is |
#error incompatible with your Protocol Buffer headers. Please |
#error regenerate this file with a newer version of protoc. |
@@ -35,6 +35,7 @@ namespace protobuf { |
// Internal implementation detail -- do not call these. |
void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fany_2eproto(); |
+void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fany_2eproto(); |
void protobuf_AssignDesc_google_2fprotobuf_2fany_2eproto(); |
void protobuf_ShutdownFile_google_2fprotobuf_2fany_2eproto(); |
@@ -42,7 +43,7 @@ class Any; |
// =================================================================== |
-class LIBPROTOBUF_EXPORT Any : public ::google::protobuf::Message { |
+class LIBPROTOBUF_EXPORT Any : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Any) */ { |
public: |
Any(); |
virtual ~Any(); |
@@ -57,6 +58,8 @@ class LIBPROTOBUF_EXPORT Any : public ::google::protobuf::Message { |
static const ::google::protobuf::Descriptor* descriptor(); |
static const Any& default_instance(); |
+ static const Any* internal_default_instance(); |
+ |
// implements Any ----------------------------------------------- |
void PackFrom(const ::google::protobuf::Message& message); |
@@ -81,18 +84,23 @@ class LIBPROTOBUF_EXPORT Any : public ::google::protobuf::Message { |
void Clear(); |
bool IsInitialized() const; |
- int ByteSize() const; |
+ size_t ByteSizeLong() const; |
bool MergePartialFromCodedStream( |
::google::protobuf::io::CodedInputStream* input); |
void SerializeWithCachedSizes( |
::google::protobuf::io::CodedOutputStream* output) const; |
- ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; |
+ ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
+ bool deterministic, ::google::protobuf::uint8* output) const; |
+ ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const { |
+ return InternalSerializeWithCachedSizesToArray(false, output); |
+ } |
int GetCachedSize() const { return _cached_size_; } |
private: |
void SharedCtor(); |
void SharedDtor(); |
void SetCachedSize(int size) const; |
void InternalSwap(Any* other); |
+ void UnsafeMergeFrom(const Any& from); |
private: |
inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
return _internal_metadata_.arena(); |
@@ -134,18 +142,19 @@ class LIBPROTOBUF_EXPORT Any : public ::google::protobuf::Message { |
private: |
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
- bool _is_default_instance_; |
::google::protobuf::internal::ArenaStringPtr type_url_; |
::google::protobuf::internal::ArenaStringPtr value_; |
mutable int _cached_size_; |
::google::protobuf::internal::AnyMetadata _any_metadata_; |
- friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fany_2eproto(); |
+ friend void LIBPROTOBUF_EXPORT protobuf_InitDefaults_google_2fprotobuf_2fany_2eproto_impl(); |
+ friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fany_2eproto_impl(); |
friend void protobuf_AssignDesc_google_2fprotobuf_2fany_2eproto(); |
friend void protobuf_ShutdownFile_google_2fprotobuf_2fany_2eproto(); |
void InitAsDefaultInstance(); |
- static Any* default_instance_; |
}; |
+extern ::google::protobuf::internal::ExplicitlyConstructed<Any> Any_default_instance_; |
+ |
// =================================================================== |
@@ -242,6 +251,9 @@ inline void Any::set_allocated_value(::std::string* value) { |
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Any.value) |
} |
+inline const Any* Any::internal_default_instance() { |
+ return &Any_default_instance_.get(); |
+} |
#endif // !PROTOBUF_INLINE_NOT_IN_HEADERS |
// @@protoc_insertion_point(namespace_scope) |