Auto-generate files after cl/559832961
diff --git a/src/google/protobuf/any.pb.h b/src/google/protobuf/any.pb.h
index ccee919..65b534c 100644
--- a/src/google/protobuf/any.pb.h
+++ b/src/google/protobuf/any.pb.h
@@ -317,7 +317,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.type_url_.ClearToEmpty();
}
-inline const std::string& Any::type_url() const {
+inline const std::string& Any::type_url() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Any.type_url)
return _internal_type_url();
}
@@ -329,7 +330,7 @@
_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() {
+inline std::string* Any::mutable_type_url() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_type_url();
// @@protoc_insertion_point(field_mutable:google.protobuf.Any.type_url)
return _s;
@@ -369,7 +370,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.value_.ClearToEmpty();
}
-inline const std::string& Any::value() const {
+inline const std::string& Any::value() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Any.value)
return _internal_value();
}
@@ -381,7 +383,7 @@
_impl_.value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Any.value)
}
-inline std::string* Any::mutable_value() {
+inline std::string* Any::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_value();
// @@protoc_insertion_point(field_mutable:google.protobuf.Any.value)
return _s;
diff --git a/src/google/protobuf/api.pb.h b/src/google/protobuf/api.pb.h
index fd7cf00..d487084 100644
--- a/src/google/protobuf/api.pb.h
+++ b/src/google/protobuf/api.pb.h
@@ -835,7 +835,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.name_.ClearToEmpty();
}
-inline const std::string& Api::name() const {
+inline const std::string& Api::name() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Api.name)
return _internal_name();
}
@@ -847,7 +848,7 @@
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Api.name)
}
-inline std::string* Api::mutable_name() {
+inline std::string* Api::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.Api.name)
return _s;
@@ -981,7 +982,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.version_.ClearToEmpty();
}
-inline const std::string& Api::version() const {
+inline const std::string& Api::version() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Api.version)
return _internal_version();
}
@@ -993,7 +995,7 @@
_impl_.version_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Api.version)
}
-inline std::string* Api::mutable_version() {
+inline std::string* Api::mutable_version() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_version();
// @@protoc_insertion_point(field_mutable:google.protobuf.Api.version)
return _s;
@@ -1201,7 +1203,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.name_.ClearToEmpty();
}
-inline const std::string& Method::name() const {
+inline const std::string& Method::name() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Method.name)
return _internal_name();
}
@@ -1213,7 +1216,7 @@
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Method.name)
}
-inline std::string* Method::mutable_name() {
+inline std::string* Method::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.Method.name)
return _s;
@@ -1253,7 +1256,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.request_type_url_.ClearToEmpty();
}
-inline const std::string& Method::request_type_url() const {
+inline const std::string& Method::request_type_url() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Method.request_type_url)
return _internal_request_type_url();
}
@@ -1265,7 +1269,7 @@
_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() {
+inline std::string* Method::mutable_request_type_url() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_request_type_url();
// @@protoc_insertion_point(field_mutable:google.protobuf.Method.request_type_url)
return _s;
@@ -1328,7 +1332,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.response_type_url_.ClearToEmpty();
}
-inline const std::string& Method::response_type_url() const {
+inline const std::string& Method::response_type_url() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Method.response_type_url)
return _internal_response_type_url();
}
@@ -1340,7 +1345,7 @@
_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() {
+inline std::string* Method::mutable_response_type_url() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_response_type_url();
// @@protoc_insertion_point(field_mutable:google.protobuf.Method.response_type_url)
return _s;
@@ -1475,7 +1480,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.name_.ClearToEmpty();
}
-inline const std::string& Mixin::name() const {
+inline const std::string& Mixin::name() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Mixin.name)
return _internal_name();
}
@@ -1487,7 +1493,7 @@
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Mixin.name)
}
-inline std::string* Mixin::mutable_name() {
+inline std::string* Mixin::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.name)
return _s;
@@ -1527,7 +1533,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.root_.ClearToEmpty();
}
-inline const std::string& Mixin::root() const {
+inline const std::string& Mixin::root() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Mixin.root)
return _internal_root();
}
@@ -1539,7 +1546,7 @@
_impl_.root_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Mixin.root)
}
-inline std::string* Mixin::mutable_root() {
+inline std::string* Mixin::mutable_root() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_root();
// @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.root)
return _s;
diff --git a/src/google/protobuf/field_mask.pb.h b/src/google/protobuf/field_mask.pb.h
index 3c3c139..25cb63d 100644
--- a/src/google/protobuf/field_mask.pb.h
+++ b/src/google/protobuf/field_mask.pb.h
@@ -281,17 +281,20 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.paths_.Clear();
}
-inline std::string* FieldMask::add_paths() {
+inline std::string* FieldMask::add_paths()
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
std::string* _s = _internal_mutable_paths()->Add();
// @@protoc_insertion_point(field_add_mutable:google.protobuf.FieldMask.paths)
return _s;
}
-inline const std::string& FieldMask::paths(int index) const {
+inline const std::string& FieldMask::paths(int index) const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FieldMask.paths)
return _internal_paths().Get(index);
}
-inline std::string* FieldMask::mutable_paths(int index) {
+inline std::string* FieldMask::mutable_paths(int index)
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:google.protobuf.FieldMask.paths)
return _internal_mutable_paths()->Mutable(index);
}
@@ -347,11 +350,12 @@
// @@protoc_insertion_point(field_add_string_piece:google.protobuf.FieldMask.paths)
}
inline const ::google::protobuf::RepeatedPtrField<std::string>&
-FieldMask::paths() const {
+FieldMask::paths() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:google.protobuf.FieldMask.paths)
return _internal_paths();
}
-inline ::google::protobuf::RepeatedPtrField<std::string>* FieldMask::mutable_paths() {
+inline ::google::protobuf::RepeatedPtrField<std::string>*
+FieldMask::mutable_paths() ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldMask.paths)
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
return _internal_mutable_paths();
diff --git a/src/google/protobuf/source_context.pb.h b/src/google/protobuf/source_context.pb.h
index 433b364..f3fb42a 100644
--- a/src/google/protobuf/source_context.pb.h
+++ b/src/google/protobuf/source_context.pb.h
@@ -263,7 +263,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.file_name_.ClearToEmpty();
}
-inline const std::string& SourceContext::file_name() const {
+inline const std::string& SourceContext::file_name() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.SourceContext.file_name)
return _internal_file_name();
}
@@ -275,7 +276,7 @@
_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() {
+inline std::string* SourceContext::mutable_file_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_file_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.SourceContext.file_name)
return _s;
diff --git a/src/google/protobuf/struct.pb.h b/src/google/protobuf/struct.pb.h
index f273cba..1eb4b18 100644
--- a/src/google/protobuf/struct.pb.h
+++ b/src/google/protobuf/struct.pb.h
@@ -908,7 +908,8 @@
clear_has_kind();
}
}
-inline const std::string& Value::string_value() const {
+inline const std::string& Value::string_value() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Value.string_value)
return _internal_string_value();
}
@@ -925,7 +926,7 @@
_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() {
+inline std::string* Value::mutable_string_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_string_value();
// @@protoc_insertion_point(field_mutable:google.protobuf.Value.string_value)
return _s;
diff --git a/src/google/protobuf/type.pb.h b/src/google/protobuf/type.pb.h
index ebecac6..8183d2d 100644
--- a/src/google/protobuf/type.pb.h
+++ b/src/google/protobuf/type.pb.h
@@ -1535,7 +1535,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.name_.ClearToEmpty();
}
-inline const std::string& Type::name() const {
+inline const std::string& Type::name() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Type.name)
return _internal_name();
}
@@ -1547,7 +1548,7 @@
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Type.name)
}
-inline std::string* Type::mutable_name() {
+inline std::string* Type::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.Type.name)
return _s;
@@ -1642,17 +1643,20 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.oneofs_.Clear();
}
-inline std::string* Type::add_oneofs() {
+inline std::string* Type::add_oneofs()
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
std::string* _s = _internal_mutable_oneofs()->Add();
// @@protoc_insertion_point(field_add_mutable:google.protobuf.Type.oneofs)
return _s;
}
-inline const std::string& Type::oneofs(int index) const {
+inline const std::string& Type::oneofs(int index) const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Type.oneofs)
return _internal_oneofs().Get(index);
}
-inline std::string* Type::mutable_oneofs(int index) {
+inline std::string* Type::mutable_oneofs(int index)
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:google.protobuf.Type.oneofs)
return _internal_mutable_oneofs()->Mutable(index);
}
@@ -1708,11 +1712,12 @@
// @@protoc_insertion_point(field_add_string_piece:google.protobuf.Type.oneofs)
}
inline const ::google::protobuf::RepeatedPtrField<std::string>&
-Type::oneofs() const {
+Type::oneofs() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:google.protobuf.Type.oneofs)
return _internal_oneofs();
}
-inline ::google::protobuf::RepeatedPtrField<std::string>* Type::mutable_oneofs() {
+inline ::google::protobuf::RepeatedPtrField<std::string>*
+Type::mutable_oneofs() ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.oneofs)
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
return _internal_mutable_oneofs();
@@ -1897,7 +1902,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.edition_.ClearToEmpty();
}
-inline const std::string& Type::edition() const {
+inline const std::string& Type::edition() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Type.edition)
return _internal_edition();
}
@@ -1909,7 +1915,7 @@
_impl_.edition_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Type.edition)
}
-inline std::string* Type::mutable_edition() {
+inline std::string* Type::mutable_edition() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_edition();
// @@protoc_insertion_point(field_mutable:google.protobuf.Type.edition)
return _s;
@@ -2022,7 +2028,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.name_.ClearToEmpty();
}
-inline const std::string& Field::name() const {
+inline const std::string& Field::name() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Field.name)
return _internal_name();
}
@@ -2034,7 +2041,7 @@
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Field.name)
}
-inline std::string* Field::mutable_name() {
+inline std::string* Field::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.name)
return _s;
@@ -2074,7 +2081,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.type_url_.ClearToEmpty();
}
-inline const std::string& Field::type_url() const {
+inline const std::string& Field::type_url() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Field.type_url)
return _internal_type_url();
}
@@ -2086,7 +2094,7 @@
_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() {
+inline std::string* Field::mutable_type_url() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_type_url();
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.type_url)
return _s;
@@ -2221,7 +2229,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.json_name_.ClearToEmpty();
}
-inline const std::string& Field::json_name() const {
+inline const std::string& Field::json_name() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Field.json_name)
return _internal_json_name();
}
@@ -2233,7 +2242,7 @@
_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() {
+inline std::string* Field::mutable_json_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_json_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.json_name)
return _s;
@@ -2273,7 +2282,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.default_value_.ClearToEmpty();
}
-inline const std::string& Field::default_value() const {
+inline const std::string& Field::default_value() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Field.default_value)
return _internal_default_value();
}
@@ -2285,7 +2295,7 @@
_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() {
+inline std::string* Field::mutable_default_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_default_value();
// @@protoc_insertion_point(field_mutable:google.protobuf.Field.default_value)
return _s;
@@ -2329,7 +2339,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.name_.ClearToEmpty();
}
-inline const std::string& Enum::name() const {
+inline const std::string& Enum::name() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Enum.name)
return _internal_name();
}
@@ -2341,7 +2352,7 @@
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Enum.name)
}
-inline std::string* Enum::mutable_name() {
+inline std::string* Enum::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.Enum.name)
return _s;
@@ -2594,7 +2605,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.edition_.ClearToEmpty();
}
-inline const std::string& Enum::edition() const {
+inline const std::string& Enum::edition() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Enum.edition)
return _internal_edition();
}
@@ -2606,7 +2618,7 @@
_impl_.edition_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Enum.edition)
}
-inline std::string* Enum::mutable_edition() {
+inline std::string* Enum::mutable_edition() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_edition();
// @@protoc_insertion_point(field_mutable:google.protobuf.Enum.edition)
return _s;
@@ -2650,7 +2662,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.name_.ClearToEmpty();
}
-inline const std::string& EnumValue::name() const {
+inline const std::string& EnumValue::name() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.EnumValue.name)
return _internal_name();
}
@@ -2662,7 +2675,7 @@
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.EnumValue.name)
}
-inline std::string* EnumValue::mutable_name() {
+inline std::string* EnumValue::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.name)
return _s;
@@ -2778,7 +2791,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.name_.ClearToEmpty();
}
-inline const std::string& Option::name() const {
+inline const std::string& Option::name() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.Option.name)
return _internal_name();
}
@@ -2790,7 +2804,7 @@
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.Option.name)
}
-inline std::string* Option::mutable_name() {
+inline std::string* Option::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.Option.name)
return _s;
diff --git a/src/google/protobuf/wrappers.pb.h b/src/google/protobuf/wrappers.pb.h
index 354517f..537fae2 100644
--- a/src/google/protobuf/wrappers.pb.h
+++ b/src/google/protobuf/wrappers.pb.h
@@ -1818,7 +1818,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.value_.ClearToEmpty();
}
-inline const std::string& StringValue::value() const {
+inline const std::string& StringValue::value() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.StringValue.value)
return _internal_value();
}
@@ -1830,7 +1831,7 @@
_impl_.value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.StringValue.value)
}
-inline std::string* StringValue::mutable_value() {
+inline std::string* StringValue::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_value();
// @@protoc_insertion_point(field_mutable:google.protobuf.StringValue.value)
return _s;
@@ -1874,7 +1875,8 @@
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.value_.ClearToEmpty();
}
-inline const std::string& BytesValue::value() const {
+inline const std::string& BytesValue::value() const
+ ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.BytesValue.value)
return _internal_value();
}
@@ -1886,7 +1888,7 @@
_impl_.value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.BytesValue.value)
}
-inline std::string* BytesValue::mutable_value() {
+inline std::string* BytesValue::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_value();
// @@protoc_insertion_point(field_mutable:google.protobuf.BytesValue.value)
return _s;