From 6eddd661f5e6c8e493b51e416d81be09c57f4f35 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Thu, 15 Dec 2022 19:19:07 +0000 Subject: [PATCH] Auto-generate files after cl/495646298 --- src/file_lists.cmake | 2 +- src/google/protobuf/any.pb.h | 6 +- src/google/protobuf/api.pb.h | 53 ++++++--------- src/google/protobuf/duration.pb.h | 6 +- src/google/protobuf/field_mask.pb.h | 4 +- src/google/protobuf/source_context.pb.h | 3 +- src/google/protobuf/struct.pb.h | 28 ++++---- src/google/protobuf/timestamp.pb.h | 6 +- src/google/protobuf/type.pb.h | 88 ++++++++++--------------- src/google/protobuf/wrappers.pb.h | 27 +++----- 10 files changed, 88 insertions(+), 135 deletions(-) diff --git a/src/file_lists.cmake b/src/file_lists.cmake index b7367effb6..9faaf62226 100644 --- a/src/file_lists.cmake +++ b/src/file_lists.cmake @@ -168,8 +168,8 @@ set(libprotobuf_hdrs ${protobuf_SOURCE_DIR}/src/google/protobuf/reflection_ops.h ${protobuf_SOURCE_DIR}/src/google/protobuf/repeated_field.h ${protobuf_SOURCE_DIR}/src/google/protobuf/repeated_ptr_field.h - ${protobuf_SOURCE_DIR}/src/google/protobuf/service.h ${protobuf_SOURCE_DIR}/src/google/protobuf/serial_arena.h + ${protobuf_SOURCE_DIR}/src/google/protobuf/service.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/callback.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/common.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/logging.h diff --git a/src/google/protobuf/any.pb.h b/src/google/protobuf/any.pb.h index c3f8725814..3150861079 100644 --- a/src/google/protobuf/any.pb.h +++ b/src/google/protobuf/any.pb.h @@ -224,7 +224,7 @@ class PROTOBUF_EXPORT Any final : kValueFieldNumber = 2, }; // string type_url = 1; - void clear_type_url(); + void clear_type_url() ; const std::string& type_url() const; template void set_type_url(ArgT0&& arg0, ArgT... args); @@ -236,9 +236,8 @@ class PROTOBUF_EXPORT Any final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_url(const std::string& value); std::string* _internal_mutable_type_url(); public: - // bytes value = 2; - void clear_value(); + void clear_value() ; const std::string& value() const; template void set_value(ArgT0&& arg0, ArgT... args); @@ -250,7 +249,6 @@ class PROTOBUF_EXPORT Any final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); std::string* _internal_mutable_value(); public: - // @@protoc_insertion_point(class_scope:google.protobuf.Any) private: class _Internal; diff --git a/src/google/protobuf/api.pb.h b/src/google/protobuf/api.pb.h index 57e75cafec..835a8cc345 100644 --- a/src/google/protobuf/api.pb.h +++ b/src/google/protobuf/api.pb.h @@ -209,8 +209,9 @@ class PROTOBUF_EXPORT Api final : int methods_size() const; private: int _internal_methods_size() const; + public: - void clear_methods(); + void clear_methods() ; ::PROTOBUF_NAMESPACE_ID::Method* mutable_methods(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Method >* mutable_methods(); @@ -222,13 +223,13 @@ class PROTOBUF_EXPORT Api final : ::PROTOBUF_NAMESPACE_ID::Method* add_methods(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Method >& methods() const; - // repeated .google.protobuf.Option options = 3; int options_size() const; private: int _internal_options_size() const; + public: - void clear_options(); + void clear_options() ; ::PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* mutable_options(); @@ -240,13 +241,13 @@ class PROTOBUF_EXPORT Api final : ::PROTOBUF_NAMESPACE_ID::Option* add_options(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& options() const; - // repeated .google.protobuf.Mixin mixins = 6; int mixins_size() const; private: int _internal_mixins_size() const; + public: - void clear_mixins(); + void clear_mixins() ; ::PROTOBUF_NAMESPACE_ID::Mixin* mutable_mixins(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Mixin >* mutable_mixins(); @@ -258,9 +259,8 @@ class PROTOBUF_EXPORT Api final : ::PROTOBUF_NAMESPACE_ID::Mixin* add_mixins(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Mixin >& mixins() const; - // string name = 1; - void clear_name(); + void clear_name() ; const std::string& name() const; template void set_name(ArgT0&& arg0, ArgT... args); @@ -272,9 +272,8 @@ class PROTOBUF_EXPORT Api final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: - // string version = 4; - void clear_version(); + void clear_version() ; const std::string& version() const; template void set_version(ArgT0&& arg0, ArgT... args); @@ -286,13 +285,13 @@ class PROTOBUF_EXPORT Api final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value); std::string* _internal_mutable_version(); public: - // .google.protobuf.SourceContext source_context = 5; bool has_source_context() const; private: bool _internal_has_source_context() const; + public: - void clear_source_context(); + void clear_source_context() ; const ::PROTOBUF_NAMESPACE_ID::SourceContext& source_context() const; PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::SourceContext* release_source_context(); ::PROTOBUF_NAMESPACE_ID::SourceContext* mutable_source_context(); @@ -304,16 +303,14 @@ class PROTOBUF_EXPORT Api final : void unsafe_arena_set_allocated_source_context( ::PROTOBUF_NAMESPACE_ID::SourceContext* source_context); ::PROTOBUF_NAMESPACE_ID::SourceContext* unsafe_arena_release_source_context(); - // .google.protobuf.Syntax syntax = 7; - void clear_syntax(); + void clear_syntax() ; ::PROTOBUF_NAMESPACE_ID::Syntax syntax() const; void set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); private: ::PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const; void _internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.Api) private: class _Internal; @@ -467,8 +464,9 @@ class PROTOBUF_EXPORT Method final : int options_size() const; private: int _internal_options_size() const; + public: - void clear_options(); + void clear_options() ; ::PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* mutable_options(); @@ -480,9 +478,8 @@ class PROTOBUF_EXPORT Method final : ::PROTOBUF_NAMESPACE_ID::Option* add_options(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& options() const; - // string name = 1; - void clear_name(); + void clear_name() ; const std::string& name() const; template void set_name(ArgT0&& arg0, ArgT... args); @@ -494,9 +491,8 @@ class PROTOBUF_EXPORT Method final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: - // string request_type_url = 2; - void clear_request_type_url(); + void clear_request_type_url() ; const std::string& request_type_url() const; template void set_request_type_url(ArgT0&& arg0, ArgT... args); @@ -508,9 +504,8 @@ class PROTOBUF_EXPORT Method final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_type_url(const std::string& value); std::string* _internal_mutable_request_type_url(); public: - // string response_type_url = 4; - void clear_response_type_url(); + void clear_response_type_url() ; const std::string& response_type_url() const; template void set_response_type_url(ArgT0&& arg0, ArgT... args); @@ -522,34 +517,30 @@ class PROTOBUF_EXPORT Method final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_response_type_url(const std::string& value); std::string* _internal_mutable_response_type_url(); public: - // bool request_streaming = 3; - void clear_request_streaming(); + void clear_request_streaming() ; bool request_streaming() const; void set_request_streaming(bool value); private: bool _internal_request_streaming() const; void _internal_set_request_streaming(bool value); public: - // bool response_streaming = 5; - void clear_response_streaming(); + void clear_response_streaming() ; bool response_streaming() const; void set_response_streaming(bool value); private: bool _internal_response_streaming() const; void _internal_set_response_streaming(bool value); public: - // .google.protobuf.Syntax syntax = 7; - void clear_syntax(); + void clear_syntax() ; ::PROTOBUF_NAMESPACE_ID::Syntax syntax() const; void set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); private: ::PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const; void _internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.Method) private: class _Internal; @@ -695,7 +686,7 @@ class PROTOBUF_EXPORT Mixin final : kRootFieldNumber = 2, }; // string name = 1; - void clear_name(); + void clear_name() ; const std::string& name() const; template void set_name(ArgT0&& arg0, ArgT... args); @@ -707,9 +698,8 @@ class PROTOBUF_EXPORT Mixin final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: - // string root = 2; - void clear_root(); + void clear_root() ; const std::string& root() const; template void set_root(ArgT0&& arg0, ArgT... args); @@ -721,7 +711,6 @@ class PROTOBUF_EXPORT Mixin final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_root(const std::string& value); std::string* _internal_mutable_root(); public: - // @@protoc_insertion_point(class_scope:google.protobuf.Mixin) private: class _Internal; diff --git a/src/google/protobuf/duration.pb.h b/src/google/protobuf/duration.pb.h index 265982c1a4..15c0ab4b03 100644 --- a/src/google/protobuf/duration.pb.h +++ b/src/google/protobuf/duration.pb.h @@ -189,23 +189,21 @@ class PROTOBUF_EXPORT Duration final : kNanosFieldNumber = 2, }; // int64 seconds = 1; - void clear_seconds(); + void clear_seconds() ; ::int64_t seconds() const; void set_seconds(::int64_t value); private: ::int64_t _internal_seconds() const; void _internal_set_seconds(::int64_t value); public: - // int32 nanos = 2; - void clear_nanos(); + void clear_nanos() ; ::int32_t nanos() const; void set_nanos(::int32_t value); private: ::int32_t _internal_nanos() const; void _internal_set_nanos(::int32_t value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.Duration) private: class _Internal; diff --git a/src/google/protobuf/field_mask.pb.h b/src/google/protobuf/field_mask.pb.h index f151ce5421..c65d5fb188 100644 --- a/src/google/protobuf/field_mask.pb.h +++ b/src/google/protobuf/field_mask.pb.h @@ -191,8 +191,9 @@ class PROTOBUF_EXPORT FieldMask final : int paths_size() const; private: int _internal_paths_size() const; + public: - void clear_paths(); + void clear_paths() ; const std::string& paths(int index) const; std::string* mutable_paths(int index); void set_paths(int index, const std::string& value); @@ -210,7 +211,6 @@ class PROTOBUF_EXPORT FieldMask final : const std::string& _internal_paths(int index) const; std::string* _internal_add_paths(); public: - // @@protoc_insertion_point(class_scope:google.protobuf.FieldMask) private: class _Internal; diff --git a/src/google/protobuf/source_context.pb.h b/src/google/protobuf/source_context.pb.h index 644437eccc..dd7dc55f0e 100644 --- a/src/google/protobuf/source_context.pb.h +++ b/src/google/protobuf/source_context.pb.h @@ -188,7 +188,7 @@ class PROTOBUF_EXPORT SourceContext final : kFileNameFieldNumber = 1, }; // string file_name = 1; - void clear_file_name(); + void clear_file_name() ; const std::string& file_name() const; template void set_file_name(ArgT0&& arg0, ArgT... args); @@ -200,7 +200,6 @@ class PROTOBUF_EXPORT SourceContext final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_name(const std::string& value); std::string* _internal_mutable_file_name(); public: - // @@protoc_insertion_point(class_scope:google.protobuf.SourceContext) private: class _Internal; diff --git a/src/google/protobuf/struct.pb.h b/src/google/protobuf/struct.pb.h index 0db8e22592..9b39f2f7e3 100644 --- a/src/google/protobuf/struct.pb.h +++ b/src/google/protobuf/struct.pb.h @@ -269,8 +269,9 @@ class PROTOBUF_EXPORT Struct final : int fields_size() const; private: int _internal_fields_size() const; + public: - void clear_fields(); + void clear_fields() ; private: const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Value >& _internal_fields() const; @@ -281,7 +282,6 @@ class PROTOBUF_EXPORT Struct final : fields() const; ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Value >* mutable_fields(); - // @@protoc_insertion_point(class_scope:google.protobuf.Struct) private: class _Internal; @@ -440,27 +440,25 @@ class PROTOBUF_EXPORT Value final : }; // .google.protobuf.NullValue null_value = 1; bool has_null_value() const; - void clear_null_value(); + void clear_null_value() ; ::PROTOBUF_NAMESPACE_ID::NullValue null_value() const; void set_null_value(::PROTOBUF_NAMESPACE_ID::NullValue value); private: ::PROTOBUF_NAMESPACE_ID::NullValue _internal_null_value() const; void _internal_set_null_value(::PROTOBUF_NAMESPACE_ID::NullValue value); public: - // double number_value = 2; bool has_number_value() const; - void clear_number_value(); + void clear_number_value() ; double number_value() const; void set_number_value(double value); private: double _internal_number_value() const; void _internal_set_number_value(double value); public: - // string string_value = 3; bool has_string_value() const; - void clear_string_value(); + void clear_string_value() ; const std::string& string_value() const; template void set_string_value(ArgT0&& arg0, ArgT... args); @@ -472,23 +470,22 @@ class PROTOBUF_EXPORT Value final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value); std::string* _internal_mutable_string_value(); public: - // bool bool_value = 4; bool has_bool_value() const; - void clear_bool_value(); + void clear_bool_value() ; bool bool_value() const; void set_bool_value(bool value); private: bool _internal_bool_value() const; void _internal_set_bool_value(bool value); public: - // .google.protobuf.Struct struct_value = 5; bool has_struct_value() const; private: bool _internal_has_struct_value() const; + public: - void clear_struct_value(); + void clear_struct_value() ; const ::PROTOBUF_NAMESPACE_ID::Struct& struct_value() const; PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Struct* release_struct_value(); ::PROTOBUF_NAMESPACE_ID::Struct* mutable_struct_value(); @@ -500,13 +497,13 @@ class PROTOBUF_EXPORT Value final : void unsafe_arena_set_allocated_struct_value( ::PROTOBUF_NAMESPACE_ID::Struct* struct_value); ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_struct_value(); - // .google.protobuf.ListValue list_value = 6; bool has_list_value() const; private: bool _internal_has_list_value() const; + public: - void clear_list_value(); + void clear_list_value() ; const ::PROTOBUF_NAMESPACE_ID::ListValue& list_value() const; PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::ListValue* release_list_value(); ::PROTOBUF_NAMESPACE_ID::ListValue* mutable_list_value(); @@ -518,7 +515,6 @@ class PROTOBUF_EXPORT Value final : void unsafe_arena_set_allocated_list_value( ::PROTOBUF_NAMESPACE_ID::ListValue* list_value); ::PROTOBUF_NAMESPACE_ID::ListValue* unsafe_arena_release_list_value(); - void clear_kind(); KindCase kind_case() const; // @@protoc_insertion_point(class_scope:google.protobuf.Value) @@ -682,8 +678,9 @@ class PROTOBUF_EXPORT ListValue final : int values_size() const; private: int _internal_values_size() const; + public: - void clear_values(); + void clear_values() ; ::PROTOBUF_NAMESPACE_ID::Value* mutable_values(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Value >* mutable_values(); @@ -695,7 +692,6 @@ class PROTOBUF_EXPORT ListValue final : ::PROTOBUF_NAMESPACE_ID::Value* add_values(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Value >& values() const; - // @@protoc_insertion_point(class_scope:google.protobuf.ListValue) private: class _Internal; diff --git a/src/google/protobuf/timestamp.pb.h b/src/google/protobuf/timestamp.pb.h index e35d35af02..ba652fef34 100644 --- a/src/google/protobuf/timestamp.pb.h +++ b/src/google/protobuf/timestamp.pb.h @@ -189,23 +189,21 @@ class PROTOBUF_EXPORT Timestamp final : kNanosFieldNumber = 2, }; // int64 seconds = 1; - void clear_seconds(); + void clear_seconds() ; ::int64_t seconds() const; void set_seconds(::int64_t value); private: ::int64_t _internal_seconds() const; void _internal_set_seconds(::int64_t value); public: - // int32 nanos = 2; - void clear_nanos(); + void clear_nanos() ; ::int32_t nanos() const; void set_nanos(::int32_t value); private: ::int32_t _internal_nanos() const; void _internal_set_nanos(::int32_t value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.Timestamp) private: class _Internal; diff --git a/src/google/protobuf/type.pb.h b/src/google/protobuf/type.pb.h index 9a17627f49..eeba099068 100644 --- a/src/google/protobuf/type.pb.h +++ b/src/google/protobuf/type.pb.h @@ -334,8 +334,9 @@ class PROTOBUF_EXPORT Type final : int fields_size() const; private: int _internal_fields_size() const; + public: - void clear_fields(); + void clear_fields() ; ::PROTOBUF_NAMESPACE_ID::Field* mutable_fields(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Field >* mutable_fields(); @@ -347,13 +348,13 @@ class PROTOBUF_EXPORT Type final : ::PROTOBUF_NAMESPACE_ID::Field* add_fields(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Field >& fields() const; - // repeated string oneofs = 3; int oneofs_size() const; private: int _internal_oneofs_size() const; + public: - void clear_oneofs(); + void clear_oneofs() ; const std::string& oneofs(int index) const; std::string* mutable_oneofs(int index); void set_oneofs(int index, const std::string& value); @@ -371,13 +372,13 @@ class PROTOBUF_EXPORT Type final : const std::string& _internal_oneofs(int index) const; std::string* _internal_add_oneofs(); public: - // repeated .google.protobuf.Option options = 4; int options_size() const; private: int _internal_options_size() const; + public: - void clear_options(); + void clear_options() ; ::PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* mutable_options(); @@ -389,9 +390,8 @@ class PROTOBUF_EXPORT Type final : ::PROTOBUF_NAMESPACE_ID::Option* add_options(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& options() const; - // string name = 1; - void clear_name(); + void clear_name() ; const std::string& name() const; template void set_name(ArgT0&& arg0, ArgT... args); @@ -403,13 +403,13 @@ class PROTOBUF_EXPORT Type final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: - // .google.protobuf.SourceContext source_context = 5; bool has_source_context() const; private: bool _internal_has_source_context() const; + public: - void clear_source_context(); + void clear_source_context() ; const ::PROTOBUF_NAMESPACE_ID::SourceContext& source_context() const; PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::SourceContext* release_source_context(); ::PROTOBUF_NAMESPACE_ID::SourceContext* mutable_source_context(); @@ -421,16 +421,14 @@ class PROTOBUF_EXPORT Type final : void unsafe_arena_set_allocated_source_context( ::PROTOBUF_NAMESPACE_ID::SourceContext* source_context); ::PROTOBUF_NAMESPACE_ID::SourceContext* unsafe_arena_release_source_context(); - // .google.protobuf.Syntax syntax = 6; - void clear_syntax(); + void clear_syntax() ; ::PROTOBUF_NAMESPACE_ID::Syntax syntax() const; void set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); private: ::PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const; void _internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.Type) private: class _Internal; @@ -645,8 +643,9 @@ class PROTOBUF_EXPORT Field final : int options_size() const; private: int _internal_options_size() const; + public: - void clear_options(); + void clear_options() ; ::PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* mutable_options(); @@ -658,9 +657,8 @@ class PROTOBUF_EXPORT Field final : ::PROTOBUF_NAMESPACE_ID::Option* add_options(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& options() const; - // string name = 4; - void clear_name(); + void clear_name() ; const std::string& name() const; template void set_name(ArgT0&& arg0, ArgT... args); @@ -672,9 +670,8 @@ class PROTOBUF_EXPORT Field final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: - // string type_url = 6; - void clear_type_url(); + void clear_type_url() ; const std::string& type_url() const; template void set_type_url(ArgT0&& arg0, ArgT... args); @@ -686,9 +683,8 @@ class PROTOBUF_EXPORT Field final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_url(const std::string& value); std::string* _internal_mutable_type_url(); public: - // string json_name = 10; - void clear_json_name(); + void clear_json_name() ; const std::string& json_name() const; template void set_json_name(ArgT0&& arg0, ArgT... args); @@ -700,9 +696,8 @@ class PROTOBUF_EXPORT Field final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(const std::string& value); std::string* _internal_mutable_json_name(); public: - // string default_value = 11; - void clear_default_value(); + void clear_default_value() ; const std::string& default_value() const; template void set_default_value(ArgT0&& arg0, ArgT... args); @@ -714,52 +709,46 @@ class PROTOBUF_EXPORT Field final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(const std::string& value); std::string* _internal_mutable_default_value(); public: - // .google.protobuf.Field.Kind kind = 1; - void clear_kind(); + void clear_kind() ; ::PROTOBUF_NAMESPACE_ID::Field_Kind kind() const; void set_kind(::PROTOBUF_NAMESPACE_ID::Field_Kind value); private: ::PROTOBUF_NAMESPACE_ID::Field_Kind _internal_kind() const; void _internal_set_kind(::PROTOBUF_NAMESPACE_ID::Field_Kind value); public: - // .google.protobuf.Field.Cardinality cardinality = 2; - void clear_cardinality(); + void clear_cardinality() ; ::PROTOBUF_NAMESPACE_ID::Field_Cardinality cardinality() const; void set_cardinality(::PROTOBUF_NAMESPACE_ID::Field_Cardinality value); private: ::PROTOBUF_NAMESPACE_ID::Field_Cardinality _internal_cardinality() const; void _internal_set_cardinality(::PROTOBUF_NAMESPACE_ID::Field_Cardinality value); public: - // int32 number = 3; - void clear_number(); + void clear_number() ; ::int32_t number() const; void set_number(::int32_t value); private: ::int32_t _internal_number() const; void _internal_set_number(::int32_t value); public: - // int32 oneof_index = 7; - void clear_oneof_index(); + void clear_oneof_index() ; ::int32_t oneof_index() const; void set_oneof_index(::int32_t value); private: ::int32_t _internal_oneof_index() const; void _internal_set_oneof_index(::int32_t value); public: - // bool packed = 8; - void clear_packed(); + void clear_packed() ; bool packed() const; void set_packed(bool value); private: bool _internal_packed() const; void _internal_set_packed(bool value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.Field) private: class _Internal; @@ -914,8 +903,9 @@ class PROTOBUF_EXPORT Enum final : int enumvalue_size() const; private: int _internal_enumvalue_size() const; + public: - void clear_enumvalue(); + void clear_enumvalue() ; ::PROTOBUF_NAMESPACE_ID::EnumValue* mutable_enumvalue(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValue >* mutable_enumvalue(); @@ -927,13 +917,13 @@ class PROTOBUF_EXPORT Enum final : ::PROTOBUF_NAMESPACE_ID::EnumValue* add_enumvalue(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValue >& enumvalue() const; - // repeated .google.protobuf.Option options = 3; int options_size() const; private: int _internal_options_size() const; + public: - void clear_options(); + void clear_options() ; ::PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* mutable_options(); @@ -945,9 +935,8 @@ class PROTOBUF_EXPORT Enum final : ::PROTOBUF_NAMESPACE_ID::Option* add_options(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& options() const; - // string name = 1; - void clear_name(); + void clear_name() ; const std::string& name() const; template void set_name(ArgT0&& arg0, ArgT... args); @@ -959,13 +948,13 @@ class PROTOBUF_EXPORT Enum final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: - // .google.protobuf.SourceContext source_context = 4; bool has_source_context() const; private: bool _internal_has_source_context() const; + public: - void clear_source_context(); + void clear_source_context() ; const ::PROTOBUF_NAMESPACE_ID::SourceContext& source_context() const; PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::SourceContext* release_source_context(); ::PROTOBUF_NAMESPACE_ID::SourceContext* mutable_source_context(); @@ -977,16 +966,14 @@ class PROTOBUF_EXPORT Enum final : void unsafe_arena_set_allocated_source_context( ::PROTOBUF_NAMESPACE_ID::SourceContext* source_context); ::PROTOBUF_NAMESPACE_ID::SourceContext* unsafe_arena_release_source_context(); - // .google.protobuf.Syntax syntax = 5; - void clear_syntax(); + void clear_syntax() ; ::PROTOBUF_NAMESPACE_ID::Syntax syntax() const; void set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); private: ::PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const; void _internal_set_syntax(::PROTOBUF_NAMESPACE_ID::Syntax value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.Enum) private: class _Internal; @@ -1134,8 +1121,9 @@ class PROTOBUF_EXPORT EnumValue final : int options_size() const; private: int _internal_options_size() const; + public: - void clear_options(); + void clear_options() ; ::PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >* mutable_options(); @@ -1147,9 +1135,8 @@ class PROTOBUF_EXPORT EnumValue final : ::PROTOBUF_NAMESPACE_ID::Option* add_options(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Option >& options() const; - // string name = 1; - void clear_name(); + void clear_name() ; const std::string& name() const; template void set_name(ArgT0&& arg0, ArgT... args); @@ -1161,16 +1148,14 @@ class PROTOBUF_EXPORT EnumValue final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: - // int32 number = 2; - void clear_number(); + void clear_number() ; ::int32_t number() const; void set_number(::int32_t value); private: ::int32_t _internal_number() const; void _internal_set_number(::int32_t value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.EnumValue) private: class _Internal; @@ -1312,7 +1297,7 @@ class PROTOBUF_EXPORT Option final : kValueFieldNumber = 2, }; // string name = 1; - void clear_name(); + void clear_name() ; const std::string& name() const; template void set_name(ArgT0&& arg0, ArgT... args); @@ -1324,13 +1309,13 @@ class PROTOBUF_EXPORT Option final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: - // .google.protobuf.Any value = 2; bool has_value() const; private: bool _internal_has_value() const; + public: - void clear_value(); + void clear_value() ; const ::PROTOBUF_NAMESPACE_ID::Any& value() const; PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Any* release_value(); ::PROTOBUF_NAMESPACE_ID::Any* mutable_value(); @@ -1342,7 +1327,6 @@ class PROTOBUF_EXPORT Option final : void unsafe_arena_set_allocated_value( ::PROTOBUF_NAMESPACE_ID::Any* value); ::PROTOBUF_NAMESPACE_ID::Any* unsafe_arena_release_value(); - // @@protoc_insertion_point(class_scope:google.protobuf.Option) private: class _Internal; diff --git a/src/google/protobuf/wrappers.pb.h b/src/google/protobuf/wrappers.pb.h index d949f88a68..42033594a6 100644 --- a/src/google/protobuf/wrappers.pb.h +++ b/src/google/protobuf/wrappers.pb.h @@ -228,14 +228,13 @@ class PROTOBUF_EXPORT DoubleValue final : kValueFieldNumber = 1, }; // double value = 1; - void clear_value(); + void clear_value() ; double value() const; void set_value(double value); private: double _internal_value() const; void _internal_set_value(double value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.DoubleValue) private: class _Internal; @@ -374,14 +373,13 @@ class PROTOBUF_EXPORT FloatValue final : kValueFieldNumber = 1, }; // float value = 1; - void clear_value(); + void clear_value() ; float value() const; void set_value(float value); private: float _internal_value() const; void _internal_set_value(float value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.FloatValue) private: class _Internal; @@ -520,14 +518,13 @@ class PROTOBUF_EXPORT Int64Value final : kValueFieldNumber = 1, }; // int64 value = 1; - void clear_value(); + void clear_value() ; ::int64_t value() const; void set_value(::int64_t value); private: ::int64_t _internal_value() const; void _internal_set_value(::int64_t value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.Int64Value) private: class _Internal; @@ -666,14 +663,13 @@ class PROTOBUF_EXPORT UInt64Value final : kValueFieldNumber = 1, }; // uint64 value = 1; - void clear_value(); + void clear_value() ; ::uint64_t value() const; void set_value(::uint64_t value); private: ::uint64_t _internal_value() const; void _internal_set_value(::uint64_t value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.UInt64Value) private: class _Internal; @@ -812,14 +808,13 @@ class PROTOBUF_EXPORT Int32Value final : kValueFieldNumber = 1, }; // int32 value = 1; - void clear_value(); + void clear_value() ; ::int32_t value() const; void set_value(::int32_t value); private: ::int32_t _internal_value() const; void _internal_set_value(::int32_t value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.Int32Value) private: class _Internal; @@ -958,14 +953,13 @@ class PROTOBUF_EXPORT UInt32Value final : kValueFieldNumber = 1, }; // uint32 value = 1; - void clear_value(); + void clear_value() ; ::uint32_t value() const; void set_value(::uint32_t value); private: ::uint32_t _internal_value() const; void _internal_set_value(::uint32_t value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.UInt32Value) private: class _Internal; @@ -1104,14 +1098,13 @@ class PROTOBUF_EXPORT BoolValue final : kValueFieldNumber = 1, }; // bool value = 1; - void clear_value(); + void clear_value() ; bool value() const; void set_value(bool value); private: bool _internal_value() const; void _internal_set_value(bool value); public: - // @@protoc_insertion_point(class_scope:google.protobuf.BoolValue) private: class _Internal; @@ -1250,7 +1243,7 @@ class PROTOBUF_EXPORT StringValue final : kValueFieldNumber = 1, }; // string value = 1; - void clear_value(); + void clear_value() ; const std::string& value() const; template void set_value(ArgT0&& arg0, ArgT... args); @@ -1262,7 +1255,6 @@ class PROTOBUF_EXPORT StringValue final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); std::string* _internal_mutable_value(); public: - // @@protoc_insertion_point(class_scope:google.protobuf.StringValue) private: class _Internal; @@ -1401,7 +1393,7 @@ class PROTOBUF_EXPORT BytesValue final : kValueFieldNumber = 1, }; // bytes value = 1; - void clear_value(); + void clear_value() ; const std::string& value() const; template void set_value(ArgT0&& arg0, ArgT... args); @@ -1413,7 +1405,6 @@ class PROTOBUF_EXPORT BytesValue final : inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); std::string* _internal_mutable_value(); public: - // @@protoc_insertion_point(class_scope:google.protobuf.BytesValue) private: class _Internal;