|
|
|
@ -1735,7 +1735,7 @@ FileDescriptorProto::FileDescriptorProto(const FileDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.name_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_name()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.name_.Set(from._internal_name(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -1743,7 +1743,7 @@ FileDescriptorProto::FileDescriptorProto(const FileDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.package_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_package()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
_this->_impl_.package_.Set(from._internal_package(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -1751,7 +1751,7 @@ FileDescriptorProto::FileDescriptorProto(const FileDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.syntax_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_syntax()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) { |
|
|
|
|
_this->_impl_.syntax_.Set(from._internal_syntax(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -1759,14 +1759,14 @@ FileDescriptorProto::FileDescriptorProto(const FileDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.edition_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_edition()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) { |
|
|
|
|
_this->_impl_.edition_.Set(from._internal_edition(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
|
if (from._internal_has_options()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000010u) != 0) { |
|
|
|
|
_this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::FileOptions(*from._impl_.options_); |
|
|
|
|
} |
|
|
|
|
if (from._internal_has_source_code_info()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000020u) != 0) { |
|
|
|
|
_this->_impl_.source_code_info_ = new ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo(*from._impl_.source_code_info_); |
|
|
|
|
} |
|
|
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.FileDescriptorProto)
|
|
|
|
@ -2391,7 +2391,7 @@ bool FileDescriptorProto::IsInitialized() const { |
|
|
|
|
return false; |
|
|
|
|
if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.extension_)) |
|
|
|
|
return false; |
|
|
|
|
if (_internal_has_options()) { |
|
|
|
|
if ((_impl_._has_bits_[0] & 0x00000010u) != 0) { |
|
|
|
|
if (!_impl_.options_->IsInitialized()) return false; |
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
@ -2480,7 +2480,7 @@ DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(const DescriptorP |
|
|
|
|
, decltype(_impl_.end_){}}; |
|
|
|
|
|
|
|
|
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
|
|
|
|
if (from._internal_has_options()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions(*from._impl_.options_); |
|
|
|
|
} |
|
|
|
|
::memcpy(&_impl_.start_, &from._impl_.start_, |
|
|
|
@ -2709,7 +2709,7 @@ void DescriptorProto_ExtensionRange::CopyFrom(const DescriptorProto_ExtensionRan |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool DescriptorProto_ExtensionRange::IsInitialized() const { |
|
|
|
|
if (_internal_has_options()) { |
|
|
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
if (!_impl_.options_->IsInitialized()) return false; |
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
@ -3017,11 +3017,11 @@ DescriptorProto::DescriptorProto(const DescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.name_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_name()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.name_.Set(from._internal_name(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
|
if (from._internal_has_options()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
_this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::MessageOptions(*from._impl_.options_); |
|
|
|
|
} |
|
|
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.DescriptorProto)
|
|
|
|
@ -3518,7 +3518,7 @@ bool DescriptorProto::IsInitialized() const { |
|
|
|
|
return false; |
|
|
|
|
if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.oneof_decl_)) |
|
|
|
|
return false; |
|
|
|
|
if (_internal_has_options()) { |
|
|
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
if (!_impl_.options_->IsInitialized()) return false; |
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
@ -3841,7 +3841,7 @@ FieldDescriptorProto::FieldDescriptorProto(const FieldDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.name_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_name()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.name_.Set(from._internal_name(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -3849,7 +3849,7 @@ FieldDescriptorProto::FieldDescriptorProto(const FieldDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.extendee_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_extendee()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
_this->_impl_.extendee_.Set(from._internal_extendee(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -3857,7 +3857,7 @@ FieldDescriptorProto::FieldDescriptorProto(const FieldDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.type_name_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_type_name()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) { |
|
|
|
|
_this->_impl_.type_name_.Set(from._internal_type_name(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -3865,7 +3865,7 @@ FieldDescriptorProto::FieldDescriptorProto(const FieldDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.default_value_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_default_value()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) { |
|
|
|
|
_this->_impl_.default_value_.Set(from._internal_default_value(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -3873,11 +3873,11 @@ FieldDescriptorProto::FieldDescriptorProto(const FieldDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.json_name_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_json_name()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000010u) != 0) { |
|
|
|
|
_this->_impl_.json_name_.Set(from._internal_json_name(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
|
if (from._internal_has_options()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000020u) != 0) { |
|
|
|
|
_this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::FieldOptions(*from._impl_.options_); |
|
|
|
|
} |
|
|
|
|
::memcpy(&_impl_.number_, &from._impl_.number_, |
|
|
|
@ -4415,7 +4415,7 @@ void FieldDescriptorProto::CopyFrom(const FieldDescriptorProto& from) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool FieldDescriptorProto::IsInitialized() const { |
|
|
|
|
if (_internal_has_options()) { |
|
|
|
|
if ((_impl_._has_bits_[0] & 0x00000020u) != 0) { |
|
|
|
|
if (!_impl_.options_->IsInitialized()) return false; |
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
@ -4501,11 +4501,11 @@ OneofDescriptorProto::OneofDescriptorProto(const OneofDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.name_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_name()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.name_.Set(from._internal_name(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
|
if (from._internal_has_options()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
_this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::OneofOptions(*from._impl_.options_); |
|
|
|
|
} |
|
|
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.OneofDescriptorProto)
|
|
|
|
@ -4719,7 +4719,7 @@ void OneofDescriptorProto::CopyFrom(const OneofDescriptorProto& from) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool OneofDescriptorProto::IsInitialized() const { |
|
|
|
|
if (_internal_has_options()) { |
|
|
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
if (!_impl_.options_->IsInitialized()) return false; |
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
@ -5023,11 +5023,11 @@ EnumDescriptorProto::EnumDescriptorProto(const EnumDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.name_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_name()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.name_.Set(from._internal_name(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
|
if (from._internal_has_options()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
_this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::EnumOptions(*from._impl_.options_); |
|
|
|
|
} |
|
|
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.EnumDescriptorProto)
|
|
|
|
@ -5349,7 +5349,7 @@ void EnumDescriptorProto::CopyFrom(const EnumDescriptorProto& from) { |
|
|
|
|
bool EnumDescriptorProto::IsInitialized() const { |
|
|
|
|
if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.value_)) |
|
|
|
|
return false; |
|
|
|
|
if (_internal_has_options()) { |
|
|
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
if (!_impl_.options_->IsInitialized()) return false; |
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
@ -5421,11 +5421,11 @@ EnumValueDescriptorProto::EnumValueDescriptorProto(const EnumValueDescriptorProt |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.name_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_name()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.name_.Set(from._internal_name(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
|
if (from._internal_has_options()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
_this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::EnumValueOptions(*from._impl_.options_); |
|
|
|
|
} |
|
|
|
|
_this->_impl_.number_ = from._impl_.number_; |
|
|
|
@ -5667,7 +5667,7 @@ void EnumValueDescriptorProto::CopyFrom(const EnumValueDescriptorProto& from) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool EnumValueDescriptorProto::IsInitialized() const { |
|
|
|
|
if (_internal_has_options()) { |
|
|
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
if (!_impl_.options_->IsInitialized()) return false; |
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
@ -5738,11 +5738,11 @@ ServiceDescriptorProto::ServiceDescriptorProto(const ServiceDescriptorProto& fro |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.name_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_name()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.name_.Set(from._internal_name(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
|
if (from._internal_has_options()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
_this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::ServiceOptions(*from._impl_.options_); |
|
|
|
|
} |
|
|
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.ServiceDescriptorProto)
|
|
|
|
@ -5991,7 +5991,7 @@ void ServiceDescriptorProto::CopyFrom(const ServiceDescriptorProto& from) { |
|
|
|
|
bool ServiceDescriptorProto::IsInitialized() const { |
|
|
|
|
if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.method_)) |
|
|
|
|
return false; |
|
|
|
|
if (_internal_has_options()) { |
|
|
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
if (!_impl_.options_->IsInitialized()) return false; |
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
@ -6073,7 +6073,7 @@ MethodDescriptorProto::MethodDescriptorProto(const MethodDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.name_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_name()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.name_.Set(from._internal_name(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -6081,7 +6081,7 @@ MethodDescriptorProto::MethodDescriptorProto(const MethodDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.input_type_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_input_type()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
_this->_impl_.input_type_.Set(from._internal_input_type(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -6089,11 +6089,11 @@ MethodDescriptorProto::MethodDescriptorProto(const MethodDescriptorProto& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.output_type_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_output_type()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) { |
|
|
|
|
_this->_impl_.output_type_.Set(from._internal_output_type(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
|
if (from._internal_has_options()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) { |
|
|
|
|
_this->_impl_.options_ = new ::PROTOBUF_NAMESPACE_ID::MethodOptions(*from._impl_.options_); |
|
|
|
|
} |
|
|
|
|
::memcpy(&_impl_.client_streaming_, &from._impl_.client_streaming_, |
|
|
|
@ -6448,7 +6448,7 @@ void MethodDescriptorProto::CopyFrom(const MethodDescriptorProto& from) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool MethodDescriptorProto::IsInitialized() const { |
|
|
|
|
if (_internal_has_options()) { |
|
|
|
|
if ((_impl_._has_bits_[0] & 0x00000008u) != 0) { |
|
|
|
|
if (!_impl_.options_->IsInitialized()) return false; |
|
|
|
|
} |
|
|
|
|
return true; |
|
|
|
@ -6596,7 +6596,7 @@ FileOptions::FileOptions(const FileOptions& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.java_package_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_java_package()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.java_package_.Set(from._internal_java_package(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -6604,7 +6604,7 @@ FileOptions::FileOptions(const FileOptions& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.java_outer_classname_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_java_outer_classname()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
_this->_impl_.java_outer_classname_.Set(from._internal_java_outer_classname(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -6612,7 +6612,7 @@ FileOptions::FileOptions(const FileOptions& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.go_package_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_go_package()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) { |
|
|
|
|
_this->_impl_.go_package_.Set(from._internal_go_package(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -6620,7 +6620,7 @@ FileOptions::FileOptions(const FileOptions& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.objc_class_prefix_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_objc_class_prefix()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) { |
|
|
|
|
_this->_impl_.objc_class_prefix_.Set(from._internal_objc_class_prefix(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -6628,7 +6628,7 @@ FileOptions::FileOptions(const FileOptions& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.csharp_namespace_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_csharp_namespace()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000010u) != 0) { |
|
|
|
|
_this->_impl_.csharp_namespace_.Set(from._internal_csharp_namespace(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -6636,7 +6636,7 @@ FileOptions::FileOptions(const FileOptions& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.swift_prefix_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_swift_prefix()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000020u) != 0) { |
|
|
|
|
_this->_impl_.swift_prefix_.Set(from._internal_swift_prefix(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -6644,7 +6644,7 @@ FileOptions::FileOptions(const FileOptions& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.php_class_prefix_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_php_class_prefix()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000040u) != 0) { |
|
|
|
|
_this->_impl_.php_class_prefix_.Set(from._internal_php_class_prefix(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -6652,7 +6652,7 @@ FileOptions::FileOptions(const FileOptions& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.php_namespace_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_php_namespace()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000080u) != 0) { |
|
|
|
|
_this->_impl_.php_namespace_.Set(from._internal_php_namespace(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -6660,7 +6660,7 @@ FileOptions::FileOptions(const FileOptions& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.php_metadata_namespace_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_php_metadata_namespace()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000100u) != 0) { |
|
|
|
|
_this->_impl_.php_metadata_namespace_.Set(from._internal_php_metadata_namespace(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -6668,7 +6668,7 @@ FileOptions::FileOptions(const FileOptions& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.ruby_package_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_ruby_package()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000200u) != 0) { |
|
|
|
|
_this->_impl_.ruby_package_.Set(from._internal_ruby_package(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -9183,7 +9183,7 @@ void EnumValueOptions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
_this->_impl_.uninterpreted_option_.MergeFrom(from._impl_.uninterpreted_option_); |
|
|
|
|
if (from._internal_has_deprecated()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_internal_set_deprecated(from._internal_deprecated()); |
|
|
|
|
} |
|
|
|
|
_this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_); |
|
|
|
@ -9440,7 +9440,7 @@ void ServiceOptions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const : |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
_this->_impl_.uninterpreted_option_.MergeFrom(from._impl_.uninterpreted_option_); |
|
|
|
|
if (from._internal_has_deprecated()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_internal_set_deprecated(from._internal_deprecated()); |
|
|
|
|
} |
|
|
|
|
_this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_); |
|
|
|
@ -9827,7 +9827,7 @@ UninterpretedOption_NamePart::UninterpretedOption_NamePart(const UninterpretedOp |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.name_part_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_name_part()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.name_part_.Set(from._internal_name_part(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -9975,14 +9975,14 @@ failure: |
|
|
|
|
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:google.protobuf.UninterpretedOption.NamePart)
|
|
|
|
|
::size_t total_size = 0; |
|
|
|
|
|
|
|
|
|
if (_internal_has_name_part()) { |
|
|
|
|
if ((_impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
// required string name_part = 1;
|
|
|
|
|
total_size += 1 + |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
|
this->_internal_name_part()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (_internal_has_is_extension()) { |
|
|
|
|
if ((_impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
// required bool is_extension = 2;
|
|
|
|
|
total_size += 1 + 1; |
|
|
|
|
} |
|
|
|
@ -10125,7 +10125,7 @@ UninterpretedOption::UninterpretedOption(const UninterpretedOption& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.identifier_value_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_identifier_value()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.identifier_value_.Set(from._internal_identifier_value(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -10133,7 +10133,7 @@ UninterpretedOption::UninterpretedOption(const UninterpretedOption& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.string_value_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_string_value()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
_this->_impl_.string_value_.Set(from._internal_string_value(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -10141,7 +10141,7 @@ UninterpretedOption::UninterpretedOption(const UninterpretedOption& from) |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.aggregate_value_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_aggregate_value()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) { |
|
|
|
|
_this->_impl_.aggregate_value_.Set(from._internal_aggregate_value(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -10595,7 +10595,7 @@ SourceCodeInfo_Location::SourceCodeInfo_Location(const SourceCodeInfo_Location& |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.leading_comments_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_leading_comments()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.leading_comments_.Set(from._internal_leading_comments(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -10603,7 +10603,7 @@ SourceCodeInfo_Location::SourceCodeInfo_Location(const SourceCodeInfo_Location& |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.trailing_comments_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_trailing_comments()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { |
|
|
|
|
_this->_impl_.trailing_comments_.Set(from._internal_trailing_comments(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
@ -11208,7 +11208,7 @@ GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(const GeneratedCodeIn |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.source_file_.Set("", GetArenaForAllocation()); |
|
|
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
|
|
|
if (from._internal_has_source_file()) { |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.source_file_.Set(from._internal_source_file(),
|
|
|
|
|
_this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
|