mentoring.pb.h
unknown
c_cpp
a month ago
47 kB
1
Indexable
Never
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: mentoring.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_mentoring_2eproto #define GOOGLE_PROTOBUF_INCLUDED_mentoring_2eproto #include <limits> #include <string> #include <google/protobuf/port_def.inc> #if PROTOBUF_VERSION < 3012000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 3012004 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include <google/protobuf/port_undef.inc> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/arena.h> #include <google/protobuf/arenastring.h> #include <google/protobuf/generated_message_table_driven.h> #include <google/protobuf/generated_message_util.h> #include <google/protobuf/inlined_string_field.h> #include <google/protobuf/metadata_lite.h> #include <google/protobuf/generated_message_reflection.h> #include <google/protobuf/message.h> #include <google/protobuf/repeated_field.h> // IWYU pragma: export #include <google/protobuf/extension_set.h> // IWYU pragma: export #include <google/protobuf/unknown_field_set.h> // @@protoc_insertion_point(includes) #include <google/protobuf/port_def.inc> #define PROTOBUF_INTERNAL_EXPORT_mentoring_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_mentoring_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_mentoring_2eproto; namespace protos { class Fund; class FundDefaultTypeInternal; extern FundDefaultTypeInternal _Fund_default_instance_; class Hi; class HiDefaultTypeInternal; extern HiDefaultTypeInternal _Hi_default_instance_; class Request; class RequestDefaultTypeInternal; extern RequestDefaultTypeInternal _Request_default_instance_; class Response; class ResponseDefaultTypeInternal; extern ResponseDefaultTypeInternal _Response_default_instance_; } // namespace protos PROTOBUF_NAMESPACE_OPEN template<> ::protos::Fund* Arena::CreateMaybeMessage<::protos::Fund>(Arena*); template<> ::protos::Hi* Arena::CreateMaybeMessage<::protos::Hi>(Arena*); template<> ::protos::Request* Arena::CreateMaybeMessage<::protos::Request>(Arena*); template<> ::protos::Response* Arena::CreateMaybeMessage<::protos::Response>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace protos { // =================================================================== class Request PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.Request) */ { public: inline Request() : Request(nullptr) {}; virtual ~Request(); Request(const Request& from); Request(Request&& from) noexcept : Request() { *this = ::std::move(from); } inline Request& operator=(const Request& from) { CopyFrom(from); return *this; } inline Request& operator=(Request&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const Request& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Request* internal_default_instance() { return reinterpret_cast<const Request*>( &_Request_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(Request& a, Request& b) { a.Swap(&b); } inline void Swap(Request* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Request* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Request* New() const final { return CreateMaybeMessage<Request>(nullptr); } Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage<Request>(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Request& from); void MergeFrom(const Request& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Request* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "protos.Request"; } protected: explicit Request(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_mentoring_2eproto); return ::descriptor_table_mentoring_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kNameFieldNumber = 1, }; // string name = 1; void clear_name(); const std::string& name() const; void set_name(const std::string& value); void set_name(std::string&& value); void set_name(const char* value); void set_name(const char* value, size_t size); std::string* mutable_name(); std::string* release_name(); void set_allocated_name(std::string* name); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") std::string* unsafe_arena_release_name(); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") void unsafe_arena_set_allocated_name( std::string* name); private: const std::string& _internal_name() const; void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: // @@protoc_insertion_point(class_scope:protos.Request) private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_mentoring_2eproto; }; // ------------------------------------------------------------------- class Fund PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.Fund) */ { public: inline Fund() : Fund(nullptr) {}; virtual ~Fund(); Fund(const Fund& from); Fund(Fund&& from) noexcept : Fund() { *this = ::std::move(from); } inline Fund& operator=(const Fund& from) { CopyFrom(from); return *this; } inline Fund& operator=(Fund&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const Fund& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Fund* internal_default_instance() { return reinterpret_cast<const Fund*>( &_Fund_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(Fund& a, Fund& b) { a.Swap(&b); } inline void Swap(Fund* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Fund* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Fund* New() const final { return CreateMaybeMessage<Fund>(nullptr); } Fund* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage<Fund>(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Fund& from); void MergeFrom(const Fund& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Fund* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "protos.Fund"; } protected: explicit Fund(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_mentoring_2eproto); return ::descriptor_table_mentoring_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kNameFieldNumber = 1, kAbbrevFieldNumber = 2, kTypeFieldNumber = 3, kChangeFieldNumber = 5, kTypeIntFieldNumber = 4, }; // string name = 1; void clear_name(); const std::string& name() const; void set_name(const std::string& value); void set_name(std::string&& value); void set_name(const char* value); void set_name(const char* value, size_t size); std::string* mutable_name(); std::string* release_name(); void set_allocated_name(std::string* name); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") std::string* unsafe_arena_release_name(); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") void unsafe_arena_set_allocated_name( std::string* name); private: const std::string& _internal_name() const; void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: // string abbrev = 2; void clear_abbrev(); const std::string& abbrev() const; void set_abbrev(const std::string& value); void set_abbrev(std::string&& value); void set_abbrev(const char* value); void set_abbrev(const char* value, size_t size); std::string* mutable_abbrev(); std::string* release_abbrev(); void set_allocated_abbrev(std::string* abbrev); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") std::string* unsafe_arena_release_abbrev(); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") void unsafe_arena_set_allocated_abbrev( std::string* abbrev); private: const std::string& _internal_abbrev() const; void _internal_set_abbrev(const std::string& value); std::string* _internal_mutable_abbrev(); public: // string type = 3; void clear_type(); const std::string& type() const; void set_type(const std::string& value); void set_type(std::string&& value); void set_type(const char* value); void set_type(const char* value, size_t size); std::string* mutable_type(); std::string* release_type(); void set_allocated_type(std::string* type); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") std::string* unsafe_arena_release_type(); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") void unsafe_arena_set_allocated_type( std::string* type); private: const std::string& _internal_type() const; void _internal_set_type(const std::string& value); std::string* _internal_mutable_type(); public: // double change = 5; void clear_change(); double change() const; void set_change(double value); private: double _internal_change() const; void _internal_set_change(double value); public: // int32 type_int = 4; void clear_type_int(); ::PROTOBUF_NAMESPACE_ID::int32 type_int() const; void set_type_int(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_type_int() const; void _internal_set_type_int(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:protos.Fund) private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr abbrev_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_; double change_; ::PROTOBUF_NAMESPACE_ID::int32 type_int_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_mentoring_2eproto; }; // ------------------------------------------------------------------- class Response PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.Response) */ { public: inline Response() : Response(nullptr) {}; virtual ~Response(); Response(const Response& from); Response(Response&& from) noexcept : Response() { *this = ::std::move(from); } inline Response& operator=(const Response& from) { CopyFrom(from); return *this; } inline Response& operator=(Response&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const Response& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Response* internal_default_instance() { return reinterpret_cast<const Response*>( &_Response_default_instance_); } static constexpr int kIndexInFileMessages = 2; friend void swap(Response& a, Response& b) { a.Swap(&b); } inline void Swap(Response* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Response* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Response* New() const final { return CreateMaybeMessage<Response>(nullptr); } Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage<Response>(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Response& from); void MergeFrom(const Response& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Response* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "protos.Response"; } protected: explicit Response(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_mentoring_2eproto); return ::descriptor_table_mentoring_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kDataFieldNumber = 1, }; // string data = 1; void clear_data(); const std::string& data() const; void set_data(const std::string& value); void set_data(std::string&& value); void set_data(const char* value); void set_data(const char* value, size_t size); std::string* mutable_data(); std::string* release_data(); void set_allocated_data(std::string* data); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") std::string* unsafe_arena_release_data(); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") void unsafe_arena_set_allocated_data( std::string* data); private: const std::string& _internal_data() const; void _internal_set_data(const std::string& value); std::string* _internal_mutable_data(); public: // @@protoc_insertion_point(class_scope:protos.Response) private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_mentoring_2eproto; }; // ------------------------------------------------------------------- class Hi PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protos.Hi) */ { public: inline Hi() : Hi(nullptr) {}; virtual ~Hi(); Hi(const Hi& from); Hi(Hi&& from) noexcept : Hi() { *this = ::std::move(from); } inline Hi& operator=(const Hi& from) { CopyFrom(from); return *this; } inline Hi& operator=(Hi&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const Hi& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Hi* internal_default_instance() { return reinterpret_cast<const Hi*>( &_Hi_default_instance_); } static constexpr int kIndexInFileMessages = 3; friend void swap(Hi& a, Hi& b) { a.Swap(&b); } inline void Swap(Hi* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Hi* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Hi* New() const final { return CreateMaybeMessage<Hi>(nullptr); } Hi* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage<Hi>(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Hi& from); void MergeFrom(const Hi& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Hi* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "protos.Hi"; } protected: explicit Hi(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_mentoring_2eproto); return ::descriptor_table_mentoring_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kMessageFieldNumber = 1, }; // string message = 1; void clear_message(); const std::string& message() const; void set_message(const std::string& value); void set_message(std::string&& value); void set_message(const char* value); void set_message(const char* value, size_t size); std::string* mutable_message(); std::string* release_message(); void set_allocated_message(std::string* message); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") std::string* unsafe_arena_release_message(); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") void unsafe_arena_set_allocated_message( std::string* message); private: const std::string& _internal_message() const; void _internal_set_message(const std::string& value); std::string* _internal_mutable_message(); public: // @@protoc_insertion_point(class_scope:protos.Hi) private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_mentoring_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // Request // string name = 1; inline void Request::clear_name() { name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline const std::string& Request::name() const { // @@protoc_insertion_point(field_get:protos.Request.name) return _internal_name(); } inline void Request::set_name(const std::string& value) { _internal_set_name(value); // @@protoc_insertion_point(field_set:protos.Request.name) } inline std::string* Request::mutable_name() { // @@protoc_insertion_point(field_mutable:protos.Request.name) return _internal_mutable_name(); } inline const std::string& Request::_internal_name() const { return name_.Get(); } inline void Request::_internal_set_name(const std::string& value) { name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void Request::set_name(std::string&& value) { name_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:protos.Request.name) } inline void Request::set_name(const char* value) { GOOGLE_DCHECK(value != nullptr); name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:protos.Request.name) } inline void Request::set_name(const char* value, size_t size) { name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast<const char*>(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:protos.Request.name) } inline std::string* Request::_internal_mutable_name() { return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* Request::release_name() { // @@protoc_insertion_point(field_release:protos.Request.name) return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Request::set_allocated_name(std::string* name) { if (name != nullptr) { } else { } name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, GetArena()); // @@protoc_insertion_point(field_set_allocated:protos.Request.name) } inline std::string* Request::unsafe_arena_release_name() { // @@protoc_insertion_point(field_unsafe_arena_release:protos.Request.name) GOOGLE_DCHECK(GetArena() != nullptr); return name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Request::unsafe_arena_set_allocated_name( std::string* name) { GOOGLE_DCHECK(GetArena() != nullptr); if (name != nullptr) { } else { } name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, GetArena()); // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Request.name) } // ------------------------------------------------------------------- // Fund // string name = 1; inline void Fund::clear_name() { name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline const std::string& Fund::name() const { // @@protoc_insertion_point(field_get:protos.Fund.name) return _internal_name(); } inline void Fund::set_name(const std::string& value) { _internal_set_name(value); // @@protoc_insertion_point(field_set:protos.Fund.name) } inline std::string* Fund::mutable_name() { // @@protoc_insertion_point(field_mutable:protos.Fund.name) return _internal_mutable_name(); } inline const std::string& Fund::_internal_name() const { return name_.Get(); } inline void Fund::_internal_set_name(const std::string& value) { name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void Fund::set_name(std::string&& value) { name_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:protos.Fund.name) } inline void Fund::set_name(const char* value) { GOOGLE_DCHECK(value != nullptr); name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:protos.Fund.name) } inline void Fund::set_name(const char* value, size_t size) { name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast<const char*>(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:protos.Fund.name) } inline std::string* Fund::_internal_mutable_name() { return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* Fund::release_name() { // @@protoc_insertion_point(field_release:protos.Fund.name) return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Fund::set_allocated_name(std::string* name) { if (name != nullptr) { } else { } name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, GetArena()); // @@protoc_insertion_point(field_set_allocated:protos.Fund.name) } inline std::string* Fund::unsafe_arena_release_name() { // @@protoc_insertion_point(field_unsafe_arena_release:protos.Fund.name) GOOGLE_DCHECK(GetArena() != nullptr); return name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Fund::unsafe_arena_set_allocated_name( std::string* name) { GOOGLE_DCHECK(GetArena() != nullptr); if (name != nullptr) { } else { } name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, GetArena()); // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Fund.name) } // string abbrev = 2; inline void Fund::clear_abbrev() { abbrev_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline const std::string& Fund::abbrev() const { // @@protoc_insertion_point(field_get:protos.Fund.abbrev) return _internal_abbrev(); } inline void Fund::set_abbrev(const std::string& value) { _internal_set_abbrev(value); // @@protoc_insertion_point(field_set:protos.Fund.abbrev) } inline std::string* Fund::mutable_abbrev() { // @@protoc_insertion_point(field_mutable:protos.Fund.abbrev) return _internal_mutable_abbrev(); } inline const std::string& Fund::_internal_abbrev() const { return abbrev_.Get(); } inline void Fund::_internal_set_abbrev(const std::string& value) { abbrev_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void Fund::set_abbrev(std::string&& value) { abbrev_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:protos.Fund.abbrev) } inline void Fund::set_abbrev(const char* value) { GOOGLE_DCHECK(value != nullptr); abbrev_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:protos.Fund.abbrev) } inline void Fund::set_abbrev(const char* value, size_t size) { abbrev_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast<const char*>(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:protos.Fund.abbrev) } inline std::string* Fund::_internal_mutable_abbrev() { return abbrev_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* Fund::release_abbrev() { // @@protoc_insertion_point(field_release:protos.Fund.abbrev) return abbrev_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Fund::set_allocated_abbrev(std::string* abbrev) { if (abbrev != nullptr) { } else { } abbrev_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), abbrev, GetArena()); // @@protoc_insertion_point(field_set_allocated:protos.Fund.abbrev) } inline std::string* Fund::unsafe_arena_release_abbrev() { // @@protoc_insertion_point(field_unsafe_arena_release:protos.Fund.abbrev) GOOGLE_DCHECK(GetArena() != nullptr); return abbrev_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Fund::unsafe_arena_set_allocated_abbrev( std::string* abbrev) { GOOGLE_DCHECK(GetArena() != nullptr); if (abbrev != nullptr) { } else { } abbrev_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), abbrev, GetArena()); // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Fund.abbrev) } // string type = 3; inline void Fund::clear_type() { type_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline const std::string& Fund::type() const { // @@protoc_insertion_point(field_get:protos.Fund.type) return _internal_type(); } inline void Fund::set_type(const std::string& value) { _internal_set_type(value); // @@protoc_insertion_point(field_set:protos.Fund.type) } inline std::string* Fund::mutable_type() { // @@protoc_insertion_point(field_mutable:protos.Fund.type) return _internal_mutable_type(); } inline const std::string& Fund::_internal_type() const { return type_.Get(); } inline void Fund::_internal_set_type(const std::string& value) { type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void Fund::set_type(std::string&& value) { type_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:protos.Fund.type) } inline void Fund::set_type(const char* value) { GOOGLE_DCHECK(value != nullptr); type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:protos.Fund.type) } inline void Fund::set_type(const char* value, size_t size) { type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast<const char*>(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:protos.Fund.type) } inline std::string* Fund::_internal_mutable_type() { return type_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* Fund::release_type() { // @@protoc_insertion_point(field_release:protos.Fund.type) return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Fund::set_allocated_type(std::string* type) { if (type != nullptr) { } else { } type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type, GetArena()); // @@protoc_insertion_point(field_set_allocated:protos.Fund.type) } inline std::string* Fund::unsafe_arena_release_type() { // @@protoc_insertion_point(field_unsafe_arena_release:protos.Fund.type) GOOGLE_DCHECK(GetArena() != nullptr); return type_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Fund::unsafe_arena_set_allocated_type( std::string* type) { GOOGLE_DCHECK(GetArena() != nullptr); if (type != nullptr) { } else { } type_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type, GetArena()); // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Fund.type) } // int32 type_int = 4; inline void Fund::clear_type_int() { type_int_ = 0; } inline ::PROTOBUF_NAMESPACE_ID::int32 Fund::_internal_type_int() const { return type_int_; } inline ::PROTOBUF_NAMESPACE_ID::int32 Fund::type_int() const { // @@protoc_insertion_point(field_get:protos.Fund.type_int) return _internal_type_int(); } inline void Fund::_internal_set_type_int(::PROTOBUF_NAMESPACE_ID::int32 value) { type_int_ = value; } inline void Fund::set_type_int(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_type_int(value); // @@protoc_insertion_point(field_set:protos.Fund.type_int) } // double change = 5; inline void Fund::clear_change() { change_ = 0; } inline double Fund::_internal_change() const { return change_; } inline double Fund::change() const { // @@protoc_insertion_point(field_get:protos.Fund.change) return _internal_change(); } inline void Fund::_internal_set_change(double value) { change_ = value; } inline void Fund::set_change(double value) { _internal_set_change(value); // @@protoc_insertion_point(field_set:protos.Fund.change) } // ------------------------------------------------------------------- // Response // string data = 1; inline void Response::clear_data() { data_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline const std::string& Response::data() const { // @@protoc_insertion_point(field_get:protos.Response.data) return _internal_data(); } inline void Response::set_data(const std::string& value) { _internal_set_data(value); // @@protoc_insertion_point(field_set:protos.Response.data) } inline std::string* Response::mutable_data() { // @@protoc_insertion_point(field_mutable:protos.Response.data) return _internal_mutable_data(); } inline const std::string& Response::_internal_data() const { return data_.Get(); } inline void Response::_internal_set_data(const std::string& value) { data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void Response::set_data(std::string&& value) { data_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:protos.Response.data) } inline void Response::set_data(const char* value) { GOOGLE_DCHECK(value != nullptr); data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:protos.Response.data) } inline void Response::set_data(const char* value, size_t size) { data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast<const char*>(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:protos.Response.data) } inline std::string* Response::_internal_mutable_data() { return data_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* Response::release_data() { // @@protoc_insertion_point(field_release:protos.Response.data) return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Response::set_allocated_data(std::string* data) { if (data != nullptr) { } else { } data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data, GetArena()); // @@protoc_insertion_point(field_set_allocated:protos.Response.data) } inline std::string* Response::unsafe_arena_release_data() { // @@protoc_insertion_point(field_unsafe_arena_release:protos.Response.data) GOOGLE_DCHECK(GetArena() != nullptr); return data_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Response::unsafe_arena_set_allocated_data( std::string* data) { GOOGLE_DCHECK(GetArena() != nullptr); if (data != nullptr) { } else { } data_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data, GetArena()); // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Response.data) } // ------------------------------------------------------------------- // Hi // string message = 1; inline void Hi::clear_message() { message_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline const std::string& Hi::message() const { // @@protoc_insertion_point(field_get:protos.Hi.message) return _internal_message(); } inline void Hi::set_message(const std::string& value) { _internal_set_message(value); // @@protoc_insertion_point(field_set:protos.Hi.message) } inline std::string* Hi::mutable_message() { // @@protoc_insertion_point(field_mutable:protos.Hi.message) return _internal_mutable_message(); } inline const std::string& Hi::_internal_message() const { return message_.Get(); } inline void Hi::_internal_set_message(const std::string& value) { message_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void Hi::set_message(std::string&& value) { message_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:protos.Hi.message) } inline void Hi::set_message(const char* value) { GOOGLE_DCHECK(value != nullptr); message_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:protos.Hi.message) } inline void Hi::set_message(const char* value, size_t size) { message_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast<const char*>(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:protos.Hi.message) } inline std::string* Hi::_internal_mutable_message() { return message_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* Hi::release_message() { // @@protoc_insertion_point(field_release:protos.Hi.message) return message_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Hi::set_allocated_message(std::string* message) { if (message != nullptr) { } else { } message_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), message, GetArena()); // @@protoc_insertion_point(field_set_allocated:protos.Hi.message) } inline std::string* Hi::unsafe_arena_release_message() { // @@protoc_insertion_point(field_unsafe_arena_release:protos.Hi.message) GOOGLE_DCHECK(GetArena() != nullptr); return message_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Hi::unsafe_arena_set_allocated_message( std::string* message) { GOOGLE_DCHECK(GetArena() != nullptr); if (message != nullptr) { } else { } message_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), message, GetArena()); // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protos.Hi.message) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace protos // @@protoc_insertion_point(global_scope) #include <google/protobuf/port_undef.inc> #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_mentoring_2eproto
Leave a Comment