Index: third_party/protobuf/src/google/protobuf/descriptor.pb.cc |
diff --git a/third_party/protobuf/src/google/protobuf/descriptor.pb.cc b/third_party/protobuf/src/google/protobuf/descriptor.pb.cc |
index eda6280f3f9fb67da679eac80da4c0fe2956d129..4d5c4d99d406b1126a97ca7b8ca520be037e9d49 100644 |
--- a/third_party/protobuf/src/google/protobuf/descriptor.pb.cc |
+++ b/third_party/protobuf/src/google/protobuf/descriptor.pb.cc |
@@ -93,6 +93,12 @@ const ::google::protobuf::internal::GeneratedMessageReflection* |
const ::google::protobuf::Descriptor* SourceCodeInfo_Location_descriptor_ = NULL; |
const ::google::protobuf::internal::GeneratedMessageReflection* |
SourceCodeInfo_Location_reflection_ = NULL; |
+const ::google::protobuf::Descriptor* GeneratedCodeInfo_descriptor_ = NULL; |
+const ::google::protobuf::internal::GeneratedMessageReflection* |
+ GeneratedCodeInfo_reflection_ = NULL; |
+const ::google::protobuf::Descriptor* GeneratedCodeInfo_Annotation_descriptor_ = NULL; |
+const ::google::protobuf::internal::GeneratedMessageReflection* |
+ GeneratedCodeInfo_Annotation_reflection_ = NULL; |
} // namespace |
@@ -313,7 +319,7 @@ void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() { |
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, _internal_metadata_), |
-1); |
FileOptions_descriptor_ = file->message_type(9); |
- static const int FileOptions_offsets_[16] = { |
+ static const int FileOptions_offsets_[15] = { |
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_package_), |
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_outer_classname_), |
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_multiple_files_), |
@@ -328,7 +334,6 @@ void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() { |
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, cc_enable_arenas_), |
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, objc_class_prefix_), |
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, csharp_namespace_), |
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, javanano_use_deprecated_package_), |
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, uninterpreted_option_), |
}; |
FileOptions_reflection_ = |
@@ -521,6 +526,39 @@ void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() { |
sizeof(SourceCodeInfo_Location), |
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SourceCodeInfo_Location, _internal_metadata_), |
-1); |
+ GeneratedCodeInfo_descriptor_ = file->message_type(18); |
+ static const int GeneratedCodeInfo_offsets_[1] = { |
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo, annotation_), |
+ }; |
+ GeneratedCodeInfo_reflection_ = |
+ ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection( |
+ GeneratedCodeInfo_descriptor_, |
+ GeneratedCodeInfo::default_instance_, |
+ GeneratedCodeInfo_offsets_, |
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo, _has_bits_[0]), |
+ -1, |
+ -1, |
+ sizeof(GeneratedCodeInfo), |
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo, _internal_metadata_), |
+ -1); |
+ GeneratedCodeInfo_Annotation_descriptor_ = GeneratedCodeInfo_descriptor_->nested_type(0); |
+ static const int GeneratedCodeInfo_Annotation_offsets_[4] = { |
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, path_), |
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, source_file_), |
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, begin_), |
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, end_), |
+ }; |
+ GeneratedCodeInfo_Annotation_reflection_ = |
+ ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection( |
+ GeneratedCodeInfo_Annotation_descriptor_, |
+ GeneratedCodeInfo_Annotation::default_instance_, |
+ GeneratedCodeInfo_Annotation_offsets_, |
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _has_bits_[0]), |
+ -1, |
+ -1, |
+ sizeof(GeneratedCodeInfo_Annotation), |
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _internal_metadata_), |
+ -1); |
} |
namespace { |
@@ -577,6 +615,10 @@ void protobuf_RegisterTypes(const ::std::string&) { |
SourceCodeInfo_descriptor_, &SourceCodeInfo::default_instance()); |
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( |
SourceCodeInfo_Location_descriptor_, &SourceCodeInfo_Location::default_instance()); |
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( |
+ GeneratedCodeInfo_descriptor_, &GeneratedCodeInfo::default_instance()); |
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( |
+ GeneratedCodeInfo_Annotation_descriptor_, &GeneratedCodeInfo_Annotation::default_instance()); |
} |
} // namespace |
@@ -626,6 +668,10 @@ void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto() { |
delete SourceCodeInfo_reflection_; |
delete SourceCodeInfo_Location::default_instance_; |
delete SourceCodeInfo_Location_reflection_; |
+ delete GeneratedCodeInfo::default_instance_; |
+ delete GeneratedCodeInfo_reflection_; |
+ delete GeneratedCodeInfo_Annotation::default_instance_; |
+ delete GeneratedCodeInfo_Annotation_reflection_; |
} |
void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() { |
@@ -699,7 +745,7 @@ void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() { |
"_type\030\003 \001(\t\022/\n\007options\030\004 \001(\0132\036.google.pr" |
"otobuf.MethodOptions\022\037\n\020client_streaming" |
"\030\005 \001(\010:\005false\022\037\n\020server_streaming\030\006 \001(\010:" |
- "\005false\"\252\005\n\013FileOptions\022\024\n\014java_package\030\001" |
+ "\005false\"\207\005\n\013FileOptions\022\024\n\014java_package\030\001" |
" \001(\t\022\034\n\024java_outer_classname\030\010 \001(\t\022\"\n\023ja" |
"va_multiple_files\030\n \001(\010:\005false\022,\n\035java_g" |
"enerate_equals_and_hash\030\024 \001(\010:\005false\022%\n\026" |
@@ -711,56 +757,59 @@ void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() { |
"e\022\"\n\023py_generic_services\030\022 \001(\010:\005false\022\031\n" |
"\ndeprecated\030\027 \001(\010:\005false\022\037\n\020cc_enable_ar" |
"enas\030\037 \001(\010:\005false\022\031\n\021objc_class_prefix\030$" |
- " \001(\t\022\030\n\020csharp_namespace\030% \001(\t\022\'\n\037javana" |
- "no_use_deprecated_package\030& \001(\010\022C\n\024unint" |
- "erpreted_option\030\347\007 \003(\0132$.google.protobuf" |
- ".UninterpretedOption\":\n\014OptimizeMode\022\t\n\005" |
- "SPEED\020\001\022\r\n\tCODE_SIZE\020\002\022\020\n\014LITE_RUNTIME\020\003" |
- "*\t\010\350\007\020\200\200\200\200\002\"\346\001\n\016MessageOptions\022&\n\027messag" |
- "e_set_wire_format\030\001 \001(\010:\005false\022.\n\037no_sta" |
- "ndard_descriptor_accessor\030\002 \001(\010:\005false\022\031" |
- "\n\ndeprecated\030\003 \001(\010:\005false\022\021\n\tmap_entry\030\007" |
- " \001(\010\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.go" |
+ " \001(\t\022\030\n\020csharp_namespace\030% \001(\t\022C\n\024uninte" |
+ "rpreted_option\030\347\007 \003(\0132$.google.protobuf." |
+ "UninterpretedOption\":\n\014OptimizeMode\022\t\n\005S" |
+ "PEED\020\001\022\r\n\tCODE_SIZE\020\002\022\020\n\014LITE_RUNTIME\020\003*" |
+ "\t\010\350\007\020\200\200\200\200\002J\004\010&\020\'\"\346\001\n\016MessageOptions\022&\n\027m" |
+ "essage_set_wire_format\030\001 \001(\010:\005false\022.\n\037n" |
+ "o_standard_descriptor_accessor\030\002 \001(\010:\005fa" |
+ "lse\022\031\n\ndeprecated\030\003 \001(\010:\005false\022\021\n\tmap_en" |
+ "try\030\007 \001(\010\022C\n\024uninterpreted_option\030\347\007 \003(\013" |
+ "2$.google.protobuf.UninterpretedOption*\t" |
+ "\010\350\007\020\200\200\200\200\002\"\230\003\n\014FieldOptions\022:\n\005ctype\030\001 \001(" |
+ "\0162#.google.protobuf.FieldOptions.CType:\006" |
+ "STRING\022\016\n\006packed\030\002 \001(\010\022\?\n\006jstype\030\006 \001(\0162$" |
+ ".google.protobuf.FieldOptions.JSType:\tJS" |
+ "_NORMAL\022\023\n\004lazy\030\005 \001(\010:\005false\022\031\n\ndeprecat" |
+ "ed\030\003 \001(\010:\005false\022\023\n\004weak\030\n \001(\010:\005false\022C\n\024" |
+ "uninterpreted_option\030\347\007 \003(\0132$.google.pro" |
+ "tobuf.UninterpretedOption\"/\n\005CType\022\n\n\006ST" |
+ "RING\020\000\022\010\n\004CORD\020\001\022\020\n\014STRING_PIECE\020\002\"5\n\006JS" |
+ "Type\022\r\n\tJS_NORMAL\020\000\022\r\n\tJS_STRING\020\001\022\r\n\tJS" |
+ "_NUMBER\020\002*\t\010\350\007\020\200\200\200\200\002\"\215\001\n\013EnumOptions\022\023\n\013" |
+ "allow_alias\030\002 \001(\010\022\031\n\ndeprecated\030\003 \001(\010:\005f" |
+ "alse\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.go" |
"ogle.protobuf.UninterpretedOption*\t\010\350\007\020\200" |
- "\200\200\200\002\"\230\003\n\014FieldOptions\022:\n\005ctype\030\001 \001(\0162#.g" |
- "oogle.protobuf.FieldOptions.CType:\006STRIN" |
- "G\022\016\n\006packed\030\002 \001(\010\022\?\n\006jstype\030\006 \001(\0162$.goog" |
- "le.protobuf.FieldOptions.JSType:\tJS_NORM" |
- "AL\022\023\n\004lazy\030\005 \001(\010:\005false\022\031\n\ndeprecated\030\003 " |
- "\001(\010:\005false\022\023\n\004weak\030\n \001(\010:\005false\022C\n\024unint" |
- "erpreted_option\030\347\007 \003(\0132$.google.protobuf" |
- ".UninterpretedOption\"/\n\005CType\022\n\n\006STRING\020" |
- "\000\022\010\n\004CORD\020\001\022\020\n\014STRING_PIECE\020\002\"5\n\006JSType\022" |
- "\r\n\tJS_NORMAL\020\000\022\r\n\tJS_STRING\020\001\022\r\n\tJS_NUMB" |
- "ER\020\002*\t\010\350\007\020\200\200\200\200\002\"\215\001\n\013EnumOptions\022\023\n\013allow" |
- "_alias\030\002 \001(\010\022\031\n\ndeprecated\030\003 \001(\010:\005false\022" |
- "C\n\024uninterpreted_option\030\347\007 \003(\0132$.google." |
- "protobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"" |
- "}\n\020EnumValueOptions\022\031\n\ndeprecated\030\001 \001(\010:" |
- "\005false\022C\n\024uninterpreted_option\030\347\007 \003(\0132$." |
- "google.protobuf.UninterpretedOption*\t\010\350\007" |
- "\020\200\200\200\200\002\"{\n\016ServiceOptions\022\031\n\ndeprecated\030!" |
+ "\200\200\200\002\"}\n\020EnumValueOptions\022\031\n\ndeprecated\030\001" |
" \001(\010:\005false\022C\n\024uninterpreted_option\030\347\007 \003" |
"(\0132$.google.protobuf.UninterpretedOption" |
- "*\t\010\350\007\020\200\200\200\200\002\"z\n\rMethodOptions\022\031\n\ndeprecat" |
- "ed\030! \001(\010:\005false\022C\n\024uninterpreted_option\030" |
- "\347\007 \003(\0132$.google.protobuf.UninterpretedOp" |
- "tion*\t\010\350\007\020\200\200\200\200\002\"\236\002\n\023UninterpretedOption\022" |
- ";\n\004name\030\002 \003(\0132-.google.protobuf.Uninterp" |
- "retedOption.NamePart\022\030\n\020identifier_value" |
- "\030\003 \001(\t\022\032\n\022positive_int_value\030\004 \001(\004\022\032\n\022ne" |
- "gative_int_value\030\005 \001(\003\022\024\n\014double_value\030\006" |
- " \001(\001\022\024\n\014string_value\030\007 \001(\014\022\027\n\017aggregate_" |
- "value\030\010 \001(\t\0323\n\010NamePart\022\021\n\tname_part\030\001 \002" |
- "(\t\022\024\n\014is_extension\030\002 \002(\010\"\325\001\n\016SourceCodeI" |
- "nfo\022:\n\010location\030\001 \003(\0132(.google.protobuf." |
- "SourceCodeInfo.Location\032\206\001\n\010Location\022\020\n\004" |
- "path\030\001 \003(\005B\002\020\001\022\020\n\004span\030\002 \003(\005B\002\020\001\022\030\n\020lead" |
- "ing_comments\030\003 \001(\t\022\031\n\021trailing_comments\030" |
- "\004 \001(\t\022!\n\031leading_detached_comments\030\006 \003(\t" |
- "BX\n\023com.google.protobufB\020DescriptorProto" |
- "sH\001Z\ndescriptor\242\002\003GPB\252\002\032Google.Protobuf." |
- "Reflection", 5010); |
+ "*\t\010\350\007\020\200\200\200\200\002\"{\n\016ServiceOptions\022\031\n\ndepreca" |
+ "ted\030! \001(\010:\005false\022C\n\024uninterpreted_option" |
+ "\030\347\007 \003(\0132$.google.protobuf.UninterpretedO" |
+ "ption*\t\010\350\007\020\200\200\200\200\002\"z\n\rMethodOptions\022\031\n\ndep" |
+ "recated\030! \001(\010:\005false\022C\n\024uninterpreted_op" |
+ "tion\030\347\007 \003(\0132$.google.protobuf.Uninterpre" |
+ "tedOption*\t\010\350\007\020\200\200\200\200\002\"\236\002\n\023UninterpretedOp" |
+ "tion\022;\n\004name\030\002 \003(\0132-.google.protobuf.Uni" |
+ "nterpretedOption.NamePart\022\030\n\020identifier_" |
+ "value\030\003 \001(\t\022\032\n\022positive_int_value\030\004 \001(\004\022" |
+ "\032\n\022negative_int_value\030\005 \001(\003\022\024\n\014double_va" |
+ "lue\030\006 \001(\001\022\024\n\014string_value\030\007 \001(\014\022\027\n\017aggre" |
+ "gate_value\030\010 \001(\t\0323\n\010NamePart\022\021\n\tname_par" |
+ "t\030\001 \002(\t\022\024\n\014is_extension\030\002 \002(\010\"\325\001\n\016Source" |
+ "CodeInfo\022:\n\010location\030\001 \003(\0132(.google.prot" |
+ "obuf.SourceCodeInfo.Location\032\206\001\n\010Locatio" |
+ "n\022\020\n\004path\030\001 \003(\005B\002\020\001\022\020\n\004span\030\002 \003(\005B\002\020\001\022\030\n" |
+ "\020leading_comments\030\003 \001(\t\022\031\n\021trailing_comm" |
+ "ents\030\004 \001(\t\022!\n\031leading_detached_comments\030" |
+ "\006 \003(\t\"\247\001\n\021GeneratedCodeInfo\022A\n\nannotatio" |
+ "n\030\001 \003(\0132-.google.protobuf.GeneratedCodeI" |
+ "nfo.Annotation\032O\n\nAnnotation\022\020\n\004path\030\001 \003" |
+ "(\005B\002\020\001\022\023\n\013source_file\030\002 \001(\t\022\r\n\005begin\030\003 \001" |
+ "(\005\022\013\n\003end\030\004 \001(\005BX\n\023com.google.protobufB\020" |
+ "DescriptorProtosH\001Z\ndescriptor\242\002\003GPB\252\002\032G" |
+ "oogle.Protobuf.Reflection", 5145); |
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( |
"google/protobuf/descriptor.proto", &protobuf_RegisterTypes); |
FileDescriptorSet::default_instance_ = new FileDescriptorSet(); |
@@ -785,6 +834,8 @@ void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() { |
UninterpretedOption_NamePart::default_instance_ = new UninterpretedOption_NamePart(); |
SourceCodeInfo::default_instance_ = new SourceCodeInfo(); |
SourceCodeInfo_Location::default_instance_ = new SourceCodeInfo_Location(); |
+ GeneratedCodeInfo::default_instance_ = new GeneratedCodeInfo(); |
+ GeneratedCodeInfo_Annotation::default_instance_ = new GeneratedCodeInfo_Annotation(); |
FileDescriptorSet::default_instance_->InitAsDefaultInstance(); |
FileDescriptorProto::default_instance_->InitAsDefaultInstance(); |
DescriptorProto::default_instance_->InitAsDefaultInstance(); |
@@ -807,6 +858,8 @@ void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() { |
UninterpretedOption_NamePart::default_instance_->InitAsDefaultInstance(); |
SourceCodeInfo::default_instance_->InitAsDefaultInstance(); |
SourceCodeInfo_Location::default_instance_->InitAsDefaultInstance(); |
+ GeneratedCodeInfo::default_instance_->InitAsDefaultInstance(); |
+ GeneratedCodeInfo_Annotation::default_instance_->InitAsDefaultInstance(); |
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto); |
} |
@@ -891,6 +944,7 @@ FileDescriptorSet* FileDescriptorSet::New(::google::protobuf::Arena* arena) cons |
} |
void FileDescriptorSet::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.FileDescriptorSet) |
file_.Clear(); |
::memset(_has_bits_, 0, sizeof(_has_bits_)); |
if (_internal_metadata_.have_unknown_fields()) { |
@@ -900,7 +954,7 @@ void FileDescriptorSet::Clear() { |
bool FileDescriptorSet::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.FileDescriptorSet) |
for (;;) { |
@@ -981,6 +1035,7 @@ void FileDescriptorSet::SerializeWithCachedSizes( |
} |
int FileDescriptorSet::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileDescriptorSet) |
int total_size = 0; |
// repeated .google.protobuf.FileDescriptorProto file = 1; |
@@ -1003,18 +1058,22 @@ int FileDescriptorSet::ByteSize() const { |
} |
void FileDescriptorSet::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FileDescriptorSet) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const FileDescriptorSet* source = |
::google::protobuf::internal::DynamicCastToGenerated<const FileDescriptorSet>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FileDescriptorSet) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FileDescriptorSet) |
MergeFrom(*source); |
} |
} |
void FileDescriptorSet::MergeFrom(const FileDescriptorSet& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileDescriptorSet) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
file_.MergeFrom(from.file_); |
if (from._internal_metadata_.have_unknown_fields()) { |
@@ -1023,12 +1082,14 @@ void FileDescriptorSet::MergeFrom(const FileDescriptorSet& from) { |
} |
void FileDescriptorSet::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FileDescriptorSet) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void FileDescriptorSet::CopyFrom(const FileDescriptorSet& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileDescriptorSet) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -1182,6 +1243,7 @@ FileDescriptorProto* FileDescriptorProto::New(::google::protobuf::Arena* arena) |
} |
void FileDescriptorProto::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.FileDescriptorProto) |
if (_has_bits_[0 / 32] & 3u) { |
if (has_name()) { |
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
@@ -1216,7 +1278,7 @@ void FileDescriptorProto::Clear() { |
bool FileDescriptorProto::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.FileDescriptorProto) |
for (;;) { |
@@ -1651,6 +1713,7 @@ void FileDescriptorProto::SerializeWithCachedSizes( |
} |
int FileDescriptorProto::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileDescriptorProto) |
int total_size = 0; |
if (_has_bits_[0 / 32] & 3u) { |
@@ -1763,18 +1826,22 @@ int FileDescriptorProto::ByteSize() const { |
} |
void FileDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FileDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const FileDescriptorProto* source = |
::google::protobuf::internal::DynamicCastToGenerated<const FileDescriptorProto>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FileDescriptorProto) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FileDescriptorProto) |
MergeFrom(*source); |
} |
} |
void FileDescriptorProto::MergeFrom(const FileDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
dependency_.MergeFrom(from.dependency_); |
public_dependency_.MergeFrom(from.public_dependency_); |
@@ -1811,12 +1878,14 @@ void FileDescriptorProto::MergeFrom(const FileDescriptorProto& from) { |
} |
void FileDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FileDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void FileDescriptorProto::CopyFrom(const FileDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -1907,6 +1976,7 @@ void FileDescriptorProto::clear_name() { |
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* FileDescriptorProto::release_name() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name) |
clear_has_name(); |
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -1960,6 +2030,7 @@ void FileDescriptorProto::clear_package() { |
return package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* FileDescriptorProto::release_package() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package) |
clear_has_package(); |
return package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -2002,6 +2073,7 @@ void FileDescriptorProto::clear_dependency() { |
// @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency) |
} |
::std::string* FileDescriptorProto::add_dependency() { |
+ // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency) |
return dependency_.Add(); |
} |
void FileDescriptorProto::add_dependency(const ::std::string& value) { |
@@ -2234,6 +2306,7 @@ const ::google::protobuf::FileOptions& FileDescriptorProto::options() const { |
return options_; |
} |
::google::protobuf::FileOptions* FileDescriptorProto::release_options() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options) |
clear_has_options(); |
::google::protobuf::FileOptions* temp = options_; |
options_ = NULL; |
@@ -2277,6 +2350,7 @@ const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_code_info( |
return source_code_info_; |
} |
::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_code_info() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info) |
clear_has_source_code_info(); |
::google::protobuf::SourceCodeInfo* temp = source_code_info_; |
source_code_info_ = NULL; |
@@ -2333,6 +2407,7 @@ void FileDescriptorProto::clear_syntax() { |
return syntax_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* FileDescriptorProto::release_syntax() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax) |
clear_has_syntax(); |
return syntax_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -2415,8 +2490,17 @@ DescriptorProto_ExtensionRange* DescriptorProto_ExtensionRange::New(::google::pr |
} |
void DescriptorProto_ExtensionRange::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto.ExtensionRange) |
+#if defined(__clang__) |
+#define ZR_HELPER_(f) \ |
+ _Pragma("clang diagnostic push") \ |
+ _Pragma("clang diagnostic ignored \"-Winvalid-offsetof\"") \ |
+ __builtin_offsetof(DescriptorProto_ExtensionRange, f) \ |
+ _Pragma("clang diagnostic pop") |
+#else |
#define ZR_HELPER_(f) reinterpret_cast<char*>(\ |
&reinterpret_cast<DescriptorProto_ExtensionRange*>(16)->f) |
+#endif |
#define ZR_(first, last) do {\ |
::memset(&first, 0,\ |
@@ -2436,7 +2520,7 @@ void DescriptorProto_ExtensionRange::Clear() { |
bool DescriptorProto_ExtensionRange::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.DescriptorProto.ExtensionRange) |
for (;;) { |
@@ -2537,6 +2621,7 @@ void DescriptorProto_ExtensionRange::SerializeWithCachedSizes( |
} |
int DescriptorProto_ExtensionRange::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto.ExtensionRange) |
int total_size = 0; |
if (_has_bits_[0 / 32] & 3u) { |
@@ -2567,18 +2652,22 @@ int DescriptorProto_ExtensionRange::ByteSize() const { |
} |
void DescriptorProto_ExtensionRange::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.DescriptorProto.ExtensionRange) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const DescriptorProto_ExtensionRange* source = |
::google::protobuf::internal::DynamicCastToGenerated<const DescriptorProto_ExtensionRange>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.DescriptorProto.ExtensionRange) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.DescriptorProto.ExtensionRange) |
MergeFrom(*source); |
} |
} |
void DescriptorProto_ExtensionRange::MergeFrom(const DescriptorProto_ExtensionRange& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto.ExtensionRange) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
if (from.has_start()) { |
@@ -2594,12 +2683,14 @@ void DescriptorProto_ExtensionRange::MergeFrom(const DescriptorProto_ExtensionRa |
} |
void DescriptorProto_ExtensionRange::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.DescriptorProto.ExtensionRange) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void DescriptorProto_ExtensionRange::CopyFrom(const DescriptorProto_ExtensionRange& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto.ExtensionRange) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -2698,8 +2789,17 @@ DescriptorProto_ReservedRange* DescriptorProto_ReservedRange::New(::google::prot |
} |
void DescriptorProto_ReservedRange::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto.ReservedRange) |
+#if defined(__clang__) |
+#define ZR_HELPER_(f) \ |
+ _Pragma("clang diagnostic push") \ |
+ _Pragma("clang diagnostic ignored \"-Winvalid-offsetof\"") \ |
+ __builtin_offsetof(DescriptorProto_ReservedRange, f) \ |
+ _Pragma("clang diagnostic pop") |
+#else |
#define ZR_HELPER_(f) reinterpret_cast<char*>(\ |
&reinterpret_cast<DescriptorProto_ReservedRange*>(16)->f) |
+#endif |
#define ZR_(first, last) do {\ |
::memset(&first, 0,\ |
@@ -2719,7 +2819,7 @@ void DescriptorProto_ReservedRange::Clear() { |
bool DescriptorProto_ReservedRange::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.DescriptorProto.ReservedRange) |
for (;;) { |
@@ -2820,6 +2920,7 @@ void DescriptorProto_ReservedRange::SerializeWithCachedSizes( |
} |
int DescriptorProto_ReservedRange::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto.ReservedRange) |
int total_size = 0; |
if (_has_bits_[0 / 32] & 3u) { |
@@ -2850,18 +2951,22 @@ int DescriptorProto_ReservedRange::ByteSize() const { |
} |
void DescriptorProto_ReservedRange::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.DescriptorProto.ReservedRange) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const DescriptorProto_ReservedRange* source = |
::google::protobuf::internal::DynamicCastToGenerated<const DescriptorProto_ReservedRange>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.DescriptorProto.ReservedRange) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.DescriptorProto.ReservedRange) |
MergeFrom(*source); |
} |
} |
void DescriptorProto_ReservedRange::MergeFrom(const DescriptorProto_ReservedRange& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto.ReservedRange) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
if (from.has_start()) { |
@@ -2877,12 +2982,14 @@ void DescriptorProto_ReservedRange::MergeFrom(const DescriptorProto_ReservedRang |
} |
void DescriptorProto_ReservedRange::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.DescriptorProto.ReservedRange) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void DescriptorProto_ReservedRange::CopyFrom(const DescriptorProto_ReservedRange& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto.ReservedRange) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -2993,6 +3100,7 @@ DescriptorProto* DescriptorProto::New(::google::protobuf::Arena* arena) const { |
} |
void DescriptorProto::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto) |
if (_has_bits_[0 / 32] & 129u) { |
if (has_name()) { |
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
@@ -3017,7 +3125,7 @@ void DescriptorProto::Clear() { |
bool DescriptorProto::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.DescriptorProto) |
for (;;) { |
@@ -3376,6 +3484,7 @@ void DescriptorProto::SerializeWithCachedSizes( |
} |
int DescriptorProto::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto) |
int total_size = 0; |
if (_has_bits_[0 / 32] & 129u) { |
@@ -3469,18 +3578,22 @@ int DescriptorProto::ByteSize() const { |
} |
void DescriptorProto::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.DescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const DescriptorProto* source = |
::google::protobuf::internal::DynamicCastToGenerated<const DescriptorProto>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.DescriptorProto) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.DescriptorProto) |
MergeFrom(*source); |
} |
} |
void DescriptorProto::MergeFrom(const DescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
field_.MergeFrom(from.field_); |
extension_.MergeFrom(from.extension_); |
@@ -3505,12 +3618,14 @@ void DescriptorProto::MergeFrom(const DescriptorProto& from) { |
} |
void DescriptorProto::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.DescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void DescriptorProto::CopyFrom(const DescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -3703,6 +3818,7 @@ void DescriptorProto::clear_name() { |
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* DescriptorProto::release_name() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name) |
clear_has_name(); |
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -3923,6 +4039,7 @@ const ::google::protobuf::MessageOptions& DescriptorProto::options() const { |
return options_; |
} |
::google::protobuf::MessageOptions* DescriptorProto::release_options() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options) |
clear_has_options(); |
::google::protobuf::MessageOptions* temp = options_; |
options_ = NULL; |
@@ -3998,6 +4115,7 @@ void DescriptorProto::clear_reserved_name() { |
// @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name) |
} |
::std::string* DescriptorProto::add_reserved_name() { |
+ // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name) |
return reserved_name_.Add(); |
} |
void DescriptorProto::add_reserved_name(const ::std::string& value) { |
@@ -4192,6 +4310,7 @@ FieldDescriptorProto* FieldDescriptorProto::New(::google::protobuf::Arena* arena |
} |
void FieldDescriptorProto::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.FieldDescriptorProto) |
if (_has_bits_[0 / 32] & 255u) { |
if (has_name()) { |
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
@@ -4226,7 +4345,7 @@ void FieldDescriptorProto::Clear() { |
bool FieldDescriptorProto::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.FieldDescriptorProto) |
for (;;) { |
@@ -4607,6 +4726,7 @@ void FieldDescriptorProto::SerializeWithCachedSizes( |
} |
int FieldDescriptorProto::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldDescriptorProto) |
int total_size = 0; |
if (_has_bits_[0 / 32] & 255u) { |
@@ -4693,18 +4813,22 @@ int FieldDescriptorProto::ByteSize() const { |
} |
void FieldDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FieldDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const FieldDescriptorProto* source = |
::google::protobuf::internal::DynamicCastToGenerated<const FieldDescriptorProto>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FieldDescriptorProto) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FieldDescriptorProto) |
MergeFrom(*source); |
} |
} |
void FieldDescriptorProto::MergeFrom(const FieldDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
if (from.has_name()) { |
@@ -4751,12 +4875,14 @@ void FieldDescriptorProto::MergeFrom(const FieldDescriptorProto& from) { |
} |
void FieldDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FieldDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void FieldDescriptorProto::CopyFrom(const FieldDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FieldDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -4841,6 +4967,7 @@ void FieldDescriptorProto::clear_name() { |
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* FieldDescriptorProto::release_name() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name) |
clear_has_name(); |
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -4968,6 +5095,7 @@ void FieldDescriptorProto::clear_type_name() { |
return type_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* FieldDescriptorProto::release_type_name() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name) |
clear_has_type_name(); |
return type_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -5021,6 +5149,7 @@ void FieldDescriptorProto::clear_extendee() { |
return extendee_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* FieldDescriptorProto::release_extendee() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee) |
clear_has_extendee(); |
return extendee_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -5074,6 +5203,7 @@ void FieldDescriptorProto::clear_default_value() { |
return default_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* FieldDescriptorProto::release_default_value() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.default_value) |
clear_has_default_value(); |
return default_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -5151,6 +5281,7 @@ void FieldDescriptorProto::clear_json_name() { |
return json_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* FieldDescriptorProto::release_json_name() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.json_name) |
clear_has_json_name(); |
return json_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -5191,6 +5322,7 @@ const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() const { |
return options_; |
} |
::google::protobuf::FieldOptions* FieldDescriptorProto::release_options() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.options) |
clear_has_options(); |
::google::protobuf::FieldOptions* temp = options_; |
options_ = NULL; |
@@ -5276,6 +5408,7 @@ OneofDescriptorProto* OneofDescriptorProto::New(::google::protobuf::Arena* arena |
} |
void OneofDescriptorProto::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.OneofDescriptorProto) |
if (has_name()) { |
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -5287,7 +5420,7 @@ void OneofDescriptorProto::Clear() { |
bool OneofDescriptorProto::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.OneofDescriptorProto) |
for (;;) { |
@@ -5376,6 +5509,7 @@ void OneofDescriptorProto::SerializeWithCachedSizes( |
} |
int OneofDescriptorProto::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.OneofDescriptorProto) |
int total_size = 0; |
// optional string name = 1; |
@@ -5397,18 +5531,22 @@ int OneofDescriptorProto::ByteSize() const { |
} |
void OneofDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.OneofDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const OneofDescriptorProto* source = |
::google::protobuf::internal::DynamicCastToGenerated<const OneofDescriptorProto>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.OneofDescriptorProto) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.OneofDescriptorProto) |
MergeFrom(*source); |
} |
} |
void OneofDescriptorProto::MergeFrom(const OneofDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.OneofDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
if (from.has_name()) { |
@@ -5422,12 +5560,14 @@ void OneofDescriptorProto::MergeFrom(const OneofDescriptorProto& from) { |
} |
void OneofDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.OneofDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void OneofDescriptorProto::CopyFrom(const OneofDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.OneofDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -5500,6 +5640,7 @@ void OneofDescriptorProto::clear_name() { |
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* OneofDescriptorProto::release_name() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.name) |
clear_has_name(); |
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -5587,6 +5728,7 @@ EnumDescriptorProto* EnumDescriptorProto::New(::google::protobuf::Arena* arena) |
} |
void EnumDescriptorProto::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.EnumDescriptorProto) |
if (_has_bits_[0 / 32] & 5u) { |
if (has_name()) { |
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
@@ -5604,7 +5746,7 @@ void EnumDescriptorProto::Clear() { |
bool EnumDescriptorProto::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.EnumDescriptorProto) |
for (;;) { |
@@ -5749,6 +5891,7 @@ void EnumDescriptorProto::SerializeWithCachedSizes( |
} |
int EnumDescriptorProto::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumDescriptorProto) |
int total_size = 0; |
if (_has_bits_[0 / 32] & 5u) { |
@@ -5787,18 +5930,22 @@ int EnumDescriptorProto::ByteSize() const { |
} |
void EnumDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const EnumDescriptorProto* source = |
::google::protobuf::internal::DynamicCastToGenerated<const EnumDescriptorProto>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumDescriptorProto) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumDescriptorProto) |
MergeFrom(*source); |
} |
} |
void EnumDescriptorProto::MergeFrom(const EnumDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
value_.MergeFrom(from.value_); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
@@ -5816,12 +5963,14 @@ void EnumDescriptorProto::MergeFrom(const EnumDescriptorProto& from) { |
} |
void EnumDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void EnumDescriptorProto::CopyFrom(const EnumDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -5900,6 +6049,7 @@ void EnumDescriptorProto::clear_name() { |
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* EnumDescriptorProto::release_name() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.name) |
clear_has_name(); |
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -5970,6 +6120,7 @@ const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() const { |
return options_; |
} |
::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.options) |
clear_has_options(); |
::google::protobuf::EnumOptions* temp = options_; |
options_ = NULL; |
@@ -6061,6 +6212,7 @@ EnumValueDescriptorProto* EnumValueDescriptorProto::New(::google::protobuf::Aren |
} |
void EnumValueDescriptorProto::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.EnumValueDescriptorProto) |
if (_has_bits_[0 / 32] & 7u) { |
if (has_name()) { |
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
@@ -6078,7 +6230,7 @@ void EnumValueDescriptorProto::Clear() { |
bool EnumValueDescriptorProto::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.EnumValueDescriptorProto) |
for (;;) { |
@@ -6218,6 +6370,7 @@ void EnumValueDescriptorProto::SerializeWithCachedSizes( |
} |
int EnumValueDescriptorProto::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValueDescriptorProto) |
int total_size = 0; |
if (_has_bits_[0 / 32] & 7u) { |
@@ -6255,18 +6408,22 @@ int EnumValueDescriptorProto::ByteSize() const { |
} |
void EnumValueDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumValueDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const EnumValueDescriptorProto* source = |
::google::protobuf::internal::DynamicCastToGenerated<const EnumValueDescriptorProto>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumValueDescriptorProto) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumValueDescriptorProto) |
MergeFrom(*source); |
} |
} |
void EnumValueDescriptorProto::MergeFrom(const EnumValueDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumValueDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
if (from.has_name()) { |
@@ -6286,12 +6443,14 @@ void EnumValueDescriptorProto::MergeFrom(const EnumValueDescriptorProto& from) { |
} |
void EnumValueDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumValueDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void EnumValueDescriptorProto::CopyFrom(const EnumValueDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumValueDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -6369,6 +6528,7 @@ void EnumValueDescriptorProto::clear_name() { |
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* EnumValueDescriptorProto::release_name() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.name) |
clear_has_name(); |
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -6433,6 +6593,7 @@ const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::options() |
return options_; |
} |
::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_options() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.options) |
clear_has_options(); |
::google::protobuf::EnumValueOptions* temp = options_; |
options_ = NULL; |
@@ -6523,6 +6684,7 @@ ServiceDescriptorProto* ServiceDescriptorProto::New(::google::protobuf::Arena* a |
} |
void ServiceDescriptorProto::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.ServiceDescriptorProto) |
if (_has_bits_[0 / 32] & 5u) { |
if (has_name()) { |
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
@@ -6540,7 +6702,7 @@ void ServiceDescriptorProto::Clear() { |
bool ServiceDescriptorProto::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.ServiceDescriptorProto) |
for (;;) { |
@@ -6685,6 +6847,7 @@ void ServiceDescriptorProto::SerializeWithCachedSizes( |
} |
int ServiceDescriptorProto::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.ServiceDescriptorProto) |
int total_size = 0; |
if (_has_bits_[0 / 32] & 5u) { |
@@ -6723,18 +6886,22 @@ int ServiceDescriptorProto::ByteSize() const { |
} |
void ServiceDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.ServiceDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const ServiceDescriptorProto* source = |
::google::protobuf::internal::DynamicCastToGenerated<const ServiceDescriptorProto>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.ServiceDescriptorProto) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.ServiceDescriptorProto) |
MergeFrom(*source); |
} |
} |
void ServiceDescriptorProto::MergeFrom(const ServiceDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ServiceDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
method_.MergeFrom(from.method_); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
@@ -6752,12 +6919,14 @@ void ServiceDescriptorProto::MergeFrom(const ServiceDescriptorProto& from) { |
} |
void ServiceDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.ServiceDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void ServiceDescriptorProto::CopyFrom(const ServiceDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ServiceDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -6836,6 +7005,7 @@ void ServiceDescriptorProto::clear_name() { |
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* ServiceDescriptorProto::release_name() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.name) |
clear_has_name(); |
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -6906,6 +7076,7 @@ const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options() cons |
return options_; |
} |
::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_options() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.options) |
clear_has_options(); |
::google::protobuf::ServiceOptions* temp = options_; |
options_ = NULL; |
@@ -7005,8 +7176,17 @@ MethodDescriptorProto* MethodDescriptorProto::New(::google::protobuf::Arena* are |
} |
void MethodDescriptorProto::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.MethodDescriptorProto) |
+#if defined(__clang__) |
+#define ZR_HELPER_(f) \ |
+ _Pragma("clang diagnostic push") \ |
+ _Pragma("clang diagnostic ignored \"-Winvalid-offsetof\"") \ |
+ __builtin_offsetof(MethodDescriptorProto, f) \ |
+ _Pragma("clang diagnostic pop") |
+#else |
#define ZR_HELPER_(f) reinterpret_cast<char*>(\ |
&reinterpret_cast<MethodDescriptorProto*>(16)->f) |
+#endif |
#define ZR_(first, last) do {\ |
::memset(&first, 0,\ |
@@ -7040,7 +7220,7 @@ void MethodDescriptorProto::Clear() { |
bool MethodDescriptorProto::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.MethodDescriptorProto) |
for (;;) { |
@@ -7281,6 +7461,7 @@ void MethodDescriptorProto::SerializeWithCachedSizes( |
} |
int MethodDescriptorProto::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.MethodDescriptorProto) |
int total_size = 0; |
if (_has_bits_[0 / 32] & 63u) { |
@@ -7335,18 +7516,22 @@ int MethodDescriptorProto::ByteSize() const { |
} |
void MethodDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.MethodDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const MethodDescriptorProto* source = |
::google::protobuf::internal::DynamicCastToGenerated<const MethodDescriptorProto>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.MethodDescriptorProto) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.MethodDescriptorProto) |
MergeFrom(*source); |
} |
} |
void MethodDescriptorProto::MergeFrom(const MethodDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MethodDescriptorProto) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
if (from.has_name()) { |
@@ -7377,12 +7562,14 @@ void MethodDescriptorProto::MergeFrom(const MethodDescriptorProto& from) { |
} |
void MethodDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.MethodDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void MethodDescriptorProto::CopyFrom(const MethodDescriptorProto& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MethodDescriptorProto) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -7463,6 +7650,7 @@ void MethodDescriptorProto::clear_name() { |
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* MethodDescriptorProto::release_name() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.name) |
clear_has_name(); |
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -7516,6 +7704,7 @@ void MethodDescriptorProto::clear_input_type() { |
return input_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* MethodDescriptorProto::release_input_type() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.input_type) |
clear_has_input_type(); |
return input_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -7569,6 +7758,7 @@ void MethodDescriptorProto::clear_output_type() { |
return output_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* MethodDescriptorProto::release_output_type() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.output_type) |
clear_has_output_type(); |
return output_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -7609,6 +7799,7 @@ const ::google::protobuf::MethodOptions& MethodDescriptorProto::options() const |
return options_; |
} |
::google::protobuf::MethodOptions* MethodDescriptorProto::release_options() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.options) |
clear_has_options(); |
::google::protobuf::MethodOptions* temp = options_; |
options_ = NULL; |
@@ -7715,7 +7906,6 @@ const int FileOptions::kDeprecatedFieldNumber; |
const int FileOptions::kCcEnableArenasFieldNumber; |
const int FileOptions::kObjcClassPrefixFieldNumber; |
const int FileOptions::kCsharpNamespaceFieldNumber; |
-const int FileOptions::kJavananoUseDeprecatedPackageFieldNumber; |
const int FileOptions::kUninterpretedOptionFieldNumber; |
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
@@ -7753,7 +7943,6 @@ void FileOptions::SharedCtor() { |
cc_enable_arenas_ = false; |
objc_class_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
csharp_namespace_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
- javanano_use_deprecated_package_ = false; |
::memset(_has_bits_, 0, sizeof(_has_bits_)); |
} |
@@ -7798,9 +7987,18 @@ FileOptions* FileOptions::New(::google::protobuf::Arena* arena) const { |
} |
void FileOptions::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.FileOptions) |
_extensions_.Clear(); |
+#if defined(__clang__) |
+#define ZR_HELPER_(f) \ |
+ _Pragma("clang diagnostic push") \ |
+ _Pragma("clang diagnostic ignored \"-Winvalid-offsetof\"") \ |
+ __builtin_offsetof(FileOptions, f) \ |
+ _Pragma("clang diagnostic pop") |
+#else |
#define ZR_HELPER_(f) reinterpret_cast<char*>(\ |
&reinterpret_cast<FileOptions*>(16)->f) |
+#endif |
#define ZR_(first, last) do {\ |
::memset(&first, 0,\ |
@@ -7820,8 +8018,8 @@ void FileOptions::Clear() { |
go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
} |
- if (_has_bits_[8 / 32] & 32512u) { |
- ZR_(java_generic_services_, javanano_use_deprecated_package_); |
+ if (_has_bits_[8 / 32] & 16128u) { |
+ ZR_(java_generic_services_, cc_enable_arenas_); |
if (has_objc_class_prefix()) { |
objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -7842,7 +8040,7 @@ void FileOptions::Clear() { |
bool FileOptions::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.FileOptions) |
for (;;) { |
@@ -8070,21 +8268,6 @@ bool FileOptions::MergePartialFromCodedStream( |
} else { |
goto handle_unusual; |
} |
- if (input->ExpectTag(304)) goto parse_javanano_use_deprecated_package; |
- break; |
- } |
- |
- // optional bool javanano_use_deprecated_package = 38; |
- case 38: { |
- if (tag == 304) { |
- parse_javanano_use_deprecated_package: |
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
- input, &javanano_use_deprecated_package_))); |
- set_has_javanano_use_deprecated_package(); |
- } else { |
- goto handle_unusual; |
- } |
if (input->ExpectTag(7994)) goto parse_uninterpreted_option; |
break; |
} |
@@ -8232,11 +8415,6 @@ void FileOptions::SerializeWithCachedSizes( |
37, this->csharp_namespace(), output); |
} |
- // optional bool javanano_use_deprecated_package = 38; |
- if (has_javanano_use_deprecated_package()) { |
- ::google::protobuf::internal::WireFormatLite::WriteBool(38, this->javanano_use_deprecated_package(), output); |
- } |
- |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) { |
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( |
@@ -8358,11 +8536,6 @@ void FileOptions::SerializeWithCachedSizes( |
37, this->csharp_namespace(), target); |
} |
- // optional bool javanano_use_deprecated_package = 38; |
- if (has_javanano_use_deprecated_package()) { |
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(38, this->javanano_use_deprecated_package(), target); |
- } |
- |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) { |
target = ::google::protobuf::internal::WireFormatLite:: |
@@ -8383,6 +8556,7 @@ void FileOptions::SerializeWithCachedSizes( |
} |
int FileOptions::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileOptions) |
int total_size = 0; |
if (_has_bits_[0 / 32] & 255u) { |
@@ -8434,7 +8608,7 @@ int FileOptions::ByteSize() const { |
} |
} |
- if (_has_bits_[8 / 32] & 32512u) { |
+ if (_has_bits_[8 / 32] & 16128u) { |
// optional bool java_generic_services = 17 [default = false]; |
if (has_java_generic_services()) { |
total_size += 2 + 1; |
@@ -8469,11 +8643,6 @@ int FileOptions::ByteSize() const { |
this->csharp_namespace()); |
} |
- // optional bool javanano_use_deprecated_package = 38; |
- if (has_javanano_use_deprecated_package()) { |
- total_size += 2 + 1; |
- } |
- |
} |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
total_size += 2 * this->uninterpreted_option_size(); |
@@ -8497,18 +8666,22 @@ int FileOptions::ByteSize() const { |
} |
void FileOptions::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FileOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const FileOptions* source = |
::google::protobuf::internal::DynamicCastToGenerated<const FileOptions>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FileOptions) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FileOptions) |
MergeFrom(*source); |
} |
} |
void FileOptions::MergeFrom(const FileOptions& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
uninterpreted_option_.MergeFrom(from.uninterpreted_option_); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
@@ -8561,9 +8734,6 @@ void FileOptions::MergeFrom(const FileOptions& from) { |
set_has_csharp_namespace(); |
csharp_namespace_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.csharp_namespace_); |
} |
- if (from.has_javanano_use_deprecated_package()) { |
- set_javanano_use_deprecated_package(from.javanano_use_deprecated_package()); |
- } |
} |
_extensions_.MergeFrom(from._extensions_); |
if (from._internal_metadata_.have_unknown_fields()) { |
@@ -8572,12 +8742,14 @@ void FileOptions::MergeFrom(const FileOptions& from) { |
} |
void FileOptions::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FileOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void FileOptions::CopyFrom(const FileOptions& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -8609,7 +8781,6 @@ void FileOptions::InternalSwap(FileOptions* other) { |
std::swap(cc_enable_arenas_, other->cc_enable_arenas_); |
objc_class_prefix_.Swap(&other->objc_class_prefix_); |
csharp_namespace_.Swap(&other->csharp_namespace_); |
- std::swap(javanano_use_deprecated_package_, other->javanano_use_deprecated_package_); |
uninterpreted_option_.UnsafeArenaSwap(&other->uninterpreted_option_); |
std::swap(_has_bits_[0], other->_has_bits_[0]); |
_internal_metadata_.Swap(&other->_internal_metadata_); |
@@ -8668,6 +8839,7 @@ void FileOptions::clear_java_package() { |
return java_package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* FileOptions::release_java_package() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_package) |
clear_has_java_package(); |
return java_package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -8721,6 +8893,7 @@ void FileOptions::clear_java_outer_classname() { |
return java_outer_classname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* FileOptions::release_java_outer_classname() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_outer_classname) |
clear_has_java_outer_classname(); |
return java_outer_classname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -8871,6 +9044,7 @@ void FileOptions::clear_go_package() { |
return go_package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* FileOptions::release_go_package() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.go_package) |
clear_has_go_package(); |
return go_package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -9044,6 +9218,7 @@ void FileOptions::clear_objc_class_prefix() { |
return objc_class_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* FileOptions::release_objc_class_prefix() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.objc_class_prefix) |
clear_has_objc_class_prefix(); |
return objc_class_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -9097,6 +9272,7 @@ void FileOptions::clear_csharp_namespace() { |
return csharp_namespace_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* FileOptions::release_csharp_namespace() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.csharp_namespace) |
clear_has_csharp_namespace(); |
return csharp_namespace_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -9110,30 +9286,6 @@ void FileOptions::clear_csharp_namespace() { |
// @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace) |
} |
-// optional bool javanano_use_deprecated_package = 38; |
-bool FileOptions::has_javanano_use_deprecated_package() const { |
- return (_has_bits_[0] & 0x00004000u) != 0; |
-} |
-void FileOptions::set_has_javanano_use_deprecated_package() { |
- _has_bits_[0] |= 0x00004000u; |
-} |
-void FileOptions::clear_has_javanano_use_deprecated_package() { |
- _has_bits_[0] &= ~0x00004000u; |
-} |
-void FileOptions::clear_javanano_use_deprecated_package() { |
- javanano_use_deprecated_package_ = false; |
- clear_has_javanano_use_deprecated_package(); |
-} |
- bool FileOptions::javanano_use_deprecated_package() const { |
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.javanano_use_deprecated_package) |
- return javanano_use_deprecated_package_; |
-} |
- void FileOptions::set_javanano_use_deprecated_package(bool value) { |
- set_has_javanano_use_deprecated_package(); |
- javanano_use_deprecated_package_ = value; |
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.javanano_use_deprecated_package) |
-} |
- |
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
int FileOptions::uninterpreted_option_size() const { |
return uninterpreted_option_.size(); |
@@ -9238,9 +9390,18 @@ MessageOptions* MessageOptions::New(::google::protobuf::Arena* arena) const { |
} |
void MessageOptions::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.MessageOptions) |
_extensions_.Clear(); |
+#if defined(__clang__) |
+#define ZR_HELPER_(f) \ |
+ _Pragma("clang diagnostic push") \ |
+ _Pragma("clang diagnostic ignored \"-Winvalid-offsetof\"") \ |
+ __builtin_offsetof(MessageOptions, f) \ |
+ _Pragma("clang diagnostic pop") |
+#else |
#define ZR_HELPER_(f) reinterpret_cast<char*>(\ |
&reinterpret_cast<MessageOptions*>(16)->f) |
+#endif |
#define ZR_(first, last) do {\ |
::memset(&first, 0,\ |
@@ -9261,7 +9422,7 @@ void MessageOptions::Clear() { |
bool MessageOptions::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.MessageOptions) |
for (;;) { |
@@ -9455,6 +9616,7 @@ void MessageOptions::SerializeWithCachedSizes( |
} |
int MessageOptions::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.MessageOptions) |
int total_size = 0; |
if (_has_bits_[0 / 32] & 15u) { |
@@ -9501,18 +9663,22 @@ int MessageOptions::ByteSize() const { |
} |
void MessageOptions::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.MessageOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const MessageOptions* source = |
::google::protobuf::internal::DynamicCastToGenerated<const MessageOptions>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.MessageOptions) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.MessageOptions) |
MergeFrom(*source); |
} |
} |
void MessageOptions::MergeFrom(const MessageOptions& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MessageOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
uninterpreted_option_.MergeFrom(from.uninterpreted_option_); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
@@ -9536,12 +9702,14 @@ void MessageOptions::MergeFrom(const MessageOptions& from) { |
} |
void MessageOptions::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.MessageOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void MessageOptions::CopyFrom(const MessageOptions& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MessageOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -9831,9 +9999,18 @@ FieldOptions* FieldOptions::New(::google::protobuf::Arena* arena) const { |
} |
void FieldOptions::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.FieldOptions) |
_extensions_.Clear(); |
+#if defined(__clang__) |
+#define ZR_HELPER_(f) \ |
+ _Pragma("clang diagnostic push") \ |
+ _Pragma("clang diagnostic ignored \"-Winvalid-offsetof\"") \ |
+ __builtin_offsetof(FieldOptions, f) \ |
+ _Pragma("clang diagnostic pop") |
+#else |
#define ZR_HELPER_(f) reinterpret_cast<char*>(\ |
&reinterpret_cast<FieldOptions*>(16)->f) |
+#endif |
#define ZR_(first, last) do {\ |
::memset(&first, 0,\ |
@@ -9857,7 +10034,7 @@ void FieldOptions::Clear() { |
bool FieldOptions::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.FieldOptions) |
for (;;) { |
@@ -10115,6 +10292,7 @@ void FieldOptions::SerializeWithCachedSizes( |
} |
int FieldOptions::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldOptions) |
int total_size = 0; |
if (_has_bits_[0 / 32] & 63u) { |
@@ -10173,18 +10351,22 @@ int FieldOptions::ByteSize() const { |
} |
void FieldOptions::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FieldOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const FieldOptions* source = |
::google::protobuf::internal::DynamicCastToGenerated<const FieldOptions>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FieldOptions) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FieldOptions) |
MergeFrom(*source); |
} |
} |
void FieldOptions::MergeFrom(const FieldOptions& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
uninterpreted_option_.MergeFrom(from.uninterpreted_option_); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
@@ -10214,12 +10396,14 @@ void FieldOptions::MergeFrom(const FieldOptions& from) { |
} |
void FieldOptions::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FieldOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void FieldOptions::CopyFrom(const FieldOptions& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FieldOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -10507,9 +10691,18 @@ EnumOptions* EnumOptions::New(::google::protobuf::Arena* arena) const { |
} |
void EnumOptions::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.EnumOptions) |
_extensions_.Clear(); |
+#if defined(__clang__) |
+#define ZR_HELPER_(f) \ |
+ _Pragma("clang diagnostic push") \ |
+ _Pragma("clang diagnostic ignored \"-Winvalid-offsetof\"") \ |
+ __builtin_offsetof(EnumOptions, f) \ |
+ _Pragma("clang diagnostic pop") |
+#else |
#define ZR_HELPER_(f) reinterpret_cast<char*>(\ |
&reinterpret_cast<EnumOptions*>(16)->f) |
+#endif |
#define ZR_(first, last) do {\ |
::memset(&first, 0,\ |
@@ -10530,7 +10723,7 @@ void EnumOptions::Clear() { |
bool EnumOptions::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.EnumOptions) |
for (;;) { |
@@ -10674,6 +10867,7 @@ void EnumOptions::SerializeWithCachedSizes( |
} |
int EnumOptions::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumOptions) |
int total_size = 0; |
if (_has_bits_[0 / 32] & 3u) { |
@@ -10710,18 +10904,22 @@ int EnumOptions::ByteSize() const { |
} |
void EnumOptions::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const EnumOptions* source = |
::google::protobuf::internal::DynamicCastToGenerated<const EnumOptions>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumOptions) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumOptions) |
MergeFrom(*source); |
} |
} |
void EnumOptions::MergeFrom(const EnumOptions& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
uninterpreted_option_.MergeFrom(from.uninterpreted_option_); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
@@ -10739,12 +10937,14 @@ void EnumOptions::MergeFrom(const EnumOptions& from) { |
} |
void EnumOptions::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void EnumOptions::CopyFrom(const EnumOptions& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -10928,6 +11128,7 @@ EnumValueOptions* EnumValueOptions::New(::google::protobuf::Arena* arena) const |
} |
void EnumValueOptions::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.EnumValueOptions) |
_extensions_.Clear(); |
deprecated_ = false; |
uninterpreted_option_.Clear(); |
@@ -10939,7 +11140,7 @@ void EnumValueOptions::Clear() { |
bool EnumValueOptions::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.EnumValueOptions) |
for (;;) { |
@@ -11058,6 +11259,7 @@ void EnumValueOptions::SerializeWithCachedSizes( |
} |
int EnumValueOptions::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValueOptions) |
int total_size = 0; |
// optional bool deprecated = 1 [default = false]; |
@@ -11087,18 +11289,22 @@ int EnumValueOptions::ByteSize() const { |
} |
void EnumValueOptions::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumValueOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const EnumValueOptions* source = |
::google::protobuf::internal::DynamicCastToGenerated<const EnumValueOptions>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumValueOptions) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumValueOptions) |
MergeFrom(*source); |
} |
} |
void EnumValueOptions::MergeFrom(const EnumValueOptions& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumValueOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
uninterpreted_option_.MergeFrom(from.uninterpreted_option_); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
@@ -11113,12 +11319,14 @@ void EnumValueOptions::MergeFrom(const EnumValueOptions& from) { |
} |
void EnumValueOptions::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumValueOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void EnumValueOptions::CopyFrom(const EnumValueOptions& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumValueOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -11277,6 +11485,7 @@ ServiceOptions* ServiceOptions::New(::google::protobuf::Arena* arena) const { |
} |
void ServiceOptions::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.ServiceOptions) |
_extensions_.Clear(); |
deprecated_ = false; |
uninterpreted_option_.Clear(); |
@@ -11288,7 +11497,7 @@ void ServiceOptions::Clear() { |
bool ServiceOptions::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.ServiceOptions) |
for (;;) { |
@@ -11407,6 +11616,7 @@ void ServiceOptions::SerializeWithCachedSizes( |
} |
int ServiceOptions::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.ServiceOptions) |
int total_size = 0; |
// optional bool deprecated = 33 [default = false]; |
@@ -11436,18 +11646,22 @@ int ServiceOptions::ByteSize() const { |
} |
void ServiceOptions::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.ServiceOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const ServiceOptions* source = |
::google::protobuf::internal::DynamicCastToGenerated<const ServiceOptions>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.ServiceOptions) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.ServiceOptions) |
MergeFrom(*source); |
} |
} |
void ServiceOptions::MergeFrom(const ServiceOptions& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ServiceOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
uninterpreted_option_.MergeFrom(from.uninterpreted_option_); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
@@ -11462,12 +11676,14 @@ void ServiceOptions::MergeFrom(const ServiceOptions& from) { |
} |
void ServiceOptions::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.ServiceOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void ServiceOptions::CopyFrom(const ServiceOptions& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ServiceOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -11626,6 +11842,7 @@ MethodOptions* MethodOptions::New(::google::protobuf::Arena* arena) const { |
} |
void MethodOptions::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.MethodOptions) |
_extensions_.Clear(); |
deprecated_ = false; |
uninterpreted_option_.Clear(); |
@@ -11637,7 +11854,7 @@ void MethodOptions::Clear() { |
bool MethodOptions::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.MethodOptions) |
for (;;) { |
@@ -11756,6 +11973,7 @@ void MethodOptions::SerializeWithCachedSizes( |
} |
int MethodOptions::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.MethodOptions) |
int total_size = 0; |
// optional bool deprecated = 33 [default = false]; |
@@ -11785,18 +12003,22 @@ int MethodOptions::ByteSize() const { |
} |
void MethodOptions::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.MethodOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const MethodOptions* source = |
::google::protobuf::internal::DynamicCastToGenerated<const MethodOptions>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.MethodOptions) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.MethodOptions) |
MergeFrom(*source); |
} |
} |
void MethodOptions::MergeFrom(const MethodOptions& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MethodOptions) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
uninterpreted_option_.MergeFrom(from.uninterpreted_option_); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
@@ -11811,12 +12033,14 @@ void MethodOptions::MergeFrom(const MethodOptions& from) { |
} |
void MethodOptions::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.MethodOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void MethodOptions::CopyFrom(const MethodOptions& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MethodOptions) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -11978,6 +12202,7 @@ UninterpretedOption_NamePart* UninterpretedOption_NamePart::New(::google::protob |
} |
void UninterpretedOption_NamePart::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.UninterpretedOption.NamePart) |
if (_has_bits_[0 / 32] & 3u) { |
if (has_name_part()) { |
name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
@@ -11992,7 +12217,7 @@ void UninterpretedOption_NamePart::Clear() { |
bool UninterpretedOption_NamePart::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.UninterpretedOption.NamePart) |
for (;;) { |
@@ -12106,6 +12331,7 @@ void UninterpretedOption_NamePart::SerializeWithCachedSizes( |
} |
int UninterpretedOption_NamePart::RequiredFieldsByteSizeFallback() const { |
+// @@protoc_insertion_point(required_fields_byte_size_fallback_start:google.protobuf.UninterpretedOption.NamePart) |
int total_size = 0; |
if (has_name_part()) { |
@@ -12123,6 +12349,7 @@ int UninterpretedOption_NamePart::RequiredFieldsByteSizeFallback() const { |
return total_size; |
} |
int UninterpretedOption_NamePart::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.UninterpretedOption.NamePart) |
int total_size = 0; |
if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. |
@@ -12149,18 +12376,22 @@ int UninterpretedOption_NamePart::ByteSize() const { |
} |
void UninterpretedOption_NamePart::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.UninterpretedOption.NamePart) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const UninterpretedOption_NamePart* source = |
::google::protobuf::internal::DynamicCastToGenerated<const UninterpretedOption_NamePart>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.UninterpretedOption.NamePart) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.UninterpretedOption.NamePart) |
MergeFrom(*source); |
} |
} |
void UninterpretedOption_NamePart::MergeFrom(const UninterpretedOption_NamePart& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UninterpretedOption.NamePart) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
if (from.has_name_part()) { |
@@ -12177,12 +12408,14 @@ void UninterpretedOption_NamePart::MergeFrom(const UninterpretedOption_NamePart& |
} |
void UninterpretedOption_NamePart::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.UninterpretedOption.NamePart) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void UninterpretedOption_NamePart::CopyFrom(const UninterpretedOption_NamePart& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UninterpretedOption.NamePart) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -12295,8 +12528,17 @@ UninterpretedOption* UninterpretedOption::New(::google::protobuf::Arena* arena) |
} |
void UninterpretedOption::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.UninterpretedOption) |
+#if defined(__clang__) |
+#define ZR_HELPER_(f) \ |
+ _Pragma("clang diagnostic push") \ |
+ _Pragma("clang diagnostic ignored \"-Winvalid-offsetof\"") \ |
+ __builtin_offsetof(UninterpretedOption, f) \ |
+ _Pragma("clang diagnostic pop") |
+#else |
#define ZR_HELPER_(f) reinterpret_cast<char*>(\ |
&reinterpret_cast<UninterpretedOption*>(16)->f) |
+#endif |
#define ZR_(first, last) do {\ |
::memset(&first, 0,\ |
@@ -12328,7 +12570,7 @@ void UninterpretedOption::Clear() { |
bool UninterpretedOption::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.UninterpretedOption) |
for (;;) { |
@@ -12586,6 +12828,7 @@ void UninterpretedOption::SerializeWithCachedSizes( |
} |
int UninterpretedOption::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.UninterpretedOption) |
int total_size = 0; |
if (_has_bits_[1 / 32] & 126u) { |
@@ -12650,18 +12893,22 @@ int UninterpretedOption::ByteSize() const { |
} |
void UninterpretedOption::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.UninterpretedOption) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const UninterpretedOption* source = |
::google::protobuf::internal::DynamicCastToGenerated<const UninterpretedOption>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.UninterpretedOption) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.UninterpretedOption) |
MergeFrom(*source); |
} |
} |
void UninterpretedOption::MergeFrom(const UninterpretedOption& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UninterpretedOption) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
name_.MergeFrom(from.name_); |
if (from._has_bits_[1 / 32] & (0xffu << (1 % 32))) { |
@@ -12693,12 +12940,14 @@ void UninterpretedOption::MergeFrom(const UninterpretedOption& from) { |
} |
void UninterpretedOption::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.UninterpretedOption) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void UninterpretedOption::CopyFrom(const UninterpretedOption& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UninterpretedOption) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -12778,6 +13027,7 @@ void UninterpretedOption_NamePart::clear_name_part() { |
return name_part_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* UninterpretedOption_NamePart::release_name_part() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.NamePart.name_part) |
clear_has_name_part(); |
return name_part_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -12889,6 +13139,7 @@ void UninterpretedOption::clear_identifier_value() { |
return identifier_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* UninterpretedOption::release_identifier_value() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.identifier_value) |
clear_has_identifier_value(); |
return identifier_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -13014,6 +13265,7 @@ void UninterpretedOption::clear_string_value() { |
return string_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* UninterpretedOption::release_string_value() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.string_value) |
clear_has_string_value(); |
return string_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -13067,6 +13319,7 @@ void UninterpretedOption::clear_aggregate_value() { |
return aggregate_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* UninterpretedOption::release_aggregate_value() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.aggregate_value) |
clear_has_aggregate_value(); |
return aggregate_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -13155,6 +13408,7 @@ SourceCodeInfo_Location* SourceCodeInfo_Location::New(::google::protobuf::Arena* |
} |
void SourceCodeInfo_Location::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.SourceCodeInfo.Location) |
if (_has_bits_[0 / 32] & 12u) { |
if (has_leading_comments()) { |
leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
@@ -13174,7 +13428,7 @@ void SourceCodeInfo_Location::Clear() { |
bool SourceCodeInfo_Location::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.SourceCodeInfo.Location) |
for (;;) { |
@@ -13424,6 +13678,7 @@ void SourceCodeInfo_Location::SerializeWithCachedSizes( |
} |
int SourceCodeInfo_Location::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceCodeInfo.Location) |
int total_size = 0; |
if (_has_bits_[2 / 32] & 12u) { |
@@ -13495,18 +13750,22 @@ int SourceCodeInfo_Location::ByteSize() const { |
} |
void SourceCodeInfo_Location::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.SourceCodeInfo.Location) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const SourceCodeInfo_Location* source = |
::google::protobuf::internal::DynamicCastToGenerated<const SourceCodeInfo_Location>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.SourceCodeInfo.Location) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.SourceCodeInfo.Location) |
MergeFrom(*source); |
} |
} |
void SourceCodeInfo_Location::MergeFrom(const SourceCodeInfo_Location& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.SourceCodeInfo.Location) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
path_.MergeFrom(from.path_); |
span_.MergeFrom(from.span_); |
@@ -13527,12 +13786,14 @@ void SourceCodeInfo_Location::MergeFrom(const SourceCodeInfo_Location& from) { |
} |
void SourceCodeInfo_Location::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.SourceCodeInfo.Location) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void SourceCodeInfo_Location::CopyFrom(const SourceCodeInfo_Location& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.SourceCodeInfo.Location) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -13631,6 +13892,7 @@ SourceCodeInfo* SourceCodeInfo::New(::google::protobuf::Arena* arena) const { |
} |
void SourceCodeInfo::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.SourceCodeInfo) |
location_.Clear(); |
::memset(_has_bits_, 0, sizeof(_has_bits_)); |
if (_internal_metadata_.have_unknown_fields()) { |
@@ -13640,7 +13902,7 @@ void SourceCodeInfo::Clear() { |
bool SourceCodeInfo::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.SourceCodeInfo) |
for (;;) { |
@@ -13721,6 +13983,7 @@ void SourceCodeInfo::SerializeWithCachedSizes( |
} |
int SourceCodeInfo::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceCodeInfo) |
int total_size = 0; |
// repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
@@ -13743,18 +14006,22 @@ int SourceCodeInfo::ByteSize() const { |
} |
void SourceCodeInfo::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.SourceCodeInfo) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
const SourceCodeInfo* source = |
::google::protobuf::internal::DynamicCastToGenerated<const SourceCodeInfo>( |
&from); |
if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.SourceCodeInfo) |
::google::protobuf::internal::ReflectionOps::Merge(from, this); |
} else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.SourceCodeInfo) |
MergeFrom(*source); |
} |
} |
void SourceCodeInfo::MergeFrom(const SourceCodeInfo& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.SourceCodeInfo) |
if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
location_.MergeFrom(from.location_); |
if (from._internal_metadata_.have_unknown_fields()) { |
@@ -13763,12 +14030,14 @@ void SourceCodeInfo::MergeFrom(const SourceCodeInfo& from) { |
} |
void SourceCodeInfo::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.SourceCodeInfo) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
} |
void SourceCodeInfo::CopyFrom(const SourceCodeInfo& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.SourceCodeInfo) |
if (&from == this) return; |
Clear(); |
MergeFrom(from); |
@@ -13901,6 +14170,7 @@ void SourceCodeInfo_Location::clear_leading_comments() { |
return leading_comments_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* SourceCodeInfo_Location::release_leading_comments() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.leading_comments) |
clear_has_leading_comments(); |
return leading_comments_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -13954,6 +14224,7 @@ void SourceCodeInfo_Location::clear_trailing_comments() { |
return trailing_comments_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
::std::string* SourceCodeInfo_Location::release_trailing_comments() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
clear_has_trailing_comments(); |
return trailing_comments_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
} |
@@ -13996,6 +14267,7 @@ void SourceCodeInfo_Location::clear_leading_detached_comments() { |
// @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
} |
::std::string* SourceCodeInfo_Location::add_leading_detached_comments() { |
+ // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
return leading_detached_comments_.Add(); |
} |
void SourceCodeInfo_Location::add_leading_detached_comments(const ::std::string& value) { |
@@ -14057,6 +14329,837 @@ SourceCodeInfo::location() const { |
#endif // PROTOBUF_INLINE_NOT_IN_HEADERS |
+// =================================================================== |
+ |
+#if !defined(_MSC_VER) || _MSC_VER >= 1900 |
+const int GeneratedCodeInfo_Annotation::kPathFieldNumber; |
+const int GeneratedCodeInfo_Annotation::kSourceFileFieldNumber; |
+const int GeneratedCodeInfo_Annotation::kBeginFieldNumber; |
+const int GeneratedCodeInfo_Annotation::kEndFieldNumber; |
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
+ |
+GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation() |
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
+ SharedCtor(); |
+ // @@protoc_insertion_point(constructor:google.protobuf.GeneratedCodeInfo.Annotation) |
+} |
+ |
+void GeneratedCodeInfo_Annotation::InitAsDefaultInstance() { |
+} |
+ |
+GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from) |
+ : ::google::protobuf::Message(), |
+ _internal_metadata_(NULL) { |
+ SharedCtor(); |
+ MergeFrom(from); |
+ // @@protoc_insertion_point(copy_constructor:google.protobuf.GeneratedCodeInfo.Annotation) |
+} |
+ |
+void GeneratedCodeInfo_Annotation::SharedCtor() { |
+ ::google::protobuf::internal::GetEmptyString(); |
+ _cached_size_ = 0; |
+ source_file_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
+ begin_ = 0; |
+ end_ = 0; |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+} |
+ |
+GeneratedCodeInfo_Annotation::~GeneratedCodeInfo_Annotation() { |
+ // @@protoc_insertion_point(destructor:google.protobuf.GeneratedCodeInfo.Annotation) |
+ SharedDtor(); |
+} |
+ |
+void GeneratedCodeInfo_Annotation::SharedDtor() { |
+ source_file_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
+ if (this != default_instance_) { |
+ } |
+} |
+ |
+void GeneratedCodeInfo_Annotation::SetCachedSize(int size) const { |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+} |
+const ::google::protobuf::Descriptor* GeneratedCodeInfo_Annotation::descriptor() { |
+ protobuf_AssignDescriptorsOnce(); |
+ return GeneratedCodeInfo_Annotation_descriptor_; |
+} |
+ |
+const GeneratedCodeInfo_Annotation& GeneratedCodeInfo_Annotation::default_instance() { |
+ if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
+ return *default_instance_; |
+} |
+ |
+GeneratedCodeInfo_Annotation* GeneratedCodeInfo_Annotation::default_instance_ = NULL; |
+ |
+GeneratedCodeInfo_Annotation* GeneratedCodeInfo_Annotation::New(::google::protobuf::Arena* arena) const { |
+ GeneratedCodeInfo_Annotation* n = new GeneratedCodeInfo_Annotation; |
+ if (arena != NULL) { |
+ arena->Own(n); |
+ } |
+ return n; |
+} |
+ |
+void GeneratedCodeInfo_Annotation::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.GeneratedCodeInfo.Annotation) |
+#if defined(__clang__) |
+#define ZR_HELPER_(f) \ |
+ _Pragma("clang diagnostic push") \ |
+ _Pragma("clang diagnostic ignored \"-Winvalid-offsetof\"") \ |
+ __builtin_offsetof(GeneratedCodeInfo_Annotation, f) \ |
+ _Pragma("clang diagnostic pop") |
+#else |
+#define ZR_HELPER_(f) reinterpret_cast<char*>(\ |
+ &reinterpret_cast<GeneratedCodeInfo_Annotation*>(16)->f) |
+#endif |
+ |
+#define ZR_(first, last) do {\ |
+ ::memset(&first, 0,\ |
+ ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\ |
+} while (0) |
+ |
+ if (_has_bits_[0 / 32] & 14u) { |
+ ZR_(begin_, end_); |
+ if (has_source_file()) { |
+ source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
+ } |
+ } |
+ |
+#undef ZR_HELPER_ |
+#undef ZR_ |
+ |
+ path_.Clear(); |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+ if (_internal_metadata_.have_unknown_fields()) { |
+ mutable_unknown_fields()->Clear(); |
+ } |
+} |
+ |
+bool GeneratedCodeInfo_Annotation::MergePartialFromCodedStream( |
+ ::google::protobuf::io::CodedInputStream* input) { |
+#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
+ ::google::protobuf::uint32 tag; |
+ // @@protoc_insertion_point(parse_start:google.protobuf.GeneratedCodeInfo.Annotation) |
+ for (;;) { |
+ ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); |
+ tag = p.first; |
+ if (!p.second) goto handle_unusual; |
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
+ // repeated int32 path = 1 [packed = true]; |
+ case 1: { |
+ if (tag == 10) { |
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< |
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
+ input, this->mutable_path()))); |
+ } else if (tag == 8) { |
+ DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< |
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
+ 1, 10, input, this->mutable_path()))); |
+ } else { |
+ goto handle_unusual; |
+ } |
+ if (input->ExpectTag(18)) goto parse_source_file; |
+ break; |
+ } |
+ |
+ // optional string source_file = 2; |
+ case 2: { |
+ if (tag == 18) { |
+ parse_source_file: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_source_file())); |
+ ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
+ this->source_file().data(), this->source_file().length(), |
+ ::google::protobuf::internal::WireFormat::PARSE, |
+ "google.protobuf.GeneratedCodeInfo.Annotation.source_file"); |
+ } else { |
+ goto handle_unusual; |
+ } |
+ if (input->ExpectTag(24)) goto parse_begin; |
+ break; |
+ } |
+ |
+ // optional int32 begin = 3; |
+ case 3: { |
+ if (tag == 24) { |
+ parse_begin: |
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
+ input, &begin_))); |
+ set_has_begin(); |
+ } else { |
+ goto handle_unusual; |
+ } |
+ if (input->ExpectTag(32)) goto parse_end; |
+ break; |
+ } |
+ |
+ // optional int32 end = 4; |
+ case 4: { |
+ if (tag == 32) { |
+ parse_end: |
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
+ input, &end_))); |
+ set_has_end(); |
+ } else { |
+ goto handle_unusual; |
+ } |
+ if (input->ExpectAtEnd()) goto success; |
+ break; |
+ } |
+ |
+ default: { |
+ handle_unusual: |
+ if (tag == 0 || |
+ ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { |
+ goto success; |
+ } |
+ DO_(::google::protobuf::internal::WireFormat::SkipField( |
+ input, tag, mutable_unknown_fields())); |
+ break; |
+ } |
+ } |
+ } |
+success: |
+ // @@protoc_insertion_point(parse_success:google.protobuf.GeneratedCodeInfo.Annotation) |
+ return true; |
+failure: |
+ // @@protoc_insertion_point(parse_failure:google.protobuf.GeneratedCodeInfo.Annotation) |
+ return false; |
+#undef DO_ |
+} |
+ |
+void GeneratedCodeInfo_Annotation::SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const { |
+ // @@protoc_insertion_point(serialize_start:google.protobuf.GeneratedCodeInfo.Annotation) |
+ // repeated int32 path = 1 [packed = true]; |
+ if (this->path_size() > 0) { |
+ ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); |
+ output->WriteVarint32(_path_cached_byte_size_); |
+ } |
+ for (int i = 0; i < this->path_size(); i++) { |
+ ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag( |
+ this->path(i), output); |
+ } |
+ |
+ // optional string source_file = 2; |
+ if (has_source_file()) { |
+ ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
+ this->source_file().data(), this->source_file().length(), |
+ ::google::protobuf::internal::WireFormat::SERIALIZE, |
+ "google.protobuf.GeneratedCodeInfo.Annotation.source_file"); |
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
+ 2, this->source_file(), output); |
+ } |
+ |
+ // optional int32 begin = 3; |
+ if (has_begin()) { |
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->begin(), output); |
+ } |
+ |
+ // optional int32 end = 4; |
+ if (has_end()) { |
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->end(), output); |
+ } |
+ |
+ if (_internal_metadata_.have_unknown_fields()) { |
+ ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
+ unknown_fields(), output); |
+ } |
+ // @@protoc_insertion_point(serialize_end:google.protobuf.GeneratedCodeInfo.Annotation) |
+} |
+ |
+::google::protobuf::uint8* GeneratedCodeInfo_Annotation::SerializeWithCachedSizesToArray( |
+ ::google::protobuf::uint8* target) const { |
+ // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.GeneratedCodeInfo.Annotation) |
+ // repeated int32 path = 1 [packed = true]; |
+ if (this->path_size() > 0) { |
+ target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( |
+ 1, |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, |
+ target); |
+ target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( |
+ _path_cached_byte_size_, target); |
+ } |
+ for (int i = 0; i < this->path_size(); i++) { |
+ target = ::google::protobuf::internal::WireFormatLite:: |
+ WriteInt32NoTagToArray(this->path(i), target); |
+ } |
+ |
+ // optional string source_file = 2; |
+ if (has_source_file()) { |
+ ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
+ this->source_file().data(), this->source_file().length(), |
+ ::google::protobuf::internal::WireFormat::SERIALIZE, |
+ "google.protobuf.GeneratedCodeInfo.Annotation.source_file"); |
+ target = |
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
+ 2, this->source_file(), target); |
+ } |
+ |
+ // optional int32 begin = 3; |
+ if (has_begin()) { |
+ target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->begin(), target); |
+ } |
+ |
+ // optional int32 end = 4; |
+ if (has_end()) { |
+ target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->end(), target); |
+ } |
+ |
+ if (_internal_metadata_.have_unknown_fields()) { |
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
+ unknown_fields(), target); |
+ } |
+ // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.GeneratedCodeInfo.Annotation) |
+ return target; |
+} |
+ |
+int GeneratedCodeInfo_Annotation::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.GeneratedCodeInfo.Annotation) |
+ int total_size = 0; |
+ |
+ if (_has_bits_[1 / 32] & 14u) { |
+ // optional string source_file = 2; |
+ if (has_source_file()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->source_file()); |
+ } |
+ |
+ // optional int32 begin = 3; |
+ if (has_begin()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::Int32Size( |
+ this->begin()); |
+ } |
+ |
+ // optional int32 end = 4; |
+ if (has_end()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::Int32Size( |
+ this->end()); |
+ } |
+ |
+ } |
+ // repeated int32 path = 1 [packed = true]; |
+ { |
+ int data_size = 0; |
+ for (int i = 0; i < this->path_size(); i++) { |
+ data_size += ::google::protobuf::internal::WireFormatLite:: |
+ Int32Size(this->path(i)); |
+ } |
+ if (data_size > 0) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::Int32Size(data_size); |
+ } |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _path_cached_byte_size_ = data_size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+ total_size += data_size; |
+ } |
+ |
+ if (_internal_metadata_.have_unknown_fields()) { |
+ total_size += |
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
+ unknown_fields()); |
+ } |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = total_size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+ return total_size; |
+} |
+ |
+void GeneratedCodeInfo_Annotation::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.GeneratedCodeInfo.Annotation) |
+ if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
+ const GeneratedCodeInfo_Annotation* source = |
+ ::google::protobuf::internal::DynamicCastToGenerated<const GeneratedCodeInfo_Annotation>( |
+ &from); |
+ if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.GeneratedCodeInfo.Annotation) |
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
+ } else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.GeneratedCodeInfo.Annotation) |
+ MergeFrom(*source); |
+ } |
+} |
+ |
+void GeneratedCodeInfo_Annotation::MergeFrom(const GeneratedCodeInfo_Annotation& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.GeneratedCodeInfo.Annotation) |
+ if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
+ path_.MergeFrom(from.path_); |
+ if (from._has_bits_[1 / 32] & (0xffu << (1 % 32))) { |
+ if (from.has_source_file()) { |
+ set_has_source_file(); |
+ source_file_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.source_file_); |
+ } |
+ if (from.has_begin()) { |
+ set_begin(from.begin()); |
+ } |
+ if (from.has_end()) { |
+ set_end(from.end()); |
+ } |
+ } |
+ if (from._internal_metadata_.have_unknown_fields()) { |
+ mutable_unknown_fields()->MergeFrom(from.unknown_fields()); |
+ } |
+} |
+ |
+void GeneratedCodeInfo_Annotation::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.GeneratedCodeInfo.Annotation) |
+ if (&from == this) return; |
+ Clear(); |
+ MergeFrom(from); |
+} |
+ |
+void GeneratedCodeInfo_Annotation::CopyFrom(const GeneratedCodeInfo_Annotation& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.GeneratedCodeInfo.Annotation) |
+ if (&from == this) return; |
+ Clear(); |
+ MergeFrom(from); |
+} |
+ |
+bool GeneratedCodeInfo_Annotation::IsInitialized() const { |
+ |
+ return true; |
+} |
+ |
+void GeneratedCodeInfo_Annotation::Swap(GeneratedCodeInfo_Annotation* other) { |
+ if (other == this) return; |
+ InternalSwap(other); |
+} |
+void GeneratedCodeInfo_Annotation::InternalSwap(GeneratedCodeInfo_Annotation* other) { |
+ path_.UnsafeArenaSwap(&other->path_); |
+ source_file_.Swap(&other->source_file_); |
+ std::swap(begin_, other->begin_); |
+ std::swap(end_, other->end_); |
+ std::swap(_has_bits_[0], other->_has_bits_[0]); |
+ _internal_metadata_.Swap(&other->_internal_metadata_); |
+ std::swap(_cached_size_, other->_cached_size_); |
+} |
+ |
+::google::protobuf::Metadata GeneratedCodeInfo_Annotation::GetMetadata() const { |
+ protobuf_AssignDescriptorsOnce(); |
+ ::google::protobuf::Metadata metadata; |
+ metadata.descriptor = GeneratedCodeInfo_Annotation_descriptor_; |
+ metadata.reflection = GeneratedCodeInfo_Annotation_reflection_; |
+ return metadata; |
+} |
+ |
+ |
+// ------------------------------------------------------------------- |
+ |
+#if !defined(_MSC_VER) || _MSC_VER >= 1900 |
+const int GeneratedCodeInfo::kAnnotationFieldNumber; |
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
+ |
+GeneratedCodeInfo::GeneratedCodeInfo() |
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
+ SharedCtor(); |
+ // @@protoc_insertion_point(constructor:google.protobuf.GeneratedCodeInfo) |
+} |
+ |
+void GeneratedCodeInfo::InitAsDefaultInstance() { |
+} |
+ |
+GeneratedCodeInfo::GeneratedCodeInfo(const GeneratedCodeInfo& from) |
+ : ::google::protobuf::Message(), |
+ _internal_metadata_(NULL) { |
+ SharedCtor(); |
+ MergeFrom(from); |
+ // @@protoc_insertion_point(copy_constructor:google.protobuf.GeneratedCodeInfo) |
+} |
+ |
+void GeneratedCodeInfo::SharedCtor() { |
+ _cached_size_ = 0; |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+} |
+ |
+GeneratedCodeInfo::~GeneratedCodeInfo() { |
+ // @@protoc_insertion_point(destructor:google.protobuf.GeneratedCodeInfo) |
+ SharedDtor(); |
+} |
+ |
+void GeneratedCodeInfo::SharedDtor() { |
+ if (this != default_instance_) { |
+ } |
+} |
+ |
+void GeneratedCodeInfo::SetCachedSize(int size) const { |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+} |
+const ::google::protobuf::Descriptor* GeneratedCodeInfo::descriptor() { |
+ protobuf_AssignDescriptorsOnce(); |
+ return GeneratedCodeInfo_descriptor_; |
+} |
+ |
+const GeneratedCodeInfo& GeneratedCodeInfo::default_instance() { |
+ if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); |
+ return *default_instance_; |
+} |
+ |
+GeneratedCodeInfo* GeneratedCodeInfo::default_instance_ = NULL; |
+ |
+GeneratedCodeInfo* GeneratedCodeInfo::New(::google::protobuf::Arena* arena) const { |
+ GeneratedCodeInfo* n = new GeneratedCodeInfo; |
+ if (arena != NULL) { |
+ arena->Own(n); |
+ } |
+ return n; |
+} |
+ |
+void GeneratedCodeInfo::Clear() { |
+// @@protoc_insertion_point(message_clear_start:google.protobuf.GeneratedCodeInfo) |
+ annotation_.Clear(); |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+ if (_internal_metadata_.have_unknown_fields()) { |
+ mutable_unknown_fields()->Clear(); |
+ } |
+} |
+ |
+bool GeneratedCodeInfo::MergePartialFromCodedStream( |
+ ::google::protobuf::io::CodedInputStream* input) { |
+#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
+ ::google::protobuf::uint32 tag; |
+ // @@protoc_insertion_point(parse_start:google.protobuf.GeneratedCodeInfo) |
+ for (;;) { |
+ ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); |
+ tag = p.first; |
+ if (!p.second) goto handle_unusual; |
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
+ // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
+ case 1: { |
+ if (tag == 10) { |
+ DO_(input->IncrementRecursionDepth()); |
+ parse_loop_annotation: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth( |
+ input, add_annotation())); |
+ } else { |
+ goto handle_unusual; |
+ } |
+ if (input->ExpectTag(10)) goto parse_loop_annotation; |
+ input->UnsafeDecrementRecursionDepth(); |
+ if (input->ExpectAtEnd()) goto success; |
+ break; |
+ } |
+ |
+ default: { |
+ handle_unusual: |
+ if (tag == 0 || |
+ ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { |
+ goto success; |
+ } |
+ DO_(::google::protobuf::internal::WireFormat::SkipField( |
+ input, tag, mutable_unknown_fields())); |
+ break; |
+ } |
+ } |
+ } |
+success: |
+ // @@protoc_insertion_point(parse_success:google.protobuf.GeneratedCodeInfo) |
+ return true; |
+failure: |
+ // @@protoc_insertion_point(parse_failure:google.protobuf.GeneratedCodeInfo) |
+ return false; |
+#undef DO_ |
+} |
+ |
+void GeneratedCodeInfo::SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const { |
+ // @@protoc_insertion_point(serialize_start:google.protobuf.GeneratedCodeInfo) |
+ // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
+ for (unsigned int i = 0, n = this->annotation_size(); i < n; i++) { |
+ ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( |
+ 1, this->annotation(i), output); |
+ } |
+ |
+ if (_internal_metadata_.have_unknown_fields()) { |
+ ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
+ unknown_fields(), output); |
+ } |
+ // @@protoc_insertion_point(serialize_end:google.protobuf.GeneratedCodeInfo) |
+} |
+ |
+::google::protobuf::uint8* GeneratedCodeInfo::SerializeWithCachedSizesToArray( |
+ ::google::protobuf::uint8* target) const { |
+ // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.GeneratedCodeInfo) |
+ // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
+ for (unsigned int i = 0, n = this->annotation_size(); i < n; i++) { |
+ target = ::google::protobuf::internal::WireFormatLite:: |
+ WriteMessageNoVirtualToArray( |
+ 1, this->annotation(i), target); |
+ } |
+ |
+ if (_internal_metadata_.have_unknown_fields()) { |
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
+ unknown_fields(), target); |
+ } |
+ // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.GeneratedCodeInfo) |
+ return target; |
+} |
+ |
+int GeneratedCodeInfo::ByteSize() const { |
+// @@protoc_insertion_point(message_byte_size_start:google.protobuf.GeneratedCodeInfo) |
+ int total_size = 0; |
+ |
+ // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
+ total_size += 1 * this->annotation_size(); |
+ for (int i = 0; i < this->annotation_size(); i++) { |
+ total_size += |
+ ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( |
+ this->annotation(i)); |
+ } |
+ |
+ if (_internal_metadata_.have_unknown_fields()) { |
+ total_size += |
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
+ unknown_fields()); |
+ } |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = total_size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+ return total_size; |
+} |
+ |
+void GeneratedCodeInfo::MergeFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.GeneratedCodeInfo) |
+ if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
+ const GeneratedCodeInfo* source = |
+ ::google::protobuf::internal::DynamicCastToGenerated<const GeneratedCodeInfo>( |
+ &from); |
+ if (source == NULL) { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.GeneratedCodeInfo) |
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
+ } else { |
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.GeneratedCodeInfo) |
+ MergeFrom(*source); |
+ } |
+} |
+ |
+void GeneratedCodeInfo::MergeFrom(const GeneratedCodeInfo& from) { |
+// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.GeneratedCodeInfo) |
+ if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__); |
+ annotation_.MergeFrom(from.annotation_); |
+ if (from._internal_metadata_.have_unknown_fields()) { |
+ mutable_unknown_fields()->MergeFrom(from.unknown_fields()); |
+ } |
+} |
+ |
+void GeneratedCodeInfo::CopyFrom(const ::google::protobuf::Message& from) { |
+// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.GeneratedCodeInfo) |
+ if (&from == this) return; |
+ Clear(); |
+ MergeFrom(from); |
+} |
+ |
+void GeneratedCodeInfo::CopyFrom(const GeneratedCodeInfo& from) { |
+// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.GeneratedCodeInfo) |
+ if (&from == this) return; |
+ Clear(); |
+ MergeFrom(from); |
+} |
+ |
+bool GeneratedCodeInfo::IsInitialized() const { |
+ |
+ return true; |
+} |
+ |
+void GeneratedCodeInfo::Swap(GeneratedCodeInfo* other) { |
+ if (other == this) return; |
+ InternalSwap(other); |
+} |
+void GeneratedCodeInfo::InternalSwap(GeneratedCodeInfo* other) { |
+ annotation_.UnsafeArenaSwap(&other->annotation_); |
+ std::swap(_has_bits_[0], other->_has_bits_[0]); |
+ _internal_metadata_.Swap(&other->_internal_metadata_); |
+ std::swap(_cached_size_, other->_cached_size_); |
+} |
+ |
+::google::protobuf::Metadata GeneratedCodeInfo::GetMetadata() const { |
+ protobuf_AssignDescriptorsOnce(); |
+ ::google::protobuf::Metadata metadata; |
+ metadata.descriptor = GeneratedCodeInfo_descriptor_; |
+ metadata.reflection = GeneratedCodeInfo_reflection_; |
+ return metadata; |
+} |
+ |
+#if PROTOBUF_INLINE_NOT_IN_HEADERS |
+// GeneratedCodeInfo_Annotation |
+ |
+// repeated int32 path = 1 [packed = true]; |
+int GeneratedCodeInfo_Annotation::path_size() const { |
+ return path_.size(); |
+} |
+void GeneratedCodeInfo_Annotation::clear_path() { |
+ path_.Clear(); |
+} |
+ ::google::protobuf::int32 GeneratedCodeInfo_Annotation::path(int index) const { |
+ // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.path) |
+ return path_.Get(index); |
+} |
+ void GeneratedCodeInfo_Annotation::set_path(int index, ::google::protobuf::int32 value) { |
+ path_.Set(index, value); |
+ // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.path) |
+} |
+ void GeneratedCodeInfo_Annotation::add_path(::google::protobuf::int32 value) { |
+ path_.Add(value); |
+ // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.Annotation.path) |
+} |
+ const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
+GeneratedCodeInfo_Annotation::path() const { |
+ // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
+ return path_; |
+} |
+ ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
+GeneratedCodeInfo_Annotation::mutable_path() { |
+ // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
+ return &path_; |
+} |
+ |
+// optional string source_file = 2; |
+bool GeneratedCodeInfo_Annotation::has_source_file() const { |
+ return (_has_bits_[0] & 0x00000002u) != 0; |
+} |
+void GeneratedCodeInfo_Annotation::set_has_source_file() { |
+ _has_bits_[0] |= 0x00000002u; |
+} |
+void GeneratedCodeInfo_Annotation::clear_has_source_file() { |
+ _has_bits_[0] &= ~0x00000002u; |
+} |
+void GeneratedCodeInfo_Annotation::clear_source_file() { |
+ source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
+ clear_has_source_file(); |
+} |
+ const ::std::string& GeneratedCodeInfo_Annotation::source_file() const { |
+ // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
+ return source_file_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
+} |
+ void GeneratedCodeInfo_Annotation::set_source_file(const ::std::string& value) { |
+ set_has_source_file(); |
+ source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
+ // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
+} |
+ void GeneratedCodeInfo_Annotation::set_source_file(const char* value) { |
+ set_has_source_file(); |
+ source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
+ // @@protoc_insertion_point(field_set_char:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
+} |
+ void GeneratedCodeInfo_Annotation::set_source_file(const char* value, size_t size) { |
+ set_has_source_file(); |
+ source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
+ ::std::string(reinterpret_cast<const char*>(value), size)); |
+ // @@protoc_insertion_point(field_set_pointer:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
+} |
+ ::std::string* GeneratedCodeInfo_Annotation::mutable_source_file() { |
+ set_has_source_file(); |
+ // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
+ return source_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
+} |
+ ::std::string* GeneratedCodeInfo_Annotation::release_source_file() { |
+ // @@protoc_insertion_point(field_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
+ clear_has_source_file(); |
+ return source_file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
+} |
+ void GeneratedCodeInfo_Annotation::set_allocated_source_file(::std::string* source_file) { |
+ if (source_file != NULL) { |
+ set_has_source_file(); |
+ } else { |
+ clear_has_source_file(); |
+ } |
+ source_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), source_file); |
+ // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
+} |
+ |
+// optional int32 begin = 3; |
+bool GeneratedCodeInfo_Annotation::has_begin() const { |
+ return (_has_bits_[0] & 0x00000004u) != 0; |
+} |
+void GeneratedCodeInfo_Annotation::set_has_begin() { |
+ _has_bits_[0] |= 0x00000004u; |
+} |
+void GeneratedCodeInfo_Annotation::clear_has_begin() { |
+ _has_bits_[0] &= ~0x00000004u; |
+} |
+void GeneratedCodeInfo_Annotation::clear_begin() { |
+ begin_ = 0; |
+ clear_has_begin(); |
+} |
+ ::google::protobuf::int32 GeneratedCodeInfo_Annotation::begin() const { |
+ // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
+ return begin_; |
+} |
+ void GeneratedCodeInfo_Annotation::set_begin(::google::protobuf::int32 value) { |
+ set_has_begin(); |
+ begin_ = value; |
+ // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
+} |
+ |
+// optional int32 end = 4; |
+bool GeneratedCodeInfo_Annotation::has_end() const { |
+ return (_has_bits_[0] & 0x00000008u) != 0; |
+} |
+void GeneratedCodeInfo_Annotation::set_has_end() { |
+ _has_bits_[0] |= 0x00000008u; |
+} |
+void GeneratedCodeInfo_Annotation::clear_has_end() { |
+ _has_bits_[0] &= ~0x00000008u; |
+} |
+void GeneratedCodeInfo_Annotation::clear_end() { |
+ end_ = 0; |
+ clear_has_end(); |
+} |
+ ::google::protobuf::int32 GeneratedCodeInfo_Annotation::end() const { |
+ // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.end) |
+ return end_; |
+} |
+ void GeneratedCodeInfo_Annotation::set_end(::google::protobuf::int32 value) { |
+ set_has_end(); |
+ end_ = value; |
+ // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.end) |
+} |
+ |
+// ------------------------------------------------------------------- |
+ |
+// GeneratedCodeInfo |
+ |
+// repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
+int GeneratedCodeInfo::annotation_size() const { |
+ return annotation_.size(); |
+} |
+void GeneratedCodeInfo::clear_annotation() { |
+ annotation_.Clear(); |
+} |
+const ::google::protobuf::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::annotation(int index) const { |
+ // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.annotation) |
+ return annotation_.Get(index); |
+} |
+::google::protobuf::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::mutable_annotation(int index) { |
+ // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.annotation) |
+ return annotation_.Mutable(index); |
+} |
+::google::protobuf::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::add_annotation() { |
+ // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.annotation) |
+ return annotation_.Add(); |
+} |
+::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >* |
+GeneratedCodeInfo::mutable_annotation() { |
+ // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.annotation) |
+ return &annotation_; |
+} |
+const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >& |
+GeneratedCodeInfo::annotation() const { |
+ // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.annotation) |
+ return annotation_; |
+} |
+ |
+#endif // PROTOBUF_INLINE_NOT_IN_HEADERS |
+ |
// @@protoc_insertion_point(namespace_scope) |
} // namespace protobuf |