state_machine_config.pb.h 101 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: state_machine_config.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_state_5fmachine_5fconfig_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_state_5fmachine_5fconfig_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3015000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3015008 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_table_driven.h>
  23. #include <google/protobuf/generated_message_util.h>
  24. #include <google/protobuf/metadata_lite.h>
  25. #include <google/protobuf/message_lite.h>
  26. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  27. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  28. #include <google/protobuf/map.h> // IWYU pragma: export
  29. #include <google/protobuf/map_entry_lite.h>
  30. #include <google/protobuf/map_field_lite.h>
  31. // @@protoc_insertion_point(includes)
  32. #include <google/protobuf/port_def.inc>
  33. #define PROTOBUF_INTERNAL_EXPORT_state_5fmachine_5fconfig_2eproto
  34. PROTOBUF_NAMESPACE_OPEN
  35. namespace internal {
  36. class AnyMetadata;
  37. } // namespace internal
  38. PROTOBUF_NAMESPACE_CLOSE
  39. // Internal implementation detail -- do not use these members.
  40. struct TableStruct_state_5fmachine_5fconfig_2eproto {
  41. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  42. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  44. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[9]
  46. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  49. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  50. };
  51. namespace fsmproto {
  52. class Action;
  53. struct ActionDefaultTypeInternal;
  54. extern ActionDefaultTypeInternal _Action_default_instance_;
  55. class Action_ParamsEntry_DoNotUse;
  56. struct Action_ParamsEntry_DoNotUseDefaultTypeInternal;
  57. extern Action_ParamsEntry_DoNotUseDefaultTypeInternal _Action_ParamsEntry_DoNotUse_default_instance_;
  58. class ConditionData;
  59. struct ConditionDataDefaultTypeInternal;
  60. extern ConditionDataDefaultTypeInternal _ConditionData_default_instance_;
  61. class ConditionValue;
  62. struct ConditionValueDefaultTypeInternal;
  63. extern ConditionValueDefaultTypeInternal _ConditionValue_default_instance_;
  64. class Param;
  65. struct ParamDefaultTypeInternal;
  66. extern ParamDefaultTypeInternal _Param_default_instance_;
  67. class State;
  68. struct StateDefaultTypeInternal;
  69. extern StateDefaultTypeInternal _State_default_instance_;
  70. class StateMachine;
  71. struct StateMachineDefaultTypeInternal;
  72. extern StateMachineDefaultTypeInternal _StateMachine_default_instance_;
  73. class StateMachine_ParamsEntry_DoNotUse;
  74. struct StateMachine_ParamsEntry_DoNotUseDefaultTypeInternal;
  75. extern StateMachine_ParamsEntry_DoNotUseDefaultTypeInternal _StateMachine_ParamsEntry_DoNotUse_default_instance_;
  76. class Transition;
  77. struct TransitionDefaultTypeInternal;
  78. extern TransitionDefaultTypeInternal _Transition_default_instance_;
  79. } // namespace fsmproto
  80. PROTOBUF_NAMESPACE_OPEN
  81. template<> ::fsmproto::Action* Arena::CreateMaybeMessage<::fsmproto::Action>(Arena*);
  82. template<> ::fsmproto::Action_ParamsEntry_DoNotUse* Arena::CreateMaybeMessage<::fsmproto::Action_ParamsEntry_DoNotUse>(Arena*);
  83. template<> ::fsmproto::ConditionData* Arena::CreateMaybeMessage<::fsmproto::ConditionData>(Arena*);
  84. template<> ::fsmproto::ConditionValue* Arena::CreateMaybeMessage<::fsmproto::ConditionValue>(Arena*);
  85. template<> ::fsmproto::Param* Arena::CreateMaybeMessage<::fsmproto::Param>(Arena*);
  86. template<> ::fsmproto::State* Arena::CreateMaybeMessage<::fsmproto::State>(Arena*);
  87. template<> ::fsmproto::StateMachine* Arena::CreateMaybeMessage<::fsmproto::StateMachine>(Arena*);
  88. template<> ::fsmproto::StateMachine_ParamsEntry_DoNotUse* Arena::CreateMaybeMessage<::fsmproto::StateMachine_ParamsEntry_DoNotUse>(Arena*);
  89. template<> ::fsmproto::Transition* Arena::CreateMaybeMessage<::fsmproto::Transition>(Arena*);
  90. PROTOBUF_NAMESPACE_CLOSE
  91. namespace fsmproto {
  92. // ===================================================================
  93. class Action_ParamsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<Action_ParamsEntry_DoNotUse,
  94. std::string, std::string,
  95. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  96. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
  97. public:
  98. typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<Action_ParamsEntry_DoNotUse,
  99. std::string, std::string,
  100. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  101. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
  102. Action_ParamsEntry_DoNotUse();
  103. explicit constexpr Action_ParamsEntry_DoNotUse(
  104. ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  105. explicit Action_ParamsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  106. void MergeFrom(const Action_ParamsEntry_DoNotUse& other);
  107. static const Action_ParamsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const Action_ParamsEntry_DoNotUse*>(&_Action_ParamsEntry_DoNotUse_default_instance_); }
  108. static bool ValidateKey(std::string* s) {
  109. return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "fsmproto.Action.ParamsEntry.key");
  110. }
  111. static bool ValidateValue(std::string* s) {
  112. return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "fsmproto.Action.ParamsEntry.value");
  113. }
  114. };
  115. // -------------------------------------------------------------------
  116. class Action PROTOBUF_FINAL :
  117. public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fsmproto.Action) */ {
  118. public:
  119. inline Action() : Action(nullptr) {}
  120. virtual ~Action();
  121. explicit constexpr Action(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  122. Action(const Action& from);
  123. Action(Action&& from) noexcept
  124. : Action() {
  125. *this = ::std::move(from);
  126. }
  127. inline Action& operator=(const Action& from) {
  128. CopyFrom(from);
  129. return *this;
  130. }
  131. inline Action& operator=(Action&& from) noexcept {
  132. if (GetArena() == from.GetArena()) {
  133. if (this != &from) InternalSwap(&from);
  134. } else {
  135. CopyFrom(from);
  136. }
  137. return *this;
  138. }
  139. static const Action& default_instance() {
  140. return *internal_default_instance();
  141. }
  142. static inline const Action* internal_default_instance() {
  143. return reinterpret_cast<const Action*>(
  144. &_Action_default_instance_);
  145. }
  146. static constexpr int kIndexInFileMessages =
  147. 1;
  148. friend void swap(Action& a, Action& b) {
  149. a.Swap(&b);
  150. }
  151. inline void Swap(Action* other) {
  152. if (other == this) return;
  153. if (GetArena() == other->GetArena()) {
  154. InternalSwap(other);
  155. } else {
  156. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  157. }
  158. }
  159. void UnsafeArenaSwap(Action* other) {
  160. if (other == this) return;
  161. GOOGLE_DCHECK(GetArena() == other->GetArena());
  162. InternalSwap(other);
  163. }
  164. // implements Message ----------------------------------------------
  165. inline Action* New() const final {
  166. return CreateMaybeMessage<Action>(nullptr);
  167. }
  168. Action* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  169. return CreateMaybeMessage<Action>(arena);
  170. }
  171. void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
  172. final;
  173. void CopyFrom(const Action& from);
  174. void MergeFrom(const Action& from);
  175. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  176. bool IsInitialized() const final;
  177. size_t ByteSizeLong() const final;
  178. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  179. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  180. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  181. void DiscardUnknownFields();
  182. int GetCachedSize() const final { return _cached_size_.Get(); }
  183. private:
  184. inline void SharedCtor();
  185. inline void SharedDtor();
  186. void SetCachedSize(int size) const;
  187. void InternalSwap(Action* other);
  188. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  189. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  190. return "fsmproto.Action";
  191. }
  192. protected:
  193. explicit Action(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  194. private:
  195. static void ArenaDtor(void* object);
  196. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  197. public:
  198. std::string GetTypeName() const final;
  199. // nested types ----------------------------------------------------
  200. // accessors -------------------------------------------------------
  201. enum : int {
  202. kParamsFieldNumber = 2,
  203. kTypeFieldNumber = 1,
  204. };
  205. // map<string, string> params = 2;
  206. int params_size() const;
  207. private:
  208. int _internal_params_size() const;
  209. public:
  210. void clear_params();
  211. private:
  212. const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
  213. _internal_params() const;
  214. ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
  215. _internal_mutable_params();
  216. public:
  217. const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
  218. params() const;
  219. ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
  220. mutable_params();
  221. // string type = 1;
  222. void clear_type();
  223. const std::string& type() const;
  224. void set_type(const std::string& value);
  225. void set_type(std::string&& value);
  226. void set_type(const char* value);
  227. void set_type(const char* value, size_t size);
  228. std::string* mutable_type();
  229. std::string* release_type();
  230. void set_allocated_type(std::string* type);
  231. private:
  232. const std::string& _internal_type() const;
  233. void _internal_set_type(const std::string& value);
  234. std::string* _internal_mutable_type();
  235. public:
  236. // @@protoc_insertion_point(class_scope:fsmproto.Action)
  237. private:
  238. class _Internal;
  239. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  240. typedef void InternalArenaConstructable_;
  241. typedef void DestructorSkippable_;
  242. ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
  243. Action_ParamsEntry_DoNotUse,
  244. std::string, std::string,
  245. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  246. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> params_;
  247. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  248. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  249. friend struct ::TableStruct_state_5fmachine_5fconfig_2eproto;
  250. };
  251. // -------------------------------------------------------------------
  252. class ConditionValue PROTOBUF_FINAL :
  253. public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fsmproto.ConditionValue) */ {
  254. public:
  255. inline ConditionValue() : ConditionValue(nullptr) {}
  256. virtual ~ConditionValue();
  257. explicit constexpr ConditionValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  258. ConditionValue(const ConditionValue& from);
  259. ConditionValue(ConditionValue&& from) noexcept
  260. : ConditionValue() {
  261. *this = ::std::move(from);
  262. }
  263. inline ConditionValue& operator=(const ConditionValue& from) {
  264. CopyFrom(from);
  265. return *this;
  266. }
  267. inline ConditionValue& operator=(ConditionValue&& from) noexcept {
  268. if (GetArena() == from.GetArena()) {
  269. if (this != &from) InternalSwap(&from);
  270. } else {
  271. CopyFrom(from);
  272. }
  273. return *this;
  274. }
  275. static const ConditionValue& default_instance() {
  276. return *internal_default_instance();
  277. }
  278. static inline const ConditionValue* internal_default_instance() {
  279. return reinterpret_cast<const ConditionValue*>(
  280. &_ConditionValue_default_instance_);
  281. }
  282. static constexpr int kIndexInFileMessages =
  283. 2;
  284. friend void swap(ConditionValue& a, ConditionValue& b) {
  285. a.Swap(&b);
  286. }
  287. inline void Swap(ConditionValue* other) {
  288. if (other == this) return;
  289. if (GetArena() == other->GetArena()) {
  290. InternalSwap(other);
  291. } else {
  292. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  293. }
  294. }
  295. void UnsafeArenaSwap(ConditionValue* other) {
  296. if (other == this) return;
  297. GOOGLE_DCHECK(GetArena() == other->GetArena());
  298. InternalSwap(other);
  299. }
  300. // implements Message ----------------------------------------------
  301. inline ConditionValue* New() const final {
  302. return CreateMaybeMessage<ConditionValue>(nullptr);
  303. }
  304. ConditionValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  305. return CreateMaybeMessage<ConditionValue>(arena);
  306. }
  307. void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
  308. final;
  309. void CopyFrom(const ConditionValue& from);
  310. void MergeFrom(const ConditionValue& from);
  311. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  312. bool IsInitialized() const final;
  313. size_t ByteSizeLong() const final;
  314. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  315. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  316. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  317. void DiscardUnknownFields();
  318. int GetCachedSize() const final { return _cached_size_.Get(); }
  319. private:
  320. inline void SharedCtor();
  321. inline void SharedDtor();
  322. void SetCachedSize(int size) const;
  323. void InternalSwap(ConditionValue* other);
  324. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  325. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  326. return "fsmproto.ConditionValue";
  327. }
  328. protected:
  329. explicit ConditionValue(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  330. private:
  331. static void ArenaDtor(void* object);
  332. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  333. public:
  334. std::string GetTypeName() const final;
  335. // nested types ----------------------------------------------------
  336. // accessors -------------------------------------------------------
  337. enum : int {
  338. kParamNameFieldNumber = 1,
  339. kSymbolFieldNumber = 2,
  340. kCompareValueFieldNumber = 3,
  341. };
  342. // string param_name = 1;
  343. void clear_param_name();
  344. const std::string& param_name() const;
  345. void set_param_name(const std::string& value);
  346. void set_param_name(std::string&& value);
  347. void set_param_name(const char* value);
  348. void set_param_name(const char* value, size_t size);
  349. std::string* mutable_param_name();
  350. std::string* release_param_name();
  351. void set_allocated_param_name(std::string* param_name);
  352. private:
  353. const std::string& _internal_param_name() const;
  354. void _internal_set_param_name(const std::string& value);
  355. std::string* _internal_mutable_param_name();
  356. public:
  357. // string symbol = 2;
  358. void clear_symbol();
  359. const std::string& symbol() const;
  360. void set_symbol(const std::string& value);
  361. void set_symbol(std::string&& value);
  362. void set_symbol(const char* value);
  363. void set_symbol(const char* value, size_t size);
  364. std::string* mutable_symbol();
  365. std::string* release_symbol();
  366. void set_allocated_symbol(std::string* symbol);
  367. private:
  368. const std::string& _internal_symbol() const;
  369. void _internal_set_symbol(const std::string& value);
  370. std::string* _internal_mutable_symbol();
  371. public:
  372. // string compare_value = 3;
  373. void clear_compare_value();
  374. const std::string& compare_value() const;
  375. void set_compare_value(const std::string& value);
  376. void set_compare_value(std::string&& value);
  377. void set_compare_value(const char* value);
  378. void set_compare_value(const char* value, size_t size);
  379. std::string* mutable_compare_value();
  380. std::string* release_compare_value();
  381. void set_allocated_compare_value(std::string* compare_value);
  382. private:
  383. const std::string& _internal_compare_value() const;
  384. void _internal_set_compare_value(const std::string& value);
  385. std::string* _internal_mutable_compare_value();
  386. public:
  387. // @@protoc_insertion_point(class_scope:fsmproto.ConditionValue)
  388. private:
  389. class _Internal;
  390. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  391. typedef void InternalArenaConstructable_;
  392. typedef void DestructorSkippable_;
  393. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr param_name_;
  394. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr symbol_;
  395. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr compare_value_;
  396. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  397. friend struct ::TableStruct_state_5fmachine_5fconfig_2eproto;
  398. };
  399. // -------------------------------------------------------------------
  400. class ConditionData PROTOBUF_FINAL :
  401. public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fsmproto.ConditionData) */ {
  402. public:
  403. inline ConditionData() : ConditionData(nullptr) {}
  404. virtual ~ConditionData();
  405. explicit constexpr ConditionData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  406. ConditionData(const ConditionData& from);
  407. ConditionData(ConditionData&& from) noexcept
  408. : ConditionData() {
  409. *this = ::std::move(from);
  410. }
  411. inline ConditionData& operator=(const ConditionData& from) {
  412. CopyFrom(from);
  413. return *this;
  414. }
  415. inline ConditionData& operator=(ConditionData&& from) noexcept {
  416. if (GetArena() == from.GetArena()) {
  417. if (this != &from) InternalSwap(&from);
  418. } else {
  419. CopyFrom(from);
  420. }
  421. return *this;
  422. }
  423. static const ConditionData& default_instance() {
  424. return *internal_default_instance();
  425. }
  426. static inline const ConditionData* internal_default_instance() {
  427. return reinterpret_cast<const ConditionData*>(
  428. &_ConditionData_default_instance_);
  429. }
  430. static constexpr int kIndexInFileMessages =
  431. 3;
  432. friend void swap(ConditionData& a, ConditionData& b) {
  433. a.Swap(&b);
  434. }
  435. inline void Swap(ConditionData* other) {
  436. if (other == this) return;
  437. if (GetArena() == other->GetArena()) {
  438. InternalSwap(other);
  439. } else {
  440. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  441. }
  442. }
  443. void UnsafeArenaSwap(ConditionData* other) {
  444. if (other == this) return;
  445. GOOGLE_DCHECK(GetArena() == other->GetArena());
  446. InternalSwap(other);
  447. }
  448. // implements Message ----------------------------------------------
  449. inline ConditionData* New() const final {
  450. return CreateMaybeMessage<ConditionData>(nullptr);
  451. }
  452. ConditionData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  453. return CreateMaybeMessage<ConditionData>(arena);
  454. }
  455. void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
  456. final;
  457. void CopyFrom(const ConditionData& from);
  458. void MergeFrom(const ConditionData& from);
  459. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  460. bool IsInitialized() const final;
  461. size_t ByteSizeLong() const final;
  462. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  463. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  464. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  465. void DiscardUnknownFields();
  466. int GetCachedSize() const final { return _cached_size_.Get(); }
  467. private:
  468. inline void SharedCtor();
  469. inline void SharedDtor();
  470. void SetCachedSize(int size) const;
  471. void InternalSwap(ConditionData* other);
  472. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  473. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  474. return "fsmproto.ConditionData";
  475. }
  476. protected:
  477. explicit ConditionData(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  478. private:
  479. static void ArenaDtor(void* object);
  480. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  481. public:
  482. std::string GetTypeName() const final;
  483. // nested types ----------------------------------------------------
  484. // accessors -------------------------------------------------------
  485. enum : int {
  486. kValuesFieldNumber = 1,
  487. };
  488. // repeated .fsmproto.ConditionValue values = 1;
  489. int values_size() const;
  490. private:
  491. int _internal_values_size() const;
  492. public:
  493. void clear_values();
  494. ::fsmproto::ConditionValue* mutable_values(int index);
  495. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::ConditionValue >*
  496. mutable_values();
  497. private:
  498. const ::fsmproto::ConditionValue& _internal_values(int index) const;
  499. ::fsmproto::ConditionValue* _internal_add_values();
  500. public:
  501. const ::fsmproto::ConditionValue& values(int index) const;
  502. ::fsmproto::ConditionValue* add_values();
  503. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::ConditionValue >&
  504. values() const;
  505. // @@protoc_insertion_point(class_scope:fsmproto.ConditionData)
  506. private:
  507. class _Internal;
  508. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  509. typedef void InternalArenaConstructable_;
  510. typedef void DestructorSkippable_;
  511. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::ConditionValue > values_;
  512. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  513. friend struct ::TableStruct_state_5fmachine_5fconfig_2eproto;
  514. };
  515. // -------------------------------------------------------------------
  516. class Transition PROTOBUF_FINAL :
  517. public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fsmproto.Transition) */ {
  518. public:
  519. inline Transition() : Transition(nullptr) {}
  520. virtual ~Transition();
  521. explicit constexpr Transition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  522. Transition(const Transition& from);
  523. Transition(Transition&& from) noexcept
  524. : Transition() {
  525. *this = ::std::move(from);
  526. }
  527. inline Transition& operator=(const Transition& from) {
  528. CopyFrom(from);
  529. return *this;
  530. }
  531. inline Transition& operator=(Transition&& from) noexcept {
  532. if (GetArena() == from.GetArena()) {
  533. if (this != &from) InternalSwap(&from);
  534. } else {
  535. CopyFrom(from);
  536. }
  537. return *this;
  538. }
  539. static const Transition& default_instance() {
  540. return *internal_default_instance();
  541. }
  542. static inline const Transition* internal_default_instance() {
  543. return reinterpret_cast<const Transition*>(
  544. &_Transition_default_instance_);
  545. }
  546. static constexpr int kIndexInFileMessages =
  547. 4;
  548. friend void swap(Transition& a, Transition& b) {
  549. a.Swap(&b);
  550. }
  551. inline void Swap(Transition* other) {
  552. if (other == this) return;
  553. if (GetArena() == other->GetArena()) {
  554. InternalSwap(other);
  555. } else {
  556. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  557. }
  558. }
  559. void UnsafeArenaSwap(Transition* other) {
  560. if (other == this) return;
  561. GOOGLE_DCHECK(GetArena() == other->GetArena());
  562. InternalSwap(other);
  563. }
  564. // implements Message ----------------------------------------------
  565. inline Transition* New() const final {
  566. return CreateMaybeMessage<Transition>(nullptr);
  567. }
  568. Transition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  569. return CreateMaybeMessage<Transition>(arena);
  570. }
  571. void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
  572. final;
  573. void CopyFrom(const Transition& from);
  574. void MergeFrom(const Transition& from);
  575. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  576. bool IsInitialized() const final;
  577. size_t ByteSizeLong() const final;
  578. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  579. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  580. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  581. void DiscardUnknownFields();
  582. int GetCachedSize() const final { return _cached_size_.Get(); }
  583. private:
  584. inline void SharedCtor();
  585. inline void SharedDtor();
  586. void SetCachedSize(int size) const;
  587. void InternalSwap(Transition* other);
  588. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  589. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  590. return "fsmproto.Transition";
  591. }
  592. protected:
  593. explicit Transition(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  594. private:
  595. static void ArenaDtor(void* object);
  596. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  597. public:
  598. std::string GetTypeName() const final;
  599. // nested types ----------------------------------------------------
  600. // accessors -------------------------------------------------------
  601. enum : int {
  602. kConditionFieldNumber = 4,
  603. kBeforeSwitchActionsFieldNumber = 5,
  604. kAfterSwitchActionsFieldNumber = 6,
  605. kSrcFieldNumber = 1,
  606. kDstFieldNumber = 2,
  607. kEventFieldNumber = 3,
  608. };
  609. // repeated .fsmproto.ConditionData condition = 4;
  610. int condition_size() const;
  611. private:
  612. int _internal_condition_size() const;
  613. public:
  614. void clear_condition();
  615. ::fsmproto::ConditionData* mutable_condition(int index);
  616. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::ConditionData >*
  617. mutable_condition();
  618. private:
  619. const ::fsmproto::ConditionData& _internal_condition(int index) const;
  620. ::fsmproto::ConditionData* _internal_add_condition();
  621. public:
  622. const ::fsmproto::ConditionData& condition(int index) const;
  623. ::fsmproto::ConditionData* add_condition();
  624. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::ConditionData >&
  625. condition() const;
  626. // repeated .fsmproto.Action before_switch_actions = 5;
  627. int before_switch_actions_size() const;
  628. private:
  629. int _internal_before_switch_actions_size() const;
  630. public:
  631. void clear_before_switch_actions();
  632. ::fsmproto::Action* mutable_before_switch_actions(int index);
  633. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >*
  634. mutable_before_switch_actions();
  635. private:
  636. const ::fsmproto::Action& _internal_before_switch_actions(int index) const;
  637. ::fsmproto::Action* _internal_add_before_switch_actions();
  638. public:
  639. const ::fsmproto::Action& before_switch_actions(int index) const;
  640. ::fsmproto::Action* add_before_switch_actions();
  641. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >&
  642. before_switch_actions() const;
  643. // repeated .fsmproto.Action after_switch_actions = 6;
  644. int after_switch_actions_size() const;
  645. private:
  646. int _internal_after_switch_actions_size() const;
  647. public:
  648. void clear_after_switch_actions();
  649. ::fsmproto::Action* mutable_after_switch_actions(int index);
  650. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >*
  651. mutable_after_switch_actions();
  652. private:
  653. const ::fsmproto::Action& _internal_after_switch_actions(int index) const;
  654. ::fsmproto::Action* _internal_add_after_switch_actions();
  655. public:
  656. const ::fsmproto::Action& after_switch_actions(int index) const;
  657. ::fsmproto::Action* add_after_switch_actions();
  658. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >&
  659. after_switch_actions() const;
  660. // string src = 1;
  661. void clear_src();
  662. const std::string& src() const;
  663. void set_src(const std::string& value);
  664. void set_src(std::string&& value);
  665. void set_src(const char* value);
  666. void set_src(const char* value, size_t size);
  667. std::string* mutable_src();
  668. std::string* release_src();
  669. void set_allocated_src(std::string* src);
  670. private:
  671. const std::string& _internal_src() const;
  672. void _internal_set_src(const std::string& value);
  673. std::string* _internal_mutable_src();
  674. public:
  675. // string dst = 2;
  676. void clear_dst();
  677. const std::string& dst() const;
  678. void set_dst(const std::string& value);
  679. void set_dst(std::string&& value);
  680. void set_dst(const char* value);
  681. void set_dst(const char* value, size_t size);
  682. std::string* mutable_dst();
  683. std::string* release_dst();
  684. void set_allocated_dst(std::string* dst);
  685. private:
  686. const std::string& _internal_dst() const;
  687. void _internal_set_dst(const std::string& value);
  688. std::string* _internal_mutable_dst();
  689. public:
  690. // string event = 3;
  691. void clear_event();
  692. const std::string& event() const;
  693. void set_event(const std::string& value);
  694. void set_event(std::string&& value);
  695. void set_event(const char* value);
  696. void set_event(const char* value, size_t size);
  697. std::string* mutable_event();
  698. std::string* release_event();
  699. void set_allocated_event(std::string* event);
  700. private:
  701. const std::string& _internal_event() const;
  702. void _internal_set_event(const std::string& value);
  703. std::string* _internal_mutable_event();
  704. public:
  705. // @@protoc_insertion_point(class_scope:fsmproto.Transition)
  706. private:
  707. class _Internal;
  708. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  709. typedef void InternalArenaConstructable_;
  710. typedef void DestructorSkippable_;
  711. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::ConditionData > condition_;
  712. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action > before_switch_actions_;
  713. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action > after_switch_actions_;
  714. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr src_;
  715. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dst_;
  716. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_;
  717. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  718. friend struct ::TableStruct_state_5fmachine_5fconfig_2eproto;
  719. };
  720. // -------------------------------------------------------------------
  721. class State PROTOBUF_FINAL :
  722. public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fsmproto.State) */ {
  723. public:
  724. inline State() : State(nullptr) {}
  725. virtual ~State();
  726. explicit constexpr State(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  727. State(const State& from);
  728. State(State&& from) noexcept
  729. : State() {
  730. *this = ::std::move(from);
  731. }
  732. inline State& operator=(const State& from) {
  733. CopyFrom(from);
  734. return *this;
  735. }
  736. inline State& operator=(State&& from) noexcept {
  737. if (GetArena() == from.GetArena()) {
  738. if (this != &from) InternalSwap(&from);
  739. } else {
  740. CopyFrom(from);
  741. }
  742. return *this;
  743. }
  744. static const State& default_instance() {
  745. return *internal_default_instance();
  746. }
  747. static inline const State* internal_default_instance() {
  748. return reinterpret_cast<const State*>(
  749. &_State_default_instance_);
  750. }
  751. static constexpr int kIndexInFileMessages =
  752. 5;
  753. friend void swap(State& a, State& b) {
  754. a.Swap(&b);
  755. }
  756. inline void Swap(State* other) {
  757. if (other == this) return;
  758. if (GetArena() == other->GetArena()) {
  759. InternalSwap(other);
  760. } else {
  761. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  762. }
  763. }
  764. void UnsafeArenaSwap(State* other) {
  765. if (other == this) return;
  766. GOOGLE_DCHECK(GetArena() == other->GetArena());
  767. InternalSwap(other);
  768. }
  769. // implements Message ----------------------------------------------
  770. inline State* New() const final {
  771. return CreateMaybeMessage<State>(nullptr);
  772. }
  773. State* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  774. return CreateMaybeMessage<State>(arena);
  775. }
  776. void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
  777. final;
  778. void CopyFrom(const State& from);
  779. void MergeFrom(const State& from);
  780. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  781. bool IsInitialized() const final;
  782. size_t ByteSizeLong() const final;
  783. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  784. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  785. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  786. void DiscardUnknownFields();
  787. int GetCachedSize() const final { return _cached_size_.Get(); }
  788. private:
  789. inline void SharedCtor();
  790. inline void SharedDtor();
  791. void SetCachedSize(int size) const;
  792. void InternalSwap(State* other);
  793. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  794. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  795. return "fsmproto.State";
  796. }
  797. protected:
  798. explicit State(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  799. private:
  800. static void ArenaDtor(void* object);
  801. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  802. public:
  803. std::string GetTypeName() const final;
  804. // nested types ----------------------------------------------------
  805. // accessors -------------------------------------------------------
  806. enum : int {
  807. kEntryFieldNumber = 2,
  808. kIdleFieldNumber = 3,
  809. kExitFieldNumber = 4,
  810. kNameFieldNumber = 1,
  811. kFsmNameFieldNumber = 5,
  812. kStateDelegateKeyFieldNumber = 6,
  813. };
  814. // repeated .fsmproto.Action entry = 2;
  815. int entry_size() const;
  816. private:
  817. int _internal_entry_size() const;
  818. public:
  819. void clear_entry();
  820. ::fsmproto::Action* mutable_entry(int index);
  821. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >*
  822. mutable_entry();
  823. private:
  824. const ::fsmproto::Action& _internal_entry(int index) const;
  825. ::fsmproto::Action* _internal_add_entry();
  826. public:
  827. const ::fsmproto::Action& entry(int index) const;
  828. ::fsmproto::Action* add_entry();
  829. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >&
  830. entry() const;
  831. // repeated .fsmproto.Action idle = 3;
  832. int idle_size() const;
  833. private:
  834. int _internal_idle_size() const;
  835. public:
  836. void clear_idle();
  837. ::fsmproto::Action* mutable_idle(int index);
  838. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >*
  839. mutable_idle();
  840. private:
  841. const ::fsmproto::Action& _internal_idle(int index) const;
  842. ::fsmproto::Action* _internal_add_idle();
  843. public:
  844. const ::fsmproto::Action& idle(int index) const;
  845. ::fsmproto::Action* add_idle();
  846. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >&
  847. idle() const;
  848. // repeated .fsmproto.Action exit = 4;
  849. int exit_size() const;
  850. private:
  851. int _internal_exit_size() const;
  852. public:
  853. void clear_exit();
  854. ::fsmproto::Action* mutable_exit(int index);
  855. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >*
  856. mutable_exit();
  857. private:
  858. const ::fsmproto::Action& _internal_exit(int index) const;
  859. ::fsmproto::Action* _internal_add_exit();
  860. public:
  861. const ::fsmproto::Action& exit(int index) const;
  862. ::fsmproto::Action* add_exit();
  863. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >&
  864. exit() const;
  865. // string name = 1;
  866. void clear_name();
  867. const std::string& name() const;
  868. void set_name(const std::string& value);
  869. void set_name(std::string&& value);
  870. void set_name(const char* value);
  871. void set_name(const char* value, size_t size);
  872. std::string* mutable_name();
  873. std::string* release_name();
  874. void set_allocated_name(std::string* name);
  875. private:
  876. const std::string& _internal_name() const;
  877. void _internal_set_name(const std::string& value);
  878. std::string* _internal_mutable_name();
  879. public:
  880. // string fsm_name = 5;
  881. void clear_fsm_name();
  882. const std::string& fsm_name() const;
  883. void set_fsm_name(const std::string& value);
  884. void set_fsm_name(std::string&& value);
  885. void set_fsm_name(const char* value);
  886. void set_fsm_name(const char* value, size_t size);
  887. std::string* mutable_fsm_name();
  888. std::string* release_fsm_name();
  889. void set_allocated_fsm_name(std::string* fsm_name);
  890. private:
  891. const std::string& _internal_fsm_name() const;
  892. void _internal_set_fsm_name(const std::string& value);
  893. std::string* _internal_mutable_fsm_name();
  894. public:
  895. // string state_delegate_key = 6;
  896. void clear_state_delegate_key();
  897. const std::string& state_delegate_key() const;
  898. void set_state_delegate_key(const std::string& value);
  899. void set_state_delegate_key(std::string&& value);
  900. void set_state_delegate_key(const char* value);
  901. void set_state_delegate_key(const char* value, size_t size);
  902. std::string* mutable_state_delegate_key();
  903. std::string* release_state_delegate_key();
  904. void set_allocated_state_delegate_key(std::string* state_delegate_key);
  905. private:
  906. const std::string& _internal_state_delegate_key() const;
  907. void _internal_set_state_delegate_key(const std::string& value);
  908. std::string* _internal_mutable_state_delegate_key();
  909. public:
  910. // @@protoc_insertion_point(class_scope:fsmproto.State)
  911. private:
  912. class _Internal;
  913. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  914. typedef void InternalArenaConstructable_;
  915. typedef void DestructorSkippable_;
  916. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action > entry_;
  917. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action > idle_;
  918. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action > exit_;
  919. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  920. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fsm_name_;
  921. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr state_delegate_key_;
  922. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  923. friend struct ::TableStruct_state_5fmachine_5fconfig_2eproto;
  924. };
  925. // -------------------------------------------------------------------
  926. class Param PROTOBUF_FINAL :
  927. public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fsmproto.Param) */ {
  928. public:
  929. inline Param() : Param(nullptr) {}
  930. virtual ~Param();
  931. explicit constexpr Param(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  932. Param(const Param& from);
  933. Param(Param&& from) noexcept
  934. : Param() {
  935. *this = ::std::move(from);
  936. }
  937. inline Param& operator=(const Param& from) {
  938. CopyFrom(from);
  939. return *this;
  940. }
  941. inline Param& operator=(Param&& from) noexcept {
  942. if (GetArena() == from.GetArena()) {
  943. if (this != &from) InternalSwap(&from);
  944. } else {
  945. CopyFrom(from);
  946. }
  947. return *this;
  948. }
  949. static const Param& default_instance() {
  950. return *internal_default_instance();
  951. }
  952. static inline const Param* internal_default_instance() {
  953. return reinterpret_cast<const Param*>(
  954. &_Param_default_instance_);
  955. }
  956. static constexpr int kIndexInFileMessages =
  957. 6;
  958. friend void swap(Param& a, Param& b) {
  959. a.Swap(&b);
  960. }
  961. inline void Swap(Param* other) {
  962. if (other == this) return;
  963. if (GetArena() == other->GetArena()) {
  964. InternalSwap(other);
  965. } else {
  966. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  967. }
  968. }
  969. void UnsafeArenaSwap(Param* other) {
  970. if (other == this) return;
  971. GOOGLE_DCHECK(GetArena() == other->GetArena());
  972. InternalSwap(other);
  973. }
  974. // implements Message ----------------------------------------------
  975. inline Param* New() const final {
  976. return CreateMaybeMessage<Param>(nullptr);
  977. }
  978. Param* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  979. return CreateMaybeMessage<Param>(arena);
  980. }
  981. void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
  982. final;
  983. void CopyFrom(const Param& from);
  984. void MergeFrom(const Param& from);
  985. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  986. bool IsInitialized() const final;
  987. size_t ByteSizeLong() const final;
  988. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  989. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  990. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  991. void DiscardUnknownFields();
  992. int GetCachedSize() const final { return _cached_size_.Get(); }
  993. private:
  994. inline void SharedCtor();
  995. inline void SharedDtor();
  996. void SetCachedSize(int size) const;
  997. void InternalSwap(Param* other);
  998. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  999. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1000. return "fsmproto.Param";
  1001. }
  1002. protected:
  1003. explicit Param(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1004. private:
  1005. static void ArenaDtor(void* object);
  1006. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1007. public:
  1008. std::string GetTypeName() const final;
  1009. // nested types ----------------------------------------------------
  1010. // accessors -------------------------------------------------------
  1011. enum : int {
  1012. kTypeFieldNumber = 1,
  1013. kDefaultValueFieldNumber = 2,
  1014. };
  1015. // string type = 1;
  1016. void clear_type();
  1017. const std::string& type() const;
  1018. void set_type(const std::string& value);
  1019. void set_type(std::string&& value);
  1020. void set_type(const char* value);
  1021. void set_type(const char* value, size_t size);
  1022. std::string* mutable_type();
  1023. std::string* release_type();
  1024. void set_allocated_type(std::string* type);
  1025. private:
  1026. const std::string& _internal_type() const;
  1027. void _internal_set_type(const std::string& value);
  1028. std::string* _internal_mutable_type();
  1029. public:
  1030. // string default_value = 2;
  1031. void clear_default_value();
  1032. const std::string& default_value() const;
  1033. void set_default_value(const std::string& value);
  1034. void set_default_value(std::string&& value);
  1035. void set_default_value(const char* value);
  1036. void set_default_value(const char* value, size_t size);
  1037. std::string* mutable_default_value();
  1038. std::string* release_default_value();
  1039. void set_allocated_default_value(std::string* default_value);
  1040. private:
  1041. const std::string& _internal_default_value() const;
  1042. void _internal_set_default_value(const std::string& value);
  1043. std::string* _internal_mutable_default_value();
  1044. public:
  1045. // @@protoc_insertion_point(class_scope:fsmproto.Param)
  1046. private:
  1047. class _Internal;
  1048. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1049. typedef void InternalArenaConstructable_;
  1050. typedef void DestructorSkippable_;
  1051. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  1052. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default_value_;
  1053. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1054. friend struct ::TableStruct_state_5fmachine_5fconfig_2eproto;
  1055. };
  1056. // -------------------------------------------------------------------
  1057. class StateMachine_ParamsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<StateMachine_ParamsEntry_DoNotUse,
  1058. std::string, ::fsmproto::Param,
  1059. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  1060. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
  1061. public:
  1062. typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<StateMachine_ParamsEntry_DoNotUse,
  1063. std::string, ::fsmproto::Param,
  1064. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  1065. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
  1066. StateMachine_ParamsEntry_DoNotUse();
  1067. explicit constexpr StateMachine_ParamsEntry_DoNotUse(
  1068. ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1069. explicit StateMachine_ParamsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1070. void MergeFrom(const StateMachine_ParamsEntry_DoNotUse& other);
  1071. static const StateMachine_ParamsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const StateMachine_ParamsEntry_DoNotUse*>(&_StateMachine_ParamsEntry_DoNotUse_default_instance_); }
  1072. static bool ValidateKey(std::string* s) {
  1073. return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "fsmproto.StateMachine.ParamsEntry.key");
  1074. }
  1075. static bool ValidateValue(void*) { return true; }
  1076. };
  1077. // -------------------------------------------------------------------
  1078. class StateMachine PROTOBUF_FINAL :
  1079. public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fsmproto.StateMachine) */ {
  1080. public:
  1081. inline StateMachine() : StateMachine(nullptr) {}
  1082. virtual ~StateMachine();
  1083. explicit constexpr StateMachine(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1084. StateMachine(const StateMachine& from);
  1085. StateMachine(StateMachine&& from) noexcept
  1086. : StateMachine() {
  1087. *this = ::std::move(from);
  1088. }
  1089. inline StateMachine& operator=(const StateMachine& from) {
  1090. CopyFrom(from);
  1091. return *this;
  1092. }
  1093. inline StateMachine& operator=(StateMachine&& from) noexcept {
  1094. if (GetArena() == from.GetArena()) {
  1095. if (this != &from) InternalSwap(&from);
  1096. } else {
  1097. CopyFrom(from);
  1098. }
  1099. return *this;
  1100. }
  1101. static const StateMachine& default_instance() {
  1102. return *internal_default_instance();
  1103. }
  1104. static inline const StateMachine* internal_default_instance() {
  1105. return reinterpret_cast<const StateMachine*>(
  1106. &_StateMachine_default_instance_);
  1107. }
  1108. static constexpr int kIndexInFileMessages =
  1109. 8;
  1110. friend void swap(StateMachine& a, StateMachine& b) {
  1111. a.Swap(&b);
  1112. }
  1113. inline void Swap(StateMachine* other) {
  1114. if (other == this) return;
  1115. if (GetArena() == other->GetArena()) {
  1116. InternalSwap(other);
  1117. } else {
  1118. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1119. }
  1120. }
  1121. void UnsafeArenaSwap(StateMachine* other) {
  1122. if (other == this) return;
  1123. GOOGLE_DCHECK(GetArena() == other->GetArena());
  1124. InternalSwap(other);
  1125. }
  1126. // implements Message ----------------------------------------------
  1127. inline StateMachine* New() const final {
  1128. return CreateMaybeMessage<StateMachine>(nullptr);
  1129. }
  1130. StateMachine* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1131. return CreateMaybeMessage<StateMachine>(arena);
  1132. }
  1133. void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
  1134. final;
  1135. void CopyFrom(const StateMachine& from);
  1136. void MergeFrom(const StateMachine& from);
  1137. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1138. bool IsInitialized() const final;
  1139. size_t ByteSizeLong() const final;
  1140. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1141. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1142. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1143. void DiscardUnknownFields();
  1144. int GetCachedSize() const final { return _cached_size_.Get(); }
  1145. private:
  1146. inline void SharedCtor();
  1147. inline void SharedDtor();
  1148. void SetCachedSize(int size) const;
  1149. void InternalSwap(StateMachine* other);
  1150. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1151. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1152. return "fsmproto.StateMachine";
  1153. }
  1154. protected:
  1155. explicit StateMachine(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1156. private:
  1157. static void ArenaDtor(void* object);
  1158. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1159. public:
  1160. std::string GetTypeName() const final;
  1161. // nested types ----------------------------------------------------
  1162. // accessors -------------------------------------------------------
  1163. enum : int {
  1164. kParamsFieldNumber = 3,
  1165. kStatesFieldNumber = 4,
  1166. kTransitionsFieldNumber = 5,
  1167. kInitStateNameFieldNumber = 1,
  1168. kMachineTypeFieldNumber = 2,
  1169. };
  1170. // map<string, .fsmproto.Param> params = 3;
  1171. int params_size() const;
  1172. private:
  1173. int _internal_params_size() const;
  1174. public:
  1175. void clear_params();
  1176. private:
  1177. const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fsmproto::Param >&
  1178. _internal_params() const;
  1179. ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fsmproto::Param >*
  1180. _internal_mutable_params();
  1181. public:
  1182. const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fsmproto::Param >&
  1183. params() const;
  1184. ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fsmproto::Param >*
  1185. mutable_params();
  1186. // repeated .fsmproto.State states = 4;
  1187. int states_size() const;
  1188. private:
  1189. int _internal_states_size() const;
  1190. public:
  1191. void clear_states();
  1192. ::fsmproto::State* mutable_states(int index);
  1193. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::State >*
  1194. mutable_states();
  1195. private:
  1196. const ::fsmproto::State& _internal_states(int index) const;
  1197. ::fsmproto::State* _internal_add_states();
  1198. public:
  1199. const ::fsmproto::State& states(int index) const;
  1200. ::fsmproto::State* add_states();
  1201. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::State >&
  1202. states() const;
  1203. // repeated .fsmproto.Transition transitions = 5;
  1204. int transitions_size() const;
  1205. private:
  1206. int _internal_transitions_size() const;
  1207. public:
  1208. void clear_transitions();
  1209. ::fsmproto::Transition* mutable_transitions(int index);
  1210. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Transition >*
  1211. mutable_transitions();
  1212. private:
  1213. const ::fsmproto::Transition& _internal_transitions(int index) const;
  1214. ::fsmproto::Transition* _internal_add_transitions();
  1215. public:
  1216. const ::fsmproto::Transition& transitions(int index) const;
  1217. ::fsmproto::Transition* add_transitions();
  1218. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Transition >&
  1219. transitions() const;
  1220. // string init_state_name = 1;
  1221. void clear_init_state_name();
  1222. const std::string& init_state_name() const;
  1223. void set_init_state_name(const std::string& value);
  1224. void set_init_state_name(std::string&& value);
  1225. void set_init_state_name(const char* value);
  1226. void set_init_state_name(const char* value, size_t size);
  1227. std::string* mutable_init_state_name();
  1228. std::string* release_init_state_name();
  1229. void set_allocated_init_state_name(std::string* init_state_name);
  1230. private:
  1231. const std::string& _internal_init_state_name() const;
  1232. void _internal_set_init_state_name(const std::string& value);
  1233. std::string* _internal_mutable_init_state_name();
  1234. public:
  1235. // string machine_type = 2;
  1236. void clear_machine_type();
  1237. const std::string& machine_type() const;
  1238. void set_machine_type(const std::string& value);
  1239. void set_machine_type(std::string&& value);
  1240. void set_machine_type(const char* value);
  1241. void set_machine_type(const char* value, size_t size);
  1242. std::string* mutable_machine_type();
  1243. std::string* release_machine_type();
  1244. void set_allocated_machine_type(std::string* machine_type);
  1245. private:
  1246. const std::string& _internal_machine_type() const;
  1247. void _internal_set_machine_type(const std::string& value);
  1248. std::string* _internal_mutable_machine_type();
  1249. public:
  1250. // @@protoc_insertion_point(class_scope:fsmproto.StateMachine)
  1251. private:
  1252. class _Internal;
  1253. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1254. typedef void InternalArenaConstructable_;
  1255. typedef void DestructorSkippable_;
  1256. ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
  1257. StateMachine_ParamsEntry_DoNotUse,
  1258. std::string, ::fsmproto::Param,
  1259. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  1260. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> params_;
  1261. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::State > states_;
  1262. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Transition > transitions_;
  1263. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr init_state_name_;
  1264. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr machine_type_;
  1265. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1266. friend struct ::TableStruct_state_5fmachine_5fconfig_2eproto;
  1267. };
  1268. // ===================================================================
  1269. // ===================================================================
  1270. #ifdef __GNUC__
  1271. #pragma GCC diagnostic push
  1272. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1273. #endif // __GNUC__
  1274. // -------------------------------------------------------------------
  1275. // Action
  1276. // string type = 1;
  1277. inline void Action::clear_type() {
  1278. type_.ClearToEmpty();
  1279. }
  1280. inline const std::string& Action::type() const {
  1281. // @@protoc_insertion_point(field_get:fsmproto.Action.type)
  1282. return _internal_type();
  1283. }
  1284. inline void Action::set_type(const std::string& value) {
  1285. _internal_set_type(value);
  1286. // @@protoc_insertion_point(field_set:fsmproto.Action.type)
  1287. }
  1288. inline std::string* Action::mutable_type() {
  1289. // @@protoc_insertion_point(field_mutable:fsmproto.Action.type)
  1290. return _internal_mutable_type();
  1291. }
  1292. inline const std::string& Action::_internal_type() const {
  1293. return type_.Get();
  1294. }
  1295. inline void Action::_internal_set_type(const std::string& value) {
  1296. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  1297. }
  1298. inline void Action::set_type(std::string&& value) {
  1299. type_.Set(
  1300. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  1301. // @@protoc_insertion_point(field_set_rvalue:fsmproto.Action.type)
  1302. }
  1303. inline void Action::set_type(const char* value) {
  1304. GOOGLE_DCHECK(value != nullptr);
  1305. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  1306. // @@protoc_insertion_point(field_set_char:fsmproto.Action.type)
  1307. }
  1308. inline void Action::set_type(const char* value,
  1309. size_t size) {
  1310. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  1311. reinterpret_cast<const char*>(value), size), GetArena());
  1312. // @@protoc_insertion_point(field_set_pointer:fsmproto.Action.type)
  1313. }
  1314. inline std::string* Action::_internal_mutable_type() {
  1315. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  1316. }
  1317. inline std::string* Action::release_type() {
  1318. // @@protoc_insertion_point(field_release:fsmproto.Action.type)
  1319. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1320. }
  1321. inline void Action::set_allocated_type(std::string* type) {
  1322. if (type != nullptr) {
  1323. } else {
  1324. }
  1325. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  1326. GetArena());
  1327. // @@protoc_insertion_point(field_set_allocated:fsmproto.Action.type)
  1328. }
  1329. // map<string, string> params = 2;
  1330. inline int Action::_internal_params_size() const {
  1331. return params_.size();
  1332. }
  1333. inline int Action::params_size() const {
  1334. return _internal_params_size();
  1335. }
  1336. inline void Action::clear_params() {
  1337. params_.Clear();
  1338. }
  1339. inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
  1340. Action::_internal_params() const {
  1341. return params_.GetMap();
  1342. }
  1343. inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
  1344. Action::params() const {
  1345. // @@protoc_insertion_point(field_map:fsmproto.Action.params)
  1346. return _internal_params();
  1347. }
  1348. inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
  1349. Action::_internal_mutable_params() {
  1350. return params_.MutableMap();
  1351. }
  1352. inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
  1353. Action::mutable_params() {
  1354. // @@protoc_insertion_point(field_mutable_map:fsmproto.Action.params)
  1355. return _internal_mutable_params();
  1356. }
  1357. // -------------------------------------------------------------------
  1358. // ConditionValue
  1359. // string param_name = 1;
  1360. inline void ConditionValue::clear_param_name() {
  1361. param_name_.ClearToEmpty();
  1362. }
  1363. inline const std::string& ConditionValue::param_name() const {
  1364. // @@protoc_insertion_point(field_get:fsmproto.ConditionValue.param_name)
  1365. return _internal_param_name();
  1366. }
  1367. inline void ConditionValue::set_param_name(const std::string& value) {
  1368. _internal_set_param_name(value);
  1369. // @@protoc_insertion_point(field_set:fsmproto.ConditionValue.param_name)
  1370. }
  1371. inline std::string* ConditionValue::mutable_param_name() {
  1372. // @@protoc_insertion_point(field_mutable:fsmproto.ConditionValue.param_name)
  1373. return _internal_mutable_param_name();
  1374. }
  1375. inline const std::string& ConditionValue::_internal_param_name() const {
  1376. return param_name_.Get();
  1377. }
  1378. inline void ConditionValue::_internal_set_param_name(const std::string& value) {
  1379. param_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  1380. }
  1381. inline void ConditionValue::set_param_name(std::string&& value) {
  1382. param_name_.Set(
  1383. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  1384. // @@protoc_insertion_point(field_set_rvalue:fsmproto.ConditionValue.param_name)
  1385. }
  1386. inline void ConditionValue::set_param_name(const char* value) {
  1387. GOOGLE_DCHECK(value != nullptr);
  1388. param_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  1389. // @@protoc_insertion_point(field_set_char:fsmproto.ConditionValue.param_name)
  1390. }
  1391. inline void ConditionValue::set_param_name(const char* value,
  1392. size_t size) {
  1393. param_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  1394. reinterpret_cast<const char*>(value), size), GetArena());
  1395. // @@protoc_insertion_point(field_set_pointer:fsmproto.ConditionValue.param_name)
  1396. }
  1397. inline std::string* ConditionValue::_internal_mutable_param_name() {
  1398. return param_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  1399. }
  1400. inline std::string* ConditionValue::release_param_name() {
  1401. // @@protoc_insertion_point(field_release:fsmproto.ConditionValue.param_name)
  1402. return param_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1403. }
  1404. inline void ConditionValue::set_allocated_param_name(std::string* param_name) {
  1405. if (param_name != nullptr) {
  1406. } else {
  1407. }
  1408. param_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), param_name,
  1409. GetArena());
  1410. // @@protoc_insertion_point(field_set_allocated:fsmproto.ConditionValue.param_name)
  1411. }
  1412. // string symbol = 2;
  1413. inline void ConditionValue::clear_symbol() {
  1414. symbol_.ClearToEmpty();
  1415. }
  1416. inline const std::string& ConditionValue::symbol() const {
  1417. // @@protoc_insertion_point(field_get:fsmproto.ConditionValue.symbol)
  1418. return _internal_symbol();
  1419. }
  1420. inline void ConditionValue::set_symbol(const std::string& value) {
  1421. _internal_set_symbol(value);
  1422. // @@protoc_insertion_point(field_set:fsmproto.ConditionValue.symbol)
  1423. }
  1424. inline std::string* ConditionValue::mutable_symbol() {
  1425. // @@protoc_insertion_point(field_mutable:fsmproto.ConditionValue.symbol)
  1426. return _internal_mutable_symbol();
  1427. }
  1428. inline const std::string& ConditionValue::_internal_symbol() const {
  1429. return symbol_.Get();
  1430. }
  1431. inline void ConditionValue::_internal_set_symbol(const std::string& value) {
  1432. symbol_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  1433. }
  1434. inline void ConditionValue::set_symbol(std::string&& value) {
  1435. symbol_.Set(
  1436. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  1437. // @@protoc_insertion_point(field_set_rvalue:fsmproto.ConditionValue.symbol)
  1438. }
  1439. inline void ConditionValue::set_symbol(const char* value) {
  1440. GOOGLE_DCHECK(value != nullptr);
  1441. symbol_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  1442. // @@protoc_insertion_point(field_set_char:fsmproto.ConditionValue.symbol)
  1443. }
  1444. inline void ConditionValue::set_symbol(const char* value,
  1445. size_t size) {
  1446. symbol_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  1447. reinterpret_cast<const char*>(value), size), GetArena());
  1448. // @@protoc_insertion_point(field_set_pointer:fsmproto.ConditionValue.symbol)
  1449. }
  1450. inline std::string* ConditionValue::_internal_mutable_symbol() {
  1451. return symbol_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  1452. }
  1453. inline std::string* ConditionValue::release_symbol() {
  1454. // @@protoc_insertion_point(field_release:fsmproto.ConditionValue.symbol)
  1455. return symbol_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1456. }
  1457. inline void ConditionValue::set_allocated_symbol(std::string* symbol) {
  1458. if (symbol != nullptr) {
  1459. } else {
  1460. }
  1461. symbol_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), symbol,
  1462. GetArena());
  1463. // @@protoc_insertion_point(field_set_allocated:fsmproto.ConditionValue.symbol)
  1464. }
  1465. // string compare_value = 3;
  1466. inline void ConditionValue::clear_compare_value() {
  1467. compare_value_.ClearToEmpty();
  1468. }
  1469. inline const std::string& ConditionValue::compare_value() const {
  1470. // @@protoc_insertion_point(field_get:fsmproto.ConditionValue.compare_value)
  1471. return _internal_compare_value();
  1472. }
  1473. inline void ConditionValue::set_compare_value(const std::string& value) {
  1474. _internal_set_compare_value(value);
  1475. // @@protoc_insertion_point(field_set:fsmproto.ConditionValue.compare_value)
  1476. }
  1477. inline std::string* ConditionValue::mutable_compare_value() {
  1478. // @@protoc_insertion_point(field_mutable:fsmproto.ConditionValue.compare_value)
  1479. return _internal_mutable_compare_value();
  1480. }
  1481. inline const std::string& ConditionValue::_internal_compare_value() const {
  1482. return compare_value_.Get();
  1483. }
  1484. inline void ConditionValue::_internal_set_compare_value(const std::string& value) {
  1485. compare_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  1486. }
  1487. inline void ConditionValue::set_compare_value(std::string&& value) {
  1488. compare_value_.Set(
  1489. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  1490. // @@protoc_insertion_point(field_set_rvalue:fsmproto.ConditionValue.compare_value)
  1491. }
  1492. inline void ConditionValue::set_compare_value(const char* value) {
  1493. GOOGLE_DCHECK(value != nullptr);
  1494. compare_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  1495. // @@protoc_insertion_point(field_set_char:fsmproto.ConditionValue.compare_value)
  1496. }
  1497. inline void ConditionValue::set_compare_value(const char* value,
  1498. size_t size) {
  1499. compare_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  1500. reinterpret_cast<const char*>(value), size), GetArena());
  1501. // @@protoc_insertion_point(field_set_pointer:fsmproto.ConditionValue.compare_value)
  1502. }
  1503. inline std::string* ConditionValue::_internal_mutable_compare_value() {
  1504. return compare_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  1505. }
  1506. inline std::string* ConditionValue::release_compare_value() {
  1507. // @@protoc_insertion_point(field_release:fsmproto.ConditionValue.compare_value)
  1508. return compare_value_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1509. }
  1510. inline void ConditionValue::set_allocated_compare_value(std::string* compare_value) {
  1511. if (compare_value != nullptr) {
  1512. } else {
  1513. }
  1514. compare_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), compare_value,
  1515. GetArena());
  1516. // @@protoc_insertion_point(field_set_allocated:fsmproto.ConditionValue.compare_value)
  1517. }
  1518. // -------------------------------------------------------------------
  1519. // ConditionData
  1520. // repeated .fsmproto.ConditionValue values = 1;
  1521. inline int ConditionData::_internal_values_size() const {
  1522. return values_.size();
  1523. }
  1524. inline int ConditionData::values_size() const {
  1525. return _internal_values_size();
  1526. }
  1527. inline void ConditionData::clear_values() {
  1528. values_.Clear();
  1529. }
  1530. inline ::fsmproto::ConditionValue* ConditionData::mutable_values(int index) {
  1531. // @@protoc_insertion_point(field_mutable:fsmproto.ConditionData.values)
  1532. return values_.Mutable(index);
  1533. }
  1534. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::ConditionValue >*
  1535. ConditionData::mutable_values() {
  1536. // @@protoc_insertion_point(field_mutable_list:fsmproto.ConditionData.values)
  1537. return &values_;
  1538. }
  1539. inline const ::fsmproto::ConditionValue& ConditionData::_internal_values(int index) const {
  1540. return values_.Get(index);
  1541. }
  1542. inline const ::fsmproto::ConditionValue& ConditionData::values(int index) const {
  1543. // @@protoc_insertion_point(field_get:fsmproto.ConditionData.values)
  1544. return _internal_values(index);
  1545. }
  1546. inline ::fsmproto::ConditionValue* ConditionData::_internal_add_values() {
  1547. return values_.Add();
  1548. }
  1549. inline ::fsmproto::ConditionValue* ConditionData::add_values() {
  1550. // @@protoc_insertion_point(field_add:fsmproto.ConditionData.values)
  1551. return _internal_add_values();
  1552. }
  1553. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::ConditionValue >&
  1554. ConditionData::values() const {
  1555. // @@protoc_insertion_point(field_list:fsmproto.ConditionData.values)
  1556. return values_;
  1557. }
  1558. // -------------------------------------------------------------------
  1559. // Transition
  1560. // string src = 1;
  1561. inline void Transition::clear_src() {
  1562. src_.ClearToEmpty();
  1563. }
  1564. inline const std::string& Transition::src() const {
  1565. // @@protoc_insertion_point(field_get:fsmproto.Transition.src)
  1566. return _internal_src();
  1567. }
  1568. inline void Transition::set_src(const std::string& value) {
  1569. _internal_set_src(value);
  1570. // @@protoc_insertion_point(field_set:fsmproto.Transition.src)
  1571. }
  1572. inline std::string* Transition::mutable_src() {
  1573. // @@protoc_insertion_point(field_mutable:fsmproto.Transition.src)
  1574. return _internal_mutable_src();
  1575. }
  1576. inline const std::string& Transition::_internal_src() const {
  1577. return src_.Get();
  1578. }
  1579. inline void Transition::_internal_set_src(const std::string& value) {
  1580. src_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  1581. }
  1582. inline void Transition::set_src(std::string&& value) {
  1583. src_.Set(
  1584. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  1585. // @@protoc_insertion_point(field_set_rvalue:fsmproto.Transition.src)
  1586. }
  1587. inline void Transition::set_src(const char* value) {
  1588. GOOGLE_DCHECK(value != nullptr);
  1589. src_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  1590. // @@protoc_insertion_point(field_set_char:fsmproto.Transition.src)
  1591. }
  1592. inline void Transition::set_src(const char* value,
  1593. size_t size) {
  1594. src_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  1595. reinterpret_cast<const char*>(value), size), GetArena());
  1596. // @@protoc_insertion_point(field_set_pointer:fsmproto.Transition.src)
  1597. }
  1598. inline std::string* Transition::_internal_mutable_src() {
  1599. return src_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  1600. }
  1601. inline std::string* Transition::release_src() {
  1602. // @@protoc_insertion_point(field_release:fsmproto.Transition.src)
  1603. return src_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1604. }
  1605. inline void Transition::set_allocated_src(std::string* src) {
  1606. if (src != nullptr) {
  1607. } else {
  1608. }
  1609. src_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), src,
  1610. GetArena());
  1611. // @@protoc_insertion_point(field_set_allocated:fsmproto.Transition.src)
  1612. }
  1613. // string dst = 2;
  1614. inline void Transition::clear_dst() {
  1615. dst_.ClearToEmpty();
  1616. }
  1617. inline const std::string& Transition::dst() const {
  1618. // @@protoc_insertion_point(field_get:fsmproto.Transition.dst)
  1619. return _internal_dst();
  1620. }
  1621. inline void Transition::set_dst(const std::string& value) {
  1622. _internal_set_dst(value);
  1623. // @@protoc_insertion_point(field_set:fsmproto.Transition.dst)
  1624. }
  1625. inline std::string* Transition::mutable_dst() {
  1626. // @@protoc_insertion_point(field_mutable:fsmproto.Transition.dst)
  1627. return _internal_mutable_dst();
  1628. }
  1629. inline const std::string& Transition::_internal_dst() const {
  1630. return dst_.Get();
  1631. }
  1632. inline void Transition::_internal_set_dst(const std::string& value) {
  1633. dst_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  1634. }
  1635. inline void Transition::set_dst(std::string&& value) {
  1636. dst_.Set(
  1637. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  1638. // @@protoc_insertion_point(field_set_rvalue:fsmproto.Transition.dst)
  1639. }
  1640. inline void Transition::set_dst(const char* value) {
  1641. GOOGLE_DCHECK(value != nullptr);
  1642. dst_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  1643. // @@protoc_insertion_point(field_set_char:fsmproto.Transition.dst)
  1644. }
  1645. inline void Transition::set_dst(const char* value,
  1646. size_t size) {
  1647. dst_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  1648. reinterpret_cast<const char*>(value), size), GetArena());
  1649. // @@protoc_insertion_point(field_set_pointer:fsmproto.Transition.dst)
  1650. }
  1651. inline std::string* Transition::_internal_mutable_dst() {
  1652. return dst_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  1653. }
  1654. inline std::string* Transition::release_dst() {
  1655. // @@protoc_insertion_point(field_release:fsmproto.Transition.dst)
  1656. return dst_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1657. }
  1658. inline void Transition::set_allocated_dst(std::string* dst) {
  1659. if (dst != nullptr) {
  1660. } else {
  1661. }
  1662. dst_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), dst,
  1663. GetArena());
  1664. // @@protoc_insertion_point(field_set_allocated:fsmproto.Transition.dst)
  1665. }
  1666. // string event = 3;
  1667. inline void Transition::clear_event() {
  1668. event_.ClearToEmpty();
  1669. }
  1670. inline const std::string& Transition::event() const {
  1671. // @@protoc_insertion_point(field_get:fsmproto.Transition.event)
  1672. return _internal_event();
  1673. }
  1674. inline void Transition::set_event(const std::string& value) {
  1675. _internal_set_event(value);
  1676. // @@protoc_insertion_point(field_set:fsmproto.Transition.event)
  1677. }
  1678. inline std::string* Transition::mutable_event() {
  1679. // @@protoc_insertion_point(field_mutable:fsmproto.Transition.event)
  1680. return _internal_mutable_event();
  1681. }
  1682. inline const std::string& Transition::_internal_event() const {
  1683. return event_.Get();
  1684. }
  1685. inline void Transition::_internal_set_event(const std::string& value) {
  1686. event_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  1687. }
  1688. inline void Transition::set_event(std::string&& value) {
  1689. event_.Set(
  1690. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  1691. // @@protoc_insertion_point(field_set_rvalue:fsmproto.Transition.event)
  1692. }
  1693. inline void Transition::set_event(const char* value) {
  1694. GOOGLE_DCHECK(value != nullptr);
  1695. event_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  1696. // @@protoc_insertion_point(field_set_char:fsmproto.Transition.event)
  1697. }
  1698. inline void Transition::set_event(const char* value,
  1699. size_t size) {
  1700. event_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  1701. reinterpret_cast<const char*>(value), size), GetArena());
  1702. // @@protoc_insertion_point(field_set_pointer:fsmproto.Transition.event)
  1703. }
  1704. inline std::string* Transition::_internal_mutable_event() {
  1705. return event_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  1706. }
  1707. inline std::string* Transition::release_event() {
  1708. // @@protoc_insertion_point(field_release:fsmproto.Transition.event)
  1709. return event_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1710. }
  1711. inline void Transition::set_allocated_event(std::string* event) {
  1712. if (event != nullptr) {
  1713. } else {
  1714. }
  1715. event_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), event,
  1716. GetArena());
  1717. // @@protoc_insertion_point(field_set_allocated:fsmproto.Transition.event)
  1718. }
  1719. // repeated .fsmproto.ConditionData condition = 4;
  1720. inline int Transition::_internal_condition_size() const {
  1721. return condition_.size();
  1722. }
  1723. inline int Transition::condition_size() const {
  1724. return _internal_condition_size();
  1725. }
  1726. inline void Transition::clear_condition() {
  1727. condition_.Clear();
  1728. }
  1729. inline ::fsmproto::ConditionData* Transition::mutable_condition(int index) {
  1730. // @@protoc_insertion_point(field_mutable:fsmproto.Transition.condition)
  1731. return condition_.Mutable(index);
  1732. }
  1733. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::ConditionData >*
  1734. Transition::mutable_condition() {
  1735. // @@protoc_insertion_point(field_mutable_list:fsmproto.Transition.condition)
  1736. return &condition_;
  1737. }
  1738. inline const ::fsmproto::ConditionData& Transition::_internal_condition(int index) const {
  1739. return condition_.Get(index);
  1740. }
  1741. inline const ::fsmproto::ConditionData& Transition::condition(int index) const {
  1742. // @@protoc_insertion_point(field_get:fsmproto.Transition.condition)
  1743. return _internal_condition(index);
  1744. }
  1745. inline ::fsmproto::ConditionData* Transition::_internal_add_condition() {
  1746. return condition_.Add();
  1747. }
  1748. inline ::fsmproto::ConditionData* Transition::add_condition() {
  1749. // @@protoc_insertion_point(field_add:fsmproto.Transition.condition)
  1750. return _internal_add_condition();
  1751. }
  1752. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::ConditionData >&
  1753. Transition::condition() const {
  1754. // @@protoc_insertion_point(field_list:fsmproto.Transition.condition)
  1755. return condition_;
  1756. }
  1757. // repeated .fsmproto.Action before_switch_actions = 5;
  1758. inline int Transition::_internal_before_switch_actions_size() const {
  1759. return before_switch_actions_.size();
  1760. }
  1761. inline int Transition::before_switch_actions_size() const {
  1762. return _internal_before_switch_actions_size();
  1763. }
  1764. inline void Transition::clear_before_switch_actions() {
  1765. before_switch_actions_.Clear();
  1766. }
  1767. inline ::fsmproto::Action* Transition::mutable_before_switch_actions(int index) {
  1768. // @@protoc_insertion_point(field_mutable:fsmproto.Transition.before_switch_actions)
  1769. return before_switch_actions_.Mutable(index);
  1770. }
  1771. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >*
  1772. Transition::mutable_before_switch_actions() {
  1773. // @@protoc_insertion_point(field_mutable_list:fsmproto.Transition.before_switch_actions)
  1774. return &before_switch_actions_;
  1775. }
  1776. inline const ::fsmproto::Action& Transition::_internal_before_switch_actions(int index) const {
  1777. return before_switch_actions_.Get(index);
  1778. }
  1779. inline const ::fsmproto::Action& Transition::before_switch_actions(int index) const {
  1780. // @@protoc_insertion_point(field_get:fsmproto.Transition.before_switch_actions)
  1781. return _internal_before_switch_actions(index);
  1782. }
  1783. inline ::fsmproto::Action* Transition::_internal_add_before_switch_actions() {
  1784. return before_switch_actions_.Add();
  1785. }
  1786. inline ::fsmproto::Action* Transition::add_before_switch_actions() {
  1787. // @@protoc_insertion_point(field_add:fsmproto.Transition.before_switch_actions)
  1788. return _internal_add_before_switch_actions();
  1789. }
  1790. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >&
  1791. Transition::before_switch_actions() const {
  1792. // @@protoc_insertion_point(field_list:fsmproto.Transition.before_switch_actions)
  1793. return before_switch_actions_;
  1794. }
  1795. // repeated .fsmproto.Action after_switch_actions = 6;
  1796. inline int Transition::_internal_after_switch_actions_size() const {
  1797. return after_switch_actions_.size();
  1798. }
  1799. inline int Transition::after_switch_actions_size() const {
  1800. return _internal_after_switch_actions_size();
  1801. }
  1802. inline void Transition::clear_after_switch_actions() {
  1803. after_switch_actions_.Clear();
  1804. }
  1805. inline ::fsmproto::Action* Transition::mutable_after_switch_actions(int index) {
  1806. // @@protoc_insertion_point(field_mutable:fsmproto.Transition.after_switch_actions)
  1807. return after_switch_actions_.Mutable(index);
  1808. }
  1809. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >*
  1810. Transition::mutable_after_switch_actions() {
  1811. // @@protoc_insertion_point(field_mutable_list:fsmproto.Transition.after_switch_actions)
  1812. return &after_switch_actions_;
  1813. }
  1814. inline const ::fsmproto::Action& Transition::_internal_after_switch_actions(int index) const {
  1815. return after_switch_actions_.Get(index);
  1816. }
  1817. inline const ::fsmproto::Action& Transition::after_switch_actions(int index) const {
  1818. // @@protoc_insertion_point(field_get:fsmproto.Transition.after_switch_actions)
  1819. return _internal_after_switch_actions(index);
  1820. }
  1821. inline ::fsmproto::Action* Transition::_internal_add_after_switch_actions() {
  1822. return after_switch_actions_.Add();
  1823. }
  1824. inline ::fsmproto::Action* Transition::add_after_switch_actions() {
  1825. // @@protoc_insertion_point(field_add:fsmproto.Transition.after_switch_actions)
  1826. return _internal_add_after_switch_actions();
  1827. }
  1828. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >&
  1829. Transition::after_switch_actions() const {
  1830. // @@protoc_insertion_point(field_list:fsmproto.Transition.after_switch_actions)
  1831. return after_switch_actions_;
  1832. }
  1833. // -------------------------------------------------------------------
  1834. // State
  1835. // string name = 1;
  1836. inline void State::clear_name() {
  1837. name_.ClearToEmpty();
  1838. }
  1839. inline const std::string& State::name() const {
  1840. // @@protoc_insertion_point(field_get:fsmproto.State.name)
  1841. return _internal_name();
  1842. }
  1843. inline void State::set_name(const std::string& value) {
  1844. _internal_set_name(value);
  1845. // @@protoc_insertion_point(field_set:fsmproto.State.name)
  1846. }
  1847. inline std::string* State::mutable_name() {
  1848. // @@protoc_insertion_point(field_mutable:fsmproto.State.name)
  1849. return _internal_mutable_name();
  1850. }
  1851. inline const std::string& State::_internal_name() const {
  1852. return name_.Get();
  1853. }
  1854. inline void State::_internal_set_name(const std::string& value) {
  1855. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  1856. }
  1857. inline void State::set_name(std::string&& value) {
  1858. name_.Set(
  1859. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  1860. // @@protoc_insertion_point(field_set_rvalue:fsmproto.State.name)
  1861. }
  1862. inline void State::set_name(const char* value) {
  1863. GOOGLE_DCHECK(value != nullptr);
  1864. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  1865. // @@protoc_insertion_point(field_set_char:fsmproto.State.name)
  1866. }
  1867. inline void State::set_name(const char* value,
  1868. size_t size) {
  1869. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  1870. reinterpret_cast<const char*>(value), size), GetArena());
  1871. // @@protoc_insertion_point(field_set_pointer:fsmproto.State.name)
  1872. }
  1873. inline std::string* State::_internal_mutable_name() {
  1874. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  1875. }
  1876. inline std::string* State::release_name() {
  1877. // @@protoc_insertion_point(field_release:fsmproto.State.name)
  1878. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1879. }
  1880. inline void State::set_allocated_name(std::string* name) {
  1881. if (name != nullptr) {
  1882. } else {
  1883. }
  1884. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  1885. GetArena());
  1886. // @@protoc_insertion_point(field_set_allocated:fsmproto.State.name)
  1887. }
  1888. // repeated .fsmproto.Action entry = 2;
  1889. inline int State::_internal_entry_size() const {
  1890. return entry_.size();
  1891. }
  1892. inline int State::entry_size() const {
  1893. return _internal_entry_size();
  1894. }
  1895. inline void State::clear_entry() {
  1896. entry_.Clear();
  1897. }
  1898. inline ::fsmproto::Action* State::mutable_entry(int index) {
  1899. // @@protoc_insertion_point(field_mutable:fsmproto.State.entry)
  1900. return entry_.Mutable(index);
  1901. }
  1902. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >*
  1903. State::mutable_entry() {
  1904. // @@protoc_insertion_point(field_mutable_list:fsmproto.State.entry)
  1905. return &entry_;
  1906. }
  1907. inline const ::fsmproto::Action& State::_internal_entry(int index) const {
  1908. return entry_.Get(index);
  1909. }
  1910. inline const ::fsmproto::Action& State::entry(int index) const {
  1911. // @@protoc_insertion_point(field_get:fsmproto.State.entry)
  1912. return _internal_entry(index);
  1913. }
  1914. inline ::fsmproto::Action* State::_internal_add_entry() {
  1915. return entry_.Add();
  1916. }
  1917. inline ::fsmproto::Action* State::add_entry() {
  1918. // @@protoc_insertion_point(field_add:fsmproto.State.entry)
  1919. return _internal_add_entry();
  1920. }
  1921. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >&
  1922. State::entry() const {
  1923. // @@protoc_insertion_point(field_list:fsmproto.State.entry)
  1924. return entry_;
  1925. }
  1926. // repeated .fsmproto.Action idle = 3;
  1927. inline int State::_internal_idle_size() const {
  1928. return idle_.size();
  1929. }
  1930. inline int State::idle_size() const {
  1931. return _internal_idle_size();
  1932. }
  1933. inline void State::clear_idle() {
  1934. idle_.Clear();
  1935. }
  1936. inline ::fsmproto::Action* State::mutable_idle(int index) {
  1937. // @@protoc_insertion_point(field_mutable:fsmproto.State.idle)
  1938. return idle_.Mutable(index);
  1939. }
  1940. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >*
  1941. State::mutable_idle() {
  1942. // @@protoc_insertion_point(field_mutable_list:fsmproto.State.idle)
  1943. return &idle_;
  1944. }
  1945. inline const ::fsmproto::Action& State::_internal_idle(int index) const {
  1946. return idle_.Get(index);
  1947. }
  1948. inline const ::fsmproto::Action& State::idle(int index) const {
  1949. // @@protoc_insertion_point(field_get:fsmproto.State.idle)
  1950. return _internal_idle(index);
  1951. }
  1952. inline ::fsmproto::Action* State::_internal_add_idle() {
  1953. return idle_.Add();
  1954. }
  1955. inline ::fsmproto::Action* State::add_idle() {
  1956. // @@protoc_insertion_point(field_add:fsmproto.State.idle)
  1957. return _internal_add_idle();
  1958. }
  1959. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >&
  1960. State::idle() const {
  1961. // @@protoc_insertion_point(field_list:fsmproto.State.idle)
  1962. return idle_;
  1963. }
  1964. // repeated .fsmproto.Action exit = 4;
  1965. inline int State::_internal_exit_size() const {
  1966. return exit_.size();
  1967. }
  1968. inline int State::exit_size() const {
  1969. return _internal_exit_size();
  1970. }
  1971. inline void State::clear_exit() {
  1972. exit_.Clear();
  1973. }
  1974. inline ::fsmproto::Action* State::mutable_exit(int index) {
  1975. // @@protoc_insertion_point(field_mutable:fsmproto.State.exit)
  1976. return exit_.Mutable(index);
  1977. }
  1978. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >*
  1979. State::mutable_exit() {
  1980. // @@protoc_insertion_point(field_mutable_list:fsmproto.State.exit)
  1981. return &exit_;
  1982. }
  1983. inline const ::fsmproto::Action& State::_internal_exit(int index) const {
  1984. return exit_.Get(index);
  1985. }
  1986. inline const ::fsmproto::Action& State::exit(int index) const {
  1987. // @@protoc_insertion_point(field_get:fsmproto.State.exit)
  1988. return _internal_exit(index);
  1989. }
  1990. inline ::fsmproto::Action* State::_internal_add_exit() {
  1991. return exit_.Add();
  1992. }
  1993. inline ::fsmproto::Action* State::add_exit() {
  1994. // @@protoc_insertion_point(field_add:fsmproto.State.exit)
  1995. return _internal_add_exit();
  1996. }
  1997. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Action >&
  1998. State::exit() const {
  1999. // @@protoc_insertion_point(field_list:fsmproto.State.exit)
  2000. return exit_;
  2001. }
  2002. // string fsm_name = 5;
  2003. inline void State::clear_fsm_name() {
  2004. fsm_name_.ClearToEmpty();
  2005. }
  2006. inline const std::string& State::fsm_name() const {
  2007. // @@protoc_insertion_point(field_get:fsmproto.State.fsm_name)
  2008. return _internal_fsm_name();
  2009. }
  2010. inline void State::set_fsm_name(const std::string& value) {
  2011. _internal_set_fsm_name(value);
  2012. // @@protoc_insertion_point(field_set:fsmproto.State.fsm_name)
  2013. }
  2014. inline std::string* State::mutable_fsm_name() {
  2015. // @@protoc_insertion_point(field_mutable:fsmproto.State.fsm_name)
  2016. return _internal_mutable_fsm_name();
  2017. }
  2018. inline const std::string& State::_internal_fsm_name() const {
  2019. return fsm_name_.Get();
  2020. }
  2021. inline void State::_internal_set_fsm_name(const std::string& value) {
  2022. fsm_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  2023. }
  2024. inline void State::set_fsm_name(std::string&& value) {
  2025. fsm_name_.Set(
  2026. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  2027. // @@protoc_insertion_point(field_set_rvalue:fsmproto.State.fsm_name)
  2028. }
  2029. inline void State::set_fsm_name(const char* value) {
  2030. GOOGLE_DCHECK(value != nullptr);
  2031. fsm_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  2032. // @@protoc_insertion_point(field_set_char:fsmproto.State.fsm_name)
  2033. }
  2034. inline void State::set_fsm_name(const char* value,
  2035. size_t size) {
  2036. fsm_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  2037. reinterpret_cast<const char*>(value), size), GetArena());
  2038. // @@protoc_insertion_point(field_set_pointer:fsmproto.State.fsm_name)
  2039. }
  2040. inline std::string* State::_internal_mutable_fsm_name() {
  2041. return fsm_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  2042. }
  2043. inline std::string* State::release_fsm_name() {
  2044. // @@protoc_insertion_point(field_release:fsmproto.State.fsm_name)
  2045. return fsm_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2046. }
  2047. inline void State::set_allocated_fsm_name(std::string* fsm_name) {
  2048. if (fsm_name != nullptr) {
  2049. } else {
  2050. }
  2051. fsm_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fsm_name,
  2052. GetArena());
  2053. // @@protoc_insertion_point(field_set_allocated:fsmproto.State.fsm_name)
  2054. }
  2055. // string state_delegate_key = 6;
  2056. inline void State::clear_state_delegate_key() {
  2057. state_delegate_key_.ClearToEmpty();
  2058. }
  2059. inline const std::string& State::state_delegate_key() const {
  2060. // @@protoc_insertion_point(field_get:fsmproto.State.state_delegate_key)
  2061. return _internal_state_delegate_key();
  2062. }
  2063. inline void State::set_state_delegate_key(const std::string& value) {
  2064. _internal_set_state_delegate_key(value);
  2065. // @@protoc_insertion_point(field_set:fsmproto.State.state_delegate_key)
  2066. }
  2067. inline std::string* State::mutable_state_delegate_key() {
  2068. // @@protoc_insertion_point(field_mutable:fsmproto.State.state_delegate_key)
  2069. return _internal_mutable_state_delegate_key();
  2070. }
  2071. inline const std::string& State::_internal_state_delegate_key() const {
  2072. return state_delegate_key_.Get();
  2073. }
  2074. inline void State::_internal_set_state_delegate_key(const std::string& value) {
  2075. state_delegate_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  2076. }
  2077. inline void State::set_state_delegate_key(std::string&& value) {
  2078. state_delegate_key_.Set(
  2079. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  2080. // @@protoc_insertion_point(field_set_rvalue:fsmproto.State.state_delegate_key)
  2081. }
  2082. inline void State::set_state_delegate_key(const char* value) {
  2083. GOOGLE_DCHECK(value != nullptr);
  2084. state_delegate_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  2085. // @@protoc_insertion_point(field_set_char:fsmproto.State.state_delegate_key)
  2086. }
  2087. inline void State::set_state_delegate_key(const char* value,
  2088. size_t size) {
  2089. state_delegate_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  2090. reinterpret_cast<const char*>(value), size), GetArena());
  2091. // @@protoc_insertion_point(field_set_pointer:fsmproto.State.state_delegate_key)
  2092. }
  2093. inline std::string* State::_internal_mutable_state_delegate_key() {
  2094. return state_delegate_key_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  2095. }
  2096. inline std::string* State::release_state_delegate_key() {
  2097. // @@protoc_insertion_point(field_release:fsmproto.State.state_delegate_key)
  2098. return state_delegate_key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2099. }
  2100. inline void State::set_allocated_state_delegate_key(std::string* state_delegate_key) {
  2101. if (state_delegate_key != nullptr) {
  2102. } else {
  2103. }
  2104. state_delegate_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), state_delegate_key,
  2105. GetArena());
  2106. // @@protoc_insertion_point(field_set_allocated:fsmproto.State.state_delegate_key)
  2107. }
  2108. // -------------------------------------------------------------------
  2109. // Param
  2110. // string type = 1;
  2111. inline void Param::clear_type() {
  2112. type_.ClearToEmpty();
  2113. }
  2114. inline const std::string& Param::type() const {
  2115. // @@protoc_insertion_point(field_get:fsmproto.Param.type)
  2116. return _internal_type();
  2117. }
  2118. inline void Param::set_type(const std::string& value) {
  2119. _internal_set_type(value);
  2120. // @@protoc_insertion_point(field_set:fsmproto.Param.type)
  2121. }
  2122. inline std::string* Param::mutable_type() {
  2123. // @@protoc_insertion_point(field_mutable:fsmproto.Param.type)
  2124. return _internal_mutable_type();
  2125. }
  2126. inline const std::string& Param::_internal_type() const {
  2127. return type_.Get();
  2128. }
  2129. inline void Param::_internal_set_type(const std::string& value) {
  2130. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  2131. }
  2132. inline void Param::set_type(std::string&& value) {
  2133. type_.Set(
  2134. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  2135. // @@protoc_insertion_point(field_set_rvalue:fsmproto.Param.type)
  2136. }
  2137. inline void Param::set_type(const char* value) {
  2138. GOOGLE_DCHECK(value != nullptr);
  2139. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  2140. // @@protoc_insertion_point(field_set_char:fsmproto.Param.type)
  2141. }
  2142. inline void Param::set_type(const char* value,
  2143. size_t size) {
  2144. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  2145. reinterpret_cast<const char*>(value), size), GetArena());
  2146. // @@protoc_insertion_point(field_set_pointer:fsmproto.Param.type)
  2147. }
  2148. inline std::string* Param::_internal_mutable_type() {
  2149. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  2150. }
  2151. inline std::string* Param::release_type() {
  2152. // @@protoc_insertion_point(field_release:fsmproto.Param.type)
  2153. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2154. }
  2155. inline void Param::set_allocated_type(std::string* type) {
  2156. if (type != nullptr) {
  2157. } else {
  2158. }
  2159. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  2160. GetArena());
  2161. // @@protoc_insertion_point(field_set_allocated:fsmproto.Param.type)
  2162. }
  2163. // string default_value = 2;
  2164. inline void Param::clear_default_value() {
  2165. default_value_.ClearToEmpty();
  2166. }
  2167. inline const std::string& Param::default_value() const {
  2168. // @@protoc_insertion_point(field_get:fsmproto.Param.default_value)
  2169. return _internal_default_value();
  2170. }
  2171. inline void Param::set_default_value(const std::string& value) {
  2172. _internal_set_default_value(value);
  2173. // @@protoc_insertion_point(field_set:fsmproto.Param.default_value)
  2174. }
  2175. inline std::string* Param::mutable_default_value() {
  2176. // @@protoc_insertion_point(field_mutable:fsmproto.Param.default_value)
  2177. return _internal_mutable_default_value();
  2178. }
  2179. inline const std::string& Param::_internal_default_value() const {
  2180. return default_value_.Get();
  2181. }
  2182. inline void Param::_internal_set_default_value(const std::string& value) {
  2183. default_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  2184. }
  2185. inline void Param::set_default_value(std::string&& value) {
  2186. default_value_.Set(
  2187. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  2188. // @@protoc_insertion_point(field_set_rvalue:fsmproto.Param.default_value)
  2189. }
  2190. inline void Param::set_default_value(const char* value) {
  2191. GOOGLE_DCHECK(value != nullptr);
  2192. default_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  2193. // @@protoc_insertion_point(field_set_char:fsmproto.Param.default_value)
  2194. }
  2195. inline void Param::set_default_value(const char* value,
  2196. size_t size) {
  2197. default_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  2198. reinterpret_cast<const char*>(value), size), GetArena());
  2199. // @@protoc_insertion_point(field_set_pointer:fsmproto.Param.default_value)
  2200. }
  2201. inline std::string* Param::_internal_mutable_default_value() {
  2202. return default_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  2203. }
  2204. inline std::string* Param::release_default_value() {
  2205. // @@protoc_insertion_point(field_release:fsmproto.Param.default_value)
  2206. return default_value_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2207. }
  2208. inline void Param::set_allocated_default_value(std::string* default_value) {
  2209. if (default_value != nullptr) {
  2210. } else {
  2211. }
  2212. default_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), default_value,
  2213. GetArena());
  2214. // @@protoc_insertion_point(field_set_allocated:fsmproto.Param.default_value)
  2215. }
  2216. // -------------------------------------------------------------------
  2217. // -------------------------------------------------------------------
  2218. // StateMachine
  2219. // string init_state_name = 1;
  2220. inline void StateMachine::clear_init_state_name() {
  2221. init_state_name_.ClearToEmpty();
  2222. }
  2223. inline const std::string& StateMachine::init_state_name() const {
  2224. // @@protoc_insertion_point(field_get:fsmproto.StateMachine.init_state_name)
  2225. return _internal_init_state_name();
  2226. }
  2227. inline void StateMachine::set_init_state_name(const std::string& value) {
  2228. _internal_set_init_state_name(value);
  2229. // @@protoc_insertion_point(field_set:fsmproto.StateMachine.init_state_name)
  2230. }
  2231. inline std::string* StateMachine::mutable_init_state_name() {
  2232. // @@protoc_insertion_point(field_mutable:fsmproto.StateMachine.init_state_name)
  2233. return _internal_mutable_init_state_name();
  2234. }
  2235. inline const std::string& StateMachine::_internal_init_state_name() const {
  2236. return init_state_name_.Get();
  2237. }
  2238. inline void StateMachine::_internal_set_init_state_name(const std::string& value) {
  2239. init_state_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  2240. }
  2241. inline void StateMachine::set_init_state_name(std::string&& value) {
  2242. init_state_name_.Set(
  2243. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  2244. // @@protoc_insertion_point(field_set_rvalue:fsmproto.StateMachine.init_state_name)
  2245. }
  2246. inline void StateMachine::set_init_state_name(const char* value) {
  2247. GOOGLE_DCHECK(value != nullptr);
  2248. init_state_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  2249. // @@protoc_insertion_point(field_set_char:fsmproto.StateMachine.init_state_name)
  2250. }
  2251. inline void StateMachine::set_init_state_name(const char* value,
  2252. size_t size) {
  2253. init_state_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  2254. reinterpret_cast<const char*>(value), size), GetArena());
  2255. // @@protoc_insertion_point(field_set_pointer:fsmproto.StateMachine.init_state_name)
  2256. }
  2257. inline std::string* StateMachine::_internal_mutable_init_state_name() {
  2258. return init_state_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  2259. }
  2260. inline std::string* StateMachine::release_init_state_name() {
  2261. // @@protoc_insertion_point(field_release:fsmproto.StateMachine.init_state_name)
  2262. return init_state_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2263. }
  2264. inline void StateMachine::set_allocated_init_state_name(std::string* init_state_name) {
  2265. if (init_state_name != nullptr) {
  2266. } else {
  2267. }
  2268. init_state_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), init_state_name,
  2269. GetArena());
  2270. // @@protoc_insertion_point(field_set_allocated:fsmproto.StateMachine.init_state_name)
  2271. }
  2272. // string machine_type = 2;
  2273. inline void StateMachine::clear_machine_type() {
  2274. machine_type_.ClearToEmpty();
  2275. }
  2276. inline const std::string& StateMachine::machine_type() const {
  2277. // @@protoc_insertion_point(field_get:fsmproto.StateMachine.machine_type)
  2278. return _internal_machine_type();
  2279. }
  2280. inline void StateMachine::set_machine_type(const std::string& value) {
  2281. _internal_set_machine_type(value);
  2282. // @@protoc_insertion_point(field_set:fsmproto.StateMachine.machine_type)
  2283. }
  2284. inline std::string* StateMachine::mutable_machine_type() {
  2285. // @@protoc_insertion_point(field_mutable:fsmproto.StateMachine.machine_type)
  2286. return _internal_mutable_machine_type();
  2287. }
  2288. inline const std::string& StateMachine::_internal_machine_type() const {
  2289. return machine_type_.Get();
  2290. }
  2291. inline void StateMachine::_internal_set_machine_type(const std::string& value) {
  2292. machine_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
  2293. }
  2294. inline void StateMachine::set_machine_type(std::string&& value) {
  2295. machine_type_.Set(
  2296. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  2297. // @@protoc_insertion_point(field_set_rvalue:fsmproto.StateMachine.machine_type)
  2298. }
  2299. inline void StateMachine::set_machine_type(const char* value) {
  2300. GOOGLE_DCHECK(value != nullptr);
  2301. machine_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  2302. // @@protoc_insertion_point(field_set_char:fsmproto.StateMachine.machine_type)
  2303. }
  2304. inline void StateMachine::set_machine_type(const char* value,
  2305. size_t size) {
  2306. machine_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
  2307. reinterpret_cast<const char*>(value), size), GetArena());
  2308. // @@protoc_insertion_point(field_set_pointer:fsmproto.StateMachine.machine_type)
  2309. }
  2310. inline std::string* StateMachine::_internal_mutable_machine_type() {
  2311. return machine_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
  2312. }
  2313. inline std::string* StateMachine::release_machine_type() {
  2314. // @@protoc_insertion_point(field_release:fsmproto.StateMachine.machine_type)
  2315. return machine_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  2316. }
  2317. inline void StateMachine::set_allocated_machine_type(std::string* machine_type) {
  2318. if (machine_type != nullptr) {
  2319. } else {
  2320. }
  2321. machine_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), machine_type,
  2322. GetArena());
  2323. // @@protoc_insertion_point(field_set_allocated:fsmproto.StateMachine.machine_type)
  2324. }
  2325. // map<string, .fsmproto.Param> params = 3;
  2326. inline int StateMachine::_internal_params_size() const {
  2327. return params_.size();
  2328. }
  2329. inline int StateMachine::params_size() const {
  2330. return _internal_params_size();
  2331. }
  2332. inline void StateMachine::clear_params() {
  2333. params_.Clear();
  2334. }
  2335. inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fsmproto::Param >&
  2336. StateMachine::_internal_params() const {
  2337. return params_.GetMap();
  2338. }
  2339. inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fsmproto::Param >&
  2340. StateMachine::params() const {
  2341. // @@protoc_insertion_point(field_map:fsmproto.StateMachine.params)
  2342. return _internal_params();
  2343. }
  2344. inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fsmproto::Param >*
  2345. StateMachine::_internal_mutable_params() {
  2346. return params_.MutableMap();
  2347. }
  2348. inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fsmproto::Param >*
  2349. StateMachine::mutable_params() {
  2350. // @@protoc_insertion_point(field_mutable_map:fsmproto.StateMachine.params)
  2351. return _internal_mutable_params();
  2352. }
  2353. // repeated .fsmproto.State states = 4;
  2354. inline int StateMachine::_internal_states_size() const {
  2355. return states_.size();
  2356. }
  2357. inline int StateMachine::states_size() const {
  2358. return _internal_states_size();
  2359. }
  2360. inline void StateMachine::clear_states() {
  2361. states_.Clear();
  2362. }
  2363. inline ::fsmproto::State* StateMachine::mutable_states(int index) {
  2364. // @@protoc_insertion_point(field_mutable:fsmproto.StateMachine.states)
  2365. return states_.Mutable(index);
  2366. }
  2367. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::State >*
  2368. StateMachine::mutable_states() {
  2369. // @@protoc_insertion_point(field_mutable_list:fsmproto.StateMachine.states)
  2370. return &states_;
  2371. }
  2372. inline const ::fsmproto::State& StateMachine::_internal_states(int index) const {
  2373. return states_.Get(index);
  2374. }
  2375. inline const ::fsmproto::State& StateMachine::states(int index) const {
  2376. // @@protoc_insertion_point(field_get:fsmproto.StateMachine.states)
  2377. return _internal_states(index);
  2378. }
  2379. inline ::fsmproto::State* StateMachine::_internal_add_states() {
  2380. return states_.Add();
  2381. }
  2382. inline ::fsmproto::State* StateMachine::add_states() {
  2383. // @@protoc_insertion_point(field_add:fsmproto.StateMachine.states)
  2384. return _internal_add_states();
  2385. }
  2386. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::State >&
  2387. StateMachine::states() const {
  2388. // @@protoc_insertion_point(field_list:fsmproto.StateMachine.states)
  2389. return states_;
  2390. }
  2391. // repeated .fsmproto.Transition transitions = 5;
  2392. inline int StateMachine::_internal_transitions_size() const {
  2393. return transitions_.size();
  2394. }
  2395. inline int StateMachine::transitions_size() const {
  2396. return _internal_transitions_size();
  2397. }
  2398. inline void StateMachine::clear_transitions() {
  2399. transitions_.Clear();
  2400. }
  2401. inline ::fsmproto::Transition* StateMachine::mutable_transitions(int index) {
  2402. // @@protoc_insertion_point(field_mutable:fsmproto.StateMachine.transitions)
  2403. return transitions_.Mutable(index);
  2404. }
  2405. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Transition >*
  2406. StateMachine::mutable_transitions() {
  2407. // @@protoc_insertion_point(field_mutable_list:fsmproto.StateMachine.transitions)
  2408. return &transitions_;
  2409. }
  2410. inline const ::fsmproto::Transition& StateMachine::_internal_transitions(int index) const {
  2411. return transitions_.Get(index);
  2412. }
  2413. inline const ::fsmproto::Transition& StateMachine::transitions(int index) const {
  2414. // @@protoc_insertion_point(field_get:fsmproto.StateMachine.transitions)
  2415. return _internal_transitions(index);
  2416. }
  2417. inline ::fsmproto::Transition* StateMachine::_internal_add_transitions() {
  2418. return transitions_.Add();
  2419. }
  2420. inline ::fsmproto::Transition* StateMachine::add_transitions() {
  2421. // @@protoc_insertion_point(field_add:fsmproto.StateMachine.transitions)
  2422. return _internal_add_transitions();
  2423. }
  2424. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fsmproto::Transition >&
  2425. StateMachine::transitions() const {
  2426. // @@protoc_insertion_point(field_list:fsmproto.StateMachine.transitions)
  2427. return transitions_;
  2428. }
  2429. #ifdef __GNUC__
  2430. #pragma GCC diagnostic pop
  2431. #endif // __GNUC__
  2432. // -------------------------------------------------------------------
  2433. // -------------------------------------------------------------------
  2434. // -------------------------------------------------------------------
  2435. // -------------------------------------------------------------------
  2436. // -------------------------------------------------------------------
  2437. // -------------------------------------------------------------------
  2438. // -------------------------------------------------------------------
  2439. // -------------------------------------------------------------------
  2440. // @@protoc_insertion_point(namespace_scope)
  2441. } // namespace fsmproto
  2442. // @@protoc_insertion_point(global_scope)
  2443. #include <google/protobuf/port_undef.inc>
  2444. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_state_5fmachine_5fconfig_2eproto