TrinityCore
club_name_generator.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: club_name_generator.proto
3
4#ifndef PROTOBUF_club_5fname_5fgenerator_2eproto__INCLUDED
5#define PROTOBUF_club_5fname_5fgenerator_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/unknown_field_set.h>
27#include "club_type.pb.h" // IWYU pragma: export
28#include "Define.h" // for TC_PROTO_API
29// @@protoc_insertion_point(includes)
30
31namespace bgs {
32namespace protocol {
33namespace club {
34namespace v1 {
35
36// Internal implementation detail -- do not call these.
40
43class NameGenerator;
45
46// ===================================================================
47
48class TC_PROTO_API NameGeneratorConfig : public ::google::protobuf::Message {
49 public:
52
54
56 CopyFrom(from);
57 return *this;
58 }
59
60 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
61 return _unknown_fields_;
62 }
63
64 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
65 return &_unknown_fields_;
66 }
67
68 static const ::google::protobuf::Descriptor* descriptor();
70
72
73 // implements Message ----------------------------------------------
74
76 int GetCachedSize() const { return _cached_size_; }
77 private:
78 void SharedCtor();
79 void SharedDtor();
80 void SetCachedSize(int size) const;
81 public:
82 ::google::protobuf::Metadata GetMetadata() const;
83
84 // nested types ----------------------------------------------------
85
86 // accessors -------------------------------------------------------
87
88 // repeated .bgs.protocol.club.v1.NameGenerator name_generators = 1;
89 inline int name_generators_size() const;
90 inline void clear_name_generators();
91 static const int kNameGeneratorsFieldNumber = 1;
92 inline const ::bgs::protocol::club::v1::NameGenerator& name_generators(int index) const;
93 inline ::bgs::protocol::club::v1::NameGenerator* mutable_name_generators(int index);
94 inline ::bgs::protocol::club::v1::NameGenerator* add_name_generators();
95 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator >&
96 name_generators() const;
97 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator >*
98 mutable_name_generators();
99
100 // optional .bgs.protocol.club.v1.NameGeneratorScorecard club_type_scorecard = 2;
101 inline bool has_club_type_scorecard() const;
102 inline void clear_club_type_scorecard();
103 static const int kClubTypeScorecardFieldNumber = 2;
104 inline const ::bgs::protocol::club::v1::NameGeneratorScorecard& club_type_scorecard() const;
105 inline ::bgs::protocol::club::v1::NameGeneratorScorecard* mutable_club_type_scorecard();
106 inline ::bgs::protocol::club::v1::NameGeneratorScorecard* release_club_type_scorecard();
107 inline void set_allocated_club_type_scorecard(::bgs::protocol::club::v1::NameGeneratorScorecard* club_type_scorecard);
108
109 // optional .bgs.protocol.club.v1.NameGeneratorScorecard locale_scorecard = 3;
110 inline bool has_locale_scorecard() const;
111 inline void clear_locale_scorecard();
112 static const int kLocaleScorecardFieldNumber = 3;
113 inline const ::bgs::protocol::club::v1::NameGeneratorScorecard& locale_scorecard() const;
114 inline ::bgs::protocol::club::v1::NameGeneratorScorecard* mutable_locale_scorecard();
115 inline ::bgs::protocol::club::v1::NameGeneratorScorecard* release_locale_scorecard();
116 inline void set_allocated_locale_scorecard(::bgs::protocol::club::v1::NameGeneratorScorecard* locale_scorecard);
117
118 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.NameGeneratorConfig)
119 private:
120 inline void set_has_club_type_scorecard();
121 inline void clear_has_club_type_scorecard();
122 inline void set_has_locale_scorecard();
123 inline void clear_has_locale_scorecard();
124
125 ::google::protobuf::UnknownFieldSet _unknown_fields_;
126
128 mutable int _cached_size_;
129 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator > name_generators_;
135
138};
139// -------------------------------------------------------------------
140
141class TC_PROTO_API NameGeneratorScorecard : public ::google::protobuf::Message {
142 public:
145
147
149 CopyFrom(from);
150 return *this;
151 }
152
153 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
154 return _unknown_fields_;
155 }
156
157 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
158 return &_unknown_fields_;
159 }
160
161 static const ::google::protobuf::Descriptor* descriptor();
163
165
166 // implements Message ----------------------------------------------
167
169 int GetCachedSize() const { return _cached_size_; }
170 private:
173 void SetCachedSize(int size) const;
174 public:
175 ::google::protobuf::Metadata GetMetadata() const;
176
177 // nested types ----------------------------------------------------
178
179 // accessors -------------------------------------------------------
180
181 // optional bool is_required = 1;
182 inline bool has_is_required() const;
183 inline void clear_is_required();
184 static const int kIsRequiredFieldNumber = 1;
185 inline bool is_required() const;
186 inline void set_is_required(bool value);
187
188 // optional uint32 full_match = 2;
189 inline bool has_full_match() const;
190 inline void clear_full_match();
191 static const int kFullMatchFieldNumber = 2;
192 inline ::google::protobuf::uint32 full_match() const;
193 inline void set_full_match(::google::protobuf::uint32 value);
194
195 // optional uint32 partial_match = 3;
196 inline bool has_partial_match() const;
197 inline void clear_partial_match();
198 static const int kPartialMatchFieldNumber = 3;
199 inline ::google::protobuf::uint32 partial_match() const;
200 inline void set_partial_match(::google::protobuf::uint32 value);
201
202 // optional uint32 partial_fallback = 4;
203 inline bool has_partial_fallback() const;
204 inline void clear_partial_fallback();
205 static const int kPartialFallbackFieldNumber = 4;
206 inline ::google::protobuf::uint32 partial_fallback() const;
207 inline void set_partial_fallback(::google::protobuf::uint32 value);
208
209 // optional uint32 full_fallback = 5;
210 inline bool has_full_fallback() const;
211 inline void clear_full_fallback();
212 static const int kFullFallbackFieldNumber = 5;
213 inline ::google::protobuf::uint32 full_fallback() const;
214 inline void set_full_fallback(::google::protobuf::uint32 value);
215
216 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.NameGeneratorScorecard)
217 private:
218 inline void set_has_is_required();
219 inline void clear_has_is_required();
220 inline void set_has_full_match();
221 inline void clear_has_full_match();
222 inline void set_has_partial_match();
223 inline void clear_has_partial_match();
224 inline void set_has_partial_fallback();
225 inline void clear_has_partial_fallback();
226 inline void set_has_full_fallback();
227 inline void clear_has_full_fallback();
228
229 ::google::protobuf::UnknownFieldSet _unknown_fields_;
230
232 mutable int _cached_size_;
241
244};
245// -------------------------------------------------------------------
246
247class TC_PROTO_API NameGenerator : public ::google::protobuf::Message {
248 public:
250 virtual ~NameGenerator();
251
253
254 inline NameGenerator& operator=(const NameGenerator& from) {
255 CopyFrom(from);
256 return *this;
257 }
258
259 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
260 return _unknown_fields_;
261 }
262
263 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
264 return &_unknown_fields_;
265 }
266
267 static const ::google::protobuf::Descriptor* descriptor();
269
270 void Swap(NameGenerator* other);
271
272 // implements Message ----------------------------------------------
273
275 int GetCachedSize() const { return _cached_size_; }
276 private:
279 void SetCachedSize(int size) const;
280 public:
281 ::google::protobuf::Metadata GetMetadata() const;
282
283 // nested types ----------------------------------------------------
284
285 // accessors -------------------------------------------------------
286
287 // repeated string names = 1;
288 inline int names_size() const;
289 inline void clear_names();
290 static const int kNamesFieldNumber = 1;
291 inline const ::std::string& names(int index) const;
292 inline ::std::string* mutable_names(int index);
293 inline void set_names(int index, const ::std::string& value);
294 inline void set_names(int index, const char* value);
295 inline void set_names(int index, const char* value, size_t size);
296 inline ::std::string* add_names();
297 inline void add_names(const ::std::string& value);
298 inline void add_names(const char* value);
299 inline void add_names(const char* value, size_t size);
300 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& names() const;
301 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_names();
302
303 // repeated .bgs.protocol.club.v1.NameGeneratorReplacement replacements = 2;
304 inline int replacements_size() const;
305 inline void clear_replacements();
306 static const int kReplacementsFieldNumber = 2;
307 inline const ::bgs::protocol::club::v1::NameGeneratorReplacement& replacements(int index) const;
308 inline ::bgs::protocol::club::v1::NameGeneratorReplacement* mutable_replacements(int index);
309 inline ::bgs::protocol::club::v1::NameGeneratorReplacement* add_replacements();
310 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement >&
311 replacements() const;
312 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement >*
313 mutable_replacements();
314
315 // repeated .bgs.protocol.club.v1.UniqueClubType club_types = 3;
316 inline int club_types_size() const;
317 inline void clear_club_types();
318 static const int kClubTypesFieldNumber = 3;
319 inline const ::bgs::protocol::club::v1::UniqueClubType& club_types(int index) const;
320 inline ::bgs::protocol::club::v1::UniqueClubType* mutable_club_types(int index);
321 inline ::bgs::protocol::club::v1::UniqueClubType* add_club_types();
322 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >&
323 club_types() const;
324 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >*
325 mutable_club_types();
326
327 // repeated string locales = 4;
328 inline int locales_size() const;
329 inline void clear_locales();
330 static const int kLocalesFieldNumber = 4;
331 inline const ::std::string& locales(int index) const;
332 inline ::std::string* mutable_locales(int index);
333 inline void set_locales(int index, const ::std::string& value);
334 inline void set_locales(int index, const char* value);
335 inline void set_locales(int index, const char* value, size_t size);
336 inline ::std::string* add_locales();
337 inline void add_locales(const ::std::string& value);
338 inline void add_locales(const char* value);
339 inline void add_locales(const char* value, size_t size);
340 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& locales() const;
341 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_locales();
342
343 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.NameGenerator)
344 private:
345
346 ::google::protobuf::UnknownFieldSet _unknown_fields_;
347
349 mutable int _cached_size_;
350 ::google::protobuf::RepeatedPtrField< ::std::string> names_;
351 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement > replacements_;
352 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType > club_types_;
353 ::google::protobuf::RepeatedPtrField< ::std::string> locales_;
357
360};
361// -------------------------------------------------------------------
362
363class TC_PROTO_API NameGeneratorReplacement : public ::google::protobuf::Message {
364 public:
367
369
371 CopyFrom(from);
372 return *this;
373 }
374
375 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
376 return _unknown_fields_;
377 }
378
379 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
380 return &_unknown_fields_;
381 }
382
383 static const ::google::protobuf::Descriptor* descriptor();
385
387
388 // implements Message ----------------------------------------------
389
391 int GetCachedSize() const { return _cached_size_; }
392 private:
395 void SetCachedSize(int size) const;
396 public:
397 ::google::protobuf::Metadata GetMetadata() const;
398
399 // nested types ----------------------------------------------------
400
401 // accessors -------------------------------------------------------
402
403 // optional string id = 1;
404 inline bool has_id() const;
405 inline void clear_id();
406 static const int kIdFieldNumber = 1;
407 inline const ::std::string& id() const;
408 inline void set_id(const ::std::string& value);
409 inline void set_id(const char* value);
410 inline void set_id(const char* value, size_t size);
411 inline ::std::string* mutable_id();
412 inline ::std::string* release_id();
413 inline void set_allocated_id(::std::string* id);
414
415 // repeated string options = 2;
416 inline int options_size() const;
417 inline void clear_options();
418 static const int kOptionsFieldNumber = 2;
419 inline const ::std::string& options(int index) const;
420 inline ::std::string* mutable_options(int index);
421 inline void set_options(int index, const ::std::string& value);
422 inline void set_options(int index, const char* value);
423 inline void set_options(int index, const char* value, size_t size);
424 inline ::std::string* add_options();
425 inline void add_options(const ::std::string& value);
426 inline void add_options(const char* value);
427 inline void add_options(const char* value, size_t size);
428 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& options() const;
429 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_options();
430
431 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.NameGeneratorReplacement)
432 private:
433 inline void set_has_id();
434 inline void clear_has_id();
435
436 ::google::protobuf::UnknownFieldSet _unknown_fields_;
437
439 mutable int _cached_size_;
440 ::std::string* id_;
441 ::google::protobuf::RepeatedPtrField< ::std::string> options_;
445
448};
449// ===================================================================
450
451// ===================================================================
452
453// ===================================================================
454
455// NameGeneratorConfig
456
457// repeated .bgs.protocol.club.v1.NameGenerator name_generators = 1;
459 return name_generators_.size();
460}
462 name_generators_.Clear();
463}
464inline const ::bgs::protocol::club::v1::NameGenerator& NameGeneratorConfig::name_generators(int index) const {
465 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorConfig.name_generators)
466 return name_generators_.Get(index);
467}
468inline ::bgs::protocol::club::v1::NameGenerator* NameGeneratorConfig::mutable_name_generators(int index) {
469 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorConfig.name_generators)
470 return name_generators_.Mutable(index);
471}
472inline ::bgs::protocol::club::v1::NameGenerator* NameGeneratorConfig::add_name_generators() {
473 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGeneratorConfig.name_generators)
474 return name_generators_.Add();
475}
476inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator >&
478 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGeneratorConfig.name_generators)
479 return name_generators_;
480}
481inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator >*
483 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGeneratorConfig.name_generators)
484 return &name_generators_;
485}
486
487// optional .bgs.protocol.club.v1.NameGeneratorScorecard club_type_scorecard = 2;
489 return (_has_bits_[0] & 0x00000002u) != 0;
490}
492 _has_bits_[0] |= 0x00000002u;
493}
495 _has_bits_[0] &= ~0x00000002u;
496}
498 if (club_type_scorecard_ != NULL) club_type_scorecard_->::bgs::protocol::club::v1::NameGeneratorScorecard::Clear();
500}
501inline const ::bgs::protocol::club::v1::NameGeneratorScorecard& NameGeneratorConfig::club_type_scorecard() const {
502 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorConfig.club_type_scorecard)
504}
505inline ::bgs::protocol::club::v1::NameGeneratorScorecard* NameGeneratorConfig::mutable_club_type_scorecard() {
507 if (club_type_scorecard_ == NULL) club_type_scorecard_ = new ::bgs::protocol::club::v1::NameGeneratorScorecard;
508 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorConfig.club_type_scorecard)
510}
511inline ::bgs::protocol::club::v1::NameGeneratorScorecard* NameGeneratorConfig::release_club_type_scorecard() {
515 return temp;
516}
522 } else {
524 }
525 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.NameGeneratorConfig.club_type_scorecard)
526}
527
528// optional .bgs.protocol.club.v1.NameGeneratorScorecard locale_scorecard = 3;
530 return (_has_bits_[0] & 0x00000004u) != 0;
531}
533 _has_bits_[0] |= 0x00000004u;
534}
536 _has_bits_[0] &= ~0x00000004u;
537}
539 if (locale_scorecard_ != NULL) locale_scorecard_->::bgs::protocol::club::v1::NameGeneratorScorecard::Clear();
541}
542inline const ::bgs::protocol::club::v1::NameGeneratorScorecard& NameGeneratorConfig::locale_scorecard() const {
543 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorConfig.locale_scorecard)
545}
546inline ::bgs::protocol::club::v1::NameGeneratorScorecard* NameGeneratorConfig::mutable_locale_scorecard() {
548 if (locale_scorecard_ == NULL) locale_scorecard_ = new ::bgs::protocol::club::v1::NameGeneratorScorecard;
549 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorConfig.locale_scorecard)
550 return locale_scorecard_;
551}
552inline ::bgs::protocol::club::v1::NameGeneratorScorecard* NameGeneratorConfig::release_locale_scorecard() {
555 locale_scorecard_ = NULL;
556 return temp;
557}
559 delete locale_scorecard_;
561 if (locale_scorecard) {
563 } else {
565 }
566 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.NameGeneratorConfig.locale_scorecard)
567}
568
569// -------------------------------------------------------------------
570
571// NameGeneratorScorecard
572
573// optional bool is_required = 1;
575 return (_has_bits_[0] & 0x00000001u) != 0;
576}
578 _has_bits_[0] |= 0x00000001u;
579}
581 _has_bits_[0] &= ~0x00000001u;
582}
584 is_required_ = false;
586}
588 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.is_required)
589 return is_required_;
590}
593 is_required_ = value;
594 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.is_required)
595}
596
597// optional uint32 full_match = 2;
599 return (_has_bits_[0] & 0x00000002u) != 0;
600}
602 _has_bits_[0] |= 0x00000002u;
603}
605 _has_bits_[0] &= ~0x00000002u;
606}
608 full_match_ = 0u;
610}
612 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.full_match)
613 return full_match_;
614}
617 full_match_ = value;
618 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.full_match)
619}
620
621// optional uint32 partial_match = 3;
623 return (_has_bits_[0] & 0x00000004u) != 0;
624}
626 _has_bits_[0] |= 0x00000004u;
627}
629 _has_bits_[0] &= ~0x00000004u;
630}
632 partial_match_ = 0u;
634}
636 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.partial_match)
637 return partial_match_;
638}
641 partial_match_ = value;
642 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.partial_match)
643}
644
645// optional uint32 partial_fallback = 4;
647 return (_has_bits_[0] & 0x00000008u) != 0;
648}
650 _has_bits_[0] |= 0x00000008u;
651}
653 _has_bits_[0] &= ~0x00000008u;
654}
658}
660 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.partial_fallback)
661 return partial_fallback_;
662}
665 partial_fallback_ = value;
666 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.partial_fallback)
667}
668
669// optional uint32 full_fallback = 5;
671 return (_has_bits_[0] & 0x00000010u) != 0;
672}
674 _has_bits_[0] |= 0x00000010u;
675}
677 _has_bits_[0] &= ~0x00000010u;
678}
680 full_fallback_ = 0u;
682}
684 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorScorecard.full_fallback)
685 return full_fallback_;
686}
689 full_fallback_ = value;
690 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorScorecard.full_fallback)
691}
692
693// -------------------------------------------------------------------
694
695// NameGenerator
696
697// repeated string names = 1;
698inline int NameGenerator::names_size() const {
699 return names_.size();
700}
702 names_.Clear();
703}
704inline const ::std::string& NameGenerator::names(int index) const {
705 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGenerator.names)
706 return names_.Get(index);
707}
708inline ::std::string* NameGenerator::mutable_names(int index) {
709 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGenerator.names)
710 return names_.Mutable(index);
711}
712inline void NameGenerator::set_names(int index, const ::std::string& value) {
713 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGenerator.names)
714 names_.Mutable(index)->assign(value);
715}
716inline void NameGenerator::set_names(int index, const char* value) {
717 names_.Mutable(index)->assign(value);
718 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.NameGenerator.names)
719}
720inline void NameGenerator::set_names(int index, const char* value, size_t size) {
721 names_.Mutable(index)->assign(
722 reinterpret_cast<const char*>(value), size);
723 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGenerator.names)
724}
725inline ::std::string* NameGenerator::add_names() {
726 return names_.Add();
727}
728inline void NameGenerator::add_names(const ::std::string& value) {
729 names_.Add()->assign(value);
730 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGenerator.names)
731}
732inline void NameGenerator::add_names(const char* value) {
733 names_.Add()->assign(value);
734 // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.NameGenerator.names)
735}
736inline void NameGenerator::add_names(const char* value, size_t size) {
737 names_.Add()->assign(reinterpret_cast<const char*>(value), size);
738 // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.NameGenerator.names)
739}
740inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
742 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGenerator.names)
743 return names_;
744}
745inline ::google::protobuf::RepeatedPtrField< ::std::string>*
747 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGenerator.names)
748 return &names_;
749}
750
751// repeated .bgs.protocol.club.v1.NameGeneratorReplacement replacements = 2;
753 return replacements_.size();
754}
756 replacements_.Clear();
757}
758inline const ::bgs::protocol::club::v1::NameGeneratorReplacement& NameGenerator::replacements(int index) const {
759 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGenerator.replacements)
760 return replacements_.Get(index);
761}
762inline ::bgs::protocol::club::v1::NameGeneratorReplacement* NameGenerator::mutable_replacements(int index) {
763 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGenerator.replacements)
764 return replacements_.Mutable(index);
765}
766inline ::bgs::protocol::club::v1::NameGeneratorReplacement* NameGenerator::add_replacements() {
767 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGenerator.replacements)
768 return replacements_.Add();
769}
770inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement >&
772 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGenerator.replacements)
773 return replacements_;
774}
775inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement >*
777 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGenerator.replacements)
778 return &replacements_;
779}
780
781// repeated .bgs.protocol.club.v1.UniqueClubType club_types = 3;
783 return club_types_.size();
784}
786 club_types_.Clear();
787}
788inline const ::bgs::protocol::club::v1::UniqueClubType& NameGenerator::club_types(int index) const {
789 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGenerator.club_types)
790 return club_types_.Get(index);
791}
792inline ::bgs::protocol::club::v1::UniqueClubType* NameGenerator::mutable_club_types(int index) {
793 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGenerator.club_types)
794 return club_types_.Mutable(index);
795}
796inline ::bgs::protocol::club::v1::UniqueClubType* NameGenerator::add_club_types() {
797 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGenerator.club_types)
798 return club_types_.Add();
799}
800inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >&
802 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGenerator.club_types)
803 return club_types_;
804}
805inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType >*
807 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGenerator.club_types)
808 return &club_types_;
809}
810
811// repeated string locales = 4;
812inline int NameGenerator::locales_size() const {
813 return locales_.size();
814}
816 locales_.Clear();
817}
818inline const ::std::string& NameGenerator::locales(int index) const {
819 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGenerator.locales)
820 return locales_.Get(index);
821}
822inline ::std::string* NameGenerator::mutable_locales(int index) {
823 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGenerator.locales)
824 return locales_.Mutable(index);
825}
826inline void NameGenerator::set_locales(int index, const ::std::string& value) {
827 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGenerator.locales)
828 locales_.Mutable(index)->assign(value);
829}
830inline void NameGenerator::set_locales(int index, const char* value) {
831 locales_.Mutable(index)->assign(value);
832 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.NameGenerator.locales)
833}
834inline void NameGenerator::set_locales(int index, const char* value, size_t size) {
835 locales_.Mutable(index)->assign(
836 reinterpret_cast<const char*>(value), size);
837 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGenerator.locales)
838}
839inline ::std::string* NameGenerator::add_locales() {
840 return locales_.Add();
841}
842inline void NameGenerator::add_locales(const ::std::string& value) {
843 locales_.Add()->assign(value);
844 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGenerator.locales)
845}
846inline void NameGenerator::add_locales(const char* value) {
847 locales_.Add()->assign(value);
848 // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.NameGenerator.locales)
849}
850inline void NameGenerator::add_locales(const char* value, size_t size) {
851 locales_.Add()->assign(reinterpret_cast<const char*>(value), size);
852 // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.NameGenerator.locales)
853}
854inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
856 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGenerator.locales)
857 return locales_;
858}
859inline ::google::protobuf::RepeatedPtrField< ::std::string>*
861 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGenerator.locales)
862 return &locales_;
863}
864
865// -------------------------------------------------------------------
866
867// NameGeneratorReplacement
868
869// optional string id = 1;
871 return (_has_bits_[0] & 0x00000001u) != 0;
872}
874 _has_bits_[0] |= 0x00000001u;
875}
877 _has_bits_[0] &= ~0x00000001u;
878}
880 if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
881 id_->clear();
882 }
883 clear_has_id();
884}
885inline const ::std::string& NameGeneratorReplacement::id() const {
886 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorReplacement.id)
887 return *id_;
888}
889inline void NameGeneratorReplacement::set_id(const ::std::string& value) {
890 set_has_id();
891 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
892 id_ = new ::std::string;
893 }
894 id_->assign(value);
895 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorReplacement.id)
896}
897inline void NameGeneratorReplacement::set_id(const char* value) {
898 set_has_id();
899 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
900 id_ = new ::std::string;
901 }
902 id_->assign(value);
903 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.NameGeneratorReplacement.id)
904}
905inline void NameGeneratorReplacement::set_id(const char* value, size_t size) {
906 set_has_id();
907 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
908 id_ = new ::std::string;
909 }
910 id_->assign(reinterpret_cast<const char*>(value), size);
911 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGeneratorReplacement.id)
912}
914 set_has_id();
915 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
916 id_ = new ::std::string;
917 }
918 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorReplacement.id)
919 return id_;
920}
922 clear_has_id();
923 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
924 return NULL;
925 } else {
926 ::std::string* temp = id_;
927 id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
928 return temp;
929 }
930}
931inline void NameGeneratorReplacement::set_allocated_id(::std::string* id) {
932 if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
933 delete id_;
934 }
935 if (id) {
936 set_has_id();
937 id_ = id;
938 } else {
939 clear_has_id();
940 id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
941 }
942 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.NameGeneratorReplacement.id)
943}
944
945// repeated string options = 2;
947 return options_.size();
948}
950 options_.Clear();
951}
952inline const ::std::string& NameGeneratorReplacement::options(int index) const {
953 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.NameGeneratorReplacement.options)
954 return options_.Get(index);
955}
956inline ::std::string* NameGeneratorReplacement::mutable_options(int index) {
957 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.NameGeneratorReplacement.options)
958 return options_.Mutable(index);
959}
960inline void NameGeneratorReplacement::set_options(int index, const ::std::string& value) {
961 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.NameGeneratorReplacement.options)
962 options_.Mutable(index)->assign(value);
963}
964inline void NameGeneratorReplacement::set_options(int index, const char* value) {
965 options_.Mutable(index)->assign(value);
966 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.NameGeneratorReplacement.options)
967}
968inline void NameGeneratorReplacement::set_options(int index, const char* value, size_t size) {
969 options_.Mutable(index)->assign(
970 reinterpret_cast<const char*>(value), size);
971 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.NameGeneratorReplacement.options)
972}
974 return options_.Add();
975}
976inline void NameGeneratorReplacement::add_options(const ::std::string& value) {
977 options_.Add()->assign(value);
978 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.NameGeneratorReplacement.options)
979}
980inline void NameGeneratorReplacement::add_options(const char* value) {
981 options_.Add()->assign(value);
982 // @@protoc_insertion_point(field_add_char:bgs.protocol.club.v1.NameGeneratorReplacement.options)
983}
984inline void NameGeneratorReplacement::add_options(const char* value, size_t size) {
985 options_.Add()->assign(reinterpret_cast<const char*>(value), size);
986 // @@protoc_insertion_point(field_add_pointer:bgs.protocol.club.v1.NameGeneratorReplacement.options)
987}
988inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
990 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.NameGeneratorReplacement.options)
991 return options_;
992}
993inline ::google::protobuf::RepeatedPtrField< ::std::string>*
995 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.NameGeneratorReplacement.options)
996 return &options_;
997}
998
999// @@protoc_insertion_point(namespace_scope)
1000
1001} // namespace v1
1002} // namespace club
1003} // namespace protocol
1004} // namespace bgs
1005
1006#ifndef SWIG
1007namespace google {
1008namespace protobuf {
1009} // namespace google
1010} // namespace protobuf
1011#endif // SWIG
1012
1013// @@protoc_insertion_point(global_scope)
1014
1015#endif // PROTOBUF_club_5fname_5fgenerator_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
uint32_t uint32
Definition: Define.h:142
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_locale_scorecard(::bgs::protocol::club::v1::NameGeneratorScorecard *locale_scorecard)
friend void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::club::v1::NameGeneratorScorecard * mutable_club_type_scorecard()
NameGeneratorConfig(const NameGeneratorConfig &from)
::bgs::protocol::club::v1::NameGeneratorScorecard * locale_scorecard_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator > name_generators_
NameGeneratorConfig * New() const
void Swap(NameGeneratorConfig *other)
void set_allocated_club_type_scorecard(::bgs::protocol::club::v1::NameGeneratorScorecard *club_type_scorecard)
inline ::bgs::protocol::club::v1::NameGeneratorScorecard * mutable_locale_scorecard()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator > & name_generators() const
const ::bgs::protocol::club::v1::NameGeneratorScorecard & club_type_scorecard() const
inline ::bgs::protocol::club::v1::NameGeneratorScorecard * release_club_type_scorecard()
const ::bgs::protocol::club::v1::NameGeneratorScorecard & locale_scorecard() const
friend void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto()
inline ::bgs::protocol::club::v1::NameGeneratorScorecard * release_locale_scorecard()
static const NameGeneratorConfig & default_instance()
::bgs::protocol::club::v1::NameGeneratorScorecard * club_type_scorecard_
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGenerator > * mutable_name_generators()
::google::protobuf::UnknownFieldSet _unknown_fields_
NameGeneratorConfig & operator=(const NameGeneratorConfig &from)
friend void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto()
inline ::bgs::protocol::club::v1::NameGenerator * add_name_generators()
void set_options(int index, const ::std::string &value)
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::RepeatedPtrField< ::std::string > options_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
NameGeneratorReplacement * New() const
static const NameGeneratorReplacement & default_instance()
const ::google::protobuf::RepeatedPtrField< ::std::string > & options() const
inline ::google::protobuf::RepeatedPtrField< ::std::string > * mutable_options()
friend void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto()
void Swap(NameGeneratorReplacement *other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
NameGeneratorReplacement(const NameGeneratorReplacement &from)
::google::protobuf::Metadata GetMetadata() const
NameGeneratorReplacement & operator=(const NameGeneratorReplacement &from)
void set_full_match(::google::protobuf::uint32 value)
void set_partial_match(::google::protobuf::uint32 value)
inline ::google::protobuf::uint32 full_fallback() const
void set_partial_fallback(::google::protobuf::uint32 value)
inline ::google::protobuf::uint32 partial_match() const
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
NameGeneratorScorecard & operator=(const NameGeneratorScorecard &from)
static const NameGeneratorScorecard & default_instance()
NameGeneratorScorecard(const NameGeneratorScorecard &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
NameGeneratorScorecard * New() const
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto()
inline ::google::protobuf::uint32 partial_fallback() const
inline ::google::protobuf::uint32 full_match() const
void Swap(NameGeneratorScorecard *other)
void set_full_fallback(::google::protobuf::uint32 value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType > club_types_
const ::google::protobuf::RepeatedPtrField< ::std::string > & locales() const
::google::protobuf::RepeatedPtrField< ::std::string > locales_
friend void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto()
static const NameGenerator & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement > replacements_
inline ::bgs::protocol::club::v1::UniqueClubType * add_club_types()
NameGenerator & operator=(const NameGenerator &from)
NameGenerator(const NameGenerator &from)
inline ::bgs::protocol::club::v1::NameGeneratorReplacement * add_replacements()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement > & replacements() const
void set_names(int index, const ::std::string &value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType > & club_types() const
inline ::google::protobuf::RepeatedPtrField< ::std::string > * mutable_names()
void set_locales(int index, const ::std::string &value)
friend void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto()
::google::protobuf::RepeatedPtrField< ::std::string > names_
const ::google::protobuf::RepeatedPtrField< ::std::string > & names() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::NameGeneratorReplacement > * mutable_replacements()
void Swap(NameGenerator *other)
friend void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto()
inline ::google::protobuf::RepeatedPtrField< ::std::string > * mutable_locales()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::UniqueClubType > * mutable_club_types()
constexpr std::size_t size()
Definition: UpdateField.h:796
void protobuf_ShutdownFile_club_5fname_5fgenerator_2eproto()
void TC_PROTO_API protobuf_AddDesc_club_5fname_5fgenerator_2eproto()
void protobuf_AssignDesc_club_5fname_5fgenerator_2eproto()
Definition: Session.h:36