123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: notify_communication.proto
- #ifndef PROTOBUF_notify_5fcommunication_2eproto__INCLUDED
- #define PROTOBUF_notify_5fcommunication_2eproto__INCLUDED
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #if GOOGLE_PROTOBUF_VERSION < 3005000
- #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 3005000 < 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 <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/metadata.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)
- namespace protobuf_notify_5fcommunication_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();
- void InitDefaultsNotify_communication_parameterImpl();
- void InitDefaultsNotify_communication_parameter();
- void InitDefaultsNotify_communication_parameter_allImpl();
- void InitDefaultsNotify_communication_parameter_all();
- inline void InitDefaults() {
- InitDefaultsNotify_communication_parameter();
- InitDefaultsNotify_communication_parameter_all();
- }
- } // namespace protobuf_notify_5fcommunication_2eproto
- namespace Communication_proto {
- class Notify_communication_parameter;
- class Notify_communication_parameterDefaultTypeInternal;
- extern Notify_communication_parameterDefaultTypeInternal _Notify_communication_parameter_default_instance_;
- class Notify_communication_parameter_all;
- class Notify_communication_parameter_allDefaultTypeInternal;
- extern Notify_communication_parameter_allDefaultTypeInternal _Notify_communication_parameter_all_default_instance_;
- } // namespace Communication_proto
- namespace Communication_proto {
- // ===================================================================
- class Notify_communication_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Communication_proto.Notify_communication_parameter) */ {
- public:
- Notify_communication_parameter();
- virtual ~Notify_communication_parameter();
- Notify_communication_parameter(const Notify_communication_parameter& from);
- inline Notify_communication_parameter& operator=(const Notify_communication_parameter& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Notify_communication_parameter(Notify_communication_parameter&& from) noexcept
- : Notify_communication_parameter() {
- *this = ::std::move(from);
- }
- inline Notify_communication_parameter& operator=(Notify_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 Notify_communication_parameter& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Notify_communication_parameter* internal_default_instance() {
- return reinterpret_cast<const Notify_communication_parameter*>(
- &_Notify_communication_parameter_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 0;
- void Swap(Notify_communication_parameter* other);
- friend void swap(Notify_communication_parameter& a, Notify_communication_parameter& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Notify_communication_parameter* New() const PROTOBUF_FINAL { return New(NULL); }
- Notify_communication_parameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const Notify_communication_parameter& from);
- void MergeFrom(const Notify_communication_parameter& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(Notify_communication_parameter* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // repeated string singlechip_ip_vector = 1;
- int singlechip_ip_vector_size() const;
- void clear_singlechip_ip_vector();
- static const int kSinglechipIpVectorFieldNumber = 1;
- const ::std::string& singlechip_ip_vector(int index) const;
- ::std::string* mutable_singlechip_ip_vector(int index);
- void set_singlechip_ip_vector(int index, const ::std::string& value);
- #if LANG_CXX11
- void set_singlechip_ip_vector(int index, ::std::string&& value);
- #endif
- void set_singlechip_ip_vector(int index, const char* value);
- void set_singlechip_ip_vector(int index, const char* value, size_t size);
- ::std::string* add_singlechip_ip_vector();
- void add_singlechip_ip_vector(const ::std::string& value);
- #if LANG_CXX11
- void add_singlechip_ip_vector(::std::string&& value);
- #endif
- void add_singlechip_ip_vector(const char* value);
- void add_singlechip_ip_vector(const char* value, size_t size);
- const ::google::protobuf::RepeatedPtrField< ::std::string>& singlechip_ip_vector() const;
- ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_singlechip_ip_vector();
- // repeated int32 singlechip_port_vector = 2;
- int singlechip_port_vector_size() const;
- void clear_singlechip_port_vector();
- static const int kSinglechipPortVectorFieldNumber = 2;
- ::google::protobuf::int32 singlechip_port_vector(int index) const;
- void set_singlechip_port_vector(int index, ::google::protobuf::int32 value);
- void add_singlechip_port_vector(::google::protobuf::int32 value);
- const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
- singlechip_port_vector() const;
- ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
- mutable_singlechip_port_vector();
- // optional string led_screen_ip = 3;
- bool has_led_screen_ip() const;
- void clear_led_screen_ip();
- static const int kLedScreenIpFieldNumber = 3;
- const ::std::string& led_screen_ip() const;
- void set_led_screen_ip(const ::std::string& value);
- #if LANG_CXX11
- void set_led_screen_ip(::std::string&& value);
- #endif
- void set_led_screen_ip(const char* value);
- void set_led_screen_ip(const char* value, size_t size);
- ::std::string* mutable_led_screen_ip();
- ::std::string* release_led_screen_ip();
- void set_allocated_led_screen_ip(::std::string* led_screen_ip);
- // optional string bind_string_vector = 5;
- bool has_bind_string_vector() const;
- void clear_bind_string_vector();
- static const int kBindStringVectorFieldNumber = 5;
- const ::std::string& bind_string_vector() const;
- void set_bind_string_vector(const ::std::string& value);
- #if LANG_CXX11
- void set_bind_string_vector(::std::string&& value);
- #endif
- void set_bind_string_vector(const char* value);
- void set_bind_string_vector(const char* value, size_t size);
- ::std::string* mutable_bind_string_vector();
- ::std::string* release_bind_string_vector();
- void set_allocated_bind_string_vector(::std::string* bind_string_vector);
- // optional int32 led_screen_port = 4;
- bool has_led_screen_port() const;
- void clear_led_screen_port();
- static const int kLedScreenPortFieldNumber = 4;
- ::google::protobuf::int32 led_screen_port() const;
- void set_led_screen_port(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:Communication_proto.Notify_communication_parameter)
- private:
- void set_has_led_screen_ip();
- void clear_has_led_screen_ip();
- void set_has_led_screen_port();
- void clear_has_led_screen_port();
- void set_has_bind_string_vector();
- void clear_has_bind_string_vector();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::google::protobuf::RepeatedPtrField< ::std::string> singlechip_ip_vector_;
- ::google::protobuf::RepeatedField< ::google::protobuf::int32 > singlechip_port_vector_;
- ::google::protobuf::internal::ArenaStringPtr led_screen_ip_;
- ::google::protobuf::internal::ArenaStringPtr bind_string_vector_;
- ::google::protobuf::int32 led_screen_port_;
- friend struct ::protobuf_notify_5fcommunication_2eproto::TableStruct;
- friend void ::protobuf_notify_5fcommunication_2eproto::InitDefaultsNotify_communication_parameterImpl();
- };
- // -------------------------------------------------------------------
- class Notify_communication_parameter_all : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Communication_proto.Notify_communication_parameter_all) */ {
- public:
- Notify_communication_parameter_all();
- virtual ~Notify_communication_parameter_all();
- Notify_communication_parameter_all(const Notify_communication_parameter_all& from);
- inline Notify_communication_parameter_all& operator=(const Notify_communication_parameter_all& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Notify_communication_parameter_all(Notify_communication_parameter_all&& from) noexcept
- : Notify_communication_parameter_all() {
- *this = ::std::move(from);
- }
- inline Notify_communication_parameter_all& operator=(Notify_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 Notify_communication_parameter_all& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Notify_communication_parameter_all* internal_default_instance() {
- return reinterpret_cast<const Notify_communication_parameter_all*>(
- &_Notify_communication_parameter_all_default_instance_);
- }
- static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 1;
- void Swap(Notify_communication_parameter_all* other);
- friend void swap(Notify_communication_parameter_all& a, Notify_communication_parameter_all& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Notify_communication_parameter_all* New() const PROTOBUF_FINAL { return New(NULL); }
- Notify_communication_parameter_all* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const Notify_communication_parameter_all& from);
- void MergeFrom(const Notify_communication_parameter_all& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(Notify_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 PROTOBUF_FINAL;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // optional .Communication_proto.Notify_communication_parameter notify_communication_parameters = 1;
- bool has_notify_communication_parameters() const;
- void clear_notify_communication_parameters();
- static const int kNotifyCommunicationParametersFieldNumber = 1;
- const ::Communication_proto::Notify_communication_parameter& notify_communication_parameters() const;
- ::Communication_proto::Notify_communication_parameter* release_notify_communication_parameters();
- ::Communication_proto::Notify_communication_parameter* mutable_notify_communication_parameters();
- void set_allocated_notify_communication_parameters(::Communication_proto::Notify_communication_parameter* notify_communication_parameters);
- // @@protoc_insertion_point(class_scope:Communication_proto.Notify_communication_parameter_all)
- private:
- void set_has_notify_communication_parameters();
- void clear_has_notify_communication_parameters();
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::Communication_proto::Notify_communication_parameter* notify_communication_parameters_;
- friend struct ::protobuf_notify_5fcommunication_2eproto::TableStruct;
- friend void ::protobuf_notify_5fcommunication_2eproto::InitDefaultsNotify_communication_parameter_allImpl();
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // Notify_communication_parameter
- // repeated string singlechip_ip_vector = 1;
- inline int Notify_communication_parameter::singlechip_ip_vector_size() const {
- return singlechip_ip_vector_.size();
- }
- inline void Notify_communication_parameter::clear_singlechip_ip_vector() {
- singlechip_ip_vector_.Clear();
- }
- inline const ::std::string& Notify_communication_parameter::singlechip_ip_vector(int index) const {
- // @@protoc_insertion_point(field_get:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
- return singlechip_ip_vector_.Get(index);
- }
- inline ::std::string* Notify_communication_parameter::mutable_singlechip_ip_vector(int index) {
- // @@protoc_insertion_point(field_mutable:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
- return singlechip_ip_vector_.Mutable(index);
- }
- inline void Notify_communication_parameter::set_singlechip_ip_vector(int index, const ::std::string& value) {
- // @@protoc_insertion_point(field_set:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
- singlechip_ip_vector_.Mutable(index)->assign(value);
- }
- #if LANG_CXX11
- inline void Notify_communication_parameter::set_singlechip_ip_vector(int index, ::std::string&& value) {
- // @@protoc_insertion_point(field_set:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
- singlechip_ip_vector_.Mutable(index)->assign(std::move(value));
- }
- #endif
- inline void Notify_communication_parameter::set_singlechip_ip_vector(int index, const char* value) {
- GOOGLE_DCHECK(value != NULL);
- singlechip_ip_vector_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
- }
- inline void Notify_communication_parameter::set_singlechip_ip_vector(int index, const char* value, size_t size) {
- singlechip_ip_vector_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
- }
- inline ::std::string* Notify_communication_parameter::add_singlechip_ip_vector() {
- // @@protoc_insertion_point(field_add_mutable:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
- return singlechip_ip_vector_.Add();
- }
- inline void Notify_communication_parameter::add_singlechip_ip_vector(const ::std::string& value) {
- singlechip_ip_vector_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
- }
- #if LANG_CXX11
- inline void Notify_communication_parameter::add_singlechip_ip_vector(::std::string&& value) {
- singlechip_ip_vector_.Add(std::move(value));
- // @@protoc_insertion_point(field_add:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
- }
- #endif
- inline void Notify_communication_parameter::add_singlechip_ip_vector(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- singlechip_ip_vector_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
- }
- inline void Notify_communication_parameter::add_singlechip_ip_vector(const char* value, size_t size) {
- singlechip_ip_vector_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
- }
- inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
- Notify_communication_parameter::singlechip_ip_vector() const {
- // @@protoc_insertion_point(field_list:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
- return singlechip_ip_vector_;
- }
- inline ::google::protobuf::RepeatedPtrField< ::std::string>*
- Notify_communication_parameter::mutable_singlechip_ip_vector() {
- // @@protoc_insertion_point(field_mutable_list:Communication_proto.Notify_communication_parameter.singlechip_ip_vector)
- return &singlechip_ip_vector_;
- }
- // repeated int32 singlechip_port_vector = 2;
- inline int Notify_communication_parameter::singlechip_port_vector_size() const {
- return singlechip_port_vector_.size();
- }
- inline void Notify_communication_parameter::clear_singlechip_port_vector() {
- singlechip_port_vector_.Clear();
- }
- inline ::google::protobuf::int32 Notify_communication_parameter::singlechip_port_vector(int index) const {
- // @@protoc_insertion_point(field_get:Communication_proto.Notify_communication_parameter.singlechip_port_vector)
- return singlechip_port_vector_.Get(index);
- }
- inline void Notify_communication_parameter::set_singlechip_port_vector(int index, ::google::protobuf::int32 value) {
- singlechip_port_vector_.Set(index, value);
- // @@protoc_insertion_point(field_set:Communication_proto.Notify_communication_parameter.singlechip_port_vector)
- }
- inline void Notify_communication_parameter::add_singlechip_port_vector(::google::protobuf::int32 value) {
- singlechip_port_vector_.Add(value);
- // @@protoc_insertion_point(field_add:Communication_proto.Notify_communication_parameter.singlechip_port_vector)
- }
- inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
- Notify_communication_parameter::singlechip_port_vector() const {
- // @@protoc_insertion_point(field_list:Communication_proto.Notify_communication_parameter.singlechip_port_vector)
- return singlechip_port_vector_;
- }
- inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
- Notify_communication_parameter::mutable_singlechip_port_vector() {
- // @@protoc_insertion_point(field_mutable_list:Communication_proto.Notify_communication_parameter.singlechip_port_vector)
- return &singlechip_port_vector_;
- }
- // optional string led_screen_ip = 3;
- inline bool Notify_communication_parameter::has_led_screen_ip() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Notify_communication_parameter::set_has_led_screen_ip() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Notify_communication_parameter::clear_has_led_screen_ip() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Notify_communication_parameter::clear_led_screen_ip() {
- led_screen_ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_led_screen_ip();
- }
- inline const ::std::string& Notify_communication_parameter::led_screen_ip() const {
- // @@protoc_insertion_point(field_get:Communication_proto.Notify_communication_parameter.led_screen_ip)
- return led_screen_ip_.GetNoArena();
- }
- inline void Notify_communication_parameter::set_led_screen_ip(const ::std::string& value) {
- set_has_led_screen_ip();
- led_screen_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:Communication_proto.Notify_communication_parameter.led_screen_ip)
- }
- #if LANG_CXX11
- inline void Notify_communication_parameter::set_led_screen_ip(::std::string&& value) {
- set_has_led_screen_ip();
- led_screen_ip_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:Communication_proto.Notify_communication_parameter.led_screen_ip)
- }
- #endif
- inline void Notify_communication_parameter::set_led_screen_ip(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_led_screen_ip();
- led_screen_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:Communication_proto.Notify_communication_parameter.led_screen_ip)
- }
- inline void Notify_communication_parameter::set_led_screen_ip(const char* value, size_t size) {
- set_has_led_screen_ip();
- led_screen_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:Communication_proto.Notify_communication_parameter.led_screen_ip)
- }
- inline ::std::string* Notify_communication_parameter::mutable_led_screen_ip() {
- set_has_led_screen_ip();
- // @@protoc_insertion_point(field_mutable:Communication_proto.Notify_communication_parameter.led_screen_ip)
- return led_screen_ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Notify_communication_parameter::release_led_screen_ip() {
- // @@protoc_insertion_point(field_release:Communication_proto.Notify_communication_parameter.led_screen_ip)
- clear_has_led_screen_ip();
- return led_screen_ip_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Notify_communication_parameter::set_allocated_led_screen_ip(::std::string* led_screen_ip) {
- if (led_screen_ip != NULL) {
- set_has_led_screen_ip();
- } else {
- clear_has_led_screen_ip();
- }
- led_screen_ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), led_screen_ip);
- // @@protoc_insertion_point(field_set_allocated:Communication_proto.Notify_communication_parameter.led_screen_ip)
- }
- // optional int32 led_screen_port = 4;
- inline bool Notify_communication_parameter::has_led_screen_port() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void Notify_communication_parameter::set_has_led_screen_port() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void Notify_communication_parameter::clear_has_led_screen_port() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void Notify_communication_parameter::clear_led_screen_port() {
- led_screen_port_ = 0;
- clear_has_led_screen_port();
- }
- inline ::google::protobuf::int32 Notify_communication_parameter::led_screen_port() const {
- // @@protoc_insertion_point(field_get:Communication_proto.Notify_communication_parameter.led_screen_port)
- return led_screen_port_;
- }
- inline void Notify_communication_parameter::set_led_screen_port(::google::protobuf::int32 value) {
- set_has_led_screen_port();
- led_screen_port_ = value;
- // @@protoc_insertion_point(field_set:Communication_proto.Notify_communication_parameter.led_screen_port)
- }
- // optional string bind_string_vector = 5;
- inline bool Notify_communication_parameter::has_bind_string_vector() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void Notify_communication_parameter::set_has_bind_string_vector() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void Notify_communication_parameter::clear_has_bind_string_vector() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void Notify_communication_parameter::clear_bind_string_vector() {
- bind_string_vector_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_bind_string_vector();
- }
- inline const ::std::string& Notify_communication_parameter::bind_string_vector() const {
- // @@protoc_insertion_point(field_get:Communication_proto.Notify_communication_parameter.bind_string_vector)
- return bind_string_vector_.GetNoArena();
- }
- inline void Notify_communication_parameter::set_bind_string_vector(const ::std::string& value) {
- set_has_bind_string_vector();
- bind_string_vector_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:Communication_proto.Notify_communication_parameter.bind_string_vector)
- }
- #if LANG_CXX11
- inline void Notify_communication_parameter::set_bind_string_vector(::std::string&& value) {
- set_has_bind_string_vector();
- bind_string_vector_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:Communication_proto.Notify_communication_parameter.bind_string_vector)
- }
- #endif
- inline void Notify_communication_parameter::set_bind_string_vector(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_bind_string_vector();
- bind_string_vector_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:Communication_proto.Notify_communication_parameter.bind_string_vector)
- }
- inline void Notify_communication_parameter::set_bind_string_vector(const char* value, size_t size) {
- set_has_bind_string_vector();
- bind_string_vector_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:Communication_proto.Notify_communication_parameter.bind_string_vector)
- }
- inline ::std::string* Notify_communication_parameter::mutable_bind_string_vector() {
- set_has_bind_string_vector();
- // @@protoc_insertion_point(field_mutable:Communication_proto.Notify_communication_parameter.bind_string_vector)
- return bind_string_vector_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Notify_communication_parameter::release_bind_string_vector() {
- // @@protoc_insertion_point(field_release:Communication_proto.Notify_communication_parameter.bind_string_vector)
- clear_has_bind_string_vector();
- return bind_string_vector_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Notify_communication_parameter::set_allocated_bind_string_vector(::std::string* bind_string_vector) {
- if (bind_string_vector != NULL) {
- set_has_bind_string_vector();
- } else {
- clear_has_bind_string_vector();
- }
- bind_string_vector_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), bind_string_vector);
- // @@protoc_insertion_point(field_set_allocated:Communication_proto.Notify_communication_parameter.bind_string_vector)
- }
- // -------------------------------------------------------------------
- // Notify_communication_parameter_all
- // optional .Communication_proto.Notify_communication_parameter notify_communication_parameters = 1;
- inline bool Notify_communication_parameter_all::has_notify_communication_parameters() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void Notify_communication_parameter_all::set_has_notify_communication_parameters() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void Notify_communication_parameter_all::clear_has_notify_communication_parameters() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void Notify_communication_parameter_all::clear_notify_communication_parameters() {
- if (notify_communication_parameters_ != NULL) notify_communication_parameters_->Clear();
- clear_has_notify_communication_parameters();
- }
- inline const ::Communication_proto::Notify_communication_parameter& Notify_communication_parameter_all::notify_communication_parameters() const {
- const ::Communication_proto::Notify_communication_parameter* p = notify_communication_parameters_;
- // @@protoc_insertion_point(field_get:Communication_proto.Notify_communication_parameter_all.notify_communication_parameters)
- return p != NULL ? *p : *reinterpret_cast<const ::Communication_proto::Notify_communication_parameter*>(
- &::Communication_proto::_Notify_communication_parameter_default_instance_);
- }
- inline ::Communication_proto::Notify_communication_parameter* Notify_communication_parameter_all::release_notify_communication_parameters() {
- // @@protoc_insertion_point(field_release:Communication_proto.Notify_communication_parameter_all.notify_communication_parameters)
- clear_has_notify_communication_parameters();
- ::Communication_proto::Notify_communication_parameter* temp = notify_communication_parameters_;
- notify_communication_parameters_ = NULL;
- return temp;
- }
- inline ::Communication_proto::Notify_communication_parameter* Notify_communication_parameter_all::mutable_notify_communication_parameters() {
- set_has_notify_communication_parameters();
- if (notify_communication_parameters_ == NULL) {
- notify_communication_parameters_ = new ::Communication_proto::Notify_communication_parameter;
- }
- // @@protoc_insertion_point(field_mutable:Communication_proto.Notify_communication_parameter_all.notify_communication_parameters)
- return notify_communication_parameters_;
- }
- inline void Notify_communication_parameter_all::set_allocated_notify_communication_parameters(::Communication_proto::Notify_communication_parameter* notify_communication_parameters) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete notify_communication_parameters_;
- }
- if (notify_communication_parameters) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- notify_communication_parameters = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, notify_communication_parameters, submessage_arena);
- }
- set_has_notify_communication_parameters();
- } else {
- clear_has_notify_communication_parameters();
- }
- notify_communication_parameters_ = notify_communication_parameters;
- // @@protoc_insertion_point(field_set_allocated:Communication_proto.Notify_communication_parameter_all.notify_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_notify_5fcommunication_2eproto__INCLUDED
|