Add `ABSL_ATTRIBUTE_LIFETIME_BOUND` attribute on generated string field accessors.

This allows the compiler to statically detect use-after-free bugs.

This change touches a subset of field types. More changes to follow.

PiperOrigin-RevId: 559832961
pull/13649/head
Protobuf Team Bot 2 years ago committed by Copybara-Service
parent aa0c2b18ac
commit 18c338a699
  1. 192
      src/google/protobuf/compiler/cpp/field_generators/cord_field.cc
  2. 19
      src/google/protobuf/compiler/cpp/field_generators/string_field.cc
  3. 44
      src/google/protobuf/compiler/plugin.pb.h
  4. 261
      src/google/protobuf/descriptor.pb.h

@ -196,38 +196,48 @@ void CordFieldGenerator::GenerateAccessorDeclarations(
void CordFieldGenerator::GenerateInlineAccessorDefinitions( void CordFieldGenerator::GenerateInlineAccessorDefinitions(
io::Printer* printer) const { io::Printer* printer) const {
Formatter format(printer, variables_); auto v = printer->WithVars(variables_);
format( printer->Emit(R"cc(
"inline const ::absl::Cord& $classname$::_internal_$name$() const {\n" inline const ::absl::Cord& $classname$::_internal_$name$() const {
" return $field$;\n" return $field$;
"}\n" }
"inline const ::absl::Cord& $classname$::$name$() const {\n" )cc");
"$annotate_get$" printer->Emit(R"cc(
" // @@protoc_insertion_point(field_get:$full_name$)\n" inline const ::absl::Cord& $classname$::$name$() const
" return _internal_$name$();\n" ABSL_ATTRIBUTE_LIFETIME_BOUND {
"}\n" $annotate_get$;
"inline void $classname$::_internal_set_$name$(const ::absl::Cord& " // @@protoc_insertion_point(field_get:$full_name$)
"value) {\n" return _internal_$name$();
" $set_hasbit$\n" }
" $field$ = value;\n" )cc");
"}\n" printer->Emit(R"cc(
"inline void $classname$::set_$name$(const ::absl::Cord& value) {\n" inline void $classname$::_internal_set_$name$(const ::absl::Cord& value) {
"$PrepareSplitMessageForWrite$" $set_hasbit$;
" _internal_set_$name$(value);\n" $field$ = value;
"$annotate_set$" }
" // @@protoc_insertion_point(field_set:$full_name$)\n" )cc");
"}\n" printer->Emit(R"cc(
"inline void $classname$::set_$name$(::absl::string_view value) {\n" inline void $classname$::set_$name$(const ::absl::Cord& value) {
"$PrepareSplitMessageForWrite$" $PrepareSplitMessageForWrite$ _internal_set_$name$(value);
" $set_hasbit$\n" $annotate_set$;
" $field$ = value;\n" // @@protoc_insertion_point(field_set:$full_name$)
"$annotate_set$" }
" // @@protoc_insertion_point(field_set_string_piece:$full_name$)\n" )cc");
"}\n" printer->Emit(R"cc(
"inline ::absl::Cord* $classname$::_internal_mutable_$name$() {\n" inline void $classname$::set_$name$(::absl::string_view value) {
" $set_hasbit$\n" $PrepareSplitMessageForWrite$;
" return &$field$;\n" $set_hasbit$;
"}\n"); $field$ = value;
$annotate_set$;
// @@protoc_insertion_point(field_set_string_piece:$full_name$)
}
)cc");
printer->Emit(R"cc(
inline ::absl::Cord* $classname$::_internal_mutable_$name$() {
$set_hasbit$;
return &$field$;
}
)cc");
} }
void CordFieldGenerator::GenerateClearingCode(io::Printer* printer) const { void CordFieldGenerator::GenerateClearingCode(io::Printer* printer) const {
@ -356,60 +366,70 @@ void CordOneofFieldGenerator::GenerateStaticMembers(
void CordOneofFieldGenerator::GenerateInlineAccessorDefinitions( void CordOneofFieldGenerator::GenerateInlineAccessorDefinitions(
io::Printer* printer) const { io::Printer* printer) const {
Formatter format(printer, variables_); auto v = printer->WithVars(variables_);
format( printer->Emit(R"cc(
"inline const ::absl::Cord& $classname$::_internal_$name$() const {\n" inline const ::absl::Cord& $classname$::_internal_$name$() const {
" if ($has_field$) {\n" if ($has_field$) {
" return *$field$;\n" return *$field$;
" }\n" }
" return $default_variable$;\n" return $default_variable$;
"}\n" }
"inline const ::absl::Cord& $classname$::$name$() const {\n" )cc");
"$annotate_get$" printer->Emit(R"cc(
" // @@protoc_insertion_point(field_get:$full_name$)\n" inline const ::absl::Cord& $classname$::$name$() const {
" return _internal_$name$();\n" $annotate_get$;
"}\n" // @@protoc_insertion_point(field_get:$full_name$)
"inline void $classname$::_internal_set_$name$(const ::absl::Cord& " return _internal_$name$();
"value) {\n" }
" if ($not_has_field$) {\n" )cc");
" clear_$oneof_name$();\n" printer->Emit(R"cc(
" set_has_$name$();\n" inline void $classname$::_internal_set_$name$(const ::absl::Cord& value) {
" $field$ = new ::absl::Cord;\n" if ($not_has_field$) {
" if (GetArenaForAllocation() != nullptr) {\n" clear_$oneof_name$();
" GetArenaForAllocation()->Own($field$);\n" set_has_$name$();
" }\n" $field$ = new ::absl::Cord;
" }\n" if (GetArenaForAllocation() != nullptr) {
" *$field$ = value;\n" GetArenaForAllocation()->Own($field$);
"}\n" }
"inline void $classname$::set_$name$(const ::absl::Cord& value) {\n" }
" _internal_set_$name$(value);\n" *$field$ = value;
"$annotate_set$" }
" // @@protoc_insertion_point(field_set:$full_name$)\n" )cc");
"}\n" printer->Emit(R"cc(
"inline void $classname$::set_$name$(::absl::string_view value) {\n" inline void $classname$::set_$name$(const ::absl::Cord& value) {
" if ($not_has_field$) {\n" _internal_set_$name$(value);
" clear_$oneof_name$();\n" $annotate_set$;
" set_has_$name$();\n" // @@protoc_insertion_point(field_set:$full_name$)
" $field$ = new ::absl::Cord;\n" }
" if (GetArenaForAllocation() != nullptr) {\n" )cc");
" GetArenaForAllocation()->Own($field$);\n" printer->Emit(R"cc(
" }\n" inline void $classname$::set_$name$(::absl::string_view value) {
" }\n" if ($not_has_field$) {
" *$field$ = value;\n" clear_$oneof_name$();
"$annotate_set$" set_has_$name$();
" // @@protoc_insertion_point(field_set_string_piece:$full_name$)\n" $field$ = new ::absl::Cord;
"}\n" if (GetArenaForAllocation() != nullptr) {
"inline ::absl::Cord* $classname$::_internal_mutable_$name$() {\n" GetArenaForAllocation()->Own($field$);
" if ($not_has_field$) {\n" }
" clear_$oneof_name$();\n" }
" set_has_$name$();\n" *$field$ = value;
" $field$ = new ::absl::Cord;\n" $annotate_set$;
" if (GetArenaForAllocation() != nullptr) {\n" // @@protoc_insertion_point(field_set_string_piece:$full_name$)
" GetArenaForAllocation()->Own($field$);\n" }
" }\n" )cc");
" }\n" printer->Emit(R"cc(
" return $field$;\n" inline ::absl::Cord* $classname$::_internal_mutable_$name$() {
"}\n"); if ($not_has_field$) {
clear_$oneof_name$();
set_has_$name$();
$field$ = new ::absl::Cord;
if (GetArenaForAllocation() != nullptr) {
GetArenaForAllocation()->Own($field$);
}
}
return $field$;
}
)cc");
} }
void CordOneofFieldGenerator::GenerateNonInlineAccessorDefinitions( void CordOneofFieldGenerator::GenerateNonInlineAccessorDefinitions(

@ -452,7 +452,8 @@ void SingularString::GenerateInlineAccessorDefinitions(io::Printer* p) const {
{"set_allocated_impl", [&] { SetAllocatedImpl(p); }}, {"set_allocated_impl", [&] { SetAllocatedImpl(p); }},
}, },
R"cc( R"cc(
inline const std::string& $Msg$::$name$() const { inline const std::string& $Msg$::$name$() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
$annotate_get$; $annotate_get$;
// @@protoc_insertion_point(field_get:$pkg.Msg.field$) // @@protoc_insertion_point(field_get:$pkg.Msg.field$)
$if_IsDefault$; $if_IsDefault$;
@ -468,7 +469,7 @@ void SingularString::GenerateInlineAccessorDefinitions(io::Printer* p) const {
$annotate_set$; $annotate_set$;
// @@protoc_insertion_point(field_set:$pkg.Msg.field$) // @@protoc_insertion_point(field_set:$pkg.Msg.field$)
} }
inline std::string* $Msg$::mutable_$name$() { inline std::string* $Msg$::mutable_$name$() ABSL_ATTRIBUTE_LIFETIME_BOUND {
$PrepareSplitMessageForWrite$; $PrepareSplitMessageForWrite$;
std::string* _s = _internal_mutable_$name$(); std::string* _s = _internal_mutable_$name$();
$annotate_mutable$; $annotate_mutable$;
@ -887,19 +888,22 @@ void RepeatedString::GenerateInlineAccessorDefinitions(io::Printer* p) const {
: ""); : "");
}}}, }}},
R"cc( R"cc(
inline std::string* $Msg$::add_$name$() { inline std::string* $Msg$::add_$name$()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
$TsanDetectConcurrentMutation$; $TsanDetectConcurrentMutation$;
std::string* _s = _internal_mutable_$name$()->Add(); std::string* _s = _internal_mutable_$name$()->Add();
$annotate_add_mutable$; $annotate_add_mutable$;
// @@protoc_insertion_point(field_add_mutable:$pkg.Msg.field$) // @@protoc_insertion_point(field_add_mutable:$pkg.Msg.field$)
return _s; return _s;
} }
inline const std::string& $Msg$::$name$(int index) const { inline const std::string& $Msg$::$name$(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
$annotate_get$; $annotate_get$;
// @@protoc_insertion_point(field_get:$pkg.Msg.field$) // @@protoc_insertion_point(field_get:$pkg.Msg.field$)
return _internal_$name$().$Get$(index$GetExtraArg$); return _internal_$name$().$Get$(index$GetExtraArg$);
} }
inline std::string* $Msg$::mutable_$name$(int index) { inline std::string* $Msg$::mutable_$name$(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
$annotate_mutable$; $annotate_mutable$;
// @@protoc_insertion_point(field_mutable:$pkg.Msg.field$) // @@protoc_insertion_point(field_mutable:$pkg.Msg.field$)
return _internal_mutable_$name$()->Mutable(index); return _internal_mutable_$name$()->Mutable(index);
@ -966,12 +970,13 @@ void RepeatedString::GenerateInlineAccessorDefinitions(io::Printer* p) const {
// @@protoc_insertion_point(field_add_string_piece:$pkg.Msg.field$) // @@protoc_insertion_point(field_add_string_piece:$pkg.Msg.field$)
} }
inline const ::$proto_ns$::RepeatedPtrField<std::string>& inline const ::$proto_ns$::RepeatedPtrField<std::string>&
$Msg$::$name$() const { $Msg$::$name$() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
$annotate_list$; $annotate_list$;
// @@protoc_insertion_point(field_list:$pkg.Msg.field$) // @@protoc_insertion_point(field_list:$pkg.Msg.field$)
return _internal_$name$(); return _internal_$name$();
} }
inline ::$proto_ns$::RepeatedPtrField<std::string>* $Msg$::mutable_$name$() { inline ::$proto_ns$::RepeatedPtrField<std::string>*
$Msg$::mutable_$name$() ABSL_ATTRIBUTE_LIFETIME_BOUND {
$annotate_mutable_list$; $annotate_mutable_list$;
// @@protoc_insertion_point(field_mutable_list:$pkg.Msg.field$) // @@protoc_insertion_point(field_mutable_list:$pkg.Msg.field$)
$TsanDetectConcurrentMutation$; $TsanDetectConcurrentMutation$;

@ -1165,7 +1165,8 @@ inline void Version::clear_suffix() {
_impl_.suffix_.ClearToEmpty(); _impl_.suffix_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& Version::suffix() const { inline const std::string& Version::suffix() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.suffix) // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.suffix)
return _internal_suffix(); return _internal_suffix();
} }
@ -1177,7 +1178,7 @@ inline PROTOBUF_ALWAYS_INLINE void Version::set_suffix(Arg_&& arg,
_impl_.suffix_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.suffix_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.suffix) // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.suffix)
} }
inline std::string* Version::mutable_suffix() { inline std::string* Version::mutable_suffix() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_suffix(); std::string* _s = _internal_mutable_suffix();
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.Version.suffix) // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.Version.suffix)
return _s; return _s;
@ -1240,17 +1241,20 @@ inline void CodeGeneratorRequest::clear_file_to_generate() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.file_to_generate_.Clear(); _impl_.file_to_generate_.Clear();
} }
inline std::string* CodeGeneratorRequest::add_file_to_generate() { inline std::string* CodeGeneratorRequest::add_file_to_generate()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
std::string* _s = _internal_mutable_file_to_generate()->Add(); std::string* _s = _internal_mutable_file_to_generate()->Add();
// @@protoc_insertion_point(field_add_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) // @@protoc_insertion_point(field_add_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
return _s; return _s;
} }
inline const std::string& CodeGeneratorRequest::file_to_generate(int index) const { inline const std::string& CodeGeneratorRequest::file_to_generate(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
return _internal_file_to_generate().Get(index); return _internal_file_to_generate().Get(index);
} }
inline std::string* CodeGeneratorRequest::mutable_file_to_generate(int index) { inline std::string* CodeGeneratorRequest::mutable_file_to_generate(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
return _internal_mutable_file_to_generate()->Mutable(index); return _internal_mutable_file_to_generate()->Mutable(index);
} }
@ -1306,11 +1310,12 @@ inline void CodeGeneratorRequest::add_file_to_generate(absl::string_view value)
// @@protoc_insertion_point(field_add_string_piece:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) // @@protoc_insertion_point(field_add_string_piece:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
} }
inline const ::google::protobuf::RepeatedPtrField<std::string>& inline const ::google::protobuf::RepeatedPtrField<std::string>&
CodeGeneratorRequest::file_to_generate() const { CodeGeneratorRequest::file_to_generate() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
return _internal_file_to_generate(); return _internal_file_to_generate();
} }
inline ::google::protobuf::RepeatedPtrField<std::string>* CodeGeneratorRequest::mutable_file_to_generate() { inline ::google::protobuf::RepeatedPtrField<std::string>*
CodeGeneratorRequest::mutable_file_to_generate() ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate) // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
return _internal_mutable_file_to_generate(); return _internal_mutable_file_to_generate();
@ -1336,7 +1341,8 @@ inline void CodeGeneratorRequest::clear_parameter() {
_impl_.parameter_.ClearToEmpty(); _impl_.parameter_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& CodeGeneratorRequest::parameter() const { inline const std::string& CodeGeneratorRequest::parameter() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.parameter) // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.parameter)
return _internal_parameter(); return _internal_parameter();
} }
@ -1348,7 +1354,7 @@ inline PROTOBUF_ALWAYS_INLINE void CodeGeneratorRequest::set_parameter(Arg_&& ar
_impl_.parameter_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.parameter_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.parameter) // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.parameter)
} }
inline std::string* CodeGeneratorRequest::mutable_parameter() { inline std::string* CodeGeneratorRequest::mutable_parameter() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_parameter(); std::string* _s = _internal_mutable_parameter();
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.parameter) // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.parameter)
return _s; return _s;
@ -1597,7 +1603,8 @@ inline void CodeGeneratorResponse_File::clear_name() {
_impl_.name_.ClearToEmpty(); _impl_.name_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& CodeGeneratorResponse_File::name() const { inline const std::string& CodeGeneratorResponse_File::name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.name) // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.name)
return _internal_name(); return _internal_name();
} }
@ -1609,7 +1616,7 @@ inline PROTOBUF_ALWAYS_INLINE void CodeGeneratorResponse_File::set_name(Arg_&& a
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.name) // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.name)
} }
inline std::string* CodeGeneratorResponse_File::mutable_name() { inline std::string* CodeGeneratorResponse_File::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name(); std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.name) // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.name)
return _s; return _s;
@ -1667,7 +1674,8 @@ inline void CodeGeneratorResponse_File::clear_insertion_point() {
_impl_.insertion_point_.ClearToEmpty(); _impl_.insertion_point_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000002u; _impl_._has_bits_[0] &= ~0x00000002u;
} }
inline const std::string& CodeGeneratorResponse_File::insertion_point() const { inline const std::string& CodeGeneratorResponse_File::insertion_point() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point) // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
return _internal_insertion_point(); return _internal_insertion_point();
} }
@ -1679,7 +1687,7 @@ inline PROTOBUF_ALWAYS_INLINE void CodeGeneratorResponse_File::set_insertion_poi
_impl_.insertion_point_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.insertion_point_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point) // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
} }
inline std::string* CodeGeneratorResponse_File::mutable_insertion_point() { inline std::string* CodeGeneratorResponse_File::mutable_insertion_point() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_insertion_point(); std::string* _s = _internal_mutable_insertion_point();
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point) // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
return _s; return _s;
@ -1737,7 +1745,8 @@ inline void CodeGeneratorResponse_File::clear_content() {
_impl_.content_.ClearToEmpty(); _impl_.content_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000004u; _impl_._has_bits_[0] &= ~0x00000004u;
} }
inline const std::string& CodeGeneratorResponse_File::content() const { inline const std::string& CodeGeneratorResponse_File::content() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.content) // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.content)
return _internal_content(); return _internal_content();
} }
@ -1749,7 +1758,7 @@ inline PROTOBUF_ALWAYS_INLINE void CodeGeneratorResponse_File::set_content(Arg_&
_impl_.content_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.content_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.content) // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.content)
} }
inline std::string* CodeGeneratorResponse_File::mutable_content() { inline std::string* CodeGeneratorResponse_File::mutable_content() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_content(); std::string* _s = _internal_mutable_content();
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.content) // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.content)
return _s; return _s;
@ -1903,7 +1912,8 @@ inline void CodeGeneratorResponse::clear_error() {
_impl_.error_.ClearToEmpty(); _impl_.error_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& CodeGeneratorResponse::error() const { inline const std::string& CodeGeneratorResponse::error() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.error) // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.error)
return _internal_error(); return _internal_error();
} }
@ -1915,7 +1925,7 @@ inline PROTOBUF_ALWAYS_INLINE void CodeGeneratorResponse::set_error(Arg_&& arg,
_impl_.error_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.error_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.error) // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.error)
} }
inline std::string* CodeGeneratorResponse::mutable_error() { inline std::string* CodeGeneratorResponse::mutable_error() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_error(); std::string* _s = _internal_mutable_error();
// @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.error) // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.error)
return _s; return _s;

@ -10346,7 +10346,8 @@ inline void FileDescriptorProto::clear_name() {
_impl_.name_.ClearToEmpty(); _impl_.name_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& FileDescriptorProto::name() const { inline const std::string& FileDescriptorProto::name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name) // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name)
return _internal_name(); return _internal_name();
} }
@ -10358,7 +10359,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_name(Arg_&& arg,
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name) // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name)
} }
inline std::string* FileDescriptorProto::mutable_name() { inline std::string* FileDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name(); std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name) // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name)
return _s; return _s;
@ -10416,7 +10417,8 @@ inline void FileDescriptorProto::clear_package() {
_impl_.package_.ClearToEmpty(); _impl_.package_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000002u; _impl_._has_bits_[0] &= ~0x00000002u;
} }
inline const std::string& FileDescriptorProto::package() const { inline const std::string& FileDescriptorProto::package() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package) // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package)
return _internal_package(); return _internal_package();
} }
@ -10428,7 +10430,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_package(Arg_&& arg,
_impl_.package_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.package_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package) // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package)
} }
inline std::string* FileDescriptorProto::mutable_package() { inline std::string* FileDescriptorProto::mutable_package() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_package(); std::string* _s = _internal_mutable_package();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package) // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package)
return _s; return _s;
@ -10487,17 +10489,20 @@ inline void FileDescriptorProto::clear_dependency() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.dependency_.Clear(); _impl_.dependency_.Clear();
} }
inline std::string* FileDescriptorProto::add_dependency() { inline std::string* FileDescriptorProto::add_dependency()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
std::string* _s = _internal_mutable_dependency()->Add(); std::string* _s = _internal_mutable_dependency()->Add();
// @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency) // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency)
return _s; return _s;
} }
inline const std::string& FileDescriptorProto::dependency(int index) const { inline const std::string& FileDescriptorProto::dependency(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency) // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency)
return _internal_dependency().Get(index); return _internal_dependency().Get(index);
} }
inline std::string* FileDescriptorProto::mutable_dependency(int index) { inline std::string* FileDescriptorProto::mutable_dependency(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency) // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency)
return _internal_mutable_dependency()->Mutable(index); return _internal_mutable_dependency()->Mutable(index);
} }
@ -10553,11 +10558,12 @@ inline void FileDescriptorProto::add_dependency(absl::string_view value) {
// @@protoc_insertion_point(field_add_string_piece:google.protobuf.FileDescriptorProto.dependency) // @@protoc_insertion_point(field_add_string_piece:google.protobuf.FileDescriptorProto.dependency)
} }
inline const ::google::protobuf::RepeatedPtrField<std::string>& inline const ::google::protobuf::RepeatedPtrField<std::string>&
FileDescriptorProto::dependency() const { FileDescriptorProto::dependency() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency) // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency)
return _internal_dependency(); return _internal_dependency();
} }
inline ::google::protobuf::RepeatedPtrField<std::string>* FileDescriptorProto::mutable_dependency() { inline ::google::protobuf::RepeatedPtrField<std::string>*
FileDescriptorProto::mutable_dependency() ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency) // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency)
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
return _internal_mutable_dependency(); return _internal_mutable_dependency();
@ -11059,7 +11065,8 @@ inline void FileDescriptorProto::clear_syntax() {
_impl_.syntax_.ClearToEmpty(); _impl_.syntax_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000004u; _impl_._has_bits_[0] &= ~0x00000004u;
} }
inline const std::string& FileDescriptorProto::syntax() const { inline const std::string& FileDescriptorProto::syntax() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax) // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax)
return _internal_syntax(); return _internal_syntax();
} }
@ -11071,7 +11078,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_syntax(Arg_&& arg,
_impl_.syntax_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.syntax_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax) // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax)
} }
inline std::string* FileDescriptorProto::mutable_syntax() { inline std::string* FileDescriptorProto::mutable_syntax() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_syntax(); std::string* _s = _internal_mutable_syntax();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax) // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax)
return _s; return _s;
@ -11129,7 +11136,8 @@ inline void FileDescriptorProto::clear_edition() {
_impl_.edition_.ClearToEmpty(); _impl_.edition_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000008u; _impl_._has_bits_[0] &= ~0x00000008u;
} }
inline const std::string& FileDescriptorProto::edition() const { inline const std::string& FileDescriptorProto::edition() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.edition) // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.edition)
return _internal_edition(); return _internal_edition();
} }
@ -11141,7 +11149,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_edition(Arg_&& arg,
_impl_.edition_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.edition_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.edition) // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.edition)
} }
inline std::string* FileDescriptorProto::mutable_edition() { inline std::string* FileDescriptorProto::mutable_edition() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_edition(); std::string* _s = _internal_mutable_edition();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.edition) // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.edition)
return _s; return _s;
@ -11420,7 +11428,8 @@ inline void DescriptorProto::clear_name() {
_impl_.name_.ClearToEmpty(); _impl_.name_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& DescriptorProto::name() const { inline const std::string& DescriptorProto::name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name)
return _internal_name(); return _internal_name();
} }
@ -11432,7 +11441,7 @@ inline PROTOBUF_ALWAYS_INLINE void DescriptorProto::set_name(Arg_&& arg,
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name)
} }
inline std::string* DescriptorProto::mutable_name() { inline std::string* DescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name(); std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name) // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name)
return _s; return _s;
@ -11931,17 +11940,20 @@ inline void DescriptorProto::clear_reserved_name() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.reserved_name_.Clear(); _impl_.reserved_name_.Clear();
} }
inline std::string* DescriptorProto::add_reserved_name() { inline std::string* DescriptorProto::add_reserved_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
std::string* _s = _internal_mutable_reserved_name()->Add(); std::string* _s = _internal_mutable_reserved_name()->Add();
// @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name) // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name)
return _s; return _s;
} }
inline const std::string& DescriptorProto::reserved_name(int index) const { inline const std::string& DescriptorProto::reserved_name(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name) // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name)
return _internal_reserved_name().Get(index); return _internal_reserved_name().Get(index);
} }
inline std::string* DescriptorProto::mutable_reserved_name(int index) { inline std::string* DescriptorProto::mutable_reserved_name(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name) // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name)
return _internal_mutable_reserved_name()->Mutable(index); return _internal_mutable_reserved_name()->Mutable(index);
} }
@ -11997,11 +12009,12 @@ inline void DescriptorProto::add_reserved_name(absl::string_view value) {
// @@protoc_insertion_point(field_add_string_piece:google.protobuf.DescriptorProto.reserved_name) // @@protoc_insertion_point(field_add_string_piece:google.protobuf.DescriptorProto.reserved_name)
} }
inline const ::google::protobuf::RepeatedPtrField<std::string>& inline const ::google::protobuf::RepeatedPtrField<std::string>&
DescriptorProto::reserved_name() const { DescriptorProto::reserved_name() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name) // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name)
return _internal_reserved_name(); return _internal_reserved_name();
} }
inline ::google::protobuf::RepeatedPtrField<std::string>* DescriptorProto::mutable_reserved_name() { inline ::google::protobuf::RepeatedPtrField<std::string>*
DescriptorProto::mutable_reserved_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name) // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name)
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
return _internal_mutable_reserved_name(); return _internal_mutable_reserved_name();
@ -12059,7 +12072,8 @@ inline void ExtensionRangeOptions_Declaration::clear_full_name() {
_impl_.full_name_.ClearToEmpty(); _impl_.full_name_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& ExtensionRangeOptions_Declaration::full_name() const { inline const std::string& ExtensionRangeOptions_Declaration::full_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.full_name) // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.full_name)
return _internal_full_name(); return _internal_full_name();
} }
@ -12071,7 +12085,7 @@ inline PROTOBUF_ALWAYS_INLINE void ExtensionRangeOptions_Declaration::set_full_n
_impl_.full_name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.full_name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.full_name) // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.full_name)
} }
inline std::string* ExtensionRangeOptions_Declaration::mutable_full_name() { inline std::string* ExtensionRangeOptions_Declaration::mutable_full_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_full_name(); std::string* _s = _internal_mutable_full_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.Declaration.full_name) // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.Declaration.full_name)
return _s; return _s;
@ -12129,7 +12143,8 @@ inline void ExtensionRangeOptions_Declaration::clear_type() {
_impl_.type_.ClearToEmpty(); _impl_.type_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000002u; _impl_._has_bits_[0] &= ~0x00000002u;
} }
inline const std::string& ExtensionRangeOptions_Declaration::type() const { inline const std::string& ExtensionRangeOptions_Declaration::type() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.type) // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.type)
return _internal_type(); return _internal_type();
} }
@ -12141,7 +12156,7 @@ inline PROTOBUF_ALWAYS_INLINE void ExtensionRangeOptions_Declaration::set_type(A
_impl_.type_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.type_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.type) // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.type)
} }
inline std::string* ExtensionRangeOptions_Declaration::mutable_type() { inline std::string* ExtensionRangeOptions_Declaration::mutable_type() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_type(); std::string* _s = _internal_mutable_type();
// @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.Declaration.type) // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.Declaration.type)
return _s; return _s;
@ -12487,7 +12502,8 @@ inline void FieldDescriptorProto::clear_name() {
_impl_.name_.ClearToEmpty(); _impl_.name_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& FieldDescriptorProto::name() const { inline const std::string& FieldDescriptorProto::name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name) // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name)
return _internal_name(); return _internal_name();
} }
@ -12499,7 +12515,7 @@ inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_name(Arg_&& arg,
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name) // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name)
} }
inline std::string* FieldDescriptorProto::mutable_name() { inline std::string* FieldDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name(); std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name) // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name)
return _s; return _s;
@ -12643,7 +12659,8 @@ inline void FieldDescriptorProto::clear_type_name() {
_impl_.type_name_.ClearToEmpty(); _impl_.type_name_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000004u; _impl_._has_bits_[0] &= ~0x00000004u;
} }
inline const std::string& FieldDescriptorProto::type_name() const { inline const std::string& FieldDescriptorProto::type_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name) // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name)
return _internal_type_name(); return _internal_type_name();
} }
@ -12655,7 +12672,7 @@ inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_type_name(Arg_&& ar
_impl_.type_name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.type_name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name) // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name)
} }
inline std::string* FieldDescriptorProto::mutable_type_name() { inline std::string* FieldDescriptorProto::mutable_type_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_type_name(); std::string* _s = _internal_mutable_type_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name) // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name)
return _s; return _s;
@ -12713,7 +12730,8 @@ inline void FieldDescriptorProto::clear_extendee() {
_impl_.extendee_.ClearToEmpty(); _impl_.extendee_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000002u; _impl_._has_bits_[0] &= ~0x00000002u;
} }
inline const std::string& FieldDescriptorProto::extendee() const { inline const std::string& FieldDescriptorProto::extendee() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee) // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee)
return _internal_extendee(); return _internal_extendee();
} }
@ -12725,7 +12743,7 @@ inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_extendee(Arg_&& arg
_impl_.extendee_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.extendee_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee) // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee)
} }
inline std::string* FieldDescriptorProto::mutable_extendee() { inline std::string* FieldDescriptorProto::mutable_extendee() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_extendee(); std::string* _s = _internal_mutable_extendee();
// @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee) // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee)
return _s; return _s;
@ -12783,7 +12801,8 @@ inline void FieldDescriptorProto::clear_default_value() {
_impl_.default_value_.ClearToEmpty(); _impl_.default_value_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000008u; _impl_._has_bits_[0] &= ~0x00000008u;
} }
inline const std::string& FieldDescriptorProto::default_value() const { inline const std::string& FieldDescriptorProto::default_value() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value) // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value)
return _internal_default_value(); return _internal_default_value();
} }
@ -12795,7 +12814,7 @@ inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_default_value(Arg_&
_impl_.default_value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.default_value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value) // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value)
} }
inline std::string* FieldDescriptorProto::mutable_default_value() { inline std::string* FieldDescriptorProto::mutable_default_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_default_value(); std::string* _s = _internal_mutable_default_value();
// @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value) // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value)
return _s; return _s;
@ -12881,7 +12900,8 @@ inline void FieldDescriptorProto::clear_json_name() {
_impl_.json_name_.ClearToEmpty(); _impl_.json_name_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000010u; _impl_._has_bits_[0] &= ~0x00000010u;
} }
inline const std::string& FieldDescriptorProto::json_name() const { inline const std::string& FieldDescriptorProto::json_name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name) // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name)
return _internal_json_name(); return _internal_json_name();
} }
@ -12893,7 +12913,7 @@ inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_json_name(Arg_&& ar
_impl_.json_name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.json_name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name) // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name)
} }
inline std::string* FieldDescriptorProto::mutable_json_name() { inline std::string* FieldDescriptorProto::mutable_json_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_json_name(); std::string* _s = _internal_mutable_json_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name) // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name)
return _s; return _s;
@ -13080,7 +13100,8 @@ inline void OneofDescriptorProto::clear_name() {
_impl_.name_.ClearToEmpty(); _impl_.name_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& OneofDescriptorProto::name() const { inline const std::string& OneofDescriptorProto::name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name) // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name)
return _internal_name(); return _internal_name();
} }
@ -13092,7 +13113,7 @@ inline PROTOBUF_ALWAYS_INLINE void OneofDescriptorProto::set_name(Arg_&& arg,
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name) // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name)
} }
inline std::string* OneofDescriptorProto::mutable_name() { inline std::string* OneofDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name(); std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name) // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name)
return _s; return _s;
@ -13311,7 +13332,8 @@ inline void EnumDescriptorProto::clear_name() {
_impl_.name_.ClearToEmpty(); _impl_.name_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& EnumDescriptorProto::name() const { inline const std::string& EnumDescriptorProto::name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name) // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name)
return _internal_name(); return _internal_name();
} }
@ -13323,7 +13345,7 @@ inline PROTOBUF_ALWAYS_INLINE void EnumDescriptorProto::set_name(Arg_&& arg,
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name) // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name)
} }
inline std::string* EnumDescriptorProto::mutable_name() { inline std::string* EnumDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name(); std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name) // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name)
return _s; return _s;
@ -13577,17 +13599,20 @@ inline void EnumDescriptorProto::clear_reserved_name() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.reserved_name_.Clear(); _impl_.reserved_name_.Clear();
} }
inline std::string* EnumDescriptorProto::add_reserved_name() { inline std::string* EnumDescriptorProto::add_reserved_name()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
std::string* _s = _internal_mutable_reserved_name()->Add(); std::string* _s = _internal_mutable_reserved_name()->Add();
// @@protoc_insertion_point(field_add_mutable:google.protobuf.EnumDescriptorProto.reserved_name) // @@protoc_insertion_point(field_add_mutable:google.protobuf.EnumDescriptorProto.reserved_name)
return _s; return _s;
} }
inline const std::string& EnumDescriptorProto::reserved_name(int index) const { inline const std::string& EnumDescriptorProto::reserved_name(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_name) // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_name)
return _internal_reserved_name().Get(index); return _internal_reserved_name().Get(index);
} }
inline std::string* EnumDescriptorProto::mutable_reserved_name(int index) { inline std::string* EnumDescriptorProto::mutable_reserved_name(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_name) // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_name)
return _internal_mutable_reserved_name()->Mutable(index); return _internal_mutable_reserved_name()->Mutable(index);
} }
@ -13643,11 +13668,12 @@ inline void EnumDescriptorProto::add_reserved_name(absl::string_view value) {
// @@protoc_insertion_point(field_add_string_piece:google.protobuf.EnumDescriptorProto.reserved_name) // @@protoc_insertion_point(field_add_string_piece:google.protobuf.EnumDescriptorProto.reserved_name)
} }
inline const ::google::protobuf::RepeatedPtrField<std::string>& inline const ::google::protobuf::RepeatedPtrField<std::string>&
EnumDescriptorProto::reserved_name() const { EnumDescriptorProto::reserved_name() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_name) // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_name)
return _internal_reserved_name(); return _internal_reserved_name();
} }
inline ::google::protobuf::RepeatedPtrField<std::string>* EnumDescriptorProto::mutable_reserved_name() { inline ::google::protobuf::RepeatedPtrField<std::string>*
EnumDescriptorProto::mutable_reserved_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_name) // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_name)
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
return _internal_mutable_reserved_name(); return _internal_mutable_reserved_name();
@ -13677,7 +13703,8 @@ inline void EnumValueDescriptorProto::clear_name() {
_impl_.name_.ClearToEmpty(); _impl_.name_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& EnumValueDescriptorProto::name() const { inline const std::string& EnumValueDescriptorProto::name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name) // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name)
return _internal_name(); return _internal_name();
} }
@ -13689,7 +13716,7 @@ inline PROTOBUF_ALWAYS_INLINE void EnumValueDescriptorProto::set_name(Arg_&& arg
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name) // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name)
} }
inline std::string* EnumValueDescriptorProto::mutable_name() { inline std::string* EnumValueDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name(); std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name) // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name)
return _s; return _s;
@ -13876,7 +13903,8 @@ inline void ServiceDescriptorProto::clear_name() {
_impl_.name_.ClearToEmpty(); _impl_.name_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& ServiceDescriptorProto::name() const { inline const std::string& ServiceDescriptorProto::name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name) // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name)
return _internal_name(); return _internal_name();
} }
@ -13888,7 +13916,7 @@ inline PROTOBUF_ALWAYS_INLINE void ServiceDescriptorProto::set_name(Arg_&& arg,
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name) // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name)
} }
inline std::string* ServiceDescriptorProto::mutable_name() { inline std::string* ServiceDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name(); std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name) // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name)
return _s; return _s;
@ -14096,7 +14124,8 @@ inline void MethodDescriptorProto::clear_name() {
_impl_.name_.ClearToEmpty(); _impl_.name_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& MethodDescriptorProto::name() const { inline const std::string& MethodDescriptorProto::name() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name) // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name)
return _internal_name(); return _internal_name();
} }
@ -14108,7 +14137,7 @@ inline PROTOBUF_ALWAYS_INLINE void MethodDescriptorProto::set_name(Arg_&& arg,
_impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name) // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name)
} }
inline std::string* MethodDescriptorProto::mutable_name() { inline std::string* MethodDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name(); std::string* _s = _internal_mutable_name();
// @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name) // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name)
return _s; return _s;
@ -14166,7 +14195,8 @@ inline void MethodDescriptorProto::clear_input_type() {
_impl_.input_type_.ClearToEmpty(); _impl_.input_type_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000002u; _impl_._has_bits_[0] &= ~0x00000002u;
} }
inline const std::string& MethodDescriptorProto::input_type() const { inline const std::string& MethodDescriptorProto::input_type() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type) // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type)
return _internal_input_type(); return _internal_input_type();
} }
@ -14178,7 +14208,7 @@ inline PROTOBUF_ALWAYS_INLINE void MethodDescriptorProto::set_input_type(Arg_&&
_impl_.input_type_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.input_type_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type) // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type)
} }
inline std::string* MethodDescriptorProto::mutable_input_type() { inline std::string* MethodDescriptorProto::mutable_input_type() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_input_type(); std::string* _s = _internal_mutable_input_type();
// @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type) // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type)
return _s; return _s;
@ -14236,7 +14266,8 @@ inline void MethodDescriptorProto::clear_output_type() {
_impl_.output_type_.ClearToEmpty(); _impl_.output_type_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000004u; _impl_._has_bits_[0] &= ~0x00000004u;
} }
inline const std::string& MethodDescriptorProto::output_type() const { inline const std::string& MethodDescriptorProto::output_type() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type) // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type)
return _internal_output_type(); return _internal_output_type();
} }
@ -14248,7 +14279,7 @@ inline PROTOBUF_ALWAYS_INLINE void MethodDescriptorProto::set_output_type(Arg_&&
_impl_.output_type_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.output_type_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type) // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type)
} }
inline std::string* MethodDescriptorProto::mutable_output_type() { inline std::string* MethodDescriptorProto::mutable_output_type() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_output_type(); std::string* _s = _internal_mutable_output_type();
// @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type) // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type)
return _s; return _s;
@ -14463,7 +14494,8 @@ inline void FileOptions::clear_java_package() {
_impl_.java_package_.ClearToEmpty(); _impl_.java_package_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& FileOptions::java_package() const { inline const std::string& FileOptions::java_package() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package) // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package)
return _internal_java_package(); return _internal_java_package();
} }
@ -14475,7 +14507,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_java_package(Arg_&& arg,
_impl_.java_package_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.java_package_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package) // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package)
} }
inline std::string* FileOptions::mutable_java_package() { inline std::string* FileOptions::mutable_java_package() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_java_package(); std::string* _s = _internal_mutable_java_package();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package) // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package)
return _s; return _s;
@ -14533,7 +14565,8 @@ inline void FileOptions::clear_java_outer_classname() {
_impl_.java_outer_classname_.ClearToEmpty(); _impl_.java_outer_classname_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000002u; _impl_._has_bits_[0] &= ~0x00000002u;
} }
inline const std::string& FileOptions::java_outer_classname() const { inline const std::string& FileOptions::java_outer_classname() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname) // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname)
return _internal_java_outer_classname(); return _internal_java_outer_classname();
} }
@ -14545,7 +14578,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_java_outer_classname(Arg_&&
_impl_.java_outer_classname_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.java_outer_classname_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname) // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname)
} }
inline std::string* FileOptions::mutable_java_outer_classname() { inline std::string* FileOptions::mutable_java_outer_classname() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_java_outer_classname(); std::string* _s = _internal_mutable_java_outer_classname();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname) // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname)
return _s; return _s;
@ -14716,7 +14749,8 @@ inline void FileOptions::clear_go_package() {
_impl_.go_package_.ClearToEmpty(); _impl_.go_package_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000004u; _impl_._has_bits_[0] &= ~0x00000004u;
} }
inline const std::string& FileOptions::go_package() const { inline const std::string& FileOptions::go_package() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package)
return _internal_go_package(); return _internal_go_package();
} }
@ -14728,7 +14762,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_go_package(Arg_&& arg,
_impl_.go_package_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.go_package_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package)
} }
inline std::string* FileOptions::mutable_go_package() { inline std::string* FileOptions::mutable_go_package() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_go_package(); std::string* _s = _internal_mutable_go_package();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package) // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package)
return _s; return _s;
@ -14954,7 +14988,8 @@ inline void FileOptions::clear_objc_class_prefix() {
_impl_.objc_class_prefix_.ClearToEmpty(); _impl_.objc_class_prefix_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000008u; _impl_._has_bits_[0] &= ~0x00000008u;
} }
inline const std::string& FileOptions::objc_class_prefix() const { inline const std::string& FileOptions::objc_class_prefix() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix) // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix)
return _internal_objc_class_prefix(); return _internal_objc_class_prefix();
} }
@ -14966,7 +15001,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_objc_class_prefix(Arg_&& arg
_impl_.objc_class_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.objc_class_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix) // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix)
} }
inline std::string* FileOptions::mutable_objc_class_prefix() { inline std::string* FileOptions::mutable_objc_class_prefix() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_objc_class_prefix(); std::string* _s = _internal_mutable_objc_class_prefix();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix) // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix)
return _s; return _s;
@ -15024,7 +15059,8 @@ inline void FileOptions::clear_csharp_namespace() {
_impl_.csharp_namespace_.ClearToEmpty(); _impl_.csharp_namespace_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000010u; _impl_._has_bits_[0] &= ~0x00000010u;
} }
inline const std::string& FileOptions::csharp_namespace() const { inline const std::string& FileOptions::csharp_namespace() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace) // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace)
return _internal_csharp_namespace(); return _internal_csharp_namespace();
} }
@ -15036,7 +15072,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_csharp_namespace(Arg_&& arg,
_impl_.csharp_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.csharp_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace) // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace)
} }
inline std::string* FileOptions::mutable_csharp_namespace() { inline std::string* FileOptions::mutable_csharp_namespace() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_csharp_namespace(); std::string* _s = _internal_mutable_csharp_namespace();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace) // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace)
return _s; return _s;
@ -15094,7 +15130,8 @@ inline void FileOptions::clear_swift_prefix() {
_impl_.swift_prefix_.ClearToEmpty(); _impl_.swift_prefix_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000020u; _impl_._has_bits_[0] &= ~0x00000020u;
} }
inline const std::string& FileOptions::swift_prefix() const { inline const std::string& FileOptions::swift_prefix() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix) // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix)
return _internal_swift_prefix(); return _internal_swift_prefix();
} }
@ -15106,7 +15143,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_swift_prefix(Arg_&& arg,
_impl_.swift_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.swift_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix) // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix)
} }
inline std::string* FileOptions::mutable_swift_prefix() { inline std::string* FileOptions::mutable_swift_prefix() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_swift_prefix(); std::string* _s = _internal_mutable_swift_prefix();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_prefix) // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_prefix)
return _s; return _s;
@ -15164,7 +15201,8 @@ inline void FileOptions::clear_php_class_prefix() {
_impl_.php_class_prefix_.ClearToEmpty(); _impl_.php_class_prefix_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000040u; _impl_._has_bits_[0] &= ~0x00000040u;
} }
inline const std::string& FileOptions::php_class_prefix() const { inline const std::string& FileOptions::php_class_prefix() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_class_prefix) // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_class_prefix)
return _internal_php_class_prefix(); return _internal_php_class_prefix();
} }
@ -15176,7 +15214,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_php_class_prefix(Arg_&& arg,
_impl_.php_class_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.php_class_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_class_prefix) // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_class_prefix)
} }
inline std::string* FileOptions::mutable_php_class_prefix() { inline std::string* FileOptions::mutable_php_class_prefix() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_php_class_prefix(); std::string* _s = _internal_mutable_php_class_prefix();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_class_prefix) // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_class_prefix)
return _s; return _s;
@ -15234,7 +15272,8 @@ inline void FileOptions::clear_php_namespace() {
_impl_.php_namespace_.ClearToEmpty(); _impl_.php_namespace_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000080u; _impl_._has_bits_[0] &= ~0x00000080u;
} }
inline const std::string& FileOptions::php_namespace() const { inline const std::string& FileOptions::php_namespace() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_namespace) // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_namespace)
return _internal_php_namespace(); return _internal_php_namespace();
} }
@ -15246,7 +15285,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_php_namespace(Arg_&& arg,
_impl_.php_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.php_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_namespace) // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_namespace)
} }
inline std::string* FileOptions::mutable_php_namespace() { inline std::string* FileOptions::mutable_php_namespace() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_php_namespace(); std::string* _s = _internal_mutable_php_namespace();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_namespace) // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_namespace)
return _s; return _s;
@ -15304,7 +15343,8 @@ inline void FileOptions::clear_php_metadata_namespace() {
_impl_.php_metadata_namespace_.ClearToEmpty(); _impl_.php_metadata_namespace_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000100u; _impl_._has_bits_[0] &= ~0x00000100u;
} }
inline const std::string& FileOptions::php_metadata_namespace() const { inline const std::string& FileOptions::php_metadata_namespace() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_metadata_namespace) // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_metadata_namespace)
return _internal_php_metadata_namespace(); return _internal_php_metadata_namespace();
} }
@ -15316,7 +15356,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_php_metadata_namespace(Arg_&
_impl_.php_metadata_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.php_metadata_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_metadata_namespace) // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_metadata_namespace)
} }
inline std::string* FileOptions::mutable_php_metadata_namespace() { inline std::string* FileOptions::mutable_php_metadata_namespace() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_php_metadata_namespace(); std::string* _s = _internal_mutable_php_metadata_namespace();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_metadata_namespace) // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_metadata_namespace)
return _s; return _s;
@ -15374,7 +15414,8 @@ inline void FileOptions::clear_ruby_package() {
_impl_.ruby_package_.ClearToEmpty(); _impl_.ruby_package_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000200u; _impl_._has_bits_[0] &= ~0x00000200u;
} }
inline const std::string& FileOptions::ruby_package() const { inline const std::string& FileOptions::ruby_package() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FileOptions.ruby_package) // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.ruby_package)
return _internal_ruby_package(); return _internal_ruby_package();
} }
@ -15386,7 +15427,7 @@ inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_ruby_package(Arg_&& arg,
_impl_.ruby_package_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.ruby_package_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FileOptions.ruby_package) // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.ruby_package)
} }
inline std::string* FileOptions::mutable_ruby_package() { inline std::string* FileOptions::mutable_ruby_package() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_ruby_package(); std::string* _s = _internal_mutable_ruby_package();
// @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.ruby_package) // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.ruby_package)
return _s; return _s;
@ -15884,7 +15925,8 @@ inline void FieldOptions_EditionDefault::clear_edition() {
_impl_.edition_.ClearToEmpty(); _impl_.edition_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& FieldOptions_EditionDefault::edition() const { inline const std::string& FieldOptions_EditionDefault::edition() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.EditionDefault.edition) // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.EditionDefault.edition)
return _internal_edition(); return _internal_edition();
} }
@ -15896,7 +15938,7 @@ inline PROTOBUF_ALWAYS_INLINE void FieldOptions_EditionDefault::set_edition(Arg_
_impl_.edition_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.edition_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.EditionDefault.edition) // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.EditionDefault.edition)
} }
inline std::string* FieldOptions_EditionDefault::mutable_edition() { inline std::string* FieldOptions_EditionDefault::mutable_edition() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_edition(); std::string* _s = _internal_mutable_edition();
// @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.EditionDefault.edition) // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.EditionDefault.edition)
return _s; return _s;
@ -15954,7 +15996,8 @@ inline void FieldOptions_EditionDefault::clear_value() {
_impl_.value_.ClearToEmpty(); _impl_.value_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000002u; _impl_._has_bits_[0] &= ~0x00000002u;
} }
inline const std::string& FieldOptions_EditionDefault::value() const { inline const std::string& FieldOptions_EditionDefault::value() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.EditionDefault.value) // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.EditionDefault.value)
return _internal_value(); return _internal_value();
} }
@ -15966,7 +16009,7 @@ inline PROTOBUF_ALWAYS_INLINE void FieldOptions_EditionDefault::set_value(Arg_&&
_impl_.value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.EditionDefault.value) // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.EditionDefault.value)
} }
inline std::string* FieldOptions_EditionDefault::mutable_value() { inline std::string* FieldOptions_EditionDefault::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_value(); std::string* _s = _internal_mutable_value();
// @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.EditionDefault.value) // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.EditionDefault.value)
return _s; return _s;
@ -17501,7 +17544,8 @@ inline void UninterpretedOption_NamePart::clear_name_part() {
_impl_.name_part_.ClearToEmpty(); _impl_.name_part_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& UninterpretedOption_NamePart::name_part() const { inline const std::string& UninterpretedOption_NamePart::name_part() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part) // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part)
return _internal_name_part(); return _internal_name_part();
} }
@ -17513,7 +17557,7 @@ inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption_NamePart::set_name_part(A
_impl_.name_part_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.name_part_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part) // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part)
} }
inline std::string* UninterpretedOption_NamePart::mutable_name_part() { inline std::string* UninterpretedOption_NamePart::mutable_name_part() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_name_part(); std::string* _s = _internal_mutable_name_part();
// @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part) // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part)
return _s; return _s;
@ -17652,7 +17696,8 @@ inline void UninterpretedOption::clear_identifier_value() {
_impl_.identifier_value_.ClearToEmpty(); _impl_.identifier_value_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& UninterpretedOption::identifier_value() const { inline const std::string& UninterpretedOption::identifier_value() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value) // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value)
return _internal_identifier_value(); return _internal_identifier_value();
} }
@ -17664,7 +17709,7 @@ inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption::set_identifier_value(Arg
_impl_.identifier_value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.identifier_value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value) // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value)
} }
inline std::string* UninterpretedOption::mutable_identifier_value() { inline std::string* UninterpretedOption::mutable_identifier_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_identifier_value(); std::string* _s = _internal_mutable_identifier_value();
// @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value) // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value)
return _s; return _s;
@ -17806,7 +17851,8 @@ inline void UninterpretedOption::clear_string_value() {
_impl_.string_value_.ClearToEmpty(); _impl_.string_value_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000002u; _impl_._has_bits_[0] &= ~0x00000002u;
} }
inline const std::string& UninterpretedOption::string_value() const { inline const std::string& UninterpretedOption::string_value() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value) // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value)
return _internal_string_value(); return _internal_string_value();
} }
@ -17818,7 +17864,7 @@ inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption::set_string_value(Arg_&&
_impl_.string_value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.string_value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value) // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value)
} }
inline std::string* UninterpretedOption::mutable_string_value() { inline std::string* UninterpretedOption::mutable_string_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_string_value(); std::string* _s = _internal_mutable_string_value();
// @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value) // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value)
return _s; return _s;
@ -17876,7 +17922,8 @@ inline void UninterpretedOption::clear_aggregate_value() {
_impl_.aggregate_value_.ClearToEmpty(); _impl_.aggregate_value_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000004u; _impl_._has_bits_[0] &= ~0x00000004u;
} }
inline const std::string& UninterpretedOption::aggregate_value() const { inline const std::string& UninterpretedOption::aggregate_value() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value) // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value)
return _internal_aggregate_value(); return _internal_aggregate_value();
} }
@ -17888,7 +17935,7 @@ inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption::set_aggregate_value(Arg_
_impl_.aggregate_value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.aggregate_value_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value) // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value)
} }
inline std::string* UninterpretedOption::mutable_aggregate_value() { inline std::string* UninterpretedOption::mutable_aggregate_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_aggregate_value(); std::string* _s = _internal_mutable_aggregate_value();
// @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value) // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value)
return _s; return _s;
@ -18099,7 +18146,8 @@ inline void FeatureSetDefaults_FeatureSetEditionDefault::clear_edition() {
_impl_.edition_.ClearToEmpty(); _impl_.edition_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& FeatureSetDefaults_FeatureSetEditionDefault::edition() const { inline const std::string& FeatureSetDefaults_FeatureSetEditionDefault::edition() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition) // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition)
return _internal_edition(); return _internal_edition();
} }
@ -18111,7 +18159,7 @@ inline PROTOBUF_ALWAYS_INLINE void FeatureSetDefaults_FeatureSetEditionDefault::
_impl_.edition_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.edition_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition) // @@protoc_insertion_point(field_set:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition)
} }
inline std::string* FeatureSetDefaults_FeatureSetEditionDefault::mutable_edition() { inline std::string* FeatureSetDefaults_FeatureSetEditionDefault::mutable_edition() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_edition(); std::string* _s = _internal_mutable_edition();
// @@protoc_insertion_point(field_mutable:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition) // @@protoc_insertion_point(field_mutable:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition)
return _s; return _s;
@ -18319,7 +18367,8 @@ inline void FeatureSetDefaults::clear_minimum_edition() {
_impl_.minimum_edition_.ClearToEmpty(); _impl_.minimum_edition_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& FeatureSetDefaults::minimum_edition() const { inline const std::string& FeatureSetDefaults::minimum_edition() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.minimum_edition) // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.minimum_edition)
return _internal_minimum_edition(); return _internal_minimum_edition();
} }
@ -18331,7 +18380,7 @@ inline PROTOBUF_ALWAYS_INLINE void FeatureSetDefaults::set_minimum_edition(Arg_&
_impl_.minimum_edition_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.minimum_edition_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FeatureSetDefaults.minimum_edition) // @@protoc_insertion_point(field_set:google.protobuf.FeatureSetDefaults.minimum_edition)
} }
inline std::string* FeatureSetDefaults::mutable_minimum_edition() { inline std::string* FeatureSetDefaults::mutable_minimum_edition() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_minimum_edition(); std::string* _s = _internal_mutable_minimum_edition();
// @@protoc_insertion_point(field_mutable:google.protobuf.FeatureSetDefaults.minimum_edition) // @@protoc_insertion_point(field_mutable:google.protobuf.FeatureSetDefaults.minimum_edition)
return _s; return _s;
@ -18389,7 +18438,8 @@ inline void FeatureSetDefaults::clear_maximum_edition() {
_impl_.maximum_edition_.ClearToEmpty(); _impl_.maximum_edition_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000002u; _impl_._has_bits_[0] &= ~0x00000002u;
} }
inline const std::string& FeatureSetDefaults::maximum_edition() const { inline const std::string& FeatureSetDefaults::maximum_edition() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.maximum_edition) // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.maximum_edition)
return _internal_maximum_edition(); return _internal_maximum_edition();
} }
@ -18401,7 +18451,7 @@ inline PROTOBUF_ALWAYS_INLINE void FeatureSetDefaults::set_maximum_edition(Arg_&
_impl_.maximum_edition_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.maximum_edition_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.FeatureSetDefaults.maximum_edition) // @@protoc_insertion_point(field_set:google.protobuf.FeatureSetDefaults.maximum_edition)
} }
inline std::string* FeatureSetDefaults::mutable_maximum_edition() { inline std::string* FeatureSetDefaults::mutable_maximum_edition() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_maximum_edition(); std::string* _s = _internal_mutable_maximum_edition();
// @@protoc_insertion_point(field_mutable:google.protobuf.FeatureSetDefaults.maximum_edition) // @@protoc_insertion_point(field_mutable:google.protobuf.FeatureSetDefaults.maximum_edition)
return _s; return _s;
@ -18549,7 +18599,8 @@ inline void SourceCodeInfo_Location::clear_leading_comments() {
_impl_.leading_comments_.ClearToEmpty(); _impl_.leading_comments_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& SourceCodeInfo_Location::leading_comments() const { inline const std::string& SourceCodeInfo_Location::leading_comments() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments) // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments)
return _internal_leading_comments(); return _internal_leading_comments();
} }
@ -18561,7 +18612,7 @@ inline PROTOBUF_ALWAYS_INLINE void SourceCodeInfo_Location::set_leading_comments
_impl_.leading_comments_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.leading_comments_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments) // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments)
} }
inline std::string* SourceCodeInfo_Location::mutable_leading_comments() { inline std::string* SourceCodeInfo_Location::mutable_leading_comments() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_leading_comments(); std::string* _s = _internal_mutable_leading_comments();
// @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments) // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments)
return _s; return _s;
@ -18619,7 +18670,8 @@ inline void SourceCodeInfo_Location::clear_trailing_comments() {
_impl_.trailing_comments_.ClearToEmpty(); _impl_.trailing_comments_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000002u; _impl_._has_bits_[0] &= ~0x00000002u;
} }
inline const std::string& SourceCodeInfo_Location::trailing_comments() const { inline const std::string& SourceCodeInfo_Location::trailing_comments() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments) // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments)
return _internal_trailing_comments(); return _internal_trailing_comments();
} }
@ -18631,7 +18683,7 @@ inline PROTOBUF_ALWAYS_INLINE void SourceCodeInfo_Location::set_trailing_comment
_impl_.trailing_comments_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.trailing_comments_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments) // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments)
} }
inline std::string* SourceCodeInfo_Location::mutable_trailing_comments() { inline std::string* SourceCodeInfo_Location::mutable_trailing_comments() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_trailing_comments(); std::string* _s = _internal_mutable_trailing_comments();
// @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments) // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments)
return _s; return _s;
@ -18690,17 +18742,20 @@ inline void SourceCodeInfo_Location::clear_leading_detached_comments() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.leading_detached_comments_.Clear(); _impl_.leading_detached_comments_.Clear();
} }
inline std::string* SourceCodeInfo_Location::add_leading_detached_comments() { inline std::string* SourceCodeInfo_Location::add_leading_detached_comments()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
std::string* _s = _internal_mutable_leading_detached_comments()->Add(); std::string* _s = _internal_mutable_leading_detached_comments()->Add();
// @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
return _s; return _s;
} }
inline const std::string& SourceCodeInfo_Location::leading_detached_comments(int index) const { inline const std::string& SourceCodeInfo_Location::leading_detached_comments(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
return _internal_leading_detached_comments().Get(index); return _internal_leading_detached_comments().Get(index);
} }
inline std::string* SourceCodeInfo_Location::mutable_leading_detached_comments(int index) { inline std::string* SourceCodeInfo_Location::mutable_leading_detached_comments(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
return _internal_mutable_leading_detached_comments()->Mutable(index); return _internal_mutable_leading_detached_comments()->Mutable(index);
} }
@ -18756,11 +18811,12 @@ inline void SourceCodeInfo_Location::add_leading_detached_comments(absl::string_
// @@protoc_insertion_point(field_add_string_piece:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) // @@protoc_insertion_point(field_add_string_piece:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
} }
inline const ::google::protobuf::RepeatedPtrField<std::string>& inline const ::google::protobuf::RepeatedPtrField<std::string>&
SourceCodeInfo_Location::leading_detached_comments() const { SourceCodeInfo_Location::leading_detached_comments() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
return _internal_leading_detached_comments(); return _internal_leading_detached_comments();
} }
inline ::google::protobuf::RepeatedPtrField<std::string>* SourceCodeInfo_Location::mutable_leading_detached_comments() { inline ::google::protobuf::RepeatedPtrField<std::string>*
SourceCodeInfo_Location::mutable_leading_detached_comments() ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
return _internal_mutable_leading_detached_comments(); return _internal_mutable_leading_detached_comments();
@ -18886,7 +18942,8 @@ inline void GeneratedCodeInfo_Annotation::clear_source_file() {
_impl_.source_file_.ClearToEmpty(); _impl_.source_file_.ClearToEmpty();
_impl_._has_bits_[0] &= ~0x00000001u; _impl_._has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& GeneratedCodeInfo_Annotation::source_file() const { inline const std::string& GeneratedCodeInfo_Annotation::source_file() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file) // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
return _internal_source_file(); return _internal_source_file();
} }
@ -18898,7 +18955,7 @@ inline PROTOBUF_ALWAYS_INLINE void GeneratedCodeInfo_Annotation::set_source_file
_impl_.source_file_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation()); _impl_.source_file_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file) // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
} }
inline std::string* GeneratedCodeInfo_Annotation::mutable_source_file() { inline std::string* GeneratedCodeInfo_Annotation::mutable_source_file() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_source_file(); std::string* _s = _internal_mutable_source_file();
// @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file) // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
return _s; return _s;

Loading…
Cancel
Save