Auto-generate files after cl/559832961

pull/13673/head
Protobuf Team Bot 1 year ago
parent 18c338a699
commit 879a51285a
  1. 10
      src/google/protobuf/any.pb.h
  2. 35
      src/google/protobuf/api.pb.h
  3. 14
      src/google/protobuf/field_mask.pb.h
  4. 5
      src/google/protobuf/source_context.pb.h
  5. 5
      src/google/protobuf/struct.pb.h
  6. 64
      src/google/protobuf/type.pb.h
  7. 10
      src/google/protobuf/wrappers.pb.h

@ -317,7 +317,8 @@ inline void Any::clear_type_url() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Any::set_type_url(Arg_&& arg,
_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 @@ inline void Any::clear_value() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Any::set_value(Arg_&& arg,
_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;

@ -835,7 +835,8 @@ inline void Api::clear_name() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Api::set_name(Arg_&& arg,
_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 @@ inline void Api::clear_version() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Api::set_version(Arg_&& arg,
_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 @@ inline void Method::clear_name() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Method::set_name(Arg_&& arg,
_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 @@ inline void Method::clear_request_type_url() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Method::set_request_type_url(Arg_&& arg,
_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 @@ inline void Method::clear_response_type_url() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Method::set_response_type_url(Arg_&& arg,
_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 @@ inline void Mixin::clear_name() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Mixin::set_name(Arg_&& arg,
_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 @@ inline void Mixin::clear_root() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Mixin::set_root(Arg_&& arg,
_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;

@ -281,17 +281,20 @@ inline void FieldMask::clear_paths() {
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 @@ inline void FieldMask::add_paths(absl::string_view value) {
// @@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();

@ -263,7 +263,8 @@ inline void SourceContext::clear_file_name() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void SourceContext::set_file_name(Arg_&& arg,
_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;

@ -908,7 +908,8 @@ inline void Value::clear_string_value() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Value::set_string_value(Arg_&& arg,
_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;

@ -1535,7 +1535,8 @@ inline void Type::clear_name() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Type::set_name(Arg_&& arg,
_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 @@ inline void Type::clear_oneofs() {
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 @@ inline void Type::add_oneofs(absl::string_view value) {
// @@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 @@ inline void Type::clear_edition() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Type::set_edition(Arg_&& arg,
_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 @@ inline void Field::clear_name() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Field::set_name(Arg_&& arg,
_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 @@ inline void Field::clear_type_url() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Field::set_type_url(Arg_&& arg,
_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 @@ inline void Field::clear_json_name() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Field::set_json_name(Arg_&& arg,
_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 @@ inline void Field::clear_default_value() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Field::set_default_value(Arg_&& arg,
_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 @@ inline void Enum::clear_name() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Enum::set_name(Arg_&& arg,
_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 @@ inline void Enum::clear_edition() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Enum::set_edition(Arg_&& arg,
_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 @@ inline void EnumValue::clear_name() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void EnumValue::set_name(Arg_&& arg,
_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 @@ inline void Option::clear_name() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void Option::set_name(Arg_&& arg,
_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;

@ -1818,7 +1818,8 @@ inline void StringValue::clear_value() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void StringValue::set_value(Arg_&& arg,
_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 @@ inline void BytesValue::clear_value() {
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 @@ inline PROTOBUF_ALWAYS_INLINE void BytesValue::set_value(Arg_&& arg,
_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;

Loading…
Cancel
Save