| Index: third_party/protobuf/src/google/protobuf/api.pb.cc
|
| diff --git a/third_party/protobuf/src/google/protobuf/api.pb.cc b/third_party/protobuf/src/google/protobuf/api.pb.cc
|
| index e589a89dd75654551e333653011b76f4ef380ef1..cbeba3023fa093273c81979967412fe861fdada5 100644
|
| --- a/third_party/protobuf/src/google/protobuf/api.pb.cc
|
| +++ b/third_party/protobuf/src/google/protobuf/api.pb.cc
|
| @@ -265,6 +265,7 @@ Api* Api::New(::google::protobuf::Arena* arena) const {
|
| }
|
|
|
| void Api::Clear() {
|
| +// @@protoc_insertion_point(message_clear_start:google.protobuf.Api)
|
| name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| if (GetArenaNoVirtual() == NULL && source_context_ != NULL) delete source_context_;
|
| @@ -277,7 +278,7 @@ void Api::Clear() {
|
|
|
| bool Api::MergePartialFromCodedStream(
|
| ::google::protobuf::io::CodedInputStream* input) {
|
| -#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
| +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
|
| ::google::protobuf::uint32 tag;
|
| // @@protoc_insertion_point(parse_start:google.protobuf.Api)
|
| for (;;) {
|
| @@ -538,6 +539,7 @@ void Api::SerializeWithCachedSizes(
|
| }
|
|
|
| int Api::ByteSize() const {
|
| +// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Api)
|
| int total_size = 0;
|
|
|
| // optional string name = 1;
|
| @@ -598,18 +600,22 @@ int Api::ByteSize() const {
|
| }
|
|
|
| void Api::MergeFrom(const ::google::protobuf::Message& from) {
|
| +// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.Api)
|
| if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
|
| const Api* source =
|
| ::google::protobuf::internal::DynamicCastToGenerated<const Api>(
|
| &from);
|
| if (source == NULL) {
|
| + // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.Api)
|
| ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
| } else {
|
| + // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.Api)
|
| MergeFrom(*source);
|
| }
|
| }
|
|
|
| void Api::MergeFrom(const Api& from) {
|
| +// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Api)
|
| if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
|
| methods_.MergeFrom(from.methods_);
|
| options_.MergeFrom(from.options_);
|
| @@ -631,12 +637,14 @@ void Api::MergeFrom(const Api& from) {
|
| }
|
|
|
| void Api::CopyFrom(const ::google::protobuf::Message& from) {
|
| +// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.Api)
|
| if (&from == this) return;
|
| Clear();
|
| MergeFrom(from);
|
| }
|
|
|
| void Api::CopyFrom(const Api& from) {
|
| +// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Api)
|
| if (&from == this) return;
|
| Clear();
|
| MergeFrom(from);
|
| @@ -704,6 +712,7 @@ void Api::clear_name() {
|
| return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
| ::std::string* Api::release_name() {
|
| + // @@protoc_insertion_point(field_release:google.protobuf.Api.name)
|
|
|
| return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
| @@ -807,6 +816,7 @@ void Api::clear_version() {
|
| return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
| ::std::string* Api::release_version() {
|
| + // @@protoc_insertion_point(field_release:google.protobuf.Api.version)
|
|
|
| return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
| @@ -841,6 +851,7 @@ const ::google::protobuf::SourceContext& Api::source_context() const {
|
| return source_context_;
|
| }
|
| ::google::protobuf::SourceContext* Api::release_source_context() {
|
| + // @@protoc_insertion_point(field_release:google.protobuf.Api.source_context)
|
|
|
| ::google::protobuf::SourceContext* temp = source_context_;
|
| source_context_ = NULL;
|
| @@ -984,8 +995,17 @@ Method* Method::New(::google::protobuf::Arena* arena) const {
|
| }
|
|
|
| void Method::Clear() {
|
| +// @@protoc_insertion_point(message_clear_start:google.protobuf.Method)
|
| +#if defined(__clang__)
|
| +#define ZR_HELPER_(f) \
|
| + _Pragma("clang diagnostic push") \
|
| + _Pragma("clang diagnostic ignored \"-Winvalid-offsetof\"") \
|
| + __builtin_offsetof(Method, f) \
|
| + _Pragma("clang diagnostic pop")
|
| +#else
|
| #define ZR_HELPER_(f) reinterpret_cast<char*>(\
|
| &reinterpret_cast<Method*>(16)->f)
|
| +#endif
|
|
|
| #define ZR_(first, last) do {\
|
| ::memset(&first, 0,\
|
| @@ -1005,7 +1025,7 @@ void Method::Clear() {
|
|
|
| bool Method::MergePartialFromCodedStream(
|
| ::google::protobuf::io::CodedInputStream* input) {
|
| -#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
| +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
|
| ::google::protobuf::uint32 tag;
|
| // @@protoc_insertion_point(parse_start:google.protobuf.Method)
|
| for (;;) {
|
| @@ -1269,6 +1289,7 @@ void Method::SerializeWithCachedSizes(
|
| }
|
|
|
| int Method::ByteSize() const {
|
| +// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Method)
|
| int total_size = 0;
|
|
|
| // optional string name = 1;
|
| @@ -1323,18 +1344,22 @@ int Method::ByteSize() const {
|
| }
|
|
|
| void Method::MergeFrom(const ::google::protobuf::Message& from) {
|
| +// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.Method)
|
| if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
|
| const Method* source =
|
| ::google::protobuf::internal::DynamicCastToGenerated<const Method>(
|
| &from);
|
| if (source == NULL) {
|
| + // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.Method)
|
| ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
| } else {
|
| + // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.Method)
|
| MergeFrom(*source);
|
| }
|
| }
|
|
|
| void Method::MergeFrom(const Method& from) {
|
| +// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Method)
|
| if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
|
| options_.MergeFrom(from.options_);
|
| if (from.name().size() > 0) {
|
| @@ -1361,12 +1386,14 @@ void Method::MergeFrom(const Method& from) {
|
| }
|
|
|
| void Method::CopyFrom(const ::google::protobuf::Message& from) {
|
| +// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.Method)
|
| if (&from == this) return;
|
| Clear();
|
| MergeFrom(from);
|
| }
|
|
|
| void Method::CopyFrom(const Method& from) {
|
| +// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Method)
|
| if (&from == this) return;
|
| Clear();
|
| MergeFrom(from);
|
| @@ -1434,6 +1461,7 @@ void Method::clear_name() {
|
| return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
| ::std::string* Method::release_name() {
|
| + // @@protoc_insertion_point(field_release:google.protobuf.Method.name)
|
|
|
| return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
| @@ -1477,6 +1505,7 @@ void Method::clear_request_type_url() {
|
| return request_type_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
| ::std::string* Method::release_request_type_url() {
|
| + // @@protoc_insertion_point(field_release:google.protobuf.Method.request_type_url)
|
|
|
| return request_type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
| @@ -1534,6 +1563,7 @@ void Method::clear_response_type_url() {
|
| return response_type_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
| ::std::string* Method::release_response_type_url() {
|
| + // @@protoc_insertion_point(field_release:google.protobuf.Method.response_type_url)
|
|
|
| return response_type_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
| @@ -1678,13 +1708,14 @@ Mixin* Mixin::New(::google::protobuf::Arena* arena) const {
|
| }
|
|
|
| void Mixin::Clear() {
|
| +// @@protoc_insertion_point(message_clear_start:google.protobuf.Mixin)
|
| name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| root_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
|
|
| bool Mixin::MergePartialFromCodedStream(
|
| ::google::protobuf::io::CodedInputStream* input) {
|
| -#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
|
| +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
|
| ::google::protobuf::uint32 tag;
|
| // @@protoc_insertion_point(parse_start:google.protobuf.Mixin)
|
| for (;;) {
|
| @@ -1802,6 +1833,7 @@ void Mixin::SerializeWithCachedSizes(
|
| }
|
|
|
| int Mixin::ByteSize() const {
|
| +// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Mixin)
|
| int total_size = 0;
|
|
|
| // optional string name = 1;
|
| @@ -1825,18 +1857,22 @@ int Mixin::ByteSize() const {
|
| }
|
|
|
| void Mixin::MergeFrom(const ::google::protobuf::Message& from) {
|
| +// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.Mixin)
|
| if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
|
| const Mixin* source =
|
| ::google::protobuf::internal::DynamicCastToGenerated<const Mixin>(
|
| &from);
|
| if (source == NULL) {
|
| + // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.Mixin)
|
| ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
| } else {
|
| + // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.Mixin)
|
| MergeFrom(*source);
|
| }
|
| }
|
|
|
| void Mixin::MergeFrom(const Mixin& from) {
|
| +// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Mixin)
|
| if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
|
| if (from.name().size() > 0) {
|
|
|
| @@ -1849,12 +1885,14 @@ void Mixin::MergeFrom(const Mixin& from) {
|
| }
|
|
|
| void Mixin::CopyFrom(const ::google::protobuf::Message& from) {
|
| +// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.Mixin)
|
| if (&from == this) return;
|
| Clear();
|
| MergeFrom(from);
|
| }
|
|
|
| void Mixin::CopyFrom(const Mixin& from) {
|
| +// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Mixin)
|
| if (&from == this) return;
|
| Clear();
|
| MergeFrom(from);
|
| @@ -1917,6 +1955,7 @@ void Mixin::clear_name() {
|
| return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
| ::std::string* Mixin::release_name() {
|
| + // @@protoc_insertion_point(field_release:google.protobuf.Mixin.name)
|
|
|
| return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
| @@ -1960,6 +1999,7 @@ void Mixin::clear_root() {
|
| return root_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
| ::std::string* Mixin::release_root() {
|
| + // @@protoc_insertion_point(field_release:google.protobuf.Mixin.root)
|
|
|
| return root_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
| }
|
|
|