TrinityCore
report_types.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: report_types.proto
3
4#ifndef PROTOBUF_report_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_report_5ftypes_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.h>
24#include <google/protobuf/repeated_field.h>
25#include <google/protobuf/extension_set.h>
26#include <google/protobuf/generated_enum_reflection.h>
27#include <google/protobuf/unknown_field_set.h>
28#include "account_types.pb.h"
29#include "attribute_types.pb.h"
30#include "entity_types.pb.h"
31#include "rpc_types.pb.h"
32#include "Define.h" // for TC_PROTO_API
33// @@protoc_insertion_point(includes)
34
35namespace bgs {
36namespace protocol {
37namespace report {
38namespace v1 {
39
40// Internal implementation detail -- do not call these.
44
45class ReportType;
46class CustomReport;
47class SpamReport;
51class HackingReport;
52class BottingReport;
53class Report;
54
60};
65
66TC_PROTO_API const ::google::protobuf::EnumDescriptor* SpamReport_SpamSource_descriptor();
67inline const ::std::string& SpamReport_SpamSource_Name(SpamReport_SpamSource value) {
68 return ::google::protobuf::internal::NameOfEnum(
70}
72 const ::std::string& name, SpamReport_SpamSource* value) {
73 return ::google::protobuf::internal::ParseNamedEnum<SpamReport_SpamSource>(
75}
76// ===================================================================
77
78class TC_PROTO_API ReportType : public ::google::protobuf::Message {
79 public:
81 virtual ~ReportType();
82
83 ReportType(const ReportType& from);
84
85 inline ReportType& operator=(const ReportType& from) {
86 CopyFrom(from);
87 return *this;
88 }
89
90 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
91 return _unknown_fields_;
92 }
93
94 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
95 return &_unknown_fields_;
96 }
97
98 static const ::google::protobuf::Descriptor* descriptor();
100
101 enum TypeCase {
102 kCustomReport = 10,
103 kSpamReport = 11,
104 kHarassmentReport = 12,
105 kRealLifeThreatReport = 13,
106 kInappropriateBattleTagReport = 14,
107 kHackingReport = 15,
108 kBottingReport = 16,
109 TYPE_NOT_SET = 0,
110 };
111
112 void Swap(ReportType* other);
113
114 // implements Message ----------------------------------------------
115
116 ReportType* New() const;
117 int GetCachedSize() const { return _cached_size_; }
118 private:
121 void SetCachedSize(int size) const;
122 public:
123 ::google::protobuf::Metadata GetMetadata() const;
124
125 // nested types ----------------------------------------------------
126
127 // accessors -------------------------------------------------------
128
129 // optional string user_description = 1;
130 inline bool has_user_description() const;
132 static const int kUserDescriptionFieldNumber = 1;
133 inline const ::std::string& user_description() const;
134 inline void set_user_description(const ::std::string& value);
135 inline void set_user_description(const char* value);
136 inline void set_user_description(const char* value, size_t size);
137 inline ::std::string* mutable_user_description();
138 inline ::std::string* release_user_description();
139 inline void set_allocated_user_description(::std::string* user_description);
140
141 // optional .bgs.protocol.report.v1.CustomReport custom_report = 10;
142 inline bool has_custom_report() const;
143 inline void clear_custom_report();
144 static const int kCustomReportFieldNumber = 10;
145 inline const ::bgs::protocol::report::v1::CustomReport& custom_report() const;
146 inline ::bgs::protocol::report::v1::CustomReport* mutable_custom_report();
147 inline ::bgs::protocol::report::v1::CustomReport* release_custom_report();
149
150 // optional .bgs.protocol.report.v1.SpamReport spam_report = 11;
151 inline bool has_spam_report() const;
152 inline void clear_spam_report();
153 static const int kSpamReportFieldNumber = 11;
154 inline const ::bgs::protocol::report::v1::SpamReport& spam_report() const;
155 inline ::bgs::protocol::report::v1::SpamReport* mutable_spam_report();
156 inline ::bgs::protocol::report::v1::SpamReport* release_spam_report();
158
159 // optional .bgs.protocol.report.v1.HarassmentReport harassment_report = 12;
160 inline bool has_harassment_report() const;
162 static const int kHarassmentReportFieldNumber = 12;
163 inline const ::bgs::protocol::report::v1::HarassmentReport& harassment_report() const;
164 inline ::bgs::protocol::report::v1::HarassmentReport* mutable_harassment_report();
165 inline ::bgs::protocol::report::v1::HarassmentReport* release_harassment_report();
167
168 // optional .bgs.protocol.report.v1.RealLifeThreatReport real_life_threat_report = 13;
169 inline bool has_real_life_threat_report() const;
171 static const int kRealLifeThreatReportFieldNumber = 13;
172 inline const ::bgs::protocol::report::v1::RealLifeThreatReport& real_life_threat_report() const;
173 inline ::bgs::protocol::report::v1::RealLifeThreatReport* mutable_real_life_threat_report();
174 inline ::bgs::protocol::report::v1::RealLifeThreatReport* release_real_life_threat_report();
176
177 // optional .bgs.protocol.report.v1.InappropriateBattleTagReport inappropriate_battle_tag_report = 14;
180 static const int kInappropriateBattleTagReportFieldNumber = 14;
181 inline const ::bgs::protocol::report::v1::InappropriateBattleTagReport& inappropriate_battle_tag_report() const;
182 inline ::bgs::protocol::report::v1::InappropriateBattleTagReport* mutable_inappropriate_battle_tag_report();
183 inline ::bgs::protocol::report::v1::InappropriateBattleTagReport* release_inappropriate_battle_tag_report();
185
186 // optional .bgs.protocol.report.v1.HackingReport hacking_report = 15;
187 inline bool has_hacking_report() const;
188 inline void clear_hacking_report();
189 static const int kHackingReportFieldNumber = 15;
190 inline const ::bgs::protocol::report::v1::HackingReport& hacking_report() const;
191 inline ::bgs::protocol::report::v1::HackingReport* mutable_hacking_report();
192 inline ::bgs::protocol::report::v1::HackingReport* release_hacking_report();
194
195 // optional .bgs.protocol.report.v1.BottingReport botting_report = 16;
196 inline bool has_botting_report() const;
197 inline void clear_botting_report();
198 static const int kBottingReportFieldNumber = 16;
199 inline const ::bgs::protocol::report::v1::BottingReport& botting_report() const;
200 inline ::bgs::protocol::report::v1::BottingReport* mutable_botting_report();
201 inline ::bgs::protocol::report::v1::BottingReport* release_botting_report();
203
204 inline TypeCase type_case() const;
205 // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.ReportType)
206 private:
210 inline void set_has_spam_report();
216
217 inline bool has_type();
219 inline void clear_has_type();
220
221 ::google::protobuf::UnknownFieldSet _unknown_fields_;
222
224 mutable int _cached_size_;
225 ::std::string* user_description_;
226 union TypeUnion {
234 } type_;
236
240
243};
244// -------------------------------------------------------------------
245
246class TC_PROTO_API CustomReport : public ::google::protobuf::Message {
247 public:
249 virtual ~CustomReport();
250
252
253 inline CustomReport& operator=(const CustomReport& from) {
254 CopyFrom(from);
255 return *this;
256 }
257
258 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
259 return _unknown_fields_;
260 }
261
262 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
263 return &_unknown_fields_;
264 }
265
266 static const ::google::protobuf::Descriptor* descriptor();
268
269 void Swap(CustomReport* other);
270
271 // implements Message ----------------------------------------------
272
274 int GetCachedSize() const { return _cached_size_; }
275 private:
278 void SetCachedSize(int size) const;
279 public:
280 ::google::protobuf::Metadata GetMetadata() const;
281
282 // nested types ----------------------------------------------------
283
284 // accessors -------------------------------------------------------
285
286 // optional string type = 1;
287 inline bool has_type() const;
288 inline void clear_type();
289 static const int kTypeFieldNumber = 1;
290 inline const ::std::string& type() const;
291 inline void set_type(const ::std::string& value);
292 inline void set_type(const char* value);
293 inline void set_type(const char* value, size_t size);
294 inline ::std::string* mutable_type();
295 inline ::std::string* release_type();
296 inline void set_allocated_type(::std::string* type);
297
298 // optional string program_id = 2 [deprecated = true];
299 inline bool has_program_id() const PROTOBUF_DEPRECATED;
300 inline void clear_program_id() PROTOBUF_DEPRECATED;
301 static const int kProgramIdFieldNumber = 2;
302 inline const ::std::string& program_id() const PROTOBUF_DEPRECATED;
303 inline void set_program_id(const ::std::string& value) PROTOBUF_DEPRECATED;
304 inline void set_program_id(const char* value) PROTOBUF_DEPRECATED;
305 inline void set_program_id(const char* value, size_t size) PROTOBUF_DEPRECATED;
306 inline ::std::string* mutable_program_id() PROTOBUF_DEPRECATED;
307 inline ::std::string* release_program_id() PROTOBUF_DEPRECATED;
308 inline void set_allocated_program_id(::std::string* program_id) PROTOBUF_DEPRECATED;
309
310 // repeated .bgs.protocol.Attribute attribute = 3;
311 inline int attribute_size() const;
312 inline void clear_attribute();
313 static const int kAttributeFieldNumber = 3;
314 inline const ::bgs::protocol::Attribute& attribute(int index) const;
315 inline ::bgs::protocol::Attribute* mutable_attribute(int index);
316 inline ::bgs::protocol::Attribute* add_attribute();
317 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
318 attribute() const;
319 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
320 mutable_attribute();
321
322 // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.CustomReport)
323 private:
324 inline void set_has_type();
325 inline void clear_has_type();
326 inline void set_has_program_id();
327 inline void clear_has_program_id();
328
329 ::google::protobuf::UnknownFieldSet _unknown_fields_;
330
331 ::google::protobuf::uint32 _has_bits_[1];
332 mutable int _cached_size_;
333 ::std::string* type_;
334 ::std::string* program_id_;
335 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_;
339
340 void InitAsDefaultInstance();
341 static CustomReport* default_instance_;
342};
343// -------------------------------------------------------------------
344
345class TC_PROTO_API SpamReport : public ::google::protobuf::Message {
346 public:
348 virtual ~SpamReport();
349
350 SpamReport(const SpamReport& from);
351
352 inline SpamReport& operator=(const SpamReport& from) {
353 CopyFrom(from);
354 return *this;
355 }
356
357 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
358 return _unknown_fields_;
359 }
360
361 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
362 return &_unknown_fields_;
363 }
364
365 static const ::google::protobuf::Descriptor* descriptor();
367
368 void Swap(SpamReport* other);
369
370 // implements Message ----------------------------------------------
371
372 SpamReport* New() const;
373 int GetCachedSize() const { return _cached_size_; }
374 private:
377 void SetCachedSize(int size) const;
378 public:
379 ::google::protobuf::Metadata GetMetadata() const;
380
381 // nested types ----------------------------------------------------
382
385 static const SpamSource FRIEND_INVITATION = SpamReport_SpamSource_FRIEND_INVITATION;
388 static inline bool SpamSource_IsValid(int value) {
389 return SpamReport_SpamSource_IsValid(value);
390 }
391 static const SpamSource SpamSource_MIN =
393 static const SpamSource SpamSource_MAX =
395 static const int SpamSource_ARRAYSIZE =
397 static inline const ::google::protobuf::EnumDescriptor*
400 }
401 static inline const ::std::string& SpamSource_Name(SpamSource value) {
402 return SpamReport_SpamSource_Name(value);
403 }
404 static inline bool SpamSource_Parse(const ::std::string& name,
405 SpamSource* value) {
406 return SpamReport_SpamSource_Parse(name, value);
407 }
408
409 // accessors -------------------------------------------------------
410
411 // optional .bgs.protocol.account.v1.GameAccountHandle target = 1;
412 inline bool has_target() const;
413 inline void clear_target();
414 static const int kTargetFieldNumber = 1;
415 inline const ::bgs::protocol::account::v1::GameAccountHandle& target() const;
416 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_target();
417 inline ::bgs::protocol::account::v1::GameAccountHandle* release_target();
418 inline void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target);
419
420 // optional .bgs.protocol.report.v1.SpamReport.SpamSource source = 2 [default = OTHER];
421 inline bool has_source() const;
422 inline void clear_source();
423 static const int kSourceFieldNumber = 2;
425 inline void set_source(::bgs::protocol::report::v1::SpamReport_SpamSource value);
426
427 // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.SpamReport)
428 private:
429 inline void set_has_target();
430 inline void clear_has_target();
431 inline void set_has_source();
432 inline void clear_has_source();
433
434 ::google::protobuf::UnknownFieldSet _unknown_fields_;
435
437 mutable int _cached_size_;
443
446};
447// -------------------------------------------------------------------
448
449class TC_PROTO_API HarassmentReport : public ::google::protobuf::Message {
450 public:
453
455
457 CopyFrom(from);
458 return *this;
459 }
460
461 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
462 return _unknown_fields_;
463 }
464
465 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
466 return &_unknown_fields_;
467 }
468
469 static const ::google::protobuf::Descriptor* descriptor();
471
472 void Swap(HarassmentReport* other);
473
474 // implements Message ----------------------------------------------
475
477 int GetCachedSize() const { return _cached_size_; }
478 private:
481 void SetCachedSize(int size) const;
482 public:
483 ::google::protobuf::Metadata GetMetadata() const;
484
485 // nested types ----------------------------------------------------
486
487 // accessors -------------------------------------------------------
488
489 // optional .bgs.protocol.account.v1.GameAccountHandle target = 1;
490 inline bool has_target() const;
491 inline void clear_target();
492 static const int kTargetFieldNumber = 1;
493 inline const ::bgs::protocol::account::v1::GameAccountHandle& target() const;
494 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_target();
495 inline ::bgs::protocol::account::v1::GameAccountHandle* release_target();
496 inline void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target);
497
498 // optional string text = 2;
499 inline bool has_text() const;
500 inline void clear_text();
501 static const int kTextFieldNumber = 2;
502 inline const ::std::string& text() const;
503 inline void set_text(const ::std::string& value);
504 inline void set_text(const char* value);
505 inline void set_text(const char* value, size_t size);
506 inline ::std::string* mutable_text();
507 inline ::std::string* release_text();
508 inline void set_allocated_text(::std::string* text);
509
510 // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.HarassmentReport)
511 private:
512 inline void set_has_target();
513 inline void clear_has_target();
514 inline void set_has_text();
515 inline void clear_has_text();
516
517 ::google::protobuf::UnknownFieldSet _unknown_fields_;
518
520 mutable int _cached_size_;
522 ::std::string* text_;
526
529};
530// -------------------------------------------------------------------
531
532class TC_PROTO_API RealLifeThreatReport : public ::google::protobuf::Message {
533 public:
536
538
540 CopyFrom(from);
541 return *this;
542 }
543
544 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
545 return _unknown_fields_;
546 }
547
548 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
549 return &_unknown_fields_;
550 }
551
552 static const ::google::protobuf::Descriptor* descriptor();
554
556
557 // implements Message ----------------------------------------------
558
560 int GetCachedSize() const { return _cached_size_; }
561 private:
564 void SetCachedSize(int size) const;
565 public:
566 ::google::protobuf::Metadata GetMetadata() const;
567
568 // nested types ----------------------------------------------------
569
570 // accessors -------------------------------------------------------
571
572 // optional .bgs.protocol.account.v1.GameAccountHandle target = 1;
573 inline bool has_target() const;
574 inline void clear_target();
575 static const int kTargetFieldNumber = 1;
576 inline const ::bgs::protocol::account::v1::GameAccountHandle& target() const;
577 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_target();
578 inline ::bgs::protocol::account::v1::GameAccountHandle* release_target();
579 inline void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target);
580
581 // optional string text = 2;
582 inline bool has_text() const;
583 inline void clear_text();
584 static const int kTextFieldNumber = 2;
585 inline const ::std::string& text() const;
586 inline void set_text(const ::std::string& value);
587 inline void set_text(const char* value);
588 inline void set_text(const char* value, size_t size);
589 inline ::std::string* mutable_text();
590 inline ::std::string* release_text();
591 inline void set_allocated_text(::std::string* text);
592
593 // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.RealLifeThreatReport)
594 private:
595 inline void set_has_target();
596 inline void clear_has_target();
597 inline void set_has_text();
598 inline void clear_has_text();
599
600 ::google::protobuf::UnknownFieldSet _unknown_fields_;
601
603 mutable int _cached_size_;
605 ::std::string* text_;
609
612};
613// -------------------------------------------------------------------
614
615class TC_PROTO_API InappropriateBattleTagReport : public ::google::protobuf::Message {
616 public:
619
621
623 CopyFrom(from);
624 return *this;
625 }
626
627 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
628 return _unknown_fields_;
629 }
630
631 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
632 return &_unknown_fields_;
633 }
634
635 static const ::google::protobuf::Descriptor* descriptor();
637
639
640 // implements Message ----------------------------------------------
641
643 int GetCachedSize() const { return _cached_size_; }
644 private:
647 void SetCachedSize(int size) const;
648 public:
649 ::google::protobuf::Metadata GetMetadata() const;
650
651 // nested types ----------------------------------------------------
652
653 // accessors -------------------------------------------------------
654
655 // optional .bgs.protocol.account.v1.GameAccountHandle target = 1;
656 inline bool has_target() const;
657 inline void clear_target();
658 static const int kTargetFieldNumber = 1;
659 inline const ::bgs::protocol::account::v1::GameAccountHandle& target() const;
660 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_target();
661 inline ::bgs::protocol::account::v1::GameAccountHandle* release_target();
662 inline void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target);
663
664 // optional string battle_tag = 2;
665 inline bool has_battle_tag() const;
666 inline void clear_battle_tag();
667 static const int kBattleTagFieldNumber = 2;
668 inline const ::std::string& battle_tag() const;
669 inline void set_battle_tag(const ::std::string& value);
670 inline void set_battle_tag(const char* value);
671 inline void set_battle_tag(const char* value, size_t size);
672 inline ::std::string* mutable_battle_tag();
673 inline ::std::string* release_battle_tag();
674 inline void set_allocated_battle_tag(::std::string* battle_tag);
675
676 // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.InappropriateBattleTagReport)
677 private:
678 inline void set_has_target();
679 inline void clear_has_target();
680 inline void set_has_battle_tag();
681 inline void clear_has_battle_tag();
682
683 ::google::protobuf::UnknownFieldSet _unknown_fields_;
684
686 mutable int _cached_size_;
688 ::std::string* battle_tag_;
692
695};
696// -------------------------------------------------------------------
697
698class TC_PROTO_API HackingReport : public ::google::protobuf::Message {
699 public:
701 virtual ~HackingReport();
702
704
705 inline HackingReport& operator=(const HackingReport& from) {
706 CopyFrom(from);
707 return *this;
708 }
709
710 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
711 return _unknown_fields_;
712 }
713
714 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
715 return &_unknown_fields_;
716 }
717
718 static const ::google::protobuf::Descriptor* descriptor();
720
721 void Swap(HackingReport* other);
722
723 // implements Message ----------------------------------------------
724
726 int GetCachedSize() const { return _cached_size_; }
727 private:
730 void SetCachedSize(int size) const;
731 public:
732 ::google::protobuf::Metadata GetMetadata() const;
733
734 // nested types ----------------------------------------------------
735
736 // accessors -------------------------------------------------------
737
738 // optional .bgs.protocol.account.v1.GameAccountHandle target = 1;
739 inline bool has_target() const;
740 inline void clear_target();
741 static const int kTargetFieldNumber = 1;
742 inline const ::bgs::protocol::account::v1::GameAccountHandle& target() const;
743 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_target();
744 inline ::bgs::protocol::account::v1::GameAccountHandle* release_target();
745 inline void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target);
746
747 // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.HackingReport)
748 private:
749 inline void set_has_target();
750 inline void clear_has_target();
751
752 ::google::protobuf::UnknownFieldSet _unknown_fields_;
753
755 mutable int _cached_size_;
760
763};
764// -------------------------------------------------------------------
765
766class TC_PROTO_API BottingReport : public ::google::protobuf::Message {
767 public:
769 virtual ~BottingReport();
770
772
773 inline BottingReport& operator=(const BottingReport& from) {
774 CopyFrom(from);
775 return *this;
776 }
777
778 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
779 return _unknown_fields_;
780 }
781
782 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
783 return &_unknown_fields_;
784 }
785
786 static const ::google::protobuf::Descriptor* descriptor();
788
789 void Swap(BottingReport* other);
790
791 // implements Message ----------------------------------------------
792
794 int GetCachedSize() const { return _cached_size_; }
795 private:
798 void SetCachedSize(int size) const;
799 public:
800 ::google::protobuf::Metadata GetMetadata() const;
801
802 // nested types ----------------------------------------------------
803
804 // accessors -------------------------------------------------------
805
806 // optional .bgs.protocol.account.v1.GameAccountHandle target = 1;
807 inline bool has_target() const;
808 inline void clear_target();
809 static const int kTargetFieldNumber = 1;
810 inline const ::bgs::protocol::account::v1::GameAccountHandle& target() const;
811 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_target();
812 inline ::bgs::protocol::account::v1::GameAccountHandle* release_target();
813 inline void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle* target);
814
815 // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.BottingReport)
816 private:
817 inline void set_has_target();
818 inline void clear_has_target();
819
820 ::google::protobuf::UnknownFieldSet _unknown_fields_;
821
823 mutable int _cached_size_;
828
831};
832// -------------------------------------------------------------------
833
834class TC_PROTO_API Report : public ::google::protobuf::Message {
835 public:
837 virtual ~Report();
838
839 Report(const Report& from);
840
841 inline Report& operator=(const Report& from) {
842 CopyFrom(from);
843 return *this;
844 }
845
846 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
847 return _unknown_fields_;
848 }
849
850 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
851 return &_unknown_fields_;
852 }
853
854 static const ::google::protobuf::Descriptor* descriptor();
855 static const Report& default_instance();
856
857 void Swap(Report* other);
858
859 // implements Message ----------------------------------------------
860
861 Report* New() const;
862 int GetCachedSize() const { return _cached_size_; }
863 private:
866 void SetCachedSize(int size) const;
867 public:
868 ::google::protobuf::Metadata GetMetadata() const;
869
870 // nested types ----------------------------------------------------
871
872 // accessors -------------------------------------------------------
873
874 // required string report_type = 1;
875 inline bool has_report_type() const;
876 inline void clear_report_type();
877 static const int kReportTypeFieldNumber = 1;
878 inline const ::std::string& report_type() const;
879 inline void set_report_type(const ::std::string& value);
880 inline void set_report_type(const char* value);
881 inline void set_report_type(const char* value, size_t size);
882 inline ::std::string* mutable_report_type();
883 inline ::std::string* release_report_type();
884 inline void set_allocated_report_type(::std::string* report_type);
885
886 // repeated .bgs.protocol.Attribute attribute = 2;
887 inline int attribute_size() const;
888 inline void clear_attribute();
889 static const int kAttributeFieldNumber = 2;
890 inline const ::bgs::protocol::Attribute& attribute(int index) const;
891 inline ::bgs::protocol::Attribute* mutable_attribute(int index);
892 inline ::bgs::protocol::Attribute* add_attribute();
893 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
894 attribute() const;
895 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
896 mutable_attribute();
897
898 // optional int32 report_qos = 3 [default = 0];
899 inline bool has_report_qos() const;
900 inline void clear_report_qos();
901 static const int kReportQosFieldNumber = 3;
902 inline ::google::protobuf::int32 report_qos() const;
903 inline void set_report_qos(::google::protobuf::int32 value);
904
905 // optional .bgs.protocol.EntityId reporting_account = 4;
906 inline bool has_reporting_account() const;
907 inline void clear_reporting_account();
908 static const int kReportingAccountFieldNumber = 4;
909 inline const ::bgs::protocol::EntityId& reporting_account() const;
910 inline ::bgs::protocol::EntityId* mutable_reporting_account();
911 inline ::bgs::protocol::EntityId* release_reporting_account();
912 inline void set_allocated_reporting_account(::bgs::protocol::EntityId* reporting_account);
913
914 // optional .bgs.protocol.EntityId reporting_game_account = 5;
915 inline bool has_reporting_game_account() const;
916 inline void clear_reporting_game_account();
917 static const int kReportingGameAccountFieldNumber = 5;
918 inline const ::bgs::protocol::EntityId& reporting_game_account() const;
919 inline ::bgs::protocol::EntityId* mutable_reporting_game_account();
920 inline ::bgs::protocol::EntityId* release_reporting_game_account();
921 inline void set_allocated_reporting_game_account(::bgs::protocol::EntityId* reporting_game_account);
922
923 // optional fixed64 report_timestamp = 6;
924 inline bool has_report_timestamp() const;
925 inline void clear_report_timestamp();
926 static const int kReportTimestampFieldNumber = 6;
927 inline ::google::protobuf::uint64 report_timestamp() const;
928 inline void set_report_timestamp(::google::protobuf::uint64 value);
929
930 // @@protoc_insertion_point(class_scope:bgs.protocol.report.v1.Report)
931 private:
932 inline void set_has_report_type();
933 inline void clear_has_report_type();
934 inline void set_has_report_qos();
935 inline void clear_has_report_qos();
936 inline void set_has_reporting_account();
937 inline void clear_has_reporting_account();
938 inline void set_has_reporting_game_account();
939 inline void clear_has_reporting_game_account();
940 inline void set_has_report_timestamp();
941 inline void clear_has_report_timestamp();
942
943 ::google::protobuf::UnknownFieldSet _unknown_fields_;
944
946 mutable int _cached_size_;
947 ::std::string* report_type_;
948 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_;
956
959};
960// ===================================================================
961
962// ===================================================================
963
964// ===================================================================
965
966// ReportType
967
968// optional string user_description = 1;
969inline bool ReportType::has_user_description() const {
970 return (_has_bits_[0] & 0x00000001u) != 0;
971}
973 _has_bits_[0] |= 0x00000001u;
974}
976 _has_bits_[0] &= ~0x00000001u;
977}
979 if (user_description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
980 user_description_->clear();
981 }
982 clear_has_user_description();
983}
984inline const ::std::string& ReportType::user_description() const {
985 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.ReportType.user_description)
986 return *user_description_;
987}
988inline void ReportType::set_user_description(const ::std::string& value) {
989 set_has_user_description();
990 if (user_description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
991 user_description_ = new ::std::string;
992 }
993 user_description_->assign(value);
994 // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.ReportType.user_description)
995}
996inline void ReportType::set_user_description(const char* value) {
997 set_has_user_description();
998 if (user_description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
999 user_description_ = new ::std::string;
1000 }
1001 user_description_->assign(value);
1002 // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.ReportType.user_description)
1003}
1004inline void ReportType::set_user_description(const char* value, size_t size) {
1005 set_has_user_description();
1006 if (user_description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1007 user_description_ = new ::std::string;
1008 }
1009 user_description_->assign(reinterpret_cast<const char*>(value), size);
1010 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.ReportType.user_description)
1011}
1012inline ::std::string* ReportType::mutable_user_description() {
1013 set_has_user_description();
1014 if (user_description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1015 user_description_ = new ::std::string;
1016 }
1017 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.ReportType.user_description)
1018 return user_description_;
1019}
1020inline ::std::string* ReportType::release_user_description() {
1021 clear_has_user_description();
1022 if (user_description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1023 return NULL;
1024 } else {
1025 ::std::string* temp = user_description_;
1026 user_description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1027 return temp;
1028 }
1029}
1030inline void ReportType::set_allocated_user_description(::std::string* user_description) {
1031 if (user_description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1032 delete user_description_;
1033 }
1034 if (user_description) {
1035 set_has_user_description();
1036 user_description_ = user_description;
1037 } else {
1038 clear_has_user_description();
1039 user_description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1040 }
1041 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.ReportType.user_description)
1042}
1043
1044// optional .bgs.protocol.report.v1.CustomReport custom_report = 10;
1045inline bool ReportType::has_custom_report() const {
1046 return type_case() == kCustomReport;
1047}
1049 _oneof_case_[0] = kCustomReport;
1050}
1051inline void ReportType::clear_custom_report() {
1052 if (has_custom_report()) {
1053 delete type_.custom_report_;
1054 clear_has_type();
1055 }
1056}
1057inline const ::bgs::protocol::report::v1::CustomReport& ReportType::custom_report() const {
1058 return has_custom_report() ? *type_.custom_report_
1060}
1061inline ::bgs::protocol::report::v1::CustomReport* ReportType::mutable_custom_report() {
1062 if (!has_custom_report()) {
1063 clear_type();
1064 set_has_custom_report();
1065 type_.custom_report_ = new ::bgs::protocol::report::v1::CustomReport;
1066 }
1067 return type_.custom_report_;
1068}
1069inline ::bgs::protocol::report::v1::CustomReport* ReportType::release_custom_report() {
1070 if (has_custom_report()) {
1071 clear_has_type();
1072 ::bgs::protocol::report::v1::CustomReport* temp = type_.custom_report_;
1073 type_.custom_report_ = NULL;
1074 return temp;
1075 } else {
1076 return NULL;
1077 }
1078}
1080 clear_type();
1081 if (custom_report) {
1082 set_has_custom_report();
1083 type_.custom_report_ = custom_report;
1084 }
1085}
1086
1087// optional .bgs.protocol.report.v1.SpamReport spam_report = 11;
1088inline bool ReportType::has_spam_report() const {
1089 return type_case() == kSpamReport;
1090}
1091inline void ReportType::set_has_spam_report() {
1092 _oneof_case_[0] = kSpamReport;
1093}
1094inline void ReportType::clear_spam_report() {
1095 if (has_spam_report()) {
1096 delete type_.spam_report_;
1097 clear_has_type();
1098 }
1099}
1100inline const ::bgs::protocol::report::v1::SpamReport& ReportType::spam_report() const {
1101 return has_spam_report() ? *type_.spam_report_
1103}
1104inline ::bgs::protocol::report::v1::SpamReport* ReportType::mutable_spam_report() {
1105 if (!has_spam_report()) {
1106 clear_type();
1107 set_has_spam_report();
1108 type_.spam_report_ = new ::bgs::protocol::report::v1::SpamReport;
1109 }
1110 return type_.spam_report_;
1111}
1112inline ::bgs::protocol::report::v1::SpamReport* ReportType::release_spam_report() {
1113 if (has_spam_report()) {
1114 clear_has_type();
1115 ::bgs::protocol::report::v1::SpamReport* temp = type_.spam_report_;
1116 type_.spam_report_ = NULL;
1117 return temp;
1118 } else {
1119 return NULL;
1120 }
1121}
1123 clear_type();
1124 if (spam_report) {
1125 set_has_spam_report();
1126 type_.spam_report_ = spam_report;
1127 }
1128}
1129
1130// optional .bgs.protocol.report.v1.HarassmentReport harassment_report = 12;
1131inline bool ReportType::has_harassment_report() const {
1132 return type_case() == kHarassmentReport;
1133}
1135 _oneof_case_[0] = kHarassmentReport;
1136}
1138 if (has_harassment_report()) {
1139 delete type_.harassment_report_;
1140 clear_has_type();
1141 }
1142}
1143inline const ::bgs::protocol::report::v1::HarassmentReport& ReportType::harassment_report() const {
1144 return has_harassment_report() ? *type_.harassment_report_
1146}
1147inline ::bgs::protocol::report::v1::HarassmentReport* ReportType::mutable_harassment_report() {
1148 if (!has_harassment_report()) {
1149 clear_type();
1150 set_has_harassment_report();
1151 type_.harassment_report_ = new ::bgs::protocol::report::v1::HarassmentReport;
1152 }
1153 return type_.harassment_report_;
1154}
1155inline ::bgs::protocol::report::v1::HarassmentReport* ReportType::release_harassment_report() {
1156 if (has_harassment_report()) {
1157 clear_has_type();
1158 ::bgs::protocol::report::v1::HarassmentReport* temp = type_.harassment_report_;
1159 type_.harassment_report_ = NULL;
1160 return temp;
1161 } else {
1162 return NULL;
1163 }
1164}
1166 clear_type();
1167 if (harassment_report) {
1168 set_has_harassment_report();
1169 type_.harassment_report_ = harassment_report;
1170 }
1171}
1172
1173// optional .bgs.protocol.report.v1.RealLifeThreatReport real_life_threat_report = 13;
1174inline bool ReportType::has_real_life_threat_report() const {
1175 return type_case() == kRealLifeThreatReport;
1176}
1178 _oneof_case_[0] = kRealLifeThreatReport;
1179}
1181 if (has_real_life_threat_report()) {
1182 delete type_.real_life_threat_report_;
1183 clear_has_type();
1184 }
1185}
1186inline const ::bgs::protocol::report::v1::RealLifeThreatReport& ReportType::real_life_threat_report() const {
1187 return has_real_life_threat_report() ? *type_.real_life_threat_report_
1189}
1190inline ::bgs::protocol::report::v1::RealLifeThreatReport* ReportType::mutable_real_life_threat_report() {
1191 if (!has_real_life_threat_report()) {
1192 clear_type();
1193 set_has_real_life_threat_report();
1194 type_.real_life_threat_report_ = new ::bgs::protocol::report::v1::RealLifeThreatReport;
1195 }
1196 return type_.real_life_threat_report_;
1197}
1198inline ::bgs::protocol::report::v1::RealLifeThreatReport* ReportType::release_real_life_threat_report() {
1199 if (has_real_life_threat_report()) {
1200 clear_has_type();
1201 ::bgs::protocol::report::v1::RealLifeThreatReport* temp = type_.real_life_threat_report_;
1202 type_.real_life_threat_report_ = NULL;
1203 return temp;
1204 } else {
1205 return NULL;
1206 }
1207}
1209 clear_type();
1210 if (real_life_threat_report) {
1211 set_has_real_life_threat_report();
1212 type_.real_life_threat_report_ = real_life_threat_report;
1213 }
1214}
1215
1216// optional .bgs.protocol.report.v1.InappropriateBattleTagReport inappropriate_battle_tag_report = 14;
1218 return type_case() == kInappropriateBattleTagReport;
1219}
1221 _oneof_case_[0] = kInappropriateBattleTagReport;
1222}
1224 if (has_inappropriate_battle_tag_report()) {
1225 delete type_.inappropriate_battle_tag_report_;
1226 clear_has_type();
1227 }
1228}
1229inline const ::bgs::protocol::report::v1::InappropriateBattleTagReport& ReportType::inappropriate_battle_tag_report() const {
1230 return has_inappropriate_battle_tag_report() ? *type_.inappropriate_battle_tag_report_
1232}
1233inline ::bgs::protocol::report::v1::InappropriateBattleTagReport* ReportType::mutable_inappropriate_battle_tag_report() {
1234 if (!has_inappropriate_battle_tag_report()) {
1235 clear_type();
1236 set_has_inappropriate_battle_tag_report();
1237 type_.inappropriate_battle_tag_report_ = new ::bgs::protocol::report::v1::InappropriateBattleTagReport;
1238 }
1239 return type_.inappropriate_battle_tag_report_;
1240}
1241inline ::bgs::protocol::report::v1::InappropriateBattleTagReport* ReportType::release_inappropriate_battle_tag_report() {
1242 if (has_inappropriate_battle_tag_report()) {
1243 clear_has_type();
1244 ::bgs::protocol::report::v1::InappropriateBattleTagReport* temp = type_.inappropriate_battle_tag_report_;
1245 type_.inappropriate_battle_tag_report_ = NULL;
1246 return temp;
1247 } else {
1248 return NULL;
1249 }
1250}
1252 clear_type();
1253 if (inappropriate_battle_tag_report) {
1254 set_has_inappropriate_battle_tag_report();
1255 type_.inappropriate_battle_tag_report_ = inappropriate_battle_tag_report;
1256 }
1257}
1258
1259// optional .bgs.protocol.report.v1.HackingReport hacking_report = 15;
1260inline bool ReportType::has_hacking_report() const {
1261 return type_case() == kHackingReport;
1262}
1264 _oneof_case_[0] = kHackingReport;
1265}
1267 if (has_hacking_report()) {
1268 delete type_.hacking_report_;
1269 clear_has_type();
1270 }
1271}
1272inline const ::bgs::protocol::report::v1::HackingReport& ReportType::hacking_report() const {
1273 return has_hacking_report() ? *type_.hacking_report_
1275}
1276inline ::bgs::protocol::report::v1::HackingReport* ReportType::mutable_hacking_report() {
1277 if (!has_hacking_report()) {
1278 clear_type();
1279 set_has_hacking_report();
1280 type_.hacking_report_ = new ::bgs::protocol::report::v1::HackingReport;
1281 }
1282 return type_.hacking_report_;
1283}
1284inline ::bgs::protocol::report::v1::HackingReport* ReportType::release_hacking_report() {
1285 if (has_hacking_report()) {
1286 clear_has_type();
1287 ::bgs::protocol::report::v1::HackingReport* temp = type_.hacking_report_;
1288 type_.hacking_report_ = NULL;
1289 return temp;
1290 } else {
1291 return NULL;
1292 }
1293}
1295 clear_type();
1296 if (hacking_report) {
1297 set_has_hacking_report();
1298 type_.hacking_report_ = hacking_report;
1299 }
1300}
1301
1302// optional .bgs.protocol.report.v1.BottingReport botting_report = 16;
1303inline bool ReportType::has_botting_report() const {
1304 return type_case() == kBottingReport;
1305}
1307 _oneof_case_[0] = kBottingReport;
1308}
1310 if (has_botting_report()) {
1311 delete type_.botting_report_;
1312 clear_has_type();
1313 }
1314}
1315inline const ::bgs::protocol::report::v1::BottingReport& ReportType::botting_report() const {
1316 return has_botting_report() ? *type_.botting_report_
1318}
1319inline ::bgs::protocol::report::v1::BottingReport* ReportType::mutable_botting_report() {
1320 if (!has_botting_report()) {
1321 clear_type();
1322 set_has_botting_report();
1323 type_.botting_report_ = new ::bgs::protocol::report::v1::BottingReport;
1324 }
1325 return type_.botting_report_;
1326}
1327inline ::bgs::protocol::report::v1::BottingReport* ReportType::release_botting_report() {
1328 if (has_botting_report()) {
1329 clear_has_type();
1330 ::bgs::protocol::report::v1::BottingReport* temp = type_.botting_report_;
1331 type_.botting_report_ = NULL;
1332 return temp;
1333 } else {
1334 return NULL;
1335 }
1336}
1338 clear_type();
1339 if (botting_report) {
1340 set_has_botting_report();
1341 type_.botting_report_ = botting_report;
1342 }
1343}
1344
1345inline bool ReportType::has_type() {
1346 return type_case() != TYPE_NOT_SET;
1347}
1348inline void ReportType::clear_has_type() {
1349 _oneof_case_[0] = TYPE_NOT_SET;
1350}
1352 return ReportType::TypeCase(_oneof_case_[0]);
1353}
1354// -------------------------------------------------------------------
1355
1356// CustomReport
1357
1358// optional string type = 1;
1359inline bool CustomReport::has_type() const {
1360 return (_has_bits_[0] & 0x00000001u) != 0;
1361}
1363 _has_bits_[0] |= 0x00000001u;
1364}
1366 _has_bits_[0] &= ~0x00000001u;
1367}
1369 if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1370 type_->clear();
1371 }
1372 clear_has_type();
1373}
1374inline const ::std::string& CustomReport::type() const {
1375 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.CustomReport.type)
1376 return *type_;
1377}
1378inline void CustomReport::set_type(const ::std::string& value) {
1379 set_has_type();
1380 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1381 type_ = new ::std::string;
1382 }
1383 type_->assign(value);
1384 // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.CustomReport.type)
1385}
1386inline void CustomReport::set_type(const char* value) {
1387 set_has_type();
1388 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1389 type_ = new ::std::string;
1390 }
1391 type_->assign(value);
1392 // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.CustomReport.type)
1393}
1394inline void CustomReport::set_type(const char* value, size_t size) {
1395 set_has_type();
1396 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1397 type_ = new ::std::string;
1398 }
1399 type_->assign(reinterpret_cast<const char*>(value), size);
1400 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.CustomReport.type)
1401}
1402inline ::std::string* CustomReport::mutable_type() {
1403 set_has_type();
1404 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1405 type_ = new ::std::string;
1406 }
1407 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.CustomReport.type)
1408 return type_;
1409}
1410inline ::std::string* CustomReport::release_type() {
1411 clear_has_type();
1412 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1413 return NULL;
1414 } else {
1415 ::std::string* temp = type_;
1416 type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1417 return temp;
1418 }
1419}
1420inline void CustomReport::set_allocated_type(::std::string* type) {
1421 if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1422 delete type_;
1423 }
1424 if (type) {
1425 set_has_type();
1426 type_ = type;
1427 } else {
1428 clear_has_type();
1429 type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1430 }
1431 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.CustomReport.type)
1432}
1433
1434// optional string program_id = 2 [deprecated = true];
1435inline bool CustomReport::has_program_id() const {
1436 return (_has_bits_[0] & 0x00000002u) != 0;
1437}
1439 _has_bits_[0] |= 0x00000002u;
1440}
1442 _has_bits_[0] &= ~0x00000002u;
1443}
1445 if (program_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1446 program_id_->clear();
1447 }
1448 clear_has_program_id();
1449}
1450inline const ::std::string& CustomReport::program_id() const {
1451 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.CustomReport.program_id)
1452 return *program_id_;
1453}
1454inline void CustomReport::set_program_id(const ::std::string& value) {
1455 set_has_program_id();
1456 if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1457 program_id_ = new ::std::string;
1458 }
1459 program_id_->assign(value);
1460 // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.CustomReport.program_id)
1461}
1462inline void CustomReport::set_program_id(const char* value) {
1463 set_has_program_id();
1464 if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1465 program_id_ = new ::std::string;
1466 }
1467 program_id_->assign(value);
1468 // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.CustomReport.program_id)
1469}
1470inline void CustomReport::set_program_id(const char* value, size_t size) {
1471 set_has_program_id();
1472 if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1473 program_id_ = new ::std::string;
1474 }
1475 program_id_->assign(reinterpret_cast<const char*>(value), size);
1476 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.CustomReport.program_id)
1477}
1478inline ::std::string* CustomReport::mutable_program_id() {
1479 set_has_program_id();
1480 if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1481 program_id_ = new ::std::string;
1482 }
1483 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.CustomReport.program_id)
1484 return program_id_;
1485}
1486inline ::std::string* CustomReport::release_program_id() {
1487 clear_has_program_id();
1488 if (program_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1489 return NULL;
1490 } else {
1491 ::std::string* temp = program_id_;
1492 program_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1493 return temp;
1494 }
1495}
1496inline void CustomReport::set_allocated_program_id(::std::string* program_id) {
1497 if (program_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1498 delete program_id_;
1499 }
1500 if (program_id) {
1501 set_has_program_id();
1502 program_id_ = program_id;
1503 } else {
1504 clear_has_program_id();
1505 program_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1506 }
1507 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.CustomReport.program_id)
1508}
1509
1510// repeated .bgs.protocol.Attribute attribute = 3;
1512 return attribute_.size();
1513}
1515 attribute_.Clear();
1516}
1517inline const ::bgs::protocol::Attribute& CustomReport::attribute(int index) const {
1518 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.CustomReport.attribute)
1519 return attribute_.Get(index);
1520}
1521inline ::bgs::protocol::Attribute* CustomReport::mutable_attribute(int index) {
1522 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.CustomReport.attribute)
1523 return attribute_.Mutable(index);
1524}
1525inline ::bgs::protocol::Attribute* CustomReport::add_attribute() {
1526 // @@protoc_insertion_point(field_add:bgs.protocol.report.v1.CustomReport.attribute)
1527 return attribute_.Add();
1528}
1529inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
1531 // @@protoc_insertion_point(field_list:bgs.protocol.report.v1.CustomReport.attribute)
1532 return attribute_;
1533}
1534inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
1536 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.report.v1.CustomReport.attribute)
1537 return &attribute_;
1538}
1539
1540// -------------------------------------------------------------------
1541
1542// SpamReport
1543
1544// optional .bgs.protocol.account.v1.GameAccountHandle target = 1;
1545inline bool SpamReport::has_target() const {
1546 return (_has_bits_[0] & 0x00000001u) != 0;
1547}
1549 _has_bits_[0] |= 0x00000001u;
1550}
1552 _has_bits_[0] &= ~0x00000001u;
1553}
1555 if (target_ != NULL) target_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
1556 clear_has_target();
1557}
1558inline const ::bgs::protocol::account::v1::GameAccountHandle& SpamReport::target() const {
1559 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.SpamReport.target)
1560 return target_ != NULL ? *target_ : *default_instance_->target_;
1561}
1562inline ::bgs::protocol::account::v1::GameAccountHandle* SpamReport::mutable_target() {
1563 set_has_target();
1564 if (target_ == NULL) target_ = new ::bgs::protocol::account::v1::GameAccountHandle;
1565 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.SpamReport.target)
1566 return target_;
1567}
1568inline ::bgs::protocol::account::v1::GameAccountHandle* SpamReport::release_target() {
1569 clear_has_target();
1571 target_ = NULL;
1572 return temp;
1573}
1575 delete target_;
1576 target_ = target;
1577 if (target) {
1578 set_has_target();
1579 } else {
1580 clear_has_target();
1581 }
1582 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.SpamReport.target)
1583}
1584
1585// optional .bgs.protocol.report.v1.SpamReport.SpamSource source = 2 [default = OTHER];
1586inline bool SpamReport::has_source() const {
1587 return (_has_bits_[0] & 0x00000002u) != 0;
1588}
1590 _has_bits_[0] |= 0x00000002u;
1591}
1593 _has_bits_[0] &= ~0x00000002u;
1594}
1596 source_ = 1;
1597 clear_has_source();
1598}
1600 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.SpamReport.source)
1601 return static_cast< ::bgs::protocol::report::v1::SpamReport_SpamSource >(source_);
1602}
1605 set_has_source();
1606 source_ = value;
1607 // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.SpamReport.source)
1608}
1609
1610// -------------------------------------------------------------------
1611
1612// HarassmentReport
1613
1614// optional .bgs.protocol.account.v1.GameAccountHandle target = 1;
1615inline bool HarassmentReport::has_target() const {
1616 return (_has_bits_[0] & 0x00000001u) != 0;
1617}
1619 _has_bits_[0] |= 0x00000001u;
1620}
1622 _has_bits_[0] &= ~0x00000001u;
1623}
1625 if (target_ != NULL) target_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
1626 clear_has_target();
1627}
1628inline const ::bgs::protocol::account::v1::GameAccountHandle& HarassmentReport::target() const {
1629 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.HarassmentReport.target)
1630 return target_ != NULL ? *target_ : *default_instance_->target_;
1631}
1632inline ::bgs::protocol::account::v1::GameAccountHandle* HarassmentReport::mutable_target() {
1633 set_has_target();
1634 if (target_ == NULL) target_ = new ::bgs::protocol::account::v1::GameAccountHandle;
1635 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.HarassmentReport.target)
1636 return target_;
1637}
1638inline ::bgs::protocol::account::v1::GameAccountHandle* HarassmentReport::release_target() {
1639 clear_has_target();
1641 target_ = NULL;
1642 return temp;
1643}
1645 delete target_;
1646 target_ = target;
1647 if (target) {
1648 set_has_target();
1649 } else {
1650 clear_has_target();
1651 }
1652 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.HarassmentReport.target)
1653}
1654
1655// optional string text = 2;
1656inline bool HarassmentReport::has_text() const {
1657 return (_has_bits_[0] & 0x00000002u) != 0;
1658}
1660 _has_bits_[0] |= 0x00000002u;
1661}
1663 _has_bits_[0] &= ~0x00000002u;
1664}
1666 if (text_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1667 text_->clear();
1668 }
1669 clear_has_text();
1670}
1671inline const ::std::string& HarassmentReport::text() const {
1672 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.HarassmentReport.text)
1673 return *text_;
1674}
1675inline void HarassmentReport::set_text(const ::std::string& value) {
1676 set_has_text();
1677 if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1678 text_ = new ::std::string;
1679 }
1680 text_->assign(value);
1681 // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.HarassmentReport.text)
1682}
1683inline void HarassmentReport::set_text(const char* value) {
1684 set_has_text();
1685 if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1686 text_ = new ::std::string;
1687 }
1688 text_->assign(value);
1689 // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.HarassmentReport.text)
1690}
1691inline void HarassmentReport::set_text(const char* value, size_t size) {
1692 set_has_text();
1693 if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1694 text_ = new ::std::string;
1695 }
1696 text_->assign(reinterpret_cast<const char*>(value), size);
1697 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.HarassmentReport.text)
1698}
1699inline ::std::string* HarassmentReport::mutable_text() {
1700 set_has_text();
1701 if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1702 text_ = new ::std::string;
1703 }
1704 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.HarassmentReport.text)
1705 return text_;
1706}
1707inline ::std::string* HarassmentReport::release_text() {
1708 clear_has_text();
1709 if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1710 return NULL;
1711 } else {
1712 ::std::string* temp = text_;
1713 text_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1714 return temp;
1715 }
1716}
1717inline void HarassmentReport::set_allocated_text(::std::string* text) {
1718 if (text_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1719 delete text_;
1720 }
1721 if (text) {
1722 set_has_text();
1723 text_ = text;
1724 } else {
1725 clear_has_text();
1726 text_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1727 }
1728 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.HarassmentReport.text)
1729}
1730
1731// -------------------------------------------------------------------
1732
1733// RealLifeThreatReport
1734
1735// optional .bgs.protocol.account.v1.GameAccountHandle target = 1;
1737 return (_has_bits_[0] & 0x00000001u) != 0;
1738}
1740 _has_bits_[0] |= 0x00000001u;
1741}
1743 _has_bits_[0] &= ~0x00000001u;
1744}
1746 if (target_ != NULL) target_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
1747 clear_has_target();
1748}
1749inline const ::bgs::protocol::account::v1::GameAccountHandle& RealLifeThreatReport::target() const {
1750 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.RealLifeThreatReport.target)
1751 return target_ != NULL ? *target_ : *default_instance_->target_;
1752}
1753inline ::bgs::protocol::account::v1::GameAccountHandle* RealLifeThreatReport::mutable_target() {
1754 set_has_target();
1755 if (target_ == NULL) target_ = new ::bgs::protocol::account::v1::GameAccountHandle;
1756 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.RealLifeThreatReport.target)
1757 return target_;
1758}
1759inline ::bgs::protocol::account::v1::GameAccountHandle* RealLifeThreatReport::release_target() {
1760 clear_has_target();
1762 target_ = NULL;
1763 return temp;
1764}
1766 delete target_;
1767 target_ = target;
1768 if (target) {
1769 set_has_target();
1770 } else {
1771 clear_has_target();
1772 }
1773 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.RealLifeThreatReport.target)
1774}
1775
1776// optional string text = 2;
1778 return (_has_bits_[0] & 0x00000002u) != 0;
1779}
1781 _has_bits_[0] |= 0x00000002u;
1782}
1784 _has_bits_[0] &= ~0x00000002u;
1785}
1787 if (text_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1788 text_->clear();
1789 }
1790 clear_has_text();
1791}
1792inline const ::std::string& RealLifeThreatReport::text() const {
1793 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.RealLifeThreatReport.text)
1794 return *text_;
1795}
1796inline void RealLifeThreatReport::set_text(const ::std::string& value) {
1797 set_has_text();
1798 if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1799 text_ = new ::std::string;
1800 }
1801 text_->assign(value);
1802 // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.RealLifeThreatReport.text)
1803}
1804inline void RealLifeThreatReport::set_text(const char* value) {
1805 set_has_text();
1806 if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1807 text_ = new ::std::string;
1808 }
1809 text_->assign(value);
1810 // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.RealLifeThreatReport.text)
1811}
1812inline void RealLifeThreatReport::set_text(const char* value, size_t size) {
1813 set_has_text();
1814 if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1815 text_ = new ::std::string;
1816 }
1817 text_->assign(reinterpret_cast<const char*>(value), size);
1818 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.RealLifeThreatReport.text)
1819}
1820inline ::std::string* RealLifeThreatReport::mutable_text() {
1821 set_has_text();
1822 if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1823 text_ = new ::std::string;
1824 }
1825 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.RealLifeThreatReport.text)
1826 return text_;
1827}
1828inline ::std::string* RealLifeThreatReport::release_text() {
1829 clear_has_text();
1830 if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1831 return NULL;
1832 } else {
1833 ::std::string* temp = text_;
1834 text_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1835 return temp;
1836 }
1837}
1838inline void RealLifeThreatReport::set_allocated_text(::std::string* text) {
1839 if (text_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1840 delete text_;
1841 }
1842 if (text) {
1843 set_has_text();
1844 text_ = text;
1845 } else {
1846 clear_has_text();
1847 text_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1848 }
1849 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.RealLifeThreatReport.text)
1850}
1851
1852// -------------------------------------------------------------------
1853
1854// InappropriateBattleTagReport
1855
1856// optional .bgs.protocol.account.v1.GameAccountHandle target = 1;
1858 return (_has_bits_[0] & 0x00000001u) != 0;
1859}
1861 _has_bits_[0] |= 0x00000001u;
1862}
1864 _has_bits_[0] &= ~0x00000001u;
1865}
1867 if (target_ != NULL) target_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
1868 clear_has_target();
1869}
1870inline const ::bgs::protocol::account::v1::GameAccountHandle& InappropriateBattleTagReport::target() const {
1871 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.InappropriateBattleTagReport.target)
1872 return target_ != NULL ? *target_ : *default_instance_->target_;
1873}
1874inline ::bgs::protocol::account::v1::GameAccountHandle* InappropriateBattleTagReport::mutable_target() {
1875 set_has_target();
1876 if (target_ == NULL) target_ = new ::bgs::protocol::account::v1::GameAccountHandle;
1877 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.InappropriateBattleTagReport.target)
1878 return target_;
1879}
1880inline ::bgs::protocol::account::v1::GameAccountHandle* InappropriateBattleTagReport::release_target() {
1881 clear_has_target();
1883 target_ = NULL;
1884 return temp;
1885}
1887 delete target_;
1888 target_ = target;
1889 if (target) {
1890 set_has_target();
1891 } else {
1892 clear_has_target();
1893 }
1894 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.InappropriateBattleTagReport.target)
1895}
1896
1897// optional string battle_tag = 2;
1899 return (_has_bits_[0] & 0x00000002u) != 0;
1900}
1902 _has_bits_[0] |= 0x00000002u;
1903}
1905 _has_bits_[0] &= ~0x00000002u;
1906}
1908 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1909 battle_tag_->clear();
1910 }
1911 clear_has_battle_tag();
1912}
1913inline const ::std::string& InappropriateBattleTagReport::battle_tag() const {
1914 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.InappropriateBattleTagReport.battle_tag)
1915 return *battle_tag_;
1916}
1917inline void InappropriateBattleTagReport::set_battle_tag(const ::std::string& value) {
1918 set_has_battle_tag();
1919 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1920 battle_tag_ = new ::std::string;
1921 }
1922 battle_tag_->assign(value);
1923 // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.InappropriateBattleTagReport.battle_tag)
1924}
1925inline void InappropriateBattleTagReport::set_battle_tag(const char* value) {
1926 set_has_battle_tag();
1927 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1928 battle_tag_ = new ::std::string;
1929 }
1930 battle_tag_->assign(value);
1931 // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.InappropriateBattleTagReport.battle_tag)
1932}
1933inline void InappropriateBattleTagReport::set_battle_tag(const char* value, size_t size) {
1934 set_has_battle_tag();
1935 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1936 battle_tag_ = new ::std::string;
1937 }
1938 battle_tag_->assign(reinterpret_cast<const char*>(value), size);
1939 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.InappropriateBattleTagReport.battle_tag)
1940}
1942 set_has_battle_tag();
1943 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1944 battle_tag_ = new ::std::string;
1945 }
1946 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.InappropriateBattleTagReport.battle_tag)
1947 return battle_tag_;
1948}
1950 clear_has_battle_tag();
1951 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1952 return NULL;
1953 } else {
1954 ::std::string* temp = battle_tag_;
1955 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1956 return temp;
1957 }
1958}
1959inline void InappropriateBattleTagReport::set_allocated_battle_tag(::std::string* battle_tag) {
1960 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1961 delete battle_tag_;
1962 }
1963 if (battle_tag) {
1964 set_has_battle_tag();
1965 battle_tag_ = battle_tag;
1966 } else {
1967 clear_has_battle_tag();
1968 battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1969 }
1970 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.InappropriateBattleTagReport.battle_tag)
1971}
1972
1973// -------------------------------------------------------------------
1974
1975// HackingReport
1976
1977// optional .bgs.protocol.account.v1.GameAccountHandle target = 1;
1978inline bool HackingReport::has_target() const {
1979 return (_has_bits_[0] & 0x00000001u) != 0;
1980}
1982 _has_bits_[0] |= 0x00000001u;
1983}
1985 _has_bits_[0] &= ~0x00000001u;
1986}
1988 if (target_ != NULL) target_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
1989 clear_has_target();
1990}
1991inline const ::bgs::protocol::account::v1::GameAccountHandle& HackingReport::target() const {
1992 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.HackingReport.target)
1993 return target_ != NULL ? *target_ : *default_instance_->target_;
1994}
1995inline ::bgs::protocol::account::v1::GameAccountHandle* HackingReport::mutable_target() {
1996 set_has_target();
1997 if (target_ == NULL) target_ = new ::bgs::protocol::account::v1::GameAccountHandle;
1998 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.HackingReport.target)
1999 return target_;
2000}
2001inline ::bgs::protocol::account::v1::GameAccountHandle* HackingReport::release_target() {
2002 clear_has_target();
2004 target_ = NULL;
2005 return temp;
2006}
2008 delete target_;
2009 target_ = target;
2010 if (target) {
2011 set_has_target();
2012 } else {
2013 clear_has_target();
2014 }
2015 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.HackingReport.target)
2016}
2017
2018// -------------------------------------------------------------------
2019
2020// BottingReport
2021
2022// optional .bgs.protocol.account.v1.GameAccountHandle target = 1;
2023inline bool BottingReport::has_target() const {
2024 return (_has_bits_[0] & 0x00000001u) != 0;
2025}
2027 _has_bits_[0] |= 0x00000001u;
2028}
2030 _has_bits_[0] &= ~0x00000001u;
2031}
2033 if (target_ != NULL) target_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
2034 clear_has_target();
2035}
2036inline const ::bgs::protocol::account::v1::GameAccountHandle& BottingReport::target() const {
2037 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.BottingReport.target)
2038 return target_ != NULL ? *target_ : *default_instance_->target_;
2039}
2040inline ::bgs::protocol::account::v1::GameAccountHandle* BottingReport::mutable_target() {
2041 set_has_target();
2042 if (target_ == NULL) target_ = new ::bgs::protocol::account::v1::GameAccountHandle;
2043 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.BottingReport.target)
2044 return target_;
2045}
2046inline ::bgs::protocol::account::v1::GameAccountHandle* BottingReport::release_target() {
2047 clear_has_target();
2049 target_ = NULL;
2050 return temp;
2051}
2053 delete target_;
2054 target_ = target;
2055 if (target) {
2056 set_has_target();
2057 } else {
2058 clear_has_target();
2059 }
2060 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.BottingReport.target)
2061}
2062
2063// -------------------------------------------------------------------
2064
2065// Report
2066
2067// required string report_type = 1;
2068inline bool Report::has_report_type() const {
2069 return (_has_bits_[0] & 0x00000001u) != 0;
2070}
2072 _has_bits_[0] |= 0x00000001u;
2073}
2075 _has_bits_[0] &= ~0x00000001u;
2076}
2078 if (report_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2079 report_type_->clear();
2080 }
2081 clear_has_report_type();
2082}
2083inline const ::std::string& Report::report_type() const {
2084 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.Report.report_type)
2085 return *report_type_;
2086}
2087inline void Report::set_report_type(const ::std::string& value) {
2088 set_has_report_type();
2089 if (report_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2090 report_type_ = new ::std::string;
2091 }
2092 report_type_->assign(value);
2093 // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.Report.report_type)
2094}
2095inline void Report::set_report_type(const char* value) {
2096 set_has_report_type();
2097 if (report_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2098 report_type_ = new ::std::string;
2099 }
2100 report_type_->assign(value);
2101 // @@protoc_insertion_point(field_set_char:bgs.protocol.report.v1.Report.report_type)
2102}
2103inline void Report::set_report_type(const char* value, size_t size) {
2104 set_has_report_type();
2105 if (report_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2106 report_type_ = new ::std::string;
2107 }
2108 report_type_->assign(reinterpret_cast<const char*>(value), size);
2109 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.report.v1.Report.report_type)
2110}
2111inline ::std::string* Report::mutable_report_type() {
2112 set_has_report_type();
2113 if (report_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2114 report_type_ = new ::std::string;
2115 }
2116 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.Report.report_type)
2117 return report_type_;
2118}
2119inline ::std::string* Report::release_report_type() {
2120 clear_has_report_type();
2121 if (report_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2122 return NULL;
2123 } else {
2124 ::std::string* temp = report_type_;
2125 report_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2126 return temp;
2127 }
2128}
2129inline void Report::set_allocated_report_type(::std::string* report_type) {
2130 if (report_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2131 delete report_type_;
2132 }
2133 if (report_type) {
2134 set_has_report_type();
2135 report_type_ = report_type;
2136 } else {
2137 clear_has_report_type();
2138 report_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2139 }
2140 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.Report.report_type)
2141}
2142
2143// repeated .bgs.protocol.Attribute attribute = 2;
2144inline int Report::attribute_size() const {
2145 return attribute_.size();
2146}
2148 attribute_.Clear();
2149}
2150inline const ::bgs::protocol::Attribute& Report::attribute(int index) const {
2151 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.Report.attribute)
2152 return attribute_.Get(index);
2153}
2154inline ::bgs::protocol::Attribute* Report::mutable_attribute(int index) {
2155 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.Report.attribute)
2156 return attribute_.Mutable(index);
2157}
2158inline ::bgs::protocol::Attribute* Report::add_attribute() {
2159 // @@protoc_insertion_point(field_add:bgs.protocol.report.v1.Report.attribute)
2160 return attribute_.Add();
2161}
2162inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
2164 // @@protoc_insertion_point(field_list:bgs.protocol.report.v1.Report.attribute)
2165 return attribute_;
2166}
2167inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
2169 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.report.v1.Report.attribute)
2170 return &attribute_;
2171}
2172
2173// optional int32 report_qos = 3 [default = 0];
2174inline bool Report::has_report_qos() const {
2175 return (_has_bits_[0] & 0x00000004u) != 0;
2176}
2178 _has_bits_[0] |= 0x00000004u;
2179}
2181 _has_bits_[0] &= ~0x00000004u;
2182}
2184 report_qos_ = 0;
2185 clear_has_report_qos();
2186}
2188 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.Report.report_qos)
2189 return report_qos_;
2190}
2192 set_has_report_qos();
2193 report_qos_ = value;
2194 // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.Report.report_qos)
2195}
2196
2197// optional .bgs.protocol.EntityId reporting_account = 4;
2199 return (_has_bits_[0] & 0x00000008u) != 0;
2200}
2202 _has_bits_[0] |= 0x00000008u;
2203}
2205 _has_bits_[0] &= ~0x00000008u;
2206}
2208 if (reporting_account_ != NULL) reporting_account_->::bgs::protocol::EntityId::Clear();
2209 clear_has_reporting_account();
2210}
2211inline const ::bgs::protocol::EntityId& Report::reporting_account() const {
2212 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.Report.reporting_account)
2213 return reporting_account_ != NULL ? *reporting_account_ : *default_instance_->reporting_account_;
2214}
2215inline ::bgs::protocol::EntityId* Report::mutable_reporting_account() {
2216 set_has_reporting_account();
2217 if (reporting_account_ == NULL) reporting_account_ = new ::bgs::protocol::EntityId;
2218 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.Report.reporting_account)
2219 return reporting_account_;
2220}
2221inline ::bgs::protocol::EntityId* Report::release_reporting_account() {
2222 clear_has_reporting_account();
2223 ::bgs::protocol::EntityId* temp = reporting_account_;
2224 reporting_account_ = NULL;
2225 return temp;
2226}
2228 delete reporting_account_;
2229 reporting_account_ = reporting_account;
2230 if (reporting_account) {
2231 set_has_reporting_account();
2232 } else {
2233 clear_has_reporting_account();
2234 }
2235 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.Report.reporting_account)
2236}
2237
2238// optional .bgs.protocol.EntityId reporting_game_account = 5;
2240 return (_has_bits_[0] & 0x00000010u) != 0;
2241}
2243 _has_bits_[0] |= 0x00000010u;
2244}
2246 _has_bits_[0] &= ~0x00000010u;
2247}
2249 if (reporting_game_account_ != NULL) reporting_game_account_->::bgs::protocol::EntityId::Clear();
2250 clear_has_reporting_game_account();
2251}
2252inline const ::bgs::protocol::EntityId& Report::reporting_game_account() const {
2253 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.Report.reporting_game_account)
2254 return reporting_game_account_ != NULL ? *reporting_game_account_ : *default_instance_->reporting_game_account_;
2255}
2256inline ::bgs::protocol::EntityId* Report::mutable_reporting_game_account() {
2257 set_has_reporting_game_account();
2258 if (reporting_game_account_ == NULL) reporting_game_account_ = new ::bgs::protocol::EntityId;
2259 // @@protoc_insertion_point(field_mutable:bgs.protocol.report.v1.Report.reporting_game_account)
2260 return reporting_game_account_;
2261}
2262inline ::bgs::protocol::EntityId* Report::release_reporting_game_account() {
2263 clear_has_reporting_game_account();
2264 ::bgs::protocol::EntityId* temp = reporting_game_account_;
2265 reporting_game_account_ = NULL;
2266 return temp;
2267}
2269 delete reporting_game_account_;
2270 reporting_game_account_ = reporting_game_account;
2271 if (reporting_game_account) {
2272 set_has_reporting_game_account();
2273 } else {
2274 clear_has_reporting_game_account();
2275 }
2276 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.report.v1.Report.reporting_game_account)
2277}
2278
2279// optional fixed64 report_timestamp = 6;
2280inline bool Report::has_report_timestamp() const {
2281 return (_has_bits_[0] & 0x00000020u) != 0;
2282}
2284 _has_bits_[0] |= 0x00000020u;
2285}
2287 _has_bits_[0] &= ~0x00000020u;
2288}
2290 report_timestamp_ = GOOGLE_ULONGLONG(0);
2291 clear_has_report_timestamp();
2292}
2294 // @@protoc_insertion_point(field_get:bgs.protocol.report.v1.Report.report_timestamp)
2295 return report_timestamp_;
2296}
2298 set_has_report_timestamp();
2299 report_timestamp_ = value;
2300 // @@protoc_insertion_point(field_set:bgs.protocol.report.v1.Report.report_timestamp)
2301}
2302
2303// @@protoc_insertion_point(namespace_scope)
2304
2305} // namespace v1
2306} // namespace report
2307} // namespace protocol
2308} // namespace bgs
2309
2310#ifndef SWIG
2311namespace google {
2312namespace protobuf {
2313template <> struct is_proto_enum< ::bgs::protocol::report::v1::SpamReport_SpamSource> : ::google::protobuf::internal::true_type {};
2314template <>
2315inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::report::v1::SpamReport_SpamSource>() {
2317}
2318} // namespace google
2319} // namespace protobuf
2320#endif // SWIG
2321
2322// @@protoc_insertion_point(global_scope)
2323
2324#endif // PROTOBUF_report_5ftypes_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
int32_t int32
Definition: Define.h:138
uint64_t uint64
Definition: Define.h:141
uint32_t uint32
Definition: Define.h:142
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::account::v1::GameAccountHandle * mutable_target()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto()
void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle *target)
BottingReport & operator=(const BottingReport &from)
friend void protobuf_ShutdownFile_report_5ftypes_2eproto()
friend void protobuf_AssignDesc_report_5ftypes_2eproto()
::bgs::protocol::account::v1::GameAccountHandle * target_
inline ::bgs::protocol::account::v1::GameAccountHandle * release_target()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::bgs::protocol::account::v1::GameAccountHandle & target() const
BottingReport(const BottingReport &from)
void Swap(BottingReport *other)
static const BottingReport & default_instance()
const ::std::string & type() const
const ::std::string & program_id() const PROTOBUF_DEPRECATED
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
CustomReport & operator=(const CustomReport &from)
void set_allocated_type(::std::string *type)
CustomReport(const CustomReport &from)
inline ::std::string * mutable_program_id() PROTOBUF_DEPRECATED
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > * mutable_attribute()
void set_program_id(const ::std::string &value) PROTOBUF_DEPRECATED
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > & attribute() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::Attribute * add_attribute()
void set_type(const ::std::string &value)
void Swap(CustomReport *other)
bool has_program_id() const PROTOBUF_DEPRECATED
void clear_program_id() PROTOBUF_DEPRECATED
void set_allocated_program_id(::std::string *program_id) PROTOBUF_DEPRECATED
static const ::google::protobuf::Descriptor * descriptor()
static const CustomReport & default_instance()
inline ::std::string * release_program_id() PROTOBUF_DEPRECATED
void Swap(HackingReport *other)
static const HackingReport & default_instance()
::bgs::protocol::account::v1::GameAccountHandle * target_
::google::protobuf::Metadata GetMetadata() const
const ::bgs::protocol::account::v1::GameAccountHandle & target() const
inline ::bgs::protocol::account::v1::GameAccountHandle * mutable_target()
static const ::google::protobuf::Descriptor * descriptor()
HackingReport & operator=(const HackingReport &from)
friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void protobuf_ShutdownFile_report_5ftypes_2eproto()
friend void protobuf_AssignDesc_report_5ftypes_2eproto()
void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle *target)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::account::v1::GameAccountHandle * release_target()
HackingReport(const HackingReport &from)
static const ::google::protobuf::Descriptor * descriptor()
void Swap(HarassmentReport *other)
HarassmentReport(const HarassmentReport &from)
const ::bgs::protocol::account::v1::GameAccountHandle & target() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
HarassmentReport & operator=(const HarassmentReport &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
static const HarassmentReport & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto()
void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle *target)
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::account::v1::GameAccountHandle * release_target()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::bgs::protocol::account::v1::GameAccountHandle * target_
inline ::bgs::protocol::account::v1::GameAccountHandle * mutable_target()
void set_text(const ::std::string &value)
void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle *target)
static const InappropriateBattleTagReport & default_instance()
InappropriateBattleTagReport(const InappropriateBattleTagReport &from)
inline ::bgs::protocol::account::v1::GameAccountHandle * release_target()
friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto()
InappropriateBattleTagReport & operator=(const InappropriateBattleTagReport &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
void Swap(InappropriateBattleTagReport *other)
const ::bgs::protocol::account::v1::GameAccountHandle & target() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::bgs::protocol::account::v1::GameAccountHandle * target_
static InappropriateBattleTagReport * default_instance_
InappropriateBattleTagReport * New() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::account::v1::GameAccountHandle * mutable_target()
inline ::bgs::protocol::account::v1::GameAccountHandle * release_target()
::google::protobuf::UnknownFieldSet _unknown_fields_
static RealLifeThreatReport * default_instance_
void Swap(RealLifeThreatReport *other)
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_text(const ::std::string &value)
friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto()
const ::bgs::protocol::account::v1::GameAccountHandle & target() const
RealLifeThreatReport & operator=(const RealLifeThreatReport &from)
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::account::v1::GameAccountHandle * mutable_target()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
RealLifeThreatReport(const RealLifeThreatReport &from)
static const RealLifeThreatReport & default_instance()
::bgs::protocol::account::v1::GameAccountHandle * target_
void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle *target)
void set_allocated_spam_report(::bgs::protocol::report::v1::SpamReport *spam_report)
void set_allocated_harassment_report(::bgs::protocol::report::v1::HarassmentReport *harassment_report)
void set_allocated_real_life_threat_report(::bgs::protocol::report::v1::RealLifeThreatReport *real_life_threat_report)
void set_allocated_hacking_report(::bgs::protocol::report::v1::HackingReport *hacking_report)
inline ::bgs::protocol::report::v1::SpamReport * mutable_spam_report()
const ::bgs::protocol::report::v1::HackingReport & hacking_report() const
const ::bgs::protocol::report::v1::HarassmentReport & harassment_report() const
void set_allocated_custom_report(::bgs::protocol::report::v1::CustomReport *custom_report)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::report::v1::InappropriateBattleTagReport * release_inappropriate_battle_tag_report()
inline ::bgs::protocol::report::v1::CustomReport * release_custom_report()
inline ::bgs::protocol::report::v1::BottingReport * mutable_botting_report()
void set_user_description(const char *value)
inline ::bgs::protocol::report::v1::SpamReport * release_spam_report()
friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto()
static const ReportType & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_user_description(::std::string *user_description)
friend void protobuf_ShutdownFile_report_5ftypes_2eproto()
inline ::bgs::protocol::report::v1::RealLifeThreatReport * mutable_real_life_threat_report()
const ::bgs::protocol::report::v1::BottingReport & botting_report() const
inline ::std::string * mutable_user_description()
inline ::std::string * release_user_description()
void set_allocated_botting_report(::bgs::protocol::report::v1::BottingReport *botting_report)
const ::std::string & user_description() const
inline ::bgs::protocol::report::v1::BottingReport * release_botting_report()
const ::bgs::protocol::report::v1::SpamReport & spam_report() const
void set_user_description(const ::std::string &value)
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_AssignDesc_report_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::report::v1::HackingReport * mutable_hacking_report()
const ::bgs::protocol::report::v1::CustomReport & custom_report() const
void set_allocated_inappropriate_battle_tag_report(::bgs::protocol::report::v1::InappropriateBattleTagReport *inappropriate_battle_tag_report)
const ::bgs::protocol::report::v1::RealLifeThreatReport & real_life_threat_report() const
inline ::bgs::protocol::report::v1::HarassmentReport * release_harassment_report()
inline ::bgs::protocol::report::v1::HackingReport * release_hacking_report()
inline ::bgs::protocol::report::v1::HarassmentReport * mutable_harassment_report()
inline ::bgs::protocol::report::v1::CustomReport * mutable_custom_report()
inline ::bgs::protocol::report::v1::InappropriateBattleTagReport * mutable_inappropriate_battle_tag_report()
const ::bgs::protocol::report::v1::InappropriateBattleTagReport & inappropriate_battle_tag_report() const
inline ::bgs::protocol::report::v1::RealLifeThreatReport * release_real_life_threat_report()
ReportType & operator=(const ReportType &from)
ReportType(const ReportType &from)
void set_user_description(const char *value, size_t size)
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::uint64 report_timestamp_
inline ::std::string * mutable_report_type()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
inline ::std::string * release_report_type()
void SetCachedSize(int size) const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::bgs::protocol::EntityId & reporting_game_account() const
void set_allocated_reporting_account(::bgs::protocol::EntityId *reporting_account)
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::uint64 report_timestamp() const
void set_allocated_reporting_game_account(::bgs::protocol::EntityId *reporting_game_account)
void set_allocated_report_type(::std::string *report_type)
friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto()
friend void protobuf_ShutdownFile_report_5ftypes_2eproto()
::bgs::protocol::EntityId * reporting_game_account_
static const Report & default_instance()
void set_report_timestamp(::google::protobuf::uint64 value)
Report & operator=(const Report &from)
friend void protobuf_AssignDesc_report_5ftypes_2eproto()
inline ::bgs::protocol::EntityId * mutable_reporting_account()
::google::protobuf::int32 report_qos_
inline ::bgs::protocol::EntityId * release_reporting_account()
::google::protobuf::Metadata GetMetadata() const
const ::std::string & report_type() const
void set_report_qos(::google::protobuf::int32 value)
inline ::bgs::protocol::EntityId * mutable_reporting_game_account()
const ::bgs::protocol::EntityId & reporting_account() const
inline ::bgs::protocol::Attribute * add_attribute()
::bgs::protocol::EntityId * reporting_account_
inline ::google::protobuf::int32 report_qos() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > * mutable_attribute()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > & attribute() const
void set_report_type(const ::std::string &value)
inline ::bgs::protocol::EntityId * release_reporting_game_account()
static const ::google::protobuf::EnumDescriptor * SpamSource_descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::bgs::protocol::account::v1::GameAccountHandle & target() const
SpamReport & operator=(const SpamReport &from)
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_allocated_target(::bgs::protocol::account::v1::GameAccountHandle *target)
static const ::std::string & SpamSource_Name(SpamSource value)
void set_source(::bgs::protocol::report::v1::SpamReport_SpamSource value)
friend void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto()
SpamReport(const SpamReport &from)
inline ::bgs::protocol::account::v1::GameAccountHandle * mutable_target()
friend void protobuf_ShutdownFile_report_5ftypes_2eproto()
friend void protobuf_AssignDesc_report_5ftypes_2eproto()
static const SpamReport & default_instance()
inline ::bgs::protocol::account::v1::GameAccountHandle * release_target()
static const ::google::protobuf::Descriptor * descriptor()
static bool SpamSource_Parse(const ::std::string &name, SpamSource *value)
inline ::bgs::protocol::report::v1::SpamReport_SpamSource source() const
static bool SpamSource_IsValid(int value)
::bgs::protocol::account::v1::GameAccountHandle * target_
constexpr std::size_t size()
Definition: UpdateField.h:796
const SpamReport_SpamSource SpamReport_SpamSource_SpamSource_MAX
const SpamReport_SpamSource SpamReport_SpamSource_SpamSource_MIN
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * SpamReport_SpamSource_descriptor()
TC_PROTO_API bool SpamReport_SpamSource_IsValid(int value)
void TC_PROTO_API protobuf_AddDesc_report_5ftypes_2eproto()
const ::std::string & SpamReport_SpamSource_Name(SpamReport_SpamSource value)
void protobuf_ShutdownFile_report_5ftypes_2eproto()
void protobuf_AssignDesc_report_5ftypes_2eproto()
bool SpamReport_SpamSource_Parse(const ::std::string &name, SpamReport_SpamSource *value)
const int SpamReport_SpamSource_SpamSource_ARRAYSIZE
Definition: Session.h:36
STL namespace.
::bgs::protocol::report::v1::CustomReport * custom_report_
::bgs::protocol::report::v1::SpamReport * spam_report_
::bgs::protocol::report::v1::InappropriateBattleTagReport * inappropriate_battle_tag_report_
::bgs::protocol::report::v1::HackingReport * hacking_report_
::bgs::protocol::report::v1::HarassmentReport * harassment_report_
::bgs::protocol::report::v1::RealLifeThreatReport * real_life_threat_report_
::bgs::protocol::report::v1::BottingReport * botting_report_