|
@@ -311,7 +311,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_[15] = {
|
|
|
+ static const int FileOptions_offsets_[16] = {
|
|
|
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_),
|
|
@@ -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, 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_ =
|
|
@@ -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"
|
|
|
"ons\030\004 \001(\0132\036.google.protobuf.MethodOption"
|
|
|
"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_"
|
|
|
"classname\030\010 \001(\t\022\"\n\023java_multiple_files\030\n"
|
|
|
" \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"
|
|
|
"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"
|
|
|
- "space\030% \001(\t\022C\n\024uninterpreted_option\030\347\007 \003"
|
|
|
- "(\0132$.google.protobuf.UninterpretedOption"
|
|
|
- "\":\n\014OptimizeMode\022\t\n\005SPEED\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\016Mess"
|
|
|
- "ageOptions\022&\n\027message_set_wire_format\030\001 "
|
|
|
- "\001(\010:\005false\022.\n\037no_standard_descriptor_acc"
|
|
|
- "essor\030\002 \001(\010:\005false\022\031\n\ndeprecated\030\003 \001(\010:\005"
|
|
|
- "false\022\021\n\tmap_entry\030\007 \001(\010\022C\n\024uninterprete"
|
|
|
- "d_option\030\347\007 \003(\0132$.google.protobuf.Uninte"
|
|
|
- "rpretedOption*\t\010\350\007\020\200\200\200\200\002\"\230\003\n\014FieldOption"
|
|
|
- "s\022:\n\005ctype\030\001 \001(\0162#.google.protobuf.Field"
|
|
|
- "Options.CType:\006STRING\022\016\n\006packed\030\002 \001(\010\022\?\n"
|
|
|
- "\006jstype\030\006 \001(\0162$.google.protobuf.FieldOpt"
|
|
|
- "ions.JSType:\tJS_NORMAL\022\023\n\004lazy\030\005 \001(\010:\005fa"
|
|
|
- "lse\022\031\n\ndeprecated\030\003 \001(\010:\005false\022\023\n\004weak\030\n"
|
|
|
- " \001(\010:\005false\022C\n\024uninterpreted_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\014STRIN"
|
|
|
- "G_PIECE\020\002\"5\n\006JSType\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\013"
|
|
|
- "EnumOptions\022\023\n\013allow_alias\030\002 \001(\010\022\031\n\ndepr"
|
|
|
- "ecated\030\003 \001(\010:\005false\022C\n\024uninterpreted_opt"
|
|
|
- "ion\030\347\007 \003(\0132$.google.protobuf.Uninterpret"
|
|
|
- "edOption*\t\010\350\007\020\200\200\200\200\002\"}\n\020EnumValueOptions\022"
|
|
|
- "\031\n\ndeprecated\030\001 \001(\010:\005false\022C\n\024uninterpre"
|
|
|
- "ted_option\030\347\007 \003(\0132$.google.protobuf.Unin"
|
|
|
- "terpretedOption*\t\010\350\007\020\200\200\200\200\002\"{\n\016ServiceOpt"
|
|
|
- "ions\022\031\n\ndeprecated\030! \001(\010:\005false\022C\n\024unint"
|
|
|
- "erpreted_option\030\347\007 \003(\0132$.google.protobuf"
|
|
|
- ".UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"z\n\rMetho"
|
|
|
- "dOptions\022\031\n\ndeprecated\030! \001(\010:\005false\022C\n\024u"
|
|
|
- "ninterpreted_option\030\347\007 \003(\0132$.google.prot"
|
|
|
- "obuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"\236\002\n\023"
|
|
|
- "UninterpretedOption\022;\n\004name\030\002 \003(\0132-.goog"
|
|
|
- "le.protobuf.UninterpretedOption.NamePart"
|
|
|
- "\022\030\n\020identifier_value\030\003 \001(\t\022\032\n\022positive_i"
|
|
|
- "nt_value\030\004 \001(\004\022\032\n\022negative_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\010NameP"
|
|
|
- "art\022\021\n\tname_part\030\001 \002(\t\022\024\n\014is_extension\030\002"
|
|
|
- " \002(\010\"\325\001\n\016SourceCodeInfo\022:\n\010location\030\001 \003("
|
|
|
- "\0132(.google.protobuf.SourceCodeInfo.Locat"
|
|
|
- "ion\032\206\001\n\010Location\022\020\n\004path\030\001 \003(\005B\002\020\001\022\020\n\004sp"
|
|
|
- "an\030\002 \003(\005B\002\020\001\022\030\n\020leading_comments\030\003 \001(\t\022\031"
|
|
|
- "\n\021trailing_comments\030\004 \001(\t\022!\n\031leading_det"
|
|
|
- "ached_comments\030\006 \003(\tBX\n\023com.google.proto"
|
|
|
- "bufB\020DescriptorProtosH\001Z\ndescriptor\242\002\003GP"
|
|
|
- "B\252\002\032Google.Protobuf.Reflection", 4950);
|
|
|
+ "space\030% \001(\t\022\'\n\037javanano_use_deprecated_p"
|
|
|
+ "ackage\030& \001(\010\022C\n\024uninterpreted_option\030\347\007 "
|
|
|
+ "\003(\0132$.google.protobuf.UninterpretedOptio"
|
|
|
+ "n\":\n\014OptimizeMode\022\t\n\005SPEED\020\001\022\r\n\tCODE_SIZ"
|
|
|
+ "E\020\002\022\020\n\014LITE_RUNTIME\020\003*\t\010\350\007\020\200\200\200\200\002\"\346\001\n\016Mes"
|
|
|
+ "sageOptions\022&\n\027message_set_wire_format\030\001"
|
|
|
+ " \001(\010:\005false\022.\n\037no_standard_descriptor_ac"
|
|
|
+ "cessor\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\024uninterpret"
|
|
|
+ "ed_option\030\347\007 \003(\0132$.google.protobuf.Unint"
|
|
|
+ "erpretedOption*\t\010\350\007\020\200\200\200\200\002\"\230\003\n\014FieldOptio"
|
|
|
+ "ns\022:\n\005ctype\030\001 \001(\0162#.google.protobuf.Fiel"
|
|
|
+ "dOptions.CType:\006STRING\022\016\n\006packed\030\002 \001(\010\022\?"
|
|
|
+ "\n\006jstype\030\006 \001(\0162$.google.protobuf.FieldOp"
|
|
|
+ "tions.JSType:\tJS_NORMAL\022\023\n\004lazy\030\005 \001(\010:\005f"
|
|
|
+ "alse\022\031\n\ndeprecated\030\003 \001(\010:\005false\022\023\n\004weak\030"
|
|
|
+ "\n \001(\010:\005false\022C\n\024uninterpreted_option\030\347\007 "
|
|
|
+ "\003(\0132$.google.protobuf.UninterpretedOptio"
|
|
|
+ "n\"/\n\005CType\022\n\n\006STRING\020\000\022\010\n\004CORD\020\001\022\020\n\014STRI"
|
|
|
+ "NG_PIECE\020\002\"5\n\006JSType\022\r\n\tJS_NORMAL\020\000\022\r\n\tJ"
|
|
|
+ "S_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\013allow_alias\030\002 \001(\010\022\031\n\ndep"
|
|
|
+ "recated\030\003 \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\"}\n\020EnumValueOptions"
|
|
|
+ "\022\031\n\ndeprecated\030\001 \001(\010:\005false\022C\n\024uninterpr"
|
|
|
+ "eted_option\030\347\007 \003(\0132$.google.protobuf.Uni"
|
|
|
+ "nterpretedOption*\t\010\350\007\020\200\200\200\200\002\"{\n\016ServiceOp"
|
|
|
+ "tions\022\031\n\ndeprecated\030! \001(\010:\005false\022C\n\024unin"
|
|
|
+ "terpreted_option\030\347\007 \003(\0132$.google.protobu"
|
|
|
+ "f.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"z\n\rMeth"
|
|
|
+ "odOptions\022\031\n\ndeprecated\030! \001(\010:\005false\022C\n\024"
|
|
|
+ "uninterpreted_option\030\347\007 \003(\0132$.google.pro"
|
|
|
+ "tobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"\236\002\n"
|
|
|
+ "\023UninterpretedOption\022;\n\004name\030\002 \003(\0132-.goo"
|
|
|
+ "gle.protobuf.UninterpretedOption.NamePar"
|
|
|
+ "t\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_value\030\006 \001(\001\022\024\n\014string_valu"
|
|
|
+ "e\030\007 \001(\014\022\027\n\017aggregate_value\030\010 \001(\t\0323\n\010Name"
|
|
|
+ "Part\022\021\n\tname_part\030\001 \002(\t\022\024\n\014is_extension\030"
|
|
|
+ "\002 \002(\010\"\325\001\n\016SourceCodeInfo\022:\n\010location\030\001 \003"
|
|
|
+ "(\0132(.google.protobuf.SourceCodeInfo.Loca"
|
|
|
+ "tion\032\206\001\n\010Location\022\020\n\004path\030\001 \003(\005B\002\020\001\022\020\n\004s"
|
|
|
+ "pan\030\002 \003(\005B\002\020\001\022\030\n\020leading_comments\030\003 \001(\t\022"
|
|
|
+ "\031\n\021trailing_comments\030\004 \001(\t\022!\n\031leading_de"
|
|
|
+ "tached_comments\030\006 \003(\tB[\n\023com.google.prot"
|
|
|
+ "obufB\020DescriptorProtosH\001Z\ndescriptor\242\002\003G"
|
|
|
+ "PB\252\002\032Google.Protobuf.Reflection\260\002\001", 4994);
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
"google/protobuf/descriptor.proto", &protobuf_RegisterTypes);
|
|
|
FileDescriptorSet::default_instance_ = new FileDescriptorSet();
|
|
@@ -7597,6 +7599,7 @@ 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 // !_MSC_VER
|
|
|
|
|
@@ -7634,6 +7637,7 @@ 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_));
|
|
|
}
|
|
|
|
|
@@ -7700,8 +7704,8 @@ void FileOptions::Clear() {
|
|
|
go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
}
|
|
|
}
|
|
|
- if (_has_bits_[8 / 32] & 16128u) {
|
|
|
- ZR_(java_generic_services_, cc_enable_arenas_);
|
|
|
+ if (_has_bits_[8 / 32] & 32512u) {
|
|
|
+ ZR_(java_generic_services_, javanano_use_deprecated_package_);
|
|
|
if (has_objc_class_prefix()) {
|
|
|
objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
}
|
|
@@ -7950,6 +7954,21 @@ 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;
|
|
|
}
|
|
@@ -8097,6 +8116,11 @@ 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(
|
|
@@ -8218,6 +8242,11 @@ 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::
|
|
@@ -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];
|
|
|
if (has_java_generic_services()) {
|
|
|
total_size += 2 + 1;
|
|
@@ -8324,6 +8353,11 @@ 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();
|
|
@@ -8411,6 +8445,9 @@ 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()) {
|
|
@@ -8456,6 +8493,7 @@ 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_);
|
|
@@ -8956,6 +8994,30 @@ 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();
|