Auto-generate files after cl/544381907

pull/13179/head
Protobuf Team Bot 1 year ago
parent 200480e83c
commit 07c702e7b5
  1. 8
      src/google/protobuf/api.pb.cc
  2. 4
      src/google/protobuf/api.pb.h
  3. 3
      src/google/protobuf/field_mask.pb.cc
  4. 2
      src/google/protobuf/struct.pb.cc
  5. 2
      src/google/protobuf/struct.pb.h
  6. 15
      src/google/protobuf/type.pb.cc
  7. 8
      src/google/protobuf/type.pb.h

@ -623,9 +623,9 @@ void Api::InternalSwap(Api* other) {
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
_internal_mutable_methods()->InternalSwap(other->_internal_mutable_methods());
_internal_mutable_options()->InternalSwap(other->_internal_mutable_options());
_internal_mutable_mixins()->InternalSwap(other->_internal_mutable_mixins());
_impl_.methods_.InternalSwap(&other->_impl_.methods_);
_impl_.options_.InternalSwap(&other->_impl_.options_);
_impl_.mixins_.InternalSwap(&other->_impl_.mixins_);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.version_, lhs_arena,
@ -1008,7 +1008,7 @@ void Method::InternalSwap(Method* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
_internal_mutable_options()->InternalSwap(other->_internal_mutable_options());
_impl_.options_.InternalSwap(&other->_impl_.options_);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.request_type_url_, lhs_arena,

@ -1147,7 +1147,7 @@ inline ::google::protobuf::Syntax Api::syntax() const {
return _internal_syntax();
}
inline void Api::set_syntax(::google::protobuf::Syntax value) {
_internal_set_syntax(value);
_internal_set_syntax(value);
// @@protoc_insertion_point(field_set:google.protobuf.Api.syntax)
}
inline ::google::protobuf::Syntax Api::_internal_syntax() const {
@ -1413,7 +1413,7 @@ inline ::google::protobuf::Syntax Method::syntax() const {
return _internal_syntax();
}
inline void Method::set_syntax(::google::protobuf::Syntax value) {
_internal_set_syntax(value);
_internal_set_syntax(value);
// @@protoc_insertion_point(field_set:google.protobuf.Method.syntax)
}
inline ::google::protobuf::Syntax Method::_internal_syntax() const {

@ -279,8 +279,7 @@ PROTOBUF_NOINLINE bool FieldMask::IsInitialized() const {
void FieldMask::InternalSwap(FieldMask* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
_internal_mutable_paths()->InternalSwap(
other->_internal_mutable_paths());
_impl_.paths_.InternalSwap(&other->_impl_.paths_);
}
::google::protobuf::Metadata FieldMask::GetMetadata() const {

@ -992,7 +992,7 @@ PROTOBUF_NOINLINE bool ListValue::IsInitialized() const {
void ListValue::InternalSwap(ListValue* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
_internal_mutable_values()->InternalSwap(other->_internal_mutable_values());
_impl_.values_.InternalSwap(&other->_impl_.values_);
}
::google::protobuf::Metadata ListValue::GetMetadata() const {

@ -820,7 +820,7 @@ inline ::google::protobuf::NullValue Value::null_value() const {
return _internal_null_value();
}
inline void Value::set_null_value(::google::protobuf::NullValue value) {
_internal_set_null_value(value);
_internal_set_null_value(value);
// @@protoc_insertion_point(field_set:google.protobuf.Value.null_value)
}
inline ::google::protobuf::NullValue Value::_internal_null_value() const {

@ -835,10 +835,9 @@ void Type::InternalSwap(Type* other) {
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
_internal_mutable_fields()->InternalSwap(other->_internal_mutable_fields());
_internal_mutable_oneofs()->InternalSwap(
other->_internal_mutable_oneofs());
_internal_mutable_options()->InternalSwap(other->_internal_mutable_options());
_impl_.fields_.InternalSwap(&other->_impl_.fields_);
_impl_.oneofs_.InternalSwap(&other->_impl_.oneofs_);
_impl_.options_.InternalSwap(&other->_impl_.options_);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.edition_, lhs_arena,
@ -1311,7 +1310,7 @@ void Field::InternalSwap(Field* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
_internal_mutable_options()->InternalSwap(other->_internal_mutable_options());
_impl_.options_.InternalSwap(&other->_impl_.options_);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.type_url_, lhs_arena,
@ -1689,8 +1688,8 @@ void Enum::InternalSwap(Enum* other) {
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
_internal_mutable_enumvalue()->InternalSwap(other->_internal_mutable_enumvalue());
_internal_mutable_options()->InternalSwap(other->_internal_mutable_options());
_impl_.enumvalue_.InternalSwap(&other->_impl_.enumvalue_);
_impl_.options_.InternalSwap(&other->_impl_.options_);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.edition_, lhs_arena,
@ -1942,7 +1941,7 @@ void EnumValue::InternalSwap(EnumValue* other) {
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
_internal_mutable_options()->InternalSwap(other->_internal_mutable_options());
_impl_.options_.InternalSwap(&other->_impl_.options_);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena);
swap(_impl_.number_, other->_impl_.number_);

@ -1835,7 +1835,7 @@ inline ::google::protobuf::Syntax Type::syntax() const {
return _internal_syntax();
}
inline void Type::set_syntax(::google::protobuf::Syntax value) {
_internal_set_syntax(value);
_internal_set_syntax(value);
// @@protoc_insertion_point(field_set:google.protobuf.Type.syntax)
}
inline ::google::protobuf::Syntax Type::_internal_syntax() const {
@ -1912,7 +1912,7 @@ inline ::google::protobuf::Field_Kind Field::kind() const {
return _internal_kind();
}
inline void Field::set_kind(::google::protobuf::Field_Kind value) {
_internal_set_kind(value);
_internal_set_kind(value);
// @@protoc_insertion_point(field_set:google.protobuf.Field.kind)
}
inline ::google::protobuf::Field_Kind Field::_internal_kind() const {
@ -1934,7 +1934,7 @@ inline ::google::protobuf::Field_Cardinality Field::cardinality() const {
return _internal_cardinality();
}
inline void Field::set_cardinality(::google::protobuf::Field_Cardinality value) {
_internal_set_cardinality(value);
_internal_set_cardinality(value);
// @@protoc_insertion_point(field_set:google.protobuf.Field.cardinality)
}
inline ::google::protobuf::Field_Cardinality Field::_internal_cardinality() const {
@ -2511,7 +2511,7 @@ inline ::google::protobuf::Syntax Enum::syntax() const {
return _internal_syntax();
}
inline void Enum::set_syntax(::google::protobuf::Syntax value) {
_internal_set_syntax(value);
_internal_set_syntax(value);
// @@protoc_insertion_point(field_set:google.protobuf.Enum.syntax)
}
inline ::google::protobuf::Syntax Enum::_internal_syntax() const {

Loading…
Cancel
Save