@ -297,6 +297,7 @@ const ::google::protobuf::uint32 TableStruct::offsets[] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET ( FileOptions , cc_generic_services_ ) ,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET ( FileOptions , java_generic_services_ ) ,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET ( FileOptions , py_generic_services_ ) ,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET ( FileOptions , php_generic_services_ ) ,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET ( FileOptions , deprecated_ ) ,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET ( FileOptions , cc_enable_arenas_ ) ,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET ( FileOptions , objc_class_prefix_ ) ,
@ -310,13 +311,14 @@ const ::google::protobuf::uint32 TableStruct::offsets[] = {
8 ,
9 ,
10 ,
16 ,
17 ,
2 ,
11 ,
12 ,
13 ,
14 ,
15 ,
16 ,
3 ,
4 ,
5 ,
@ -488,20 +490,20 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] = {
{ 124 , 132 , sizeof ( EnumValueDescriptorProto ) } ,
{ 135 , 143 , sizeof ( ServiceDescriptorProto ) } ,
{ 146 , 157 , sizeof ( MethodDescriptorProto ) } ,
{ 163 , 186 , sizeof ( FileOptions ) } ,
{ 204 , 214 , sizeof ( MessageOptions ) } ,
{ 219 , 231 , sizeof ( FieldOptions ) } ,
{ 238 , 244 , sizeof ( OneofOptions ) } ,
{ 245 , 253 , sizeof ( EnumOptions ) } ,
{ 256 , 263 , sizeof ( EnumValueOptions ) } ,
{ 265 , 272 , sizeof ( ServiceOptions ) } ,
{ 274 , 282 , sizeof ( MethodOptions ) } ,
{ 285 , 292 , sizeof ( UninterpretedOption_NamePart ) } ,
{ 294 , 306 , sizeof ( UninterpretedOption ) } ,
{ 313 , 323 , sizeof ( SourceCodeInfo_Location ) } ,
{ 328 , 334 , sizeof ( SourceCodeInfo ) } ,
{ 335 , 344 , sizeof ( GeneratedCodeInfo_Annotation ) } ,
{ 348 , 354 , sizeof ( GeneratedCodeInfo ) } ,
{ 163 , 187 , sizeof ( FileOptions ) } ,
{ 206 , 216 , sizeof ( MessageOptions ) } ,
{ 22 1 , 233 , sizeof ( FieldOptions ) } ,
{ 240 , 246 , sizeof ( OneofOptions ) } ,
{ 247 , 255 , sizeof ( EnumOptions ) } ,
{ 258 , 265 , sizeof ( EnumValueOptions ) } ,
{ 267 , 274 , sizeof ( ServiceOptions ) } ,
{ 276 , 284 , sizeof ( MethodOptions ) } ,
{ 287 , 294 , sizeof ( UninterpretedOption_NamePart ) } ,
{ 296 , 308 , sizeof ( UninterpretedOption ) } ,
{ 315 , 325 , sizeof ( SourceCodeInfo_Location ) } ,
{ 330 , 336 , sizeof ( SourceCodeInfo ) } ,
{ 337 , 346 , sizeof ( GeneratedCodeInfo_Annotation ) } ,
{ 350 , 356 , sizeof ( GeneratedCodeInfo ) } ,
} ;
static : : google : : protobuf : : Message const * const file_default_instances [ ] = {
@ -729,7 +731,7 @@ void AddDescriptorsImpl() {
" \n \013 output_type \030 \003 \001 ( \t \022 / \n \007 options \030 \004 \001 ( \013 2 \036 .g "
" oogle.protobuf.MethodOptions \022 \037 \n \020 client_s "
" treaming \030 \005 \001 ( \010 : \005 false \022 \037 \n \020 server_streamin "
" g \030 \006 \001 ( \010 : \005 false \" \313 \005 \n \013 FileOptions \022 \024 \n \014 java_p "
" g \030 \006 \001 ( \010 : \005 false \" \360 \005 \n \013 FileOptions \022 \024 \n \014 java_p "
" ackage \030 \001 \001 ( \t \022 \034 \n \024 java_outer_classname \030 \010 \001 "
" ( \t \022 \" \n \023 java_multiple_files \030 \n \001 ( \010 : \005 false \022 ) "
" \n \035 java_generate_equals_and_hash \030 \024 \001 ( \010 B \002 \030 "
@ -739,75 +741,76 @@ void AddDescriptorsImpl() {
" ackage \030 \013 \001 ( \t \022 \" \n \023 cc_generic_services \030 \020 \001 ( "
" \010 : \005 false \022 $ \n \025 java_generic_services \030 \021 \001 ( \010 : "
" \005 false \022 \" \n \023 py_generic_services \030 \022 \001 ( \010 : \005 fal "
" se \022 \031 \n \n deprecated \030 \027 \001 ( \010 : \005 false \022 \037 \n \020 cc_enab "
" le_arenas \030 \037 \001 ( \010 : \005 false \022 \031 \n \021 objc_class_pre "
" fix \030 $ \001 ( \t \022 \030 \n \020 csharp_namespace \030 % \001 ( \t \022 \024 \n \014 s "
" wift_prefix \030 \' \001 ( \t \022 \030 \n \020 php_class_prefix \030 ( "
" \001 ( \t \022 \025 \n \r php_namespace \030 ) \001 ( \t \022 C \n \024 uninterpre "
" ted_option \030 \347 \007 \003 ( \013 2$.google.protobuf.Unin "
" terpretedOption \" : \n \014 OptimizeMode \022 \t \n \005 SPEED "
" \020 \001 \022 \r \n \t CODE_SIZE \020 \002 \022 \020 \n \014 LITE_RUNTIME \020 \003 * \t \010 \350 \007 "
" \020 \200 \200 \200 \200 \002 J \004 \010 & \020 \' \" \362 \001 \n \016 MessageOptions \022 & \n \027 messa "
" ge_set_wire_format \030 \001 \001 ( \010 : \005 false \022 . \n \037 no_st "
" andard_descriptor_accessor \030 \002 \001 ( \010 : \005 false \022 "
" \031 \n \n deprecated \030 \003 \001 ( \010 : \005 false \022 \021 \n \t map_entry \030 "
" \007 \001 ( \010 \022 C \n \024 uninterpreted_option \030 \347 \007 \003 ( \013 2$.g "
" oogle.protobuf.UninterpretedOption* \t \010 \350 \007 \020 "
" \200 \200 \200 \200 \002 J \004 \010 \010 \020 \t J \004 \010 \t \020 \n \" \236 \003 \n \014 FieldOptions \022 : \n \005 ct "
" ype \030 \001 \001 ( \016 2#.google.protobuf.FieldOptions "
" .CType: \006 STRING \022 \016 \n \006 packed \030 \002 \001 ( \010 \022 \ ? \n \006 jstype "
" \030 \006 \001 ( \016 2$.google.protobuf.FieldOptions.JS "
" Type: \t JS_NORMAL \022 \023 \n \004 lazy \030 \005 \001 ( \010 : \005 false \022 \031 \n \n "
" deprecated \030 \003 \001 ( \010 : \005 false \022 \023 \n \004 weak \030 \n \001 ( \010 : \005 f "
" alse \022 C \n \024 uninterpreted_option \030 \347 \007 \003 ( \013 2$.go "
" ogle.protobuf.UninterpretedOption \" / \n \005 CTy "
" pe \022 \n \n \006 STRING \020 \000 \022 \010 \n \004 CORD \020 \001 \022 \020 \n \014 STRING_PIECE "
" \020 \002 \" 5 \n \006 JSType \022 \r \n \t JS_NORMAL \020 \000 \022 \r \n \t JS_STRING "
" \020 \001 \022 \r \n \t JS_NUMBER \020 \002 * \t \010 \350 \007 \020 \200 \200 \200 \200 \002 J \004 \010 \004 \020 \005 \" ^ \n \014 On "
" eofOptions \022 C \n \024 uninterpreted_option \030 \347 \007 \003 ( "
" \013 2$.google.protobuf.UninterpretedOption* "
" \t \010 \350 \007 \020 \200 \200 \200 \200 \002 \" \223 \001 \n \013 EnumOptions \022 \023 \n \013 allow_alia "
" s \030 \002 \001 ( \010 \022 \031 \n \n deprecated \030 \003 \001 ( \010 : \005 false \022 C \n \024 un "
" interpreted_option \030 \347 \007 \003 ( \013 2$.google.proto "
" buf.UninterpretedOption* \t \010 \350 \007 \020 \200 \200 \200 \200 \002 J \004 \010 \005 \020 \006 "
" \" } \n \020 EnumValueOptions \022 \031 \n \n deprecated \030 \001 \001 ( \010 "
" : \005 false \022 C \n \024 uninterpreted_option \030 \347 \007 \003 ( \013 2$ "
" se \022 # \n \024 php_generic_services \030 \023 \001 ( \010 : \005 false \022 "
" \031 \n \n deprecated \030 \027 \001 ( \010 : \005 false \022 \037 \n \020 cc_enable_ "
" arenas \030 \037 \001 ( \010 : \005 false \022 \031 \n \021 objc_class_prefix "
" \030 $ \001 ( \t \022 \030 \n \020 csharp_namespace \030 % \001 ( \t \022 \024 \n \014 swif "
" t_prefix \030 \' \001 ( \t \022 \030 \n \020 php_class_prefix \030 ( \001 ( \t "
" \022 \025 \n \r php_namespace \030 ) \001 ( \t \022 C \n \024 uninterpreted "
" _option \030 \347 \007 \003 ( \013 2$.google.protobuf.Uninter "
" pretedOption \" : \n \014 OptimizeMode \022 \t \n \005 SPEED \020 \001 \022 "
" \r \n \t CODE_SIZE \020 \002 \022 \020 \n \014 LITE_RUNTIME \020 \003 * \t \010 \350 \007 \020 \200 \200 "
" \200 \200 \002 J \004 \010 & \020 \' \" \362 \001 \n \016 MessageOptions \022 & \n \027 message_ "
" set_wire_format \030 \001 \001 ( \010 : \005 false \022 . \n \037 no_stand "
" ard_descriptor_accessor \030 \002 \001 ( \010 : \005 false \022 \031 \n \n "
" deprecated \030 \003 \001 ( \010 : \005 false \022 \021 \n \t map_entry \030 \007 \001 "
" ( \010 \022 C \n \024 uninterpreted_option \030 \347 \007 \003 ( \013 2$.goog "
" le.protobuf.UninterpretedOption* \t \010 \350 \007 \020 \200 \200 \200 "
" \200 \002 J \004 \010 \010 \020 \t J \004 \010 \t \020 \n \" \236 \003 \n \014 FieldOptions \022 : \n \005 ctype "
" \030 \001 \001 ( \016 2#.google.protobuf.FieldOptions.CT "
" ype: \006 STRING \022 \016 \n \006 packed \030 \002 \001 ( \010 \022 \ ? \n \006 jstype \030 \006 "
" \001 ( \016 2$.google.protobuf.FieldOptions.JSTyp "
" e: \t JS_NORMAL \022 \023 \n \004 lazy \030 \005 \001 ( \010 : \005 false \022 \031 \n \n dep "
" recated \030 \003 \001 ( \010 : \005 false \022 \023 \n \004 weak \030 \n \001 ( \010 : \005 fals "
" e \022 C \n \024 uninterpreted_option \030 \347 \007 \003 ( \013 2$.googl "
" e.protobuf.UninterpretedOption \" / \n \005 CType \022 "
" \n \n \006 STRING \020 \000 \022 \010 \n \004 CORD \020 \001 \022 \020 \n \014 STRING_PIECE \020 \002 \" "
" 5 \n \006 JSType \022 \r \n \t JS_NORMAL \020 \000 \022 \r \n \t JS_STRING \020 \001 \022 "
" \r \n \t JS_NUMBER \020 \002 * \t \010 \350 \007 \020 \200 \200 \200 \200 \002 J \004 \010 \004 \020 \005 \" ^ \n \014 Oneof "
" Options \022 C \n \024 uninterpreted_option \030 \347 \007 \003 ( \013 2$ "
" .google.protobuf.UninterpretedOption* \t \010 \350 "
" \007 \020 \200 \200 \200 \200 \002 \" { \n \016 ServiceOptions \022 \031 \n \n deprecated \030 "
" ! \001 ( \010 : \005 false \022 C \n \024 uninterpreted_option \030 \347 \007 "
" \003 ( \013 2$.google.protobuf.UninterpretedOptio "
" n* \t \010 \350 \007 \020 \200 \200 \200 \200 \002 \" \255 \002 \n \r MethodOptions \022 \031 \n \n deprec "
" ated \030 ! \001 ( \010 : \005 false \022 _ \n \021 idempotency_level \030 \" "
" \001 ( \016 2/.google.protobuf.MethodOptions.Ide "
" mpotencyLevel: \023 IDEMPOTENCY_UNKNOWN \022 C \n \024 un "
" interpreted_option \030 \347 \007 \003 ( \013 2$.google.proto "
" buf.UninterpretedOption \" P \n \020 IdempotencyLe "
" vel \022 \027 \n \023 IDEMPOTENCY_UNKNOWN \020 \000 \022 \023 \n \017 NO_SIDE_ "
" EFFECTS \020 \001 \022 \016 \n \n IDEMPOTENT \020 \002 * \t \010 \350 \007 \020 \200 \200 \200 \200 \002 \" \236 \002 \n "
" \023 UninterpretedOption \022 ; \n \004 name \030 \002 \003 ( \013 2-.goo "
" gle.protobuf.UninterpretedOption.NamePar "
" t \022 \030 \n \020 identifier_value \030 \003 \001 ( \t \022 \032 \n \022 positive_ "
" int_value \030 \004 \001 ( \004 \022 \032 \n \022 negative_int_value \030 \005 "
" \001 ( \003 \022 \024 \n \014 double_value \030 \006 \001 ( \001 \022 \024 \n \014 string_valu "
" e \030 \007 \001 ( \014 \022 \027 \n \017 aggregate_value \030 \010 \001 ( \t \032 3 \n \010 Name "
" Part \022 \021 \n \t name_part \030 \001 \002 ( \t \022 \024 \n \014 is_extension \030 "
" \002 \002 ( \010 \" \325 \001 \n \016 SourceCodeInfo \022 : \n \010 location \030 \001 \003 "
" ( \013 2(.google.protobuf.SourceCodeInfo.Loca "
" tion \032 \206 \001 \n \010 Location \022 \020 \n \004 path \030 \001 \003 ( \005 B \002 \020 \001 \022 \020 \n \004 s "
" pan \030 \002 \003 ( \005 B \002 \020 \001 \022 \030 \n \020 leading_comments \030 \003 \001 ( \t \022 "
" \031 \n \021 trailing_comments \030 \004 \001 ( \t \022 ! \n \031 leading_de "
" tached_comments \030 \006 \003 ( \t \" \247 \001 \n \021 GeneratedCodeI "
" nfo \022 A \n \n annotation \030 \001 \003 ( \013 2-.google.protobu "
" f.GeneratedCodeInfo.Annotation \032 O \n \n Annota "
" tion \022 \020 \n \004 path \030 \001 \003 ( \005 B \002 \020 \001 \022 \023 \n \013 source_file \030 \002 "
" \001 ( \t \022 \r \n \005 begin \030 \003 \001 ( \005 \022 \013 \n \003 end \030 \004 \001 ( \005 B \214 \001 \n \023 com. "
" google.protobufB \020 DescriptorProtosH \001 Z>git "
" hub.com/golang/protobuf/protoc-gen-go/de "
" scriptor;descriptor \242 \002 \003 GPB \252 \002 \032 Google.Proto "
" buf.Reflection "
" \007 \020 \200 \200 \200 \200 \002 \" \223 \001 \n \013 EnumOptions \022 \023 \n \013 allow_alias \030 \002 "
" \001 ( \010 \022 \031 \n \n deprecated \030 \003 \001 ( \010 : \005 false \022 C \n \024 unint "
" erpreted_option \030 \347 \007 \003 ( \013 2$.google.protobuf "
" .UninterpretedOption* \t \010 \350 \007 \020 \200 \200 \200 \200 \002 J \004 \010 \005 \020 \006 \" } \n "
" \020 EnumValueOptions \022 \031 \n \n deprecated \030 \001 \001 ( \010 : \005 f "
" alse \022 C \n \024 uninterpreted_option \030 \347 \007 \003 ( \013 2$.go "
" ogle.protobuf.UninterpretedOption* \t \010 \350 \007 \020 \200 "
" \200 \200 \200 \002 \" { \n \016 ServiceOptions \022 \031 \n \n deprecated \030 ! \001 "
" ( \010 : \005 false \022 C \n \024 uninterpreted_option \030 \347 \007 \003 ( \013 "
" 2$.google.protobuf.UninterpretedOption* \t "
" \010 \350 \007 \020 \200 \200 \200 \200 \002 \" \255 \002 \n \r MethodOptions \022 \031 \n \n deprecate "
" d \030 ! \001 ( \010 : \005 false \022 _ \n \021 idempotency_level \030 \" \001 ( "
" \016 2/.google.protobuf.MethodOptions.Idempo "
" tencyLevel: \023 IDEMPOTENCY_UNKNOWN \022 C \n \024 unint "
" erpreted_option \030 \347 \007 \003 ( \013 2$.google.protobuf "
" .UninterpretedOption \" P \n \020 IdempotencyLevel "
" \022 \027 \n \023 IDEMPOTENCY_UNKNOWN \020 \000 \022 \023 \n \017 NO_SIDE_EFF "
" ECTS \020 \001 \022 \016 \n \n IDEMPOTENT \020 \002 * \t \010 \350 \007 \020 \200 \200 \200 \200 \002 \" \236 \002 \n \023 Un "
" interpretedOption \022 ; \n \004 name \030 \002 \003 ( \013 2-.google "
" .protobuf.UninterpretedOption.NamePart \022 \030 "
" \n \020 identifier_value \030 \003 \001 ( \t \022 \032 \n \022 positive_int "
" _value \030 \004 \001 ( \004 \022 \032 \n \022 negative_int_value \030 \005 \001 ( \003 "
" \022 \024 \n \014 double_value \030 \006 \001 ( \001 \022 \024 \n \014 string_value \030 \007 "
" \001 ( \014 \022 \027 \n \017 aggregate_value \030 \010 \001 ( \t \032 3 \n \010 NamePar "
" t \022 \021 \n \t name_part \030 \001 \002 ( \t \022 \024 \n \014 is_extension \030 \002 \002 "
" ( \010 \" \325 \001 \n \016 SourceCodeInfo \022 : \n \010 location \030 \001 \003 ( \013 2 "
" (.google.protobuf.SourceCodeInfo.Locatio "
" n \032 \206 \001 \n \010 Location \022 \020 \n \004 path \030 \001 \003 ( \005 B \002 \020 \001 \022 \020 \n \004 span "
" \030 \002 \003 ( \005 B \002 \020 \001 \022 \030 \n \020 leading_comments \030 \003 \001 ( \t \022 \031 \n \021 "
" trailing_comments \030 \004 \001 ( \t \022 ! \n \031 leading_detac "
" hed_comments \030 \006 \003 ( \t \" \247 \001 \n \021 GeneratedCodeInfo "
" \022 A \n \n annotation \030 \001 \003 ( \013 2-.google.protobuf.G "
" eneratedCodeInfo.Annotation \032 O \n \n Annotatio "
" n \022 \020 \n \004 path \030 \001 \003 ( \005 B \002 \020 \001 \022 \023 \n \013 source_file \030 \002 \001 ( \t "
" \022 \r \n \005 begin \030 \003 \001 ( \005 \022 \013 \n \003 end \030 \004 \001 ( \005 B \214 \001 \n \023 com.goo "
" gle.protobufB \020 DescriptorProtosH \001 Z>github "
" .com/golang/protobuf/protoc-gen-go/descr "
" iptor;descriptor \242 \002 \003 GPB \252 \002 \032 Google.Protobuf "
" .Reflection "
} ;
: : google : : protobuf : : DescriptorPool : : InternalAddGeneratedFile (
descriptor , 5614 ) ;
descriptor , 565 1 ) ;
: : google : : protobuf : : MessageFactory : : InternalRegisterGeneratedFile (
" google/protobuf/descriptor.proto " , & protobuf_RegisterTypes ) ;
: : google : : protobuf : : internal : : OnShutdown ( & TableStruct : : Shutdown ) ;
@ -8292,6 +8295,7 @@ const int FileOptions::kGoPackageFieldNumber;
const int FileOptions : : kCcGenericServicesFieldNumber ;
const int FileOptions : : kJavaGenericServicesFieldNumber ;
const int FileOptions : : kPyGenericServicesFieldNumber ;
const int FileOptions : : kPhpGenericServicesFieldNumber ;
const int FileOptions : : kDeprecatedFieldNumber ;
const int FileOptions : : kCcEnableArenasFieldNumber ;
const int FileOptions : : kObjcClassPrefixFieldNumber ;
@ -8451,10 +8455,13 @@ void FileOptions::Clear() {
}
if ( _has_bits_ [ 8 / 32 ] & 65280u ) {
: : memset ( & java_multiple_files_ , 0 , static_cast < size_t > (
reinterpret_cast < char * > ( & cc_enable_arenas_ ) -
reinterpret_cast < char * > ( & java_multiple_files_ ) ) + sizeof ( cc_enable_arenas_ ) ) ;
reinterpret_cast < char * > ( & deprecated_ ) -
reinterpret_cast < char * > ( & java_multiple_files_ ) ) + sizeof ( deprecated_ ) ) ;
}
if ( _has_bits_ [ 16 / 32 ] & 196608u ) {
cc_enable_arenas_ = false ;
optimize_for_ = 1 ;
}
optimize_for_ = 1 ;
_has_bits_ . Clear ( ) ;
_internal_metadata_ . Clear ( ) ;
}
@ -8593,6 +8600,20 @@ bool FileOptions::MergePartialFromCodedStream(
break ;
}
// optional bool php_generic_services = 19 [default = false];
case 19 : {
if ( static_cast < : : google : : protobuf : : uint8 > ( tag ) = =
static_cast < : : google : : protobuf : : uint8 > ( 152u ) ) {
set_has_php_generic_services ( ) ;
DO_ ( ( : : google : : protobuf : : internal : : WireFormatLite : : ReadPrimitive <
bool , : : google : : protobuf : : internal : : WireFormatLite : : TYPE_BOOL > (
input , & php_generic_services_ ) ) ) ;
} else {
goto handle_unusual ;
}
break ;
}
// optional bool java_generate_equals_and_hash = 20 [deprecated = true];
case 20 : {
if ( static_cast < : : google : : protobuf : : uint8 > ( tag ) = =
@ -8796,7 +8817,7 @@ void FileOptions::SerializeWithCachedSizes(
}
// optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
if ( cached_has_bits & 0x0001 0000u ) {
if ( cached_has_bits & 0x0002 0000u ) {
: : google : : protobuf : : internal : : WireFormatLite : : WriteEnum (
9 , this - > optimize_for ( ) , output ) ;
}
@ -8831,13 +8852,18 @@ void FileOptions::SerializeWithCachedSizes(
: : google : : protobuf : : internal : : WireFormatLite : : WriteBool ( 18 , this - > py_generic_services ( ) , output ) ;
}
// optional bool php_generic_services = 19 [default = false];
if ( cached_has_bits & 0x00004000u ) {
: : google : : protobuf : : internal : : WireFormatLite : : WriteBool ( 19 , this - > php_generic_services ( ) , output ) ;
}
// optional bool java_generate_equals_and_hash = 20 [deprecated = true];
if ( cached_has_bits & 0x00000200u ) {
: : google : : protobuf : : internal : : WireFormatLite : : WriteBool ( 20 , this - > java_generate_equals_and_hash ( ) , output ) ;
}
// optional bool deprecated = 23 [default = false];
if ( cached_has_bits & 0x00004 000u ) {
if ( cached_has_bits & 0x00008 000u ) {
: : google : : protobuf : : internal : : WireFormatLite : : WriteBool ( 23 , this - > deprecated ( ) , output ) ;
}
@ -8847,7 +8873,7 @@ void FileOptions::SerializeWithCachedSizes(
}
// optional bool cc_enable_arenas = 31 [default = false];
if ( cached_has_bits & 0x00008 000u ) {
if ( cached_has_bits & 0x0001 0000u ) {
: : google : : protobuf : : internal : : WireFormatLite : : WriteBool ( 31 , this - > cc_enable_arenas ( ) , output ) ;
}
@ -8949,7 +8975,7 @@ void FileOptions::SerializeWithCachedSizes(
}
// optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
if ( cached_has_bits & 0x0001 0000u ) {
if ( cached_has_bits & 0x0002 0000u ) {
target = : : google : : protobuf : : internal : : WireFormatLite : : WriteEnumToArray (
9 , this - > optimize_for ( ) , target ) ;
}
@ -8985,13 +9011,18 @@ void FileOptions::SerializeWithCachedSizes(
target = : : google : : protobuf : : internal : : WireFormatLite : : WriteBoolToArray ( 18 , this - > py_generic_services ( ) , target ) ;
}
// optional bool php_generic_services = 19 [default = false];
if ( cached_has_bits & 0x00004000u ) {
target = : : google : : protobuf : : internal : : WireFormatLite : : WriteBoolToArray ( 19 , this - > php_generic_services ( ) , target ) ;
}
// optional bool java_generate_equals_and_hash = 20 [deprecated = true];
if ( cached_has_bits & 0x00000200u ) {
target = : : google : : protobuf : : internal : : WireFormatLite : : WriteBoolToArray ( 20 , this - > java_generate_equals_and_hash ( ) , target ) ;
}
// optional bool deprecated = 23 [default = false];
if ( cached_has_bits & 0x00004 000u ) {
if ( cached_has_bits & 0x00008 000u ) {
target = : : google : : protobuf : : internal : : WireFormatLite : : WriteBoolToArray ( 23 , this - > deprecated ( ) , target ) ;
}
@ -9001,7 +9032,7 @@ void FileOptions::SerializeWithCachedSizes(
}
// optional bool cc_enable_arenas = 31 [default = false];
if ( cached_has_bits & 0x00008 000u ) {
if ( cached_has_bits & 0x0001 0000u ) {
target = : : google : : protobuf : : internal : : WireFormatLite : : WriteBoolToArray ( 31 , this - > cc_enable_arenas ( ) , target ) ;
}
@ -9191,23 +9222,30 @@ size_t FileOptions::ByteSizeLong() const {
total_size + = 2 + 1 ;
}
// optional bool php_generic_services = 19 [default = false];
if ( has_php_generic_services ( ) ) {
total_size + = 2 + 1 ;
}
// optional bool deprecated = 23 [default = false];
if ( has_deprecated ( ) ) {
total_size + = 2 + 1 ;
}
}
if ( _has_bits_ [ 16 / 32 ] & 196608u ) {
// optional bool cc_enable_arenas = 31 [default = false];
if ( has_cc_enable_arenas ( ) ) {
total_size + = 2 + 1 ;
}
}
// optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
if ( has_optimize_for ( ) ) {
total_size + = 1 +
: : google : : protobuf : : internal : : WireFormatLite : : EnumSize ( this - > optimize_for ( ) ) ;
}
// optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
if ( has_optimize_for ( ) ) {
total_size + = 1 +
: : google : : protobuf : : internal : : WireFormatLite : : EnumSize ( this - > optimize_for ( ) ) ;
}
}
int cached_size = : : google : : protobuf : : internal : : ToCachedSize ( total_size ) ;
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN ( ) ;
_cached_size_ = cached_size ;
@ -9294,15 +9332,21 @@ void FileOptions::MergeFrom(const FileOptions& from) {
py_generic_services_ = from . py_generic_services_ ;
}
if ( cached_has_bits & 0x00004000u ) {
deprecated _ = from . deprecated _;
php_generic_services _ = from . php_generic_services _;
}
if ( cached_has_bits & 0x00008000u ) {
cc_enable_arenas _ = from . cc_enable_arenas _;
deprecated _ = from . deprecated _;
}
_has_bits_ [ 0 ] | = cached_has_bits ;
}
if ( cached_has_bits & 0x00010000u ) {
set_optimize_for ( from . optimize_for ( ) ) ;
if ( cached_has_bits & 196608u ) {
if ( cached_has_bits & 0x00010000u ) {
cc_enable_arenas_ = from . cc_enable_arenas_ ;
}
if ( cached_has_bits & 0x00020000u ) {
optimize_for_ = from . optimize_for_ ;
}
_has_bits_ [ 0 ] | = cached_has_bits ;
}
}
@ -9349,6 +9393,7 @@ void FileOptions::InternalSwap(FileOptions* other) {
std : : swap ( cc_generic_services_ , other - > cc_generic_services_ ) ;
std : : swap ( java_generic_services_ , other - > java_generic_services_ ) ;
std : : swap ( py_generic_services_ , other - > py_generic_services_ ) ;
std : : swap ( php_generic_services_ , other - > php_generic_services_ ) ;
std : : swap ( deprecated_ , other - > deprecated_ ) ;
std : : swap ( cc_enable_arenas_ , other - > cc_enable_arenas_ ) ;
std : : swap ( optimize_for_ , other - > optimize_for_ ) ;
@ -9566,13 +9611,13 @@ void FileOptions::set_java_string_check_utf8(bool value) {
// optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
bool FileOptions : : has_optimize_for ( ) const {
return ( _has_bits_ [ 0 ] & 0x0001 0000u ) ! = 0 ;
return ( _has_bits_ [ 0 ] & 0x0002 0000u ) ! = 0 ;
}
void FileOptions : : set_has_optimize_for ( ) {
_has_bits_ [ 0 ] | = 0x0001 0000u ;
_has_bits_ [ 0 ] | = 0x0002 0000u ;
}
void FileOptions : : clear_has_optimize_for ( ) {
_has_bits_ [ 0 ] & = ~ 0x0001 0000u ;
_has_bits_ [ 0 ] & = ~ 0x0002 0000u ;
}
void FileOptions : : clear_optimize_for ( ) {
optimize_for_ = 1 ;
@ -9724,15 +9769,39 @@ void FileOptions::set_py_generic_services(bool value) {
// @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services)
}
// optional bool php_generic_services = 19 [default = false];
bool FileOptions : : has_php_generic_services ( ) const {
return ( _has_bits_ [ 0 ] & 0x00004000u ) ! = 0 ;
}
void FileOptions : : set_has_php_generic_services ( ) {
_has_bits_ [ 0 ] | = 0x00004000u ;
}
void FileOptions : : clear_has_php_generic_services ( ) {
_has_bits_ [ 0 ] & = ~ 0x00004000u ;
}
void FileOptions : : clear_php_generic_services ( ) {
php_generic_services_ = false ;
clear_has_php_generic_services ( ) ;
}
bool FileOptions : : php_generic_services ( ) const {
// @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_generic_services)
return php_generic_services_ ;
}
void FileOptions : : set_php_generic_services ( bool value ) {
set_has_php_generic_services ( ) ;
php_generic_services_ = value ;
// @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_generic_services)
}
// optional bool deprecated = 23 [default = false];
bool FileOptions : : has_deprecated ( ) const {
return ( _has_bits_ [ 0 ] & 0x00004000u ) ! = 0 ;
return ( _has_bits_ [ 0 ] & 0x00008 000u ) ! = 0 ;
}
void FileOptions : : set_has_deprecated ( ) {
_has_bits_ [ 0 ] | = 0x00004000u ;
_has_bits_ [ 0 ] | = 0x00008 000u ;
}
void FileOptions : : clear_has_deprecated ( ) {
_has_bits_ [ 0 ] & = ~ 0x00004000u ;
_has_bits_ [ 0 ] & = ~ 0x00008 000u ;
}
void FileOptions : : clear_deprecated ( ) {
deprecated_ = false ;
@ -9750,13 +9819,13 @@ void FileOptions::set_deprecated(bool value) {
// optional bool cc_enable_arenas = 31 [default = false];
bool FileOptions : : has_cc_enable_arenas ( ) const {
return ( _has_bits_ [ 0 ] & 0x00008 000u ) ! = 0 ;
return ( _has_bits_ [ 0 ] & 0x0001 0000u ) ! = 0 ;
}
void FileOptions : : set_has_cc_enable_arenas ( ) {
_has_bits_ [ 0 ] | = 0x00008 000u ;
_has_bits_ [ 0 ] | = 0x0001 0000u ;
}
void FileOptions : : clear_has_cc_enable_arenas ( ) {
_has_bits_ [ 0 ] & = ~ 0x00008 000u ;
_has_bits_ [ 0 ] & = ~ 0x0001 0000u ;
}
void FileOptions : : clear_cc_enable_arenas ( ) {
cc_enable_arenas_ = false ;