OLD | NEW |
1 // Generated by the protocol buffer compiler. DO NOT EDIT! | 1 // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | 2 |
3 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION | 3 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION |
4 #include "google/protobuf/descriptor.pb.h" | 4 #include "google/protobuf/descriptor.pb.h" |
5 | 5 |
6 #include <algorithm> | 6 #include <algorithm> |
7 | 7 |
8 #include <google/protobuf/stubs/once.h> | 8 #include <google/protobuf/stubs/once.h> |
9 #include <google/protobuf/io/coded_stream.h> | 9 #include <google/protobuf/io/coded_stream.h> |
10 #include <google/protobuf/wire_format_lite_inl.h> | 10 #include <google/protobuf/wire_format_lite_inl.h> |
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 "o\022-\n\007options\030\003 \001(\0132\034.google.protobuf.Enu" | 601 "o\022-\n\007options\030\003 \001(\0132\034.google.protobuf.Enu" |
602 "mOptions\"l\n\030EnumValueDescriptorProto\022\014\n\004" | 602 "mOptions\"l\n\030EnumValueDescriptorProto\022\014\n\004" |
603 "name\030\001 \001(\t\022\016\n\006number\030\002 \001(\005\0222\n\007option
s\030\003 " | 603 "name\030\001 \001(\t\022\016\n\006number\030\002 \001(\005\0222\n\007option
s\030\003 " |
604 "\001(\0132!.google.protobuf.EnumValueOptions\"\220" | 604 "\001(\0132!.google.protobuf.EnumValueOptions\"\220" |
605 "\001\n\026ServiceDescriptorProto\022\014\n\004name\030\001 \001(\t\022" | 605 "\001\n\026ServiceDescriptorProto\022\014\n\004name\030\001 \001(\t\022" |
606 "6\n\006method\030\002 \003(\0132&.google.protobuf.Method" | 606 "6\n\006method\030\002 \003(\0132&.google.protobuf.Method" |
607 "DescriptorProto\0220\n\007options\030\003 \001(\0132\037.googl" | 607 "DescriptorProto\0220\n\007options\030\003 \001(\0132\037.googl" |
608 "e.protobuf.ServiceOptions\"\177\n\025MethodDescr" | 608 "e.protobuf.ServiceOptions\"\177\n\025MethodDescr" |
609 "iptorProto\022\014\n\004name\030\001 \001(\t\022\022\n\ninput_type\030\002" | 609 "iptorProto\022\014\n\004name\030\001 \001(\t\022\022\n\ninput_type\030\002" |
610 " \001(\t\022\023\n\013output_type\030\003 \001(\t\022/\n\007options\030\004
\001" | 610 " \001(\t\022\023\n\013output_type\030\003 \001(\t\022/\n\007options\030\004
\001" |
611 "(\0132\036.google.protobuf.MethodOptions\"\201\004\n\013F" | 611 "(\0132\036.google.protobuf.MethodOptions\"\373\003\n\013F" |
612 "ileOptions\022\024\n\014java_package\030\001 \001(\t\022\034\n\024java" | 612 "ileOptions\022\024\n\014java_package\030\001 \001(\t\022\034\n\024java" |
613 "_outer_classname\030\010 \001(\t\022\"\n\023java_multiple_" | 613 "_outer_classname\030\010 \001(\t\022\"\n\023java_multiple_" |
614 "files\030\n \001(\010:\005false\022#\n\025retain_unknown_fie" | 614 "files\030\n \001(\010:\005false\022$\n\025retain_unknown_fie" |
615 "lds\030\013 \001(\010:\004true\022,\n\035java_generate_equals_" | 615 "lds\030\013 \001(\010:\005false\022,\n\035java_generate_equals" |
616 "and_hash\030\024 \001(\010:\005false\022M\n\014optimize_for\030\t " | 616 "_and_hash\030\024 \001(\010:\005false\022F\n\014optimize_for\030\t" |
617 "\001(\0162).google.protobuf.FileOptions.Optimi" | 617 " \001(\0162).google.protobuf.FileOptions.Optim" |
618 "zeMode:\014LITE_RUNTIME\022\"\n\023cc_generic_servi" | 618 "izeMode:\005SPEED\022\"\n\023cc_generic_services\030\020 " |
619 "ces\030\020 \001(\010:\005false\022$\n\025java_generic_service" | 619 "\001(\010:\005false\022$\n\025java_generic_services\030\021 \001(" |
620 "s\030\021 \001(\010:\005false\022\"\n\023py_generic_services\030\022 " | 620 "\010:\005false\022\"\n\023py_generic_services\030\022 \001(\010:\005f" |
621 "\001(\010:\005false\022C\n\024uninterpreted_option\030\347\007 \003(" | 621 "alse\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.go" |
622 "\0132$.google.protobuf.UninterpretedOption\"" | 622 "ogle.protobuf.UninterpretedOption\":\n\014Opt" |
623 ":\n\014OptimizeMode\022\t\n\005SPEED\020\001\022\r\n\tCODE_SIZE\020" | 623 "imizeMode\022\t\n\005SPEED\020\001\022\r\n\tCODE_SIZE\020\002\022\020\n\014
L" |
624 "\002\022\020\n\014LITE_RUNTIME\020\003*\t\010\350\007\020\200\200\200\200\0
02\"\270\001\n\016Messa" | 624 "ITE_RUNTIME\020\003*\t\010\350\007\020\200\200\200\200\002\"\270\001\n\016M
essageOpti" |
625 "geOptions\022&\n\027message_set_wire_format\030\001 \001" | 625 "ons\022&\n\027message_set_wire_format\030\001 \001(\010:\005fa" |
626 "(\010:\005false\022.\n\037no_standard_descriptor_acce" | 626 "lse\022.\n\037no_standard_descriptor_accessor\030\002" |
627 "ssor\030\002 \001(\010:\005false\022C\n\024uninterpreted_optio" | 627 " \001(\010:\005false\022C\n\024uninterpreted_option\030\347\007 \003" |
628 "n\030\347\007 \003(\0132$.google.protobuf.Uninterpreted" | |
629 "Option*\t\010\350\007\020\200\200\200\200\002\"\224\002\n\014FieldOptions\0
22:\n\005ct" | |
630 "ype\030\001 \001(\0162#.google.protobuf.FieldOptions" | |
631 ".CType:\006STRING\022\016\n\006packed\030\002 \001(\010\022\031\n\ndeprec" | |
632 "ated\030\003 \001(\010:\005false\022\034\n\024experimental_map_ke" | |
633 "y\030\t \001(\t\022C\n\024uninterpreted_option\030\347\007 \003(\0132$" | |
634 ".google.protobuf.UninterpretedOption\"/\n\005" | |
635 "CType\022\n\n\006STRING\020\000\022\010\n\004CORD\020\001\022\020\n\014STRI
NG_PI" | |
636 "ECE\020\002*\t\010\350\007\020\200\200\200\200\002\"]\n\013EnumOptions\022C
\n\024unint" | |
637 "erpreted_option\030\347\007 \003(\0132$.google.protobuf" | |
638 ".UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"b\n\020EnumV" | |
639 "alueOptions\022C\n\024uninterpreted_option\030\347\007 \003" | |
640 "(\0132$.google.protobuf.UninterpretedOption" | 628 "(\0132$.google.protobuf.UninterpretedOption" |
641 "*\t\010\350\007\020\200\200\200\200\002\"`\n\016ServiceOptions\022C\n\024un
inter" | 629 "*\t\010\350\007\020\200\200\200\200\002\"\224\002\n\014FieldOptions\022:\n\
005ctype\030\001 " |
642 "preted_option\030\347\007 \003(\0132$.google.protobuf.U" | 630 "\001(\0162#.google.protobuf.FieldOptions.CType" |
643 "ninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"_\n\rMethodO" | 631 ":\006STRING\022\016\n\006packed\030\002 \001(\010\022\031\n\ndeprecated\030
\003" |
644 "ptions\022C\n\024uninterpreted_option\030\347\007 \003(\0132$." | 632 " \001(\010:\005false\022\034\n\024experimental_map_key\030\t \001(" |
645 "google.protobuf.UninterpretedOption*\t\010\350\007" | 633 "\t\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.googl" |
646 "\020\200\200\200\200\002\"\236\002\n\023UninterpretedOption\022;\n\004name\
030\002" | 634 "e.protobuf.UninterpretedOption\"/\n\005CType\022" |
647 " \003(\0132-.google.protobuf.UninterpretedOpti" | 635 "\n\n\006STRING\020\000\022\010\n\004CORD\020\001\022\020\n\014STRING_PIECE\
020\002*" |
648 "on.NamePart\022\030\n\020identifier_value\030\003 \001(\t\022\032\n" | 636 "\t\010\350\007\020\200\200\200\200\002\"]\n\013EnumOptions\022C\n\024uninte
rpret" |
649 "\022positive_int_value\030\004 \001(\004\022\032\n\022negative_in" | 637 "ed_option\030\347\007 \003(\0132$.google.protobuf.Unint" |
650 "t_value\030\005 \001(\003\022\024\n\014double_value\030\006 \001(\001\022\0
24\n\014s" | 638 "erpretedOption*\t\010\350\007\020\200\200\200\200\002\"b\n\020EnumValueOp" |
651 "tring_value\030\007 \001(\014\022\027\n\017aggregate_value\030\010 \001" | 639 "tions\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.g" |
652 "(\t\0323\n\010NamePart\022\021\n\tname_part\030\001 \002(\t\022\024\n\014is
_" | 640 "oogle.protobuf.UninterpretedOption*\t\010\350\007\020" |
653 "extension\030\002 \002(\010\"|\n\016SourceCodeInfo\022:\n\010loc" | 641 "\200\200\200\200\002\"`\n\016ServiceOptions\022C\n\024uninterpreted" |
654 "ation\030\001 \003(\0132(.google.protobuf.SourceCode" | 642 "_option\030\347\007 \003(\0132$.google.protobuf.Uninter" |
655 "Info.Location\032.\n\010Location\022\020\n\004path\030\001 \003(\005B" | 643 "pretedOption*\t\010\350\007\020\200\200\200\200\002\"_\n\rMethodOptions" |
656 "\002\020\001\022\020\n\004span\030\002 \003(\005B\002\020\001B)\n\023com.go
ogle.prot" | 644 "\022C\n\024uninterpreted_option\030\347\007 \003(\0132$.google" |
657 "obufB\020DescriptorProtosH\001", 3984); | 645 ".protobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002" |
| 646 "\"\236\002\n\023UninterpretedOption\022;\n\004name\030\002 \003(\0132-" |
| 647 ".google.protobuf.UninterpretedOption.Nam" |
| 648 "ePart\022\030\n\020identifier_value\030\003 \001(\t\022\032\n\022posit" |
| 649 "ive_int_value\030\004 \001(\004\022\032\n\022negative_int_valu" |
| 650 "e\030\005 \001(\003\022\024\n\014double_value\030\006 \001(\001\022\024\n\0
14string_" |
| 651 "value\030\007 \001(\014\022\027\n\017aggregate_value\030\010 \001(\t\0323\n
\010" |
| 652 "NamePart\022\021\n\tname_part\030\001 \002(\t\022\024\n\014is_extens" |
| 653 "ion\030\002 \002(\010\"|\n\016SourceCodeInfo\022:\n\010location\030" |
| 654 "\001 \003(\0132(.google.protobuf.SourceCodeInfo.L" |
| 655 "ocation\032.\n\010Location\022\020\n\004path\030\001 \003(\005B\002\020\001
\022\020\n" |
| 656 "\004span\030\002 \003(\005B\002\020\001B)\n\023com.google.protobufB\020" |
| 657 "DescriptorProtosH\001", 3978); |
658 ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( | 658 ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( |
659 "google/protobuf/descriptor.proto", &protobuf_RegisterTypes); | 659 "google/protobuf/descriptor.proto", &protobuf_RegisterTypes); |
660 FileDescriptorSet::default_instance_ = new FileDescriptorSet(); | 660 FileDescriptorSet::default_instance_ = new FileDescriptorSet(); |
661 FileDescriptorProto::default_instance_ = new FileDescriptorProto(); | 661 FileDescriptorProto::default_instance_ = new FileDescriptorProto(); |
662 DescriptorProto::default_instance_ = new DescriptorProto(); | 662 DescriptorProto::default_instance_ = new DescriptorProto(); |
663 DescriptorProto_ExtensionRange::default_instance_ = new DescriptorProto_Extens
ionRange(); | 663 DescriptorProto_ExtensionRange::default_instance_ = new DescriptorProto_Extens
ionRange(); |
664 FieldDescriptorProto::default_instance_ = new FieldDescriptorProto(); | 664 FieldDescriptorProto::default_instance_ = new FieldDescriptorProto(); |
665 EnumDescriptorProto::default_instance_ = new EnumDescriptorProto(); | 665 EnumDescriptorProto::default_instance_ = new EnumDescriptorProto(); |
666 EnumValueDescriptorProto::default_instance_ = new EnumValueDescriptorProto(); | 666 EnumValueDescriptorProto::default_instance_ = new EnumValueDescriptorProto(); |
667 ServiceDescriptorProto::default_instance_ = new ServiceDescriptorProto(); | 667 ServiceDescriptorProto::default_instance_ = new ServiceDescriptorProto(); |
(...skipping 3604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4272 : ::google::protobuf::Message() { | 4272 : ::google::protobuf::Message() { |
4273 SharedCtor(); | 4273 SharedCtor(); |
4274 MergeFrom(from); | 4274 MergeFrom(from); |
4275 } | 4275 } |
4276 | 4276 |
4277 void FileOptions::SharedCtor() { | 4277 void FileOptions::SharedCtor() { |
4278 _cached_size_ = 0; | 4278 _cached_size_ = 0; |
4279 java_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEm
ptyString); | 4279 java_package_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEm
ptyString); |
4280 java_outer_classname_ = const_cast< ::std::string*>(&::google::protobuf::inter
nal::kEmptyString); | 4280 java_outer_classname_ = const_cast< ::std::string*>(&::google::protobuf::inter
nal::kEmptyString); |
4281 java_multiple_files_ = false; | 4281 java_multiple_files_ = false; |
4282 retain_unknown_fields_ = true; | 4282 retain_unknown_fields_ = false; |
4283 java_generate_equals_and_hash_ = false; | 4283 java_generate_equals_and_hash_ = false; |
4284 optimize_for_ = 3; | 4284 optimize_for_ = 1; |
4285 cc_generic_services_ = false; | 4285 cc_generic_services_ = false; |
4286 java_generic_services_ = false; | 4286 java_generic_services_ = false; |
4287 py_generic_services_ = false; | 4287 py_generic_services_ = false; |
4288 ::memset(_has_bits_, 0, sizeof(_has_bits_)); | 4288 ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
4289 } | 4289 } |
4290 | 4290 |
4291 FileOptions::~FileOptions() { | 4291 FileOptions::~FileOptions() { |
4292 SharedDtor(); | 4292 SharedDtor(); |
4293 } | 4293 } |
4294 | 4294 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4331 if (java_package_ != &::google::protobuf::internal::kEmptyString) { | 4331 if (java_package_ != &::google::protobuf::internal::kEmptyString) { |
4332 java_package_->clear(); | 4332 java_package_->clear(); |
4333 } | 4333 } |
4334 } | 4334 } |
4335 if (has_java_outer_classname()) { | 4335 if (has_java_outer_classname()) { |
4336 if (java_outer_classname_ != &::google::protobuf::internal::kEmptyString)
{ | 4336 if (java_outer_classname_ != &::google::protobuf::internal::kEmptyString)
{ |
4337 java_outer_classname_->clear(); | 4337 java_outer_classname_->clear(); |
4338 } | 4338 } |
4339 } | 4339 } |
4340 java_multiple_files_ = false; | 4340 java_multiple_files_ = false; |
4341 retain_unknown_fields_ = true; | 4341 retain_unknown_fields_ = false; |
4342 java_generate_equals_and_hash_ = false; | 4342 java_generate_equals_and_hash_ = false; |
4343 optimize_for_ = 3; | 4343 optimize_for_ = 1; |
4344 cc_generic_services_ = false; | 4344 cc_generic_services_ = false; |
4345 java_generic_services_ = false; | 4345 java_generic_services_ = false; |
4346 } | 4346 } |
4347 if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { | 4347 if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { |
4348 py_generic_services_ = false; | 4348 py_generic_services_ = false; |
4349 } | 4349 } |
4350 uninterpreted_option_.Clear(); | 4350 uninterpreted_option_.Clear(); |
4351 ::memset(_has_bits_, 0, sizeof(_has_bits_)); | 4351 ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
4352 mutable_unknown_fields()->Clear(); | 4352 mutable_unknown_fields()->Clear(); |
4353 } | 4353 } |
(...skipping 30 matching lines...) Expand all Loading... |
4384 ::google::protobuf::internal::WireFormat::VerifyUTF8String( | 4384 ::google::protobuf::internal::WireFormat::VerifyUTF8String( |
4385 this->java_outer_classname().data(), this->java_outer_classname().le
ngth(), | 4385 this->java_outer_classname().data(), this->java_outer_classname().le
ngth(), |
4386 ::google::protobuf::internal::WireFormat::PARSE); | 4386 ::google::protobuf::internal::WireFormat::PARSE); |
4387 } else { | 4387 } else { |
4388 goto handle_uninterpreted; | 4388 goto handle_uninterpreted; |
4389 } | 4389 } |
4390 if (input->ExpectTag(72)) goto parse_optimize_for; | 4390 if (input->ExpectTag(72)) goto parse_optimize_for; |
4391 break; | 4391 break; |
4392 } | 4392 } |
4393 | 4393 |
4394 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [de
fault = LITE_RUNTIME]; | 4394 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [de
fault = SPEED]; |
4395 case 9: { | 4395 case 9: { |
4396 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == | 4396 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
4397 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { | 4397 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { |
4398 parse_optimize_for: | 4398 parse_optimize_for: |
4399 int value; | 4399 int value; |
4400 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< | 4400 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
4401 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>
( | 4401 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>
( |
4402 input, &value))); | 4402 input, &value))); |
4403 if (::google::protobuf::FileOptions_OptimizeMode_IsValid(value)) { | 4403 if (::google::protobuf::FileOptions_OptimizeMode_IsValid(value)) { |
4404 set_optimize_for(static_cast< ::google::protobuf::FileOptions_Optimi
zeMode >(value)); | 4404 set_optimize_for(static_cast< ::google::protobuf::FileOptions_Optimi
zeMode >(value)); |
(...skipping 16 matching lines...) Expand all Loading... |
4421 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL
>( | 4421 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL
>( |
4422 input, &java_multiple_files_))); | 4422 input, &java_multiple_files_))); |
4423 set_has_java_multiple_files(); | 4423 set_has_java_multiple_files(); |
4424 } else { | 4424 } else { |
4425 goto handle_uninterpreted; | 4425 goto handle_uninterpreted; |
4426 } | 4426 } |
4427 if (input->ExpectTag(88)) goto parse_retain_unknown_fields; | 4427 if (input->ExpectTag(88)) goto parse_retain_unknown_fields; |
4428 break; | 4428 break; |
4429 } | 4429 } |
4430 | 4430 |
4431 // optional bool retain_unknown_fields = 11 [default = true]; | 4431 // optional bool retain_unknown_fields = 11 [default = false]; |
4432 case 11: { | 4432 case 11: { |
4433 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == | 4433 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
4434 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { | 4434 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { |
4435 parse_retain_unknown_fields: | 4435 parse_retain_unknown_fields: |
4436 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< | 4436 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
4437 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL
>( | 4437 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL
>( |
4438 input, &retain_unknown_fields_))); | 4438 input, &retain_unknown_fields_))); |
4439 set_has_retain_unknown_fields(); | 4439 set_has_retain_unknown_fields(); |
4440 } else { | 4440 } else { |
4441 goto handle_uninterpreted; | 4441 goto handle_uninterpreted; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4556 | 4556 |
4557 // optional string java_outer_classname = 8; | 4557 // optional string java_outer_classname = 8; |
4558 if (has_java_outer_classname()) { | 4558 if (has_java_outer_classname()) { |
4559 ::google::protobuf::internal::WireFormat::VerifyUTF8String( | 4559 ::google::protobuf::internal::WireFormat::VerifyUTF8String( |
4560 this->java_outer_classname().data(), this->java_outer_classname().length()
, | 4560 this->java_outer_classname().data(), this->java_outer_classname().length()
, |
4561 ::google::protobuf::internal::WireFormat::SERIALIZE); | 4561 ::google::protobuf::internal::WireFormat::SERIALIZE); |
4562 ::google::protobuf::internal::WireFormatLite::WriteString( | 4562 ::google::protobuf::internal::WireFormatLite::WriteString( |
4563 8, this->java_outer_classname(), output); | 4563 8, this->java_outer_classname(), output); |
4564 } | 4564 } |
4565 | 4565 |
4566 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul
t = LITE_RUNTIME]; | 4566 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul
t = SPEED]; |
4567 if (has_optimize_for()) { | 4567 if (has_optimize_for()) { |
4568 ::google::protobuf::internal::WireFormatLite::WriteEnum( | 4568 ::google::protobuf::internal::WireFormatLite::WriteEnum( |
4569 9, this->optimize_for(), output); | 4569 9, this->optimize_for(), output); |
4570 } | 4570 } |
4571 | 4571 |
4572 // optional bool java_multiple_files = 10 [default = false]; | 4572 // optional bool java_multiple_files = 10 [default = false]; |
4573 if (has_java_multiple_files()) { | 4573 if (has_java_multiple_files()) { |
4574 ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->java_multi
ple_files(), output); | 4574 ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->java_multi
ple_files(), output); |
4575 } | 4575 } |
4576 | 4576 |
4577 // optional bool retain_unknown_fields = 11 [default = true]; | 4577 // optional bool retain_unknown_fields = 11 [default = false]; |
4578 if (has_retain_unknown_fields()) { | 4578 if (has_retain_unknown_fields()) { |
4579 ::google::protobuf::internal::WireFormatLite::WriteBool(11, this->retain_unk
nown_fields(), output); | 4579 ::google::protobuf::internal::WireFormatLite::WriteBool(11, this->retain_unk
nown_fields(), output); |
4580 } | 4580 } |
4581 | 4581 |
4582 // optional bool cc_generic_services = 16 [default = false]; | 4582 // optional bool cc_generic_services = 16 [default = false]; |
4583 if (has_cc_generic_services()) { | 4583 if (has_cc_generic_services()) { |
4584 ::google::protobuf::internal::WireFormatLite::WriteBool(16, this->cc_generic
_services(), output); | 4584 ::google::protobuf::internal::WireFormatLite::WriteBool(16, this->cc_generic
_services(), output); |
4585 } | 4585 } |
4586 | 4586 |
4587 // optional bool java_generic_services = 17 [default = false]; | 4587 // optional bool java_generic_services = 17 [default = false]; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4630 // optional string java_outer_classname = 8; | 4630 // optional string java_outer_classname = 8; |
4631 if (has_java_outer_classname()) { | 4631 if (has_java_outer_classname()) { |
4632 ::google::protobuf::internal::WireFormat::VerifyUTF8String( | 4632 ::google::protobuf::internal::WireFormat::VerifyUTF8String( |
4633 this->java_outer_classname().data(), this->java_outer_classname().length()
, | 4633 this->java_outer_classname().data(), this->java_outer_classname().length()
, |
4634 ::google::protobuf::internal::WireFormat::SERIALIZE); | 4634 ::google::protobuf::internal::WireFormat::SERIALIZE); |
4635 target = | 4635 target = |
4636 ::google::protobuf::internal::WireFormatLite::WriteStringToArray( | 4636 ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
4637 8, this->java_outer_classname(), target); | 4637 8, this->java_outer_classname(), target); |
4638 } | 4638 } |
4639 | 4639 |
4640 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul
t = LITE_RUNTIME]; | 4640 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defaul
t = SPEED]; |
4641 if (has_optimize_for()) { | 4641 if (has_optimize_for()) { |
4642 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( | 4642 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( |
4643 9, this->optimize_for(), target); | 4643 9, this->optimize_for(), target); |
4644 } | 4644 } |
4645 | 4645 |
4646 // optional bool java_multiple_files = 10 [default = false]; | 4646 // optional bool java_multiple_files = 10 [default = false]; |
4647 if (has_java_multiple_files()) { | 4647 if (has_java_multiple_files()) { |
4648 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10,
this->java_multiple_files(), target); | 4648 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10,
this->java_multiple_files(), target); |
4649 } | 4649 } |
4650 | 4650 |
4651 // optional bool retain_unknown_fields = 11 [default = true]; | 4651 // optional bool retain_unknown_fields = 11 [default = false]; |
4652 if (has_retain_unknown_fields()) { | 4652 if (has_retain_unknown_fields()) { |
4653 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(11,
this->retain_unknown_fields(), target); | 4653 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(11,
this->retain_unknown_fields(), target); |
4654 } | 4654 } |
4655 | 4655 |
4656 // optional bool cc_generic_services = 16 [default = false]; | 4656 // optional bool cc_generic_services = 16 [default = false]; |
4657 if (has_cc_generic_services()) { | 4657 if (has_cc_generic_services()) { |
4658 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(16,
this->cc_generic_services(), target); | 4658 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(16,
this->cc_generic_services(), target); |
4659 } | 4659 } |
4660 | 4660 |
4661 // optional bool java_generic_services = 17 [default = false]; | 4661 // optional bool java_generic_services = 17 [default = false]; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4707 total_size += 1 + | 4707 total_size += 1 + |
4708 ::google::protobuf::internal::WireFormatLite::StringSize( | 4708 ::google::protobuf::internal::WireFormatLite::StringSize( |
4709 this->java_outer_classname()); | 4709 this->java_outer_classname()); |
4710 } | 4710 } |
4711 | 4711 |
4712 // optional bool java_multiple_files = 10 [default = false]; | 4712 // optional bool java_multiple_files = 10 [default = false]; |
4713 if (has_java_multiple_files()) { | 4713 if (has_java_multiple_files()) { |
4714 total_size += 1 + 1; | 4714 total_size += 1 + 1; |
4715 } | 4715 } |
4716 | 4716 |
4717 // optional bool retain_unknown_fields = 11 [default = true]; | 4717 // optional bool retain_unknown_fields = 11 [default = false]; |
4718 if (has_retain_unknown_fields()) { | 4718 if (has_retain_unknown_fields()) { |
4719 total_size += 1 + 1; | 4719 total_size += 1 + 1; |
4720 } | 4720 } |
4721 | 4721 |
4722 // optional bool java_generate_equals_and_hash = 20 [default = false]; | 4722 // optional bool java_generate_equals_and_hash = 20 [default = false]; |
4723 if (has_java_generate_equals_and_hash()) { | 4723 if (has_java_generate_equals_and_hash()) { |
4724 total_size += 2 + 1; | 4724 total_size += 2 + 1; |
4725 } | 4725 } |
4726 | 4726 |
4727 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defa
ult = LITE_RUNTIME]; | 4727 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [defa
ult = SPEED]; |
4728 if (has_optimize_for()) { | 4728 if (has_optimize_for()) { |
4729 total_size += 1 + | 4729 total_size += 1 + |
4730 ::google::protobuf::internal::WireFormatLite::EnumSize(this->optimize_fo
r()); | 4730 ::google::protobuf::internal::WireFormatLite::EnumSize(this->optimize_fo
r()); |
4731 } | 4731 } |
4732 | 4732 |
4733 // optional bool cc_generic_services = 16 [default = false]; | 4733 // optional bool cc_generic_services = 16 [default = false]; |
4734 if (has_cc_generic_services()) { | 4734 if (has_cc_generic_services()) { |
4735 total_size += 2 + 1; | 4735 total_size += 2 + 1; |
4736 } | 4736 } |
4737 | 4737 |
(...skipping 3006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7744 return metadata; | 7744 return metadata; |
7745 } | 7745 } |
7746 | 7746 |
7747 | 7747 |
7748 // @@protoc_insertion_point(namespace_scope) | 7748 // @@protoc_insertion_point(namespace_scope) |
7749 | 7749 |
7750 } // namespace protobuf | 7750 } // namespace protobuf |
7751 } // namespace google | 7751 } // namespace google |
7752 | 7752 |
7753 // @@protoc_insertion_point(global_scope) | 7753 // @@protoc_insertion_point(global_scope) |
OLD | NEW |