Auto-generate files after cl/617949317

pull/16248/head
Protobuf Team Bot 8 months ago
parent e74afdf73f
commit 0c6aa9557a
  1. 8
      src/google/protobuf/struct.pb.cc
  2. 8
      src/google/protobuf/struct.pb.h

@ -571,12 +571,20 @@ void Value::clear_kind() {
case kStructValue: {
if (GetArena() == nullptr) {
delete _impl_.kind_.struct_value_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.kind_.struct_value_ != nullptr) {
_impl_.kind_.struct_value_->Clear();
}
}
break;
}
case kListValue: {
if (GetArena() == nullptr) {
delete _impl_.kind_.list_value_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.kind_.list_value_ != nullptr) {
_impl_.kind_.list_value_->Clear();
}
}
break;
}

@ -1019,6 +1019,10 @@ inline void Value::clear_struct_value() {
if (kind_case() == kStructValue) {
if (GetArena() == nullptr) {
delete _impl_.kind_.struct_value_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.kind_.struct_value_ != nullptr) {
_impl_.kind_.struct_value_->Clear();
}
}
clear_has_kind();
}
@ -1096,6 +1100,10 @@ inline void Value::clear_list_value() {
if (kind_case() == kListValue) {
if (GetArena() == nullptr) {
delete _impl_.kind_.list_value_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.kind_.list_value_ != nullptr) {
_impl_.kind_.list_value_->Clear();
}
}
clear_has_kind();
}

Loading…
Cancel
Save