// Generated by the protocol buffer compiler. DO NOT EDIT! // source: communication.proto #ifndef PROTOBUF_INCLUDED_communication_2eproto #define PROTOBUF_INCLUDED_communication_2eproto #include #include #if GOOGLE_PROTOBUF_VERSION < 3006001 #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 3006001 < GOOGLE_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 #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) #define PROTOBUF_INTERNAL_EXPORT_protobuf_communication_2eproto namespace protobuf_communication_2eproto { // Internal implementation detail -- do not use these members. struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; static const ::google::protobuf::internal::ParseTable schema[2]; static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; static const ::google::protobuf::uint32 offsets[]; }; void AddDescriptors(); } // namespace protobuf_communication_2eproto namespace Communication_proto { class Communication_parameter; class Communication_parameterDefaultTypeInternal; extern Communication_parameterDefaultTypeInternal _Communication_parameter_default_instance_; class Communication_parameter_all; class Communication_parameter_allDefaultTypeInternal; extern Communication_parameter_allDefaultTypeInternal _Communication_parameter_all_default_instance_; } // namespace Communication_proto namespace google { namespace protobuf { template<> ::Communication_proto::Communication_parameter* Arena::CreateMaybeMessage<::Communication_proto::Communication_parameter>(Arena*); template<> ::Communication_proto::Communication_parameter_all* Arena::CreateMaybeMessage<::Communication_proto::Communication_parameter_all>(Arena*); } // namespace protobuf } // namespace google namespace Communication_proto { // =================================================================== class Communication_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Communication_proto.Communication_parameter) */ { public: Communication_parameter(); virtual ~Communication_parameter(); Communication_parameter(const Communication_parameter& from); inline Communication_parameter& operator=(const Communication_parameter& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Communication_parameter(Communication_parameter&& from) noexcept : Communication_parameter() { *this = ::std::move(from); } inline Communication_parameter& operator=(Communication_parameter&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); static const Communication_parameter& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Communication_parameter* internal_default_instance() { return reinterpret_cast( &_Communication_parameter_default_instance_); } static constexpr int kIndexInFileMessages = 0; void Swap(Communication_parameter* other); friend void swap(Communication_parameter& a, Communication_parameter& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Communication_parameter* New() const final { return CreateMaybeMessage(NULL); } Communication_parameter* New(::google::protobuf::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; void CopyFrom(const Communication_parameter& from); void MergeFrom(const Communication_parameter& from); void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) final; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const final; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Communication_parameter* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // repeated string connect_string_vector = 2; int connect_string_vector_size() const; void clear_connect_string_vector(); static const int kConnectStringVectorFieldNumber = 2; const ::std::string& connect_string_vector(int index) const; ::std::string* mutable_connect_string_vector(int index); void set_connect_string_vector(int index, const ::std::string& value); #if LANG_CXX11 void set_connect_string_vector(int index, ::std::string&& value); #endif void set_connect_string_vector(int index, const char* value); void set_connect_string_vector(int index, const char* value, size_t size); ::std::string* add_connect_string_vector(); void add_connect_string_vector(const ::std::string& value); #if LANG_CXX11 void add_connect_string_vector(::std::string&& value); #endif void add_connect_string_vector(const char* value); void add_connect_string_vector(const char* value, size_t size); const ::google::protobuf::RepeatedPtrField< ::std::string>& connect_string_vector() const; ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_connect_string_vector(); // optional string bind_string = 1; bool has_bind_string() const; void clear_bind_string(); static const int kBindStringFieldNumber = 1; const ::std::string& bind_string() const; void set_bind_string(const ::std::string& value); #if LANG_CXX11 void set_bind_string(::std::string&& value); #endif void set_bind_string(const char* value); void set_bind_string(const char* value, size_t size); ::std::string* mutable_bind_string(); ::std::string* release_bind_string(); void set_allocated_bind_string(::std::string* bind_string); // @@protoc_insertion_point(class_scope:Communication_proto.Communication_parameter) private: void set_has_bind_string(); void clear_has_bind_string(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::RepeatedPtrField< ::std::string> connect_string_vector_; ::google::protobuf::internal::ArenaStringPtr bind_string_; friend struct ::protobuf_communication_2eproto::TableStruct; }; // ------------------------------------------------------------------- class Communication_parameter_all : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Communication_proto.Communication_parameter_all) */ { public: Communication_parameter_all(); virtual ~Communication_parameter_all(); Communication_parameter_all(const Communication_parameter_all& from); inline Communication_parameter_all& operator=(const Communication_parameter_all& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Communication_parameter_all(Communication_parameter_all&& from) noexcept : Communication_parameter_all() { *this = ::std::move(from); } inline Communication_parameter_all& operator=(Communication_parameter_all&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); static const Communication_parameter_all& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Communication_parameter_all* internal_default_instance() { return reinterpret_cast( &_Communication_parameter_all_default_instance_); } static constexpr int kIndexInFileMessages = 1; void Swap(Communication_parameter_all* other); friend void swap(Communication_parameter_all& a, Communication_parameter_all& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Communication_parameter_all* New() const final { return CreateMaybeMessage(NULL); } Communication_parameter_all* New(::google::protobuf::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; void CopyFrom(const Communication_parameter_all& from); void MergeFrom(const Communication_parameter_all& from); void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) final; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const final; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Communication_parameter_all* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .Communication_proto.Communication_parameter communication_parameters = 1; bool has_communication_parameters() const; void clear_communication_parameters(); static const int kCommunicationParametersFieldNumber = 1; private: const ::Communication_proto::Communication_parameter& _internal_communication_parameters() const; public: const ::Communication_proto::Communication_parameter& communication_parameters() const; ::Communication_proto::Communication_parameter* release_communication_parameters(); ::Communication_proto::Communication_parameter* mutable_communication_parameters(); void set_allocated_communication_parameters(::Communication_proto::Communication_parameter* communication_parameters); // @@protoc_insertion_point(class_scope:Communication_proto.Communication_parameter_all) private: void set_has_communication_parameters(); void clear_has_communication_parameters(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable ::google::protobuf::internal::CachedSize _cached_size_; ::Communication_proto::Communication_parameter* communication_parameters_; friend struct ::protobuf_communication_2eproto::TableStruct; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // Communication_parameter // optional string bind_string = 1; inline bool Communication_parameter::has_bind_string() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void Communication_parameter::set_has_bind_string() { _has_bits_[0] |= 0x00000001u; } inline void Communication_parameter::clear_has_bind_string() { _has_bits_[0] &= ~0x00000001u; } inline void Communication_parameter::clear_bind_string() { bind_string_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_bind_string(); } inline const ::std::string& Communication_parameter::bind_string() const { // @@protoc_insertion_point(field_get:Communication_proto.Communication_parameter.bind_string) return bind_string_.GetNoArena(); } inline void Communication_parameter::set_bind_string(const ::std::string& value) { set_has_bind_string(); bind_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:Communication_proto.Communication_parameter.bind_string) } #if LANG_CXX11 inline void Communication_parameter::set_bind_string(::std::string&& value) { set_has_bind_string(); bind_string_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:Communication_proto.Communication_parameter.bind_string) } #endif inline void Communication_parameter::set_bind_string(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_bind_string(); bind_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:Communication_proto.Communication_parameter.bind_string) } inline void Communication_parameter::set_bind_string(const char* value, size_t size) { set_has_bind_string(); bind_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:Communication_proto.Communication_parameter.bind_string) } inline ::std::string* Communication_parameter::mutable_bind_string() { set_has_bind_string(); // @@protoc_insertion_point(field_mutable:Communication_proto.Communication_parameter.bind_string) return bind_string_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* Communication_parameter::release_bind_string() { // @@protoc_insertion_point(field_release:Communication_proto.Communication_parameter.bind_string) if (!has_bind_string()) { return NULL; } clear_has_bind_string(); return bind_string_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void Communication_parameter::set_allocated_bind_string(::std::string* bind_string) { if (bind_string != NULL) { set_has_bind_string(); } else { clear_has_bind_string(); } bind_string_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), bind_string); // @@protoc_insertion_point(field_set_allocated:Communication_proto.Communication_parameter.bind_string) } // repeated string connect_string_vector = 2; inline int Communication_parameter::connect_string_vector_size() const { return connect_string_vector_.size(); } inline void Communication_parameter::clear_connect_string_vector() { connect_string_vector_.Clear(); } inline const ::std::string& Communication_parameter::connect_string_vector(int index) const { // @@protoc_insertion_point(field_get:Communication_proto.Communication_parameter.connect_string_vector) return connect_string_vector_.Get(index); } inline ::std::string* Communication_parameter::mutable_connect_string_vector(int index) { // @@protoc_insertion_point(field_mutable:Communication_proto.Communication_parameter.connect_string_vector) return connect_string_vector_.Mutable(index); } inline void Communication_parameter::set_connect_string_vector(int index, const ::std::string& value) { // @@protoc_insertion_point(field_set:Communication_proto.Communication_parameter.connect_string_vector) connect_string_vector_.Mutable(index)->assign(value); } #if LANG_CXX11 inline void Communication_parameter::set_connect_string_vector(int index, ::std::string&& value) { // @@protoc_insertion_point(field_set:Communication_proto.Communication_parameter.connect_string_vector) connect_string_vector_.Mutable(index)->assign(std::move(value)); } #endif inline void Communication_parameter::set_connect_string_vector(int index, const char* value) { GOOGLE_DCHECK(value != NULL); connect_string_vector_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:Communication_proto.Communication_parameter.connect_string_vector) } inline void Communication_parameter::set_connect_string_vector(int index, const char* value, size_t size) { connect_string_vector_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:Communication_proto.Communication_parameter.connect_string_vector) } inline ::std::string* Communication_parameter::add_connect_string_vector() { // @@protoc_insertion_point(field_add_mutable:Communication_proto.Communication_parameter.connect_string_vector) return connect_string_vector_.Add(); } inline void Communication_parameter::add_connect_string_vector(const ::std::string& value) { connect_string_vector_.Add()->assign(value); // @@protoc_insertion_point(field_add:Communication_proto.Communication_parameter.connect_string_vector) } #if LANG_CXX11 inline void Communication_parameter::add_connect_string_vector(::std::string&& value) { connect_string_vector_.Add(std::move(value)); // @@protoc_insertion_point(field_add:Communication_proto.Communication_parameter.connect_string_vector) } #endif inline void Communication_parameter::add_connect_string_vector(const char* value) { GOOGLE_DCHECK(value != NULL); connect_string_vector_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:Communication_proto.Communication_parameter.connect_string_vector) } inline void Communication_parameter::add_connect_string_vector(const char* value, size_t size) { connect_string_vector_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:Communication_proto.Communication_parameter.connect_string_vector) } inline const ::google::protobuf::RepeatedPtrField< ::std::string>& Communication_parameter::connect_string_vector() const { // @@protoc_insertion_point(field_list:Communication_proto.Communication_parameter.connect_string_vector) return connect_string_vector_; } inline ::google::protobuf::RepeatedPtrField< ::std::string>* Communication_parameter::mutable_connect_string_vector() { // @@protoc_insertion_point(field_mutable_list:Communication_proto.Communication_parameter.connect_string_vector) return &connect_string_vector_; } // ------------------------------------------------------------------- // Communication_parameter_all // optional .Communication_proto.Communication_parameter communication_parameters = 1; inline bool Communication_parameter_all::has_communication_parameters() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void Communication_parameter_all::set_has_communication_parameters() { _has_bits_[0] |= 0x00000001u; } inline void Communication_parameter_all::clear_has_communication_parameters() { _has_bits_[0] &= ~0x00000001u; } inline void Communication_parameter_all::clear_communication_parameters() { if (communication_parameters_ != NULL) communication_parameters_->Clear(); clear_has_communication_parameters(); } inline const ::Communication_proto::Communication_parameter& Communication_parameter_all::_internal_communication_parameters() const { return *communication_parameters_; } inline const ::Communication_proto::Communication_parameter& Communication_parameter_all::communication_parameters() const { const ::Communication_proto::Communication_parameter* p = communication_parameters_; // @@protoc_insertion_point(field_get:Communication_proto.Communication_parameter_all.communication_parameters) return p != NULL ? *p : *reinterpret_cast( &::Communication_proto::_Communication_parameter_default_instance_); } inline ::Communication_proto::Communication_parameter* Communication_parameter_all::release_communication_parameters() { // @@protoc_insertion_point(field_release:Communication_proto.Communication_parameter_all.communication_parameters) clear_has_communication_parameters(); ::Communication_proto::Communication_parameter* temp = communication_parameters_; communication_parameters_ = NULL; return temp; } inline ::Communication_proto::Communication_parameter* Communication_parameter_all::mutable_communication_parameters() { set_has_communication_parameters(); if (communication_parameters_ == NULL) { auto* p = CreateMaybeMessage<::Communication_proto::Communication_parameter>(GetArenaNoVirtual()); communication_parameters_ = p; } // @@protoc_insertion_point(field_mutable:Communication_proto.Communication_parameter_all.communication_parameters) return communication_parameters_; } inline void Communication_parameter_all::set_allocated_communication_parameters(::Communication_proto::Communication_parameter* communication_parameters) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == NULL) { delete communication_parameters_; } if (communication_parameters) { ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { communication_parameters = ::google::protobuf::internal::GetOwnedMessage( message_arena, communication_parameters, submessage_arena); } set_has_communication_parameters(); } else { clear_has_communication_parameters(); } communication_parameters_ = communication_parameters; // @@protoc_insertion_point(field_set_allocated:Communication_proto.Communication_parameter_all.communication_parameters) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace Communication_proto // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_INCLUDED_communication_2eproto