Auto-generate files after cl/508124647

pull/11856/head
Protobuf Team Bot 2 years ago
parent 7be060b6c2
commit 17c6597dc7
  1. 78
      src/google/protobuf/any.pb.cc
  2. 86
      src/google/protobuf/any.pb.h
  3. 291
      src/google/protobuf/api.pb.cc
  4. 317
      src/google/protobuf/api.pb.h
  5. 4
      src/google/protobuf/duration.pb.cc
  6. 2
      src/google/protobuf/duration.pb.h
  7. 14
      src/google/protobuf/field_mask.pb.cc
  8. 37
      src/google/protobuf/field_mask.pb.h
  9. 41
      src/google/protobuf/source_context.pb.cc
  10. 45
      src/google/protobuf/source_context.pb.h
  11. 18
      src/google/protobuf/struct.pb.cc
  12. 50
      src/google/protobuf/struct.pb.h
  13. 4
      src/google/protobuf/timestamp.pb.cc
  14. 2
      src/google/protobuf/timestamp.pb.h
  15. 350
      src/google/protobuf/type.pb.cc
  16. 401
      src/google/protobuf/type.pb.h
  17. 92
      src/google/protobuf/wrappers.pb.cc
  18. 89
      src/google/protobuf/wrappers.pb.h

@ -25,8 +25,14 @@ namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal;
PROTOBUF_NAMESPACE_OPEN
PROTOBUF_CONSTEXPR Any::Any(
::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.type_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
/*decltype(_impl_.type_url_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.value_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_._cached_size_)*/{}
, /*decltype(_impl_._any_metadata_)*/{&_impl_.type_url_, &_impl_.value_}} {}
struct AnyDefaultTypeInternal {
@ -140,27 +146,27 @@ Any::Any(const Any& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
Any* const _this = this; (void)_this;
new (&_impl_) Impl_{
decltype(_impl_.type_url_){}
, decltype(_impl_.value_){}
decltype(_impl_.type_url_) {}
, decltype(_impl_.value_) {}
, /*decltype(_impl_._cached_size_)*/{}
, /*decltype(_impl_._any_metadata_)*/{&_impl_.type_url_, &_impl_.value_}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_impl_.type_url_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_type_url().empty()) {
_this->_impl_.type_url_.Set(from._internal_type_url(),
_this->GetArenaForAllocation());
_this->_impl_.type_url_.Set(from._internal_type_url(), _this->GetArenaForAllocation());
}
_impl_.value_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_value().empty()) {
_this->_impl_.value_.Set(from._internal_value(),
_this->GetArenaForAllocation());
_this->_impl_.value_.Set(from._internal_value(), _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:google.protobuf.Any)
}
@ -168,19 +174,21 @@ Any::Any(const Any& from)
inline void Any::SharedCtor(::_pb::Arena* arena) {
(void)arena;
new (&_impl_) Impl_{
decltype(_impl_.type_url_){}
, decltype(_impl_.value_){}
decltype(_impl_.type_url_) {}
, decltype(_impl_.value_) {}
, /*decltype(_impl_._cached_size_)*/{}
, /*decltype(_impl_._any_metadata_)*/{&_impl_.type_url_, &_impl_.value_}
};
_impl_.type_url_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.value_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Any::~Any() {
@ -272,18 +280,16 @@ failure:
// string type_url = 1;
if (!this->_internal_type_url().empty()) {
const std::string& _s = this->_internal_type_url();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_type_url().data(), static_cast<int>(this->_internal_type_url().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Any.type_url");
target = stream->WriteStringMaybeAliased(
1, this->_internal_type_url(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Any.type_url");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// bytes value = 2;
if (!this->_internal_value().empty()) {
target = stream->WriteBytesMaybeAliased(
2, this->_internal_value(), target);
const std::string& _s = this->_internal_value();
target = stream->WriteBytesMaybeAliased(2, _s, target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@ -304,16 +310,14 @@ failure:
// string type_url = 1;
if (!this->_internal_type_url().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_type_url());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_type_url());
}
// bytes value = 2;
if (!this->_internal_value().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
this->_internal_value());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
this->_internal_value());
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
@ -359,14 +363,10 @@ void Any::InternalSwap(Any* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.type_url_, lhs_arena,
&other->_impl_.type_url_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.value_, lhs_arena,
&other->_impl_.value_, rhs_arena
);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.type_url_, lhs_arena,
&other->_impl_.type_url_, rhs_arena);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, lhs_arena,
&other->_impl_.value_, rhs_arena);
}
::PROTOBUF_NAMESPACE_ID::Metadata Any::GetMetadata() const {

@ -226,28 +226,42 @@ class PROTOBUF_EXPORT Any final :
// string type_url = 1;
void clear_type_url() ;
const std::string& type_url() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_type_url(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_type_url(Arg_&& arg, Args_... args);
std::string* mutable_type_url();
PROTOBUF_NODISCARD std::string* release_type_url();
void set_allocated_type_url(std::string* type_url);
void set_allocated_type_url(std::string* ptr);
private:
const std::string& _internal_type_url() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_url(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_url(
const std::string& value);
std::string* _internal_mutable_type_url();
public:
// bytes value = 2;
void clear_value() ;
const std::string& value() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_value(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_value(Arg_&& arg, Args_... args);
std::string* mutable_value();
PROTOBUF_NODISCARD std::string* release_value();
void set_allocated_value(std::string* value);
void set_allocated_value(std::string* ptr);
private:
const std::string& _internal_value() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(
const std::string& value);
std::string* _internal_mutable_value();
public:
// @@protoc_insertion_point(class_scope:google.protobuf.Any)
private:
@ -290,11 +304,11 @@ inline const std::string& Any::type_url() const {
// @@protoc_insertion_point(field_get:google.protobuf.Any.type_url)
return _internal_type_url();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Any::set_type_url(ArgT0&& arg0, ArgT... args) {
_impl_.type_url_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Any::set_type_url(Arg_&& arg,
Args_... args) {
;
_impl_.type_url_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Any.type_url)
}
inline std::string* Any::mutable_type_url() {
@ -306,24 +320,26 @@ inline const std::string& Any::_internal_type_url() const {
return _impl_.type_url_.Get();
}
inline void Any::_internal_set_type_url(const std::string& value) {
;
_impl_.type_url_.Set(value, GetArenaForAllocation());
}
inline std::string* Any::_internal_mutable_type_url() {
return _impl_.type_url_.Mutable(GetArenaForAllocation());
;
return _impl_.type_url_.Mutable( GetArenaForAllocation());
}
inline std::string* Any::release_type_url() {
// @@protoc_insertion_point(field_release:google.protobuf.Any.type_url)
return _impl_.type_url_.Release();
}
inline void Any::set_allocated_type_url(std::string* type_url) {
_impl_.type_url_.SetAllocated(type_url, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.type_url_.IsDefault()) {
_impl_.type_url_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Any::set_allocated_type_url(std::string* value) {
_impl_.type_url_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.type_url_.IsDefault()) {
_impl_.type_url_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Any.type_url)
}
@ -335,11 +351,11 @@ inline const std::string& Any::value() const {
// @@protoc_insertion_point(field_get:google.protobuf.Any.value)
return _internal_value();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Any::set_value(ArgT0&& arg0, ArgT... args) {
_impl_.value_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Any::set_value(Arg_&& arg,
Args_... args) {
;
_impl_.value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Any.value)
}
inline std::string* Any::mutable_value() {
@ -351,12 +367,14 @@ inline const std::string& Any::_internal_value() const {
return _impl_.value_.Get();
}
inline void Any::_internal_set_value(const std::string& value) {
;
_impl_.value_.Set(value, GetArenaForAllocation());
}
inline std::string* Any::_internal_mutable_value() {
return _impl_.value_.Mutable(GetArenaForAllocation());
;
return _impl_.value_.Mutable( GetArenaForAllocation());
}
inline std::string* Any::release_value() {
// @@protoc_insertion_point(field_release:google.protobuf.Any.value)
@ -364,11 +382,11 @@ inline std::string* Any::release_value() {
}
inline void Any::set_allocated_value(std::string* value) {
_impl_.value_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.value_.IsDefault()) {
_impl_.value_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.value_.IsDefault()) {
_impl_.value_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Any.value)
}

@ -24,8 +24,14 @@ PROTOBUF_CONSTEXPR Api::Api(
/*decltype(_impl_.methods_)*/{}
, /*decltype(_impl_.options_)*/{}
, /*decltype(_impl_.mixins_)*/{}
, /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.version_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.name_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.version_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.source_context_)*/nullptr
, /*decltype(_impl_.syntax_)*/0
, /*decltype(_impl_._cached_size_)*/{}} {}
@ -42,12 +48,21 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_CONSTEXPR Method::Method(
::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.options_)*/{}
, /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.request_type_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.response_type_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /* ._impl_.request_streaming_ = */ false
, /*decltype(_impl_.name_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.request_type_url_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.response_type_url_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /* ._impl_.response_streaming_ = */ false
, /*decltype(_impl_.request_streaming_)*/ false
, /*decltype(_impl_.response_streaming_)*/ false
, /*decltype(_impl_.syntax_)*/0
, /*decltype(_impl_._cached_size_)*/{}} {}
@ -63,8 +78,14 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MethodDefaultTypeInternal _Method_default_instance_;
PROTOBUF_CONSTEXPR Mixin::Mixin(
::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.root_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
/*decltype(_impl_.name_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.root_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_._cached_size_)*/{}} {}
struct MixinDefaultTypeInternal {
PROTOBUF_CONSTEXPR MixinDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
@ -233,8 +254,10 @@ Api::Api(const Api& from)
decltype(_impl_.methods_){from._impl_.methods_}
, decltype(_impl_.options_){from._impl_.options_}
, decltype(_impl_.mixins_){from._impl_.mixins_}
, decltype(_impl_.name_){}
, decltype(_impl_.version_){}
, decltype(_impl_.name_) {}
, decltype(_impl_.version_) {}
, decltype(_impl_.source_context_){nullptr}
, decltype(_impl_.syntax_){}
, /*decltype(_impl_._cached_size_)*/{}};
@ -242,19 +265,17 @@ Api::Api(const Api& from)
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_name().empty()) {
_this->_impl_.name_.Set(from._internal_name(),
_this->GetArenaForAllocation());
_this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
}
_impl_.version_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.version_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.version_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_version().empty()) {
_this->_impl_.version_.Set(from._internal_version(),
_this->GetArenaForAllocation());
_this->_impl_.version_.Set(from._internal_version(), _this->GetArenaForAllocation());
}
if (from._internal_has_source_context()) {
_this->_impl_.source_context_ = new ::PROTOBUF_NAMESPACE_ID::SourceContext(*from._impl_.source_context_);
@ -269,20 +290,22 @@ inline void Api::SharedCtor(::_pb::Arena* arena) {
decltype(_impl_.methods_){arena}
, decltype(_impl_.options_){arena}
, decltype(_impl_.mixins_){arena}
, decltype(_impl_.name_){}
, decltype(_impl_.version_){}
, decltype(_impl_.name_) {}
, decltype(_impl_.version_) {}
, decltype(_impl_.source_context_){nullptr}
, decltype(_impl_.syntax_){0}
, /*decltype(_impl_._cached_size_)*/{}
};
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.version_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.version_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.version_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Api::~Api() {
@ -447,12 +470,10 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
const std::string& _s = this->_internal_name();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Api.name");
target = stream->WriteStringMaybeAliased(
1, this->_internal_name(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// repeated .google.protobuf.Method methods = 2;
@ -473,12 +494,10 @@ failure:
// string version = 4;
if (!this->_internal_version().empty()) {
const std::string& _s = this->_internal_version();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_version().data(), static_cast<int>(this->_internal_version().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Api.version");
target = stream->WriteStringMaybeAliased(
4, this->_internal_version(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.version");
target = stream->WriteStringMaybeAliased(4, _s, target);
}
// .google.protobuf.SourceContext source_context = 5;
@ -542,16 +561,14 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// string version = 4;
if (!this->_internal_version().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_version());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_version());
}
// .google.protobuf.SourceContext source_context = 5;
@ -623,14 +640,10 @@ void Api::InternalSwap(Api* other) {
_impl_.methods_.InternalSwap(&other->_impl_.methods_);
_impl_.options_.InternalSwap(&other->_impl_.options_);
_impl_.mixins_.InternalSwap(&other->_impl_.mixins_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.version_, lhs_arena,
&other->_impl_.version_, rhs_arena
);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.version_, lhs_arena,
&other->_impl_.version_, rhs_arena);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
PROTOBUF_FIELD_OFFSET(Api, _impl_.syntax_)
+ sizeof(Api::_impl_.syntax_)
@ -663,9 +676,12 @@ Method::Method(const Method& from)
Method* const _this = this; (void)_this;
new (&_impl_) Impl_{
decltype(_impl_.options_){from._impl_.options_}
, decltype(_impl_.name_){}
, decltype(_impl_.request_type_url_){}
, decltype(_impl_.response_type_url_){}
, decltype(_impl_.name_) {}
, decltype(_impl_.request_type_url_) {}
, decltype(_impl_.response_type_url_) {}
, decltype(_impl_.request_streaming_) {}
, decltype(_impl_.response_streaming_) {}
@ -676,27 +692,24 @@ Method::Method(const Method& from)
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_name().empty()) {
_this->_impl_.name_.Set(from._internal_name(),
_this->GetArenaForAllocation());
_this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
}
_impl_.request_type_url_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.request_type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.request_type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_request_type_url().empty()) {
_this->_impl_.request_type_url_.Set(from._internal_request_type_url(),
_this->GetArenaForAllocation());
_this->_impl_.request_type_url_.Set(from._internal_request_type_url(), _this->GetArenaForAllocation());
}
_impl_.response_type_url_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.response_type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.response_type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_response_type_url().empty()) {
_this->_impl_.response_type_url_.Set(from._internal_response_type_url(),
_this->GetArenaForAllocation());
_this->_impl_.response_type_url_.Set(from._internal_response_type_url(), _this->GetArenaForAllocation());
}
::memcpy(&_impl_.request_streaming_, &from._impl_.request_streaming_,
static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.syntax_) -
@ -708,9 +721,12 @@ inline void Method::SharedCtor(::_pb::Arena* arena) {
(void)arena;
new (&_impl_) Impl_{
decltype(_impl_.options_){arena}
, decltype(_impl_.name_){}
, decltype(_impl_.request_type_url_){}
, decltype(_impl_.response_type_url_){}
, decltype(_impl_.name_) {}
, decltype(_impl_.request_type_url_) {}
, decltype(_impl_.response_type_url_) {}
, decltype(_impl_.request_streaming_) { false }
, decltype(_impl_.response_streaming_) { false }
@ -720,16 +736,16 @@ inline void Method::SharedCtor(::_pb::Arena* arena) {
};
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.request_type_url_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.request_type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.request_type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.response_type_url_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.response_type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.response_type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Method::~Method() {
@ -881,22 +897,18 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
const std::string& _s = this->_internal_name();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Method.name");
target = stream->WriteStringMaybeAliased(
1, this->_internal_name(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// string request_type_url = 2;
if (!this->_internal_request_type_url().empty()) {
const std::string& _s = this->_internal_request_type_url();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_request_type_url().data(), static_cast<int>(this->_internal_request_type_url().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Method.request_type_url");
target = stream->WriteStringMaybeAliased(
2, this->_internal_request_type_url(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.request_type_url");
target = stream->WriteStringMaybeAliased(2, _s, target);
}
// bool request_streaming = 3;
@ -908,12 +920,10 @@ failure:
// string response_type_url = 4;
if (!this->_internal_response_type_url().empty()) {
const std::string& _s = this->_internal_response_type_url();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_response_type_url().data(), static_cast<int>(this->_internal_response_type_url().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Method.response_type_url");
target = stream->WriteStringMaybeAliased(
4, this->_internal_response_type_url(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.response_type_url");
target = stream->WriteStringMaybeAliased(4, _s, target);
}
// bool response_streaming = 5;
@ -963,23 +973,20 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// string request_type_url = 2;
if (!this->_internal_request_type_url().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_request_type_url());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_request_type_url());
}
// string response_type_url = 4;
if (!this->_internal_response_type_url().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_response_type_url());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_response_type_url());
}
// bool request_streaming = 3;
@ -1055,18 +1062,12 @@ void Method::InternalSwap(Method* other) {
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
_impl_.options_.InternalSwap(&other->_impl_.options_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.request_type_url_, lhs_arena,
&other->_impl_.request_type_url_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.response_type_url_, lhs_arena,
&other->_impl_.response_type_url_, rhs_arena
);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.request_type_url_, lhs_arena,
&other->_impl_.request_type_url_, rhs_arena);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.response_type_url_, lhs_arena,
&other->_impl_.response_type_url_, rhs_arena);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
PROTOBUF_FIELD_OFFSET(Method, _impl_.syntax_)
+ sizeof(Method::_impl_.syntax_)
@ -1095,26 +1096,26 @@ Mixin::Mixin(const Mixin& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
Mixin* const _this = this; (void)_this;
new (&_impl_) Impl_{
decltype(_impl_.name_){}
, decltype(_impl_.root_){}
decltype(_impl_.name_) {}
, decltype(_impl_.root_) {}
, /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_name().empty()) {
_this->_impl_.name_.Set(from._internal_name(),
_this->GetArenaForAllocation());
_this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
}
_impl_.root_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.root_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.root_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_root().empty()) {
_this->_impl_.root_.Set(from._internal_root(),
_this->GetArenaForAllocation());
_this->_impl_.root_.Set(from._internal_root(), _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:google.protobuf.Mixin)
}
@ -1122,18 +1123,20 @@ Mixin::Mixin(const Mixin& from)
inline void Mixin::SharedCtor(::_pb::Arena* arena) {
(void)arena;
new (&_impl_) Impl_{
decltype(_impl_.name_){}
, decltype(_impl_.root_){}
decltype(_impl_.name_) {}
, decltype(_impl_.root_) {}
, /*decltype(_impl_._cached_size_)*/{}
};
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.root_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.root_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.root_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Mixin::~Mixin() {
@ -1225,22 +1228,18 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
const std::string& _s = this->_internal_name();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Mixin.name");
target = stream->WriteStringMaybeAliased(
1, this->_internal_name(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// string root = 2;
if (!this->_internal_root().empty()) {
const std::string& _s = this->_internal_root();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_root().data(), static_cast<int>(this->_internal_root().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Mixin.root");
target = stream->WriteStringMaybeAliased(
2, this->_internal_root(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.root");
target = stream->WriteStringMaybeAliased(2, _s, target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@ -1261,16 +1260,14 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// string root = 2;
if (!this->_internal_root().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_root());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_root());
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
@ -1316,14 +1313,10 @@ void Mixin::InternalSwap(Mixin* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.root_, lhs_arena,
&other->_impl_.root_, rhs_arena
);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.root_, lhs_arena,
&other->_impl_.root_, rhs_arena);
}
::PROTOBUF_NAMESPACE_ID::Metadata Mixin::GetMetadata() const {

@ -262,28 +262,42 @@ class PROTOBUF_EXPORT Api final :
// string name = 1;
void clear_name() ;
const std::string& name() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_name(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
std::string* mutable_name();
PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* name);
void set_allocated_name(std::string* ptr);
private:
const std::string& _internal_name() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
const std::string& value);
std::string* _internal_mutable_name();
public:
// string version = 4;
void clear_version() ;
const std::string& version() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_version(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_version(Arg_&& arg, Args_... args);
std::string* mutable_version();
PROTOBUF_NODISCARD std::string* release_version();
void set_allocated_version(std::string* version);
void set_allocated_version(std::string* ptr);
private:
const std::string& _internal_version() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(
const std::string& value);
std::string* _internal_mutable_version();
public:
// .google.protobuf.SourceContext source_context = 5;
bool has_source_context() const;
@ -481,41 +495,62 @@ class PROTOBUF_EXPORT Method final :
// string name = 1;
void clear_name() ;
const std::string& name() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_name(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
std::string* mutable_name();
PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* name);
void set_allocated_name(std::string* ptr);
private:
const std::string& _internal_name() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
const std::string& value);
std::string* _internal_mutable_name();
public:
// string request_type_url = 2;
void clear_request_type_url() ;
const std::string& request_type_url() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_request_type_url(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_request_type_url(Arg_&& arg, Args_... args);
std::string* mutable_request_type_url();
PROTOBUF_NODISCARD std::string* release_request_type_url();
void set_allocated_request_type_url(std::string* request_type_url);
void set_allocated_request_type_url(std::string* ptr);
private:
const std::string& _internal_request_type_url() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_type_url(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_type_url(
const std::string& value);
std::string* _internal_mutable_request_type_url();
public:
// string response_type_url = 4;
void clear_response_type_url() ;
const std::string& response_type_url() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_response_type_url(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_response_type_url(Arg_&& arg, Args_... args);
std::string* mutable_response_type_url();
PROTOBUF_NODISCARD std::string* release_response_type_url();
void set_allocated_response_type_url(std::string* response_type_url);
void set_allocated_response_type_url(std::string* ptr);
private:
const std::string& _internal_response_type_url() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_response_type_url(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_response_type_url(
const std::string& value);
std::string* _internal_mutable_response_type_url();
public:
// bool request_streaming = 3;
void clear_request_streaming() ;
@ -692,28 +727,42 @@ class PROTOBUF_EXPORT Mixin final :
// string name = 1;
void clear_name() ;
const std::string& name() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_name(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
std::string* mutable_name();
PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* name);
void set_allocated_name(std::string* ptr);
private:
const std::string& _internal_name() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
const std::string& value);
std::string* _internal_mutable_name();
public:
// string root = 2;
void clear_root() ;
const std::string& root() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_root(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_root(Arg_&& arg, Args_... args);
std::string* mutable_root();
PROTOBUF_NODISCARD std::string* release_root();
void set_allocated_root(std::string* root);
void set_allocated_root(std::string* ptr);
private:
const std::string& _internal_root() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_root(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_root(
const std::string& value);
std::string* _internal_mutable_root();
public:
// @@protoc_insertion_point(class_scope:google.protobuf.Mixin)
private:
@ -755,11 +804,11 @@ inline const std::string& Api::name() const {
// @@protoc_insertion_point(field_get:google.protobuf.Api.name)
return _internal_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Api::set_name(ArgT0&& arg0, ArgT... args) {
_impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Api::set_name(Arg_&& arg,
Args_... args) {
;
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Api.name)
}
inline std::string* Api::mutable_name() {
@ -771,24 +820,26 @@ inline const std::string& Api::_internal_name() const {
return _impl_.name_.Get();
}
inline void Api::_internal_set_name(const std::string& value) {
;
_impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* Api::_internal_mutable_name() {
return _impl_.name_.Mutable(GetArenaForAllocation());
;
return _impl_.name_.Mutable( GetArenaForAllocation());
}
inline std::string* Api::release_name() {
// @@protoc_insertion_point(field_release:google.protobuf.Api.name)
return _impl_.name_.Release();
}
inline void Api::set_allocated_name(std::string* name) {
_impl_.name_.SetAllocated(name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Api::set_allocated_name(std::string* value) {
_impl_.name_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.name)
}
@ -877,11 +928,11 @@ inline const std::string& Api::version() const {
// @@protoc_insertion_point(field_get:google.protobuf.Api.version)
return _internal_version();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Api::set_version(ArgT0&& arg0, ArgT... args) {
_impl_.version_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Api::set_version(Arg_&& arg,
Args_... args) {
;
_impl_.version_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Api.version)
}
inline std::string* Api::mutable_version() {
@ -893,24 +944,26 @@ inline const std::string& Api::_internal_version() const {
return _impl_.version_.Get();
}
inline void Api::_internal_set_version(const std::string& value) {
;
_impl_.version_.Set(value, GetArenaForAllocation());
}
inline std::string* Api::_internal_mutable_version() {
return _impl_.version_.Mutable(GetArenaForAllocation());
;
return _impl_.version_.Mutable( GetArenaForAllocation());
}
inline std::string* Api::release_version() {
// @@protoc_insertion_point(field_release:google.protobuf.Api.version)
return _impl_.version_.Release();
}
inline void Api::set_allocated_version(std::string* version) {
_impl_.version_.SetAllocated(version, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.version_.IsDefault()) {
_impl_.version_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Api::set_allocated_version(std::string* value) {
_impl_.version_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.version_.IsDefault()) {
_impl_.version_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.version)
}
@ -1066,11 +1119,11 @@ inline const std::string& Method::name() const {
// @@protoc_insertion_point(field_get:google.protobuf.Method.name)
return _internal_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Method::set_name(ArgT0&& arg0, ArgT... args) {
_impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Method::set_name(Arg_&& arg,
Args_... args) {
;
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Method.name)
}
inline std::string* Method::mutable_name() {
@ -1082,24 +1135,26 @@ inline const std::string& Method::_internal_name() const {
return _impl_.name_.Get();
}
inline void Method::_internal_set_name(const std::string& value) {
;
_impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* Method::_internal_mutable_name() {
return _impl_.name_.Mutable(GetArenaForAllocation());
;
return _impl_.name_.Mutable( GetArenaForAllocation());
}
inline std::string* Method::release_name() {
// @@protoc_insertion_point(field_release:google.protobuf.Method.name)
return _impl_.name_.Release();
}
inline void Method::set_allocated_name(std::string* name) {
_impl_.name_.SetAllocated(name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Method::set_allocated_name(std::string* value) {
_impl_.name_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.name)
}
@ -1111,11 +1166,11 @@ inline const std::string& Method::request_type_url() const {
// @@protoc_insertion_point(field_get:google.protobuf.Method.request_type_url)
return _internal_request_type_url();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Method::set_request_type_url(ArgT0&& arg0, ArgT... args) {
_impl_.request_type_url_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Method::set_request_type_url(Arg_&& arg,
Args_... args) {
;
_impl_.request_type_url_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Method.request_type_url)
}
inline std::string* Method::mutable_request_type_url() {
@ -1127,24 +1182,26 @@ inline const std::string& Method::_internal_request_type_url() const {
return _impl_.request_type_url_.Get();
}
inline void Method::_internal_set_request_type_url(const std::string& value) {
;
_impl_.request_type_url_.Set(value, GetArenaForAllocation());
}
inline std::string* Method::_internal_mutable_request_type_url() {
return _impl_.request_type_url_.Mutable(GetArenaForAllocation());
;
return _impl_.request_type_url_.Mutable( GetArenaForAllocation());
}
inline std::string* Method::release_request_type_url() {
// @@protoc_insertion_point(field_release:google.protobuf.Method.request_type_url)
return _impl_.request_type_url_.Release();
}
inline void Method::set_allocated_request_type_url(std::string* request_type_url) {
_impl_.request_type_url_.SetAllocated(request_type_url, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.request_type_url_.IsDefault()) {
_impl_.request_type_url_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Method::set_allocated_request_type_url(std::string* value) {
_impl_.request_type_url_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.request_type_url_.IsDefault()) {
_impl_.request_type_url_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.request_type_url)
}
@ -1157,7 +1214,6 @@ inline bool Method::request_streaming() const {
return _internal_request_streaming();
}
inline void Method::set_request_streaming(bool value) {
;
_internal_set_request_streaming(value);
// @@protoc_insertion_point(field_set:google.protobuf.Method.request_streaming)
}
@ -1177,11 +1233,11 @@ inline const std::string& Method::response_type_url() const {
// @@protoc_insertion_point(field_get:google.protobuf.Method.response_type_url)
return _internal_response_type_url();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Method::set_response_type_url(ArgT0&& arg0, ArgT... args) {
_impl_.response_type_url_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Method::set_response_type_url(Arg_&& arg,
Args_... args) {
;
_impl_.response_type_url_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Method.response_type_url)
}
inline std::string* Method::mutable_response_type_url() {
@ -1193,24 +1249,26 @@ inline const std::string& Method::_internal_response_type_url() const {
return _impl_.response_type_url_.Get();
}
inline void Method::_internal_set_response_type_url(const std::string& value) {
;
_impl_.response_type_url_.Set(value, GetArenaForAllocation());
}
inline std::string* Method::_internal_mutable_response_type_url() {
return _impl_.response_type_url_.Mutable(GetArenaForAllocation());
;
return _impl_.response_type_url_.Mutable( GetArenaForAllocation());
}
inline std::string* Method::release_response_type_url() {
// @@protoc_insertion_point(field_release:google.protobuf.Method.response_type_url)
return _impl_.response_type_url_.Release();
}
inline void Method::set_allocated_response_type_url(std::string* response_type_url) {
_impl_.response_type_url_.SetAllocated(response_type_url, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.response_type_url_.IsDefault()) {
_impl_.response_type_url_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Method::set_allocated_response_type_url(std::string* value) {
_impl_.response_type_url_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.response_type_url_.IsDefault()) {
_impl_.response_type_url_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.response_type_url)
}
@ -1223,7 +1281,6 @@ inline bool Method::response_streaming() const {
return _internal_response_streaming();
}
inline void Method::set_response_streaming(bool value) {
;
_internal_set_response_streaming(value);
// @@protoc_insertion_point(field_set:google.protobuf.Method.response_streaming)
}
@ -1304,11 +1361,11 @@ inline const std::string& Mixin::name() const {
// @@protoc_insertion_point(field_get:google.protobuf.Mixin.name)
return _internal_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Mixin::set_name(ArgT0&& arg0, ArgT... args) {
_impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Mixin::set_name(Arg_&& arg,
Args_... args) {
;
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Mixin.name)
}
inline std::string* Mixin::mutable_name() {
@ -1320,24 +1377,26 @@ inline const std::string& Mixin::_internal_name() const {
return _impl_.name_.Get();
}
inline void Mixin::_internal_set_name(const std::string& value) {
;
_impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* Mixin::_internal_mutable_name() {
return _impl_.name_.Mutable(GetArenaForAllocation());
;
return _impl_.name_.Mutable( GetArenaForAllocation());
}
inline std::string* Mixin::release_name() {
// @@protoc_insertion_point(field_release:google.protobuf.Mixin.name)
return _impl_.name_.Release();
}
inline void Mixin::set_allocated_name(std::string* name) {
_impl_.name_.SetAllocated(name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Mixin::set_allocated_name(std::string* value) {
_impl_.name_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.name)
}
@ -1349,11 +1408,11 @@ inline const std::string& Mixin::root() const {
// @@protoc_insertion_point(field_get:google.protobuf.Mixin.root)
return _internal_root();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Mixin::set_root(ArgT0&& arg0, ArgT... args) {
_impl_.root_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Mixin::set_root(Arg_&& arg,
Args_... args) {
;
_impl_.root_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Mixin.root)
}
inline std::string* Mixin::mutable_root() {
@ -1365,24 +1424,26 @@ inline const std::string& Mixin::_internal_root() const {
return _impl_.root_.Get();
}
inline void Mixin::_internal_set_root(const std::string& value) {
;
_impl_.root_.Set(value, GetArenaForAllocation());
}
inline std::string* Mixin::_internal_mutable_root() {
return _impl_.root_.Mutable(GetArenaForAllocation());
;
return _impl_.root_.Mutable( GetArenaForAllocation());
}
inline std::string* Mixin::release_root() {
// @@protoc_insertion_point(field_release:google.protobuf.Mixin.root)
return _impl_.root_.Release();
}
inline void Mixin::set_allocated_root(std::string* root) {
_impl_.root_.SetAllocated(root, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.root_.IsDefault()) {
_impl_.root_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Mixin::set_allocated_root(std::string* value) {
_impl_.root_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.root_.IsDefault()) {
_impl_.root_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.root)
}

@ -21,9 +21,9 @@ namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal;
PROTOBUF_NAMESPACE_OPEN
PROTOBUF_CONSTEXPR Duration::Duration(
::_pbi::ConstantInitialized): _impl_{
/* ._impl_.seconds_ = */ ::int64_t{0}
/*decltype(_impl_.seconds_)*/ ::int64_t{0}
, /* ._impl_.nanos_ = */ 0
, /*decltype(_impl_.nanos_)*/ 0
, /*decltype(_impl_._cached_size_)*/{}} {}
struct DurationDefaultTypeInternal {

@ -249,7 +249,6 @@ inline ::int64_t Duration::seconds() const {
return _internal_seconds();
}
inline void Duration::set_seconds(::int64_t value) {
;
_internal_set_seconds(value);
// @@protoc_insertion_point(field_set:google.protobuf.Duration.seconds)
}
@ -270,7 +269,6 @@ inline ::int32_t Duration::nanos() const {
return _internal_nanos();
}
inline void Duration::set_nanos(::int32_t value) {
;
_internal_set_nanos(value);
// @@protoc_insertion_point(field_set:google.protobuf.Duration.nanos)
}

@ -215,12 +215,10 @@ failure:
(void) cached_has_bits;
// repeated string paths = 1;
for (int i = 0, n = this->_internal_paths_size(); i < n; i++) {
for (int i = 0, n = this->_internal_paths_size(); i < n; ++i) {
const auto& s = this->_internal_paths(i);
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
s.data(), static_cast<int>(s.length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.FieldMask.paths");
s.data(), static_cast<int>(s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.FieldMask.paths");
target = stream->WriteString(1, s, target);
}
@ -241,11 +239,9 @@ failure:
(void) cached_has_bits;
// repeated string paths = 1;
total_size += 1 *
::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.paths_.size());
for (int i = 0, n = _impl_.paths_.size(); i < n; i++) {
total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
_impl_.paths_.Get(i));
total_size += 1 * ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.paths_.size());
for (int i = 0, n = _impl_.paths_.size(); i < n; ++i) {
total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(_impl_.paths_.Get(i));
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);

@ -199,19 +199,21 @@ class PROTOBUF_EXPORT FieldMask final :
void set_paths(int index, const std::string& value);
void set_paths(int index, std::string&& value);
void set_paths(int index, const char* value);
void set_paths(int index, const char* value, std::size_t size);
void set_paths(int index, absl::string_view value);
void set_paths(int index, const char* value, ::size_t size);
std::string* add_paths();
void add_paths(const std::string& value);
void add_paths(std::string&& value);
void add_paths(const char* value);
void add_paths(const char* value, std::size_t size);
void add_paths(absl::string_view value);
void add_paths(const char* value, ::size_t size);
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& paths() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_paths();
private:
const std::string& _internal_paths(int index) const;
std::string* _internal_add_paths();
public:
// @@protoc_insertion_point(class_scope:google.protobuf.FieldMask)
private:
@ -279,21 +281,20 @@ inline void FieldMask::set_paths(int index, std::string&& value) {
// @@protoc_insertion_point(field_set:google.protobuf.FieldMask.paths)
}
inline void FieldMask::set_paths(int index, const char* value) {
ABSL_DCHECK(value != nullptr); _impl_.paths_.Mutable(index)->assign(value);
ABSL_DCHECK(value != nullptr);
_impl_.paths_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set_char:google.protobuf.FieldMask.paths)
}
inline void FieldMask::set_paths(int index, const char* value,
std::size_t size) {
_impl_.paths_.Mutable(index)->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldMask.paths)
}
inline void FieldMask::set_paths(int index, absl::string_view value) {
_impl_.paths_.Mutable(index)->assign(value.data(), value.size());
// @@protoc_insertion_point(field_set_string_piece:google.protobuf.FieldMask.paths)
}
inline void FieldMask::set_paths(int index, const char* value, ::size_t size) {
_impl_.paths_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldMask.paths)
}
inline std::string* FieldMask::_internal_add_paths() {
return _impl_.paths_.Add();
}
inline std::string* FieldMask::_internal_add_paths() { return _impl_.paths_.Add(); }
inline void FieldMask::add_paths(const std::string& value) {
_impl_.paths_.Add()->assign(value);
// @@protoc_insertion_point(field_add:google.protobuf.FieldMask.paths)
@ -303,24 +304,24 @@ inline void FieldMask::add_paths(std::string&& value) {
// @@protoc_insertion_point(field_add:google.protobuf.FieldMask.paths)
}
inline void FieldMask::add_paths(const char* value) {
ABSL_DCHECK(value != nullptr); _impl_.paths_.Add()->assign(value);
ABSL_DCHECK(value != nullptr);
_impl_.paths_.Add()->assign(value);
// @@protoc_insertion_point(field_add_char:google.protobuf.FieldMask.paths)
}
inline void FieldMask::add_paths(const char* value, std::size_t size) {
_impl_.paths_.Add()->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_add_pointer:google.protobuf.FieldMask.paths)
}
inline void FieldMask::add_paths(absl::string_view value) {
_impl_.paths_.Add()->assign(value.data(), value.size());
// @@protoc_insertion_point(field_add_string_piece:google.protobuf.FieldMask.paths)
}
inline void FieldMask::add_paths(const char* value, ::size_t size) {
_impl_.paths_.Add()->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_add_pointer:google.protobuf.FieldMask.paths)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
FieldMask::paths() const {
// @@protoc_insertion_point(field_list:google.protobuf.FieldMask.paths)
return _impl_.paths_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
FieldMask::mutable_paths() {
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* FieldMask::mutable_paths() {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldMask.paths)
return &_impl_.paths_;
}

@ -21,7 +21,10 @@ namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal;
PROTOBUF_NAMESPACE_OPEN
PROTOBUF_CONSTEXPR SourceContext::SourceContext(
::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.file_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
/*decltype(_impl_.file_name_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_._cached_size_)*/{}} {}
struct SourceContextDefaultTypeInternal {
PROTOBUF_CONSTEXPR SourceContextDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
@ -120,17 +123,17 @@ SourceContext::SourceContext(const SourceContext& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
SourceContext* const _this = this; (void)_this;
new (&_impl_) Impl_{
decltype(_impl_.file_name_){}
decltype(_impl_.file_name_) {}
, /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_impl_.file_name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.file_name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.file_name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_file_name().empty()) {
_this->_impl_.file_name_.Set(from._internal_file_name(),
_this->GetArenaForAllocation());
_this->_impl_.file_name_.Set(from._internal_file_name(), _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:google.protobuf.SourceContext)
}
@ -138,13 +141,14 @@ SourceContext::SourceContext(const SourceContext& from)
inline void SourceContext::SharedCtor(::_pb::Arena* arena) {
(void)arena;
new (&_impl_) Impl_{
decltype(_impl_.file_name_){}
decltype(_impl_.file_name_) {}
, /*decltype(_impl_._cached_size_)*/{}
};
_impl_.file_name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.file_name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.file_name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
SourceContext::~SourceContext() {
@ -223,12 +227,10 @@ failure:
// string file_name = 1;
if (!this->_internal_file_name().empty()) {
const std::string& _s = this->_internal_file_name();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_file_name().data(), static_cast<int>(this->_internal_file_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.SourceContext.file_name");
target = stream->WriteStringMaybeAliased(
1, this->_internal_file_name(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.SourceContext.file_name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@ -249,9 +251,8 @@ failure:
// string file_name = 1;
if (!this->_internal_file_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_file_name());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_file_name());
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
@ -294,10 +295,8 @@ void SourceContext::InternalSwap(SourceContext* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.file_name_, lhs_arena,
&other->_impl_.file_name_, rhs_arena
);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.file_name_, lhs_arena,
&other->_impl_.file_name_, rhs_arena);
}
::PROTOBUF_NAMESPACE_ID::Metadata SourceContext::GetMetadata() const {

@ -190,15 +190,22 @@ class PROTOBUF_EXPORT SourceContext final :
// string file_name = 1;
void clear_file_name() ;
const std::string& file_name() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_file_name(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_file_name(Arg_&& arg, Args_... args);
std::string* mutable_file_name();
PROTOBUF_NODISCARD std::string* release_file_name();
void set_allocated_file_name(std::string* file_name);
void set_allocated_file_name(std::string* ptr);
private:
const std::string& _internal_file_name() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_name(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_name(
const std::string& value);
std::string* _internal_mutable_file_name();
public:
// @@protoc_insertion_point(class_scope:google.protobuf.SourceContext)
private:
@ -239,11 +246,11 @@ inline const std::string& SourceContext::file_name() const {
// @@protoc_insertion_point(field_get:google.protobuf.SourceContext.file_name)
return _internal_file_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SourceContext::set_file_name(ArgT0&& arg0, ArgT... args) {
_impl_.file_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void SourceContext::set_file_name(Arg_&& arg,
Args_... args) {
;
_impl_.file_name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.SourceContext.file_name)
}
inline std::string* SourceContext::mutable_file_name() {
@ -255,24 +262,26 @@ inline const std::string& SourceContext::_internal_file_name() const {
return _impl_.file_name_.Get();
}
inline void SourceContext::_internal_set_file_name(const std::string& value) {
;
_impl_.file_name_.Set(value, GetArenaForAllocation());
}
inline std::string* SourceContext::_internal_mutable_file_name() {
return _impl_.file_name_.Mutable(GetArenaForAllocation());
;
return _impl_.file_name_.Mutable( GetArenaForAllocation());
}
inline std::string* SourceContext::release_file_name() {
// @@protoc_insertion_point(field_release:google.protobuf.SourceContext.file_name)
return _impl_.file_name_.Release();
}
inline void SourceContext::set_allocated_file_name(std::string* file_name) {
_impl_.file_name_.SetAllocated(file_name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.file_name_.IsDefault()) {
_impl_.file_name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void SourceContext::set_allocated_file_name(std::string* value) {
_impl_.file_name_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.file_name_.IsDefault()) {
_impl_.file_name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceContext.file_name)
}

@ -347,9 +347,8 @@ failure:
auto check_utf8 = [](const MapType::value_type& entry) {
(void)entry;
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
entry.first.data(), static_cast<int>(entry.first.length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Struct.FieldsEntry.key");
entry.first.data(), static_cast<int>(entry.first.length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Struct.fields");
};
if (stream->IsSerializationDeterministic() && map_field.size() > 1) {
@ -718,12 +717,10 @@ failure:
// string string_value = 3;
if (kind_case() == kStringValue) {
const std::string& _s = this->_internal_string_value();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_string_value().data(), static_cast<int>(this->_internal_string_value().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Value.string_value");
target = stream->WriteStringMaybeAliased(
3, this->_internal_string_value(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Value.string_value");
target = stream->WriteStringMaybeAliased(3, _s, target);
}
// bool bool_value = 4;
@ -777,9 +774,8 @@ failure:
}
// string string_value = 3;
case kStringValue: {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_string_value());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_string_value());
break;
}
// bool bool_value = 4;

@ -462,15 +462,22 @@ class PROTOBUF_EXPORT Value final :
bool has_string_value() const;
void clear_string_value() ;
const std::string& string_value() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_string_value(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_string_value(Arg_&& arg, Args_... args);
std::string* mutable_string_value();
PROTOBUF_NODISCARD std::string* release_string_value();
void set_allocated_string_value(std::string* string_value);
void set_allocated_string_value(std::string* ptr);
private:
const std::string& _internal_string_value() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(
const std::string& value);
std::string* _internal_mutable_string_value();
public:
// bool bool_value = 4;
bool has_bool_value() const;
@ -815,7 +822,6 @@ inline double Value::number_value() const {
return _internal_number_value();
}
inline void Value::set_number_value(double value) {
;
_internal_set_number_value(value);
// @@protoc_insertion_point(field_set:google.protobuf.Value.number_value)
}
@ -850,14 +856,16 @@ inline const std::string& Value::string_value() const {
// @@protoc_insertion_point(field_get:google.protobuf.Value.string_value)
return _internal_string_value();
}
template <typename ArgT0, typename... ArgT>
inline void Value::set_string_value(ArgT0&& arg0, ArgT... args) {
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Value::set_string_value(Arg_&& arg,
Args_... args) {
if (kind_case() != kStringValue) {
clear_kind();
set_has_string_value();
_impl_.kind_.string_value_.InitDefault();
}
_impl_.kind_.string_value_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
_impl_.kind_.string_value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Value.string_value)
}
inline std::string* Value::mutable_string_value() {
@ -866,43 +874,46 @@ inline std::string* Value::mutable_string_value() {
return _s;
}
inline const std::string& Value::_internal_string_value() const {
if (kind_case() == kStringValue) {
return _impl_.kind_.string_value_.Get();
if (kind_case() != kStringValue) {
return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
}
return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
return _impl_.kind_.string_value_.Get();
}
inline void Value::_internal_set_string_value(const std::string& value) {
if (kind_case() != kStringValue) {
clear_kind();
set_has_string_value();
_impl_.kind_.string_value_.InitDefault();
}
_impl_.kind_.string_value_.Set(value, GetArenaForAllocation());
}
inline std::string* Value::_internal_mutable_string_value() {
if (kind_case() != kStringValue) {
clear_kind();
set_has_string_value();
_impl_.kind_.string_value_.InitDefault();
}
return _impl_.kind_.string_value_.Mutable( GetArenaForAllocation());
return _impl_.kind_.string_value_.Mutable( GetArenaForAllocation());
}
inline std::string* Value::release_string_value() {
// @@protoc_insertion_point(field_release:google.protobuf.Value.string_value)
if (kind_case() == kStringValue) {
clear_has_kind();
return _impl_.kind_.string_value_.Release();
} else {
if (kind_case() != kStringValue) {
return nullptr;
}
clear_has_kind();
return _impl_.kind_.string_value_.Release();
}
inline void Value::set_allocated_string_value(std::string* string_value) {
inline void Value::set_allocated_string_value(std::string* value) {
if (has_kind()) {
clear_kind();
}
if (string_value != nullptr) {
if (value != nullptr) {
set_has_string_value();
_impl_.kind_.string_value_.InitAllocated(string_value, GetArenaForAllocation());
_impl_.kind_.string_value_.InitAllocated(value, GetArenaForAllocation());
}
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Value.string_value)
}
@ -925,7 +936,6 @@ inline bool Value::bool_value() const {
return _internal_bool_value();
}
inline void Value::set_bool_value(bool value) {
;
_internal_set_bool_value(value);
// @@protoc_insertion_point(field_set:google.protobuf.Value.bool_value)
}

@ -21,9 +21,9 @@ namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal;
PROTOBUF_NAMESPACE_OPEN
PROTOBUF_CONSTEXPR Timestamp::Timestamp(
::_pbi::ConstantInitialized): _impl_{
/* ._impl_.seconds_ = */ ::int64_t{0}
/*decltype(_impl_.seconds_)*/ ::int64_t{0}
, /* ._impl_.nanos_ = */ 0
, /*decltype(_impl_.nanos_)*/ 0
, /*decltype(_impl_._cached_size_)*/{}} {}
struct TimestampDefaultTypeInternal {

@ -249,7 +249,6 @@ inline ::int64_t Timestamp::seconds() const {
return _internal_seconds();
}
inline void Timestamp::set_seconds(::int64_t value) {
;
_internal_set_seconds(value);
// @@protoc_insertion_point(field_set:google.protobuf.Timestamp.seconds)
}
@ -270,7 +269,6 @@ inline ::int32_t Timestamp::nanos() const {
return _internal_nanos();
}
inline void Timestamp::set_nanos(::int32_t value) {
;
_internal_set_nanos(value);
// @@protoc_insertion_point(field_set:google.protobuf.Timestamp.nanos)
}

@ -24,7 +24,10 @@ PROTOBUF_CONSTEXPR Type::Type(
/*decltype(_impl_.fields_)*/{}
, /*decltype(_impl_.oneofs_)*/{}
, /*decltype(_impl_.options_)*/{}
, /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.name_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.source_context_)*/nullptr
, /*decltype(_impl_.syntax_)*/0
, /*decltype(_impl_._cached_size_)*/{}} {}
@ -41,17 +44,29 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_CONSTEXPR Field::Field(
::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.options_)*/{}
, /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.type_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.json_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.default_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.name_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.type_url_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.json_name_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.default_value_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.kind_)*/0
, /*decltype(_impl_.cardinality_)*/0
, /* ._impl_.number_ = */ 0
, /*decltype(_impl_.number_)*/ 0
, /* ._impl_.oneof_index_ = */ 0
, /*decltype(_impl_.oneof_index_)*/ 0
, /* ._impl_.packed_ = */ false
, /*decltype(_impl_.packed_)*/ false
, /*decltype(_impl_._cached_size_)*/{}} {}
struct FieldDefaultTypeInternal {
@ -68,7 +83,10 @@ PROTOBUF_CONSTEXPR Enum::Enum(
::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.enumvalue_)*/{}
, /*decltype(_impl_.options_)*/{}
, /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.name_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.source_context_)*/nullptr
, /*decltype(_impl_.syntax_)*/0
, /*decltype(_impl_._cached_size_)*/{}} {}
@ -85,8 +103,11 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_CONSTEXPR EnumValue::EnumValue(
::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.options_)*/{}
, /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /* ._impl_.number_ = */ 0
, /*decltype(_impl_.name_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.number_)*/ 0
, /*decltype(_impl_._cached_size_)*/{}} {}
struct EnumValueDefaultTypeInternal {
@ -101,7 +122,10 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumValueDefaultTypeInternal _EnumValue_default_instance_;
PROTOBUF_CONSTEXPR Option::Option(
::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
/*decltype(_impl_.name_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_.value_)*/nullptr
, /*decltype(_impl_._cached_size_)*/{}} {}
struct OptionDefaultTypeInternal {
@ -417,7 +441,8 @@ Type::Type(const Type& from)
decltype(_impl_.fields_){from._impl_.fields_}
, decltype(_impl_.oneofs_){from._impl_.oneofs_}
, decltype(_impl_.options_){from._impl_.options_}
, decltype(_impl_.name_){}
, decltype(_impl_.name_) {}
, decltype(_impl_.source_context_){nullptr}
, decltype(_impl_.syntax_){}
, /*decltype(_impl_._cached_size_)*/{}};
@ -425,11 +450,10 @@ Type::Type(const Type& from)
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_name().empty()) {
_this->_impl_.name_.Set(from._internal_name(),
_this->GetArenaForAllocation());
_this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
}
if (from._internal_has_source_context()) {
_this->_impl_.source_context_ = new ::PROTOBUF_NAMESPACE_ID::SourceContext(*from._impl_.source_context_);
@ -444,15 +468,16 @@ inline void Type::SharedCtor(::_pb::Arena* arena) {
decltype(_impl_.fields_){arena}
, decltype(_impl_.oneofs_){arena}
, decltype(_impl_.options_){arena}
, decltype(_impl_.name_){}
, decltype(_impl_.name_) {}
, decltype(_impl_.source_context_){nullptr}
, decltype(_impl_.syntax_){0}
, /*decltype(_impl_._cached_size_)*/{}
};
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Type::~Type() {
@ -606,12 +631,10 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
const std::string& _s = this->_internal_name();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Type.name");
target = stream->WriteStringMaybeAliased(
1, this->_internal_name(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Type.name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// repeated .google.protobuf.Field fields = 2;
@ -623,12 +646,10 @@ failure:
}
// repeated string oneofs = 3;
for (int i = 0, n = this->_internal_oneofs_size(); i < n; i++) {
for (int i = 0, n = this->_internal_oneofs_size(); i < n; ++i) {
const auto& s = this->_internal_oneofs(i);
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
s.data(), static_cast<int>(s.length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Type.oneofs");
s.data(), static_cast<int>(s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Type.oneofs");
target = stream->WriteString(3, s, target);
}
@ -678,11 +699,9 @@ failure:
}
// repeated string oneofs = 3;
total_size += 1 *
::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.oneofs_.size());
for (int i = 0, n = _impl_.oneofs_.size(); i < n; i++) {
total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
_impl_.oneofs_.Get(i));
total_size += 1 * ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.oneofs_.size());
for (int i = 0, n = _impl_.oneofs_.size(); i < n; ++i) {
total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(_impl_.oneofs_.Get(i));
}
// repeated .google.protobuf.Option options = 4;
@ -694,9 +713,8 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// .google.protobuf.SourceContext source_context = 5;
@ -765,10 +783,8 @@ void Type::InternalSwap(Type* other) {
_impl_.fields_.InternalSwap(&other->_impl_.fields_);
_impl_.oneofs_.InternalSwap(&other->_impl_.oneofs_);
_impl_.options_.InternalSwap(&other->_impl_.options_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena
);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
PROTOBUF_FIELD_OFFSET(Type, _impl_.syntax_)
+ sizeof(Type::_impl_.syntax_)
@ -798,10 +814,14 @@ Field::Field(const Field& from)
Field* const _this = this; (void)_this;
new (&_impl_) Impl_{
decltype(_impl_.options_){from._impl_.options_}
, decltype(_impl_.name_){}
, decltype(_impl_.type_url_){}
, decltype(_impl_.json_name_){}
, decltype(_impl_.default_value_){}
, decltype(_impl_.name_) {}
, decltype(_impl_.type_url_) {}
, decltype(_impl_.json_name_) {}
, decltype(_impl_.default_value_) {}
, decltype(_impl_.kind_){}
, decltype(_impl_.cardinality_){}
, decltype(_impl_.number_) {}
@ -815,35 +835,31 @@ Field::Field(const Field& from)
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_name().empty()) {
_this->_impl_.name_.Set(from._internal_name(),
_this->GetArenaForAllocation());
_this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
}
_impl_.type_url_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_type_url().empty()) {
_this->_impl_.type_url_.Set(from._internal_type_url(),
_this->GetArenaForAllocation());
_this->_impl_.type_url_.Set(from._internal_type_url(), _this->GetArenaForAllocation());
}
_impl_.json_name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.json_name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.json_name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_json_name().empty()) {
_this->_impl_.json_name_.Set(from._internal_json_name(),
_this->GetArenaForAllocation());
_this->_impl_.json_name_.Set(from._internal_json_name(), _this->GetArenaForAllocation());
}
_impl_.default_value_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.default_value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.default_value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_default_value().empty()) {
_this->_impl_.default_value_.Set(from._internal_default_value(),
_this->GetArenaForAllocation());
_this->_impl_.default_value_.Set(from._internal_default_value(), _this->GetArenaForAllocation());
}
::memcpy(&_impl_.kind_, &from._impl_.kind_,
static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.packed_) -
@ -855,10 +871,14 @@ inline void Field::SharedCtor(::_pb::Arena* arena) {
(void)arena;
new (&_impl_) Impl_{
decltype(_impl_.options_){arena}
, decltype(_impl_.name_){}
, decltype(_impl_.type_url_){}
, decltype(_impl_.json_name_){}
, decltype(_impl_.default_value_){}
, decltype(_impl_.name_) {}
, decltype(_impl_.type_url_) {}
, decltype(_impl_.json_name_) {}
, decltype(_impl_.default_value_) {}
, decltype(_impl_.kind_){0}
, decltype(_impl_.cardinality_){0}
, decltype(_impl_.number_) { 0 }
@ -871,20 +891,20 @@ inline void Field::SharedCtor(::_pb::Arena* arena) {
};
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.type_url_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.type_url_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.json_name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.json_name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.json_name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.default_value_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.default_value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.default_value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Field::~Field() {
@ -1089,22 +1109,18 @@ failure:
// string name = 4;
if (!this->_internal_name().empty()) {
const std::string& _s = this->_internal_name();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Field.name");
target = stream->WriteStringMaybeAliased(
4, this->_internal_name(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Field.name");
target = stream->WriteStringMaybeAliased(4, _s, target);
}
// string type_url = 6;
if (!this->_internal_type_url().empty()) {
const std::string& _s = this->_internal_type_url();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_type_url().data(), static_cast<int>(this->_internal_type_url().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Field.type_url");
target = stream->WriteStringMaybeAliased(
6, this->_internal_type_url(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Field.type_url");
target = stream->WriteStringMaybeAliased(6, _s, target);
}
// int32 oneof_index = 7;
@ -1131,22 +1147,18 @@ failure:
// string json_name = 10;
if (!this->_internal_json_name().empty()) {
const std::string& _s = this->_internal_json_name();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_json_name().data(), static_cast<int>(this->_internal_json_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Field.json_name");
target = stream->WriteStringMaybeAliased(
10, this->_internal_json_name(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Field.json_name");
target = stream->WriteStringMaybeAliased(10, _s, target);
}
// string default_value = 11;
if (!this->_internal_default_value().empty()) {
const std::string& _s = this->_internal_default_value();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_default_value().data(), static_cast<int>(this->_internal_default_value().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Field.default_value");
target = stream->WriteStringMaybeAliased(
11, this->_internal_default_value(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Field.default_value");
target = stream->WriteStringMaybeAliased(11, _s, target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@ -1174,30 +1186,26 @@ failure:
// string name = 4;
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// string type_url = 6;
if (!this->_internal_type_url().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_type_url());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_type_url());
}
// string json_name = 10;
if (!this->_internal_json_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_json_name());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_json_name());
}
// string default_value = 11;
if (!this->_internal_default_value().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_default_value());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_default_value());
}
// .google.protobuf.Field.Kind kind = 1;
@ -1295,22 +1303,14 @@ void Field::InternalSwap(Field* other) {
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
_impl_.options_.InternalSwap(&other->_impl_.options_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.type_url_, lhs_arena,
&other->_impl_.type_url_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.json_name_, lhs_arena,
&other->_impl_.json_name_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.default_value_, lhs_arena,
&other->_impl_.default_value_, rhs_arena
);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.type_url_, lhs_arena,
&other->_impl_.type_url_, rhs_arena);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.json_name_, lhs_arena,
&other->_impl_.json_name_, rhs_arena);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.default_value_, lhs_arena,
&other->_impl_.default_value_, rhs_arena);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
PROTOBUF_FIELD_OFFSET(Field, _impl_.packed_)
+ sizeof(Field::_impl_.packed_)
@ -1352,7 +1352,8 @@ Enum::Enum(const Enum& from)
new (&_impl_) Impl_{
decltype(_impl_.enumvalue_){from._impl_.enumvalue_}
, decltype(_impl_.options_){from._impl_.options_}
, decltype(_impl_.name_){}
, decltype(_impl_.name_) {}
, decltype(_impl_.source_context_){nullptr}
, decltype(_impl_.syntax_){}
, /*decltype(_impl_._cached_size_)*/{}};
@ -1360,11 +1361,10 @@ Enum::Enum(const Enum& from)
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_name().empty()) {
_this->_impl_.name_.Set(from._internal_name(),
_this->GetArenaForAllocation());
_this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
}
if (from._internal_has_source_context()) {
_this->_impl_.source_context_ = new ::PROTOBUF_NAMESPACE_ID::SourceContext(*from._impl_.source_context_);
@ -1378,15 +1378,16 @@ inline void Enum::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_{
decltype(_impl_.enumvalue_){arena}
, decltype(_impl_.options_){arena}
, decltype(_impl_.name_){}
, decltype(_impl_.name_) {}
, decltype(_impl_.source_context_){nullptr}
, decltype(_impl_.syntax_){0}
, /*decltype(_impl_._cached_size_)*/{}
};
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Enum::~Enum() {
@ -1522,12 +1523,10 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
const std::string& _s = this->_internal_name();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Enum.name");
target = stream->WriteStringMaybeAliased(
1, this->_internal_name(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Enum.name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// repeated .google.protobuf.EnumValue enumvalue = 2;
@ -1592,9 +1591,8 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// .google.protobuf.SourceContext source_context = 4;
@ -1661,10 +1659,8 @@ void Enum::InternalSwap(Enum* other) {
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
_impl_.enumvalue_.InternalSwap(&other->_impl_.enumvalue_);
_impl_.options_.InternalSwap(&other->_impl_.options_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena
);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
::PROTOBUF_NAMESPACE_ID::internal::memswap<
PROTOBUF_FIELD_OFFSET(Enum, _impl_.syntax_)
+ sizeof(Enum::_impl_.syntax_)
@ -1694,7 +1690,8 @@ EnumValue::EnumValue(const EnumValue& from)
EnumValue* const _this = this; (void)_this;
new (&_impl_) Impl_{
decltype(_impl_.options_){from._impl_.options_}
, decltype(_impl_.name_){}
, decltype(_impl_.name_) {}
, decltype(_impl_.number_) {}
, /*decltype(_impl_._cached_size_)*/{}};
@ -1702,11 +1699,10 @@ EnumValue::EnumValue(const EnumValue& from)
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_name().empty()) {
_this->_impl_.name_.Set(from._internal_name(),
_this->GetArenaForAllocation());
_this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
}
_this->_impl_.number_ = from._impl_.number_;
// @@protoc_insertion_point(copy_constructor:google.protobuf.EnumValue)
@ -1716,15 +1712,16 @@ inline void EnumValue::SharedCtor(::_pb::Arena* arena) {
(void)arena;
new (&_impl_) Impl_{
decltype(_impl_.options_){arena}
, decltype(_impl_.name_){}
, decltype(_impl_.name_) {}
, decltype(_impl_.number_) { 0 }
, /*decltype(_impl_._cached_size_)*/{}
};
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
EnumValue::~EnumValue() {
@ -1829,12 +1826,10 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
const std::string& _s = this->_internal_name();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.EnumValue.name");
target = stream->WriteStringMaybeAliased(
1, this->_internal_name(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.EnumValue.name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// int32 number = 2;
@ -1877,9 +1872,8 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// int32 number = 2;
@ -1933,10 +1927,8 @@ void EnumValue::InternalSwap(EnumValue* other) {
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
_impl_.options_.InternalSwap(&other->_impl_.options_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena
);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
swap(_impl_.number_, other->_impl_.number_);
}
@ -1972,18 +1964,18 @@ Option::Option(const Option& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
Option* const _this = this; (void)_this;
new (&_impl_) Impl_{
decltype(_impl_.name_){}
decltype(_impl_.name_) {}
, decltype(_impl_.value_){nullptr}
, /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_name().empty()) {
_this->_impl_.name_.Set(from._internal_name(),
_this->GetArenaForAllocation());
_this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
}
if (from._internal_has_value()) {
_this->_impl_.value_ = new ::PROTOBUF_NAMESPACE_ID::Any(*from._impl_.value_);
@ -1994,14 +1986,15 @@ Option::Option(const Option& from)
inline void Option::SharedCtor(::_pb::Arena* arena) {
(void)arena;
new (&_impl_) Impl_{
decltype(_impl_.name_){}
decltype(_impl_.name_) {}
, decltype(_impl_.value_){nullptr}
, /*decltype(_impl_._cached_size_)*/{}
};
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
Option::~Option() {
@ -2094,12 +2087,10 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
const std::string& _s = this->_internal_name();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.Option.name");
target = stream->WriteStringMaybeAliased(
1, this->_internal_name(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Option.name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// .google.protobuf.Any value = 2;
@ -2127,9 +2118,8 @@ failure:
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// .google.protobuf.Any value = 2;
@ -2183,10 +2173,8 @@ void Option::InternalSwap(Option* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena
);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
swap(_impl_.value_, other->_impl_.value_);
}

@ -360,19 +360,21 @@ class PROTOBUF_EXPORT Type final :
void set_oneofs(int index, const std::string& value);
void set_oneofs(int index, std::string&& value);
void set_oneofs(int index, const char* value);
void set_oneofs(int index, const char* value, std::size_t size);
void set_oneofs(int index, absl::string_view value);
void set_oneofs(int index, const char* value, ::size_t size);
std::string* add_oneofs();
void add_oneofs(const std::string& value);
void add_oneofs(std::string&& value);
void add_oneofs(const char* value);
void add_oneofs(const char* value, std::size_t size);
void add_oneofs(absl::string_view value);
void add_oneofs(const char* value, ::size_t size);
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& oneofs() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_oneofs();
private:
const std::string& _internal_oneofs(int index) const;
std::string* _internal_add_oneofs();
public:
// repeated .google.protobuf.Option options = 4;
int options_size() const;
@ -395,15 +397,22 @@ class PROTOBUF_EXPORT Type final :
// string name = 1;
void clear_name() ;
const std::string& name() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_name(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
std::string* mutable_name();
PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* name);
void set_allocated_name(std::string* ptr);
private:
const std::string& _internal_name() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
const std::string& value);
std::string* _internal_mutable_name();
public:
// .google.protobuf.SourceContext source_context = 5;
bool has_source_context() const;
@ -662,54 +671,82 @@ class PROTOBUF_EXPORT Field final :
// string name = 4;
void clear_name() ;
const std::string& name() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_name(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
std::string* mutable_name();
PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* name);
void set_allocated_name(std::string* ptr);
private:
const std::string& _internal_name() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
const std::string& value);
std::string* _internal_mutable_name();
public:
// string type_url = 6;
void clear_type_url() ;
const std::string& type_url() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_type_url(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_type_url(Arg_&& arg, Args_... args);
std::string* mutable_type_url();
PROTOBUF_NODISCARD std::string* release_type_url();
void set_allocated_type_url(std::string* type_url);
void set_allocated_type_url(std::string* ptr);
private:
const std::string& _internal_type_url() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_url(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_url(
const std::string& value);
std::string* _internal_mutable_type_url();
public:
// string json_name = 10;
void clear_json_name() ;
const std::string& json_name() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_json_name(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_json_name(Arg_&& arg, Args_... args);
std::string* mutable_json_name();
PROTOBUF_NODISCARD std::string* release_json_name();
void set_allocated_json_name(std::string* json_name);
void set_allocated_json_name(std::string* ptr);
private:
const std::string& _internal_json_name() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(
const std::string& value);
std::string* _internal_mutable_json_name();
public:
// string default_value = 11;
void clear_default_value() ;
const std::string& default_value() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_default_value(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_default_value(Arg_&& arg, Args_... args);
std::string* mutable_default_value();
PROTOBUF_NODISCARD std::string* release_default_value();
void set_allocated_default_value(std::string* default_value);
void set_allocated_default_value(std::string* ptr);
private:
const std::string& _internal_default_value() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(
const std::string& value);
std::string* _internal_mutable_default_value();
public:
// .google.protobuf.Field.Kind kind = 1;
void clear_kind() ;
@ -946,15 +983,22 @@ class PROTOBUF_EXPORT Enum final :
// string name = 1;
void clear_name() ;
const std::string& name() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_name(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
std::string* mutable_name();
PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* name);
void set_allocated_name(std::string* ptr);
private:
const std::string& _internal_name() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
const std::string& value);
std::string* _internal_mutable_name();
public:
// .google.protobuf.SourceContext source_context = 4;
bool has_source_context() const;
@ -1146,15 +1190,22 @@ class PROTOBUF_EXPORT EnumValue final :
// string name = 1;
void clear_name() ;
const std::string& name() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_name(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
std::string* mutable_name();
PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* name);
void set_allocated_name(std::string* ptr);
private:
const std::string& _internal_name() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
const std::string& value);
std::string* _internal_mutable_name();
public:
// int32 number = 2;
void clear_number() ;
@ -1309,15 +1360,22 @@ class PROTOBUF_EXPORT Option final :
// string name = 1;
void clear_name() ;
const std::string& name() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_name(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
std::string* mutable_name();
PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* name);
void set_allocated_name(std::string* ptr);
private:
const std::string& _internal_name() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
const std::string& value);
std::string* _internal_mutable_name();
public:
// .google.protobuf.Any value = 2;
bool has_value() const;
@ -1377,11 +1435,11 @@ inline const std::string& Type::name() const {
// @@protoc_insertion_point(field_get:google.protobuf.Type.name)
return _internal_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Type::set_name(ArgT0&& arg0, ArgT... args) {
_impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Type::set_name(Arg_&& arg,
Args_... args) {
;
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Type.name)
}
inline std::string* Type::mutable_name() {
@ -1393,24 +1451,26 @@ inline const std::string& Type::_internal_name() const {
return _impl_.name_.Get();
}
inline void Type::_internal_set_name(const std::string& value) {
;
_impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* Type::_internal_mutable_name() {
return _impl_.name_.Mutable(GetArenaForAllocation());
;
return _impl_.name_.Mutable( GetArenaForAllocation());
}
inline std::string* Type::release_name() {
// @@protoc_insertion_point(field_release:google.protobuf.Type.name)
return _impl_.name_.Release();
}
inline void Type::set_allocated_name(std::string* name) {
_impl_.name_.SetAllocated(name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Type::set_allocated_name(std::string* value) {
_impl_.name_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.name)
}
@ -1489,21 +1549,20 @@ inline void Type::set_oneofs(int index, std::string&& value) {
// @@protoc_insertion_point(field_set:google.protobuf.Type.oneofs)
}
inline void Type::set_oneofs(int index, const char* value) {
ABSL_DCHECK(value != nullptr); _impl_.oneofs_.Mutable(index)->assign(value);
ABSL_DCHECK(value != nullptr);
_impl_.oneofs_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set_char:google.protobuf.Type.oneofs)
}
inline void Type::set_oneofs(int index, const char* value,
std::size_t size) {
_impl_.oneofs_.Mutable(index)->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.oneofs)
}
inline void Type::set_oneofs(int index, absl::string_view value) {
_impl_.oneofs_.Mutable(index)->assign(value.data(), value.size());
// @@protoc_insertion_point(field_set_string_piece:google.protobuf.Type.oneofs)
}
inline void Type::set_oneofs(int index, const char* value, ::size_t size) {
_impl_.oneofs_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.oneofs)
}
inline std::string* Type::_internal_add_oneofs() {
return _impl_.oneofs_.Add();
}
inline std::string* Type::_internal_add_oneofs() { return _impl_.oneofs_.Add(); }
inline void Type::add_oneofs(const std::string& value) {
_impl_.oneofs_.Add()->assign(value);
// @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs)
@ -1513,24 +1572,24 @@ inline void Type::add_oneofs(std::string&& value) {
// @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs)
}
inline void Type::add_oneofs(const char* value) {
ABSL_DCHECK(value != nullptr); _impl_.oneofs_.Add()->assign(value);
ABSL_DCHECK(value != nullptr);
_impl_.oneofs_.Add()->assign(value);
// @@protoc_insertion_point(field_add_char:google.protobuf.Type.oneofs)
}
inline void Type::add_oneofs(const char* value, std::size_t size) {
_impl_.oneofs_.Add()->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_add_pointer:google.protobuf.Type.oneofs)
}
inline void Type::add_oneofs(absl::string_view value) {
_impl_.oneofs_.Add()->assign(value.data(), value.size());
// @@protoc_insertion_point(field_add_string_piece:google.protobuf.Type.oneofs)
}
inline void Type::add_oneofs(const char* value, ::size_t size) {
_impl_.oneofs_.Add()->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_add_pointer:google.protobuf.Type.oneofs)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
Type::oneofs() const {
// @@protoc_insertion_point(field_list:google.protobuf.Type.oneofs)
return _impl_.oneofs_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
Type::mutable_oneofs() {
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* Type::mutable_oneofs() {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.oneofs)
return &_impl_.oneofs_;
}
@ -1728,7 +1787,6 @@ inline ::int32_t Field::number() const {
return _internal_number();
}
inline void Field::set_number(::int32_t value) {
;
_internal_set_number(value);
// @@protoc_insertion_point(field_set:google.protobuf.Field.number)
}
@ -1748,11 +1806,11 @@ inline const std::string& Field::name() const {
// @@protoc_insertion_point(field_get:google.protobuf.Field.name)
return _internal_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Field::set_name(ArgT0&& arg0, ArgT... args) {
_impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Field::set_name(Arg_&& arg,
Args_... args) {
;
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Field.name)
}
inline std::string* Field::mutable_name() {
@ -1764,24 +1822,26 @@ inline const std::string& Field::_internal_name() const {
return _impl_.name_.Get();
}
inline void Field::_internal_set_name(const std::string& value) {
;
_impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* Field::_internal_mutable_name() {
return _impl_.name_.Mutable(GetArenaForAllocation());
;
return _impl_.name_.Mutable( GetArenaForAllocation());
}
inline std::string* Field::release_name() {
// @@protoc_insertion_point(field_release:google.protobuf.Field.name)
return _impl_.name_.Release();
}
inline void Field::set_allocated_name(std::string* name) {
_impl_.name_.SetAllocated(name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Field::set_allocated_name(std::string* value) {
_impl_.name_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.name)
}
@ -1793,11 +1853,11 @@ inline const std::string& Field::type_url() const {
// @@protoc_insertion_point(field_get:google.protobuf.Field.type_url)
return _internal_type_url();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Field::set_type_url(ArgT0&& arg0, ArgT... args) {
_impl_.type_url_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Field::set_type_url(Arg_&& arg,
Args_... args) {
;
_impl_.type_url_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Field.type_url)
}
inline std::string* Field::mutable_type_url() {
@ -1809,24 +1869,26 @@ inline const std::string& Field::_internal_type_url() const {
return _impl_.type_url_.Get();
}
inline void Field::_internal_set_type_url(const std::string& value) {
;
_impl_.type_url_.Set(value, GetArenaForAllocation());
}
inline std::string* Field::_internal_mutable_type_url() {
return _impl_.type_url_.Mutable(GetArenaForAllocation());
;
return _impl_.type_url_.Mutable( GetArenaForAllocation());
}
inline std::string* Field::release_type_url() {
// @@protoc_insertion_point(field_release:google.protobuf.Field.type_url)
return _impl_.type_url_.Release();
}
inline void Field::set_allocated_type_url(std::string* type_url) {
_impl_.type_url_.SetAllocated(type_url, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.type_url_.IsDefault()) {
_impl_.type_url_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Field::set_allocated_type_url(std::string* value) {
_impl_.type_url_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.type_url_.IsDefault()) {
_impl_.type_url_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.type_url)
}
@ -1839,7 +1901,6 @@ inline ::int32_t Field::oneof_index() const {
return _internal_oneof_index();
}
inline void Field::set_oneof_index(::int32_t value) {
;
_internal_set_oneof_index(value);
// @@protoc_insertion_point(field_set:google.protobuf.Field.oneof_index)
}
@ -1860,7 +1921,6 @@ inline bool Field::packed() const {
return _internal_packed();
}
inline void Field::set_packed(bool value) {
;
_internal_set_packed(value);
// @@protoc_insertion_point(field_set:google.protobuf.Field.packed)
}
@ -1920,11 +1980,11 @@ inline const std::string& Field::json_name() const {
// @@protoc_insertion_point(field_get:google.protobuf.Field.json_name)
return _internal_json_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Field::set_json_name(ArgT0&& arg0, ArgT... args) {
_impl_.json_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Field::set_json_name(Arg_&& arg,
Args_... args) {
;
_impl_.json_name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Field.json_name)
}
inline std::string* Field::mutable_json_name() {
@ -1936,24 +1996,26 @@ inline const std::string& Field::_internal_json_name() const {
return _impl_.json_name_.Get();
}
inline void Field::_internal_set_json_name(const std::string& value) {
;
_impl_.json_name_.Set(value, GetArenaForAllocation());
}
inline std::string* Field::_internal_mutable_json_name() {
return _impl_.json_name_.Mutable(GetArenaForAllocation());
;
return _impl_.json_name_.Mutable( GetArenaForAllocation());
}
inline std::string* Field::release_json_name() {
// @@protoc_insertion_point(field_release:google.protobuf.Field.json_name)
return _impl_.json_name_.Release();
}
inline void Field::set_allocated_json_name(std::string* json_name) {
_impl_.json_name_.SetAllocated(json_name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.json_name_.IsDefault()) {
_impl_.json_name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Field::set_allocated_json_name(std::string* value) {
_impl_.json_name_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.json_name_.IsDefault()) {
_impl_.json_name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.json_name)
}
@ -1965,11 +2027,11 @@ inline const std::string& Field::default_value() const {
// @@protoc_insertion_point(field_get:google.protobuf.Field.default_value)
return _internal_default_value();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Field::set_default_value(ArgT0&& arg0, ArgT... args) {
_impl_.default_value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Field::set_default_value(Arg_&& arg,
Args_... args) {
;
_impl_.default_value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Field.default_value)
}
inline std::string* Field::mutable_default_value() {
@ -1981,24 +2043,26 @@ inline const std::string& Field::_internal_default_value() const {
return _impl_.default_value_.Get();
}
inline void Field::_internal_set_default_value(const std::string& value) {
;
_impl_.default_value_.Set(value, GetArenaForAllocation());
}
inline std::string* Field::_internal_mutable_default_value() {
return _impl_.default_value_.Mutable(GetArenaForAllocation());
;
return _impl_.default_value_.Mutable( GetArenaForAllocation());
}
inline std::string* Field::release_default_value() {
// @@protoc_insertion_point(field_release:google.protobuf.Field.default_value)
return _impl_.default_value_.Release();
}
inline void Field::set_allocated_default_value(std::string* default_value) {
_impl_.default_value_.SetAllocated(default_value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.default_value_.IsDefault()) {
_impl_.default_value_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Field::set_allocated_default_value(std::string* value) {
_impl_.default_value_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.default_value_.IsDefault()) {
_impl_.default_value_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.default_value)
}
@ -2014,11 +2078,11 @@ inline const std::string& Enum::name() const {
// @@protoc_insertion_point(field_get:google.protobuf.Enum.name)
return _internal_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Enum::set_name(ArgT0&& arg0, ArgT... args) {
_impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Enum::set_name(Arg_&& arg,
Args_... args) {
;
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Enum.name)
}
inline std::string* Enum::mutable_name() {
@ -2030,24 +2094,26 @@ inline const std::string& Enum::_internal_name() const {
return _impl_.name_.Get();
}
inline void Enum::_internal_set_name(const std::string& value) {
;
_impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* Enum::_internal_mutable_name() {
return _impl_.name_.Mutable(GetArenaForAllocation());
;
return _impl_.name_.Mutable( GetArenaForAllocation());
}
inline std::string* Enum::release_name() {
// @@protoc_insertion_point(field_release:google.protobuf.Enum.name)
return _impl_.name_.Release();
}
inline void Enum::set_allocated_name(std::string* name) {
_impl_.name_.SetAllocated(name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Enum::set_allocated_name(std::string* value) {
_impl_.name_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.name)
}
@ -2243,11 +2309,11 @@ inline const std::string& EnumValue::name() const {
// @@protoc_insertion_point(field_get:google.protobuf.EnumValue.name)
return _internal_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void EnumValue::set_name(ArgT0&& arg0, ArgT... args) {
_impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void EnumValue::set_name(Arg_&& arg,
Args_... args) {
;
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.EnumValue.name)
}
inline std::string* EnumValue::mutable_name() {
@ -2259,24 +2325,26 @@ inline const std::string& EnumValue::_internal_name() const {
return _impl_.name_.Get();
}
inline void EnumValue::_internal_set_name(const std::string& value) {
;
_impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* EnumValue::_internal_mutable_name() {
return _impl_.name_.Mutable(GetArenaForAllocation());
;
return _impl_.name_.Mutable( GetArenaForAllocation());
}
inline std::string* EnumValue::release_name() {
// @@protoc_insertion_point(field_release:google.protobuf.EnumValue.name)
return _impl_.name_.Release();
}
inline void EnumValue::set_allocated_name(std::string* name) {
_impl_.name_.SetAllocated(name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void EnumValue::set_allocated_name(std::string* value) {
_impl_.name_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValue.name)
}
@ -2289,7 +2357,6 @@ inline ::int32_t EnumValue::number() const {
return _internal_number();
}
inline void EnumValue::set_number(::int32_t value) {
;
_internal_set_number(value);
// @@protoc_insertion_point(field_set:google.protobuf.EnumValue.number)
}
@ -2353,11 +2420,11 @@ inline const std::string& Option::name() const {
// @@protoc_insertion_point(field_get:google.protobuf.Option.name)
return _internal_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Option::set_name(ArgT0&& arg0, ArgT... args) {
_impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Option::set_name(Arg_&& arg,
Args_... args) {
;
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Option.name)
}
inline std::string* Option::mutable_name() {
@ -2369,24 +2436,26 @@ inline const std::string& Option::_internal_name() const {
return _impl_.name_.Get();
}
inline void Option::_internal_set_name(const std::string& value) {
;
_impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* Option::_internal_mutable_name() {
return _impl_.name_.Mutable(GetArenaForAllocation());
;
return _impl_.name_.Mutable( GetArenaForAllocation());
}
inline std::string* Option::release_name() {
// @@protoc_insertion_point(field_release:google.protobuf.Option.name)
return _impl_.name_.Release();
}
inline void Option::set_allocated_name(std::string* name) {
_impl_.name_.SetAllocated(name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
inline void Option::set_allocated_name(std::string* value) {
_impl_.name_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.name_.IsDefault()) {
_impl_.name_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.name)
}

@ -21,7 +21,7 @@ namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal;
PROTOBUF_NAMESPACE_OPEN
PROTOBUF_CONSTEXPR DoubleValue::DoubleValue(
::_pbi::ConstantInitialized): _impl_{
/* ._impl_.value_ = */ 0
/*decltype(_impl_.value_)*/ 0
, /*decltype(_impl_._cached_size_)*/{}} {}
struct DoubleValueDefaultTypeInternal {
@ -36,7 +36,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DoubleValueDefaultTypeInternal _DoubleValue_default_instance_;
PROTOBUF_CONSTEXPR FloatValue::FloatValue(
::_pbi::ConstantInitialized): _impl_{
/* ._impl_.value_ = */ 0
/*decltype(_impl_.value_)*/ 0
, /*decltype(_impl_._cached_size_)*/{}} {}
struct FloatValueDefaultTypeInternal {
@ -51,7 +51,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FloatValueDefaultTypeInternal _FloatValue_default_instance_;
PROTOBUF_CONSTEXPR Int64Value::Int64Value(
::_pbi::ConstantInitialized): _impl_{
/* ._impl_.value_ = */ ::int64_t{0}
/*decltype(_impl_.value_)*/ ::int64_t{0}
, /*decltype(_impl_._cached_size_)*/{}} {}
struct Int64ValueDefaultTypeInternal {
@ -66,7 +66,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Int64ValueDefaultTypeInternal _Int64Value_default_instance_;
PROTOBUF_CONSTEXPR UInt64Value::UInt64Value(
::_pbi::ConstantInitialized): _impl_{
/* ._impl_.value_ = */ ::uint64_t{0u}
/*decltype(_impl_.value_)*/ ::uint64_t{0u}
, /*decltype(_impl_._cached_size_)*/{}} {}
struct UInt64ValueDefaultTypeInternal {
@ -81,7 +81,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UInt64ValueDefaultTypeInternal _UInt64Value_default_instance_;
PROTOBUF_CONSTEXPR Int32Value::Int32Value(
::_pbi::ConstantInitialized): _impl_{
/* ._impl_.value_ = */ 0
/*decltype(_impl_.value_)*/ 0
, /*decltype(_impl_._cached_size_)*/{}} {}
struct Int32ValueDefaultTypeInternal {
@ -96,7 +96,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Int32ValueDefaultTypeInternal _Int32Value_default_instance_;
PROTOBUF_CONSTEXPR UInt32Value::UInt32Value(
::_pbi::ConstantInitialized): _impl_{
/* ._impl_.value_ = */ 0u
/*decltype(_impl_.value_)*/ 0u
, /*decltype(_impl_._cached_size_)*/{}} {}
struct UInt32ValueDefaultTypeInternal {
@ -111,7 +111,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UInt32ValueDefaultTypeInternal _UInt32Value_default_instance_;
PROTOBUF_CONSTEXPR BoolValue::BoolValue(
::_pbi::ConstantInitialized): _impl_{
/* ._impl_.value_ = */ false
/*decltype(_impl_.value_)*/ false
, /*decltype(_impl_._cached_size_)*/{}} {}
struct BoolValueDefaultTypeInternal {
@ -126,7 +126,10 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoolValueDefaultTypeInternal _BoolValue_default_instance_;
PROTOBUF_CONSTEXPR StringValue::StringValue(
::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
/*decltype(_impl_.value_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_._cached_size_)*/{}} {}
struct StringValueDefaultTypeInternal {
PROTOBUF_CONSTEXPR StringValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
@ -140,7 +143,10 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StringValueDefaultTypeInternal _StringValue_default_instance_;
PROTOBUF_CONSTEXPR BytesValue::BytesValue(
::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
/*decltype(_impl_.value_)*/ {
&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
}
, /*decltype(_impl_._cached_size_)*/{}} {}
struct BytesValueDefaultTypeInternal {
PROTOBUF_CONSTEXPR BytesValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
@ -1572,17 +1578,17 @@ StringValue::StringValue(const StringValue& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
StringValue* const _this = this; (void)_this;
new (&_impl_) Impl_{
decltype(_impl_.value_){}
decltype(_impl_.value_) {}
, /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_impl_.value_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_value().empty()) {
_this->_impl_.value_.Set(from._internal_value(),
_this->GetArenaForAllocation());
_this->_impl_.value_.Set(from._internal_value(), _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:google.protobuf.StringValue)
}
@ -1590,13 +1596,14 @@ StringValue::StringValue(const StringValue& from)
inline void StringValue::SharedCtor(::_pb::Arena* arena) {
(void)arena;
new (&_impl_) Impl_{
decltype(_impl_.value_){}
decltype(_impl_.value_) {}
, /*decltype(_impl_._cached_size_)*/{}
};
_impl_.value_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
StringValue::~StringValue() {
@ -1675,12 +1682,10 @@ failure:
// string value = 1;
if (!this->_internal_value().empty()) {
const std::string& _s = this->_internal_value();
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_value().data(), static_cast<int>(this->_internal_value().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"google.protobuf.StringValue.value");
target = stream->WriteStringMaybeAliased(
1, this->_internal_value(), target);
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.StringValue.value");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@ -1701,9 +1706,8 @@ failure:
// string value = 1;
if (!this->_internal_value().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_value());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_value());
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
@ -1746,10 +1750,8 @@ void StringValue::InternalSwap(StringValue* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.value_, lhs_arena,
&other->_impl_.value_, rhs_arena
);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, lhs_arena,
&other->_impl_.value_, rhs_arena);
}
::PROTOBUF_NAMESPACE_ID::Metadata StringValue::GetMetadata() const {
@ -1772,17 +1774,17 @@ BytesValue::BytesValue(const BytesValue& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
BytesValue* const _this = this; (void)_this;
new (&_impl_) Impl_{
decltype(_impl_.value_){}
decltype(_impl_.value_) {}
, /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_impl_.value_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_value().empty()) {
_this->_impl_.value_.Set(from._internal_value(),
_this->GetArenaForAllocation());
_this->_impl_.value_.Set(from._internal_value(), _this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:google.protobuf.BytesValue)
}
@ -1790,13 +1792,14 @@ BytesValue::BytesValue(const BytesValue& from)
inline void BytesValue::SharedCtor(::_pb::Arena* arena) {
(void)arena;
new (&_impl_) Impl_{
decltype(_impl_.value_){}
decltype(_impl_.value_) {}
, /*decltype(_impl_._cached_size_)*/{}
};
_impl_.value_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.value_.Set("", GetArenaForAllocation());
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
BytesValue::~BytesValue() {
@ -1874,8 +1877,8 @@ failure:
// bytes value = 1;
if (!this->_internal_value().empty()) {
target = stream->WriteBytesMaybeAliased(
1, this->_internal_value(), target);
const std::string& _s = this->_internal_value();
target = stream->WriteBytesMaybeAliased(1, _s, target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@ -1896,9 +1899,8 @@ failure:
// bytes value = 1;
if (!this->_internal_value().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
this->_internal_value());
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
this->_internal_value());
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
@ -1941,10 +1943,8 @@ void BytesValue::InternalSwap(BytesValue* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.value_, lhs_arena,
&other->_impl_.value_, rhs_arena
);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, lhs_arena,
&other->_impl_.value_, rhs_arena);
}
::PROTOBUF_NAMESPACE_ID::Metadata BytesValue::GetMetadata() const {

@ -1259,15 +1259,22 @@ class PROTOBUF_EXPORT StringValue final :
// string value = 1;
void clear_value() ;
const std::string& value() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_value(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_value(Arg_&& arg, Args_... args);
std::string* mutable_value();
PROTOBUF_NODISCARD std::string* release_value();
void set_allocated_value(std::string* value);
void set_allocated_value(std::string* ptr);
private:
const std::string& _internal_value() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(
const std::string& value);
std::string* _internal_mutable_value();
public:
// @@protoc_insertion_point(class_scope:google.protobuf.StringValue)
private:
@ -1409,15 +1416,22 @@ class PROTOBUF_EXPORT BytesValue final :
// bytes value = 1;
void clear_value() ;
const std::string& value() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_value(ArgT0&& arg0, ArgT... args);
template <typename Arg_ = const std::string&, typename... Args_>
void set_value(Arg_&& arg, Args_... args);
std::string* mutable_value();
PROTOBUF_NODISCARD std::string* release_value();
void set_allocated_value(std::string* value);
void set_allocated_value(std::string* ptr);
private:
const std::string& _internal_value() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(
const std::string& value);
std::string* _internal_mutable_value();
public:
// @@protoc_insertion_point(class_scope:google.protobuf.BytesValue)
private:
@ -1459,7 +1473,6 @@ inline double DoubleValue::value() const {
return _internal_value();
}
inline void DoubleValue::set_value(double value) {
;
_internal_set_value(value);
// @@protoc_insertion_point(field_set:google.protobuf.DoubleValue.value)
}
@ -1484,7 +1497,6 @@ inline float FloatValue::value() const {
return _internal_value();
}
inline void FloatValue::set_value(float value) {
;
_internal_set_value(value);
// @@protoc_insertion_point(field_set:google.protobuf.FloatValue.value)
}
@ -1509,7 +1521,6 @@ inline ::int64_t Int64Value::value() const {
return _internal_value();
}
inline void Int64Value::set_value(::int64_t value) {
;
_internal_set_value(value);
// @@protoc_insertion_point(field_set:google.protobuf.Int64Value.value)
}
@ -1534,7 +1545,6 @@ inline ::uint64_t UInt64Value::value() const {
return _internal_value();
}
inline void UInt64Value::set_value(::uint64_t value) {
;
_internal_set_value(value);
// @@protoc_insertion_point(field_set:google.protobuf.UInt64Value.value)
}
@ -1559,7 +1569,6 @@ inline ::int32_t Int32Value::value() const {
return _internal_value();
}
inline void Int32Value::set_value(::int32_t value) {
;
_internal_set_value(value);
// @@protoc_insertion_point(field_set:google.protobuf.Int32Value.value)
}
@ -1584,7 +1593,6 @@ inline ::uint32_t UInt32Value::value() const {
return _internal_value();
}
inline void UInt32Value::set_value(::uint32_t value) {
;
_internal_set_value(value);
// @@protoc_insertion_point(field_set:google.protobuf.UInt32Value.value)
}
@ -1609,7 +1617,6 @@ inline bool BoolValue::value() const {
return _internal_value();
}
inline void BoolValue::set_value(bool value) {
;
_internal_set_value(value);
// @@protoc_insertion_point(field_set:google.protobuf.BoolValue.value)
}
@ -1633,11 +1640,11 @@ inline const std::string& StringValue::value() const {
// @@protoc_insertion_point(field_get:google.protobuf.StringValue.value)
return _internal_value();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void StringValue::set_value(ArgT0&& arg0, ArgT... args) {
_impl_.value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void StringValue::set_value(Arg_&& arg,
Args_... args) {
;
_impl_.value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.StringValue.value)
}
inline std::string* StringValue::mutable_value() {
@ -1649,12 +1656,14 @@ inline const std::string& StringValue::_internal_value() const {
return _impl_.value_.Get();
}
inline void StringValue::_internal_set_value(const std::string& value) {
;
_impl_.value_.Set(value, GetArenaForAllocation());
}
inline std::string* StringValue::_internal_mutable_value() {
return _impl_.value_.Mutable(GetArenaForAllocation());
;
return _impl_.value_.Mutable( GetArenaForAllocation());
}
inline std::string* StringValue::release_value() {
// @@protoc_insertion_point(field_release:google.protobuf.StringValue.value)
@ -1662,11 +1671,11 @@ inline std::string* StringValue::release_value() {
}
inline void StringValue::set_allocated_value(std::string* value) {
_impl_.value_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.value_.IsDefault()) {
_impl_.value_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.value_.IsDefault()) {
_impl_.value_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.StringValue.value)
}
@ -1682,11 +1691,11 @@ inline const std::string& BytesValue::value() const {
// @@protoc_insertion_point(field_get:google.protobuf.BytesValue.value)
return _internal_value();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void BytesValue::set_value(ArgT0&& arg0, ArgT... args) {
_impl_.value_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void BytesValue::set_value(Arg_&& arg,
Args_... args) {
;
_impl_.value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.BytesValue.value)
}
inline std::string* BytesValue::mutable_value() {
@ -1698,12 +1707,14 @@ inline const std::string& BytesValue::_internal_value() const {
return _impl_.value_.Get();
}
inline void BytesValue::_internal_set_value(const std::string& value) {
;
_impl_.value_.Set(value, GetArenaForAllocation());
}
inline std::string* BytesValue::_internal_mutable_value() {
return _impl_.value_.Mutable(GetArenaForAllocation());
;
return _impl_.value_.Mutable( GetArenaForAllocation());
}
inline std::string* BytesValue::release_value() {
// @@protoc_insertion_point(field_release:google.protobuf.BytesValue.value)
@ -1711,11 +1722,11 @@ inline std::string* BytesValue::release_value() {
}
inline void BytesValue::set_allocated_value(std::string* value) {
_impl_.value_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.value_.IsDefault()) {
_impl_.value_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.value_.IsDefault()) {
_impl_.value_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:google.protobuf.BytesValue.value)
}

Loading…
Cancel
Save