Auto-generate files after cl/502028351

pull/11556/head
Protobuf Team Bot 2 years ago
parent 0968ecfb7a
commit 7679378c7f
  1. 10
      src/google/protobuf/field_mask.pb.h
  2. 10
      src/google/protobuf/type.pb.h

@ -199,11 +199,13 @@ class PROTOBUF_EXPORT FieldMask final :
void set_paths(int index, const std::string& value);
void set_paths(int index, std::string&& value);
void set_paths(int index, const char* value);
void set_paths(int index, absl::string_view value);
void set_paths(int index, const char* value, ::size_t size);
std::string* add_paths();
void add_paths(const std::string& value);
void add_paths(std::string&& value);
void add_paths(const char* value);
void add_paths(absl::string_view value);
void add_paths(const char* value, ::size_t size);
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& paths() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_paths();
@ -280,6 +282,10 @@ inline void FieldMask::set_paths(int index, const char* value) {
GOOGLE_ABSL_DCHECK(value != nullptr); _impl_.paths_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set_char:google.protobuf.FieldMask.paths)
}
inline void FieldMask::set_paths(int index, absl::string_view value) {
_impl_.paths_.Mutable(index)->assign(value.data(), value.size());
// @@protoc_insertion_point(field_set_string_piece:google.protobuf.FieldMask.paths)
}
inline void FieldMask::set_paths(int index, const char* value, ::size_t size) {
_impl_.paths_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
@ -300,6 +306,10 @@ inline void FieldMask::add_paths(const char* value) {
GOOGLE_ABSL_DCHECK(value != nullptr); _impl_.paths_.Add()->assign(value);
// @@protoc_insertion_point(field_add_char:google.protobuf.FieldMask.paths)
}
inline void FieldMask::add_paths(absl::string_view value) {
_impl_.paths_.Add()->assign(value.data(), value.size());
// @@protoc_insertion_point(field_add_string_piece:google.protobuf.FieldMask.paths)
}
inline void FieldMask::add_paths(const char* value, ::size_t size) {
_impl_.paths_.Add()->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_add_pointer:google.protobuf.FieldMask.paths)

@ -360,11 +360,13 @@ class PROTOBUF_EXPORT Type final :
void set_oneofs(int index, const std::string& value);
void set_oneofs(int index, std::string&& value);
void set_oneofs(int index, const char* value);
void set_oneofs(int index, absl::string_view value);
void set_oneofs(int index, const char* value, ::size_t size);
std::string* add_oneofs();
void add_oneofs(const std::string& value);
void add_oneofs(std::string&& value);
void add_oneofs(const char* value);
void add_oneofs(absl::string_view value);
void add_oneofs(const char* value, ::size_t size);
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& oneofs() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_oneofs();
@ -1482,6 +1484,10 @@ inline void Type::set_oneofs(int index, const char* value) {
GOOGLE_ABSL_DCHECK(value != nullptr); _impl_.oneofs_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set_char:google.protobuf.Type.oneofs)
}
inline void Type::set_oneofs(int index, absl::string_view value) {
_impl_.oneofs_.Mutable(index)->assign(value.data(), value.size());
// @@protoc_insertion_point(field_set_string_piece:google.protobuf.Type.oneofs)
}
inline void Type::set_oneofs(int index, const char* value, ::size_t size) {
_impl_.oneofs_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
@ -1502,6 +1508,10 @@ inline void Type::add_oneofs(const char* value) {
GOOGLE_ABSL_DCHECK(value != nullptr); _impl_.oneofs_.Add()->assign(value);
// @@protoc_insertion_point(field_add_char:google.protobuf.Type.oneofs)
}
inline void Type::add_oneofs(absl::string_view value) {
_impl_.oneofs_.Add()->assign(value.data(), value.size());
// @@protoc_insertion_point(field_add_string_piece:google.protobuf.Type.oneofs)
}
inline void Type::add_oneofs(const char* value, ::size_t size) {
_impl_.oneofs_.Add()->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_add_pointer:google.protobuf.Type.oneofs)

Loading…
Cancel
Save