1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: chatcleaner.proto
3
4 #ifndef PROTOBUF_chatcleaner_2eproto__INCLUDED
5 #define PROTOBUF_chatcleaner_2eproto__INCLUDED
6
7 #include <string>
8
9 #include <google/protobuf/stubs/common.h>
10
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message_lite.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 // @@protoc_insertion_point(includes)
27
28 // Internal implementation detail -- do not call these.
29 void protobuf_AddDesc_chatcleaner_2eproto();
30 void protobuf_AssignDesc_chatcleaner_2eproto();
31 void protobuf_ShutdownFile_chatcleaner_2eproto();
32
33 class CleanerInitMessage;
34 class CleanerInitAckMessage;
35 class CleanerChatRequestMessage;
36 class CleanerChatReplyMessage;
37 class ChatCleanerMessage;
38
39 enum CleanerChatReplyMessage_CleanerActionType {
40 CleanerChatReplyMessage_CleanerActionType_cleanerActionNone = 0,
41 CleanerChatReplyMessage_CleanerActionType_cleanerActionWarning = 1,
42 CleanerChatReplyMessage_CleanerActionType_cleanerActionKick = 2,
43 CleanerChatReplyMessage_CleanerActionType_cleanerActionBan = 3,
44 CleanerChatReplyMessage_CleanerActionType_cleanerActionMute = 4
45 };
46 bool CleanerChatReplyMessage_CleanerActionType_IsValid(int value);
47 const CleanerChatReplyMessage_CleanerActionType CleanerChatReplyMessage_CleanerActionType_CleanerActionType_MIN = CleanerChatReplyMessage_CleanerActionType_cleanerActionNone;
48 const CleanerChatReplyMessage_CleanerActionType CleanerChatReplyMessage_CleanerActionType_CleanerActionType_MAX = CleanerChatReplyMessage_CleanerActionType_cleanerActionMute;
49 const int CleanerChatReplyMessage_CleanerActionType_CleanerActionType_ARRAYSIZE = CleanerChatReplyMessage_CleanerActionType_CleanerActionType_MAX + 1;
50
51 enum ChatCleanerMessage_ChatCleanerMessageType {
52 ChatCleanerMessage_ChatCleanerMessageType_Type_CleanerInitMessage = 1,
53 ChatCleanerMessage_ChatCleanerMessageType_Type_CleanerInitAckMessage = 2,
54 ChatCleanerMessage_ChatCleanerMessageType_Type_CleanerChatRequestMessage = 3,
55 ChatCleanerMessage_ChatCleanerMessageType_Type_CleanerChatReplyMessage = 4
56 };
57 bool ChatCleanerMessage_ChatCleanerMessageType_IsValid(int value);
58 const ChatCleanerMessage_ChatCleanerMessageType ChatCleanerMessage_ChatCleanerMessageType_ChatCleanerMessageType_MIN = ChatCleanerMessage_ChatCleanerMessageType_Type_CleanerInitMessage;
59 const ChatCleanerMessage_ChatCleanerMessageType ChatCleanerMessage_ChatCleanerMessageType_ChatCleanerMessageType_MAX = ChatCleanerMessage_ChatCleanerMessageType_Type_CleanerChatReplyMessage;
60 const int ChatCleanerMessage_ChatCleanerMessageType_ChatCleanerMessageType_ARRAYSIZE = ChatCleanerMessage_ChatCleanerMessageType_ChatCleanerMessageType_MAX + 1;
61
62 enum CleanerChatType {
63 cleanerChatTypeLobby = 0,
64 cleanerChatTypeGame = 1
65 };
66 bool CleanerChatType_IsValid(int value);
67 const CleanerChatType CleanerChatType_MIN = cleanerChatTypeLobby;
68 const CleanerChatType CleanerChatType_MAX = cleanerChatTypeGame;
69 const int CleanerChatType_ARRAYSIZE = CleanerChatType_MAX + 1;
70
71 // ===================================================================
72
73 class CleanerInitMessage : public ::google::protobuf::MessageLite {
74 public:
75 CleanerInitMessage();
76 virtual ~CleanerInitMessage();
77
78 CleanerInitMessage(const CleanerInitMessage& from);
79
80 inline CleanerInitMessage& operator=(const CleanerInitMessage& from) {
81 CopyFrom(from);
82 return *this;
83 }
84
unknown_fields()85 inline const ::std::string& unknown_fields() const {
86 return _unknown_fields_;
87 }
88
mutable_unknown_fields()89 inline ::std::string* mutable_unknown_fields() {
90 return &_unknown_fields_;
91 }
92
93 static const CleanerInitMessage& default_instance();
94
95 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
96 // Returns the internal default instance pointer. This function can
97 // return NULL thus should not be used by the user. This is intended
98 // for Protobuf internal code. Please use default_instance() declared
99 // above instead.
internal_default_instance()100 static inline const CleanerInitMessage* internal_default_instance() {
101 return default_instance_;
102 }
103 #endif
104
105 void Swap(CleanerInitMessage* other);
106
107 // implements Message ----------------------------------------------
108
109 CleanerInitMessage* New() const;
110 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
111 void CopyFrom(const CleanerInitMessage& from);
112 void MergeFrom(const CleanerInitMessage& from);
113 void Clear();
114 bool IsInitialized() const;
115
116 int ByteSize() const;
117 bool MergePartialFromCodedStream(
118 ::google::protobuf::io::CodedInputStream* input);
119 void SerializeWithCachedSizes(
120 ::google::protobuf::io::CodedOutputStream* output) const;
121 void DiscardUnknownFields();
GetCachedSize()122 int GetCachedSize() const { return _cached_size_; }
123 private:
124 void SharedCtor();
125 void SharedDtor();
126 void SetCachedSize(int size) const;
127 public:
128 ::std::string GetTypeName() const;
129
130 // nested types ----------------------------------------------------
131
132 // accessors -------------------------------------------------------
133
134 // required uint32 requestedVersion = 1;
135 inline bool has_requestedversion() const;
136 inline void clear_requestedversion();
137 static const int kRequestedVersionFieldNumber = 1;
138 inline ::google::protobuf::uint32 requestedversion() const;
139 inline void set_requestedversion(::google::protobuf::uint32 value);
140
141 // required string clientSecret = 2;
142 inline bool has_clientsecret() const;
143 inline void clear_clientsecret();
144 static const int kClientSecretFieldNumber = 2;
145 inline const ::std::string& clientsecret() const;
146 inline void set_clientsecret(const ::std::string& value);
147 inline void set_clientsecret(const char* value);
148 inline void set_clientsecret(const char* value, size_t size);
149 inline ::std::string* mutable_clientsecret();
150 inline ::std::string* release_clientsecret();
151 inline void set_allocated_clientsecret(::std::string* clientsecret);
152
153 // @@protoc_insertion_point(class_scope:CleanerInitMessage)
154 private:
155 inline void set_has_requestedversion();
156 inline void clear_has_requestedversion();
157 inline void set_has_clientsecret();
158 inline void clear_has_clientsecret();
159
160 ::std::string _unknown_fields_;
161
162 ::google::protobuf::uint32 _has_bits_[1];
163 mutable int _cached_size_;
164 ::std::string* clientsecret_;
165 ::google::protobuf::uint32 requestedversion_;
166 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
167 friend void protobuf_AddDesc_chatcleaner_2eproto_impl();
168 #else
169 friend void protobuf_AddDesc_chatcleaner_2eproto();
170 #endif
171 friend void protobuf_AssignDesc_chatcleaner_2eproto();
172 friend void protobuf_ShutdownFile_chatcleaner_2eproto();
173
174 void InitAsDefaultInstance();
175 static CleanerInitMessage* default_instance_;
176 };
177 // -------------------------------------------------------------------
178
179 class CleanerInitAckMessage : public ::google::protobuf::MessageLite {
180 public:
181 CleanerInitAckMessage();
182 virtual ~CleanerInitAckMessage();
183
184 CleanerInitAckMessage(const CleanerInitAckMessage& from);
185
186 inline CleanerInitAckMessage& operator=(const CleanerInitAckMessage& from) {
187 CopyFrom(from);
188 return *this;
189 }
190
unknown_fields()191 inline const ::std::string& unknown_fields() const {
192 return _unknown_fields_;
193 }
194
mutable_unknown_fields()195 inline ::std::string* mutable_unknown_fields() {
196 return &_unknown_fields_;
197 }
198
199 static const CleanerInitAckMessage& default_instance();
200
201 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
202 // Returns the internal default instance pointer. This function can
203 // return NULL thus should not be used by the user. This is intended
204 // for Protobuf internal code. Please use default_instance() declared
205 // above instead.
internal_default_instance()206 static inline const CleanerInitAckMessage* internal_default_instance() {
207 return default_instance_;
208 }
209 #endif
210
211 void Swap(CleanerInitAckMessage* other);
212
213 // implements Message ----------------------------------------------
214
215 CleanerInitAckMessage* New() const;
216 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
217 void CopyFrom(const CleanerInitAckMessage& from);
218 void MergeFrom(const CleanerInitAckMessage& from);
219 void Clear();
220 bool IsInitialized() const;
221
222 int ByteSize() const;
223 bool MergePartialFromCodedStream(
224 ::google::protobuf::io::CodedInputStream* input);
225 void SerializeWithCachedSizes(
226 ::google::protobuf::io::CodedOutputStream* output) const;
227 void DiscardUnknownFields();
GetCachedSize()228 int GetCachedSize() const { return _cached_size_; }
229 private:
230 void SharedCtor();
231 void SharedDtor();
232 void SetCachedSize(int size) const;
233 public:
234 ::std::string GetTypeName() const;
235
236 // nested types ----------------------------------------------------
237
238 // accessors -------------------------------------------------------
239
240 // required uint32 serverVersion = 1;
241 inline bool has_serverversion() const;
242 inline void clear_serverversion();
243 static const int kServerVersionFieldNumber = 1;
244 inline ::google::protobuf::uint32 serverversion() const;
245 inline void set_serverversion(::google::protobuf::uint32 value);
246
247 // required string serverSecret = 2;
248 inline bool has_serversecret() const;
249 inline void clear_serversecret();
250 static const int kServerSecretFieldNumber = 2;
251 inline const ::std::string& serversecret() const;
252 inline void set_serversecret(const ::std::string& value);
253 inline void set_serversecret(const char* value);
254 inline void set_serversecret(const char* value, size_t size);
255 inline ::std::string* mutable_serversecret();
256 inline ::std::string* release_serversecret();
257 inline void set_allocated_serversecret(::std::string* serversecret);
258
259 // @@protoc_insertion_point(class_scope:CleanerInitAckMessage)
260 private:
261 inline void set_has_serverversion();
262 inline void clear_has_serverversion();
263 inline void set_has_serversecret();
264 inline void clear_has_serversecret();
265
266 ::std::string _unknown_fields_;
267
268 ::google::protobuf::uint32 _has_bits_[1];
269 mutable int _cached_size_;
270 ::std::string* serversecret_;
271 ::google::protobuf::uint32 serverversion_;
272 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
273 friend void protobuf_AddDesc_chatcleaner_2eproto_impl();
274 #else
275 friend void protobuf_AddDesc_chatcleaner_2eproto();
276 #endif
277 friend void protobuf_AssignDesc_chatcleaner_2eproto();
278 friend void protobuf_ShutdownFile_chatcleaner_2eproto();
279
280 void InitAsDefaultInstance();
281 static CleanerInitAckMessage* default_instance_;
282 };
283 // -------------------------------------------------------------------
284
285 class CleanerChatRequestMessage : public ::google::protobuf::MessageLite {
286 public:
287 CleanerChatRequestMessage();
288 virtual ~CleanerChatRequestMessage();
289
290 CleanerChatRequestMessage(const CleanerChatRequestMessage& from);
291
292 inline CleanerChatRequestMessage& operator=(const CleanerChatRequestMessage& from) {
293 CopyFrom(from);
294 return *this;
295 }
296
unknown_fields()297 inline const ::std::string& unknown_fields() const {
298 return _unknown_fields_;
299 }
300
mutable_unknown_fields()301 inline ::std::string* mutable_unknown_fields() {
302 return &_unknown_fields_;
303 }
304
305 static const CleanerChatRequestMessage& default_instance();
306
307 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
308 // Returns the internal default instance pointer. This function can
309 // return NULL thus should not be used by the user. This is intended
310 // for Protobuf internal code. Please use default_instance() declared
311 // above instead.
internal_default_instance()312 static inline const CleanerChatRequestMessage* internal_default_instance() {
313 return default_instance_;
314 }
315 #endif
316
317 void Swap(CleanerChatRequestMessage* other);
318
319 // implements Message ----------------------------------------------
320
321 CleanerChatRequestMessage* New() const;
322 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
323 void CopyFrom(const CleanerChatRequestMessage& from);
324 void MergeFrom(const CleanerChatRequestMessage& from);
325 void Clear();
326 bool IsInitialized() const;
327
328 int ByteSize() const;
329 bool MergePartialFromCodedStream(
330 ::google::protobuf::io::CodedInputStream* input);
331 void SerializeWithCachedSizes(
332 ::google::protobuf::io::CodedOutputStream* output) const;
333 void DiscardUnknownFields();
GetCachedSize()334 int GetCachedSize() const { return _cached_size_; }
335 private:
336 void SharedCtor();
337 void SharedDtor();
338 void SetCachedSize(int size) const;
339 public:
340 ::std::string GetTypeName() const;
341
342 // nested types ----------------------------------------------------
343
344 // accessors -------------------------------------------------------
345
346 // required uint32 requestId = 1;
347 inline bool has_requestid() const;
348 inline void clear_requestid();
349 static const int kRequestIdFieldNumber = 1;
350 inline ::google::protobuf::uint32 requestid() const;
351 inline void set_requestid(::google::protobuf::uint32 value);
352
353 // required .CleanerChatType cleanerChatType = 2;
354 inline bool has_cleanerchattype() const;
355 inline void clear_cleanerchattype();
356 static const int kCleanerChatTypeFieldNumber = 2;
357 inline ::CleanerChatType cleanerchattype() const;
358 inline void set_cleanerchattype(::CleanerChatType value);
359
360 // optional uint32 gameId = 3 [default = 0];
361 inline bool has_gameid() const;
362 inline void clear_gameid();
363 static const int kGameIdFieldNumber = 3;
364 inline ::google::protobuf::uint32 gameid() const;
365 inline void set_gameid(::google::protobuf::uint32 value);
366
367 // required uint32 playerId = 4;
368 inline bool has_playerid() const;
369 inline void clear_playerid();
370 static const int kPlayerIdFieldNumber = 4;
371 inline ::google::protobuf::uint32 playerid() const;
372 inline void set_playerid(::google::protobuf::uint32 value);
373
374 // required string playerName = 5;
375 inline bool has_playername() const;
376 inline void clear_playername();
377 static const int kPlayerNameFieldNumber = 5;
378 inline const ::std::string& playername() const;
379 inline void set_playername(const ::std::string& value);
380 inline void set_playername(const char* value);
381 inline void set_playername(const char* value, size_t size);
382 inline ::std::string* mutable_playername();
383 inline ::std::string* release_playername();
384 inline void set_allocated_playername(::std::string* playername);
385
386 // required string chatMessage = 6;
387 inline bool has_chatmessage() const;
388 inline void clear_chatmessage();
389 static const int kChatMessageFieldNumber = 6;
390 inline const ::std::string& chatmessage() const;
391 inline void set_chatmessage(const ::std::string& value);
392 inline void set_chatmessage(const char* value);
393 inline void set_chatmessage(const char* value, size_t size);
394 inline ::std::string* mutable_chatmessage();
395 inline ::std::string* release_chatmessage();
396 inline void set_allocated_chatmessage(::std::string* chatmessage);
397
398 // @@protoc_insertion_point(class_scope:CleanerChatRequestMessage)
399 private:
400 inline void set_has_requestid();
401 inline void clear_has_requestid();
402 inline void set_has_cleanerchattype();
403 inline void clear_has_cleanerchattype();
404 inline void set_has_gameid();
405 inline void clear_has_gameid();
406 inline void set_has_playerid();
407 inline void clear_has_playerid();
408 inline void set_has_playername();
409 inline void clear_has_playername();
410 inline void set_has_chatmessage();
411 inline void clear_has_chatmessage();
412
413 ::std::string _unknown_fields_;
414
415 ::google::protobuf::uint32 _has_bits_[1];
416 mutable int _cached_size_;
417 ::google::protobuf::uint32 requestid_;
418 int cleanerchattype_;
419 ::google::protobuf::uint32 gameid_;
420 ::google::protobuf::uint32 playerid_;
421 ::std::string* playername_;
422 ::std::string* chatmessage_;
423 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
424 friend void protobuf_AddDesc_chatcleaner_2eproto_impl();
425 #else
426 friend void protobuf_AddDesc_chatcleaner_2eproto();
427 #endif
428 friend void protobuf_AssignDesc_chatcleaner_2eproto();
429 friend void protobuf_ShutdownFile_chatcleaner_2eproto();
430
431 void InitAsDefaultInstance();
432 static CleanerChatRequestMessage* default_instance_;
433 };
434 // -------------------------------------------------------------------
435
436 class CleanerChatReplyMessage : public ::google::protobuf::MessageLite {
437 public:
438 CleanerChatReplyMessage();
439 virtual ~CleanerChatReplyMessage();
440
441 CleanerChatReplyMessage(const CleanerChatReplyMessage& from);
442
443 inline CleanerChatReplyMessage& operator=(const CleanerChatReplyMessage& from) {
444 CopyFrom(from);
445 return *this;
446 }
447
unknown_fields()448 inline const ::std::string& unknown_fields() const {
449 return _unknown_fields_;
450 }
451
mutable_unknown_fields()452 inline ::std::string* mutable_unknown_fields() {
453 return &_unknown_fields_;
454 }
455
456 static const CleanerChatReplyMessage& default_instance();
457
458 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
459 // Returns the internal default instance pointer. This function can
460 // return NULL thus should not be used by the user. This is intended
461 // for Protobuf internal code. Please use default_instance() declared
462 // above instead.
internal_default_instance()463 static inline const CleanerChatReplyMessage* internal_default_instance() {
464 return default_instance_;
465 }
466 #endif
467
468 void Swap(CleanerChatReplyMessage* other);
469
470 // implements Message ----------------------------------------------
471
472 CleanerChatReplyMessage* New() const;
473 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
474 void CopyFrom(const CleanerChatReplyMessage& from);
475 void MergeFrom(const CleanerChatReplyMessage& from);
476 void Clear();
477 bool IsInitialized() const;
478
479 int ByteSize() const;
480 bool MergePartialFromCodedStream(
481 ::google::protobuf::io::CodedInputStream* input);
482 void SerializeWithCachedSizes(
483 ::google::protobuf::io::CodedOutputStream* output) const;
484 void DiscardUnknownFields();
GetCachedSize()485 int GetCachedSize() const { return _cached_size_; }
486 private:
487 void SharedCtor();
488 void SharedDtor();
489 void SetCachedSize(int size) const;
490 public:
491 ::std::string GetTypeName() const;
492
493 // nested types ----------------------------------------------------
494
495 typedef CleanerChatReplyMessage_CleanerActionType CleanerActionType;
496 static const CleanerActionType cleanerActionNone = CleanerChatReplyMessage_CleanerActionType_cleanerActionNone;
497 static const CleanerActionType cleanerActionWarning = CleanerChatReplyMessage_CleanerActionType_cleanerActionWarning;
498 static const CleanerActionType cleanerActionKick = CleanerChatReplyMessage_CleanerActionType_cleanerActionKick;
499 static const CleanerActionType cleanerActionBan = CleanerChatReplyMessage_CleanerActionType_cleanerActionBan;
500 static const CleanerActionType cleanerActionMute = CleanerChatReplyMessage_CleanerActionType_cleanerActionMute;
CleanerActionType_IsValid(int value)501 static inline bool CleanerActionType_IsValid(int value) {
502 return CleanerChatReplyMessage_CleanerActionType_IsValid(value);
503 }
504 static const CleanerActionType CleanerActionType_MIN =
505 CleanerChatReplyMessage_CleanerActionType_CleanerActionType_MIN;
506 static const CleanerActionType CleanerActionType_MAX =
507 CleanerChatReplyMessage_CleanerActionType_CleanerActionType_MAX;
508 static const int CleanerActionType_ARRAYSIZE =
509 CleanerChatReplyMessage_CleanerActionType_CleanerActionType_ARRAYSIZE;
510
511 // accessors -------------------------------------------------------
512
513 // required uint32 requestId = 1;
514 inline bool has_requestid() const;
515 inline void clear_requestid();
516 static const int kRequestIdFieldNumber = 1;
517 inline ::google::protobuf::uint32 requestid() const;
518 inline void set_requestid(::google::protobuf::uint32 value);
519
520 // required .CleanerChatType cleanerChatType = 2;
521 inline bool has_cleanerchattype() const;
522 inline void clear_cleanerchattype();
523 static const int kCleanerChatTypeFieldNumber = 2;
524 inline ::CleanerChatType cleanerchattype() const;
525 inline void set_cleanerchattype(::CleanerChatType value);
526
527 // optional uint32 gameId = 3 [default = 0];
528 inline bool has_gameid() const;
529 inline void clear_gameid();
530 static const int kGameIdFieldNumber = 3;
531 inline ::google::protobuf::uint32 gameid() const;
532 inline void set_gameid(::google::protobuf::uint32 value);
533
534 // required uint32 playerId = 4;
535 inline bool has_playerid() const;
536 inline void clear_playerid();
537 static const int kPlayerIdFieldNumber = 4;
538 inline ::google::protobuf::uint32 playerid() const;
539 inline void set_playerid(::google::protobuf::uint32 value);
540
541 // required .CleanerChatReplyMessage.CleanerActionType cleanerActionType = 5;
542 inline bool has_cleaneractiontype() const;
543 inline void clear_cleaneractiontype();
544 static const int kCleanerActionTypeFieldNumber = 5;
545 inline ::CleanerChatReplyMessage_CleanerActionType cleaneractiontype() const;
546 inline void set_cleaneractiontype(::CleanerChatReplyMessage_CleanerActionType value);
547
548 // optional string cleanerText = 6 [default = ""];
549 inline bool has_cleanertext() const;
550 inline void clear_cleanertext();
551 static const int kCleanerTextFieldNumber = 6;
552 inline const ::std::string& cleanertext() const;
553 inline void set_cleanertext(const ::std::string& value);
554 inline void set_cleanertext(const char* value);
555 inline void set_cleanertext(const char* value, size_t size);
556 inline ::std::string* mutable_cleanertext();
557 inline ::std::string* release_cleanertext();
558 inline void set_allocated_cleanertext(::std::string* cleanertext);
559
560 // @@protoc_insertion_point(class_scope:CleanerChatReplyMessage)
561 private:
562 inline void set_has_requestid();
563 inline void clear_has_requestid();
564 inline void set_has_cleanerchattype();
565 inline void clear_has_cleanerchattype();
566 inline void set_has_gameid();
567 inline void clear_has_gameid();
568 inline void set_has_playerid();
569 inline void clear_has_playerid();
570 inline void set_has_cleaneractiontype();
571 inline void clear_has_cleaneractiontype();
572 inline void set_has_cleanertext();
573 inline void clear_has_cleanertext();
574
575 ::std::string _unknown_fields_;
576
577 ::google::protobuf::uint32 _has_bits_[1];
578 mutable int _cached_size_;
579 ::google::protobuf::uint32 requestid_;
580 int cleanerchattype_;
581 ::google::protobuf::uint32 gameid_;
582 ::google::protobuf::uint32 playerid_;
583 ::std::string* cleanertext_;
584 int cleaneractiontype_;
585 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
586 friend void protobuf_AddDesc_chatcleaner_2eproto_impl();
587 #else
588 friend void protobuf_AddDesc_chatcleaner_2eproto();
589 #endif
590 friend void protobuf_AssignDesc_chatcleaner_2eproto();
591 friend void protobuf_ShutdownFile_chatcleaner_2eproto();
592
593 void InitAsDefaultInstance();
594 static CleanerChatReplyMessage* default_instance_;
595 };
596 // -------------------------------------------------------------------
597
598 class ChatCleanerMessage : public ::google::protobuf::MessageLite {
599 public:
600 ChatCleanerMessage();
601 virtual ~ChatCleanerMessage();
602
603 ChatCleanerMessage(const ChatCleanerMessage& from);
604
605 inline ChatCleanerMessage& operator=(const ChatCleanerMessage& from) {
606 CopyFrom(from);
607 return *this;
608 }
609
unknown_fields()610 inline const ::std::string& unknown_fields() const {
611 return _unknown_fields_;
612 }
613
mutable_unknown_fields()614 inline ::std::string* mutable_unknown_fields() {
615 return &_unknown_fields_;
616 }
617
618 static const ChatCleanerMessage& default_instance();
619
620 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
621 // Returns the internal default instance pointer. This function can
622 // return NULL thus should not be used by the user. This is intended
623 // for Protobuf internal code. Please use default_instance() declared
624 // above instead.
internal_default_instance()625 static inline const ChatCleanerMessage* internal_default_instance() {
626 return default_instance_;
627 }
628 #endif
629
630 void Swap(ChatCleanerMessage* other);
631
632 // implements Message ----------------------------------------------
633
634 ChatCleanerMessage* New() const;
635 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
636 void CopyFrom(const ChatCleanerMessage& from);
637 void MergeFrom(const ChatCleanerMessage& from);
638 void Clear();
639 bool IsInitialized() const;
640
641 int ByteSize() const;
642 bool MergePartialFromCodedStream(
643 ::google::protobuf::io::CodedInputStream* input);
644 void SerializeWithCachedSizes(
645 ::google::protobuf::io::CodedOutputStream* output) const;
646 void DiscardUnknownFields();
GetCachedSize()647 int GetCachedSize() const { return _cached_size_; }
648 private:
649 void SharedCtor();
650 void SharedDtor();
651 void SetCachedSize(int size) const;
652 public:
653 ::std::string GetTypeName() const;
654
655 // nested types ----------------------------------------------------
656
657 typedef ChatCleanerMessage_ChatCleanerMessageType ChatCleanerMessageType;
658 static const ChatCleanerMessageType Type_CleanerInitMessage = ChatCleanerMessage_ChatCleanerMessageType_Type_CleanerInitMessage;
659 static const ChatCleanerMessageType Type_CleanerInitAckMessage = ChatCleanerMessage_ChatCleanerMessageType_Type_CleanerInitAckMessage;
660 static const ChatCleanerMessageType Type_CleanerChatRequestMessage = ChatCleanerMessage_ChatCleanerMessageType_Type_CleanerChatRequestMessage;
661 static const ChatCleanerMessageType Type_CleanerChatReplyMessage = ChatCleanerMessage_ChatCleanerMessageType_Type_CleanerChatReplyMessage;
ChatCleanerMessageType_IsValid(int value)662 static inline bool ChatCleanerMessageType_IsValid(int value) {
663 return ChatCleanerMessage_ChatCleanerMessageType_IsValid(value);
664 }
665 static const ChatCleanerMessageType ChatCleanerMessageType_MIN =
666 ChatCleanerMessage_ChatCleanerMessageType_ChatCleanerMessageType_MIN;
667 static const ChatCleanerMessageType ChatCleanerMessageType_MAX =
668 ChatCleanerMessage_ChatCleanerMessageType_ChatCleanerMessageType_MAX;
669 static const int ChatCleanerMessageType_ARRAYSIZE =
670 ChatCleanerMessage_ChatCleanerMessageType_ChatCleanerMessageType_ARRAYSIZE;
671
672 // accessors -------------------------------------------------------
673
674 // required .ChatCleanerMessage.ChatCleanerMessageType messageType = 1;
675 inline bool has_messagetype() const;
676 inline void clear_messagetype();
677 static const int kMessageTypeFieldNumber = 1;
678 inline ::ChatCleanerMessage_ChatCleanerMessageType messagetype() const;
679 inline void set_messagetype(::ChatCleanerMessage_ChatCleanerMessageType value);
680
681 // optional .CleanerInitMessage cleanerInitMessage = 2;
682 inline bool has_cleanerinitmessage() const;
683 inline void clear_cleanerinitmessage();
684 static const int kCleanerInitMessageFieldNumber = 2;
685 inline const ::CleanerInitMessage& cleanerinitmessage() const;
686 inline ::CleanerInitMessage* mutable_cleanerinitmessage();
687 inline ::CleanerInitMessage* release_cleanerinitmessage();
688 inline void set_allocated_cleanerinitmessage(::CleanerInitMessage* cleanerinitmessage);
689
690 // optional .CleanerInitAckMessage cleanerInitAckMessage = 3;
691 inline bool has_cleanerinitackmessage() const;
692 inline void clear_cleanerinitackmessage();
693 static const int kCleanerInitAckMessageFieldNumber = 3;
694 inline const ::CleanerInitAckMessage& cleanerinitackmessage() const;
695 inline ::CleanerInitAckMessage* mutable_cleanerinitackmessage();
696 inline ::CleanerInitAckMessage* release_cleanerinitackmessage();
697 inline void set_allocated_cleanerinitackmessage(::CleanerInitAckMessage* cleanerinitackmessage);
698
699 // optional .CleanerChatRequestMessage cleanerChatRequestMessage = 4;
700 inline bool has_cleanerchatrequestmessage() const;
701 inline void clear_cleanerchatrequestmessage();
702 static const int kCleanerChatRequestMessageFieldNumber = 4;
703 inline const ::CleanerChatRequestMessage& cleanerchatrequestmessage() const;
704 inline ::CleanerChatRequestMessage* mutable_cleanerchatrequestmessage();
705 inline ::CleanerChatRequestMessage* release_cleanerchatrequestmessage();
706 inline void set_allocated_cleanerchatrequestmessage(::CleanerChatRequestMessage* cleanerchatrequestmessage);
707
708 // optional .CleanerChatReplyMessage cleanerChatReplyMessage = 5;
709 inline bool has_cleanerchatreplymessage() const;
710 inline void clear_cleanerchatreplymessage();
711 static const int kCleanerChatReplyMessageFieldNumber = 5;
712 inline const ::CleanerChatReplyMessage& cleanerchatreplymessage() const;
713 inline ::CleanerChatReplyMessage* mutable_cleanerchatreplymessage();
714 inline ::CleanerChatReplyMessage* release_cleanerchatreplymessage();
715 inline void set_allocated_cleanerchatreplymessage(::CleanerChatReplyMessage* cleanerchatreplymessage);
716
717 // @@protoc_insertion_point(class_scope:ChatCleanerMessage)
718 private:
719 inline void set_has_messagetype();
720 inline void clear_has_messagetype();
721 inline void set_has_cleanerinitmessage();
722 inline void clear_has_cleanerinitmessage();
723 inline void set_has_cleanerinitackmessage();
724 inline void clear_has_cleanerinitackmessage();
725 inline void set_has_cleanerchatrequestmessage();
726 inline void clear_has_cleanerchatrequestmessage();
727 inline void set_has_cleanerchatreplymessage();
728 inline void clear_has_cleanerchatreplymessage();
729
730 ::std::string _unknown_fields_;
731
732 ::google::protobuf::uint32 _has_bits_[1];
733 mutable int _cached_size_;
734 ::CleanerInitMessage* cleanerinitmessage_;
735 ::CleanerInitAckMessage* cleanerinitackmessage_;
736 ::CleanerChatRequestMessage* cleanerchatrequestmessage_;
737 ::CleanerChatReplyMessage* cleanerchatreplymessage_;
738 int messagetype_;
739 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
740 friend void protobuf_AddDesc_chatcleaner_2eproto_impl();
741 #else
742 friend void protobuf_AddDesc_chatcleaner_2eproto();
743 #endif
744 friend void protobuf_AssignDesc_chatcleaner_2eproto();
745 friend void protobuf_ShutdownFile_chatcleaner_2eproto();
746
747 void InitAsDefaultInstance();
748 static ChatCleanerMessage* default_instance_;
749 };
750 // ===================================================================
751
752
753 // ===================================================================
754
755 // CleanerInitMessage
756
757 // required uint32 requestedVersion = 1;
has_requestedversion()758 inline bool CleanerInitMessage::has_requestedversion() const {
759 return (_has_bits_[0] & 0x00000001u) != 0;
760 }
set_has_requestedversion()761 inline void CleanerInitMessage::set_has_requestedversion() {
762 _has_bits_[0] |= 0x00000001u;
763 }
clear_has_requestedversion()764 inline void CleanerInitMessage::clear_has_requestedversion() {
765 _has_bits_[0] &= ~0x00000001u;
766 }
clear_requestedversion()767 inline void CleanerInitMessage::clear_requestedversion() {
768 requestedversion_ = 0u;
769 clear_has_requestedversion();
770 }
requestedversion()771 inline ::google::protobuf::uint32 CleanerInitMessage::requestedversion() const {
772 // @@protoc_insertion_point(field_get:CleanerInitMessage.requestedVersion)
773 return requestedversion_;
774 }
set_requestedversion(::google::protobuf::uint32 value)775 inline void CleanerInitMessage::set_requestedversion(::google::protobuf::uint32 value) {
776 set_has_requestedversion();
777 requestedversion_ = value;
778 // @@protoc_insertion_point(field_set:CleanerInitMessage.requestedVersion)
779 }
780
781 // required string clientSecret = 2;
has_clientsecret()782 inline bool CleanerInitMessage::has_clientsecret() const {
783 return (_has_bits_[0] & 0x00000002u) != 0;
784 }
set_has_clientsecret()785 inline void CleanerInitMessage::set_has_clientsecret() {
786 _has_bits_[0] |= 0x00000002u;
787 }
clear_has_clientsecret()788 inline void CleanerInitMessage::clear_has_clientsecret() {
789 _has_bits_[0] &= ~0x00000002u;
790 }
clear_clientsecret()791 inline void CleanerInitMessage::clear_clientsecret() {
792 if (clientsecret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
793 clientsecret_->clear();
794 }
795 clear_has_clientsecret();
796 }
clientsecret()797 inline const ::std::string& CleanerInitMessage::clientsecret() const {
798 // @@protoc_insertion_point(field_get:CleanerInitMessage.clientSecret)
799 return *clientsecret_;
800 }
set_clientsecret(const::std::string & value)801 inline void CleanerInitMessage::set_clientsecret(const ::std::string& value) {
802 set_has_clientsecret();
803 if (clientsecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
804 clientsecret_ = new ::std::string;
805 }
806 clientsecret_->assign(value);
807 // @@protoc_insertion_point(field_set:CleanerInitMessage.clientSecret)
808 }
set_clientsecret(const char * value)809 inline void CleanerInitMessage::set_clientsecret(const char* value) {
810 set_has_clientsecret();
811 if (clientsecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
812 clientsecret_ = new ::std::string;
813 }
814 clientsecret_->assign(value);
815 // @@protoc_insertion_point(field_set_char:CleanerInitMessage.clientSecret)
816 }
set_clientsecret(const char * value,size_t size)817 inline void CleanerInitMessage::set_clientsecret(const char* value, size_t size) {
818 set_has_clientsecret();
819 if (clientsecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
820 clientsecret_ = new ::std::string;
821 }
822 clientsecret_->assign(reinterpret_cast<const char*>(value), size);
823 // @@protoc_insertion_point(field_set_pointer:CleanerInitMessage.clientSecret)
824 }
mutable_clientsecret()825 inline ::std::string* CleanerInitMessage::mutable_clientsecret() {
826 set_has_clientsecret();
827 if (clientsecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
828 clientsecret_ = new ::std::string;
829 }
830 // @@protoc_insertion_point(field_mutable:CleanerInitMessage.clientSecret)
831 return clientsecret_;
832 }
release_clientsecret()833 inline ::std::string* CleanerInitMessage::release_clientsecret() {
834 clear_has_clientsecret();
835 if (clientsecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
836 return NULL;
837 } else {
838 ::std::string* temp = clientsecret_;
839 clientsecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
840 return temp;
841 }
842 }
set_allocated_clientsecret(::std::string * clientsecret)843 inline void CleanerInitMessage::set_allocated_clientsecret(::std::string* clientsecret) {
844 if (clientsecret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
845 delete clientsecret_;
846 }
847 if (clientsecret) {
848 set_has_clientsecret();
849 clientsecret_ = clientsecret;
850 } else {
851 clear_has_clientsecret();
852 clientsecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
853 }
854 // @@protoc_insertion_point(field_set_allocated:CleanerInitMessage.clientSecret)
855 }
856
857 // -------------------------------------------------------------------
858
859 // CleanerInitAckMessage
860
861 // required uint32 serverVersion = 1;
has_serverversion()862 inline bool CleanerInitAckMessage::has_serverversion() const {
863 return (_has_bits_[0] & 0x00000001u) != 0;
864 }
set_has_serverversion()865 inline void CleanerInitAckMessage::set_has_serverversion() {
866 _has_bits_[0] |= 0x00000001u;
867 }
clear_has_serverversion()868 inline void CleanerInitAckMessage::clear_has_serverversion() {
869 _has_bits_[0] &= ~0x00000001u;
870 }
clear_serverversion()871 inline void CleanerInitAckMessage::clear_serverversion() {
872 serverversion_ = 0u;
873 clear_has_serverversion();
874 }
serverversion()875 inline ::google::protobuf::uint32 CleanerInitAckMessage::serverversion() const {
876 // @@protoc_insertion_point(field_get:CleanerInitAckMessage.serverVersion)
877 return serverversion_;
878 }
set_serverversion(::google::protobuf::uint32 value)879 inline void CleanerInitAckMessage::set_serverversion(::google::protobuf::uint32 value) {
880 set_has_serverversion();
881 serverversion_ = value;
882 // @@protoc_insertion_point(field_set:CleanerInitAckMessage.serverVersion)
883 }
884
885 // required string serverSecret = 2;
has_serversecret()886 inline bool CleanerInitAckMessage::has_serversecret() const {
887 return (_has_bits_[0] & 0x00000002u) != 0;
888 }
set_has_serversecret()889 inline void CleanerInitAckMessage::set_has_serversecret() {
890 _has_bits_[0] |= 0x00000002u;
891 }
clear_has_serversecret()892 inline void CleanerInitAckMessage::clear_has_serversecret() {
893 _has_bits_[0] &= ~0x00000002u;
894 }
clear_serversecret()895 inline void CleanerInitAckMessage::clear_serversecret() {
896 if (serversecret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
897 serversecret_->clear();
898 }
899 clear_has_serversecret();
900 }
serversecret()901 inline const ::std::string& CleanerInitAckMessage::serversecret() const {
902 // @@protoc_insertion_point(field_get:CleanerInitAckMessage.serverSecret)
903 return *serversecret_;
904 }
set_serversecret(const::std::string & value)905 inline void CleanerInitAckMessage::set_serversecret(const ::std::string& value) {
906 set_has_serversecret();
907 if (serversecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
908 serversecret_ = new ::std::string;
909 }
910 serversecret_->assign(value);
911 // @@protoc_insertion_point(field_set:CleanerInitAckMessage.serverSecret)
912 }
set_serversecret(const char * value)913 inline void CleanerInitAckMessage::set_serversecret(const char* value) {
914 set_has_serversecret();
915 if (serversecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
916 serversecret_ = new ::std::string;
917 }
918 serversecret_->assign(value);
919 // @@protoc_insertion_point(field_set_char:CleanerInitAckMessage.serverSecret)
920 }
set_serversecret(const char * value,size_t size)921 inline void CleanerInitAckMessage::set_serversecret(const char* value, size_t size) {
922 set_has_serversecret();
923 if (serversecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
924 serversecret_ = new ::std::string;
925 }
926 serversecret_->assign(reinterpret_cast<const char*>(value), size);
927 // @@protoc_insertion_point(field_set_pointer:CleanerInitAckMessage.serverSecret)
928 }
mutable_serversecret()929 inline ::std::string* CleanerInitAckMessage::mutable_serversecret() {
930 set_has_serversecret();
931 if (serversecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
932 serversecret_ = new ::std::string;
933 }
934 // @@protoc_insertion_point(field_mutable:CleanerInitAckMessage.serverSecret)
935 return serversecret_;
936 }
release_serversecret()937 inline ::std::string* CleanerInitAckMessage::release_serversecret() {
938 clear_has_serversecret();
939 if (serversecret_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
940 return NULL;
941 } else {
942 ::std::string* temp = serversecret_;
943 serversecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
944 return temp;
945 }
946 }
set_allocated_serversecret(::std::string * serversecret)947 inline void CleanerInitAckMessage::set_allocated_serversecret(::std::string* serversecret) {
948 if (serversecret_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
949 delete serversecret_;
950 }
951 if (serversecret) {
952 set_has_serversecret();
953 serversecret_ = serversecret;
954 } else {
955 clear_has_serversecret();
956 serversecret_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
957 }
958 // @@protoc_insertion_point(field_set_allocated:CleanerInitAckMessage.serverSecret)
959 }
960
961 // -------------------------------------------------------------------
962
963 // CleanerChatRequestMessage
964
965 // required uint32 requestId = 1;
has_requestid()966 inline bool CleanerChatRequestMessage::has_requestid() const {
967 return (_has_bits_[0] & 0x00000001u) != 0;
968 }
set_has_requestid()969 inline void CleanerChatRequestMessage::set_has_requestid() {
970 _has_bits_[0] |= 0x00000001u;
971 }
clear_has_requestid()972 inline void CleanerChatRequestMessage::clear_has_requestid() {
973 _has_bits_[0] &= ~0x00000001u;
974 }
clear_requestid()975 inline void CleanerChatRequestMessage::clear_requestid() {
976 requestid_ = 0u;
977 clear_has_requestid();
978 }
requestid()979 inline ::google::protobuf::uint32 CleanerChatRequestMessage::requestid() const {
980 // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.requestId)
981 return requestid_;
982 }
set_requestid(::google::protobuf::uint32 value)983 inline void CleanerChatRequestMessage::set_requestid(::google::protobuf::uint32 value) {
984 set_has_requestid();
985 requestid_ = value;
986 // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.requestId)
987 }
988
989 // required .CleanerChatType cleanerChatType = 2;
has_cleanerchattype()990 inline bool CleanerChatRequestMessage::has_cleanerchattype() const {
991 return (_has_bits_[0] & 0x00000002u) != 0;
992 }
set_has_cleanerchattype()993 inline void CleanerChatRequestMessage::set_has_cleanerchattype() {
994 _has_bits_[0] |= 0x00000002u;
995 }
clear_has_cleanerchattype()996 inline void CleanerChatRequestMessage::clear_has_cleanerchattype() {
997 _has_bits_[0] &= ~0x00000002u;
998 }
clear_cleanerchattype()999 inline void CleanerChatRequestMessage::clear_cleanerchattype() {
1000 cleanerchattype_ = 0;
1001 clear_has_cleanerchattype();
1002 }
cleanerchattype()1003 inline ::CleanerChatType CleanerChatRequestMessage::cleanerchattype() const {
1004 // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.cleanerChatType)
1005 return static_cast< ::CleanerChatType >(cleanerchattype_);
1006 }
set_cleanerchattype(::CleanerChatType value)1007 inline void CleanerChatRequestMessage::set_cleanerchattype(::CleanerChatType value) {
1008 assert(::CleanerChatType_IsValid(value));
1009 set_has_cleanerchattype();
1010 cleanerchattype_ = value;
1011 // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.cleanerChatType)
1012 }
1013
1014 // optional uint32 gameId = 3 [default = 0];
has_gameid()1015 inline bool CleanerChatRequestMessage::has_gameid() const {
1016 return (_has_bits_[0] & 0x00000004u) != 0;
1017 }
set_has_gameid()1018 inline void CleanerChatRequestMessage::set_has_gameid() {
1019 _has_bits_[0] |= 0x00000004u;
1020 }
clear_has_gameid()1021 inline void CleanerChatRequestMessage::clear_has_gameid() {
1022 _has_bits_[0] &= ~0x00000004u;
1023 }
clear_gameid()1024 inline void CleanerChatRequestMessage::clear_gameid() {
1025 gameid_ = 0u;
1026 clear_has_gameid();
1027 }
gameid()1028 inline ::google::protobuf::uint32 CleanerChatRequestMessage::gameid() const {
1029 // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.gameId)
1030 return gameid_;
1031 }
set_gameid(::google::protobuf::uint32 value)1032 inline void CleanerChatRequestMessage::set_gameid(::google::protobuf::uint32 value) {
1033 set_has_gameid();
1034 gameid_ = value;
1035 // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.gameId)
1036 }
1037
1038 // required uint32 playerId = 4;
has_playerid()1039 inline bool CleanerChatRequestMessage::has_playerid() const {
1040 return (_has_bits_[0] & 0x00000008u) != 0;
1041 }
set_has_playerid()1042 inline void CleanerChatRequestMessage::set_has_playerid() {
1043 _has_bits_[0] |= 0x00000008u;
1044 }
clear_has_playerid()1045 inline void CleanerChatRequestMessage::clear_has_playerid() {
1046 _has_bits_[0] &= ~0x00000008u;
1047 }
clear_playerid()1048 inline void CleanerChatRequestMessage::clear_playerid() {
1049 playerid_ = 0u;
1050 clear_has_playerid();
1051 }
playerid()1052 inline ::google::protobuf::uint32 CleanerChatRequestMessage::playerid() const {
1053 // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.playerId)
1054 return playerid_;
1055 }
set_playerid(::google::protobuf::uint32 value)1056 inline void CleanerChatRequestMessage::set_playerid(::google::protobuf::uint32 value) {
1057 set_has_playerid();
1058 playerid_ = value;
1059 // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.playerId)
1060 }
1061
1062 // required string playerName = 5;
has_playername()1063 inline bool CleanerChatRequestMessage::has_playername() const {
1064 return (_has_bits_[0] & 0x00000010u) != 0;
1065 }
set_has_playername()1066 inline void CleanerChatRequestMessage::set_has_playername() {
1067 _has_bits_[0] |= 0x00000010u;
1068 }
clear_has_playername()1069 inline void CleanerChatRequestMessage::clear_has_playername() {
1070 _has_bits_[0] &= ~0x00000010u;
1071 }
clear_playername()1072 inline void CleanerChatRequestMessage::clear_playername() {
1073 if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1074 playername_->clear();
1075 }
1076 clear_has_playername();
1077 }
playername()1078 inline const ::std::string& CleanerChatRequestMessage::playername() const {
1079 // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.playerName)
1080 return *playername_;
1081 }
set_playername(const::std::string & value)1082 inline void CleanerChatRequestMessage::set_playername(const ::std::string& value) {
1083 set_has_playername();
1084 if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1085 playername_ = new ::std::string;
1086 }
1087 playername_->assign(value);
1088 // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.playerName)
1089 }
set_playername(const char * value)1090 inline void CleanerChatRequestMessage::set_playername(const char* value) {
1091 set_has_playername();
1092 if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1093 playername_ = new ::std::string;
1094 }
1095 playername_->assign(value);
1096 // @@protoc_insertion_point(field_set_char:CleanerChatRequestMessage.playerName)
1097 }
set_playername(const char * value,size_t size)1098 inline void CleanerChatRequestMessage::set_playername(const char* value, size_t size) {
1099 set_has_playername();
1100 if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1101 playername_ = new ::std::string;
1102 }
1103 playername_->assign(reinterpret_cast<const char*>(value), size);
1104 // @@protoc_insertion_point(field_set_pointer:CleanerChatRequestMessage.playerName)
1105 }
mutable_playername()1106 inline ::std::string* CleanerChatRequestMessage::mutable_playername() {
1107 set_has_playername();
1108 if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1109 playername_ = new ::std::string;
1110 }
1111 // @@protoc_insertion_point(field_mutable:CleanerChatRequestMessage.playerName)
1112 return playername_;
1113 }
release_playername()1114 inline ::std::string* CleanerChatRequestMessage::release_playername() {
1115 clear_has_playername();
1116 if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1117 return NULL;
1118 } else {
1119 ::std::string* temp = playername_;
1120 playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1121 return temp;
1122 }
1123 }
set_allocated_playername(::std::string * playername)1124 inline void CleanerChatRequestMessage::set_allocated_playername(::std::string* playername) {
1125 if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1126 delete playername_;
1127 }
1128 if (playername) {
1129 set_has_playername();
1130 playername_ = playername;
1131 } else {
1132 clear_has_playername();
1133 playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1134 }
1135 // @@protoc_insertion_point(field_set_allocated:CleanerChatRequestMessage.playerName)
1136 }
1137
1138 // required string chatMessage = 6;
has_chatmessage()1139 inline bool CleanerChatRequestMessage::has_chatmessage() const {
1140 return (_has_bits_[0] & 0x00000020u) != 0;
1141 }
set_has_chatmessage()1142 inline void CleanerChatRequestMessage::set_has_chatmessage() {
1143 _has_bits_[0] |= 0x00000020u;
1144 }
clear_has_chatmessage()1145 inline void CleanerChatRequestMessage::clear_has_chatmessage() {
1146 _has_bits_[0] &= ~0x00000020u;
1147 }
clear_chatmessage()1148 inline void CleanerChatRequestMessage::clear_chatmessage() {
1149 if (chatmessage_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1150 chatmessage_->clear();
1151 }
1152 clear_has_chatmessage();
1153 }
chatmessage()1154 inline const ::std::string& CleanerChatRequestMessage::chatmessage() const {
1155 // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.chatMessage)
1156 return *chatmessage_;
1157 }
set_chatmessage(const::std::string & value)1158 inline void CleanerChatRequestMessage::set_chatmessage(const ::std::string& value) {
1159 set_has_chatmessage();
1160 if (chatmessage_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1161 chatmessage_ = new ::std::string;
1162 }
1163 chatmessage_->assign(value);
1164 // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.chatMessage)
1165 }
set_chatmessage(const char * value)1166 inline void CleanerChatRequestMessage::set_chatmessage(const char* value) {
1167 set_has_chatmessage();
1168 if (chatmessage_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1169 chatmessage_ = new ::std::string;
1170 }
1171 chatmessage_->assign(value);
1172 // @@protoc_insertion_point(field_set_char:CleanerChatRequestMessage.chatMessage)
1173 }
set_chatmessage(const char * value,size_t size)1174 inline void CleanerChatRequestMessage::set_chatmessage(const char* value, size_t size) {
1175 set_has_chatmessage();
1176 if (chatmessage_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1177 chatmessage_ = new ::std::string;
1178 }
1179 chatmessage_->assign(reinterpret_cast<const char*>(value), size);
1180 // @@protoc_insertion_point(field_set_pointer:CleanerChatRequestMessage.chatMessage)
1181 }
mutable_chatmessage()1182 inline ::std::string* CleanerChatRequestMessage::mutable_chatmessage() {
1183 set_has_chatmessage();
1184 if (chatmessage_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1185 chatmessage_ = new ::std::string;
1186 }
1187 // @@protoc_insertion_point(field_mutable:CleanerChatRequestMessage.chatMessage)
1188 return chatmessage_;
1189 }
release_chatmessage()1190 inline ::std::string* CleanerChatRequestMessage::release_chatmessage() {
1191 clear_has_chatmessage();
1192 if (chatmessage_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1193 return NULL;
1194 } else {
1195 ::std::string* temp = chatmessage_;
1196 chatmessage_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1197 return temp;
1198 }
1199 }
set_allocated_chatmessage(::std::string * chatmessage)1200 inline void CleanerChatRequestMessage::set_allocated_chatmessage(::std::string* chatmessage) {
1201 if (chatmessage_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1202 delete chatmessage_;
1203 }
1204 if (chatmessage) {
1205 set_has_chatmessage();
1206 chatmessage_ = chatmessage;
1207 } else {
1208 clear_has_chatmessage();
1209 chatmessage_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1210 }
1211 // @@protoc_insertion_point(field_set_allocated:CleanerChatRequestMessage.chatMessage)
1212 }
1213
1214 // -------------------------------------------------------------------
1215
1216 // CleanerChatReplyMessage
1217
1218 // required uint32 requestId = 1;
has_requestid()1219 inline bool CleanerChatReplyMessage::has_requestid() const {
1220 return (_has_bits_[0] & 0x00000001u) != 0;
1221 }
set_has_requestid()1222 inline void CleanerChatReplyMessage::set_has_requestid() {
1223 _has_bits_[0] |= 0x00000001u;
1224 }
clear_has_requestid()1225 inline void CleanerChatReplyMessage::clear_has_requestid() {
1226 _has_bits_[0] &= ~0x00000001u;
1227 }
clear_requestid()1228 inline void CleanerChatReplyMessage::clear_requestid() {
1229 requestid_ = 0u;
1230 clear_has_requestid();
1231 }
requestid()1232 inline ::google::protobuf::uint32 CleanerChatReplyMessage::requestid() const {
1233 // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.requestId)
1234 return requestid_;
1235 }
set_requestid(::google::protobuf::uint32 value)1236 inline void CleanerChatReplyMessage::set_requestid(::google::protobuf::uint32 value) {
1237 set_has_requestid();
1238 requestid_ = value;
1239 // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.requestId)
1240 }
1241
1242 // required .CleanerChatType cleanerChatType = 2;
has_cleanerchattype()1243 inline bool CleanerChatReplyMessage::has_cleanerchattype() const {
1244 return (_has_bits_[0] & 0x00000002u) != 0;
1245 }
set_has_cleanerchattype()1246 inline void CleanerChatReplyMessage::set_has_cleanerchattype() {
1247 _has_bits_[0] |= 0x00000002u;
1248 }
clear_has_cleanerchattype()1249 inline void CleanerChatReplyMessage::clear_has_cleanerchattype() {
1250 _has_bits_[0] &= ~0x00000002u;
1251 }
clear_cleanerchattype()1252 inline void CleanerChatReplyMessage::clear_cleanerchattype() {
1253 cleanerchattype_ = 0;
1254 clear_has_cleanerchattype();
1255 }
cleanerchattype()1256 inline ::CleanerChatType CleanerChatReplyMessage::cleanerchattype() const {
1257 // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.cleanerChatType)
1258 return static_cast< ::CleanerChatType >(cleanerchattype_);
1259 }
set_cleanerchattype(::CleanerChatType value)1260 inline void CleanerChatReplyMessage::set_cleanerchattype(::CleanerChatType value) {
1261 assert(::CleanerChatType_IsValid(value));
1262 set_has_cleanerchattype();
1263 cleanerchattype_ = value;
1264 // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.cleanerChatType)
1265 }
1266
1267 // optional uint32 gameId = 3 [default = 0];
has_gameid()1268 inline bool CleanerChatReplyMessage::has_gameid() const {
1269 return (_has_bits_[0] & 0x00000004u) != 0;
1270 }
set_has_gameid()1271 inline void CleanerChatReplyMessage::set_has_gameid() {
1272 _has_bits_[0] |= 0x00000004u;
1273 }
clear_has_gameid()1274 inline void CleanerChatReplyMessage::clear_has_gameid() {
1275 _has_bits_[0] &= ~0x00000004u;
1276 }
clear_gameid()1277 inline void CleanerChatReplyMessage::clear_gameid() {
1278 gameid_ = 0u;
1279 clear_has_gameid();
1280 }
gameid()1281 inline ::google::protobuf::uint32 CleanerChatReplyMessage::gameid() const {
1282 // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.gameId)
1283 return gameid_;
1284 }
set_gameid(::google::protobuf::uint32 value)1285 inline void CleanerChatReplyMessage::set_gameid(::google::protobuf::uint32 value) {
1286 set_has_gameid();
1287 gameid_ = value;
1288 // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.gameId)
1289 }
1290
1291 // required uint32 playerId = 4;
has_playerid()1292 inline bool CleanerChatReplyMessage::has_playerid() const {
1293 return (_has_bits_[0] & 0x00000008u) != 0;
1294 }
set_has_playerid()1295 inline void CleanerChatReplyMessage::set_has_playerid() {
1296 _has_bits_[0] |= 0x00000008u;
1297 }
clear_has_playerid()1298 inline void CleanerChatReplyMessage::clear_has_playerid() {
1299 _has_bits_[0] &= ~0x00000008u;
1300 }
clear_playerid()1301 inline void CleanerChatReplyMessage::clear_playerid() {
1302 playerid_ = 0u;
1303 clear_has_playerid();
1304 }
playerid()1305 inline ::google::protobuf::uint32 CleanerChatReplyMessage::playerid() const {
1306 // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.playerId)
1307 return playerid_;
1308 }
set_playerid(::google::protobuf::uint32 value)1309 inline void CleanerChatReplyMessage::set_playerid(::google::protobuf::uint32 value) {
1310 set_has_playerid();
1311 playerid_ = value;
1312 // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.playerId)
1313 }
1314
1315 // required .CleanerChatReplyMessage.CleanerActionType cleanerActionType = 5;
has_cleaneractiontype()1316 inline bool CleanerChatReplyMessage::has_cleaneractiontype() const {
1317 return (_has_bits_[0] & 0x00000010u) != 0;
1318 }
set_has_cleaneractiontype()1319 inline void CleanerChatReplyMessage::set_has_cleaneractiontype() {
1320 _has_bits_[0] |= 0x00000010u;
1321 }
clear_has_cleaneractiontype()1322 inline void CleanerChatReplyMessage::clear_has_cleaneractiontype() {
1323 _has_bits_[0] &= ~0x00000010u;
1324 }
clear_cleaneractiontype()1325 inline void CleanerChatReplyMessage::clear_cleaneractiontype() {
1326 cleaneractiontype_ = 0;
1327 clear_has_cleaneractiontype();
1328 }
cleaneractiontype()1329 inline ::CleanerChatReplyMessage_CleanerActionType CleanerChatReplyMessage::cleaneractiontype() const {
1330 // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.cleanerActionType)
1331 return static_cast< ::CleanerChatReplyMessage_CleanerActionType >(cleaneractiontype_);
1332 }
set_cleaneractiontype(::CleanerChatReplyMessage_CleanerActionType value)1333 inline void CleanerChatReplyMessage::set_cleaneractiontype(::CleanerChatReplyMessage_CleanerActionType value) {
1334 assert(::CleanerChatReplyMessage_CleanerActionType_IsValid(value));
1335 set_has_cleaneractiontype();
1336 cleaneractiontype_ = value;
1337 // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.cleanerActionType)
1338 }
1339
1340 // optional string cleanerText = 6 [default = ""];
has_cleanertext()1341 inline bool CleanerChatReplyMessage::has_cleanertext() const {
1342 return (_has_bits_[0] & 0x00000020u) != 0;
1343 }
set_has_cleanertext()1344 inline void CleanerChatReplyMessage::set_has_cleanertext() {
1345 _has_bits_[0] |= 0x00000020u;
1346 }
clear_has_cleanertext()1347 inline void CleanerChatReplyMessage::clear_has_cleanertext() {
1348 _has_bits_[0] &= ~0x00000020u;
1349 }
clear_cleanertext()1350 inline void CleanerChatReplyMessage::clear_cleanertext() {
1351 if (cleanertext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1352 cleanertext_->clear();
1353 }
1354 clear_has_cleanertext();
1355 }
cleanertext()1356 inline const ::std::string& CleanerChatReplyMessage::cleanertext() const {
1357 // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.cleanerText)
1358 return *cleanertext_;
1359 }
set_cleanertext(const::std::string & value)1360 inline void CleanerChatReplyMessage::set_cleanertext(const ::std::string& value) {
1361 set_has_cleanertext();
1362 if (cleanertext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1363 cleanertext_ = new ::std::string;
1364 }
1365 cleanertext_->assign(value);
1366 // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.cleanerText)
1367 }
set_cleanertext(const char * value)1368 inline void CleanerChatReplyMessage::set_cleanertext(const char* value) {
1369 set_has_cleanertext();
1370 if (cleanertext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1371 cleanertext_ = new ::std::string;
1372 }
1373 cleanertext_->assign(value);
1374 // @@protoc_insertion_point(field_set_char:CleanerChatReplyMessage.cleanerText)
1375 }
set_cleanertext(const char * value,size_t size)1376 inline void CleanerChatReplyMessage::set_cleanertext(const char* value, size_t size) {
1377 set_has_cleanertext();
1378 if (cleanertext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1379 cleanertext_ = new ::std::string;
1380 }
1381 cleanertext_->assign(reinterpret_cast<const char*>(value), size);
1382 // @@protoc_insertion_point(field_set_pointer:CleanerChatReplyMessage.cleanerText)
1383 }
mutable_cleanertext()1384 inline ::std::string* CleanerChatReplyMessage::mutable_cleanertext() {
1385 set_has_cleanertext();
1386 if (cleanertext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1387 cleanertext_ = new ::std::string;
1388 }
1389 // @@protoc_insertion_point(field_mutable:CleanerChatReplyMessage.cleanerText)
1390 return cleanertext_;
1391 }
release_cleanertext()1392 inline ::std::string* CleanerChatReplyMessage::release_cleanertext() {
1393 clear_has_cleanertext();
1394 if (cleanertext_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1395 return NULL;
1396 } else {
1397 ::std::string* temp = cleanertext_;
1398 cleanertext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1399 return temp;
1400 }
1401 }
set_allocated_cleanertext(::std::string * cleanertext)1402 inline void CleanerChatReplyMessage::set_allocated_cleanertext(::std::string* cleanertext) {
1403 if (cleanertext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1404 delete cleanertext_;
1405 }
1406 if (cleanertext) {
1407 set_has_cleanertext();
1408 cleanertext_ = cleanertext;
1409 } else {
1410 clear_has_cleanertext();
1411 cleanertext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1412 }
1413 // @@protoc_insertion_point(field_set_allocated:CleanerChatReplyMessage.cleanerText)
1414 }
1415
1416 // -------------------------------------------------------------------
1417
1418 // ChatCleanerMessage
1419
1420 // required .ChatCleanerMessage.ChatCleanerMessageType messageType = 1;
has_messagetype()1421 inline bool ChatCleanerMessage::has_messagetype() const {
1422 return (_has_bits_[0] & 0x00000001u) != 0;
1423 }
set_has_messagetype()1424 inline void ChatCleanerMessage::set_has_messagetype() {
1425 _has_bits_[0] |= 0x00000001u;
1426 }
clear_has_messagetype()1427 inline void ChatCleanerMessage::clear_has_messagetype() {
1428 _has_bits_[0] &= ~0x00000001u;
1429 }
clear_messagetype()1430 inline void ChatCleanerMessage::clear_messagetype() {
1431 messagetype_ = 1;
1432 clear_has_messagetype();
1433 }
messagetype()1434 inline ::ChatCleanerMessage_ChatCleanerMessageType ChatCleanerMessage::messagetype() const {
1435 // @@protoc_insertion_point(field_get:ChatCleanerMessage.messageType)
1436 return static_cast< ::ChatCleanerMessage_ChatCleanerMessageType >(messagetype_);
1437 }
set_messagetype(::ChatCleanerMessage_ChatCleanerMessageType value)1438 inline void ChatCleanerMessage::set_messagetype(::ChatCleanerMessage_ChatCleanerMessageType value) {
1439 assert(::ChatCleanerMessage_ChatCleanerMessageType_IsValid(value));
1440 set_has_messagetype();
1441 messagetype_ = value;
1442 // @@protoc_insertion_point(field_set:ChatCleanerMessage.messageType)
1443 }
1444
1445 // optional .CleanerInitMessage cleanerInitMessage = 2;
has_cleanerinitmessage()1446 inline bool ChatCleanerMessage::has_cleanerinitmessage() const {
1447 return (_has_bits_[0] & 0x00000002u) != 0;
1448 }
set_has_cleanerinitmessage()1449 inline void ChatCleanerMessage::set_has_cleanerinitmessage() {
1450 _has_bits_[0] |= 0x00000002u;
1451 }
clear_has_cleanerinitmessage()1452 inline void ChatCleanerMessage::clear_has_cleanerinitmessage() {
1453 _has_bits_[0] &= ~0x00000002u;
1454 }
clear_cleanerinitmessage()1455 inline void ChatCleanerMessage::clear_cleanerinitmessage() {
1456 if (cleanerinitmessage_ != NULL) cleanerinitmessage_->::CleanerInitMessage::Clear();
1457 clear_has_cleanerinitmessage();
1458 }
cleanerinitmessage()1459 inline const ::CleanerInitMessage& ChatCleanerMessage::cleanerinitmessage() const {
1460 // @@protoc_insertion_point(field_get:ChatCleanerMessage.cleanerInitMessage)
1461 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1462 return cleanerinitmessage_ != NULL ? *cleanerinitmessage_ : *default_instance().cleanerinitmessage_;
1463 #else
1464 return cleanerinitmessage_ != NULL ? *cleanerinitmessage_ : *default_instance_->cleanerinitmessage_;
1465 #endif
1466 }
mutable_cleanerinitmessage()1467 inline ::CleanerInitMessage* ChatCleanerMessage::mutable_cleanerinitmessage() {
1468 set_has_cleanerinitmessage();
1469 if (cleanerinitmessage_ == NULL) cleanerinitmessage_ = new ::CleanerInitMessage;
1470 // @@protoc_insertion_point(field_mutable:ChatCleanerMessage.cleanerInitMessage)
1471 return cleanerinitmessage_;
1472 }
release_cleanerinitmessage()1473 inline ::CleanerInitMessage* ChatCleanerMessage::release_cleanerinitmessage() {
1474 clear_has_cleanerinitmessage();
1475 ::CleanerInitMessage* temp = cleanerinitmessage_;
1476 cleanerinitmessage_ = NULL;
1477 return temp;
1478 }
set_allocated_cleanerinitmessage(::CleanerInitMessage * cleanerinitmessage)1479 inline void ChatCleanerMessage::set_allocated_cleanerinitmessage(::CleanerInitMessage* cleanerinitmessage) {
1480 delete cleanerinitmessage_;
1481 cleanerinitmessage_ = cleanerinitmessage;
1482 if (cleanerinitmessage) {
1483 set_has_cleanerinitmessage();
1484 } else {
1485 clear_has_cleanerinitmessage();
1486 }
1487 // @@protoc_insertion_point(field_set_allocated:ChatCleanerMessage.cleanerInitMessage)
1488 }
1489
1490 // optional .CleanerInitAckMessage cleanerInitAckMessage = 3;
has_cleanerinitackmessage()1491 inline bool ChatCleanerMessage::has_cleanerinitackmessage() const {
1492 return (_has_bits_[0] & 0x00000004u) != 0;
1493 }
set_has_cleanerinitackmessage()1494 inline void ChatCleanerMessage::set_has_cleanerinitackmessage() {
1495 _has_bits_[0] |= 0x00000004u;
1496 }
clear_has_cleanerinitackmessage()1497 inline void ChatCleanerMessage::clear_has_cleanerinitackmessage() {
1498 _has_bits_[0] &= ~0x00000004u;
1499 }
clear_cleanerinitackmessage()1500 inline void ChatCleanerMessage::clear_cleanerinitackmessage() {
1501 if (cleanerinitackmessage_ != NULL) cleanerinitackmessage_->::CleanerInitAckMessage::Clear();
1502 clear_has_cleanerinitackmessage();
1503 }
cleanerinitackmessage()1504 inline const ::CleanerInitAckMessage& ChatCleanerMessage::cleanerinitackmessage() const {
1505 // @@protoc_insertion_point(field_get:ChatCleanerMessage.cleanerInitAckMessage)
1506 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1507 return cleanerinitackmessage_ != NULL ? *cleanerinitackmessage_ : *default_instance().cleanerinitackmessage_;
1508 #else
1509 return cleanerinitackmessage_ != NULL ? *cleanerinitackmessage_ : *default_instance_->cleanerinitackmessage_;
1510 #endif
1511 }
mutable_cleanerinitackmessage()1512 inline ::CleanerInitAckMessage* ChatCleanerMessage::mutable_cleanerinitackmessage() {
1513 set_has_cleanerinitackmessage();
1514 if (cleanerinitackmessage_ == NULL) cleanerinitackmessage_ = new ::CleanerInitAckMessage;
1515 // @@protoc_insertion_point(field_mutable:ChatCleanerMessage.cleanerInitAckMessage)
1516 return cleanerinitackmessage_;
1517 }
release_cleanerinitackmessage()1518 inline ::CleanerInitAckMessage* ChatCleanerMessage::release_cleanerinitackmessage() {
1519 clear_has_cleanerinitackmessage();
1520 ::CleanerInitAckMessage* temp = cleanerinitackmessage_;
1521 cleanerinitackmessage_ = NULL;
1522 return temp;
1523 }
set_allocated_cleanerinitackmessage(::CleanerInitAckMessage * cleanerinitackmessage)1524 inline void ChatCleanerMessage::set_allocated_cleanerinitackmessage(::CleanerInitAckMessage* cleanerinitackmessage) {
1525 delete cleanerinitackmessage_;
1526 cleanerinitackmessage_ = cleanerinitackmessage;
1527 if (cleanerinitackmessage) {
1528 set_has_cleanerinitackmessage();
1529 } else {
1530 clear_has_cleanerinitackmessage();
1531 }
1532 // @@protoc_insertion_point(field_set_allocated:ChatCleanerMessage.cleanerInitAckMessage)
1533 }
1534
1535 // optional .CleanerChatRequestMessage cleanerChatRequestMessage = 4;
has_cleanerchatrequestmessage()1536 inline bool ChatCleanerMessage::has_cleanerchatrequestmessage() const {
1537 return (_has_bits_[0] & 0x00000008u) != 0;
1538 }
set_has_cleanerchatrequestmessage()1539 inline void ChatCleanerMessage::set_has_cleanerchatrequestmessage() {
1540 _has_bits_[0] |= 0x00000008u;
1541 }
clear_has_cleanerchatrequestmessage()1542 inline void ChatCleanerMessage::clear_has_cleanerchatrequestmessage() {
1543 _has_bits_[0] &= ~0x00000008u;
1544 }
clear_cleanerchatrequestmessage()1545 inline void ChatCleanerMessage::clear_cleanerchatrequestmessage() {
1546 if (cleanerchatrequestmessage_ != NULL) cleanerchatrequestmessage_->::CleanerChatRequestMessage::Clear();
1547 clear_has_cleanerchatrequestmessage();
1548 }
cleanerchatrequestmessage()1549 inline const ::CleanerChatRequestMessage& ChatCleanerMessage::cleanerchatrequestmessage() const {
1550 // @@protoc_insertion_point(field_get:ChatCleanerMessage.cleanerChatRequestMessage)
1551 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1552 return cleanerchatrequestmessage_ != NULL ? *cleanerchatrequestmessage_ : *default_instance().cleanerchatrequestmessage_;
1553 #else
1554 return cleanerchatrequestmessage_ != NULL ? *cleanerchatrequestmessage_ : *default_instance_->cleanerchatrequestmessage_;
1555 #endif
1556 }
mutable_cleanerchatrequestmessage()1557 inline ::CleanerChatRequestMessage* ChatCleanerMessage::mutable_cleanerchatrequestmessage() {
1558 set_has_cleanerchatrequestmessage();
1559 if (cleanerchatrequestmessage_ == NULL) cleanerchatrequestmessage_ = new ::CleanerChatRequestMessage;
1560 // @@protoc_insertion_point(field_mutable:ChatCleanerMessage.cleanerChatRequestMessage)
1561 return cleanerchatrequestmessage_;
1562 }
release_cleanerchatrequestmessage()1563 inline ::CleanerChatRequestMessage* ChatCleanerMessage::release_cleanerchatrequestmessage() {
1564 clear_has_cleanerchatrequestmessage();
1565 ::CleanerChatRequestMessage* temp = cleanerchatrequestmessage_;
1566 cleanerchatrequestmessage_ = NULL;
1567 return temp;
1568 }
set_allocated_cleanerchatrequestmessage(::CleanerChatRequestMessage * cleanerchatrequestmessage)1569 inline void ChatCleanerMessage::set_allocated_cleanerchatrequestmessage(::CleanerChatRequestMessage* cleanerchatrequestmessage) {
1570 delete cleanerchatrequestmessage_;
1571 cleanerchatrequestmessage_ = cleanerchatrequestmessage;
1572 if (cleanerchatrequestmessage) {
1573 set_has_cleanerchatrequestmessage();
1574 } else {
1575 clear_has_cleanerchatrequestmessage();
1576 }
1577 // @@protoc_insertion_point(field_set_allocated:ChatCleanerMessage.cleanerChatRequestMessage)
1578 }
1579
1580 // optional .CleanerChatReplyMessage cleanerChatReplyMessage = 5;
has_cleanerchatreplymessage()1581 inline bool ChatCleanerMessage::has_cleanerchatreplymessage() const {
1582 return (_has_bits_[0] & 0x00000010u) != 0;
1583 }
set_has_cleanerchatreplymessage()1584 inline void ChatCleanerMessage::set_has_cleanerchatreplymessage() {
1585 _has_bits_[0] |= 0x00000010u;
1586 }
clear_has_cleanerchatreplymessage()1587 inline void ChatCleanerMessage::clear_has_cleanerchatreplymessage() {
1588 _has_bits_[0] &= ~0x00000010u;
1589 }
clear_cleanerchatreplymessage()1590 inline void ChatCleanerMessage::clear_cleanerchatreplymessage() {
1591 if (cleanerchatreplymessage_ != NULL) cleanerchatreplymessage_->::CleanerChatReplyMessage::Clear();
1592 clear_has_cleanerchatreplymessage();
1593 }
cleanerchatreplymessage()1594 inline const ::CleanerChatReplyMessage& ChatCleanerMessage::cleanerchatreplymessage() const {
1595 // @@protoc_insertion_point(field_get:ChatCleanerMessage.cleanerChatReplyMessage)
1596 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1597 return cleanerchatreplymessage_ != NULL ? *cleanerchatreplymessage_ : *default_instance().cleanerchatreplymessage_;
1598 #else
1599 return cleanerchatreplymessage_ != NULL ? *cleanerchatreplymessage_ : *default_instance_->cleanerchatreplymessage_;
1600 #endif
1601 }
mutable_cleanerchatreplymessage()1602 inline ::CleanerChatReplyMessage* ChatCleanerMessage::mutable_cleanerchatreplymessage() {
1603 set_has_cleanerchatreplymessage();
1604 if (cleanerchatreplymessage_ == NULL) cleanerchatreplymessage_ = new ::CleanerChatReplyMessage;
1605 // @@protoc_insertion_point(field_mutable:ChatCleanerMessage.cleanerChatReplyMessage)
1606 return cleanerchatreplymessage_;
1607 }
release_cleanerchatreplymessage()1608 inline ::CleanerChatReplyMessage* ChatCleanerMessage::release_cleanerchatreplymessage() {
1609 clear_has_cleanerchatreplymessage();
1610 ::CleanerChatReplyMessage* temp = cleanerchatreplymessage_;
1611 cleanerchatreplymessage_ = NULL;
1612 return temp;
1613 }
set_allocated_cleanerchatreplymessage(::CleanerChatReplyMessage * cleanerchatreplymessage)1614 inline void ChatCleanerMessage::set_allocated_cleanerchatreplymessage(::CleanerChatReplyMessage* cleanerchatreplymessage) {
1615 delete cleanerchatreplymessage_;
1616 cleanerchatreplymessage_ = cleanerchatreplymessage;
1617 if (cleanerchatreplymessage) {
1618 set_has_cleanerchatreplymessage();
1619 } else {
1620 clear_has_cleanerchatreplymessage();
1621 }
1622 // @@protoc_insertion_point(field_set_allocated:ChatCleanerMessage.cleanerChatReplyMessage)
1623 }
1624
1625
1626 // @@protoc_insertion_point(namespace_scope)
1627
1628 // @@protoc_insertion_point(global_scope)
1629
1630 #endif // PROTOBUF_chatcleaner_2eproto__INCLUDED
1631