|
|
@ -311,7 +311,7 @@ void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() { |
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, _internal_metadata_), |
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, _internal_metadata_), |
|
|
|
-1); |
|
|
|
-1); |
|
|
|
FileOptions_descriptor_ = file->message_type(9); |
|
|
|
FileOptions_descriptor_ = file->message_type(9); |
|
|
|
static const int FileOptions_offsets_[15] = { |
|
|
|
static const int FileOptions_offsets_[16] = { |
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_package_), |
|
|
|
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_outer_classname_), |
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_multiple_files_), |
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_multiple_files_), |
|
|
@ -326,6 +326,7 @@ void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() { |
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, cc_enable_arenas_), |
|
|
|
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, objc_class_prefix_), |
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, csharp_namespace_), |
|
|
|
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_), |
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, uninterpreted_option_), |
|
|
|
}; |
|
|
|
}; |
|
|
|
FileOptions_reflection_ = |
|
|
|
FileOptions_reflection_ = |
|
|
@ -695,7 +696,7 @@ void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() { |
|
|
|
"_type\030\002 \001(\t\022\023\n\013output_type\030\003 \001(\t\022/\n\007opti" |
|
|
|
"_type\030\002 \001(\t\022\023\n\013output_type\030\003 \001(\t\022/\n\007opti" |
|
|
|
"ons\030\004 \001(\0132\036.google.protobuf.MethodOption" |
|
|
|
"ons\030\004 \001(\0132\036.google.protobuf.MethodOption" |
|
|
|
"s\022\037\n\020client_streaming\030\005 \001(\010:\005false\022\037\n\020se" |
|
|
|
"s\022\037\n\020client_streaming\030\005 \001(\010:\005false\022\037\n\020se" |
|
|
|
"rver_streaming\030\006 \001(\010:\005false\"\201\005\n\013FileOpti" |
|
|
|
"rver_streaming\030\006 \001(\010:\005false\"\252\005\n\013FileOpti" |
|
|
|
"ons\022\024\n\014java_package\030\001 \001(\t\022\034\n\024java_outer_" |
|
|
|
"ons\022\024\n\014java_package\030\001 \001(\t\022\034\n\024java_outer_" |
|
|
|
"classname\030\010 \001(\t\022\"\n\023java_multiple_files\030\n" |
|
|
|
"classname\030\010 \001(\t\022\"\n\023java_multiple_files\030\n" |
|
|
|
" \001(\010:\005false\022,\n\035java_generate_equals_and_" |
|
|
|
" \001(\010:\005false\022,\n\035java_generate_equals_and_" |
|
|
@ -708,54 +709,55 @@ void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() { |
|
|
|
"vices\030\022 \001(\010:\005false\022\031\n\ndeprecated\030\027 \001(\010:\005" |
|
|
|
"vices\030\022 \001(\010:\005false\022\031\n\ndeprecated\030\027 \001(\010:\005" |
|
|
|
"false\022\037\n\020cc_enable_arenas\030\037 \001(\010:\005false\022\031" |
|
|
|
"false\022\037\n\020cc_enable_arenas\030\037 \001(\010:\005false\022\031" |
|
|
|
"\n\021objc_class_prefix\030$ \001(\t\022\030\n\020csharp_name" |
|
|
|
"\n\021objc_class_prefix\030$ \001(\t\022\030\n\020csharp_name" |
|
|
|
"space\030% \001(\t\022C\n\024uninterpreted_option\030\347\007 \003" |
|
|
|
"space\030% \001(\t\022\'\n\037javanano_use_deprecated_p" |
|
|
|
"(\0132$.google.protobuf.UninterpretedOption" |
|
|
|
"ackage\030& \001(\010\022C\n\024uninterpreted_option\030\347\007 " |
|
|
|
"\":\n\014OptimizeMode\022\t\n\005SPEED\020\001\022\r\n\tCODE_SIZE" |
|
|
|
"\003(\0132$.google.protobuf.UninterpretedOptio" |
|
|
|
"\020\002\022\020\n\014LITE_RUNTIME\020\003*\t\010\350\007\020\200\200\200\200\002\"\346\001\n\016Mess" |
|
|
|
"n\":\n\014OptimizeMode\022\t\n\005SPEED\020\001\022\r\n\tCODE_SIZ" |
|
|
|
"ageOptions\022&\n\027message_set_wire_format\030\001 " |
|
|
|
"E\020\002\022\020\n\014LITE_RUNTIME\020\003*\t\010\350\007\020\200\200\200\200\002\"\346\001\n\016Mes" |
|
|
|
"\001(\010:\005false\022.\n\037no_standard_descriptor_acc" |
|
|
|
"sageOptions\022&\n\027message_set_wire_format\030\001" |
|
|
|
"essor\030\002 \001(\010:\005false\022\031\n\ndeprecated\030\003 \001(\010:\005" |
|
|
|
" \001(\010:\005false\022.\n\037no_standard_descriptor_ac" |
|
|
|
"false\022\021\n\tmap_entry\030\007 \001(\010\022C\n\024uninterprete" |
|
|
|
"cessor\030\002 \001(\010:\005false\022\031\n\ndeprecated\030\003 \001(\010:" |
|
|
|
"d_option\030\347\007 \003(\0132$.google.protobuf.Uninte" |
|
|
|
"\005false\022\021\n\tmap_entry\030\007 \001(\010\022C\n\024uninterpret" |
|
|
|
"rpretedOption*\t\010\350\007\020\200\200\200\200\002\"\230\003\n\014FieldOption" |
|
|
|
"ed_option\030\347\007 \003(\0132$.google.protobuf.Unint" |
|
|
|
"s\022:\n\005ctype\030\001 \001(\0162#.google.protobuf.Field" |
|
|
|
"erpretedOption*\t\010\350\007\020\200\200\200\200\002\"\230\003\n\014FieldOptio" |
|
|
|
"Options.CType:\006STRING\022\016\n\006packed\030\002 \001(\010\022\?\n" |
|
|
|
"ns\022:\n\005ctype\030\001 \001(\0162#.google.protobuf.Fiel" |
|
|
|
"\006jstype\030\006 \001(\0162$.google.protobuf.FieldOpt" |
|
|
|
"dOptions.CType:\006STRING\022\016\n\006packed\030\002 \001(\010\022\?" |
|
|
|
"ions.JSType:\tJS_NORMAL\022\023\n\004lazy\030\005 \001(\010:\005fa" |
|
|
|
"\n\006jstype\030\006 \001(\0162$.google.protobuf.FieldOp" |
|
|
|
"lse\022\031\n\ndeprecated\030\003 \001(\010:\005false\022\023\n\004weak\030\n" |
|
|
|
"tions.JSType:\tJS_NORMAL\022\023\n\004lazy\030\005 \001(\010:\005f" |
|
|
|
" \001(\010:\005false\022C\n\024uninterpreted_option\030\347\007 \003" |
|
|
|
"alse\022\031\n\ndeprecated\030\003 \001(\010:\005false\022\023\n\004weak\030" |
|
|
|
"(\0132$.google.protobuf.UninterpretedOption" |
|
|
|
"\n \001(\010:\005false\022C\n\024uninterpreted_option\030\347\007 " |
|
|
|
"\"/\n\005CType\022\n\n\006STRING\020\000\022\010\n\004CORD\020\001\022\020\n\014STRIN" |
|
|
|
"\003(\0132$.google.protobuf.UninterpretedOptio" |
|
|
|
"G_PIECE\020\002\"5\n\006JSType\022\r\n\tJS_NORMAL\020\000\022\r\n\tJS" |
|
|
|
"n\"/\n\005CType\022\n\n\006STRING\020\000\022\010\n\004CORD\020\001\022\020\n\014STRI" |
|
|
|
"_STRING\020\001\022\r\n\tJS_NUMBER\020\002*\t\010\350\007\020\200\200\200\200\002\"\215\001\n\013" |
|
|
|
"NG_PIECE\020\002\"5\n\006JSType\022\r\n\tJS_NORMAL\020\000\022\r\n\tJ" |
|
|
|
"EnumOptions\022\023\n\013allow_alias\030\002 \001(\010\022\031\n\ndepr" |
|
|
|
"S_STRING\020\001\022\r\n\tJS_NUMBER\020\002*\t\010\350\007\020\200\200\200\200\002\"\215\001\n" |
|
|
|
"ecated\030\003 \001(\010:\005false\022C\n\024uninterpreted_opt" |
|
|
|
"\013EnumOptions\022\023\n\013allow_alias\030\002 \001(\010\022\031\n\ndep" |
|
|
|
"ion\030\347\007 \003(\0132$.google.protobuf.Uninterpret" |
|
|
|
"recated\030\003 \001(\010:\005false\022C\n\024uninterpreted_op" |
|
|
|
"edOption*\t\010\350\007\020\200\200\200\200\002\"}\n\020EnumValueOptions\022" |
|
|
|
"tion\030\347\007 \003(\0132$.google.protobuf.Uninterpre" |
|
|
|
"\031\n\ndeprecated\030\001 \001(\010:\005false\022C\n\024uninterpre" |
|
|
|
"tedOption*\t\010\350\007\020\200\200\200\200\002\"}\n\020EnumValueOptions" |
|
|
|
"ted_option\030\347\007 \003(\0132$.google.protobuf.Unin" |
|
|
|
"\022\031\n\ndeprecated\030\001 \001(\010:\005false\022C\n\024uninterpr" |
|
|
|
"terpretedOption*\t\010\350\007\020\200\200\200\200\002\"{\n\016ServiceOpt" |
|
|
|
"eted_option\030\347\007 \003(\0132$.google.protobuf.Uni" |
|
|
|
"ions\022\031\n\ndeprecated\030! \001(\010:\005false\022C\n\024unint" |
|
|
|
"nterpretedOption*\t\010\350\007\020\200\200\200\200\002\"{\n\016ServiceOp" |
|
|
|
"erpreted_option\030\347\007 \003(\0132$.google.protobuf" |
|
|
|
"tions\022\031\n\ndeprecated\030! \001(\010:\005false\022C\n\024unin" |
|
|
|
".UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"z\n\rMetho" |
|
|
|
"terpreted_option\030\347\007 \003(\0132$.google.protobu" |
|
|
|
"dOptions\022\031\n\ndeprecated\030! \001(\010:\005false\022C\n\024u" |
|
|
|
"f.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"z\n\rMeth" |
|
|
|
"ninterpreted_option\030\347\007 \003(\0132$.google.prot" |
|
|
|
"odOptions\022\031\n\ndeprecated\030! \001(\010:\005false\022C\n\024" |
|
|
|
"obuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"\236\002\n\023" |
|
|
|
"uninterpreted_option\030\347\007 \003(\0132$.google.pro" |
|
|
|
"UninterpretedOption\022;\n\004name\030\002 \003(\0132-.goog" |
|
|
|
"tobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"\236\002\n" |
|
|
|
"le.protobuf.UninterpretedOption.NamePart" |
|
|
|
"\023UninterpretedOption\022;\n\004name\030\002 \003(\0132-.goo" |
|
|
|
"\022\030\n\020identifier_value\030\003 \001(\t\022\032\n\022positive_i" |
|
|
|
"gle.protobuf.UninterpretedOption.NamePar" |
|
|
|
"nt_value\030\004 \001(\004\022\032\n\022negative_int_value\030\005 \001" |
|
|
|
"t\022\030\n\020identifier_value\030\003 \001(\t\022\032\n\022positive_" |
|
|
|
"(\003\022\024\n\014double_value\030\006 \001(\001\022\024\n\014string_value" |
|
|
|
"int_value\030\004 \001(\004\022\032\n\022negative_int_value\030\005 " |
|
|
|
"\030\007 \001(\014\022\027\n\017aggregate_value\030\010 \001(\t\0323\n\010NameP" |
|
|
|
"\001(\003\022\024\n\014double_value\030\006 \001(\001\022\024\n\014string_valu" |
|
|
|
"art\022\021\n\tname_part\030\001 \002(\t\022\024\n\014is_extension\030\002" |
|
|
|
"e\030\007 \001(\014\022\027\n\017aggregate_value\030\010 \001(\t\0323\n\010Name" |
|
|
|
" \002(\010\"\325\001\n\016SourceCodeInfo\022:\n\010location\030\001 \003(" |
|
|
|
"Part\022\021\n\tname_part\030\001 \002(\t\022\024\n\014is_extension\030" |
|
|
|
"\0132(.google.protobuf.SourceCodeInfo.Locat" |
|
|
|
"\002 \002(\010\"\325\001\n\016SourceCodeInfo\022:\n\010location\030\001 \003" |
|
|
|
"ion\032\206\001\n\010Location\022\020\n\004path\030\001 \003(\005B\002\020\001\022\020\n\004sp" |
|
|
|
"(\0132(.google.protobuf.SourceCodeInfo.Loca" |
|
|
|
"an\030\002 \003(\005B\002\020\001\022\030\n\020leading_comments\030\003 \001(\t\022\031" |
|
|
|
"tion\032\206\001\n\010Location\022\020\n\004path\030\001 \003(\005B\002\020\001\022\020\n\004s" |
|
|
|
"\n\021trailing_comments\030\004 \001(\t\022!\n\031leading_det" |
|
|
|
"pan\030\002 \003(\005B\002\020\001\022\030\n\020leading_comments\030\003 \001(\t\022" |
|
|
|
"ached_comments\030\006 \003(\tBX\n\023com.google.proto" |
|
|
|
"\031\n\021trailing_comments\030\004 \001(\t\022!\n\031leading_de" |
|
|
|
"bufB\020DescriptorProtosH\001Z\ndescriptor\242\002\003GP" |
|
|
|
"tached_comments\030\006 \003(\tB[\n\023com.google.prot" |
|
|
|
"B\252\002\032Google.Protobuf.Reflection", 4950); |
|
|
|
"obufB\020DescriptorProtosH\001Z\ndescriptor\242\002\003G" |
|
|
|
|
|
|
|
"PB\252\002\032Google.Protobuf.Reflection\260\002\001", 4994); |
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( |
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( |
|
|
|
"google/protobuf/descriptor.proto", &protobuf_RegisterTypes); |
|
|
|
"google/protobuf/descriptor.proto", &protobuf_RegisterTypes); |
|
|
|
FileDescriptorSet::default_instance_ = new FileDescriptorSet(); |
|
|
|
FileDescriptorSet::default_instance_ = new FileDescriptorSet(); |
|
|
@ -7597,6 +7599,7 @@ const int FileOptions::kDeprecatedFieldNumber; |
|
|
|
const int FileOptions::kCcEnableArenasFieldNumber; |
|
|
|
const int FileOptions::kCcEnableArenasFieldNumber; |
|
|
|
const int FileOptions::kObjcClassPrefixFieldNumber; |
|
|
|
const int FileOptions::kObjcClassPrefixFieldNumber; |
|
|
|
const int FileOptions::kCsharpNamespaceFieldNumber; |
|
|
|
const int FileOptions::kCsharpNamespaceFieldNumber; |
|
|
|
|
|
|
|
const int FileOptions::kJavananoUseDeprecatedPackageFieldNumber; |
|
|
|
const int FileOptions::kUninterpretedOptionFieldNumber; |
|
|
|
const int FileOptions::kUninterpretedOptionFieldNumber; |
|
|
|
#endif // !_MSC_VER
|
|
|
|
#endif // !_MSC_VER
|
|
|
|
|
|
|
|
|
|
|
@ -7634,6 +7637,7 @@ void FileOptions::SharedCtor() { |
|
|
|
cc_enable_arenas_ = false; |
|
|
|
cc_enable_arenas_ = false; |
|
|
|
objc_class_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
|
|
|
objc_class_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
|
|
|
csharp_namespace_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
|
|
|
csharp_namespace_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
|
|
|
|
|
|
|
javanano_use_deprecated_package_ = false; |
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_)); |
|
|
|
::memset(_has_bits_, 0, sizeof(_has_bits_)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -7700,8 +7704,8 @@ void FileOptions::Clear() { |
|
|
|
go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
|
|
|
go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (_has_bits_[8 / 32] & 16128u) { |
|
|
|
if (_has_bits_[8 / 32] & 32512u) { |
|
|
|
ZR_(java_generic_services_, cc_enable_arenas_); |
|
|
|
ZR_(java_generic_services_, javanano_use_deprecated_package_); |
|
|
|
if (has_objc_class_prefix()) { |
|
|
|
if (has_objc_class_prefix()) { |
|
|
|
objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
|
|
|
objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
|
|
|
} |
|
|
|
} |
|
|
@ -7950,6 +7954,21 @@ bool FileOptions::MergePartialFromCodedStream( |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
goto handle_unusual; |
|
|
|
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; |
|
|
|
if (input->ExpectTag(7994)) goto parse_uninterpreted_option; |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
@ -8097,6 +8116,11 @@ void FileOptions::SerializeWithCachedSizes( |
|
|
|
37, this->csharp_namespace(), output); |
|
|
|
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;
|
|
|
|
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
|
for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) { |
|
|
|
for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) { |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( |
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( |
|
|
@ -8218,6 +8242,11 @@ void FileOptions::SerializeWithCachedSizes( |
|
|
|
37, this->csharp_namespace(), target); |
|
|
|
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;
|
|
|
|
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
|
for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) { |
|
|
|
for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) { |
|
|
|
target = ::google::protobuf::internal::WireFormatLite:: |
|
|
|
target = ::google::protobuf::internal::WireFormatLite:: |
|
|
@ -8289,7 +8318,7 @@ int FileOptions::ByteSize() const { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
if (_has_bits_[8 / 32] & 16128u) { |
|
|
|
if (_has_bits_[8 / 32] & 32512u) { |
|
|
|
// optional bool java_generic_services = 17 [default = false];
|
|
|
|
// optional bool java_generic_services = 17 [default = false];
|
|
|
|
if (has_java_generic_services()) { |
|
|
|
if (has_java_generic_services()) { |
|
|
|
total_size += 2 + 1; |
|
|
|
total_size += 2 + 1; |
|
|
@ -8324,6 +8353,11 @@ int FileOptions::ByteSize() const { |
|
|
|
this->csharp_namespace()); |
|
|
|
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;
|
|
|
|
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
|
total_size += 2 * this->uninterpreted_option_size(); |
|
|
|
total_size += 2 * this->uninterpreted_option_size(); |
|
|
@ -8411,6 +8445,9 @@ void FileOptions::MergeFrom(const FileOptions& from) { |
|
|
|
set_has_csharp_namespace(); |
|
|
|
set_has_csharp_namespace(); |
|
|
|
csharp_namespace_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.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_); |
|
|
|
_extensions_.MergeFrom(from._extensions_); |
|
|
|
if (from._internal_metadata_.have_unknown_fields()) { |
|
|
|
if (from._internal_metadata_.have_unknown_fields()) { |
|
|
@ -8456,6 +8493,7 @@ void FileOptions::InternalSwap(FileOptions* other) { |
|
|
|
std::swap(cc_enable_arenas_, other->cc_enable_arenas_); |
|
|
|
std::swap(cc_enable_arenas_, other->cc_enable_arenas_); |
|
|
|
objc_class_prefix_.Swap(&other->objc_class_prefix_); |
|
|
|
objc_class_prefix_.Swap(&other->objc_class_prefix_); |
|
|
|
csharp_namespace_.Swap(&other->csharp_namespace_); |
|
|
|
csharp_namespace_.Swap(&other->csharp_namespace_); |
|
|
|
|
|
|
|
std::swap(javanano_use_deprecated_package_, other->javanano_use_deprecated_package_); |
|
|
|
uninterpreted_option_.UnsafeArenaSwap(&other->uninterpreted_option_); |
|
|
|
uninterpreted_option_.UnsafeArenaSwap(&other->uninterpreted_option_); |
|
|
|
std::swap(_has_bits_[0], other->_has_bits_[0]); |
|
|
|
std::swap(_has_bits_[0], other->_has_bits_[0]); |
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_); |
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_); |
|
|
@ -8956,6 +8994,30 @@ void FileOptions::clear_csharp_namespace() { |
|
|
|
// @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.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;
|
|
|
|
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
|
|
int FileOptions::uninterpreted_option_size() const { |
|
|
|
int FileOptions::uninterpreted_option_size() const { |
|
|
|
return uninterpreted_option_.size(); |
|
|
|
return uninterpreted_option_.size(); |
|
|
|